浏览代码

详情增加主管医生和年龄展示

lihong 2 年之前
父节点
当前提交
a33c961235

+ 129 - 0
src/components/si-sheet-upload/jian-yan-jian-cha/jianYanJianCha.vue

@@ -0,0 +1,129 @@
+<template>
+    <el-tabs v-model="asideTabs">
+        <el-tab-pane :name="0" label="检查记录">
+            <el-container>
+                <el-aside width="450px">
+                    <check-application-history :data="jianChaShuJu"
+                                               :returnData="dianJiaJianChaXiangQing"
+                                               :current-change="handleCurrentChange"/>
+                </el-aside>
+                <el-main>
+                    <jian-cha-jie-guo ref="jianChaJieGuoRef" :pat-info="props.huanZheXinXi"/>
+                </el-main>
+            </el-container>
+        </el-tab-pane>
+        <el-tab-pane :name="1" label="检验记录">
+
+        </el-tab-pane>
+    </el-tabs>
+
+</template>
+
+<script setup name="jianYanJianCha">
+
+import {computed, ref, watch} from 'vue'
+import {
+    baoCunJianYanJianCha,
+    diagnosisInOurHospital, getJcItem,
+    huoQuJianChaShenQing,
+    huoQuJianYanJianChaMing,
+    huoQuShengQingXiangQing,
+    queryCheckTextResults,
+} from '@/api/zhu-yuan-yi-sheng/jian-yan-jian-cha-shen-qing'
+import store from '@/store'
+import {getDateRangeFormatDate} from '@/utils/date'
+import {shortcuts} from '@/data/shortcuts'
+import {ElMessageBox} from 'element-plus'
+import CheckApplicationHistory from "@/components/zhu-yuan-yi-sheng/jian-cha-shen-qing/aside/CheckApplicationHistory";
+import InspectionRequisition
+    from "@/views/hospitalization/zhu-yuan-yi-sheng/jian-cha-jian-yan-shen-qing/InspectionRequisition";
+import SaveTemplateInspection
+    from "@/views/hospitalization/zhu-yuan-yi-sheng/jian-cha-jian-yan-shen-qing/SaveTemplateInspection";
+import {BizException, ExceptionEnum} from "@/utils/BizException";
+import {getServerDateApi, yaoPinXiangMuPiPeiYiBao} from "@/api/public-api";
+import {stringNotBlank} from "@/utils/blank-utils";
+import JianChaJieGuo from "@/components/zhu-yuan-yi-sheng/jian-cha-shen-qing/da-ying/JianChaJieGuo.vue";
+import XcTable from "@/components/xiao-chan/xc-table/XcTable.vue";
+import XcDialogV2 from "@/components/xiao-chan/dialog/XcDialogV2.vue";
+import XcComboGrid from "@/components/xiao-chan/combo-grid/XcComboGrid.vue";
+
+const props = defineProps({
+    huanZheXinXi: {
+        type: Object,
+        default: {}
+    },
+    height: {
+        type: Number,
+        default: 600
+    }
+})
+const asideTabs = ref(0)
+
+const jianChaShuJu = ref({
+    delFlag:1,
+    currentPage: 1,
+    total: 0,
+    pageSize: 20,
+    data: [],
+})
+
+const daYingJianChaRef = ref()
+// 检查结果
+const jianChaJieGuoRef = ref()
+
+onMounted(() => {
+    handleCurrentChange()
+})
+
+/**
+ * 点击查看检查申请单详情
+ * @param row 行数据
+ */
+const dianJiaJianChaXiangQing = (row) => {
+    queryCheckTextResults(row.inpatientNo, row.admissTimes, row.reqNo).then((res) => {
+        res.row = row
+        jianChaJieGuoRef.value.fillData(res).then(() => {
+        })
+    }).catch((e) => {
+        jianChaJieGuoRef.value.fillData({
+            record: {}, recordReport: {}, row: {}
+        })
+    })
+
+    huoQuShengQingXiangQing(row.reqNo).then((res) => {
+        // daYingJianChaRef.value.jieShouShuJu(res)
+    })
+}
+
+/**
+ * 检查申请单分页
+ * @param val
+ */
+const handleCurrentChange = (val) => {
+    jianChaShuJu.value.currentPage = val
+    dianJiChaXunHuanZheJianCha(jianChaShuJu.value.total)
+}
+
+/**
+ * 点击查询患者检查
+ * @param total
+ */
+const dianJiChaXunHuanZheJianCha = (total) => {
+    let param = {
+        patNo: props.huanZheXinXi.inpatientNo,
+        times: props.huanZheXinXi.admissTimes,
+        orderName: '',
+        total: 0,
+        currentPage: jianChaShuJu.value.currentPage,
+        pageSize: jianChaShuJu.value.pageSize,
+        startTime:'',
+        endTime: '',
+    }
+    huoQuJianChaShenQing(param).then((res) => {
+        if (total === 0) {
+            jianChaShuJu.value.total = res.total
+        }
+        jianChaShuJu.value.data = res.records
+    })
+}
+</script>

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

