buttonConfig.js 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459
  1. //维护 按钮列表 已加载在全局
  2. //通过 this.permissionBtn 调用
  3. import {store} from "../main";
  4. /**
  5. * 判断按钮在不在用户的权限内
  6. * @param {String} button_code
  7. * @returns Boolean
  8. */
  9. export const checkPermissionBtn = (button_code)=>{
  10. const buttonCodes = store.state.permissionButton.permissionButtons.map(item=>item.ButtonCode)
  11. console.log('?',button_code)
  12. console.log('why',buttonCodes.includes(button_code))
  13. return buttonCodes.includes(button_code)
  14. }
  15. /*
  16. * -----------------------------------------------------------------------------研报管理------------------------------------------------
  17. */
  18. /*
  19. *--------中文研报列表-----------
  20. */
  21. export const reportManageBtn={
  22. reportManage_sendMsg:'reportManage:sendMsg',//推送消息/已推送消息
  23. reportManage_reportView:'reportManage:reportView',//研报预览:即是否能点击研报名称跳转预览页面
  24. reportManage_reportView_wechartShare:'reportManage:reportView:wechartShare',//研报预览页面-微信分享
  25. reportManage_reportView_copyWechat:'reportManage:reportView:copyWechat',//研报预览页面-复制链接
  26. reportManage_audioDownload:'reportManage:audioDownload',//音频下载
  27. reportManage_audioUpload:'reportManage:audioUpload',//音频上传
  28. reportManage_reportDel:'reportManage:reportDel',//删除研报
  29. reportManage_reportEdit:'reportManage:reportEdit',//编辑研报
  30. reportManage_cancelPublish:'reportManage:cancelPublish',//取消发布
  31. reportManage_publish:'reportManage:publish',//发布研报
  32. reportManage_reportList:'reportManage:reportList',//研报列表的选项
  33. reportManage_reportList_uv:'reportManage:reportList:uv',//研报列表-PV/UV
  34. reportManage_reportList_sendTime:'reportManage:reportList:sendTime',//研报列表-报告推送时间
  35. reportManage_dayWeekReportAdd:'reportManage:dayWeekReportAdd',//添加晨报周报
  36. reportManage_reportAdd:'reportManage:reportAdd',//添加研报
  37. }
  38. /*
  39. *--------英文研报列表-----------
  40. */
  41. export const enReportManageBtn = {
  42. enReport_reportView:'enReport:reportView',//研报预览:即是否能点击研报名称跳转预览页面
  43. enReport_reportView_wechatShare:'enReport:reportView:wechatShare',//研报预览页面-微信分享
  44. enReport_reportView_copyWechat:'enReport:reportView:copyWechat',//研报预览页面-复制链接
  45. enReport_sendEmail:'enReport:sendEmail',//群发邮件/群发日志
  46. enReport_reportDel:'enReport:reportDel',//删除研报
  47. enReport_reportEdit:'enReport:reportEdit',//编辑研报
  48. enReport_cancelPublish:'enReport:cancelPublish',//取消发布
  49. enReport_publish:'enReport:publish',//发布研报
  50. enReport_syncPolicy:'enReport:syncPolicy',//同步策略报告
  51. enReport_reportAdd:'enReport:reportAdd',//添加研报
  52. }
  53. /*
  54. *--------中文分类-----------
  55. */
  56. export const classifyBtn={
  57. classifyList_cnClassify:'classifyList:cnClassify',//中文分类这个选项卡是否显示
  58. classifyList_cnClassify_classifyDel:'classifyList:cnClassify:classifyDel',//一二级分类删除
  59. classifyList_cnClassify_authSetting:'classifyList:cnClassify:authSetting',//二级分类权限配置
  60. classifyList_cnClassify_chapterSetting:'classifyList:cnClassify:chapterSetting',//晨周报章节设置
  61. /*---------添加编辑分类------------- */
  62. classifyList_cnClassify_classifyAdd:'classifyList:cnClassify:classifyAdd',//一二级添加编辑分类
  63. classifyList_cnClassify_relateSetting:'classifyList:cnClassify:relateSetting',//表单项:关联设置
  64. classifyList_cnClassify_miniHidden:'classifyList:cnClassify:miniHidden',//表单项:小程序隐藏
  65. classifyList_cnClassify_pcBackColor:'classifyList:cnClassify:pcBackColor',//表单项:PC端背景颜色
  66. classifyList_cnClassify_shareImgs:'classifyList:cnClassify:shareImgs',//表单项:分享链接配图
  67. classifyList_cnClassify_reportImgs:'classifyList:cnClassify:reportImgs',//表单项:报告合集配图
  68. classifyList_cnClassify_ficcIcon:'classifyList:cnClassify:ficcIcon',//表单项:FICCicon
  69. classifyList_cnClassify_ficcSort:'classifyList:cnClassify:ficcSort',//表单项:FICC页排序
  70. classifyList_cnClassify_backSort:'classifyList:cnClassify:backSort',//表单项:后台排序
  71. classifyList_cnClassify_showType:'classifyList:cnClassify:showType',//表单项:展示形式
  72. classifyList_cnClassify_childMenu:'classifyList:cnClassify:childMenu',//表单项:子目录
  73. }
  74. /*
  75. *--------英文分类-----------
  76. */
  77. export const enClassifyBtn = {
  78. classifyList_enClassify:'classifyList:enClassify',//英文分类这个选项卡是否展示
  79. /* -------------线上路演------------- */
  80. classifyList_enClassify_roadshow:'classifyList:enClassify:roadshow',//线上路演这个选项卡是否展示
  81. classifyList_enClassify_rsDel:'classifyList:enClassify:rsDel',//线上路演一二级分类删除
  82. classifyList_enClassify_rsAuthSetting:'classifyList:enClassify:rsAuthSetting',//线上路演二级分类权限设置
  83. classifyList_enClassify_rsEdit:'classifyList:enClassify:rsEdit',//线上路演一二级分类编辑
  84. classifyList_enClassify_rsAddClassify:'classifyList:enClassify:rsAddClassify',//线上路演添加分类按钮
  85. /* -------------英文研报------------- */
  86. classifyList_enClassify_report:'classifyList:enClassify:report',//英文研报这个选项卡是否展示
  87. classifyList_enClassify_rpDel:'classifyList:enClassify:rpDel',//英文研报一二级删除
  88. classifyList_enClassify_rpAuthSetting:'classifyList:enClassify:rpAuthSetting',//英文研报二级分类权限配置
  89. classifyList_enClassify_rpEdit:'classifyList:enClassify:rpEdit',//英文研报一二级编辑
  90. classifyList_enClassify_rpAddClassify:'classifyList:enClassify:rpAddClassify',//英文研报添加分类
  91. }
  92. /*
  93. *--------作者管理-----------
  94. */
  95. export const authorManage = {
  96. /*------------------英文研报作者管理------------ */
  97. authorManage_enReport:'authorManage:enReport',//英文研报选项卡是否展示
  98. authorManage_enReport_enable:'authorManage:enReport:enable',//英文研报作者启用/禁用
  99. authorManage_enReport_del:'authorManage:enReport:del',//英文研报作者删除
  100. authorManage_enReport_edit:'authorManage:enReport:edit',//英文研报作者编辑
  101. /*------------------中文研报作者管理------------ */
  102. authorManage_cnReport:'authorManage:cnReport',//中文研报选项卡是否展示
  103. authorManage_cnReport_enable:'authorManage:cnReport:enable',//中文研报作者启用/禁用
  104. authorManage_cnReport_del:'authorManage:cnReport:del',//中文研报作者删除
  105. authorManage_cnReport_edit:'authorManage:cnReport:edit',//中文研报作者编辑
  106. authorManage_add:'authorManage:add',//添加作者按钮
  107. }
  108. /*
  109. *--------英文品种配置-----------
  110. */
  111. export const enChartPermission = {
  112. enChartPermission_del:'enChartPermission:del',
  113. enChartPermission_save:'enChartPermission:save',
  114. }
  115. /*
  116. *--------云盘-----------
  117. */
  118. export const cloudDisk = {
  119. cloudDisk_del:'cloudDisk:del',
  120. cloudDisk_download:'cloudDisk:download',
  121. cloudDisk_rename:'cloudDisk:rename',
  122. cloudDisk_uploadFile:'cloudDisk:uploadFile',
  123. cloudDisk_newDir:'cloudDisk:newDir'
  124. }
  125. /*
  126. * -----------------------------------------------------------------------------智能PPT------------------------------------------------
  127. */
  128. /*
  129. *--------中文PPT-----------
  130. */
  131. export const pptPermission ={
  132. /*---------对PPT操作--------- */
  133. ppt_del:'ppt:del',
  134. ppt_copy:'ppt:copy',
  135. ppt_toEn:'ppt:toEn',//转英文PPT
  136. ppt_toReport:'ppt:toReport',//转报告
  137. ppt_download:'ppt:download',
  138. ppt_show:'ppt:show',//演示
  139. ppt_publish:'ppt:publish',
  140. /*--------页面按钮操作-------- */
  141. ppt_save:'ppt:save',//添加PPT按钮,同时也控制编辑权限
  142. ppt_merge:'ppt:merge',//合并PPT
  143. }
  144. /*
  145. *--------英文PPT----------
  146. */
  147. export const enPPTPermission={
  148. /*---------对PPT操作--------- */
  149. pptEn_del:'pptEn:del',
  150. pptEn_copy:'pptEn:copy',
  151. pptEn_toReport:'pptEn:toReport',//转报告
  152. pptEn_download:'pptEn:download',
  153. pptEn_show:'pptEn:show',//演示
  154. pptEn_publish:'pptEn:publish',
  155. /*--------页面按钮操作-------- */
  156. pptEn_save:'pptEn:save',//添加PPT按钮,同时也控制编辑权限
  157. pptEn_merge:'pptEn:merge',//合并PPT
  158. }
  159. /*
  160. * ---------------------------------------------------------------------------数据源------------------------------------------------
  161. */
  162. export const dataSourcePermission = {
  163. /*--------手工指标列表---- */
  164. manualData_del:'manualData:del',
  165. manualData_add:'manualData:add',//新增编辑
  166. manualData_add_updateRemind:'manualData:add:updateRemind',//新增编辑-更新提醒
  167. /*--------手工数据录入---- */
  168. manualDataWrite_edit:'manualDataWrite:edit',//编辑按钮,直接编辑没有禁
  169. manualDataWrite_export:'manualDataWrite:export',//导出
  170. manualDataWrite_import:'manualDataWrite:import',//导入
  171. manualDataWrite_copy:'manualDataWrite:copy',//复制
  172. /*--------期货数据库没有要控制的东西---- */
  173. /*--------隆众原始数据库---- */
  174. longzhongData_export:'longzhongData:export',
  175. /*--------钢联原始数据库---- */
  176. glData_export:'glData:export',
  177. /*--------钢联化工数据库---- */
  178. mysteelData_refresh:'mysteelData:refresh',//一键刷新
  179. mysteelData_export:'mysteelData:export',
  180. mysteelData_add:'mysteelData:add',
  181. /*--------SMM原始数据库---- */
  182. smmData_export:'smmData:export',
  183. /*--------百川盈孚---- */
  184. bcyfData_edit:'bcyfData:edit',//编辑指标按钮
  185. bcyfData_export:'bcyfData:export',
  186. /*--------卓创数据(红桃3)---- */
  187. hongtao3Data_export:'hongtao3Data:export',
  188. /*--------中国煤炭市场网)---- */
  189. zgmtData_export:'zgmtData:export',
  190. /*--------EIA STEO报告---- */
  191. eiaData_export:'eiaData:export',
  192. /*--------国家统计局---- */
  193. gjtjjData_export:'gjtjjData:export'
  194. }
  195. /*
  196. * ---------------------------------------------------------------------------ETA指标库------------------------------------------------
  197. */
  198. export const edbDataPermission = {
  199. /*-----------指标详情按钮--------- */
  200. edbData_refreshAll:'edbData:refreshAll',//全部刷新
  201. edbData_newestValue:'edbData:newestValue',//添加最新值
  202. edbData_enNameSetting:'edbData:enNameSetting',//设置英文名称
  203. edbData_edbSource:'edbData:edbSource',//指标溯源
  204. edbData_copyData:'edbData:copyData',//复制数据
  205. edbData_toImgs:'edbData:toImgs',//一键成图
  206. edbData_edit:'edbData:edit',//指标编辑,也包括列表项的编辑按钮
  207. edbData_update:'edbData:update',//更新指标
  208. /*------------页面按钮---------- */
  209. edbData_batchUpdate:'edbData:batchUpdate',//一键更新
  210. edbData_dataAdjust:'edbData:dataAdjust',//数据调整
  211. edbData_codeRun:'edbData:codeRun',//代码运算
  212. edbData_replaceEdb:'edbData:replaceEdb',//替换指标
  213. edbData_calcuEdb:'edbData:calcuEdb',//计算指标
  214. edbData_addEdb:'edbData:addEdb',//添加指标
  215. edbData_switchEn:'edbData:switchEn',//切换英文版
  216. }
  217. /*
  218. * ---------------------------------------------------------------------------ETA预测指标------------------------------------------------
  219. */
  220. export const predictEdbPermission = {
  221. /*-----------指标详情按钮--------- */
  222. edbPreData_switchSeason:'edbPreData:switchSeason',//切换季节性图
  223. edbPreData_viewData:'edbPreData:viewData',//查看数据
  224. edbPreData_copyData:'edbPreData:copyData',//复制数据
  225. edbPreData_del:'edbPreData:del',//删除
  226. edbPreData_recalcu:'edbPreData:recalcu',//重新计算
  227. edbPreData_save:'edbPreData:save',//保存
  228. edbPreData_edit:'edbPreData:edit',//编辑
  229. edbPreData_update:'edbPreData:update',//更新
  230. edbPreData_edbSource:'edbPreData:edbSource',//指标溯源
  231. edbPreData_enNameSetting:'edbPreData:enNameSetting',//设置英文名称
  232. /*------------页面按钮---------- */
  233. edbPreData_calcuEdb:'edbPreData:calcuEdb',//计算指标
  234. edbPreData_addEdb:'edbPreData:addEdb',//添加指标
  235. edbPreData_switchEn:'edbPreData:switchEn',//切换英文版
  236. }
  237. /*
  238. * ---------------------------------------------------------------------------ETA图库------------------------------------------------
  239. */
  240. export const chartLibPermission = {
  241. /*-----------图表详情按钮--------- */
  242. chartLib_viewData:'chartLib:viewData',//查看数据,图表详情的表格操作栏
  243. chartLib_copyData:'chartLib:copyData',//复制数据,图表详情的表格操作栏
  244. chartLib_del:'chartLib:del',
  245. chartLib_enNameSetting:'chartLib:enNameSetting',
  246. chartLib_copyWechat:'chartLib:copyWechat',
  247. chartLib_copyOffice:'chartLib:copyOffice',
  248. chartLib_edit:'chartLib:edit',
  249. chartLib_otherSave:'chartLib:otherSave',
  250. chartLib_save:'chartLib:save',
  251. chartLib_refresh:'chartLib:refresh',
  252. chartLib_addMy:'chartLib:addMy',//加入我的图库
  253. chartLib_share:'chartLib:share',
  254. /*------------页面按钮---------- */
  255. chartLib_add:'chartLib:add',
  256. chartLib_switchEn:'chartLib:switchEn',
  257. }
  258. /*
  259. * ---------------------------------------------------------------------------My ETA------------------------------------------------
  260. */
  261. export const myETAPermission = {
  262. /*-----------图表详情弹窗按钮--------- */
  263. myChart_del:'myChart:del',
  264. myChart_enNameSetting:'myChart:enNameSetting',
  265. myChart_copyWechat:'myChart:copyWechat',
  266. myChart_copyOffice:'myChart:copyOffice',
  267. myChart_otherSave:'myChart:otherSave',
  268. myChart_save:'myChart:save',
  269. myChart_edit:'myChart:edit',
  270. myChart_refresh:'myChart:refresh',
  271. myChart_copyTo:'myChart:copyTo',
  272. myChart_share:'myChart:share',
  273. myChart_move:'myChart:move',//移出,同时也控制列表项的移出
  274. /*-----------页面按钮--------- */
  275. myChart_selectChart:'myChart:selectChart',//选择图表
  276. }
  277. /*
  278. * --------------------------------------------------------------------------ETA表格------------------------------------------------
  279. */
  280. export const etaTablePermission = {
  281. /*-----------页面按钮--------- */
  282. etaTable_customize:'etaTable:customize',//自定义表格这个按钮显示不显示
  283. etaTable_excel:'etaTable:excel',//添加Excel表格这个按钮显示不显示
  284. /*-----------自定义表格--------- */
  285. etaTable_customize_del:'etaTable:customize:del',
  286. etaTable_customize_download:'etaTable:customize:download',
  287. etaTable_customize_otherSave:'etaTable:customize:otherSave',
  288. etaTable_customize_refresh:'etaTable:customize:refresh',
  289. etaTable_customize_edit:'etaTable:customize:edit',
  290. /*-----------常规表格--------- */
  291. etaTable_excel_del:'etaTable:excel:del',
  292. etaTable_excel_download:'etaTable:excel:download',
  293. etaTable_excel_save:'etaTable:excel:save'
  294. }
  295. /*
  296. * --------------------------------------------------------------------------ETA逻辑------------------------------------------------
  297. */
  298. export const sandboxPermission = {
  299. sandbox_variety:'sandbox:variety',//沙盘品种选择,控制筛选项和列表项
  300. sandbox_addMy:'sandbox:addMy',//复制图片
  301. sandbox_del:'sandbox:del',//删除
  302. sandbox_saveView:'sandbox:saveView',//添加/编辑/查看
  303. }
  304. /*
  305. * --------------------------------------------------------------------------语义分析------------------------------------------------
  306. */
  307. export const semanticPermission = {
  308. /*-----------文档管理--------- */
  309. docPage_save:'docPage:save',//添加编辑文档
  310. /*-----------文档对比--------- */
  311. saPage_save:'saPage:save',//添加编辑对比文档
  312. /*-----------标签管理--------- */
  313. tagPage_del:'tagPage:del',
  314. tagPage_save:'tagPage:save',//添加编辑标签
  315. }
  316. /*
  317. * --------------------------------------------------------------------------统计分析------------------------------------------------
  318. */
  319. export const statisticPermission = {
  320. /*-----------相关性分析--------- */
  321. corrAnalysis_addChart:'corrAnalysis:addChart',//添加图表按钮
  322. corrAnalysis_viewData:'corrAnalysis:viewData',//查看表格数据
  323. corrAnalysis_copyData:'corrAnalysis:copyData',//复制表格数据
  324. /*---图表操作栏--- */
  325. corrAnalysis_del:'corrAnalysis:del',
  326. corrAnalysis_enNameSetting:'corrAnalysis:enNameSetting',
  327. corrAnalysis_copyWechat:'corrAnalysis:copyWechat',
  328. corrAnalysis_copyOffice:'corrAnalysis:copyOffice',
  329. corrAnalysis_edit:'corrAnalysis:edit',
  330. corrAnalysis_otherSave:'corrAnalysis:otherSave',
  331. corrAnalysis_refresh:'corrAnalysis:refresh',
  332. corrAnalysis_addMyChart:'corrAnalysis:addMyChart',
  333. corrAnalysis_share:'corrAnalysis:share',
  334. /*-----------统计特征--------- */
  335. statisticFeature_addChart:'statisticFeature:addChart',//添加图表按钮
  336. /*---图表操作栏--- */
  337. statisticFeature_del:'statisticFeature:del',
  338. statisticFeature_enNameSetting:'statisticFeature:enNameSetting',
  339. statisticFeature_copyWechat:'statisticFeature:copyWechat',
  340. statisticFeature_copyOffice:'statisticFeature:copyOffice',
  341. statisticFeature_edit:'statisticFeature:edit',
  342. statisticFeature_otherSave:'statisticFeature:otherSave',
  343. statisticFeature_refresh:'statisticFeature:refresh',
  344. statisticFeature_addMyChart:'statisticFeature:addMyChart',
  345. statisticFeature_share:'statisticFeature:share',
  346. /*-----------拟合方程曲线--------- */
  347. fittingEq_addChart:'fittingEq:addChart',//添加图表按钮
  348. /*---图表操作栏--- */
  349. fittingEq_del:'fittingEq:del',
  350. fittingEq_enNameSetting:'fittingEq:enNameSetting',
  351. fittingEq_copyWechat:'fittingEq:copyWechat',
  352. fittingEq_copyOffice:'fittingEq:copyOffice',
  353. fittingEq_edit:'fittingEq:edit',
  354. fittingEq_otherSave:'fittingEq:otherSave',
  355. fittingEq_refresh:'fittingEq:refresh',
  356. fittingEq_addMyChart:'fittingEq:addMyChart',
  357. fittingEq_share:'fittingEq:share',
  358. }
  359. /*
  360. * --------------------------------------------------------------------------供应分析------------------------------------------------
  361. */
  362. export const stockPlantPermission = {
  363. stockPlant_del:'stockPlant:del',
  364. stockPlant_anlysisView:'stockPlant:anlysisView',//分析和查看,包括点击品种名称跳转详情
  365. stockPlant_saveVariety:'stockPlant:saveVariety',//添加编辑
  366. }
  367. /*
  368. * --------------------------------------------------------------------------商品价格曲线------------------------------------------------
  369. */
  370. export const productPricePermission = {
  371. /*-----------页面按钮--------- */
  372. goodsPrice_incomeLine:'goodsPrice:incomeLine',//添加利润曲线
  373. goodsPrice_priceLine:'goodsPrice:priceLine',//添加价格曲线
  374. /* 利润曲线 */
  375. goodsPrice_incomeLine_del:'goodsPrice:incomeLine:del',
  376. goodsPrice_incomeLine_enNameSetting:'goodsPrice:incomeLine:enNameSetting',
  377. goodsPrice_incomeLine_copyWechat:'goodsPrice:incomeLine:copyWechat',
  378. goodsPrice_incomeLine_copyOffice:'goodsPrice:incomeLine:copyOffice',
  379. goodsPrice_incomeLine_edit:'goodsPrice:incomeLine:edit',
  380. goodsPrice_incomeLine_otherSave:'goodsPrice:incomeLine:otherSave',
  381. goodsPrice_incomeLine_refresh:'goodsPrice:incomeLine:refresh',
  382. goodsPrice_incomeLine_addMyChart:'goodsPrice_incomeLine_addMyChart',
  383. goodsPrice_incomeLine_share:'goodsPrice:incomeLine:share',
  384. /* 价格曲线 */
  385. goodsPrice_priceLine_del:'goodsPrice:priceLine:del',
  386. goodsPrice_priceLine_enNameSetting:'goodsPrice:priceLine:enNameSetting',
  387. goodsPrice_priceLine_copyWechat:'goodsPrice:priceLine:copyWechat',
  388. goodsPrice_priceLine_copyOffice:'goodsPrice:priceLine:copyOffice',
  389. goodsPrice_priceLine_edit:'goodsPrice:priceLine:edit',
  390. goodsPrice_priceLine_otherSave:'goodsPrice:priceLine:otherSave',
  391. goodsPrice_priceLine_refresh:'goodsPrice:priceLine:refresh',
  392. goodsPrice_priceLine_addMyChart:'goodsPrice_priceLine_addMyChart',
  393. goodsPrice_priceLine_share:'goodsPrice:priceLine:share',
  394. }
  395. /*
  396. * --------------------------------------------------------------------------系统设置------------------------------------------------
  397. */
  398. export const sysDepartPermission = {
  399. /*-----------部门管理-------- */
  400. sysDepart_saveUser:'sysDepart:saveUser',//添加/编辑用户按钮
  401. sysDepart_resetPass:'sysDepart:resetPass',//重置密码
  402. sysDepart_moveGroup:'sysDepart:moveGroup',//移动分组
  403. sysDepart_enable:'sysDepart:enable',//启用禁用
  404. sysDepart_del:'sysDepart:del',//用户删除
  405. sysDepart_saveUser_researchGroup:'sysDepart:saveUser:researchGroup',//添加/编辑用户表单中,研究方向的按钮
  406. sysDepart_saveUser_LabelVal:'sysDepart:saveUser:LabelVal',//姓名角色的标签
  407. /*-----------角色管理-------- */
  408. sysRole_del:'sysRole:del',//删除角色
  409. sysRole_settingAuth:'sysRole:settingAuth',//设置/查看权限
  410. sysRole_addRole:'sysRole:addRole',//添加角色
  411. /*-----------英文权限配置-------- */
  412. enAuthManage_del:'enAuthManage:del',
  413. enAuthManage_settingAuth:'enAuthManage:settingAuth'
  414. }
  415. /*-----------数据操作权限-------- */
  416. export const operateAuthPermission = {
  417. /*---------图库-------- */
  418. operateAuth_chartLib:'operateAuth:chartLib',//图库tab
  419. operateAuth_chartLib_edit:'operateAuth:chartLib:edit',//图库的编辑,批量编辑按钮
  420. /*---------ETA预测指标库-------- */
  421. operateAuth_etaPredictLib:'operateAuth:etaPredictLib',
  422. operateAuth_etaPredictLib_authSetting:'operateAuth:etaPredictLib:authSetting',//权限设置/批量权限设置
  423. operateAuth_etaPredictLib_edit:'operateAuth:etaPredictLib:edit',
  424. /*---------ETA指标库-------- */
  425. operateAuth_etaLib:'operateAuth:etaLib',
  426. operateAuth_etaLib_authSetting:'operateAuth:etaLib:authSetting',
  427. operateAuth_etaLib_edit:'operateAuth:etaLib:edit',
  428. /*---------钢联化工数据库-------- */
  429. operateAuth_mysteel:'operateAuth:mysteel',
  430. operateAuth_mysteel_edit:'operateAuth:mysteel:edit',
  431. /*---------手工数据指标-------- */
  432. operateAuth_manual:'operateAuth:manual',
  433. operateAuth_manual_edit:'operateAuth:manual:edit',
  434. }
  435. /*-----------基本配置-------- */
  436. export const baseConfigPermission = {
  437. /*-------其他设置------- */
  438. sysJump_updateLog:'sysJump:updateLog',//更新日志
  439. sysJump_helpDoc:'sysJump:helpDoc',//帮助文档,如果两个都没权限,就隐藏按钮
  440. sysJump_crm:'sysJump:crm',//跳转CRM的按钮
  441. sysJump_hr:'sysJump:hr',//跳转HR系统的按钮
  442. sysJump_finance:'sysJump:finance',//跳转财务系统的按钮
  443. /*-------基本配置表格---*/
  444. etaBaseConfig_xunfei:'etaBaseConfig:xunfei',
  445. etaBaseConfig_pptEn:'etaBaseConfig:pptEn',
  446. etaBaseConfig_ppt:'etaBaseConfig:ppt',
  447. etaBaseConfig_watermark:'etaBaseConfig:watermark',
  448. etaBaseConfig_watermark_ybChart:'etaBaseConfig:watermark:ybChart',//如果没权限,表单不显示也不校验
  449. }