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