This commit is contained in:
shidongli 2024-05-28 15:15:09 +08:00
parent feee832628
commit 1a586451a1

View File

@ -457,8 +457,8 @@ export default {
getById(this.lists[0].list[0].id).then(res => {
this.form = res.data
if (this.form.taskType) {
this.changeTaskType(this.form.taskType, this.form.taskSubdivision)
}
this.changeTaskType(this.form.taskType, this.form.taskSubdivision)
}
})
this.$refs.wangeditor.disable();
})
@ -551,12 +551,14 @@ export default {
},
bottomclickevent(uitem, index, uindex, item) {
console.log(uitem, item)
getById(uitem.id).then(res => {
this.form = res.data
if (this.form.taskType) {
this.changeTaskType(this.form.taskType, this.form.taskSubdivision)
if (uitem.id) {
getById(uitem.id).then(res => {
this.form = res.data
if (this.form.taskType) {
this.changeTaskType(this.form.taskType, this.form.taskSubdivision)
}
})
}
})
this.$refs.wangeditor.emit()
// this.form = uitem