|
@@ -165,7 +165,7 @@
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item>
|
|
|
<template #label> 使用个账</template>
|
|
|
- {{ currentApply.acctUsedFlag ? (currentApply.acctUsedFlag === '1' ? '是' : '否') : '' }}
|
|
|
+ {{ filterAcctUsedFlag(currentApply.acctUsedFlag) }}
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item>
|
|
|
<template #label> 处理人</template>
|
|
@@ -268,7 +268,6 @@ import Insuinfo from '../../../components/medical-insurance/insuinfo/Index.vue'
|
|
|
import Treatmentinfo from '../../../components/medical-insurance/treatmentinfo/Index.vue'
|
|
|
import MedfeeAnalyse from '../../../components/medical-insurance/medfee-analyse/Index.vue'
|
|
|
import IdentifyImage from '../../../components/inpatient/IdentifyImage.vue'
|
|
|
-import PageLayer from "@/layout/PageLayer";
|
|
|
import {Search} from "@element-plus/icons-vue";
|
|
|
import {formatDate, getOneMonthOffset} from "@/utils/date";
|
|
|
import {useMedinsStore} from "@/pinia/medins-store";
|
|
@@ -355,22 +354,19 @@ const beforeHandleApply = (approve) => {
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
inputValue: inputVal,
|
|
|
- })
|
|
|
- .then(({value}) => {
|
|
|
- currentApply.value.status = approve ? 1 : 2
|
|
|
- currentApply.value.handleComment = value
|
|
|
- handleApply(currentApply.value).then((res) => {
|
|
|
- currentRow.value.status = currentApply.value.status
|
|
|
- ElMessage({
|
|
|
- message: res,
|
|
|
- type: 'success',
|
|
|
- duration: 2500,
|
|
|
- showClose: true,
|
|
|
- })
|
|
|
- })
|
|
|
- })
|
|
|
- .catch(() => {
|
|
|
+ }).then(({value}) => {
|
|
|
+ currentApply.value.status = approve ? 1 : 2
|
|
|
+ currentApply.value.handleComment = value
|
|
|
+ handleApply(currentApply.value).then((res) => {
|
|
|
+ currentRow.value.status = currentApply.value.status
|
|
|
+ ElMessage({
|
|
|
+ message: res,
|
|
|
+ type: 'success',
|
|
|
+ duration: 2500,
|
|
|
+ showClose: true,
|
|
|
})
|
|
|
+ })
|
|
|
+ }).catch(() => {})
|
|
|
}
|
|
|
}
|
|
|
const showIdCardImg = ref(false)
|
|
@@ -460,4 +456,18 @@ const getStatusFlag = (status, patNo, times) => {
|
|
|
return `<span style="color: red">${patNo}_${times}</span>`
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+function filterAcctUsedFlag(val) {
|
|
|
+ if (!val) {
|
|
|
+ return '';
|
|
|
+ }
|
|
|
+ switch (val) {
|
|
|
+ case '0':
|
|
|
+ return '不使用个账'
|
|
|
+ case '1':
|
|
|
+ return '使用本人个账'
|
|
|
+ case '2':
|
|
|
+ return '使用共济人个账'
|
|
|
+ }
|
|
|
+}
|
|
|
</script>
|