浏览代码

结算清单质控

lighter 2 年之前
父节点
当前提交
cc13441ac6

+ 14 - 6
src/views/hospitalization/case-front-sheet/FillCaseFrontSheet.vue

@@ -12,12 +12,12 @@
       <el-input v-model="inpatientNo" style="width: 110px" placeholder="住院号" clearable></el-input>
       <el-button type="primary" icon="Search" @click="searchPatient">搜索患者</el-button>
       <el-divider direction="vertical"></el-divider>
-      <el-button type="primary" icon="Edit" @click="openYbDiag" :disabled="inOutStatus === 2">医保诊断</el-button>
+      <el-button type="primary" icon="Edit" @click="openYbDiag" v-if="inOutStatus === 1">医保诊断</el-button>
       <el-button type="primary" icon="Upload" @click="saveVerify(1)">保存首页</el-button>
       <el-button type="success" icon="Printer" @click="beforePrint(1)">打印正面</el-button>
       <el-button type="success" icon="Printer" @click="beforePrint(2)">打印反面</el-button>
       <el-button type="primary" icon="PieChart" @click="caseQualityCheck">病案质控</el-button>
-      <el-button type="primary" icon="PieChart" @click="setlUplaodClick">结算单上传</el-button>
+      <el-button type="primary" icon="PieChart" @click="setlUplaodClick" v-if="inOutStatus === 2">结算清单质控</el-button>
     </template>
     <template #aside>
       <el-table ref="asideTable" :data="overview" :height="tableHeight" stripe highlight-current-row @row-click="fetchSheetInfo">
@@ -1456,15 +1456,23 @@ const handleClickMessage = (id, index) => {
 
 let showMessageDrawer = $ref(false)
 const setlUplaodClick = () => {
+  if (nullPatient()) return
+  if (!patient.value.medType || patient.value.medType==='01' || patient.value.medType==='42') {
+    ElMessage({
+      message: '自费及工伤患者无需进行医保结算单质控。',
+      type: 'warning',
+      duration: 2500,
+      showClose: true
+    })
+    return
+  }
   router.push({
     name: 'SetSheetUpload',
     query: {
-      patNo: '0411894',
-      times: 1,
+      patNo: patient.value.bah,
+      times: patient.value.admissTimes,
     }
   })
-
-
 }
 
 const caseQualityCheck = () => {

+ 6 - 9
src/views/medical-insurance/allpatient/SetSheetUpload.vue

@@ -12,7 +12,7 @@
       <el-button v-if="shenHeQuanXian()" :disabled="queryTerm.list.length === 0" icon="Download" type="success"
                  @click="exportExcel">导出 Execl
       </el-button>
-      <el-button icon="RefreshLeft" type="primary" @click="shuaXin">刷新数据</el-button>
+      <el-button icon="RefreshLeft" type="primary" @click="queryCurrentPage">刷新数据</el-button>
       <el-button v-if="shenHeQuanXian()" type="success" @click="xianZhiShiJianClick">设置限制时间</el-button>
       <el-button v-if="shenHeQuanXian()" type="success" @click="autoUploadDialog = true">导出自动上传信息</el-button>
       <export-auto-upload-info @close="autoUploadDialog = false" v-if="autoUploadDialog"/>
@@ -276,7 +276,7 @@
         <el-button @click="xiuGaiGuanChuangYiShenClick">修改</el-button>
       </el-dialog>
       <jie-suan-dan-xiang-qing v-if="jieSuanDanDataDialog" :data="jieSuanDanData" @close="jieSuanDanDataDialog = false"
-                               @shuaXin="shuaXin"></jie-suan-dan-xiang-qing>
+                               @queryCurrentPage="queryCurrentPage"></jie-suan-dan-xiang-qing>
       <Progress/>
       <el-dialog v-model="medType.dialog" title="修改住院医疗类别">
         <el-radio-group v-model="medType.iptMedType">
@@ -411,7 +411,8 @@ export default {
         queryTerm.value.patNo = params.patNo
         queryTerm.value.dateRange = []
         queryTermDialog.value=false
-        shuaXin()
+        await sleep(300);
+        await queryCurrentPage()
       }
     })
 
@@ -550,10 +551,6 @@ export default {
       }
     }
 
-    const shuaXin = () => {
-      queryCurrentPage()
-    }
-
     /* 限制时间 */
     const xianZhiShiJian = ref(null)
     const xianZhiShiJianClick = () => {
@@ -580,7 +577,7 @@ export default {
     const xiuGaiGuanChuangYiShenClick = () => {
       xiuGaiGuanChuangYiShen(guanChuangYiShen.value.patNo, guanChuangYiShen.value.times, guanChuangYiShen.value.yiShenCode).then((res) => {
         xiuGaiYiShen.value = false
-        shuaXin()
+        queryCurrentPage()
       })
     }
 
@@ -683,7 +680,7 @@ export default {
       jieSuanDanDataDialog,
       remoteMethod,
       auditFlags,
-      shuaXin,
+      queryCurrentPage,
       xianZhiShiJian,
       xianZhiShiJianClick,
       shenHeQuanXian,