Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
省
省二结算
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
任鸿志
省二结算
Commits
99e7a4f3
Commit
99e7a4f3
authored
Jul 16, 2025
by
任鸿志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(settlement): 修复省外异地患者结算问题
- 修改患者信息接口 URL - 增加日志输出以便调试 - 优化读卡组件加载状态管理 - 修正异地患者个人账户支付逻辑
parent
e87d4fa5
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
7 deletions
+24
-7
.env.development
.env.development
+3
-3
jiesuan.js
src/api/jiesuan.js
+1
-0
jiesuanSFC.js
src/api/jiesuanSFC.js
+2
-1
index.vue
src/components/ReadcardsNewSFC/index.vue
+3
-0
index.vue
src/components/ReadcardsSFC/index.vue
+7
-2
outpatientCharging.vue
src/views/jiesuan/outpatientCharging.vue
+8
-1
No files found.
.env.development
View file @
99e7a4f3
...
...
@@ -8,12 +8,12 @@ NODE_ENV = 'development'
VUE_APP_BASE_API = ''
# VUE_APP_BASE_URL = 'http://192.169.24.231:8002'
# VUE_APP_BASE_URL = 'http://10.10.9.219:9902'
#
VUE_APP_BASE_URL = 'http://10.10.40.69:9903'
VUE_APP_BASE_URL = 'http://10.10.40.69:9903'
VUE_APP_BASE_URL_change = 'http://10.10.8.230:6200/fancy'
# VUE_APP_BASE_URL = 'http://127.0.0.1:9902'
VUE_APP_BASE_URL = 'http://10.10.9.219:8802'
#
VUE_APP_BASE_URL = 'http://10.10.9.219:8802'
# VUE_APP_BASE_URL = 'http://10.10.9.219:9902'
VUE_APP_BASE_URL_SFC = 'http://10.10.
9.219:8802
'
VUE_APP_BASE_URL_SFC = 'http://10.10.
40.69:9903
'
# VUE_APP_BASE_URL_SFC = 'http://127.0.0.1:9902'
# VUE_APP_BASE_URL = 'http://192.169.4.171:8002'
# VUE_APP_BASE_URL = 'http://10.10.40.10:8099'
...
...
src/api/jiesuan.js
View file @
99e7a4f3
...
...
@@ -263,6 +263,7 @@ export function hisybbalance (data) {
})
}
export
function
patient
(
data
)
{
console
.
log
(
data
,
'
ppppppppppppppppppp
'
)
return
request
({
// url: `${Vue.prototype.$api.jiesuan.settlementPre}/${patient_id}`,
url
:
`/api/patient/
${
data
.
card_no
}
`
,
...
...
src/api/jiesuanSFC.js
View file @
99e7a4f3
...
...
@@ -264,9 +264,10 @@ export function hisybbalance (data) {
})
}
export
function
patient
(
data
)
{
console
.
log
(
data
,
'
ppppppppppppppppppp
'
)
return
requestSFC
({
// url: `${Vue.prototype.$api.jiesuan.settlementPre}/${patient_id}`,
url
:
`/api/patient/
${
data
.
card_no
}
`
,
url
:
`/api/patient/
${
data
.
id_card
}
`
,
method
:
'
get
'
,
params
:
data
})
...
...
src/components/ReadcardsNewSFC/index.vue
View file @
99e7a4f3
...
...
@@ -306,6 +306,7 @@ export default {
// 读取M1卡
if
(
data
)
{
if
(
data
?.
RespData
)
{
this
.
jiezhiLoading
=
true
this
.
PatientInfo
=
data
.
RespData
this
.
form
.
physicalCardType
=
'
HOSPITAL_CARD
'
if
(
data
.
RespData
?.
AsciiData
)
{
...
...
@@ -323,6 +324,7 @@ export default {
// 读取身份证号
if
(
data
)
{
if
(
data
?.
RespData
)
{
this
.
jiezhiLoading
=
true
this
.
PatientInfo
=
data
.
RespData
this
.
form
.
physicalCardType
=
'
ID_CARD
'
...
...
@@ -343,6 +345,7 @@ export default {
// 读取社保卡
if
(
data
)
{
if
(
data
?.
RespData
)
{
this
.
jiezhiLoading
=
true
this
.
PatientInfo
=
data
.
RespData
this
.
form
.
physicalCardType
=
'
ID_CARD
'
if
(
data
.
RespData
?.
CardNo
)
{
...
...
src/components/ReadcardsSFC/index.vue
View file @
99e7a4f3
...
...
@@ -10,7 +10,7 @@
@
change=
"handleSelect"
>
<el-option
v-for=
"(item, i) in DiagnosisCardOptions"
:key=
"i"
:label=
"item.name"
:value=
"item.code"
/>
</el-select>
-->
<el-form
element-loading-text=
"刷卡中,请稍后"
element-loading-spinner=
"el-icon-loading"
@
submit
.
native
.
prevent
>
<el-form
element-loading-text=
"刷卡中,请稍后"
element-loading-spinner=
"el-icon-loading"
@
submit
.
native
.
prevent
v-loading=
"jiezhiLoading"
>
<el-form-item>
<el-input
ref=
"cardInput"
v-model.trim=
"form.physicalCard"
style=
"width: 282px;margin-left: 10px; "
placeholder=
"请输入卡号"
@
blur=
"handleSetFocus()"
@
keyup.enter.native=
"handleEnterModal()"
/>
...
...
@@ -37,6 +37,7 @@ export default {
},
data
()
{
return
{
jiezhiLoading
:
false
,
listinfo
:{
type
:
''
,
...
...
@@ -61,7 +62,7 @@ export default {
this
.
isOpenCardeds
=
v
if
(
v
===
true
)
{
this
.
$nextTick
(()
=>
{
this
.
jiezhiLoading
=
false
this
.
form
.
physicalCard
=
''
this
.
form
=
{}
this
.
$refs
.
cardInput
.
focus
()
...
...
@@ -108,6 +109,7 @@ export default {
},
// 输入框回车事件
handleEnterModal
()
{
this
.
jiezhiLoading
=
true
if
(
this
.
form
.
physicalCard
.
toString
().
length
===
11
){
this
.
form
.
physicalCard
=
this
.
form
.
physicalCard
.
substring
(
3
)
this
.
form
.
physicalCardType
=
'
PATIENT_ID
'
...
...
@@ -238,6 +240,7 @@ export default {
// 读取M1卡
if
(
data
)
{
if
(
data
?.
RespData
)
{
this
.
jiezhiLoading
=
true
this
.
PatientInfo
=
data
.
RespData
this
.
form
.
physicalCardType
=
'
HOSPITAL_CARD
'
if
(
data
.
RespData
?.
AsciiData
)
{
...
...
@@ -257,6 +260,7 @@ export default {
// 读取身份证号
if
(
data
)
{
if
(
data
?.
RespData
)
{
this
.
jiezhiLoading
=
true
this
.
PatientInfo
=
data
.
RespData
this
.
form
.
physicalCardType
=
'
ID_CARD
'
if
(
data
.
RespData
?.
CardId
)
{
...
...
@@ -275,6 +279,7 @@ export default {
// 读取社保卡
if
(
data
)
{
if
(
data
?.
RespData
)
{
this
.
jiezhiLoading
=
true
this
.
PatientInfo
=
data
.
RespData
this
.
form
.
physicalCardType
=
'
SOCIAL_CARD
'
if
(
data
.
RespData
?.
CardNo
)
{
...
...
src/views/jiesuan/outpatientCharging.vue
View file @
99e7a4f3
...
...
@@ -2582,14 +2582,21 @@ export default {
this
.
bxxxinfo
.
grzhzf
=
djf
if
(
this
.
bxxxinfo
.
personal_pay_syd
*
1
!=
0
)
{
this
.
bxxxinfo
.
grzhzf
=
this
.
bxxxinfo
.
personal_pay_syd
}
if
(
this
.
form
.
insurance_type
==
'
LONGDISTANCE
'
&&
this
.
bxxxinfo
.
personal_pay_syd
*
1
==
0
)
{
this
.
bxxxinfo
.
grzhzf
=
0
}
}
if
(
this
.
bxxxinfo
.
personal_balance
<
djf
)
{
this
.
bxxxinfo
.
grzhzf
=
this
.
bxxxinfo
.
personal_balance
// 省外异地患者预结算异地不为0,个账为异地值,异地为0,个账为0
if
(
this
.
bxxxinfo
.
personal_pay_syd
*
1
!=
0
)
{
this
.
bxxxinfo
.
grzhzf
=
this
.
bxxxinfo
.
personal_pay_syd
}
if
(
this
.
form
.
insurance_type
==
'
LONGDISTANCE
'
&&
this
.
bxxxinfo
.
personal_pay_syd
*
1
==
0
)
{
this
.
bxxxinfo
.
grzhzf
=
0
}
// if (this.form.insurance_type == 'LONGDISTANCE') {
// this.bxxxinfo.grzhzf = 0
// }
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment