duyongjia
2024-11-29 c362218b8ef0af6402d3715fbed040ac1cbe0433
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Client/src/extension/taskinfo/task.js
@@ -26,7 +26,7 @@
                    console.log("rows"+rows);
                    if (rows.length == 0 || rows.length > 1) return this.$error("请选择一行数据");
                    this.http
                        .post("/api/Task/ForceCompleteTask?taskNum=" + rows[0].TaskNum, {}, true)
                        .post("/api/Task/ForceCompleteTask?taskNum=" + rows[0].taskNum, {}, true)
                        .then((x) => {
                            if (!x.status) return this.$message.error(x.message);
                            this.options = x.data;
@@ -42,7 +42,7 @@
                    console.log("rows"+rows);
                    if (rows.length == 0 || rows.length > 1) return this.$error("请选择一行数据");
                    this.http
                        .post("/api/Task/CancelTask?taskNum=" + rows[0].TaskNum, {}, true)
                        .post("/api/Task/CancelTask?taskNum=" + rows[0].taskNum, {}, true)
                        .then((x) => {
                            if (!x.status) return this.$message.error(x.message);
                            this.options = x.data;