From a77752e5fb19d735429e2166e83b3c15224377b2 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 04 三月 2025 21:14:51 +0800
Subject: [PATCH] 测试完成

---
 src/views/followvisit/record/detailpage/index.vue |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index 066a1a9..fc397df 100644
--- a/src/views/followvisit/record/detailpage/index.vue
+++ b/src/views/followvisit/record/detailpage/index.vue
@@ -205,9 +205,9 @@
                   ></el-input> </el-form-item
               ></el-col>
             </el-row>
-            <!-- <div style="margin-left: 30px">
-            <el-button type="warning">涓�閿懠鍙�</el-button>
-          </div> -->
+            <div style="margin-left: 30px">
+            <el-button type="primary" plain @click="Editsingletasksonyic">淇濆瓨鏈嶅姟</el-button>
+          </div>
           </div>
 
           <el-form-item label="闅忚璁板綍">
@@ -279,7 +279,7 @@
                       /> </el-form-item
                   ></el-col>
                 </el-row>
-                <el-row :gutter="20">
+                <!-- <el-row :gutter="20">
                   <el-col :span="24">
                     <el-form-item label="鏍囩" prop="desc">
                       <div class="xinz-inf">
@@ -294,7 +294,7 @@
                       </div>
                     </el-form-item>
                   </el-col>
-                </el-row>
+                </el-row> -->
               </el-form>
             </div>
           </el-collapse-item>
@@ -675,8 +675,10 @@
       };
       // 鎮h�呭熀纭�淇℃伅
       messagelistpatient(queryParams).then((response) => {
-        this.userform = response.rows[0];
-        this.dynamicTags = response.rows[0].tagList.map(this.processElement);
+        if (response.rows[0]) {
+          this.userform = response.rows[0];
+          this.dynamicTags = response.rows[0].tagList.map(this.processElement);
+        }
       });
     },
     // 鑾峰彇璇煶鏁版嵁
@@ -825,6 +827,7 @@
       }).then((res) => {
         if (res.code == 200) {
           this.form = res.rows[0].serviceSubtaskList[0];
+          console.log(this.form,'this.form');
           this.logsheetlist = res.rows[0].serviceSubtaskList;
           this.templateid = this.logsheetlist[0].templateid;
         }
@@ -865,6 +868,7 @@
         if (res.code == 200) {
           objson = res.rows[0].serviceSubtaskList[0];
           objson.excep = excep;
+          objson.remark = this.form.remark;
           Editsingletaskson(objson).then((res) => {
             if (res.code) {
               this.$modal.msgSuccess("鏈嶅姟淇敼鎴愬姛");
@@ -930,7 +934,6 @@
     },
     // 鍒涘缓鍐嶆闅忚鏈嶅姟
     setupsubtask() {
-      console.log(this.form);
       let form = structuredClone(this.form);
       form.longSendTime = this.formatTime(form.date1);
       if (form.resource) {

--
Gitblit v1.9.3