|
|
|
@ -178,7 +178,7 @@ |
|
|
|
</style> |
|
|
|
</style> |
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import { listTaskInfo, getTaskInfo, delTaskInfo, addTaskInfo, updateTaskInfo } from "@/api/wcs/taskInfo"; |
|
|
|
import { listTaskInfo, handleSuccess, delTaskInfo, handleCancel } from "@/api/wcs/taskInfo"; |
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
name: "TaskInfo", |
|
|
|
name: "TaskInfo", |
|
|
|
@ -313,7 +313,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
handleSuccess(row) { |
|
|
|
handleSuccess(row) { |
|
|
|
const ids = row.id || this.ids; |
|
|
|
let ids = row.id |
|
|
|
this.$modal.confirm('是否确认完成任务编号为"' + ids + '"的数据项?').then(function() { |
|
|
|
this.$modal.confirm('是否确认完成任务编号为"' + ids + '"的数据项?').then(function() { |
|
|
|
return handleSuccess(ids); |
|
|
|
return handleSuccess(ids); |
|
|
|
}).then(() => { |
|
|
|
}).then(() => { |
|
|
|
|