Commit 504e5bac authored by tyyin lan's avatar tyyin lan

feat(routes): 游船&游船项目&游船公司

parent 59b460b9
...@@ -27,7 +27,7 @@ function handlePaginationChange(currentPage: number, pageSize: number) { ...@@ -27,7 +27,7 @@ function handlePaginationChange(currentPage: number, pageSize: number) {
<slot></slot> <slot></slot>
</div> </div>
<div class="flex justify-end py-[16px]"> <div class="flex justify-end py-[20px]">
<el-pagination <el-pagination
v-model:current-page="paginationConfig.currentPage" v-model:current-page="paginationConfig.currentPage"
v-model:page-size="paginationConfig.pageSize" v-model:page-size="paginationConfig.pageSize"
......
import { type RouteRecordRaw } from 'vue-router'
import Layout from '@/layout/index.vue'
export default [
{
path: '/boat-tour-project',
meta: {
rank: 1005,
title: '游船项目',
icon: 'icon-xiangmu',
},
component: Layout,
children: [
{
path: '',
name: 'BoatTourProject',
meta: {
rank: 1001,
title: '列表',
hideSideMenItem: true,
},
component: () => import('@/views/boat-tour-project/boat-tour-project.vue'),
},
],
},
] as RouteRecordRaw[]
...@@ -5,7 +5,7 @@ export default [ ...@@ -5,7 +5,7 @@ export default [
{ {
path: '/carousel-management', path: '/carousel-management',
meta: { meta: {
rank: 1001, rank: 1002,
title: '轮播图管理', title: '轮播图管理',
icon: 'icon-carousel', icon: 'icon-carousel',
}, },
......
...@@ -5,7 +5,7 @@ export default [ ...@@ -5,7 +5,7 @@ export default [
{ {
path: '/city-management', path: '/city-management',
meta: { meta: {
rank: 1001, rank: 1003,
title: '城市管理', title: '城市管理',
icon: 'icon-city', icon: 'icon-city',
}, },
......
import { type RouteRecordRaw } from 'vue-router'
import Layout from '@/layout/index.vue'
export default [
{
path: '/cruise-company',
meta: {
rank: 1006,
title: '游船公司',
icon: 'icon-gongsi',
},
component: Layout,
children: [
{
path: '',
name: 'CruiseCompany',
meta: {
rank: 1001,
title: '列表',
hideSideMenItem: true,
},
component: () => import('@/views/cruise-company/cruise-company.vue'),
},
],
},
] as RouteRecordRaw[]
import { type RouteRecordRaw } from 'vue-router'
import Layout from '@/layout/index.vue'
export default [
{
path: '/yacht',
meta: {
rank: 1004,
title: '游船',
icon: 'icon-youchuan',
},
component: Layout,
children: [
{
path: '',
name: 'Yacht',
meta: {
rank: 1001,
title: '列表',
hideSideMenItem: true,
},
component: () => import('@/views/yacht/yacht.vue'),
},
],
},
] as RouteRecordRaw[]
<script setup lang="ts"></script>
<template>
<div>游船项目</div>
</template>
<script setup lang="ts"></script>
<template>
<div>游船公司</div>
</template>
<script setup lang="ts"></script>
<template>
<div>游船</div>
</template>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment