From d03829bdf327d0e457a2f4e3699a69d5ad47d3a3 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 03 九月 2024 10:41:34 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/propaganda/QuestionnaireTask.vue | 93 +++++-----------------------------------------
1 files changed, 10 insertions(+), 83 deletions(-)
diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue
index a66736f..3297f8f 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>
@@ -426,7 +425,7 @@
class="scriptTopic-dev"
v-for="item in questionList"
:key="item.sort"
- v-if="item.scriptType == 3"
+ v-if="item.scriptType == 4"
>
<div class="dev-text">
{{ item.sort }}銆乕濉┖]<span>{{ item.scriptContent }}</span>
@@ -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"
@@ -658,7 +589,7 @@
questionList: [],
// 鎮h�呰〃鍗�
tableLabelhz: [
- { label: "搴忓彿", width: "", prop: "patid" },
+ // { label: "搴忓彿", width: "", prop: "patid" },
{ label: "鎮h�呭悕绉�", width: "", prop: "name" },
{ label: "鎬у埆", width: "", prop: "sex" },
{ label: "骞撮緞", width: "", prop: "age" },
@@ -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 !== "鍦板潃"
@@ -954,7 +884,7 @@
}
this.$router.push({
path: "/followvisit/tasklist",
- query: { tasktopic: 6 },
+ query: { tasktopic: this.form.serviceType },
});
}
});
@@ -1013,7 +943,6 @@
});
if (this.patientqueryParams.allhosp == 1) {
this.tableLabelhz = [
- { label: "搴忓彿", width: "", prop: "patid" },
{ label: "鎮h�呭悕绉�", width: "", prop: "name" },
{ label: "鎬у埆", width: "", prop: "sex" },
{ label: "骞撮緞", width: "", prop: "age" },
@@ -1024,7 +953,6 @@
];
} else if (this.patientqueryParams.allhosp == 2) {
this.tableLabelhz = [
- { label: "搴忓彿", width: "", prop: "patid" },
{ label: "鎮h�呭悕绉�", width: "", prop: "name" },
{ label: "鎬у埆", width: "", prop: "sex" },
{ label: "骞撮緞", width: "", prop: "age" },
@@ -1276,9 +1204,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