refactor: 调整api和页面组件位置

This commit is contained in:
2026-08-14 15:21:11 +08:00
parent c51e13f4b4
commit 340ac54026
268 changed files with 293 additions and 929 deletions
@@ -23,7 +23,7 @@ const routes: RouteRecordRaw[] = [
name: 'DataImportOrder',
path: 'order',
alias: '/import/order',
component: () => import('#/views/ecommerce/import/order/index.vue'),
component: () => import('#/views/ec/import/order/index.vue'),
meta: {
title: '订单导入',
},
@@ -31,7 +31,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'DataImportPromotionFee',
path: 'promotion-fee',
component: () => import('#/views/ecommerce/import/promotion-fee/index.vue'),
component: () => import('#/views/ec/import/promotion-fee/index.vue'),
meta: {
title: '推广费导入',
},
@@ -13,7 +13,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'CompanyManagement',
path: '/organization/company-management',
component: () => import('#/views/organization/company/index.vue'),
component: () => import('#/views/org/company/index.vue'),
meta: {
icon: 'lucide:building',
title: '公司管理',
@@ -22,7 +22,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'DepartmentManagement',
path: '/organization/department-management',
component: () => import('#/views/organization/department/index.vue'),
component: () => import('#/views/org/department/index.vue'),
meta: {
icon: 'lucide:users',
title: '部门管理',
@@ -31,7 +31,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'JobManagement',
path: '/organization/position-management',
component: () => import('#/views/organization/position/index.vue'),
component: () => import('#/views/org/position/index.vue'),
meta: {
icon: 'lucide:briefcase',
title: '职位管理',
@@ -41,7 +41,7 @@ const routes: RouteRecordRaw[] = [
name: 'JobMenuAssign',
path: '/organization/position-menu-assign',
component: () =>
import('#/views/organization/position-permission/index.vue'),
import('#/views/org/position/permission/index.vue'),
meta: {
icon: 'lucide:layoutDashboard',
title: '职位菜单分配',
@@ -51,7 +51,7 @@ const routes: RouteRecordRaw[] = [
name: 'JobPermissionAssign',
path: '/organization/position-permission-assign',
component: () =>
import('#/views/organization/position-permission-assign/index.vue'),
import('#/views/org/position-permission-assign/index.vue'),
meta: {
icon: 'lucide:shield-check',
title: '职位权限分配',
@@ -4,7 +4,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'SystemPlatformCompany',
path: '/platform-admin/company',
component: () => import('#/views/organization/company/index.vue'),
component: () => import('#/views/org/company/index.vue'),
meta: {
icon: 'lucide:building',
title: '公司管理',
@@ -14,7 +14,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'SystemPlatformMenu',
path: '/platform-admin/menu',
component: () => import('#/views/system/menu/index.vue'),
component: () => import('#/views/sys/menu/index.vue'),
meta: {
icon: 'lucide:menu',
title: '系统菜单',
@@ -24,7 +24,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'SystemPlatformPermission',
path: '/platform-admin/permission',
component: () => import('#/views/system/permission/index.vue'),
component: () => import('#/views/sys/permission/index.vue'),
meta: {
icon: 'lucide:layoutDashboard',
title: '系统权限',
@@ -35,7 +35,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'SystemPlatformAccountSuper',
path: '/platform-admin/account-super',
component: () => import('#/views/organization/account-super/index.vue'),
component: () => import('#/views/org/account-super/index.vue'),
meta: {
icon: 'lucide:user-check',
title: '平台账户管理',
@@ -45,7 +45,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'SystemPlatformCompanyMenuManage',
path: '/platform-admin/company-menu-manage',
component: () => import('#/views/system/company-menu-manage/index.vue'),
component: () => import('#/views/company/menu/index.vue'),
meta: {
icon: 'lucide:layoutDashboard',
title: '公司菜单管理',
@@ -56,7 +56,7 @@ const routes: RouteRecordRaw[] = [
name: 'SystemPlatformCompanyPermissionManage',
path: '/platform-admin/company-permission-manage',
component: () =>
import('#/views/system/company-permission-manage/index.vue'),
import('#/views/company/permission/index.vue'),
meta: {
icon: 'lucide:shield-check',
title: '公司权限管理',
@@ -66,7 +66,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'SystemLicense',
path: '/system/license',
component: () => import('#/views/system/license/index.vue'),
component: () => import('#/views/sys/license/index.vue'),
meta: {
icon: 'lucide:key-round',
title: '授权管理',
@@ -77,7 +77,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'SystemLicenseLegacySettings',
path: '/system/settings/license',
component: () => import('#/views/system/license/index.vue'),
component: () => import('#/views/sys/license/index.vue'),
meta: {
icon: 'lucide:key-round',
title: '授权管理',
@@ -88,7 +88,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'SystemLicenseLegacy',
path: '/platform-admin/license',
component: () => import('#/views/system/license/index.vue'),
component: () => import('#/views/sys/license/index.vue'),
meta: {
icon: 'lucide:key-round',
title: '授权管理',
@@ -9,7 +9,7 @@ const staticRoutes: RouteRecordRaw[] = [
path: '/system/change-password',
component: () =>
import(
'#/views/system/profile/modules/ChangePasswordModal.vue'
'#/views/sys/profile/modules/ChangePasswordModal.vue'
),
meta: {
title: '修改密码',
@@ -7,7 +7,7 @@ const staticRoutes: RouteRecordRaw[] = [
{
name: 'PersonalProfile',
path: '/system/profile',
component: () => import('#/views/system/profile/index.vue'),
component: () => import('#/views/sys/profile/index.vue'),
meta: {
icon: 'lucide:user',
title: '个人信息',