|
@@ -30,7 +30,7 @@
|
|
|
<el-dropdown-item
|
|
|
v-for="item in allStatus"
|
|
|
:key="item.msg"
|
|
|
- :command="{value:item.code,label:item.msg}"
|
|
|
+ :command="{status:item.code,label:item.msg}"
|
|
|
:disabled="form_query.status === item.code? true: false"
|
|
|
>{{ item.msg }}</el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
@@ -505,10 +505,10 @@ export default {
|
|
|
if (e.status === 70 || e.status === 90 || e.status === 100) {
|
|
|
this.taskIds = this.form_query
|
|
|
this.allStatus.map(item => {
|
|
|
- item.code === e.value ? this.taskIds.statusString = e.label : ''
|
|
|
+ item.code === e.status ? this.taskIds.statusString = e.label : ''
|
|
|
})
|
|
|
this.showTaskDialog = true
|
|
|
- this.taskIds.status = e.value
|
|
|
+ this.taskIds.status = e.status
|
|
|
return
|
|
|
} else {
|
|
|
const user = {
|
|
@@ -517,7 +517,7 @@ export default {
|
|
|
id: ''
|
|
|
}
|
|
|
const taskInfoDO = this.form_query
|
|
|
- taskInfoDO.status = e.value
|
|
|
+ taskInfoDO.status = e.status
|
|
|
const resTask = await taskUpdate({ taskInfoDO, user })
|
|
|
if (resTask.code === 200) {
|
|
|
this.$message({ message: '修改成功', type: 'success', offset: 150 })
|