|
@@ -327,8 +327,8 @@ export default {
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
const { role = [] } = this.$store.getters.userInfo || {}
|
|
const { role = [] } = this.$store.getters.userInfo || {}
|
|
|
- const roleList = ['xtgljs', 'xxglxzfzr', 'wjglzzc', 'syszr']
|
|
|
|
|
- // 系统管理角色、信息管理负责人、检验科主任添加删除按钮
|
|
|
|
|
|
|
+ const roleList = ['xtgljs', 'xxglxzfzr', 'wjglzzc', 'syszr','zhsfzr','sbglxzfzr','wjgly']
|
|
|
|
|
+ // 系统管理角色、信息管理负责人、文件管理组组长、检验科主任、专业组组长、设备管理组组长、文件管理员添加删除按钮
|
|
|
const hasRole = role.some(item => roleList.includes(item.alias))
|
|
const hasRole = role.some(item => roleList.includes(item.alias))
|
|
|
this.listConfig.toolbars.push({
|
|
this.listConfig.toolbars.push({
|
|
|
key: 'detail',
|
|
key: 'detail',
|