From 9807702944b412384ba022b14b669f56df8cb4d7 Mon Sep 17 00:00:00 2001
From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com>
Date: 星期三, 13 十二月 2023 15:23:16 +0800
Subject: [PATCH] qxtj

---
 src/views/doctor/checkAll/index.vue |   47 ++++++++++++++++++++++++++++-------------------
 1 files changed, 28 insertions(+), 19 deletions(-)

diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue
index ea00391..86b8e66 100644
--- a/src/views/doctor/checkAll/index.vue
+++ b/src/views/doctor/checkAll/index.vue
@@ -242,8 +242,8 @@
                 border-collapse: collapse;
                 width: 200px;
                
-              "  v-if="item.parentAdvice">
-                  <el-input v-model="item.parentAdvice[index]" disabled></el-input>
+              " >
+                  <el-input v-model="item.remark" disabled></el-input>
                   <!-- <el-select v-model="item.value" multiple filterable placeholder="璇烽�夋嫨" style="width: 100%" @change="xiAoJieChange($event, item)">
                 <el-option v-for="item1 in item.parentAdvice" :key="item1.id" :label="item1.title" :value="item1.id">
                 </el-option>
@@ -713,17 +713,21 @@
 
       // 椤甸潰鏁版嵁
       getcheckList(this.queryParams).then((response) => {
-        if (response.data) {
-          if (response.data.date) {
-            this.checkList = response.data.date;
-          } else {
-            this.checkList = response.data.customers;
-          }
+        if (response.code == 200) {
           this.loading = false;
-          this.total = response.data.total;
-        } else {
-          this.checkList = [];
+          if (response.data) {
+            if (response.data.date) {
+              this.checkList = response.data.date;
+            } else {
+              this.checkList = response.data.customers;
+            }
+
+            this.total = response.data.total;
+          } else {
+            this.checkList = [];
+          }
         }
+
       }),
         // 鑾峰彇鍗曚綅淇℃伅闆嗗悎
         getCompany(this.queryParam).then((response) => {
@@ -857,6 +861,7 @@
 
     // 鎼滅储
     submitForm() {
+      this.loading = true;
       this.queryParams.compId = this.CheckBox.drugManufacturerId;
       this.queryParams.checkStatus = this.tjStatus;
       if (this.startTime) {
@@ -869,16 +874,20 @@
 
       // 椤甸潰鏁版嵁
       getcheckList(this.queryParams).then((response) => {
-        if (response.data.customers != null) {
-          this.checkList = response.data.customers;
-          this.checkList.forEach((item) => {
-            this.tjStatus = item.tjStatus.toString();
-          });
+        if (response.code == 200) {
           this.loading = false;
-          this.total = response.data.total;
-        } else {
-          this.checkList = [];
+          if (response.data.customers != null) {
+            this.checkList = response.data.customers;
+            this.checkList.forEach((item) => {
+              this.tjStatus = item.tjStatus.toString();
+            });
+
+            this.total = response.data.total;
+          } else {
+            this.checkList = [];
+          }
         }
+
       });
     },
     // 閲嶇疆

--
Gitblit v1.8.0