浏览代码

权限自助+红白名单添加菜单码

林倩 3 年之前
父节点
当前提交
f930941e08
共有 3 个文件被更改,包括 7 次插入14 次删除
  1. 2 6
      config/dev.env.js
  2. 0 3
      src/main.js
  3. 5 5
      src/router/index.js

+ 2 - 6
config/dev.env.js

@@ -38,13 +38,9 @@ module.exports = merge(prodEnv, {
             // target: "http://10.11.0.48:8861",// 邱宇
             // target: "http://10.254.11.203:8861"
             // target: "http://10.11.1.237:8861"
-            target: "http://10.254.11.203:8861"
-            //  target: "http://192.168.10.2:8871"
+            // target: "http://10.254.11.203:8861"
+             target: "http://192.168.10.2:8871"
 
-        },
-        "/approve-gateway": {
-            target: "http://192.168.10.2:8876", // 联调环境 东润
-            // target: "http://10.254.11.185:8866", // 联调环境 仁森
         }
     })
 });

+ 0 - 3
src/main.js

@@ -70,10 +70,7 @@ import UiComponentV4 from "ui-component-v4";
 import directives from "@/directive";
 
 import 'xe-utils'
-// import VXETable from 'vxe-table'
-// import 'vxe-table/lib/style.css'
 import { VXETable, Table, Column, header, Grid, Icon } from 'vxe-table'
-
 Vue.use(VXETable)
 Vue.use(Icon)
 Vue.use(Table)

+ 5 - 5
src/router/index.js

@@ -122,13 +122,13 @@ export const asyncRouterMap = [
     path: '/permission-selfhelp-manage',
     component: Layout,
     redirect: '/permission-selfhelp-manage/init',
-    meta: { title: '权限自助管理', icon: 'el-icon-goods', noCache: true, permission: ['QXGL_SQGL_KTGL'] },
+    meta: { title: '权限自助管理', icon: 'el-icon-goods', noCache: true, permission: ['QXGL_QXZUGL'] },
     children: [
       {
         path: 'init',
         component: () => import('@/pages/permission-selfhelp-manage'),
         name: 'permission-selfhelp-manage',
-        meta: { title: '权限自助管理', noCache: true, permission: ['YHGLPT_DTSQGL_DTSQGL'] }
+        meta: { title: '权限自助管理', noCache: true, permission: ['QXGL_QXZUGL'] }
       }
     ]
   },
@@ -136,19 +136,19 @@ export const asyncRouterMap = [
     path: '/list-manage',
     component: Layout,
     redirect: '/permission-selfhelp-manage/init',
-    meta: { title: '名单管理', icon: 'el-icon-goods', noCache: true, permission: ['QXGL_SQGL_KTGL'] },
+    meta: { title: '名单管理', icon: 'el-icon-goods', noCache: true, permission: ['QXGL_QXZUGL'] },
     children: [
       {
         path: 'white',
         component: () => import('@/pages/list-manage/white-list-manage'),
         name: 'white-list-manage',
-        meta: { title: '白名单管理', noCache: true, permission: ['YHGLPT_DTSQGL_DTSQGL'] }
+        meta: { title: '白名单管理', noCache: true, permission: ['QXGL_MDGL_BMDGL'] }
       },
       {
         path: 'red',
         component: () => import('@/pages/list-manage/red-list-manage'),
         name: 'red-list-manage',
-        meta: { title: '红名单管理', noCache: true, permission: ['YHGLPT_DTSQGL_DTSQGL'] }
+        meta: { title: '红名单管理', noCache: true, permission: ['QXGL_MDGL_HMDGL'] }
       }
     ]
   }