From e1da96626d07571a9b15b87b11340cb93c8031f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Tue, 23 Apr 2024 16:44:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manage/components/specialDiseaseNodeopen.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/manage/components/specialDiseaseNodeopen.vue b/src/views/manage/components/specialDiseaseNodeopen.vue index 328bc97..88cb9a9 100644 --- a/src/views/manage/components/specialDiseaseNodeopen.vue +++ b/src/views/manage/components/specialDiseaseNodeopen.vue @@ -328,7 +328,6 @@ export default { this.updata = this.lookitem this.updata.specialDiseaseRouteId = this.lookitem.id this.taskinfo(); - this.info(); }, beforeDestroy() { }, watch: { @@ -336,7 +335,6 @@ export default { this.updata = newValue; this.updata.specialDiseaseRouteId = newValue.id this.taskinfo(); - this.info(); } }, mounted() { @@ -442,9 +440,7 @@ export default { taskinfo() { selectTaskTypeList().then(res => { this.selectTaskTypeList = res.data - }) - taskStatusDictList().then(res => { - this.taskStatusDictList = res.data + this.info(); }) }, //任务细分 @@ -462,8 +458,13 @@ export default { } }) }, + //点击任务细分 changetaskSubdivision(code, type) { this.form.taskSubdivisionName = this.taskPartitionList?.find(e => e.taskPartitionCode == code)?.taskPartitionName + let id = this.taskPartitionList?.find(e => e.taskPartitionCode == code)?.id + taskStatusDictList(id).then(res => { + this.taskStatusDictList = res.data + }) this.taskPartitionList.forEach(el => { if (code == el.taskPartitionCode) { this.form.executionTime = el.executionTime