refactor: refs #8616 update routing components for AgencyList and RouteRoadmap in route.js
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
89f3c3f954
commit
bb928a0c76
|
@ -86,6 +86,7 @@ const columns = computed(() => [
|
||||||
:right-search="false"
|
:right-search="false"
|
||||||
:use-model="true"
|
:use-model="true"
|
||||||
redirect="route/agency"
|
redirect="route/agency"
|
||||||
|
default-mode="card"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
</VnSection>
|
</VnSection>
|
||||||
|
|
|
@ -220,7 +220,6 @@ export default {
|
||||||
path: '',
|
path: '',
|
||||||
name: 'RouteIndexMain',
|
name: 'RouteIndexMain',
|
||||||
redirect: { name: 'RouteList' },
|
redirect: { name: 'RouteList' },
|
||||||
component: () => import('src/pages/Route/RouteList.vue'),
|
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
name: 'RouteList',
|
name: 'RouteList',
|
||||||
|
@ -229,6 +228,7 @@ export default {
|
||||||
title: 'list',
|
title: 'list',
|
||||||
icon: 'view_list',
|
icon: 'view_list',
|
||||||
},
|
},
|
||||||
|
component: () => import('src/pages/Route/RouteList.vue'),
|
||||||
},
|
},
|
||||||
routeCard,
|
routeCard,
|
||||||
],
|
],
|
||||||
|
@ -268,7 +268,6 @@ export default {
|
||||||
title: 'RouteRoadmap',
|
title: 'RouteRoadmap',
|
||||||
icon: 'vn:troncales',
|
icon: 'vn:troncales',
|
||||||
},
|
},
|
||||||
component: () => import('src/pages/Route/RouteRoadmap.vue'),
|
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
name: 'RoadmapList',
|
name: 'RoadmapList',
|
||||||
|
@ -277,6 +276,7 @@ export default {
|
||||||
title: 'list',
|
title: 'list',
|
||||||
icon: 'view_list',
|
icon: 'view_list',
|
||||||
},
|
},
|
||||||
|
component: () => import('src/pages/Route/RouteRoadmap.vue'),
|
||||||
},
|
},
|
||||||
roadmapCard,
|
roadmapCard,
|
||||||
],
|
],
|
||||||
|
@ -298,7 +298,6 @@ export default {
|
||||||
title: 'agency',
|
title: 'agency',
|
||||||
icon: 'garage_home',
|
icon: 'garage_home',
|
||||||
},
|
},
|
||||||
component: () => import('src/pages/Route/Agency/AgencyList.vue'),
|
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
name: 'AgencyList',
|
name: 'AgencyList',
|
||||||
|
@ -307,6 +306,8 @@ export default {
|
||||||
title: 'list',
|
title: 'list',
|
||||||
icon: 'view_list',
|
icon: 'view_list',
|
||||||
},
|
},
|
||||||
|
component: () =>
|
||||||
|
import('src/pages/Route/Agency/AgencyList.vue'),
|
||||||
},
|
},
|
||||||
agencyCard,
|
agencyCard,
|
||||||
],
|
],
|
||||||
|
@ -319,7 +320,6 @@ export default {
|
||||||
title: 'vehicle',
|
title: 'vehicle',
|
||||||
icon: 'directions_car',
|
icon: 'directions_car',
|
||||||
},
|
},
|
||||||
component: () => import('src/pages/Route/Vehicle/VehicleList.vue'),
|
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: 'list',
|
path: 'list',
|
||||||
|
@ -328,6 +328,8 @@ export default {
|
||||||
title: 'vehicleList',
|
title: 'vehicleList',
|
||||||
icon: 'directions_car',
|
icon: 'directions_car',
|
||||||
},
|
},
|
||||||
|
component: () =>
|
||||||
|
import('src/pages/Route/Vehicle/VehicleList.vue'),
|
||||||
},
|
},
|
||||||
vehicleCard,
|
vehicleCard,
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue