|
@@ -2,6 +2,7 @@
|
|
|
<el-container>
|
|
|
<el-main>
|
|
|
<el-button type="danger" @click="xiangMuTuiFeiClick" icon="el-icon-delete-solid">退费</el-button>
|
|
|
+ <el-button type="primary" @click="weiGuiTuiFeiFenXiDialogOpen">违规费用分析</el-button>
|
|
|
<el-table :data="cptTableDataHuanZheFeiYong" :height="windowHeigth - 170" @selection-change="handleSelectionChange" highlight-current-row stripe>
|
|
|
<el-table-column type="selection"></el-table-column>
|
|
|
<el-table-column label="流水号" prop="detailSn" width="70px"></el-table-column>
|
|
@@ -45,6 +46,9 @@
|
|
|
style="margin-top: 5px"
|
|
|
></el-pagination>
|
|
|
</el-main>
|
|
|
+ <el-dialog v-model="weiGuiTuiFeiFenXiDialog" title="违规费用分析" :fullscreen="true">
|
|
|
+ <wei-gui-fei-yong-fen-xi :init="weiGuiTuiFeiInit" :patient="weiGuiJiBenXinXi"></wei-gui-fei-yong-fen-xi>
|
|
|
+ </el-dialog>
|
|
|
</el-container>
|
|
|
</template>
|
|
|
|
|
@@ -52,9 +56,11 @@
|
|
|
import { ref, watch } from 'vue'
|
|
|
import { costState } from '@/utils/computed'
|
|
|
import store from '@/store'
|
|
|
-import { getChargeCode, xiangMuTuiFei } from '@/api/yibao/xiang-mu-lu-ru'
|
|
|
-import { ElMessage, ElMessageBox } from 'element-plus'
|
|
|
+import { getChargeCode, xiangMuTuiFei, weiGuiFeiYongFenXi } from '@/api/yibao/xiang-mu-lu-ru'
|
|
|
+import WeiGuiFeiYongFenXi from '@/components/inpatient/WeiGuiFeiYongFenXi.vue'
|
|
|
+import { ElNotification } from 'element-plus'
|
|
|
export default {
|
|
|
+ components: { WeiGuiFeiYongFenXi },
|
|
|
name: 'huanZheFeiYong',
|
|
|
props: {
|
|
|
init: {
|
|
@@ -80,6 +86,7 @@ export default {
|
|
|
cptTableDataHuanZheFeiYong.value = props.init.records
|
|
|
fenYe.value.total = props.init.total
|
|
|
fenYe.value.currentPage = props.init.currentPage
|
|
|
+ weiGuiTuiFeiFenXiDialogOpen()
|
|
|
}
|
|
|
)
|
|
|
|
|
@@ -145,6 +152,52 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ ///////////////////////////////////////////// 违规退费分析 /////////////////////////////////////////////////////////////////////////
|
|
|
+ const weiGuiTuiFeiInit = ref(0)
|
|
|
+ const weiGuiTuiFeiFenXiDialog = ref(false)
|
|
|
+
|
|
|
+ const tiShi = ref(true)
|
|
|
+
|
|
|
+ const weiGuiJiBenXinXi = ref({})
|
|
|
+
|
|
|
+ const weiGuiTuiFeiFenXiDialogOpen = () => {
|
|
|
+ weiGuiFeiYongFenXi(props.patient.inpatientNo, props.patient.admissTimes, store.state.user.info.deptCode).then((res) => {
|
|
|
+ if (res.weiXieDaiYuanLiuShui.length > 0 || res.weiPiPei.length > 0) {
|
|
|
+ console.log(res)
|
|
|
+ weiGuiTuiFeiFenXiDialog.value = true
|
|
|
+ weiGuiJiBenXinXi.value.inpatientNo = props.patient.inpatientNo
|
|
|
+ weiGuiJiBenXinXi.value.admissTimes = props.patient.admissTimes
|
|
|
+ weiGuiJiBenXinXi.value.name = props.patient.name
|
|
|
+ weiGuiJiBenXinXi.value.weiPiPei = res.weiPiPei
|
|
|
+ weiGuiJiBenXinXi.value.weiXieDaiYuanLiuShui = res.weiXieDaiYuanLiuShui
|
|
|
+ weiGuiJiBenXinXi.value.pageSize = 20
|
|
|
+ weiGuiJiBenXinXi.value.currentPage = 1
|
|
|
+ weiGuiTuiFeiInit.value += 1
|
|
|
+ } else {
|
|
|
+ if (tiShi.value) {
|
|
|
+ ElNotification({
|
|
|
+ title: '提示',
|
|
|
+ dangerouslyUseHTMLString: true,
|
|
|
+ type: 'success',
|
|
|
+ message: ` 1、该患者没有本科室违规的费用 very nice。<br>
|
|
|
+ 2、如果还是上传不成功或者费用不一致,那么请医保科取消上传,重新上传费用。<br>
|
|
|
+ 3、退药品的话(长期医嘱撤销就可以了,如果不能撤销提单子)(临嘱的话使用医保入院登记里面的【医嘱退费】,然后护士执行这个条医嘱就可以了)。<br>
|
|
|
+ 4、全部的项目都要用本系统来退费。<br>你们终于可以不用向信息科打电话了 ヾ(✿゚▽゚)ノ`,
|
|
|
+ })
|
|
|
+ tiShi.value = false
|
|
|
+ } else {
|
|
|
+ ElNotification({
|
|
|
+ title: '提示',
|
|
|
+ dangerouslyUseHTMLString: true,
|
|
|
+ type: 'success',
|
|
|
+ message: ` 该患者没有违规的费用 very nice`,
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
return {
|
|
|
cptTableDataHuanZheFeiYong,
|
|
|
costState,
|
|
@@ -156,6 +209,9 @@ export default {
|
|
|
chargeCodeNameData,
|
|
|
xiangMuTuiFeiClick,
|
|
|
handleSelectionChange,
|
|
|
+ weiGuiTuiFeiFenXiDialogOpen,
|
|
|
+ weiGuiTuiFeiFenXiDialog,
|
|
|
+ weiGuiJiBenXinXi,
|
|
|
}
|
|
|
},
|
|
|
}
|