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