Browse Source

change routing path standard

pull/57/head
cKey 5 years ago
parent
commit
64e7b19bde
  1. 4
      vueJs/src/api/abpconfiguration.ts
  2. 10
      vueJs/src/router/modules/admin.ts
  3. 10
      vueJs/src/router/modules/apigateway.ts
  4. 2
      vueJs/src/router/modules/file-management.ts
  5. 10
      vueJs/src/router/modules/identityServer.ts

4
vueJs/src/api/abpconfiguration.ts

@ -70,7 +70,7 @@ export class Localization {
currentCulture!: CurrentCulture
defaultResourceName?: string
languages!: Language[]
values!: {[key:string]:{[key:string]:string}}
values!: {[key:string]: {[key:string]: string}}
}
export class MultiTenancy {
@ -78,7 +78,7 @@ export class MultiTenancy {
}
export class Setting {
values?: {[key:string]:string}
values?: {[key:string]: string}
}
export interface IAbpConfiguration {

10
vueJs/src/router/modules/admin.ts

@ -13,7 +13,7 @@ const adminRouter: RouteConfig = {
children: [
{
path: 'settings',
component: () => import('@/views/admin/settings/index.vue'),
component: () => import(/* webpackChunkName: "settings" */ '@/views/admin/settings/index.vue'),
name: 'settings',
meta: {
title: 'settings',
@ -23,7 +23,7 @@ const adminRouter: RouteConfig = {
},
{
path: 'users',
component: () => import('@/views/admin/users/index.vue'),
component: () => import(/* webpackChunkName: "users" */ '@/views/admin/users/index.vue'),
name: 'users',
meta: {
title: 'users',
@ -33,7 +33,7 @@ const adminRouter: RouteConfig = {
},
{
path: 'roles',
component: () => import('@/views/admin/roles/index.vue'),
component: () => import(/* webpackChunkName: "roles" */ '@/views/admin/roles/index.vue'),
name: 'roles',
meta: {
title: 'roles',
@ -43,7 +43,7 @@ const adminRouter: RouteConfig = {
},
{
path: 'tenants',
component: () => import('@/views/admin/tenants/index.vue'),
component: () => import(/* webpackChunkName: "tenants" */ '@/views/admin/tenants/index.vue'),
name: 'tenants',
meta: {
title: 'tenants',
@ -53,7 +53,7 @@ const adminRouter: RouteConfig = {
},
{
path: 'organization-unit',
component: () => import('@/views/admin/organization-unit/index.vue'),
component: () => import(/* webpackChunkName: "organization-unit" */ '@/views/admin/organization-unit/index.vue'),
name: 'organization-unit',
meta: {
title: 'organizationUnit',

10
vueJs/src/router/modules/apigateway.ts

@ -13,7 +13,7 @@ const apigatewayRouter: RouteConfig = {
children: [
{
path: 'group',
component: () => import('@/views/admin/apigateway/group.vue'),
component: () => import(/* webpackChunkName: "group" */ '@/views/admin/apigateway/group.vue'),
name: 'group',
meta: {
title: 'group',
@ -23,7 +23,7 @@ const apigatewayRouter: RouteConfig = {
},
{
path: 'global',
component: () => import('@/views/admin/apigateway/global.vue'),
component: () => import(/* webpackChunkName: "global" */ '@/views/admin/apigateway/global.vue'),
name: 'global',
meta: {
title: 'global',
@ -33,7 +33,7 @@ const apigatewayRouter: RouteConfig = {
},
{
path: 'route',
component: () => import('@/views/admin/apigateway/route.vue'),
component: () => import(/* webpackChunkName: "route" */ '@/views/admin/apigateway/route.vue'),
name: 'route',
meta: {
title: 'route',
@ -42,8 +42,8 @@ const apigatewayRouter: RouteConfig = {
}
},
{
path: 'aggregateRoute',
component: () => import('@/views/admin/apigateway/aggregateRoute.vue'),
path: 'aggregate-route',
component: () => import(/* webpackChunkName: "aggregate-route" */ '@/views/admin/apigateway/aggregateRoute.vue'),
name: 'aggregateRoute',
meta: {
title: 'aggregateRoute',

2
vueJs/src/router/modules/file-management.ts

@ -13,7 +13,7 @@ const fileManagementRouter: RouteConfig = {
children: [
{
path: 'file-system',
component: () => import('@/views/file-management/index.vue'),
component: () => import(/* webpackChunkName: "file-system" */ '@/views/file-management/index.vue'),
name: 'filesystem',
meta: {
title: 'filesystem',

10
vueJs/src/router/modules/identityServer.ts

@ -13,7 +13,7 @@ const identityServerRouter: RouteConfig = {
children: [
{
path: 'clients',
component: () => import('@/views/admin/identityServer/client/index.vue'),
component: () => import(/* webpackChunkName: "clients" */ '@/views/admin/identityServer/client/index.vue'),
name: 'clients',
meta: {
title: 'clients',
@ -22,8 +22,8 @@ const identityServerRouter: RouteConfig = {
}
},
{
path: 'apiresources',
component: () => import('@/views/admin/identityServer/api-resources/index.vue'),
path: 'api-resources',
component: () => import(/* webpackChunkName: "api-resources" */ '@/views/admin/identityServer/api-resources/index.vue'),
name: 'apiresources',
meta: {
title: 'apiresources',
@ -32,8 +32,8 @@ const identityServerRouter: RouteConfig = {
}
},
{
path: 'identityresources',
component: () => import('@/views/admin/identityServer/identity-resources/index.vue'),
path: 'identity-resources',
component: () => import(/* webpackChunkName: "identity-resources" */ '@/views/admin/identityServer/identity-resources/index.vue'),
name: 'identityresources',
meta: {
title: 'identityresources',

Loading…
Cancel
Save