From 3573a134c7c7d4d99f605420f9afb2f80e9b8967 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期六, 22 十一月 2025 14:59:46 +0800
Subject: [PATCH] 宣教更新
---
src/views/patient/propaganda/QuestionnaireTask.vue | 50 +++++++++++++++-----------------------------------
1 files changed, 15 insertions(+), 35 deletions(-)
diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue
index d558652..5074600 100644
--- a/src/views/patient/propaganda/QuestionnaireTask.vue
+++ b/src/views/patient/propaganda/QuestionnaireTask.vue
@@ -260,29 +260,6 @@
></el-col>
</el-row>
<el-row v-if="form.appltype == 3">
- <!-- <el-col :span="20"
- ><el-form-item label="閫傜敤鐤剧梾" prop="region">
- <el-select
- v-model="illnesscodes"
- style="width: 400px"
- @remove-tag="removediagg"
- size="medium"
- :remote-method="remotedonor"
- multiple
- filterable
- remote
- placeholder="璇烽�夋嫨鐥呭尯"
- >
- <el-option
- class="ruleFormaa"
- v-for="item in donorchargeList"
- :key="item.icdcode"
- :label="item.icdname"
- :value="item.icdcode"
- >
- </el-option>
- </el-select> </el-form-item
- ></el-col> -->
<div class="xinz-infs">
<el-form-item>
<template #label>
@@ -917,6 +894,7 @@
Externallist,
getQtemplatelist,
getQtemplateobj,
+ taskgetQtemplateobj,
TaskQuestioncomit,
deleteTaskQuestioncomit,
Questionnairetaskgetson,
@@ -1473,12 +1451,10 @@
this.form.preachformList = this.selectedOrder;
} else {
this.$modal.msgError("璇烽�夋嫨鏈嶅姟绫诲瀷");
- this.submitLoading = false;
+ this.submitLoading = false;
return;
}
- console.log(this.operationcodes[0]);
- console.log(this.operationcodes);
if (
this.deptcodesWards[0] ||
@@ -1490,7 +1466,7 @@
) {
} else {
this.$modal.msgError("璇烽�夋嫨浠诲姟鍏宠仈鏉′欢");
- this.submitLoading = false;
+ this.submitLoading = false;
return;
}
//鏆傚仠浠诲姟鎮h�呴檺鍒�
@@ -1501,7 +1477,7 @@
if (!this.form.templatename && !this.templateor) {
this.$modal.msgError("鏈�夋嫨妯℃澘");
- this.submitLoading = false;
+ this.submitLoading = false;
return;
}
@@ -1515,7 +1491,7 @@
this.form.longTask
) {
} else {
- this.submitLoading = false;
+ this.submitLoading = false;
return this.$modal.msgError("鏃堕棿淇℃伅缂哄け");
}
const filteredArray = this.variableList.filter(
@@ -1594,6 +1570,8 @@
},
// 棰勮
previewfnmb() {
+ // taskgetQtemplateobj({ id: this.form.templateid });
+
getTaskQuestioncomit(this.form.templateid).then((res) => {
if (res.code == 200) {
console.log(res, "棰勮鏁版嵁");
@@ -1604,15 +1582,17 @@
this.getillness(this.form.libtemplateid);
this.previewtf = true;
- getQtemplateobj({ svyid: this.form.libtemplateid }).then((res) => {
+ taskgetQtemplateobj({ id: this.form.templateid }).then((res) => {
if (res.code == 200) {
- this.questionList = res.rows[0].svyTemplateLibScripts;
+ this.questionList = res.data.svyTaskTemplateScriptVOS;
this.questionList.forEach((item) => {
item.qremark = [];
+ item.svyLibTemplateTargetoptions =
+ item.svyTaskTemplateTargetoptions;
});
this.previewtftype = 1;
this.objyl.svyTemplateLibScripts =
- res.rows[0].svyTemplateLibScripts;
+ res.data.svyTaskTemplateScriptVOS;
}
});
}
@@ -2135,8 +2115,8 @@
},
// 鐤剧梾鍒犻櫎瑙﹀彂
removediagg(row) {
- console.log(row,'row');
-console.log(this.diagglist,'this.diagglist');
+ console.log(row, "row");
+ console.log(this.diagglist, "this.diagglist");
let result = this.diagglist
.filter((item) => item.icd10code == row)
@@ -2270,7 +2250,7 @@
TaskQuestioncomit(this.objyl).then((response) => {
this.previewtf = false;
this.form.libtemplateid = this.objyl.svyid;
- this.form.libtemplatename = this.objyl.svyname;
+ this.form.libtemplatename = this.objyl.svyname;
this.form.templateid = response.data;
this.form.templatename = this.objyl.svyname;
this.$modal.msgSuccess("閫夋嫨妯℃澘鎴愬姛");
--
Gitblit v1.9.3