@@ -4,6 +4,7 @@
       <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="queryJianYanJianCha">检验检查记录</el-button>-->
             <el-button size="small" type="primary" @click="bingAnShouYe">病案首页</el-button>
             <el-button size="small" v-if="auditQuanXian()" type="primary" @click="shenQingCheHui">撤销审核</el-button>
             <el-button size="small" type="primary" @click="showChargeListClick">费用清单</el-button>
@@ -37,6 +38,12 @@
             {{ setlinfo.insutypeName }}
           </el-tag>
         </el-descriptions-item>
+          <el-descriptions-item label="年龄">
+              {{ setlinfo.upload.age }}
+          </el-descriptions-item>
+          <el-descriptions-item label="主管医生">
+              {{ setlinfo.upload.referPhysicianName }}
+          </el-descriptions-item>
         <el-descriptions-item label="住院次数">
           {{ setlinfo.admissTimes }}
         </el-descriptions-item>
@@ -336,6 +343,9 @@
         <el-table-column label="质控结果" prop="result_msg"></el-table-column>
       </el-table>
     </el-dialog>
+      <el-dialog v-model="jianYanJianChaDialogFlag" width="60% " title="检验检查">
+          <jian-yan-jian-cha :huanZheXinXi="huanZheXinXi" ></jian-yan-jian-cha>
+      </el-dialog>
       <charge-list v-if="showChargeList" :pat-no="setlinfo.inpatientNo" :times="setlinfo.admissTimes" @close="showChargeList = false"></charge-list>
   </el-container>
 </template>
@@ -371,6 +381,7 @@ import Sortable from 'sortablejs'
 import ShuJuDuiBi from '../ShuJuDuiBi.vue'
 import {ArrayIsEqual} from '@/utils/list-utlis'
 import JieSuanDanXiuGaiShouShu from '@/components/si-sheet-upload/jie-suan-dan-xiu-gai/JieSuanDanXiuGaiShouShu.vue'
+import jianYanJianCha from '@/components/si-sheet-upload/jian-yan-jian-cha/jianYanJianCha.vue'
 import ShuXueXinXi from '@/components/si-sheet-upload/ShuXueXinXi.vue'
 import XcSelect from "@/components/xiao-chan/select/XcSelect.vue";
 import {getEmrUrl,getInEmrUrl} from '@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-init';
@@ -389,6 +400,14 @@ const diseinfo = ref([])
 // 手术操作信息
 const oprninfo = ref([])
 const huanZheXinXiDialog = ref(true)
+const jianYanJianChaDialogFlag = ref(false)
+const huanZheXinXi = ref({
+    inpatientNo:'',
+    admissTimes:'',
+    name:'',
+    sexName:'',
+    age:''
+})
 
 const code = store.state.user.info.code
 const name = store.state.user.info.name
@@ -871,6 +890,10 @@ ElMessageBox.confirm('是否撤销审核', '提示', {
     })
     })
 }
+//检查检查记录
+const  queryJianYanJianCha=() =>{
+        jianYanJianChaDialogFlag.value = true
+}
 
 //病案首页
 const bingAnShouYe=() =>{
@@ -1098,6 +1121,11 @@ const clickRemoveBloodTransfusion = (index, id) => {
 onMounted(() => {
   init()
     initQuanXian()
+    huanZheXinXi.value.inpatientNo =props.data.inpatientNo
+    huanZheXinXi.value.admissTimes =props.data.admissTimes
+    huanZheXinXi.value.name =props.data.name
+    huanZheXinXi.value.sexName =cptSex(props.data.sex)
+    huanZheXinXi.value.age = props.data.upload.age
 })
 //初始化权限
 function initQuanXian() {

+ 1 - 1
src/components/zhu-yuan-yi-sheng/jian-cha-shen-qing/aside/CheckApplicationHistory.vue

@@ -12,7 +12,7 @@
     </el-table-column>
     <el-table-column label="操作" width="120">
       <template #default="scope">
-        <el-button icon="Delete" type="danger"
+        <el-button v-if="props.data.delFlag?false:true" icon="Delete" type="danger"
                    @click.stop="dianJiShanChu(scope.row, scope.$index)"> 删除
         </el-button>
       </template>

+ 1 - 1
src/views/medical-insurance/allpatient/SetSheetUpload.vue

@@ -48,6 +48,7 @@
         <el-table-column label="住院号/门诊号" prop="patNo"></el-table-column>
         <el-table-column label="性别" prop="gendName" width="40"></el-table-column>
         <el-table-column label="住院天数" prop="actIptDays"></el-table-column>
+        <el-table-column label="管床医生" prop="referPhysicianName"></el-table-column>
         <el-table-column label="医疗类别" prop="iptMedType">
           <template #default="scope">
             <el-button text type="primary" @click="clickToModifyMedicalCategory(scope.row)">
@@ -66,7 +67,6 @@
         <el-table-column label="医疗类别" prop="medTypeName"></el-table-column>
         <el-table-column label="清算机构" prop="clrOptinsName"></el-table-column>
         <el-table-column label="参保地" prop="insuplcAdmdvsName"></el-table-column>
-        <el-table-column label="管床医生" prop="referPhysicianName"></el-table-column>
         <el-table-column label="转科室" prop="zhuanKeName"></el-table-column>
         <el-table-column label="申请备注" prop="reqRemark"></el-table-column>
         <el-table-column v-if="shenHeQuanXian()" label="结算单" fixed="right">