guoshilong
2022-09-22 380f85be8a8570e75055c2810a0297355fa97fcd
src/views/taskinfo/taskinfoPlan.vue
@@ -39,7 +39,7 @@
            <!--divided 是一个划分线-->
            <el-dropdown-item icon="el-icon-edit" :size="size" :type="type"
                              :disabled="row.state >= 1"
                              @click.native="$refs.crud.rowEdit(row,index)">修 改</el-dropdown-item>
                              @click.native="$refs.crud.rowEdit(row,index)">编 辑</el-dropdown-item>
          </el-col>
          <el-col :span="12">
            <el-dropdown-item icon="el-icon-delete" :size="size" :type="type"
@@ -178,12 +178,10 @@
      },
      beforeOpen(done, type) {
        if (["edit", "view"].includes(type)) {
          getDetail(this.form.id).then(res => {
            this.form = res.data.data;
            console.log( this.form.routeRange,123456)
            // this.form.routeRange = '\'' + this.form.routeRange + '\''
          });
          // getDetail(this.form.id).then(res => {
          //   this.form = res.data.data;
          //   // this.form.routeRange = '\'' + this.form.routeRange + '\''
          // });
        } else {
          this.form.status = 2
        }
@@ -223,7 +221,6 @@
          this.data = data.records;
          this.loading = false;
          this.selectionClear();
          console.log(this.data)
        });
      },
      isChangeStatus(id,status) {
@@ -239,6 +236,7 @@
      goToTaskplanUser(planId) {
        // this.$router.push({ path: "/taskinfo/taskplanUser", query: {planId:planId} });
        this.$refs.taskplanUser.getUserList();
        this.$refs.taskplanUser.onLoad();
        this.setPlanUser()
      },
      setPlanUser() {