| | |
| | | |
| | | <script> |
| | | import VolBox from "@/components/basic/VolBox.vue"; |
| | | |
| | | export default { |
| | | components: { VolBox }, |
| | | data() { |
| | |
| | | if (!x.status) return this.$message.error(x.message); |
| | | this.$message.success("鎿嶄綔鎴愬姛"); |
| | | this.getSteps(); |
| | | this.getDetailDatas(); |
| | | }); |
| | | }, |
| | | recovery(){ |
| | |
| | | if (!x.status) return this.$message.error(x.message); |
| | | this.$message.success("鎿嶄綔鎴愬姛"); |
| | | this.getSteps(); |
| | | this.getDetailDatas(); |
| | | }); |
| | | }, |
| | | next() { |
| | | this.http |
| | | .post( |
| | | "/api/Task/UpdateTaskStatusToNext?taskNum=" + this.row.taskNum, |
| | | "/api/Task/NextStepeXecuted?taskNum=" + this.row.taskNum, |
| | | {}, |
| | | true |
| | | ) |
| | |
| | | if (!x.status) return this.$message.error(x.message); |
| | | this.$message.success("鎿嶄綔鎴愬姛"); |
| | | this.getSteps(); |
| | | this.getDetailDatas(); |
| | | }); |
| | | }, |
| | | switchView() { |
| | |
| | | this.height = "200px"; |
| | | } |
| | | }, |
| | | getPageData(){ |
| | | this.http |
| | | .post( |
| | | "/api/Task/getPageData", |
| | | {}, |
| | | true |
| | | ) |
| | | .then((x) => { |
| | | console.log('杩涜鍒锋柊') |
| | | }); |
| | | }, |
| | | tableRowClassName({ row, rowIndex }) { |
| | | if (!row.isNormal) { |
| | | return "error-row"; |