新增:新增系统管理/部门管理/查询列表功能,并将所有描述字段名从 notes 调整为 description,将部分前端方法名前缀从 query 调整为 get,以及去除部分冗余代码

This commit is contained in:
2023-01-23 19:00:47 +08:00
parent 6bd6d1eb39
commit bdf8eeb1b4
40 changed files with 820 additions and 42 deletions

View File

@@ -9,7 +9,7 @@ const EXCEPTION: AppRouteRecordRaw = {
locale: 'menu.exception',
requiresAuth: true,
icon: 'icon-exclamation-circle',
order: 7,
order: 8,
},
children: [
{

View File

@@ -9,7 +9,7 @@ const FORM: AppRouteRecordRaw = {
locale: 'menu.form',
icon: 'icon-settings',
requiresAuth: true,
order: 4,
order: 5,
},
children: [
{

View File

@@ -9,7 +9,7 @@ const LIST: AppRouteRecordRaw = {
locale: 'menu.list',
requiresAuth: true,
icon: 'icon-list',
order: 3,
order: 4,
},
children: [
{

View File

@@ -9,7 +9,7 @@ const Monitor: AppRouteRecordRaw = {
locale: 'menu.monitor',
requiresAuth: true,
icon: 'icon-computer',
order: 2,
order: 3,
},
children: [
{

View File

@@ -9,7 +9,7 @@ const PROFILE: AppRouteRecordRaw = {
locale: 'menu.profile',
requiresAuth: true,
icon: 'icon-file',
order: 5,
order: 6,
},
children: [
{

View File

@@ -9,7 +9,7 @@ const RESULT: AppRouteRecordRaw = {
locale: 'menu.result',
icon: 'icon-check-circle',
requiresAuth: true,
order: 6,
order: 7,
},
children: [
{

View 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;

View File

@@ -9,7 +9,7 @@ const USER: AppRouteRecordRaw = {
locale: 'menu.user',
icon: 'icon-user',
requiresAuth: true,
order: 8,
order: 9,
},
children: [
{