From 6071c30d6dd76d75b973676f823b4f2ee036810b Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期四, 04 六月 2026 10:17:52 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/propaganda/QuestionnaireTask.vue | 29 +++++++++++++++--------------
1 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue
index 2613017..2f19c12 100644
--- a/src/views/patient/propaganda/QuestionnaireTask.vue
+++ b/src/views/patient/propaganda/QuestionnaireTask.vue
@@ -428,10 +428,6 @@
placeholder="璇风偣鍑诲彸渚ч�夋嫨"
/>
<el-button
- v-if="
- (form.templateid && form.sendState == 1) ||
- !form.templateid
- "
style="margin-left: 10px"
type="primary"
icon="el-icon-edit"
@@ -2374,19 +2370,24 @@
this.objyl.isoperation = 1;
this.objyl.taskid = this.form.taskid;
-
+ this.objyl.svyTemplateLibScripts.forEach((item) => {
+ item.qremark = [];
+ item.svyTaskTemplateTargetoptions = item.svyLibTemplateTargetoptions;
+ });
+ this.objyl.svyTaskTemplateScriptVOS = this.objyl.svyTemplateLibScripts;
if (this.objyl.id) {
deleteTaskQuestioncomit(this.objyl.id).then((res) => {
if (res.code == 200) {
- (this.objyl.id = null),
- TaskQuestioncomit(this.objyl).then((response) => {
- this.previewtf = false;
- this.form.libtemplateid = this.objyl.svyid;
- this.form.libtemplatename = this.objyl.svyname;
- this.form.templateid = response.data;
- this.form.templatename = this.objyl.svyname;
- this.$modal.msgSuccess("閫夋嫨妯℃澘鎴愬姛");
- });
+ this.objyl.id = null;
+
+ TaskQuestioncomit(this.objyl).then((response) => {
+ this.previewtf = false;
+ this.form.libtemplateid = this.objyl.svyid;
+ this.form.libtemplatename = this.objyl.svyname;
+ this.form.templateid = response.data;
+ this.form.templatename = this.objyl.svyname;
+ this.$modal.msgSuccess("閫夋嫨妯℃澘鎴愬姛");
+ });
}
});
} else {
--
Gitblit v1.9.3