|
@ -343,11 +343,13 @@ export default {
|
343
|
343
|
console.log(id, status, dict[status])
|
344
|
344
|
|
345
|
345
|
var res = await aialarmapi.dispose({ 'workTaskId': id, 'status': status, 'processMemo': dict.status })
|
346
|
|
console.log(res)
|
|
346
|
|
347
|
347
|
if (res.status === 200) {
|
348
|
348
|
this.$Message.success('操作成功')
|
349
|
349
|
this.data[this.currentdata.index].status = res.data.data.status
|
350
|
|
// this.data[this.currentdata.index].processTime = res.data.data.doneDate
|
|
350
|
if (res.data.data.status == 'END') {
|
|
351
|
this.data[this.currentdata.index].processTime = res.data.data.doneDate
|
|
352
|
}
|
351
|
353
|
} else {
|
352
|
354
|
this.$Message.danger('处理失败')
|
353
|
355
|
}
|