Commit 7ceb7855 authored by 张海景's avatar 张海景

update:修改开始作业的提示

parent 667b44de
...@@ -1143,6 +1143,11 @@ export default { ...@@ -1143,6 +1143,11 @@ export default {
} else { } else {
this.$u.api.changeCheckMachineTool({ this.$u.api.changeCheckMachineTool({
taskWorkunitId: item.taskWorkunitId taskWorkunitId: item.taskWorkunitId
}).then(res => {
// console.log(res, '刀模板')
if (res.code === 500) {
this.$u.toast(res.msg)
}
}) })
this.changeStatus(item.taskId, item.taskWorkunitId,'BEGINNING',item.workunitId); this.changeStatus(item.taskId, item.taskWorkunitId,'BEGINNING',item.workunitId);
} }
...@@ -1529,7 +1534,7 @@ export default { ...@@ -1529,7 +1534,7 @@ export default {
}) })
.then((res) => { .then((res) => {
if (res.code === 200) { if (res.code === 200) {
this.$u.toast('变更成功'); // this.$u.toast('变更成功');
uni.$emit('taskStatusChanged'); //任务状态变更 uni.$emit('taskStatusChanged'); //任务状态变更
this.getTaskList(); this.getTaskList();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment