|
@@ -400,7 +400,17 @@ export default {
|
|
|
this.taskIds.status = e.value
|
|
|
return
|
|
|
} else {
|
|
|
- this.changeArea()
|
|
|
+ const user = {
|
|
|
+ name: localStorage.getItem('username'),
|
|
|
+ ename: localStorage.getItem('realname'),
|
|
|
+ id: ''
|
|
|
+ }
|
|
|
+ const taskInfoDO = this.form_query
|
|
|
+ taskInfoDO.status = e.value
|
|
|
+ const resTask = await taskUpdate({ taskInfoDO, user })
|
|
|
+ if (resTask.code === 200) {
|
|
|
+ this.$message({ message: '修改成功', type: 'success', offset: 150 })
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
childVal(val) {
|