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 = { ...@@ -245,7 +245,8 @@ export const api = {
basicInfo:'/api/insurance/query_basic_info', basicInfo:'/api/insurance/query_basic_info',
getInfoByQrCode:'/api/his/read_card/getInfoByQrCode', getInfoByQrCode:'/api/his/read_card/getInfoByQrCode',
readCard:'/api/insurance/read_card', readCard:'/api/insurance/read_card',
selfFundedSettle:'/api/refund_self' selfFundedSettle:'/api/refund_self',
getDigs:'/api/settle_fee/getDigs'
}, },
inned:{ inned:{
jslbList:'/api/cost/admin', jslbList:'/api/cost/admin',
......
...@@ -229,3 +229,11 @@ export function selfFundedSettle (data) { ...@@ -229,3 +229,11 @@ export function selfFundedSettle (data) {
params:data 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,10 +86,13 @@ ...@@ -86,10 +86,13 @@
</el-table> </el-table>
</div> </div>
<div class="box-card-right"> <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 @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 style="height: 32px;font-size: 15px;padding: 5px;">诊断:{{ diagnosisData }}</div>
</div>
<el-table <el-table
:data="costlist" :data="costlist"
...@@ -643,7 +646,7 @@ import Cardlist from '@/components/SFCCardlist' ...@@ -643,7 +646,7 @@ import Cardlist from '@/components/SFCCardlist'
import invoicepost from '@/components/invoicepost' import invoicepost from '@/components/invoicepost'
import Readcards from '@/components/ReadcardsSFC' import Readcards from '@/components/ReadcardsSFC'
import editProp1 from './components/editProp' //修改自付比例 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 { get_serial_number, editProp, zfbl, freemoney, settlementPre, familybalanceinfor, patient, settleSelfPre, selfPre, yundaMis, familyBalance, get_zfbl } from '@/api/jiesuanSFC'
import { recharge } from '@/api/changeFree' import { recharge } from '@/api/changeFree'
import printProof from '../../utils/print_proof' import printProof from '../../utils/print_proof'
...@@ -662,6 +665,7 @@ export default { ...@@ -662,6 +665,7 @@ export default {
name: 'Outpatient', name: 'Outpatient',
data() { data() {
return { return {
diagnosisData:'',
payTypeData: '', payTypeData: '',
zhenduanData: '', zhenduanData: '',
zifei_disable: false, zifei_disable: false,
...@@ -1299,6 +1303,18 @@ export default { ...@@ -1299,6 +1303,18 @@ export default {
this.loading = false 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() { async jiesuan() {
this.fee.weixin = '' this.fee.weixin = ''
this.payTypeData = '' this.payTypeData = ''
...@@ -1780,6 +1796,7 @@ export default { ...@@ -1780,6 +1796,7 @@ export default {
// this.jiesuan() // this.jiesuan()
// } // }
} }
this.getdiagnosis()
this.isGS = this.selectTableArr[0]?.settle_type.is_gs this.isGS = this.selectTableArr[0]?.settle_type.is_gs
this.zhenduan = this.selectTableArr[0]?.chronic_code 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