Browse Source

新增病案首页跳转和费用信息

lihong 2 years ago
parent
commit
a597c3d0be

+ 13 - 7
src/components/si-sheet-upload/jie-suan-dan-xiu-gai/JieSuanDanXiangQing.vue

@@ -4,7 +4,8 @@
       <el-descriptions :column="4" border style="width: 100%" title="基本信息">
         <template #extra>
 <!--          <el-button :disabled="shenHeSendFlag" size="small" type="primary" @click="fqsendAudit">申请审核</el-button>-->
-<!--            <el-button size="small" type="primary" @click="bingAnShouYe">病案首页</el-button>-->
+            <el-button size="small" type="primary" @click="bingAnShouYe">病案首页</el-button>
+            <el-button size="small" type="primary" @click="showChargeListClick">费用清单</el-button>
           <el-button size="small" type="primary" @click="querylistSetlAuditLog">审核历史记录</el-button>
           <el-button size="small" type="primary" @click="queryDianZiBingLi">电子病历</el-button>
           <el-button size="small" type="primary" @click="qualityTest">质控测算</el-button>
@@ -334,7 +335,7 @@
         <el-table-column label="质控结果" prop="result_msg"></el-table-column>
       </el-table>
     </el-dialog>
-
+      <charge-list v-if="showChargeList" :pat-no="setlinfo.inpatientNo" :times="setlinfo.admissTimes" @close="showChargeList = false"></charge-list>
   </el-container>
 </template>
 
@@ -345,6 +346,7 @@ import {searchYbDiag} from '@/api/inpatient/dictionary'
 import {decTypes, operations} from '../../../data'
 import {clone} from '@/utils/clone'
 import {ElMessage, ElMessageBox} from 'element-plus'
+import ChargeList from '@/components/medical-insurance/charge-list/Index.vue'
 import {
   removeBloodTransfusion,
   setlUploadAudit,
@@ -394,7 +396,7 @@ const setlAuditLogData =  ref([])
 const qualityDialogFlag = ref(false)
 
 const qualityData = ref([])
-
+const showChargeList =ref(false)
 /*以下全部都是诊断  */
 const diagnosticQuery = ref({
   method: 'name',
@@ -450,7 +452,9 @@ const pageZhenDuanChaXun = (val) => {
     queryZhenDuanData.value = res
   })
 }
-
+const showChargeListClick =()=>{
+    showChargeList.value = true
+}
 const sheZhiZhuZhenDuan = (index, val) => {
   let data = []
   for (let item of diseinfo.value) {
@@ -851,12 +855,14 @@ const  querylistSetlAuditLog = () => {
 }
 //病案首页
 const bingAnShouYe=() =>{
+
     router.push({
         name: 'fillCaseFrontSheet',
         query: {
             patNo: props.data.inpatientNo,
             deptCode: props.data.upload.outDept,
-            times: props.data.admissTimes
+            times: props.data.admissTimes,
+            disdate:props.data.disDate.split(' ')[0]
         }
     })
     huanZheXinXiDialog.value = false
@@ -941,9 +947,9 @@ const init = () => {
     diseinfo.value = clone(props.data.newYbZyDisDiag)
   }
   if(listIsBlank(props.data.newBatjBa4)){
-    oprninfo.value = clone(props.data.newBatjBa4)
+      oprninfo.value = clone(props.data.batjBa4)
   }else {
-    oprninfo.value = clone(props.data.batjBa4)
+      oprninfo.value = clone(props.data.newBatjBa4)
   }
 
   //初始化拖拽表格