From 055c1f8a3ff936b777e625dcb782edf2ccfb0f59 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期五, 03 四月 2026 09:55:25 +0800
Subject: [PATCH] 测试完成
---
src/views/followvisit/record/detailpage/index.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index da3b538..a58c449 100644
--- a/src/views/followvisit/record/detailpage/index.vue
+++ b/src/views/followvisit/record/detailpage/index.vue
@@ -1760,11 +1760,13 @@
if (res.code == 200) {
this.tableDatatop = res.data.ivrTaskTemplateScriptVOList;
this.tableDatatop.forEach((item) => {
+ item.scriptID = item.id;
item.id = null;
// 绫诲瀷鍒ゆ柇璧嬪��
if (item.ivrTaskScriptTargetoptionList) {
item.targetvalue = 1;
item.questiontext = item.scriptContent;
+
item.targetvalue = item.ivrTaskScriptTargetoptionList
.map((obj) => obj.targetvalue)
.join("&");
@@ -1815,8 +1817,10 @@
};
if (item.scriptType == 2 && item.scriptResult[0]) {
obj.asrtext = item.scriptResult.join("&");
+ obj.ivrtext = item.scriptResult.join("&");
} else if (item.scriptType != 2 && item.scriptResult) {
obj.asrtext = item.scriptResult;
+ obj.ivrtext = item.scriptResult;
}
// if (item.isoption == 3) {
@@ -2044,8 +2048,6 @@
},
yuyingetdetail() {
const dataToSubmit = JSON.parse(JSON.stringify(this.tableDatatop));
- console.log(dataToSubmit, "dataToSubmit");
- // return;
dataToSubmit.forEach((item, index) => {
// 瀵规嫹璐濈殑鏁版嵁杩涜鎿嶄綔锛屼笉褰卞搷鍘熷鐨� scriptResult 鏁扮粍
item.scriptResult = item.scriptResult.join("&");
@@ -2053,6 +2055,7 @@
item.subId = this.id;
item.taskid = this.taskid;
item.asrtext = item.matchedtext;
+ item.ivrtext = item.matchedtext;
if (!item.id) {
item.isoperation = 1;
}
@@ -2135,7 +2138,6 @@
this.form = res.rows[0].serviceSubtaskList.find(
(item) => item.id == this.id
);
- console.log(this.form, "serviceType");
this.logsheetlist = res.rows[0].serviceSubtaskList;
this.templateid = this.form.templateid;
--
Gitblit v1.9.3