This commit is contained in:
2024-04-23 16:44:13 +08:00
parent 4115f0394f
commit e1da96626d

View File

@ -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