This commit is contained in:
zhutianqi
2021-06-29 17:59:20 +08:00
parent 2c657ac274
commit 5e33d97f07
2 changed files with 37 additions and 36 deletions
+35 -32
View File
@@ -76,7 +76,7 @@ export default {
title: '标准法规库', title: '标准法规库',
path: '/regulatoryRepository', path: '/regulatoryRepository',
'icon-class': 'fagui', 'icon-class': 'fagui',
menuId: 'PMYP5AG3M2', menuId: '2ewfwfa',
children: [ children: [
// { // {
// title: '动态&资料', // title: '动态&资料',
@@ -86,17 +86,17 @@ export default {
{ {
title: '国内标准法规', title: '国内标准法规',
path: '/domesticStandardsAndRegulations', path: '/domesticStandardsAndRegulations',
menuId: 'A59EFAQ7AC' menuId: '3e3657498664beaa0dc1de1ecb3ae0da'
}, },
{ {
title: '海外标准法规', title: '海外标准法规',
path: '/foreignStandardsAndRegulations', path: '/foreignStandardsAndRegulations',
menuId: '6K8A2RZYRE' menuId: '18c1e5134ea0cf865e8960b26b81fd8c'
}, },
{ {
title: '标准征求意见', title: '标准征求意见',
path: '/standardForComments', path: '/standardForComments',
menuId: '' menuId: '2b25c67f10abbbadf37d60daaaec54d3'
}, },
// { // {
@@ -111,7 +111,7 @@ export default {
{ {
title: '标准法规清单', title: '标准法规清单',
path: '/accessStandardsAndRegulations', path: '/accessStandardsAndRegulations',
menuId: 'UR3CSDWEQM6Q2GEW339L' menuId: '08dbd417864b08426034ca56d1fa3d02'
}, },
// // { // // {
// // title: '标准法规清单详情', // // title: '标准法规清单详情',
@@ -142,12 +142,12 @@ export default {
{ {
title: '车型/项目库', title: '车型/项目库',
path: '/localProductsOrProjectLibrary', path: '/localProductsOrProjectLibrary',
menuId: 'PCZKM8TQJAH5UP5EAXTJ' menuId: '42ce39c9f953be65a3e5643a4a2c786f'
}, },
{ {
title: '未符合项整改', title: '未符合项整改',
path: '/nonConfomity', path: '/nonConfomity',
menuId: 'HQSK8WWPDJG7R5F53LTK' menuId: '0119abd677e0204e061eb0f0b8cafda0'
}, },
// { // {
// title: '标准法规工作组', // title: '标准法规工作组',
@@ -162,7 +162,7 @@ export default {
{ {
title: '标准合规评估结果', // 把 标准涉及项目 这几个字 改成 标准合规评估结果 title: '标准合规评估结果', // 把 标准涉及项目 这几个字 改成 标准合规评估结果
path: '/standInvolveProject', path: '/standInvolveProject',
menuId: 'JURHS3LVP35US88ABULS' menuId: '8a9c87fe06244fb9d55e78fb281f625b'
} }
// { // {
// title: '动态信息', // title: '动态信息',
@@ -175,15 +175,17 @@ export default {
title: '工作台', title: '工作台',
path: '/processCenter', path: '/processCenter',
'icon-class': 'liucheng', 'icon-class': 'liucheng',
menuId: '6GDJ5JDHUS', menuId: '3fadf',
children: [ children: [
{ {
title: '流程中心', title: '流程中心',
path: '/processCenter' path: '/processCenter',
menuId: '7455dc97eac2933341e18be659f07e89'
}, },
{ {
title: '新建流程', title: '新建流程',
path: '/createProcessNew' path: '/createProcessNew',
menuId: 'b53e6722b33a37c0fa2d87a9b06cca40'
} }
] ]
}, },
@@ -192,7 +194,7 @@ export default {
title: '本地工具', title: '本地工具',
path: '/localTool', path: '/localTool',
'icon-class': 'tools', 'icon-class': 'tools',
menuId: 'F3RJJEMLK8', menuId: 'afsd12',
children: [ children: [
// { // {
// title: '标准预警', // title: '标准预警',
@@ -201,17 +203,17 @@ export default {
{ {
title: '标准内容自动识别', title: '标准内容自动识别',
path: '/standardRecognition', path: '/standardRecognition',
menuId: '27RCLPSNL22JAMJ2MBTZ' menuId: '3db80f62af9d96d6dfc6d429eea4b29b'
}, },
{ {
title: '标准拆分', title: '标准拆分',
path: '/standAutoSplit', path: '/standAutoSplit',
menuId: 'B8UYM3WFCMGXR2BPF9JA' menuId: '0062e261bc65e27e0a968dac67e16a3c'
}, },
{ {
title: '标准比对', title: '标准比对',
path: '/standContrast', path: '/standContrast',
menuId: '3RYN5FLTTDYP7D2PJ44H' menuId: '1d83a6278f781419f628e9f5560f5c86'
}, },
// { // {
// title: '标准比对库', // title: '标准比对库',
@@ -236,7 +238,7 @@ export default {
title: '标准预警', title: '标准预警',
path: '/standardWarning', path: '/standardWarning',
'icon-class': 'warning', 'icon-class': 'warning',
menuId: 'ABCLRLJUQN44ENBS93CQ', menuId: 'asfdew33',
isChildren: true // 判断没有子菜单 isChildren: true // 判断没有子菜单
}, },
// { // {
@@ -257,12 +259,12 @@ export default {
title: '配置管理', title: '配置管理',
path: '/config', path: '/config',
'icon-class': 'conf', 'icon-class': 'conf',
menuId: '95KGANGWCV', menuId: 'adff323',
children: [ children: [
{ {
title: '标准法规属性管理', title: '标准法规属性管理',
path: '/standLawsAttrManage', path: '/standLawsAttrManage',
menuId: 'C5VHBSYRMA' menuId: '72a24657972d286b8b5d80735cf4eee2'
}, },
// { // {
// title: '资料中心管理', // title: '资料中心管理',
@@ -272,17 +274,17 @@ export default {
{ {
title: '机构管理', title: '机构管理',
path: '/MechanismManage', path: '/MechanismManage',
menuId: '7MWCQK6NNH' menuId: '5a09164da97760846509c5c9dd86b80c'
}, },
{ {
title: '角色管理', title: '角色管理',
path: '/roleManage', path: '/roleManage',
menuId: 'NVU76EMB7N' menuId: 'd73d0e230eafdb2ddefe1c97daf657ea'
}, },
{ {
title: '岗位管理', title: '岗位管理',
path: '/postManage', path: '/postManage',
menuid: '' menuId: 'd2954be3abaaf2de3dc79add4c8ab8cd'
}, },
// { // {
// title: '用户管理', // title: '用户管理',
@@ -301,7 +303,8 @@ export default {
// }, // },
{ {
title: '菜单管理', title: '菜单管理',
path: '/menuManage' path: '/menuManage',
menuId: '82665e94d406c6fc0d1f627e5880230b'
}, },
// // { // // {
// // title: '保密管理', // // title: '保密管理',
@@ -315,7 +318,7 @@ export default {
{ {
title: '标准属性自定义', title: '标准属性自定义',
path: '/attributeCustom', path: '/attributeCustom',
menuId: 'PGPZXNUFEXC85BVPV9AU' menuId: '9cdb9b40157dd967b664b9af462b960b'
}, },
// // { // // {
// // title: '流程分类管理', // // title: '流程分类管理',
@@ -343,7 +346,7 @@ export default {
title: '个人中心', title: '个人中心',
path: '/personal', path: '/personal',
'icon-class': 'ucenter', 'icon-class': 'ucenter',
menuId: 'ZY9RFA4M35', menuId: '32143ffasdf',
children: [ children: [
// { // {
// title: '我的消息', // title: '我的消息',
@@ -358,7 +361,7 @@ export default {
{ {
title: '我的收藏', title: '我的收藏',
path: '/collection', path: '/collection',
menuId: 'JY5LKL2HPD' menuId: '63e999c65b1f2b1339119a00eb1d50cf'
}, },
// { // {
// title: '我的浏览', // title: '我的浏览',
@@ -392,13 +395,13 @@ export default {
// } // }
] ]
}, },
{ {
title: '搜索中心', title: '搜索中心',
path: '/advancedSearch', path: '/advancedSearch',
'icon-class': 'search', 'icon-class': 'search',
menuId: 'K9BAYUPZBC', menuId: '1332FSFAD',
isChildren: true // 判断没有子菜单 isChildren: true // 判断没有子菜单
}, },
// { // {
// title: '标准比对库', // title: '标准比对库',
// path: '/standardComparisonLibrary', // path: '/standardComparisonLibrary',
+2 -4
View File
@@ -113,7 +113,6 @@ export default {
} }
// 获取用户菜单 // 获取用户菜单
this.getMenu().then((menuList) => { this.getMenu().then((menuList) => {
let hasHomeMenu = menuList.some((menuItem) => { let hasHomeMenu = menuList.some((menuItem) => {
return menuItem.id === 'G72J4WNFM8' return menuItem.id === 'G72J4WNFM8'
}) })
@@ -156,7 +155,7 @@ export default {
this.getMenu().then((menuList) => { this.getMenu().then((menuList) => {
let hasHomeMenu = false let hasHomeMenu = false
menuList.map((menuItem) => { menuList.map((menuItem) => {
if (menuItem.id === 'G72J4WNFM8') { if (menuItem.id === 'asdfadf') {
hasHomeMenu = true hasHomeMenu = true
} }
}) })
@@ -274,9 +273,8 @@ export default {
*/ */
getMenu () { getMenu () {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
this.$http.get('userMenu', {}, { this.$http.get('sarUser/user/menu', {}, {
_this: this, _this: this,
prefix: '/foton'
}, res => { }, res => {
if (res.ok) { if (res.ok) {
resolve(res.data) resolve(res.data)