zhangdan 4 anni fa
parent
commit
175dbb243c
2 ha cambiato i file con 10 aggiunte e 10 eliminazioni
  1. 4 4
      src/config/router.config.js
  2. 6 6
      src/views/power/user/userList.vue

+ 4 - 4
src/config/router.config.js

@@ -414,8 +414,8 @@ export const asyncRouterMap = [{
         component: () => import(/* webpackChunkName: "auth" */ '@/views/power/menu/menu.vue'),
         meta: {
           title: '菜单管理',
-          icon: 'profile'
-          // permission: 'M_menusAuth_menu'
+          icon: 'profile',
+          permission: 'M_menusAuth_menu'
         }
       }
     ]
@@ -426,8 +426,8 @@ export const asyncRouterMap = [{
     component: PageView,
     meta: {
       title: '系统设置',
-      icon: 'setting'
-      // permission: 'M_setting_0'
+      icon: 'setting',
+      permission: 'M_setting_0'
     },
     children: [{
       path: '/setting/dataDictionary',

+ 6 - 6
src/views/power/user/userList.vue

@@ -126,30 +126,30 @@ export default {
       {
         title: '创建时间',
         dataIndex: 'createDate',
-        width: '120',
+        width: 120,
         align: 'center'
       },
       {
         title: '用户名称',
         dataIndex: 'name',
-        width: '100',
+        width: 100,
         align: 'center'
       },
       {
         title: '手机号码',
         dataIndex: 'phone',
-        width: '100',
+        width: 100,
         align: 'center'
       },
       {
         title: '角色',
-        width: '100',
+        width: 100,
         align: 'center',
         dataIndex: 'roleNames'
       },
       {
         title: '状态',
-        width: '100',
+        width: 100,
         align: 'center',
         scopedSlots: {
           customRender: 'status'
@@ -157,7 +157,7 @@ export default {
       },
       {
         title: '操作',
-        width: '100',
+        width: 100,
         align: 'center',
         scopedSlots: {
           customRender: 'action'