chore(management): 新增管理后台权限菜单配置
| | |
| | | public class PermissionData { |
| | | |
| | | public static final LinkedHashMap<String, LinkedHashMap<String, List<Permission>>> Data = mapN( |
| | | "智慧大屏设置", mapN( |
| | | "大屏帐号设置", List.of( |
| | | Permission.of("accountSetting", Permission.OP_ADD, "新增_帐号"), |
| | | Permission.of("accountSetting", Permission.OP_EDIT, "编辑_帐号"), |
| | | Permission.of("accountSetting", Permission.OP_DELETE, "删除_帐号"), |
| | | Permission.of("accountSetting", "reset", "重置密码_账号"), |
| | | Permission.of("accountSetting", "status", "禁用启用_账号") |
| | | ), |
| | | "事故分类设置", List.of( |
| | | Permission.of("accidentTypeSetting", Permission.OP_ADD, "新增_分类"), |
| | | Permission.of("accidentTypeSetting", Permission.OP_EDIT, "编辑_分类"), |
| | | Permission.of("accidentTypeSetting", Permission.OP_DELETE, "删除_分类") |
| | | ), |
| | | "事故简讯", List.of( |
| | | Permission.of("accidentMessageSetting", Permission.OP_ADD, "新增_简讯"), |
| | | Permission.of("accidentMessageSetting", Permission.OP_EDIT, "编辑_简讯"), |
| | | Permission.of("accidentMessageSetting", "status", "禁用启用_简讯号"), |
| | | Permission.of("accidentMessageSetting", Permission.OP_DELETE, "删除_简讯") |
| | | ) |
| | | ), |
| | | "人事管理", mapN( |
| | | "用户管理", List.of( |
| | | Permission.of("user", Permission.OP_LIST, "查看_用户"), |
| | |
| | | Permission.of("client", Permission.OP_LIST, "查看_委托方"), |
| | | Permission.of("client", Permission.OP_ADD, "添加_委托方"), |
| | | Permission.of("client", Permission.OP_EDIT, "编辑_委托方"), |
| | | Permission.of("client", Permission.OP_DELETE, "删除_委托方") |
| | | Permission.of("client", Permission.OP_DELETE, "删除_委托方"), |
| | | Permission.of("client", "setting", "参数设置_委托方") |
| | | ), |
| | | "合同管理", List.of( |
| | | Permission.of("contract", Permission.OP_LIST, "查看_合同"), |
| | |
| | | Permission.of("project", Permission.OP_LIST, "查看_项目"), |
| | | Permission.of("project", Permission.OP_ADD, "添加_项目"), |
| | | Permission.of("project", Permission.OP_EDIT, "编辑_项目"), |
| | | Permission.of("project", Permission.OP_DELETE, "删除_项目") |
| | | Permission.of("project", Permission.OP_DELETE, "删除_项目"), |
| | | Permission.of("project", "auth", "权限设置_项目"), |
| | | Permission.of("project", "status", "修改状态_项目") |
| | | ), |
| | | "项目信息", List.of( |
| | | Permission.of("projectInfo", Permission.OP_LIST, "查看_项目信息"), |
| | |
| | | Permission.of("measureModel", Permission.OP_ADD, "添加_模型"), |
| | | Permission.of("measureModel", Permission.OP_EDIT, "编辑_模型"), |
| | | Permission.of("measureModel", Permission.OP_DELETE, "删除_模型") |
| | | ), |
| | | "岗位设置", List.of( |
| | | Permission.of("position", Permission.OP_ADD, "新增_岗位"), |
| | | Permission.of("position", Permission.OP_EDIT, "编辑_岗位"), |
| | | Permission.of("position", Permission.OP_DELETE, "删除_岗位") |
| | | ) |
| | | ), |
| | | "生产计划", mapN( |
| | |
| | | Permission.of("deviceRecord", Permission.OP_ADD, "添加_设备问题"), |
| | | Permission.of("deviceRecord", Permission.OP_EDIT, "编辑_设备问题"), |
| | | Permission.of("deviceRecord", Permission.OP_DELETE, "删除_设备问题") |
| | | ), |
| | | "在岗情况", List.of( |
| | | Permission.of("duty", Permission.OP_LIST, "详情_在岗") |
| | | ), |
| | | "检查情况", List.of( |
| | | Permission.of("check", Permission.OP_LIST, "详情_检查") |
| | | ) |
| | | ), |
| | | "报告管理", mapN( |