From 5c35457d2cc1fd0dcf8de9f3de838d58e8296cb8 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 09 九月 2024 18:26:33 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/propaganda/QuestionnaireTask.vue | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue
index 7259f01..a08b14c 100644
--- a/src/views/patient/propaganda/QuestionnaireTask.vue
+++ b/src/views/patient/propaganda/QuestionnaireTask.vue
@@ -562,6 +562,7 @@
getlibrarylist,
getFollowuplist,
getQtemplatelist,
+ getQtemplateobj,
TaskQuestioncomit,
Questionnairetaskget,
gethetaskinfo,
@@ -1028,9 +1029,13 @@
this.libId = row.svyid;
this.Tasktemplate = row;
this.questionList = row.svyTemplateLibScripts;
+ getQtemplateobj({ svyid: row.svyid }).then((res) => {
+ if (res.code==200) {
+ this.questionList = res.rows[0].svyTemplateLibScripts;
+ this.previewtf = true;
+ }
+ });
console.log(row.svyTemplateLibScripts);
-
- this.previewtf = true;
this.previewid = row.svyid;
this.Variablehandling(row.svyTemplateLibScripts, 1);
} else if (type == 2) {
@@ -1041,9 +1046,8 @@
previewfnmb() {
console.log(this.form);
- getQtemplatelist({ svyid: this.form.libtemplateid }).then((res) => {
+ getQtemplateobj({ svyid: this.form.libtemplateid }).then((res) => {
if (res.code == 200) {
- console.log();
this.questionList = res.rows[0].svyTemplateLibScripts;
this.previewtf = true;
}
--
Gitblit v1.9.3