|
|
@@ -1,13 +1,13 @@
|
|
|
-<script setup name='JianChaJianYanTable'>
|
|
|
+<script setup lang="ts">
|
|
|
import {yzSize} from "@/views/hospitalization/zhu-yuan-yi-sheng/public-js/zhu-yuan-yi-sheng";
|
|
|
import {huoQuZhiXinKeShi} from "@/api/zhu-yuan-yi-sheng/yi-zhu-lu-ru";
|
|
|
import XcComboGrid from "@/components/xiao-chan/combo-grid/XcComboGrid.vue";
|
|
|
import {
|
|
|
biaoBenApi,
|
|
|
- diagnosisInOurHospital,
|
|
|
+ diagnosisInOurHospital, getExamineIllustrate,
|
|
|
viewInspectionItemDetails
|
|
|
} from "@/api/zhu-yuan-yi-sheng/jian-yan-jian-cha-shen-qing";
|
|
|
-import {computed} from "vue";
|
|
|
+import {computed, onMounted, watch, ref} from "vue";
|
|
|
import store from "@/store";
|
|
|
import XcComboGridV2 from "@/components/xiao-chan/combo-grid/XcComboGridV2.vue";
|
|
|
import {useVModels} from "@vueuse/core";
|
|
|
@@ -65,7 +65,6 @@ const tableHeight = computed(() => {
|
|
|
const PATHOLOGY = '038'
|
|
|
|
|
|
const needPublicData = computed(() => {
|
|
|
-
|
|
|
if (isCheck.value) {
|
|
|
return true
|
|
|
} else {
|
|
|
@@ -76,7 +75,6 @@ const needPublicData = computed(() => {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
})
|
|
|
|
|
|
const enterPadding = (val) => {
|
|
|
@@ -106,12 +104,34 @@ const showStartTime = () => {
|
|
|
return userInfo.value.deptCode === '1160000' || userInfo.value.deptCode === '3100000'
|
|
|
}
|
|
|
|
|
|
-function explanationClick(value) {
|
|
|
- CyMessageBox.confirm({
|
|
|
- type: 'info',
|
|
|
- title: '说明',
|
|
|
- message: value.note,
|
|
|
- })
|
|
|
+declare type ExamineIllustrate = {
|
|
|
+ note: string,
|
|
|
+ collectionInfo: string
|
|
|
+}
|
|
|
+
|
|
|
+const examineIllustrate = new Map<string, ExamineIllustrate>();
|
|
|
+
|
|
|
+
|
|
|
+function explanationClick(value : {orderCode : string}) {
|
|
|
+ function messageBox(data: ExamineIllustrate) {
|
|
|
+ const message = `注意事项:${data.note}<br/><br/>采集说明:${data.collectionInfo}。`;
|
|
|
+ CyMessageBox.confirm({
|
|
|
+ type: 'info',
|
|
|
+ title: '说明',
|
|
|
+ message,
|
|
|
+ dangerouslyUseHTMLString: true,
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
+ if (examineIllustrate.has(value.orderCode)) {
|
|
|
+ messageBox(examineIllustrate.get(value.orderCode))
|
|
|
+ } else {
|
|
|
+ getExamineIllustrate(value.orderCode, props.isCheck).then(res => {
|
|
|
+ examineIllustrate.set(value.orderCode, res)
|
|
|
+ messageBox(res)
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -119,6 +139,7 @@ onMounted(() => {
|
|
|
watch(() => data.value.length, () => {
|
|
|
if (data.value.length === 0) {
|
|
|
feeListMap.value = {}
|
|
|
+ examineIllustrate.clear()
|
|
|
}
|
|
|
})
|
|
|
})
|