mirror of
https://github.com/continew-org/continew-admin.git
synced 2026-01-02 08:57:18 +08:00
新增:新增系统管理/部门管理/查询列表功能,并将所有描述字段名从 notes 调整为 description,将部分前端方法名前缀从 query 调整为 get,以及去除部分冗余代码
This commit is contained in:
@@ -9,7 +9,7 @@ const EXCEPTION: AppRouteRecordRaw = {
|
||||
locale: 'menu.exception',
|
||||
requiresAuth: true,
|
||||
icon: 'icon-exclamation-circle',
|
||||
order: 7,
|
||||
order: 8,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ const FORM: AppRouteRecordRaw = {
|
||||
locale: 'menu.form',
|
||||
icon: 'icon-settings',
|
||||
requiresAuth: true,
|
||||
order: 4,
|
||||
order: 5,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ const LIST: AppRouteRecordRaw = {
|
||||
locale: 'menu.list',
|
||||
requiresAuth: true,
|
||||
icon: 'icon-list',
|
||||
order: 3,
|
||||
order: 4,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ const Monitor: AppRouteRecordRaw = {
|
||||
locale: 'menu.monitor',
|
||||
requiresAuth: true,
|
||||
icon: 'icon-computer',
|
||||
order: 2,
|
||||
order: 3,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ const PROFILE: AppRouteRecordRaw = {
|
||||
locale: 'menu.profile',
|
||||
requiresAuth: true,
|
||||
icon: 'icon-file',
|
||||
order: 5,
|
||||
order: 6,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ const RESULT: AppRouteRecordRaw = {
|
||||
locale: 'menu.result',
|
||||
icon: 'icon-check-circle',
|
||||
requiresAuth: true,
|
||||
order: 6,
|
||||
order: 7,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
|
||||
28
continew-admin-ui/src/router/routes/modules/system.ts
Normal file
28
continew-admin-ui/src/router/routes/modules/system.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
import { DEFAULT_LAYOUT } from '../base';
|
||||
import { AppRouteRecordRaw } from '../types';
|
||||
|
||||
const System: AppRouteRecordRaw = {
|
||||
path: '/system',
|
||||
name: 'system',
|
||||
component: DEFAULT_LAYOUT,
|
||||
meta: {
|
||||
locale: 'menu.system',
|
||||
requiresAuth: true,
|
||||
icon: 'icon-settings',
|
||||
order: 2,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: '/system/dept',
|
||||
name: 'Dept',
|
||||
component: () => import('@/views/system/dept/index.vue'),
|
||||
meta: {
|
||||
locale: 'menu.system.dept.list',
|
||||
requiresAuth: true,
|
||||
roles: ['*'],
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export default System;
|
||||
@@ -9,7 +9,7 @@ const USER: AppRouteRecordRaw = {
|
||||
locale: 'menu.user',
|
||||
icon: 'icon-user',
|
||||
requiresAuth: true,
|
||||
order: 8,
|
||||
order: 9,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user