修改
This commit is contained in:
parent
4115f0394f
commit
e1da96626d
@ -328,7 +328,6 @@ export default {
|
|||||||
this.updata = this.lookitem
|
this.updata = this.lookitem
|
||||||
this.updata.specialDiseaseRouteId = this.lookitem.id
|
this.updata.specialDiseaseRouteId = this.lookitem.id
|
||||||
this.taskinfo();
|
this.taskinfo();
|
||||||
this.info();
|
|
||||||
},
|
},
|
||||||
beforeDestroy() { },
|
beforeDestroy() { },
|
||||||
watch: {
|
watch: {
|
||||||
@ -336,7 +335,6 @@ export default {
|
|||||||
this.updata = newValue;
|
this.updata = newValue;
|
||||||
this.updata.specialDiseaseRouteId = newValue.id
|
this.updata.specialDiseaseRouteId = newValue.id
|
||||||
this.taskinfo();
|
this.taskinfo();
|
||||||
this.info();
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@ -442,9 +440,7 @@ export default {
|
|||||||
taskinfo() {
|
taskinfo() {
|
||||||
selectTaskTypeList().then(res => {
|
selectTaskTypeList().then(res => {
|
||||||
this.selectTaskTypeList = res.data
|
this.selectTaskTypeList = res.data
|
||||||
})
|
this.info();
|
||||||
taskStatusDictList().then(res => {
|
|
||||||
this.taskStatusDictList = res.data
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//任务细分
|
//任务细分
|
||||||
@ -462,8 +458,13 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
//点击任务细分
|
||||||
changetaskSubdivision(code, type) {
|
changetaskSubdivision(code, type) {
|
||||||
this.form.taskSubdivisionName = this.taskPartitionList?.find(e => e.taskPartitionCode == code)?.taskPartitionName
|
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 => {
|
this.taskPartitionList.forEach(el => {
|
||||||
if (code == el.taskPartitionCode) {
|
if (code == el.taskPartitionCode) {
|
||||||
this.form.executionTime = el.executionTime
|
this.form.executionTime = el.executionTime
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user