| | |
| | | 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; |
| | |
| | | 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; |