|
|
@@ -1,17 +1,20 @@
|
|
|
<template>
|
|
|
<div style="display: flex">
|
|
|
<div>
|
|
|
- <el-button icon="Search" type="primary" @click="chaKanHuiZhenShenQingClick">会诊查询</el-button>
|
|
|
- <el-button icon="Plus" type="success" @click="dianJiHuiZhenShenQing">会诊申请</el-button>
|
|
|
+ <el-button icon="Search" type="primary" @click="chaKanHuiZhenShenQingClick">查询</el-button>
|
|
|
+ <el-button icon="Plus" type="success" @click="dianJiHuiZhenShenQing">申请</el-button>
|
|
|
<div style="width: 400px">
|
|
|
+ <el-alert title="不需要会诊,表格中点击删除,会退费、撤销医嘱、删除会诊(已完成的无法删除)"
|
|
|
+ type="warning"
|
|
|
+ ref="alertRef"/>
|
|
|
<xc-table
|
|
|
- :final-height="yzSize.h - 50"
|
|
|
+ :final-height="tableHeight"
|
|
|
:local-data="chaKanHuiZhenList"
|
|
|
@rowClick="chaKanHuiZhenDan"
|
|
|
layout='total, prev, next'>
|
|
|
- <el-table-column label="申请时间" prop="inputDate" width="70">
|
|
|
+ <el-table-column label="申请时间" prop="inputDate">
|
|
|
<template #default="scope">
|
|
|
- {{ scope.row.inputDate + '_' + scope.row.reqTimes }}
|
|
|
+ <div v-html=" dateBr(scope.row.inputDate) + '_' + scope.row.reqTimes"></div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="科室" prop="deptName"></el-table-column>
|
|
|
@@ -27,7 +30,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="接受意见" prop="hzComment" show-overflow-tooltip></el-table-column>
|
|
|
- <el-table-column fixed="left" label="操作" width="50">
|
|
|
+ <el-table-column fixed="left" label="操作" width="55">
|
|
|
<template #default="scope">
|
|
|
<el-popconfirm
|
|
|
cancel-button-text="取消"
|
|
|
@@ -35,15 +38,13 @@
|
|
|
icon="InfoFilled"
|
|
|
icon-color="red"
|
|
|
title="确定要删除吗?"
|
|
|
- @confirm="shanChuHuiZhenShenQingClick(scope.$index, scope.row)"
|
|
|
- >
|
|
|
+ @confirm="shanChuHuiZhenShenQingClick(scope.$index, scope.row)">
|
|
|
<template #reference>
|
|
|
<el-button :disabled="scope.row.statusFlag === '2'"
|
|
|
- title="删除"
|
|
|
- circle
|
|
|
@click.stop.prevent
|
|
|
- icon="Delete"
|
|
|
- type="danger"/>
|
|
|
+ type="danger">
|
|
|
+ 删除
|
|
|
+ </el-button>
|
|
|
</template>
|
|
|
</el-popconfirm>
|
|
|
</template>
|
|
|
@@ -59,7 +60,9 @@
|
|
|
@tab-remove="tabRemove">
|
|
|
<el-tab-pane label="会诊详情"
|
|
|
:name="0">
|
|
|
- <print-the-consultation-form ref="daYingHuiZhenRef" :lai-yuan="2"/>
|
|
|
+ <div style="overflow: auto;width: max-content" :style="{height: yzSize.h - 100 +'px'}">
|
|
|
+ <print-the-consultation-form ref="daYingHuiZhenRef" :lai-yuan="2"/>
|
|
|
+ </div>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane :name="1"
|
|
|
label="添加会诊申请"
|
|
|
@@ -71,31 +74,33 @@
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
|
-<script setup name="HuiZhenShenQing">
|
|
|
+<script setup name="HuiZhenShenQing" lang="ts">
|
|
|
import TianJiaHuiZhenShenQing from '@/components/zhu-yuan-yi-sheng/hui-zhen-shen-qing/TianJiaHuiZhenShenQing.vue'
|
|
|
import {computed, onActivated, ref, watch} from 'vue'
|
|
|
import {chaKanHuiZhenShenQing, shanChuHuiZhenShenQing} from '@/api/case-front-sheet'
|
|
|
import {
|
|
|
consultationApplication,
|
|
|
- huanZheXinXi, jsQueryYzData,
|
|
|
- youWuXuanZheHuanZhe, yzHeaderSize, yzSize
|
|
|
+ huanZheXinXi,
|
|
|
+ jsQueryYzData,
|
|
|
+ youWuXuanZheHuanZhe,
|
|
|
+ yzSize
|
|
|
} from '@/views/hospitalization/zhu-yuan-yi-sheng/public-js/zhu-yuan-yi-sheng'
|
|
|
-import store from '@/store'
|
|
|
import {getHuanZheXinXi} from '@/api/case-front-sheet/jie-shou-hui-zhen'
|
|
|
import XcTable from "@/components/xiao-chan/xc-table/XcTable";
|
|
|
import {BizException, ExceptionEnum} from "@/utils/BizException";
|
|
|
import PrintTheConsultationForm from "@/components/hui-zhen-da-ying/PrintTheConsultationForm.vue";
|
|
|
-import {getWindowSize} from "@/utils/window-size";
|
|
|
-
|
|
|
-const windowSize = computed(() => {
|
|
|
- return store.state.app.windowSize
|
|
|
-})
|
|
|
-
|
|
|
+import {dateBr} from "@/utils/moment-utils";
|
|
|
+import {useCompRef} from "@/utils/useCompRef";
|
|
|
+import {ElAlert} from "element-plus";
|
|
|
|
|
|
const chaKanHuiZhenList = ref([])
|
|
|
-
|
|
|
+const alertRef = useCompRef(ElAlert)
|
|
|
const tabs = ref(0)
|
|
|
|
|
|
+const tableHeight = computed(() => {
|
|
|
+ return yzSize.value.h - 60 - (alertRef.value?.$el?.clientHeight || 0)
|
|
|
+})
|
|
|
+
|
|
|
const chaKanHuiZhenShenQingClick = () => {
|
|
|
if (youWuXuanZheHuanZhe()) return
|
|
|
chaKanHuiZhenShenQing(huanZheXinXi.value.inpatientNo, huanZheXinXi.value.admissTimes).then((res) => {
|