From 4222e5f316b022fa01f566416f5d501c116f4d98 Mon Sep 17 00:00:00 2001
From: xiebin <123456>
Date: Wed, 21 Sep 2022 16:52:52 +0800
Subject: [PATCH] 任务计划新增设置巡检人员模块
---
src/views/taskinfo/taskinfoPlan.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/views/taskinfo/taskinfoPlan.vue b/src/views/taskinfo/taskinfoPlan.vue
index 27e7d70..279b585 100644
--- a/src/views/taskinfo/taskinfoPlan.vue
+++ b/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} });
}
}
};
--
Gitblit v1.9.3