From e1e0b477de0623e3370fd717e263343e1c8576dc Mon Sep 17 00:00:00 2001
From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com>
Date: 星期五, 19 七月 2024 18:06:33 +0800
Subject: [PATCH] qxtj

---
 src/views/doctor/checkAll/index.vue |   56 ++++++++++++++++++++++++++++++--------------------------
 1 files changed, 30 insertions(+), 26 deletions(-)

diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue
index 0b23eb4..09fc5e4 100644
--- a/src/views/doctor/checkAll/index.vue
+++ b/src/views/doctor/checkAll/index.vue
@@ -481,7 +481,7 @@
                       <textarea
                         placeholder="璇疯緭鍏ュ唴瀹�"
                         :autosize="{ minRows: 2, maxRows: 2 }"
-                        style="width: 100%; height: 100%;resize: none;"
+                        style="width: 100%; height: 100%; resize: none"
                         v-model="changedate[index].remark"
                         v-on:input="change"
                       ></textarea>
@@ -505,22 +505,17 @@
                     >
                       妫�鏌ユ墍瑙侊細
                     </td>
-                    <td style="border: 1px solid #dfe6ec;"  colspan="2">
-                      
-                       <textarea
+                    <td style="border: 1px solid #dfe6ec" colspan="2">
+                      <textarea
                         placeholder="璇疯緭鍏ュ唴瀹�"
                         :autosize="{ minRows: 3, maxRows: 4 }"
-                        style="width: 100%; height: 100%;resize: none;"
+                        style="width: 100%; height: 100%; resize: none"
                         v-model="item.jgbx"
                       ></textarea>
                     </td>
-                    
                   </tr>
                   <tr
-                    style="
-                      border: 1px solid #dfe6ec;
-                      border-collapse: collapse;
-                    "
+                    style="border: 1px solid #dfe6ec; border-collapse: collapse"
                   >
                     <td
                       style="
@@ -535,11 +530,10 @@
                       style="
                         border: 1px solid #dfe6ec;
                         border-collapse: collapse;
-                      
                       "
                       colspan="2"
                     >
-                    <el-input v-model="item.remark" ></el-input>
+                      <el-input v-model="item.remark"></el-input>
                       <!-- <textarea
                         placeholder="璇疯緭鍏ュ唴瀹�"
                         :autosize="{ minRows: 2, maxRows: 2 }"
@@ -547,21 +541,21 @@
                         v-model="changedate[index].remark"
                         v-on:input="change"
                       ></textarea> -->
-                     
                     </td>
                   </tr>
-                  <tr  style="
+                  <tr
+                    style="
                       border: 1px solid #dfe6ec;
                       border-collapse: collapse;
                       width: 200px;
                       height: 36px;
-                    ">
+                    "
+                  >
                     <td
                       style="
                         border: 1px solid #dfe6ec;
                         border-collapse: collapse;
                         width: 15%;
-                        
                       "
                     >
                       涓绘鍖诲笀锛�
@@ -1528,6 +1522,8 @@
     radioChange(value) {
       this.loading = true;
       this.queryParams.checkStatus = value;
+      this.queryParams.page = 1;
+      this.queryParams.pageSize = 10;
       getcheckList(this.queryParams).then((response) => {
         if (response.data) {
           this.checkList = response.data.customers;
@@ -1658,6 +1654,7 @@
 
     // 鎼滅储
     submitForm() {
+      console.log(this.tjStatus);
       this.loading = true;
       this.queryParams.compId = this.CheckBox.drugManufacturerId;
       this.queryParams.checkStatus = this.tjStatus;
@@ -1702,10 +1699,9 @@
     },
 
     handleCurrentChange(val) {
-      if(val != null){
+      if (val != null) {
         this.handleClick(val);
       }
-     
     },
 
     // 鐐瑰嚮璇︽儏
@@ -1880,7 +1876,7 @@
             id: this.MsgId,
           };
           getfiedState(data).then((res) => {});
-          this.submitForm()
+          this.submitForm();
         });
     },
     handleClose1() {
@@ -1907,8 +1903,7 @@
     //     });
     //   }
     // },
-    change(vale) {
-    },
+    change(vale) {},
     determine() {
       let tjNumber = this.tableAll.tjNumber;
       let advice = this.textarea1;
@@ -1927,12 +1922,22 @@
             state: 1,
             id: this.MsgId,
           };
-          gettoPdf(tjNumber).then((res) => {
-            this.$modal.msgSuccess("宸茬敓鎴愭姤鍛婏紒璇峰墠寰�鎶ュ憡鏍告敹椤甸潰纭锛�");
-          });
+          gettoPdf(tjNumber)
+            .then((res) => {
+              this.$modal.msgSuccess("宸茬敓鎴愭姤鍛婏紒璇峰墠寰�鎶ュ憡鏍告敹椤甸潰纭锛�");
+            })
+            .catch((error) => {
+              this.$modal.msgError(
+                "鎵撳嵃鎶ュ憡澶辫触锛岃鍓嶅線鎶ュ憡鎵撳嵃椤甸潰琛ユ墦鎶ュ憡锛�"
+              );
+            });
           getfiedState(data).then((res) => {
             this.drawer = false;
           });
+          this.queryParams.page = 1;
+          this.queryParams.pageSize = 10;
+          this.submitForm();
+          this.$forceUpdate();
         }
       });
 
@@ -1948,8 +1953,7 @@
         ];
         getModified(updateOrderRemarkVos).then((response) => {});
       }
-      this.submitForm();
-      this.$forceUpdate();
+
       // this.changedate.forEach((item) => {
       //   this.proIds = item.parentId;
       //   // this.remark = item.remark;

--
Gitblit v1.8.0