From d9a95a7d732c3d29e7a7b8cb3e1b004d4d17b63f Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 20 三月 2025 15:12:29 +0800
Subject: [PATCH] 测试完成

---
 src/views/followvisit/record/detailpage/index.vue |   22 +++++++++++++++-------
 1 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index 7b4f9d1..6199a33 100644
--- a/src/views/followvisit/record/detailpage/index.vue
+++ b/src/views/followvisit/record/detailpage/index.vue
@@ -18,7 +18,6 @@
                 >鏌ョ湅鎮h�呮湰娆℃湇鍔′俊鎭�</el-button
               >
             </div>
-
           </div>
           <!-- <el-button type="success">闅忚鍚庣煭淇�</el-button> -->
         </div>
@@ -221,9 +220,9 @@
               <el-button plain type="info" @click="Editsingletaskson('5')"
                 >涓績闅忚</el-button
               >
-              <el-button type="primary" round @click="sendAgain()"
+              <!-- <el-button type="primary" round @click="sendAgain()"
                 >鍐嶆闅忚</el-button
-              >
+              > -->
             </div>
           </el-form-item>
         </el-form>
@@ -577,7 +576,7 @@
         isFinish: false,
       }).then((res) => {
         if (res.code === 200) {
-          this.tableDatatop = res.data.scriptResult.script;
+          this.tableDatatop = res.data.scriptResult;
           this.tableDatatop.forEach((item) => {
             console.log(item.scriptResultId, "scriptResultId");
 
@@ -597,7 +596,7 @@
     // 鑾峰彇鍩虹淇℃伅
     getuserinfo() {
       const queryParams = {
-        pid: Number(this.id),
+        pid: Number(this.patid),
         allhosp: "0",
         pageNum: 1,
       };
@@ -682,6 +681,7 @@
           subId: this.id,
           taskid: this.taskid,
           scriptid: item.id,
+          templatequestionnum:item.scriptno,
           questiontext: item.scriptContent,
         };
         if (item.scriptType == 2 && item.scriptResult[0]) {
@@ -713,10 +713,13 @@
       this.tableDatatop.forEach((item, index) => {
         console.log(item.scriptResult, "scriptResult");
         item.scriptResult = item.scriptResult.join("&");
-        item.templatequestionnum = index + 1;
+        // item.templatequestionnum = index + 1;
         item.subId = this.id;
         item.taskid = this.taskid;
         item.asrtext = item.matchedtext;
+        item.templatequestionnum = item.scriptno;
+        item.targetid = item.targetid;
+        item.scriptid = item.id;
         if (!item.id) {
           item.isoperation = 1;
         }
@@ -756,7 +759,7 @@
           this.templateid = this.logsheetlist[0].templateid;
           console.log(this.form.serviceType, "serviceType");
         }
-
+this.getuserinfo()
         if (this.Voicetype) {
           this.getPersonVoices();
         } else {
@@ -859,6 +862,8 @@
       console.log(this.form);
       let form = structuredClone(this.form);
       form.longSendTime = this.formatTime(form.date1);
+      form.finishtime = '';
+
       if (form.resource) {
         if (form.resource == 2) {
           form.serviceType = 10;
@@ -1049,6 +1054,9 @@
     top: 0;
   }
 }
+::v-deep.el-input.is-disabled .el-input__inner{
+color: #02a7f0;
+}
 ::v-deep.offside-value .el-radio__label {
   color: #fff;
 }

--
Gitblit v1.9.3