From 50dd8296b363798246749bc402302535451921a5 Mon Sep 17 00:00:00 2001
From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com>
Date: 星期二, 23 七月 2024 15:37:37 +0800
Subject: [PATCH] qxtj

---
 src/views/doctor/checkAll/index.vue |   70 ++++++++++++++++++----------------
 1 files changed, 37 insertions(+), 33 deletions(-)

diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue
index 0b23eb4..b01db8c 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>
@@ -494,33 +494,29 @@
               <div v-else>
                 <table style="width: 100%" v-if="tjproject != '1'">
                   <tr
-                    style="border: 1px solid #dfe6ec; border-collapse: collapse"
+                    style="border: 1px solid #dfe6ec; "
                   >
                     <td
                       style="
                         border: 1px solid #dfe6ec;
                         border-collapse: collapse;
                         width: 15%;
+                        height: 52px;
                       "
                     >
                       妫�鏌ユ墍瑙侊細
                     </td>
-                    <td style="border: 1px solid #dfe6ec;"  colspan="2">
-                      
-                       <textarea
+                    <td style="border: 1px solid #dfe6ec; height: 52px;" 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,33 +531,31 @@
                       style="
                         border: 1px solid #dfe6ec;
                         border-collapse: collapse;
-                      
                       "
                       colspan="2"
                     >
-                    <el-input v-model="item.remark" ></el-input>
-                      <!-- <textarea
+                      <!-- <el-input v-model="item.remark"></el-input> -->
+                      <textarea
                         placeholder="璇疯緭鍏ュ唴瀹�"
-                        :autosize="{ minRows: 2, maxRows: 2 }"
-                        style="width: 100%; height: 100%"
-                        v-model="changedate[index].remark"
-                        v-on:input="change"
-                      ></textarea> -->
-                     
+                        :autosize="{ minRows: 2, maxRows: 3 }"
+                        style="width: 100%; height: 100%; resize: none"
+                        v-model="item.remark"
+                      ></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