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