xiebin
2022-09-21 4222e5f316b022fa01f566416f5d501c116f4d98
src/views/taskinfo/taskinfoPlan.vue
@@ -28,7 +28,7 @@
        </el-button>
      </template>
      <template slot-scope="scope" slot="menu">
        <el-button style="margin-left:10px;" size="small" type="text" icon="el-icon-user" >设置巡检人</el-button>
        <el-button style="margin-left:10px;" size="small" type="text" icon="el-icon-user" @click="goToTaskplanUser(scope.row.id)">设置巡检人</el-button>
      </template>
      <template slot-scope="{type,size,row,index}" slot="menuBtn">
        <el-row style="width: 150px">
@@ -221,6 +221,9 @@
          });
          this.$refs.crud.toggleSelection();
        })
      },
      goToTaskplanUser(planId) {
        this.$router.push({ path: "/taskinfo/taskplanUser", query: {planId:planId} });
      }
    }
  };