From 007d3884ad259883d7a5db6714876e46525ae717 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 26 十一月 2024 14:49:38 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/propaganda/QuestionnaireTask.vue | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue
index 7734577..b503205 100644
--- a/src/views/patient/propaganda/QuestionnaireTask.vue
+++ b/src/views/patient/propaganda/QuestionnaireTask.vue
@@ -460,7 +460,7 @@
</el-form-item>
<el-select
v-model="patientqueryParams.searchscope"
- placeholder="璇烽�夋嫨鎮h�呮潵婧�"
+ placeholder="璇烽�夋嫨鎮h�呰寖鍥�"
>
<el-option
v-for="item in source"
@@ -997,7 +997,7 @@
patientqueryParams: {
pageNum: 1, //
pageSize: 10,
- topica: 0, //0鍏ㄩ儴1绉戝2鐥呭尯
+ topica: 1, //0鍏ㄩ儴1绉戝2鐥呭尯
},
topicoptions: [{ children: [{ children: [] }] }],
showSearch: true, //
@@ -1422,7 +1422,11 @@
getTaskQuestioncomit(this.form.templateid).then((res) => {
if (res.code == 200) {
this.objyl = res.data;
+ if (this.objyl.taskid == data.taskId) {
this.objyl.isoperation = 2;
+ }else{
+ this.objyl.isoperation = 1;
+ }
this.objyl.taskid = data.taskId;
TaskQuestioncomit(this.objyl).then((response) => {
this.previewtf = false;
@@ -1534,7 +1538,7 @@
this.overallCase.forEach((item) => {
this.allpids.push(item.patid);
});
- if (this.patientqueryParams.allhosp == 1) {
+ if (this.patientqueryParams.allhosp == 1||(this.patientqueryParams.allhosp == 1&&this.patientqueryParams.cry == 1)) {
this.tableLabelhz = [
// { label: "鍏ラ櫌鏃ユ湡", width: "170", prop: "starttime" },
{ label: "鍑洪櫌鏃ユ湡", width: "150", prop: "endtime" },
@@ -1572,6 +1576,7 @@
this.patientqueryParams.cry = 1;
} else if (this.patientqueryParams.allhosp == 4) {
this.patientqueryParams.cry = 0;
+ this.patientqueryParams.allhosp = '1';
}
// 鏉ユ簮鍒ゆ柇
@@ -1763,7 +1768,7 @@
neWaddfn(){
this.id=null;
this.form.taskName='';
- this.form.taskName='';
+ this.form.taskid = null;
this.overallCase=[];
this.form.patTaskRelevances=[];
this.daytime=[]; //鏃ユ湡
--
Gitblit v1.9.3