| | |
| | | }); |
| | | }, |
| | | 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(); |
| | |
| | | }, |
| | | goToTaskplanUser(planId) { |
| | | // this.$router.push({ path: "/taskinfo/taskplanUser", query: {planId:planId} }); |
| | | this.$refs.taskplanUser.getUserList(); |
| | | this.$refs.taskplanUser.onLoad(); |
| | | var page = { |
| | | currentPage:1, |
| | | pageSize:this.page.pageSize |
| | | } |
| | | this.$refs.taskplanUser.onLoad(page,{planId:planId}); |
| | | this.setPlanUser() |
| | | }, |
| | | setPlanUser() { |