guoshilong
2022-09-23 3909a52d26dca085a6ead5d0fbaca0ce512e27f7
src/views/taskinfo/taskinfoPlan.vue
@@ -177,12 +177,7 @@
          });
      },
      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();
@@ -235,8 +230,11 @@
      },
      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() {