|
@@ -3,18 +3,21 @@
|
|
|
<el-header style="margin-top: 10px">
|
|
|
<el-button @click="queryTermDialog = true" type="primary" icon="el-icon-search">检索条件</el-button>
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
|
- <el-button icon="el-icon-upload" type="success" @click="upldAllList" :disabled="queryTerm.list.length === 0">
|
|
|
+ <el-button icon="el-icon-upload" type="success" @click="upldAllList" :disabled="queryTerm.list.length === 0"
|
|
|
+ v-if="shenHeQuanXian()">
|
|
|
选中上传
|
|
|
</el-button>
|
|
|
- <el-button icon="el-icon-upload" type="warning" @click="upldSelections" :disabled="queryTerm.list.length === 0">
|
|
|
+ <el-button icon="el-icon-upload" type="warning" @click="upldSelections" :disabled="queryTerm.list.length === 0"
|
|
|
+ v-if="shenHeQuanXian()">
|
|
|
全部上传
|
|
|
</el-button>
|
|
|
- <el-button icon="el-icon-download" type="success" @click="exportExcel" :disabled="queryTerm.list.length === 0">导出
|
|
|
+ <el-button icon="el-icon-download" type="success" @click="exportExcel" :disabled="queryTerm.list.length === 0"
|
|
|
+ v-if="shenHeQuanXian()">导出
|
|
|
Execl
|
|
|
</el-button>
|
|
|
<el-button type="primary" icon="el-icon-refresh-left" @click="shuaXin">刷新数据
|
|
|
</el-button>
|
|
|
- <el-button type="success" @click="xianZhiShiJianClick">设置限制时间</el-button>
|
|
|
+ <el-button type="success" @click="xianZhiShiJianClick" v-if="shenHeQuanXian()">设置限制时间</el-button>
|
|
|
<xian-zhi-shi-jian ref="xianZhiShiJian"></xian-zhi-shi-jian>
|
|
|
</el-header>
|
|
|
<el-main>
|
|
@@ -23,7 +26,9 @@
|
|
|
<el-table-column fixed type="selection" width="35"></el-table-column>
|
|
|
<el-table-column fixed prop="psnName" label="姓名">
|
|
|
<template #default="scope">
|
|
|
- <el-button type="text" @click="jieSuanDanXinXi(scope.row)">{{ scope.row.psnName }}</el-button>
|
|
|
+ <el-button type="text" @click="jieSuanDanXinXi(scope.row)">
|
|
|
+ <span v-html="auditName(scope.row)"></span>
|
|
|
+ </el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="outDeptName" label="出院科室">
|
|
@@ -202,6 +207,19 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="spanWidth">
|
|
|
+ <el-form-item label="申报类型" prop="auditFlag">
|
|
|
+ <el-select v-model="queryTerm.decTypes" filterable clearable multiple
|
|
|
+ :collapse-tags="zheDieXianShi"
|
|
|
+ >
|
|
|
+ <el-option v-for="item in decTypes" :key="item.code" :value="item.code" :label="item.name">
|
|
|
+ <span style="color: #8492a6; font-size: 12px">{{ item.code }}</span>
|
|
|
+ <el-divider direction="vertical"></el-divider>
|
|
|
+ <span>{{ item.name }}</span>
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
<el-button type="primary" size="small" icon="el-icon-search" @click="query">查询</el-button>
|
|
@@ -221,8 +239,7 @@
|
|
|
<el-dialog v-model="xiuGaiYiShen" title="管床医生">
|
|
|
<el-select v-model="guanChuangYiShen.yiShenCode" filterable clearable remote
|
|
|
reserve-keyword
|
|
|
- :remote-method="remoteMethod"
|
|
|
- >
|
|
|
+ :remote-method="remoteMethod">
|
|
|
<el-option v-for="item in referPhysicians" :key="item.code" :value="item.code" :label="item.name">
|
|
|
<span style="color: #8492a6; font-size: 12px">{{ item.code }}</span>
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
@@ -253,15 +270,16 @@ import {
|
|
|
upldSetlListTimes,
|
|
|
xiuGaiGuanChuangYiShen
|
|
|
} from "../../../api/medical-insurance/si-setl-upload"
|
|
|
-import {clrOptinsData, getPsnType} from "../../../data"
|
|
|
+import {clrOptinsData, decTypes, getPsnType} from "../../../data"
|
|
|
import {getDept} from "../../../api/yibao/xiang-mu-lu-ru"
|
|
|
import JieSuanDanXiangQing from "../../../components/si-sheet-upload/JieSuanDanXiangQing.vue";
|
|
|
import {ElMessage, ElMessageBox} from "element-plus";
|
|
|
import Progress from '../../../components/progress/Index.vue'
|
|
|
import {downloadExcel} from "../../../utils/excel";
|
|
|
import {getRenYuan} from "../../../api/public-api";
|
|
|
-import {auditFlags, shenHeQuanXian} from "../../../components/si-sheet-upload/jieSuanDanXiuGai";
|
|
|
+import {auditFlags, auditName, shenHeQuanXian} from "../../../components/si-sheet-upload/jieSuanDanXiuGai";
|
|
|
import XianZhiShiJian from "../../../components/si-sheet-upload/XianZhiShiJian.vue";
|
|
|
+import {stringNotBlank} from "../../../utils/blank-utils";
|
|
|
|
|
|
export default {
|
|
|
name: "SetSheetUpload",
|
|
@@ -271,13 +289,14 @@ export default {
|
|
|
startTime: '',
|
|
|
endTime: '',
|
|
|
patNo: '',
|
|
|
- referPhysician: '',
|
|
|
+ referPhysician: shenHeQuanXian() ? '' : store.state.user.info.code,
|
|
|
insutype: [],
|
|
|
dateRange: [clockinShortcuts[0].value[0], clockinShortcuts[0].value[1]],
|
|
|
outDept: [],
|
|
|
clrType: '21',
|
|
|
medType: [],
|
|
|
clrOptins: [],
|
|
|
+ decTypes: [],
|
|
|
flag: 0,
|
|
|
auditFlag: 4,
|
|
|
psnType: '',
|
|
@@ -495,9 +514,11 @@ export default {
|
|
|
})
|
|
|
const xiuGaiYiShen = ref(false)
|
|
|
const huoQuXiuGaiYiShen = (code, name, patNo, times) => {
|
|
|
+ if (stringNotBlank(code)) {
|
|
|
+ referPhysicians.value = [{code: code, name: name}]
|
|
|
+ guanChuangYiShen.value.yiShenCode = code
|
|
|
+ }
|
|
|
xiuGaiYiShen.value = true
|
|
|
- referPhysicians.value = [{code: code, name: name}]
|
|
|
- guanChuangYiShen.value.yiShenCode = code
|
|
|
guanChuangYiShen.value.patNo = patNo
|
|
|
guanChuangYiShen.value.times = times
|
|
|
}
|
|
@@ -509,6 +530,9 @@ export default {
|
|
|
}
|
|
|
|
|
|
onMounted(() => {
|
|
|
+ if (!shenHeQuanXian()) {
|
|
|
+ referPhysicians.value = [{code: store.state.user.info.code, name: store.state.user.info.name}]
|
|
|
+ }
|
|
|
getInsutypes().then((res) => {
|
|
|
insutypes.value = res
|
|
|
getClrTypes().then((res2) => {
|
|
@@ -559,6 +583,8 @@ export default {
|
|
|
huoQuXiuGaiYiShen,
|
|
|
xiuGaiGuanChuangYiShenClick,
|
|
|
xiuGaiYiShen,
|
|
|
+ auditName,
|
|
|
+ decTypes,
|
|
|
flags: ref([
|
|
|
{code: 0, name: '全部'},
|
|
|
{code: 1, name: '未传'},
|