From c73a2c380aca7ac4ef16e76388b1a52356df8634 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 30 八月 2024 19:01:04 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/propaganda/QuestionnaireTask.vue | 85 +++---------------------------------------
1 files changed, 7 insertions(+), 78 deletions(-)
diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue
index a66736f..fceefd2 100644
--- a/src/views/patient/propaganda/QuestionnaireTask.vue
+++ b/src/views/patient/propaganda/QuestionnaireTask.vue
@@ -14,7 +14,6 @@
title="浠诲姟涓讳綋"
description="鍦ㄦ湰閮ㄩ�夋嫨鏈嶅姟鎮h��"
></el-step>
- <el-step icon="el-icon-user" title="妯$増纭"></el-step>
</el-steps>
</div>
</div>
@@ -67,7 +66,7 @@
placeholder="璇疯緭鍏ヤ换鍔℃弿杩�"
/>
</el-form-item>
- <el-form-item label="鍙戦�佽缃細" v-if="currenttype != 2">
+ <el-form-item label="鍙戦�佽缃細">
<el-radio-group v-model="form.sendType">
<el-radio :label="1">鏃堕棿娈靛彂閫�</el-radio>
<el-radio :label="3">鏃堕棿鐐瑰彂閫�</el-radio>
@@ -462,86 +461,18 @@
v-show="showSearch"
label-width="98px"
>
- <el-form-item
- label="瀹f暀涓婚"
- v-if="currenttype == 1 || currenttype == 8"
- >
- <el-input v-model="topqueryParams.name"></el-input>
- </el-form-item>
- <el-form-item
- label="闂嵎鍚嶇О"
- v-if="currenttype == 2 || currenttype == 3 || currenttype == 7"
- >
+ <el-form-item label="闂嵎鍚嶇О">
<el-input
v-model="topqueryParams.name"
></el-input> </el-form-item
- ><el-form-item
- label="閫氱煡鍚嶇О"
- v-if="currenttype == 4 || currenttype == 5"
- >
- <el-input
- v-model="topqueryParams.name"
- ></el-input> </el-form-item
- ><el-form-item label="浣撴濂楅" v-if="currenttype == 5">
+ ><el-form-item label="閫氱煡鍚嶇О">
<el-input v-model="topqueryParams.name"></el-input>
</el-form-item>
- <el-form-item label="闂嵎涓婚" v-if="currenttype == 6">
- <el-input v-model="topqueryParams.name"></el-input>
- </el-form-item>
- <el-form-item label="閫傜敤鐤剧梾" v-if="currenttype != 5">
+ <el-form-item label="闂嵎涓婚">
<el-input v-model="topqueryParams.name"></el-input>
</el-form-item>
- <el-form-item
- label="瀹f暀绫诲瀷"
- prop="status"
- v-if="currenttype == 1 || currenttype == 8"
- >
- <el-select v-model="topqueryParams.topic" placeholder="璇烽�夋嫨">
- <el-option
- v-for="item in taskoptions"
- :key="item.value"
- :label="item.label"
- :value="item.value"
- >
- </el-option>
- </el-select>
- </el-form-item>
- <el-form-item
- label="閫氱煡绫诲瀷"
- prop="status"
- v-if="currenttype == 4 || currenttype == 5"
- >
- <el-select v-model="topqueryParams.topic" placeholder="璇烽�夋嫨">
- <el-option
- v-for="item in taskoptions"
- :key="item.value"
- :label="item.label"
- :value="item.value"
- >
- </el-option>
- </el-select>
- </el-form-item>
- <el-form-item
- label="闂嵎绫诲瀷"
- prop="status"
- v-if="currenttype == 2 || currenttype == 3 || currenttype == 7"
- >
- <el-select v-model="topqueryParams.topic" placeholder="璇烽�夋嫨">
- <el-option
- v-for="item in taskoptions"
- :key="item.value"
- :label="item.label"
- :value="item.value"
- >
- </el-option>
- </el-select>
- </el-form-item>
- <el-form-item
- label="闂嵎绫诲瀷"
- prop="status"
- v-if="currenttype == 6"
- >
+ <el-form-item label="闂嵎绫诲瀷" prop="status">
<el-select v-model="topqueryParams.topic" placeholder="璇烽�夋嫨">
<el-option
v-for="item in taskoptions"
@@ -930,7 +861,6 @@
this.$modal.msgError("璇烽�夋嫨鐥呬汉");
return;
}
- this.form.hospType = this.currenttype;
const filteredArray = this.variableList.filter(
(item) =>
item.name !== "濮撳悕" && item.name !== "鐢佃瘽" && item.name !== "鍦板潃"
@@ -1276,9 +1206,8 @@
this.Tasktemplate.id = null;
console.log(this.Tasktemplate);
- this.Tasktemplate.svyTemplateLibScripts.forEach((item) => {
- item.svyTaskTemplateTargetoptions =
- item.svyLibTemplateTargetoptions;
+ this.Tasktemplate.svyTemplateLibScripts.forEach((item) => {
+ item.svyTaskTemplateTargetoptions = item.svyLibTemplateTargetoptions;
});
this.Tasktemplate.svyTaskTemplateScriptVOS =
this.Tasktemplate.svyTemplateLibScripts;
--
Gitblit v1.9.3