Commit 66631f18 authored by 任鸿志's avatar 任鸿志

feat(mzSFC): 添加获取诊断信息功能并更新门诊收费页面

- 在 api/all.js 中添加了 getDigs 接口
- 在 mzSFC.js 中实现了 diagnosis 函数
- 在 outpatientCharging.vue 中添加了诊断信息显示和获取诊断信息的方法
parent e3139195
......@@ -245,7 +245,8 @@ export const api = {
basicInfo:'/api/insurance/query_basic_info',
getInfoByQrCode:'/api/his/read_card/getInfoByQrCode',
readCard:'/api/insurance/read_card',
selfFundedSettle:'/api/refund_self'
selfFundedSettle:'/api/refund_self',
getDigs:'/api/settle_fee/getDigs'
},
inned:{
jslbList:'/api/cost/admin',
......
......@@ -228,4 +228,12 @@ export function selfFundedSettle (data) {
method: 'DELETE',
params:data
})
}
export function diagnosis (data) {
return requestSFC({
url:`${Vue.prototype.$api.mz.getDigs}/${data.patient_id}`,
method: 'get',
params:data
})
}
\ No newline at end of file
......@@ -86,11 +86,14 @@
</el-table>
</div>
<div class="box-card-right">
<div class="box_card_title" style="margin-bottom: 30px">
<div >
<div class="box_card_title" >
<div @click="addEventListener()">费用明细</div>
<div><el-button type="primary" size="mini" round @click="jshistory">结算历史</el-button></div>
</div>
<div style="height: 32px;font-size: 15px;padding: 5px;">诊断:{{ diagnosisData }}</div>
</div>
<el-table
:data="costlist"
tooltip-effect="dark"
......@@ -643,7 +646,7 @@ import Cardlist from '@/components/SFCCardlist'
import invoicepost from '@/components/invoicepost'
import Readcards from '@/components/ReadcardsSFC'
import editProp1 from './components/editProp' //修改自付比例
import { pdxx, mzxx, mzxxs, mzxxs_ewm, pdxq, info, bxxx, prescription, serviceInvoke, jsxx, hiscard, printmis, queryReadRard, verifyFeeStatus } from '@/api/mzSFC'
import { pdxx, mzxx, mzxxs, mzxxs_ewm, pdxq, info, bxxx, prescription, serviceInvoke, jsxx, hiscard, printmis, queryReadRard, verifyFeeStatus,diagnosis } from '@/api/mzSFC'
import { get_serial_number, editProp, zfbl, freemoney, settlementPre, familybalanceinfor, patient, settleSelfPre, selfPre, yundaMis, familyBalance, get_zfbl } from '@/api/jiesuanSFC'
import { recharge } from '@/api/changeFree'
import printProof from '../../utils/print_proof'
......@@ -662,6 +665,7 @@ export default {
name: 'Outpatient',
data() {
return {
diagnosisData:'',
payTypeData: '',
zhenduanData: '',
zifei_disable: false,
......@@ -1299,6 +1303,18 @@ export default {
this.loading = false
})
},
async getdiagnosis(){
this.diagnosisData=''
await diagnosis({
patient_id: this.patientData.patient_id,
visit_no:this.selectTableArr[0].visit_no
})
.then(response => {
this.diagnosisData=response.data.diag_desc
console.log(response.data,'ppppppppppppp')
})
},
async jiesuan() {
this.fee.weixin = ''
this.payTypeData = ''
......@@ -1780,6 +1796,7 @@ export default {
// this.jiesuan()
// }
}
this.getdiagnosis()
this.isGS = this.selectTableArr[0]?.settle_type.is_gs
this.zhenduan = this.selectTableArr[0]?.chronic_code
},
......
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