Commit 48dbd463 authored by 任鸿志's avatar 任鸿志

refactor(jiesuan): 优化慢病结算流程

- 修改慢病病种选择逻辑,支持多病种选择
- 优化病种选择界面布局和提示信息
- 调整结算类型显示逻辑,修复病种名称显示问题
- 优化结算历史和费用明细展示
- 更新环境变量配置
parent bfc7f230
...@@ -13,8 +13,8 @@ VUE_APP_BASE_URL_change = 'http://10.10.8.230:6200/fancy' ...@@ -13,8 +13,8 @@ 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://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 = '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.9.219:8802'
VUE_APP_BASE_URL_SFC = 'http://10.10.40.69:9903' # VUE_APP_BASE_URL_SFC = 'http://10.10.40.69:9903'
# VUE_APP_BASE_URL = 'http://192.169.4.171:8002' # VUE_APP_BASE_URL = 'http://192.169.4.171:8002'
# VUE_APP_BASE_URL = 'http://10.10.40.10:8099' # VUE_APP_BASE_URL = 'http://10.10.40.10:8099'
# VUE_APP_BASE_URL = 'http://newfinance.fanxyinfo.cn' # VUE_APP_BASE_URL = 'http://newfinance.fanxyinfo.cn'
......
...@@ -90,12 +90,7 @@ ...@@ -90,12 +90,7 @@
<div @click="addEventListener()">费用明细</div> <div @click="addEventListener()">费用明细</div>
<div><el-button type="primary" size="mini" round @click="jshistory">结算历史</el-button></div> <div><el-button type="primary" size="mini" round @click="jshistory">结算历史</el-button></div>
</div> </div>
<!-- <div class="selectinput">
慢病病种:
<el-select v-model="zhenduan" placeholder="请选择" :clearable="true">
<el-option v-for="item in moreshowdata.data.mzdbjbs_arr" :key="item.value" :label="item.label" :value="item.value"> </el-option>
</el-select>
</div> -->
<el-table <el-table
:data="costlist" :data="costlist"
tooltip-effect="dark" tooltip-effect="dark"
...@@ -163,7 +158,7 @@ ...@@ -163,7 +158,7 @@
? selectTableArr[0].settle_type.name ? selectTableArr[0].settle_type.name
: '' : ''
}}</span> }}</span>
<!-- <span style="margin-left: 10px;" v-if="man_name == '4' || (selectTableArr[0].settle_type.is_mb && man_name!='1'&& man_name!='2' && man_name!='3' )">病种:{{ zhenduanData }}</span> --> <span style="margin-left: 10px;" v-if="selectTableArr[0]?selectTableArr[0].settle_type.is_mb:false">病种:{{ zhenduanData }}</span>
</span> </span>
<span style="margin-left: 10px">{{ this.channels }}</span> <span style="margin-left: 10px">{{ this.channels }}</span>
</div> </div>
...@@ -584,16 +579,17 @@ ...@@ -584,16 +579,17 @@
</div> </div>
</div> </div>
</div> </div>
<!-- <el-dialog title="提示" :visible.sync="moreshow" width="30%" v-loading="moreLoading"> <el-dialog title="慢病提示" :visible.sync="moreshow" width="40%" v-loading="moreLoading">
<span>请选择诊断</span> <div> <span>请选择诊断</span><span style="color: red;">(默认选中为医生开单时病种信息,谨慎修改)</span></div>
<el-radio-group v-model="zhenduan">
<el-radio-group v-model="zhenduan" style="margin-top: 20px;">
<el-radio :label="item.code" v-for="item in moreshowdata.data.mzdbjbs_arr" :key="item.value">{{ item.name }}</el-radio> <el-radio :label="item.code" v-for="item in moreshowdata.data.mzdbjbs_arr" :key="item.value">{{ item.name }}</el-radio>
</el-radio-group> </el-radio-group>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="moreshow = false">取 消</el-button> <el-button @click="moreshow = false">取 消</el-button>
<el-button type="primary" @click="selectCardYiboPre(moreshowdata.data, moreshowdata.x, moreshowdata.y, zhenduan)">确 定</el-button> <el-button type="primary" @click="selectCardYiboPre(moreshowdata.data, moreshowdata.x, moreshowdata.y, zhenduan)">确 定</el-button>
</span> </span>
</el-dialog> --> </el-dialog>
<el-dialog title="提示" :visible.sync="GSshow" width="30%" v-loading="moreLoading"> <el-dialog title="提示" :visible.sync="GSshow" width="30%" v-loading="moreLoading">
<span>{{ dataText }}</span> <span>{{ dataText }}</span>
...@@ -695,7 +691,7 @@ export default { ...@@ -695,7 +691,7 @@ export default {
data: {}, data: {},
}, },
zhenduan: '', zhenduan: '',
// moreshow: false, moreshow: false,
familyType: '', familyType: '',
oldewmpingzheng: '', oldewmpingzheng: '',
ztvalue: '', ztvalue: '',
...@@ -1353,6 +1349,11 @@ export default { ...@@ -1353,6 +1349,11 @@ export default {
}, },
cardtype(type) { cardtype(type) {
// this.invoicepostVisible=true // this.invoicepostVisible=true
this.selectTableArr=[{
settle_type: {
name: '',
},
}]
this.patientInfo = {} this.patientInfo = {}
this.typeList = [] this.typeList = []
this.costlist = [] this.costlist = []
...@@ -1431,15 +1432,15 @@ export default { ...@@ -1431,15 +1432,15 @@ export default {
return false return false
} }
if (this.select_type == '01') { if (this.select_type == '01') {
// if (this.form.insurance_type == 'LOCAL') { if (this.form.insurance_type == 'OFFSITE' || this.form.insurance_type == 'LONGDISTANCE') {
// this.jeizhishow = true this.jeizhishow = true
// const that = this const that = this
// setTimeout(function () { setTimeout(function () {
// that.handleSetFocusLast() that.handleSetFocusLast()
// }, 300) }, 300)
// } else { } else {
this.qrjs() this.qrjs()
// } }
} else if ((this.ztvalue.value == 'SELF_PAY' || this.man_name == '1') && this.man_name != '2' && this.man_name != '3' && this.man_name != '4') { } else if ((this.ztvalue.value == 'SELF_PAY' || this.man_name == '1') && this.man_name != '2' && this.man_name != '3' && this.man_name != '4') {
this.selfPre() this.selfPre()
} else { } else {
...@@ -1898,20 +1899,35 @@ export default { ...@@ -1898,20 +1899,35 @@ export default {
}) })
}, },
selectCardYiboPreselect(data, x, y) { selectCardYiboPreselect(data, x, y) {
this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0]?.code) // 判断慢病
if ((this.selectTableArr[0]?.settle_type.is_mb || this.man_name == '4') && this.man_name != '1' && this.man_name != '2' && this.man_name != '3') {
// 判断多病种慢病
if (data?.mzdbjbs_arr.length > 1) {
this.moreshow = true
this.moreshowdata = {
data: data,
x: x,
y: y,
}
} else {
this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0]?.code)
}
} else {
this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0]?.code)
}
}, },
// 医保预结算 // 医保预结算
selectCardYiboPre(data, x, y, zhenduan) { selectCardYiboPre(data, x, y, zhenduan) {
if (this.man_name == '2' || this.man_name == '3' || this.man_name == '1') { if (this.man_name == '2' || this.man_name == '3' || this.man_name == '1' || this.selectTableArr[0].settle_type.is_mb==false ) {
zhenduan = '' zhenduan = ''
} else { } else {
//this.zhenduanData=this.moreshowdata.data.mzdbjbs_arr.filter(item => item.code === zhenduan)[0].nameyujiesuanLoading this.zhenduanData=this.moreshowdata.data.mzdbjbs_arr.filter(item => item.code === zhenduan)[0].name
} }
this.yujiesuanLoading = true this.yujiesuanLoading = true
this.xj_amount = 0 this.xj_amount = 0
this.source_pay_amount = 0 this.source_pay_amount = 0
// this.moreshow = false this.moreshow = false
this.moreLoading = true this.moreLoading = true
this.oldewmpingzheng = y this.oldewmpingzheng = y
this.select_type = x this.select_type = x
...@@ -1947,7 +1963,7 @@ export default { ...@@ -1947,7 +1963,7 @@ export default {
this.bxxxinfo = res.data this.bxxxinfo = res.data
this.bxxxinfo.his_deduct_amount = 0 this.bxxxinfo.his_deduct_amount = 0
this.bxxxinfo.settle_type = //this.bxxxinfo.settle_type.name this.bxxxinfo.settle_type = //this.bxxxinfo.settle_type.name
this.man_name == '1' ? '自费' : this.man_name == '2' ? '门诊统筹' : this.man_name == '3' ? '医保个账' : this.man_name == '4' ? '门诊慢性病' : this.typeList[0].settle_type.name this.man_name == '1' ? '自费' : this.man_name == '2' ? '门诊统筹' : this.man_name == '3' ? '医保个账' : this.man_name == '4' ? '门诊慢性病' : this.typeList[0].settle_type.name
if (res.data.mzxets != '') { if (res.data.mzxets != '') {
this.dataText = res.data.mzxets this.dataText = res.data.mzxets
this.GSshow = true this.GSshow = true
...@@ -2026,18 +2042,14 @@ export default { ...@@ -2026,18 +2042,14 @@ export default {
prescription_nos: this.cost_id, prescription_nos: this.cost_id,
js_type: '1', js_type: '1',
p_jbbm: zhenduan, p_jbbm: zhenduan,
}).then(response => { }).then(response => {})
})
}) })
}) })
.catch(err => { .catch(err => {
this.moreLoading = false this.moreLoading = false
this.yujiesuanLoading = false this.yujiesuanLoading = false
}) })
.finally(() => { .finally(() => {
this.yujiesuanLoading = false this.yujiesuanLoading = false
this.closeSelectCard() this.closeSelectCard()
}) })
...@@ -2061,7 +2073,7 @@ export default { ...@@ -2061,7 +2073,7 @@ export default {
this.yujiesuanLoading = false this.yujiesuanLoading = false
this.dialogVisible = true this.dialogVisible = true
this.bxxxinfo = res.data this.bxxxinfo = res.data
this.bxxxinfo.settle_type = //this.bxxxinfo.settle_type = this.bxxxinfo.settle_type.name this.bxxxinfo.settle_type = //this.bxxxinfo.settle_type = this.bxxxinfo.settle_type.name
this.man_name == '1' ? '自费' : this.man_name == '2' ? '门诊统筹' : this.man_name == '3' ? '医保个账' : this.man_name == '4' ? '门诊慢性病' : this.typeList[0].settle_type.name this.man_name == '1' ? '自费' : this.man_name == '2' ? '门诊统筹' : this.man_name == '3' ? '医保个账' : this.man_name == '4' ? '门诊慢性病' : this.typeList[0].settle_type.name
this.bxxxinfo.gjzhzf = 0 this.bxxxinfo.gjzhzf = 0
this.bxxxinfo.his_deduct_amount = 0 this.bxxxinfo.his_deduct_amount = 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment