From 9dca2e769621ae6c5268e13a55cf9a55f004f3cd Mon Sep 17 00:00:00 2001
From: qx <1084500556@qq.com>
Date: 星期一, 17 三月 2025 17:31:41 +0800
Subject: [PATCH] qx

---
 src/views/doctor/check/index.vue |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue
index 91ab6df..bc4a6e6 100644
--- a/src/views/doctor/check/index.vue
+++ b/src/views/doctor/check/index.vue
@@ -808,6 +808,7 @@
 import { getlistUser } from "@/api/system/user";
 import { getChildList } from "@/api/system/dept";
 import { resultList } from "@/api/doctor/examination";
+import { selectZT } from "@/api/system/package";
 import { get } from "sortablejs";
 export default {
   dicts: ["sys_user_sex", "sys_yes_no", "tj_result_type", "lj_positive"],
@@ -983,14 +984,23 @@
   methods: {
     handleFocus(row) {
       this.autorule = [];
-      if (!row.resultType || row.resultType == 2 || !row.proResult ) {
+      if (!row.resultType || row.resultType == 2 ) {
         return;
-      } else  {
+      } else {
         this.curindex = row;
-        this.$refs.bbb.title = "閫夋嫨妫�娴嬬粨鏋�";
+      selectZT({
+        proId: row.proId,
+      }).then((res) => {
+        if (res.data.length > 0) {
+          this.$refs.bbb.title = "閫夋嫨妫�娴嬬粨鏋�";
         // this.$refs.bbb.proId = row.proId;
         this.$refs.bbb.open = true;
         this.$refs.bbb.getList(this.curindex);
+        } else {
+          this.$refs.bbb.open = false;
+        }
+      });
+        
       }
     },
     handleChangesZt(params) {

--
Gitblit v1.8.0