From 9dd3964e34f08bbb04a82f2e05f1b41de7425c48 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 20 六月 2025 15:30:16 +0800
Subject: [PATCH] 测试完成
---
src/views/followvisit/record/detailpage/index.vue | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index f47dccb..63107e0 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>
@@ -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");
@@ -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;
}
@@ -782,7 +785,7 @@
}
});
},
- Editsingletasksonyic(excep) {
+ Editsingletasksonyic(sendstate) {
let objson = {};
getTaskservelist({
patid: this.patid,
@@ -790,7 +793,8 @@
}).then((res) => {
if (res.code == 200) {
objson = res.rows[0].serviceSubtaskList[0];
- objson.excep = excep;
+ objson.remark = this.form.remark;
+ if (sendstate) objson.sendstate = sendstate;
Editsingletaskson(objson).then((res) => {
if (res.code) {
this.$modal.msgSuccess("鏈嶅姟淇敼鎴愬姛");
@@ -859,6 +863,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;
--
Gitblit v1.9.3