|
|
@@ -5,6 +5,7 @@
|
|
|
<el-button size="mini" icon="el-icon-upload2" type="success" @click="uploadFees">费用上传</el-button>
|
|
|
<el-button size="mini" icon="el-icon-remove-outline" type="warning" :disabled="!isAdmin" @click="cancelFees">取消上传</el-button>
|
|
|
<el-button size="mini" type="success" icon="el-icon-refresh" @click="tuiFeiPiPeiClick">退费匹配</el-button>
|
|
|
+ <el-button size="mini" type="primary" @click="weiGuiTuiFeiFenXiDialogOpen">违规费用分析</el-button>
|
|
|
<el-popover placement="left" width="730" trigger="click">
|
|
|
<template #reference>
|
|
|
<el-button size="mini" type="warning" icon="el-icon-circle-close" plain>错误信息 ({{ errorMessages.length }}) </el-button>
|
|
|
@@ -95,6 +96,9 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-main>
|
|
|
+ <el-dialog v-model="weiGuiTuiFeiFenXiDialog" title="违规费用分析">
|
|
|
+ <wei-gui-fei-yong-fen-xi :init="weiGuiTuiFeiInit" :patient="weiGuiJiBenXinXi"></wei-gui-fei-yong-fen-xi>
|
|
|
+ </el-dialog>
|
|
|
</el-container>
|
|
|
</template>
|
|
|
|
|
|
@@ -109,9 +113,11 @@ import { hospitalizationPreSettlement, uploadFeeDetail, revokeUploadFees } from
|
|
|
import { setCallback } from '@/utils/websocket'
|
|
|
import { getGreatestRole } from '@/utils/permission'
|
|
|
import { baseinfo } from '@/data/inpatient'
|
|
|
-import { yiZhuTuiFeiPiPei } from '@/api/yibao/xiang-mu-lu-ru'
|
|
|
+import { yiZhuTuiFeiPiPei, weiGuiFeiYongFenXi } from '@/api/yibao/xiang-mu-lu-ru'
|
|
|
import router from '@/router'
|
|
|
+import WeiGuiFeiYongFenXi from '../../../components/inpatient/WeiGuiFeiYongFenXi.vue'
|
|
|
export default {
|
|
|
+ components: { WeiGuiFeiYongFenXi },
|
|
|
setup() {
|
|
|
const feeTableHeight = (store.state.app.windowSize.h - 200) / 2
|
|
|
const isAdmin = getGreatestRole() < 10
|
|
|
@@ -373,6 +379,29 @@ export default {
|
|
|
yiZhuTuiFeiPiPei(patient.value.inpatientNo, patient.value.admissTimes)
|
|
|
}
|
|
|
|
|
|
+ ///////////////////////////////////////////// 违规退费分析 /////////////////////////////////////////////////////////////////////////
|
|
|
+ const weiGuiTuiFeiInit = ref(0)
|
|
|
+ const weiGuiTuiFeiFenXiDialog = ref(false)
|
|
|
+
|
|
|
+ const weiGuiJiBenXinXi = ref({})
|
|
|
+
|
|
|
+ const weiGuiTuiFeiFenXiDialogOpen = () => {
|
|
|
+ if (nullPatient()) return
|
|
|
+ weiGuiTuiFeiInit.value += 1
|
|
|
+ weiGuiFeiYongFenXi(patient.value.inpatientNo, patient.value.admissTimes).then((res) => {
|
|
|
+ if (res.weiXieDaiYuanLiuShui.length > 0 || res.weiPiPei.length > 0) {
|
|
|
+ weiGuiTuiFeiFenXiDialog.value = true
|
|
|
+ weiGuiJiBenXinXi.value.inpatientNo = patient.value.inpatientNo
|
|
|
+ weiGuiJiBenXinXi.value.admissTimes = patient.value.admissTimes
|
|
|
+ weiGuiJiBenXinXi.value.name = patient.value.name
|
|
|
+ weiGuiJiBenXinXi.value.weiPiPei = res.weiPiPei
|
|
|
+ weiGuiJiBenXinXi.value.weiXieDaiYuanLiuShui = res.weiXieDaiYuanLiuShui
|
|
|
+ weiGuiJiBenXinXi.value.pageSize = 30
|
|
|
+ weiGuiJiBenXinXi.value.currentPage = 1
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
onMounted(() => {
|
|
|
setCallback(socketCallback)
|
|
|
if (patient.value.inpatientNo) {
|
|
|
@@ -402,6 +431,10 @@ export default {
|
|
|
cancelFees,
|
|
|
tuiFeiPiPeiClick,
|
|
|
feeTableHeight,
|
|
|
+ weiGuiTuiFeiFenXiDialog,
|
|
|
+ weiGuiTuiFeiFenXiDialogOpen,
|
|
|
+ weiGuiJiBenXinXi,
|
|
|
+ weiGuiTuiFeiInit,
|
|
|
}
|
|
|
},
|
|
|
}
|