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 |   29 +++++++++++++++--------------
 1 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue
index 5e86068..bc4a6e6 100644
--- a/src/views/doctor/check/index.vue
+++ b/src/views/doctor/check/index.vue
@@ -280,12 +280,7 @@
                   <el-table-column prop="project.proName" label="妫�娴嬮」鐩�" width="150">
                   </el-table-column>
                   <el-table-column prop="proResult" label="妫�娴嬬粨鏋�" width="150">
-                    <!-- <template slot-scope="scope">
-                      <el-input type="textarea" autosize size="mini" v-model="scope.row.proResult" autocomplete="off"
-                        placeholder="璇疯緭鍏ユ娴嬬粨鏋�" @keyup.enter.native="
-                          keyInputConfirm($event,scope.$index,'proResult')
-                          " @focus="handleFocus(scope.row)" @blur="handleInputConfirm(scope.row)"
-                        @input="vale"></el-input> -->
+              
                     <template slot-scope="{ row, $index }">
                       <el-input  type="textarea" autosize size="mini" v-model="row.proResult" :ref="`input-${$index}`"
                         @keydown.enter.native="keyInputConfirm($event, $index)" @focus="handleFocus(row)"
@@ -429,8 +424,8 @@
                     <template slot-scope="{ row, $index }">
                       <el-input  type="textarea" autosize size="mini" v-model="row.proResult" :ref="`input-${$index}`"
                       @keydown.enter.native="keyInputConfirm($event, $index)" @focus="handleFocus(row)"
-                        @blur="handleInputConfirm(row)" @input="vale"></el-input>
-
+                        @blur="handleInputConfirm(row)" ></el-input>
+                        <!-- @input="vale" -->
                       <!-- <el-input type="textarea" autosize size="mini" v-model="scope.row.proResult" autocomplete="off"   :ref="`input-${scope.$index}-${scope.row.proResult}`"
                         placeholder="璇疯緭鍏ユ娴嬬粨鏋�" @keyup="
                           keyInputConfirm($event,scope.$index,'proResult')
@@ -813,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"],
@@ -988,15 +984,23 @@
   methods: {
     handleFocus(row) {
       this.autorule = [];
-
-      if (!row.resultType || row.resultType == 2) {
+      if (!row.resultType || row.resultType == 2 ) {
         return;
       } 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) {
@@ -1066,7 +1070,6 @@
       const proId = row.proId;
       resultList(tjNum, proId).then((res) => {
         this.jieguoList = res.data;
-        console.log(this.jieguoList, 998877);
 
         this.jyjc = this.jieguoList[0].jyjc;
         const ycbz = this.jieguoList[0].ycbz;
@@ -1216,7 +1219,6 @@
     },
 
     changDesc(item) {
-      console.log(item)
       if (item.exceptionDesc == true) {
         item.conclusion = "寮傚父"
       } else {
@@ -1304,7 +1306,6 @@
 
     },
     handleInputConfirm(datas, params) {
-
       if (params && params.length === 0) {
         // 濡傛灉娌℃湁閫変腑浠讳綍椤圭洰锛屽彇娑堝紓甯稿閫夋鐨勯�変腑鐘舵��
         this.curindex.exceptionDesc = false;

--
Gitblit v1.8.0