|
@@ -400,4 +400,56 @@ export const productPricePermission = {
|
|
|
}
|
|
|
/*
|
|
|
* --------------------------------------------------------------------------系统设置------------------------------------------------
|
|
|
-*/
|
|
|
+*/
|
|
|
+export const sysDepartPermission = {
|
|
|
+ /*-----------部门管理-------- */
|
|
|
+ sysDepart_saveUser:'sysDepart:saveUser',//添加/编辑用户按钮
|
|
|
+ sysDepart_resetPass:'sysDepart:resetPass',//重置密码
|
|
|
+ sysDepart_moveGroup:'sysDepart:moveGroup',//移动分组
|
|
|
+ sysDepart_enable:'sysDepart:enable',//启用禁用
|
|
|
+ sysDepart_del:'sysDepart:del',//用户删除
|
|
|
+ sysDepart_saveUser_researchGroup:'sysDepart:saveUser:researchGroup',//添加/编辑用户表单中,研究方向的按钮
|
|
|
+ /*-----------角色管理-------- */
|
|
|
+ sysRole_del:'sysRole:del',//删除角色
|
|
|
+ sysRole_settingAuth:'sysRole:settingAuth',//设置/查看权限
|
|
|
+ sysRole_addRole:'sysRole:addRole',//添加角色
|
|
|
+ /*-----------英文权限配置-------- */
|
|
|
+ enAuthManage_del:'enAuthManage:del',
|
|
|
+ enAuthManage_settingAuth:'enAuthManage:settingAuth'
|
|
|
+}
|
|
|
+/*-----------数据操作权限-------- */
|
|
|
+export const operateAuthPermission = {
|
|
|
+ /*---------图库-------- */
|
|
|
+ operateAuth_chartLib:'operateAuth:chartLib',//图库tab
|
|
|
+ operateAuth_chartLib_edit:'operateAuth:chartLib:edit',//图库的编辑,批量编辑按钮
|
|
|
+ /*---------ETA预测指标库-------- */
|
|
|
+ operateAuth_etaPredictLib:'operateAuth:etaPredictLib',
|
|
|
+ operateAuth_etaPredictLib_authSetting:'operateAuth:etaPredictLib:authSetting',//权限设置/批量权限设置
|
|
|
+ operateAuth_etaPredictLib_edit:'operateAuth:etaPredictLib:edit',
|
|
|
+ /*---------ETA指标库-------- */
|
|
|
+ operateAuth_etaLib:'operateAuth:etaLib',
|
|
|
+ operateAuth_etaLib_authSetting:'operateAuth:etaLib:authSetting',
|
|
|
+ operateAuth_etaLib_edit:'operateAuth:etaLib:edit',
|
|
|
+ /*---------钢联化工数据库-------- */
|
|
|
+ operateAuth_mysteel:'operateAuth:mysteel',
|
|
|
+ operateAuth_mysteel_edit:'operateAuth:mysteel:edit',
|
|
|
+ /*---------手工数据指标-------- */
|
|
|
+ operateAuth_manual:'operateAuth:manual',
|
|
|
+ operateAuth_manual_edit:'operateAuth:manual:edit',
|
|
|
+}
|
|
|
+/*-----------基本配置-------- */
|
|
|
+export const baseConfigPermission = {
|
|
|
+ /*-------其他设置------- */
|
|
|
+ sysJump_updateLog:'sysJump:updateLog',//更新日志
|
|
|
+ sysJump_helpDoc:'sysJump:helpDoc',//帮助文档,如果两个都没权限,就隐藏按钮
|
|
|
+ sysJump_crm:'sysJump:crm',//跳转CRM的按钮
|
|
|
+ sysJump_hr:'sysJump:hr',//跳转HR系统的按钮
|
|
|
+ sysJump_finance:'sysJump:finance',//跳转财务系统的按钮
|
|
|
+ /*-------基本配置表格---*/
|
|
|
+ etaBaseConfig_xunfei:'etaBaseConfig:xunfei',
|
|
|
+ etaBaseConfig_pptEn:'etaBaseConfig:pptEn',
|
|
|
+ etaBaseConfig_ppt:'etaBaseConfig:ppt',
|
|
|
+ etaBaseConfig_watermark:'etaBaseConfig:watermark',
|
|
|
+ etaBaseConfig_watermark_ybChart:'etaBaseConfig:watermark:ybChart',//如果没权限,表单不显示也不校验
|
|
|
+
|
|
|
+}
|