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
700b7047
Commit
700b7047
authored
Aug 11, 2025
by
任鸿志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
患者信息查询、自费转医保异地预结算优化
parent
50f319d0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
177 additions
and
66 deletions
+177
-66
outpatientTwoSFC.vue
src/views/jiesuan/outpatientTwoSFC.vue
+18
-4
patientInfo.vue
src/views/jiesuan/patientInfo.vue
+159
-62
No files found.
src/views/jiesuan/outpatientTwoSFC.vue
View file @
700b7047
...
@@ -345,7 +345,7 @@
...
@@ -345,7 +345,7 @@
:max=
"bxxxinfo.personal_balance"
:max=
"bxxxinfo.personal_balance"
min=
"0"
min=
"0"
type=
"number"
type=
"number"
:disabled=
"form.insurance_type == 'LONGDISTANCE' || bxxxinfo.personal_pay_syd * 1 != 0"
></el-input>
></el-input>
</div>
</div>
</el-form-item>
</el-form-item>
...
@@ -2079,7 +2079,6 @@ export default {
...
@@ -2079,7 +2079,6 @@ export default {
cache_key
:
this
.
form
.
cache_key
,
cache_key
:
this
.
form
.
cache_key
,
}).
then
(
res2
=>
{
}).
then
(
res2
=>
{
this
.
familyType
=
res2
.
data
.
family_type
this
.
familyType
=
res2
.
data
.
family_type
this
.
dialogVisible
=
true
this
.
bxxxinfo
.
family_balance
=
res2
.
data
.
gjzhye
this
.
bxxxinfo
.
family_balance
=
res2
.
data
.
gjzhye
if
(
res2
.
data
.
family_type
==
'
1
'
)
{
if
(
res2
.
data
.
family_type
==
'
1
'
)
{
this
.
bxxxinfo
.
gjzhzf
=
res2
.
data
.
gjzhxfje
this
.
bxxxinfo
.
gjzhzf
=
res2
.
data
.
gjzhxfje
...
@@ -2089,7 +2088,7 @@ export default {
...
@@ -2089,7 +2088,7 @@ export default {
}
}
this
.
bxxxinfo
.
family_balance
=
res2
.
data
.
gjzhye
this
.
bxxxinfo
.
family_balance
=
res2
.
data
.
gjzhye
this
.
dialogVisible
=
true
this
.
bxxxinfo
.
his_deduct_amount
=
0
this
.
bxxxinfo
.
his_deduct_amount
=
0
this
.
bxxxinfo
.
grzhzf
=
0
this
.
bxxxinfo
.
grzhzf
=
0
...
@@ -2097,10 +2096,22 @@ export default {
...
@@ -2097,10 +2096,22 @@ export default {
if
(
this
.
bxxxinfo
.
personal_balance
>=
djf
)
{
if
(
this
.
bxxxinfo
.
personal_balance
>=
djf
)
{
this
.
bxxxinfo
.
grzhzf
=
djf
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
)
{
if
(
this
.
bxxxinfo
.
personal_balance
<
djf
)
{
this
.
bxxxinfo
.
grzhzf
=
this
.
bxxxinfo
.
personal_balance
this
.
bxxxinfo
.
grzhzf
=
this
.
bxxxinfo
.
personal_balance
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
(
res2
.
data
.
family_type
!=
'
1
'
)
{
if
(
res2
.
data
.
family_type
!=
'
1
'
)
{
if
(
res2
.
data
.
gjzhye
>
this
.
round
(
djf
-
this
.
bxxxinfo
.
grzhzf
,
2
))
{
if
(
res2
.
data
.
gjzhye
>
this
.
round
(
djf
-
this
.
bxxxinfo
.
grzhzf
,
2
))
{
this
.
bxxxinfo
.
gjzhzf
=
this
.
round
(
djf
-
this
.
bxxxinfo
.
grzhzf
,
2
)
this
.
bxxxinfo
.
gjzhzf
=
this
.
round
(
djf
-
this
.
bxxxinfo
.
grzhzf
,
2
)
...
@@ -2120,8 +2131,11 @@ export default {
...
@@ -2120,8 +2131,11 @@ export default {
}
}
}
}
}
}
if
(
this
.
bxxxinfo
.
gjzhzf
==
''
||
this
.
bxxxinfo
.
gjzhzf
==
null
||
this
.
bxxxinfo
.
gjzhzf
==
undefined
||
this
.
bxxxinfo
.
gjzhzf
==
'
undefined
'
||
this
.
bxxxinfo
.
gjzhzf
==
'
null
'
)
{
this
.
bxxxinfo
.
gjzhzf
=
0
}
this
.
form
.
djf
=
this
.
round
(
this
.
round
(
this
.
round
(
this
.
bxxxinfo
.
patient_burden
-
this
.
bxxxinfo
.
gjzhzf
,
2
)
-
this
.
bxxxinfo
.
his_deduct_amount
,
2
)
-
this
.
bxxxinfo
.
grzhzf
,
2
)
this
.
form
.
djf
=
this
.
round
(
this
.
round
(
this
.
round
(
this
.
bxxxinfo
.
patient_burden
-
this
.
bxxxinfo
.
gjzhzf
,
2
)
-
this
.
bxxxinfo
.
his_deduct_amount
,
2
)
-
this
.
bxxxinfo
.
grzhzf
,
2
)
this
.
dialogVisible
=
true
})
})
})
})
...
...
src/views/jiesuan/patientInfo.vue
View file @
700b7047
<
template
>
<
template
>
<div
class=
"app-container"
v-loading=
"allLoading"
>
<div
class=
"app-container"
>
<el-card
class=
"userInfo_box"
>
<el-card
class=
"userInfo_box"
>
<div
class=
"boxmain"
>
<div
class=
"boxmain"
>
<div
class=
"boxmain"
>
<div
class=
"boxmain"
>
<div
class=
"btslist"
>
<div
class=
"btslist"
>
<el-button
@
click=
"cardtype('1')"
style=
"color: #3d7ff5; width: 97px; font-size: 17px; font-weight: 600; border-radius: 8px"
>
读卡
</el-button>
<el-button
@
click=
"cardtype('1')"
style=
"color: #3d7ff5; width: 97px; font-size: 17px; font-weight: 600; border-radius: 8px"
>
读卡
</el-button>
</div>
</div>
</div>
</div>
</div>
</div>
</el-card>
</el-card>
<div
style=
"margin-top: 25px;"
v-loading=
"allLoading"
>
<el-form
size=
"mini"
:model=
"patientData"
>
<el-card
style=
"width: 100%; overflow: auto"
class=
"fullbox"
>
<div>
<div>
<el-divider
content-position=
"left"
>
患者信息
</el-divider>
<div
class=
"boxmain"
>
<el-form-item>
<div
class=
"form_item"
>
<el-tag
class=
"label"
color=
"#E7EEFF"
>
病人姓名
</el-tag>
<el-input
v-model=
"patientData.name"
disabled
></el-input>
</div>
</el-form-item>
<div
style=
'margin: 0 auto;width: 50%;
<el-form-item>
border-radius: 50px;
<div
class=
"form_item"
>
padding: 37px;
<el-tag
class=
"label"
color=
"#E7EEFF"
>
年龄
</el-tag>
font-size: 27px;
<el-input
v-model=
"patientData.age"
disabled
></el-input>
border: 1px solid rgb(212, 211, 211);
</div>
margin-top: 54px;'
>
</el-form-item>
<div><span>
姓名:
</span><span>
{{
patientData
.
name
}}
</span></div>
<el-form-item>
<div><span>
年龄:
</span><span>
{{
patientData
.
age
}}
</span></div>
<div
class=
"form_item"
>
<div><span>
性别:
</span><span>
{{
patientData
.
sex
}}
</span></div>
<el-tag
class=
"label"
color=
"#E7EEFF"
>
性别
</el-tag>
<div><span>
人群类别:
</span><span>
{{
patientData
.
rqlb
}}
</span></div>
<el-input
v-model=
"patientData.sex"
disabled
></el-input>
<div><span>
身份证号:
</span><span>
{{
patientData
.
id_card
}}
</span></div>
</div>
<div><span>
患者ID:
</span><span>
{{
patientData
.
patient_id
}}
</span></div>
</el-form-item>
<div><span>
电话号码:
</span><span>
{{
patientData
.
phone
}}
</span></div>
<el-form-item>
<div><span>
院内余额:
</span><span>
{{
patientData
.
balance
}}
元
</span></div>
<div
class=
"form_item"
>
<div><span>
医保卡余额:
</span><span>
{{
patientData
.
zhye
}}
元
</span></div>
<el-tag
class=
"label"
color=
"#E7EEFF"
>
卡号
</el-tag>
</div>
<el-input
v-model=
"patientData.kh"
disabled
></el-input>
</div>
</el-form-item>
</div>
<div
class=
"boxmain"
>
<el-form-item>
<div
class=
"form_item"
>
<el-tag
class=
"label"
color=
"#E7EEFF"
>
人群类别
</el-tag>
<el-input
v-model=
"patientData.rqlbName"
disabled
></el-input>
</div>
</el-form-item>
<el-form-item>
<div
class=
"form_item"
>
<el-tag
class=
"label"
color=
"#E7EEFF"
>
身份证号:
</el-tag>
<el-input
v-model=
"patientData.id_card"
disabled
></el-input>
</div>
</el-form-item>
<el-form-item>
<div
class=
"form_item"
>
<el-tag
class=
"label"
color=
"#E7EEFF"
>
患者ID:
</el-tag>
<el-input
v-model=
"patientData.patient_id"
disabled
></el-input>
</div>
</el-form-item>
<el-form-item>
<div
class=
"form_item"
>
<el-tag
class=
"label"
color=
"#E7EEFF"
style=
"color: #1a5bfd; font-weight: 600"
>
电话号码:
</el-tag>
<el-input
v-model=
"patientData.phone"
disabled
></el-input>
</div>
</el-form-item>
</div>
<div
class=
"boxmain"
>
<el-form-item>
<div
class=
"form_item"
>
<el-tag
class=
"label"
color=
"#E7EEFF"
>
单位名称:
</el-tag>
<el-input
v-model=
"patientData.dwmc"
disabled
></el-input>
</div>
</el-form-item>
<el-form-item>
<div
class=
"form_item"
>
<el-tag
class=
"label"
color=
"#E7EEFF"
style=
"color: #1a5bfd; font-weight: 600"
>
优抚类别:
</el-tag>
<el-input
v-model=
"patientData.yfdxbzName"
disabled
></el-input>
</div>
</el-form-item>
<el-form-item>
<div
class=
"form_item"
>
<el-tag
class=
"label"
color=
"#E7EEFF"
style=
"color: #1a5bfd; font-weight: 600"
>
优抚对象:
</el-tag>
<el-input
v-model=
"patientData.yfdxbzNameType"
disabled
></el-input>
</div>
</el-form-item>
<el-form-item>
<div
class=
"form_item"
>
<el-tag
class=
"label"
color=
"#E7EEFF"
style=
"color: #1a5bfd; font-weight: 600"
>
社保局编码:
</el-tag>
<el-input
v-model=
"patientData.social_code"
disabled
></el-input>
</div>
</el-form-item>
</div>
<div
class=
"boxmain"
>
<el-form-item>
<div
class=
"form_item"
>
<el-tag
class=
"label"
color=
"#E7EEFF"
>
院内账户余额
</el-tag>
<el-input
v-model=
"patientData.balance"
disabled
></el-input>
</div>
</el-form-item>
<el-form-item>
<div
class=
"form_item"
>
<el-tag
class=
"label"
color=
"#E7EEFF"
style=
"color: #1a5bfd; font-weight: 600"
>
医保账户余额
</el-tag>
<el-input
v-model=
"patientData.zhye"
disabled
></el-input>
</div>
</el-form-item>
<el-form-item>
<div
class=
"form_item"
>
<el-tag
class=
"label"
color=
"#E7EEFF"
style=
"color: #1a5bfd; font-weight: 600"
>
共济账户余额
</el-tag>
<el-input
v-model=
"patientData.gjzhye"
disabled
></el-input>
</div>
</el-form-item>
<el-form-item>
<div
class=
"form_item"
>
<el-tag
class=
"label"
color=
"#E7EEFF"
style=
"color: #1a5bfd; font-weight: 600"
></el-tag>
<el-input
v-model=
"patientData.gjzhye"
disabled
></el-input>
</div>
</el-form-item>
</div>
<!-- 读卡弹窗 -->
<Readcards
:isOpenCarded=
"carddialogFormVisible"
@
getyibaoinfo=
"getyibaoinfo"
@
closeReadcard=
"closeReadcard"
/>
</div>
</div>
</el-card>
</el-form>
</div>
<!-- 读卡弹窗 -->
<Readcards
:isOpenCarded=
"carddialogFormVisible"
@
getyibaoinfo=
"getyibaoinfo"
@
closeReadcard=
"closeReadcard"
/>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
mzxxs
,
mztk
,
mzcs
,
mis_refund
,
refundList
,
selfFundedSettle
}
from
'
@/api/mz
'
import
{
mzxxs
,
mztk
,
mzcs
,
mis_refund
,
refundList
,
selfFundedSettle
}
from
'
@/api/mz
'
import
{
patient
,
hisybbalance
}
from
'
@/api/jiesuan
'
import
{
patient
,
hisybbalance
}
from
'
@/api/jiesuan
'
import
Readcards
from
'
@/components/Readcards
'
import
Readcards
from
'
@/components/Readcards
'
import
SelectCard
from
'
@/components/SelectCard
'
import
SelectCard
from
'
@/components/SelectCard
'
export
default
{
export
default
{
...
@@ -52,7 +148,7 @@ export default {
...
@@ -52,7 +148,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
patientData
:
''
,
patientData
:
{}
,
tempsrc
:
require
(
'
@/assets/images/暂无记录.png
'
),
tempsrc
:
require
(
'
@/assets/images/暂无记录.png
'
),
logo
:
require
(
'
@/assets/logo/CardReader.gif
'
),
logo
:
require
(
'
@/assets/logo/CardReader.gif
'
),
...
@@ -70,7 +166,6 @@ export default {
...
@@ -70,7 +166,6 @@ export default {
sign
:
[],
sign
:
[],
},
},
refoundStateVisible
:
false
,
refoundStateVisible
:
false
,
carddialogFormVisible
:
false
,
// 读卡弹窗是否显示
carddialogFormVisible
:
false
,
// 读卡弹窗是否显示
...
@@ -88,40 +183,44 @@ export default {
...
@@ -88,40 +183,44 @@ export default {
}
else
{
}
else
{
console
.
log
(
'
支持websocket
'
)
console
.
log
(
'
支持websocket
'
)
}
}
},
},
methods
:
{
methods
:
{
cardtype
()
{
cardtype
()
{
this
.
allLoading
=
false
this
.
carddialogFormVisible
=
true
this
.
carddialogFormVisible
=
true
this
.
patientData
=
{}
this
.
patientData
=
{}
},
},
//首次进页面第一次刷卡返回的信息
//首次进页面第一次刷卡返回的信息
getyibaoinfo
(
e
,
x
)
{
getyibaoinfo
(
e
,
x
)
{
this
.
allLoading
=
true
this
.
carddialogFormVisible
=
false
this
.
carddialogFormVisible
=
false
hisybbalance
({
hisybbalance
({
// card_no: e.physicalCard,
// card_no: e.physicalCard,
card_type
:
e
.
ksbm
?
'
SOCIAL_CARD
'
:
e
.
physicalCardType
,
card_type
:
e
.
ksbm
?
'
SOCIAL_CARD
'
:
e
.
physicalCardType
,
p_ewm
:
x
?.
value
,
p_ewm
:
x
?.
value
,
p_shbzhm
:
e
.
sfzh
,
p_shbzhm
:
e
.
sfzh
,
p_kh
:
e
.
kh
,
p_kh
:
e
.
kh
,
p_xm
:
e
.
xm
,
p_xm
:
e
.
xm
,
p_sbm
:
e
.
ksbm
p_sbm
:
e
.
ksbm
,
})
})
.
then
(
response
=>
{
.
then
(
response
=>
{
this
.
allLoading
=
false
this
.
patientData
=
response
.
data
this
.
patientData
=
response
.
data
this
.
patientData
.
rqlbName
==
'
A
'
?
'
职工
'
:
'
居民
'
this
.
patientData
.
yfdxbzName
=
this
.
patientData
.
yfdxbz
==
''
?
'
无
'
:
this
.
patientData
.
yfdxbz
this
.
patientData
.
yfdxbzNameType
=
response
.
data
.
yfdxbzName
==
'
1
'
?
'
优抚对象
'
:
'
无
'
this
.
patientData
.
rqlbName
=
this
.
patientData
.
rqlb
==
'
A
'
?
'
职工
'
:
'
居民
'
})
})
.
catch
((
e
)
=>
{
.
catch
(
e
=>
{
this
.
allLoading
=
false
this
.
$message
({
this
.
$message
({
message
:
e
.
message
,
message
:
e
.
message
,
type
:
'
error
'
,
type
:
'
error
'
,
})
})
})
})
.
finally
(()
=>
{})
.
finally
(()
=>
{
this
.
allLoading
=
false
})
},
},
getpdxx
(
e
)
{
getpdxx
(
e
)
{
pdxx
({
pdxx
({
...
@@ -144,17 +243,15 @@ export default {
...
@@ -144,17 +243,15 @@ export default {
closeReadcard
()
{
closeReadcard
()
{
this
.
carddialogFormVisible
=
false
this
.
carddialogFormVisible
=
false
},
},
},
},
}
}
</
script
>
</
script
>
<
style
rel=
"stylesheet/scss"
lang=
"scss"
scoped
>
<
style
rel=
"stylesheet/scss"
lang=
"scss"
scoped
>
.textcolorred
{
.textcolorred
{
color
:
red
;
color
:
red
;
}
}
.textcolorblack
{
.textcolorblack
{
color
:
black
;
color
:
black
;
}
}
::v-deep
.el-table__body-wrapper
{
::v-deep
.el-table__body-wrapper
{
...
...
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