Commit 445bc2a3 by xin.yang
parents 2724e1c3 5de1f5cb
...@@ -357,18 +357,21 @@ export default { ...@@ -357,18 +357,21 @@ 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;
// }
if (!this.detailobj.id) {
this.$Message.error(this.$t(1043));
return false; return false;
} }
let data = { let data = {
id: this.detailobj.id, id: this.detailobj.id,
}; };
this.request( this.request(
// "/acc/AutomationOperate/CompalateAssemble", "/acc/AutomationOperate/Send",
data, data,
"post" "get"
).then((res) => { ).then((res) => {
if (res.data.ret == 1) { if (res.data.ret == 1) {
this.$Message.success(this.$t(res.data.msg)); this.$Message.success(this.$t(res.data.msg));
......
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