| | |
| | | |
| | | |
| | | <script> |
| | | import {getList, getDetail, add, update, remove, changeStatus} from "@/api/taskinfo/taskinfoPlan"; |
| | | import {getList, add, update, remove, changeStatus} from "@/api/taskinfo/taskinfoPlan"; |
| | | import option from "@/const/taskinfo/taskinfoPlan"; |
| | | import {mapGetters} from "vuex"; |
| | | import TaskplanUser from "@/views/taskinfo/taskplanUser"; |
| | |
| | | }); |
| | | }, |
| | | beforeOpen(done, type) { |
| | | if (["edit", "view"].includes(type)) { |
| | | // getDetail(this.form.id).then(res => { |
| | | // this.form = res.data.data; |
| | | // // this.form.routeRange = '\'' + this.form.routeRange + '\'' |
| | | // }); |
| | | } else { |
| | | if (["add"].includes(type)) { |
| | | this.form.status = 2 |
| | | } |
| | | done(); |