Commit c48ab48c by yiyu.li

手动

parent ba3821c1
...@@ -132,13 +132,13 @@ ...@@ -132,13 +132,13 @@
>取消</Button >取消</Button
> --> > -->
<!--只有状态是待执行的可以改成取消--> <!--只有状态是待执行的可以改成取消-->
<!-- <Button <Button
type="primary" type="primary"
class="twoWord" class="twoWord"
icon="ios-search" icon="ios-build"
@click="manual()" @click="manual()"
>手动</Button >手动</Button
> --> >
<!--当生产线的模式是手动是才可以进行手动任务执行--> <!--当生产线的模式是手动是才可以进行手动任务执行-->
<Button <Button
type="primary" type="primary"
...@@ -357,12 +357,13 @@ export default { ...@@ -357,12 +357,13 @@ export default {
}); });
}, },
manual() { manual() {
console.log(1111);
if (this.detailobj.actiontype != 1) { if (this.detailobj.actiontype != 1) {
this.$Message.error("该任务清单不能手动执行"); this.$Message.error("该任务清单不能手动执行");
return false; return false;
} }
let data = { let data = {
section: this.sectionid, id: this.detailobj.id,
}; };
this.request( this.request(
// "/acc/AutomationOperate/CompalateAssemble", // "/acc/AutomationOperate/CompalateAssemble",
......
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