From ae117f01461f05a0bf249e6f63b636f4222ec8d7 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 23 十二月 2024 17:17:44 +0800 Subject: [PATCH] 测试完成 --- src/views/patient/propaganda/QuestionnaireTask.vue | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue index 7734577..a6254b2 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, // @@ -1252,6 +1252,8 @@ value: "5", label: "寰俊鍏紬鍙�", }, + { label: "寰俊灏忕▼搴�", value: 6 }, + ]; } else if (this.form.serviceType == 6) { this.checkboxlist = [ @@ -1422,7 +1424,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 +1540,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 +1578,7 @@ this.patientqueryParams.cry = 1; } else if (this.patientqueryParams.allhosp == 4) { this.patientqueryParams.cry = 0; + this.patientqueryParams.allhosp = '1'; } // 鏉ユ簮鍒ゆ柇 @@ -1763,7 +1770,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