|
|
@@ -15,6 +15,7 @@
|
|
|
<el-button icon="RefreshLeft" type="primary" @click="queryCurrentPage">刷新数据</el-button>
|
|
|
<el-button v-if="auditQuanXian()" type="success" @click="xianZhiShiJianClick">设置限制时间</el-button>
|
|
|
<el-button type="success" @click="toUploadInfo">上传日志</el-button>
|
|
|
+ <el-button type="success" v-if="bmyQuaXian()" @click="openSetlDeptConfGialog">科室配置</el-button>
|
|
|
<xian-zhi-shi-jian ref="xianZhiShiJian"></xian-zhi-shi-jian>
|
|
|
</template>
|
|
|
<template #main>
|
|
|
@@ -300,6 +301,18 @@
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
|
<el-button @click="clickToSaveMedicalCategory">保存</el-button>
|
|
|
</el-dialog>
|
|
|
+ <el-dialog v-model="setlDeptConf.dialog" title="修改科室配置信息">
|
|
|
+ <el-select v-model="setlDeptConf.outDept" :collapse-tags="true" clearable filterable multiple
|
|
|
+ placeholder="出院科室">
|
|
|
+ <el-option v-for="item in disDepts" :key="item.code" :label="item.name" :value="item.code">
|
|
|
+ <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-divider direction="vertical"></el-divider>
|
|
|
+ <el-button @click="clicksaveSetlDeptConfInfo">保存</el-button>
|
|
|
+ </el-dialog>
|
|
|
</template>
|
|
|
</page-layer>
|
|
|
</template>
|
|
|
@@ -318,6 +331,8 @@ import {
|
|
|
upldSetlList,
|
|
|
upldSetlListTimes,
|
|
|
xiuGaiGuanChuangYiShen,
|
|
|
+ querySetlDeptConfInfo,
|
|
|
+ saveSetlDeptConfInfo
|
|
|
} from '@/api/medical-insurance/si-setl-upload'
|
|
|
import {clrOptinsData, decTypes, getPsnType} from '@/data'
|
|
|
import {getDept} from '@/api/inpatient/xiang-mu-lu-ru'
|
|
|
@@ -331,7 +346,8 @@ import {
|
|
|
auditName,
|
|
|
huoQuZhongKongChaXunTiaoJian,
|
|
|
shenHeQuanXian,
|
|
|
- auditQuanXian
|
|
|
+ auditQuanXian,
|
|
|
+ bmyQuaXian
|
|
|
} from '@/components/si-sheet-upload/jieSuanDanXiuGai'
|
|
|
import XianZhiShiJian from '../../../components/si-sheet-upload/XianZhiShiJian.vue'
|
|
|
import {stringIsBlank, stringNotBlank} from '@/utils/blank-utils'
|
|
|
@@ -510,6 +526,45 @@ export default {
|
|
|
const chongZhi = () => {
|
|
|
unref(queryTermRef).resetFields()
|
|
|
}
|
|
|
+ //科室配置
|
|
|
+ const setlDeptConf = ref({
|
|
|
+ dialog:false,
|
|
|
+ outDept:[],
|
|
|
+ })
|
|
|
+
|
|
|
+ const openSetlDeptConfGialog = () =>{
|
|
|
+ let query = { code:store.state.user.info.code,
|
|
|
+ typeFlag:1
|
|
|
+ }
|
|
|
+ querySetlDeptConfInfo(query).then((res)=>{
|
|
|
+ setlDeptConf.value.outDept=res
|
|
|
+ setlDeptConf.value.dialog = true
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
+ const clicksaveSetlDeptConfInfo = () =>{
|
|
|
+ if(setlDeptConf.value.outDept.length <=0){
|
|
|
+ ElMessage({
|
|
|
+ message: '请先选择要配置的科室数据',
|
|
|
+ type: 'warning',
|
|
|
+ showClose: true,
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
+ let list = [];
|
|
|
+ for(let item of setlDeptConf.value.outDept){
|
|
|
+ let deptConf = {}
|
|
|
+ deptConf['code'] = store.state.user.info.code
|
|
|
+ deptConf['name'] = store.state.user.info.name
|
|
|
+ deptConf['typeFlag'] = 1
|
|
|
+ deptConf['deptCode'] = item
|
|
|
+ list.push(deptConf)
|
|
|
+ }
|
|
|
+ saveSetlDeptConfInfo(list).then((res)=>{
|
|
|
+ setlDeptConf.value.dialog = false
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
const jieSuanDanXinXi = (val) => {
|
|
|
if (queryTerm.value.clrType !== '21') {
|
|
|
@@ -535,6 +590,7 @@ export default {
|
|
|
jieSuanDanData.value.upload = val
|
|
|
jieSuanDanData.value.deptList = disDepts.value
|
|
|
jieSuanDanData.value.ledgerSn= val.ledgerSn
|
|
|
+ jieSuanDanData.value.disDept= val.outDept
|
|
|
jieSuanDanData.value.shenHeXinXi = {
|
|
|
id: val.id,
|
|
|
reqOpId: val.reqOpId,
|
|
|
@@ -737,10 +793,14 @@ export default {
|
|
|
remoteMethod,
|
|
|
auditFlags,
|
|
|
queryCurrentPage,
|
|
|
+ clicksaveSetlDeptConfInfo,
|
|
|
+ openSetlDeptConfGialog,
|
|
|
+ setlDeptConf,
|
|
|
xianZhiShiJian,
|
|
|
xianZhiShiJianClick,
|
|
|
shenHeQuanXian,
|
|
|
auditQuanXian,
|
|
|
+ bmyQuaXian,
|
|
|
guanChuangYiShen,
|
|
|
huoQuXiuGaiYiShen,
|
|
|
xiuGaiGuanChuangYiShenClick,
|