fix:修改路由
This commit is contained in:
parent
6713a7ceff
commit
f88b9bc426
@ -85,35 +85,35 @@ export const constantRoutes = [
|
||||
]
|
||||
},
|
||||
// 赛事分析报告
|
||||
{
|
||||
path: '/tc/eventAnalysisReport',
|
||||
component: Layout,
|
||||
hidden: false,
|
||||
permissions: [],
|
||||
children: [
|
||||
{
|
||||
path: 'index',
|
||||
component: () => import('@/views//tc/eventAnalysisReport'),
|
||||
name: 'EventAnalysisReport',
|
||||
meta: { title: '赛事分析报告', activeMenu: '/tc/eventAnalysisReport/index', icon: 'skill' }
|
||||
}
|
||||
]
|
||||
},
|
||||
// {
|
||||
// path: '/tc/eventAnalysisReport',
|
||||
// component: Layout,
|
||||
// hidden: false,
|
||||
// permissions: [],
|
||||
// children: [
|
||||
// {
|
||||
// path: 'index',
|
||||
// component: () => import('@/views/tc/eventAnalysisReport'),
|
||||
// name: 'EventAnalysisReport',
|
||||
// meta: { title: '赛事分析报告', activeMenu: '/tc/eventAnalysisReport/index', icon: 'skill' }
|
||||
// }
|
||||
// ]
|
||||
// },
|
||||
// 短视频脚本
|
||||
{
|
||||
path: '/tc/videoScript',
|
||||
component: Layout,
|
||||
hidden: false,
|
||||
permissions: [],
|
||||
children: [
|
||||
{
|
||||
path: 'index',
|
||||
component: () => import('@/views//tc/videoScript'),
|
||||
name: 'VideoScript',
|
||||
meta: { title: '短视频脚本', activeMenu: '/tc/videoScript/index', icon: 'redis-list'}
|
||||
}
|
||||
]
|
||||
}
|
||||
// {
|
||||
// path: '/tc/videoScript',
|
||||
// component: Layout,
|
||||
// hidden: false,
|
||||
// permissions: [],
|
||||
// children: [
|
||||
// {
|
||||
// path: 'index',
|
||||
// component: () => import('@/views/tc/videoScript'),
|
||||
// name: 'VideoScript',
|
||||
// meta: { title: '短视频脚本', activeMenu: '/tc/videoScript/index', icon: 'redis-list'}
|
||||
// }
|
||||
// ]
|
||||
// }
|
||||
]
|
||||
|
||||
// 动态路由,基于用户权限动态去加载
|
||||
|
||||
@ -33,7 +33,11 @@
|
||||
<el-table-column label="联赛" prop="roleName" :show-overflow-tooltip="true" width="150" />
|
||||
<el-table-column label="主队" prop="roleKey" :show-overflow-tooltip="true" width="150" />
|
||||
<el-table-column label="客队" prop="roleSort" width="100" />
|
||||
<el-table-column label="固定奖金" prop="roleSort" width="100" />
|
||||
<el-table-column label="固定奖金" prop="roleSort" width="80">
|
||||
<template #default="scope">
|
||||
<el-button link type="primary" @click="handleView(scope.row)">查看</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="比赛开始时间" align="center" prop="createTime">
|
||||
<template #default="scope">
|
||||
<span>{{ parseTime(scope.row.createTime) }}</span>
|
||||
|
||||
@ -33,7 +33,11 @@
|
||||
<el-table-column label="联赛" prop="roleName" :show-overflow-tooltip="true" width="150" />
|
||||
<el-table-column label="主队" prop="roleKey" :show-overflow-tooltip="true" width="150" />
|
||||
<el-table-column label="客队" prop="roleSort" width="100" />
|
||||
<el-table-column label="固定奖金" prop="roleSort" width="100" />
|
||||
<el-table-column label="固定奖金" prop="roleSort" width="80">
|
||||
<template #default="scope">
|
||||
<el-button link type="primary" @click="handleView(scope.row)">查看</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="比赛开始时间" align="center" prop="createTime">
|
||||
<template #default="scope">
|
||||
<span>{{ parseTime(scope.row.createTime) }}</span>
|
||||
|
||||
@ -33,7 +33,11 @@
|
||||
<el-table-column label="联赛" prop="roleName" :show-overflow-tooltip="true" width="150" />
|
||||
<el-table-column label="主队" prop="roleKey" :show-overflow-tooltip="true" width="150" />
|
||||
<el-table-column label="客队" prop="roleSort" width="100" />
|
||||
<el-table-column label="固定奖金" prop="roleSort" width="100" />
|
||||
<el-table-column label="固定奖金" prop="roleSort" width="80">
|
||||
<template #default="scope">
|
||||
<el-button link type="primary" @click="handleView(scope.row)">查看</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="比赛开始时间" align="center" prop="createTime">
|
||||
<template #default="scope">
|
||||
<span>{{ parseTime(scope.row.createTime) }}</span>
|
||||
|
||||
@ -33,7 +33,11 @@
|
||||
<el-table-column label="联赛" prop="roleName" :show-overflow-tooltip="true" width="150" />
|
||||
<el-table-column label="主队" prop="roleKey" :show-overflow-tooltip="true" width="150" />
|
||||
<el-table-column label="客队" prop="roleSort" width="100" />
|
||||
<el-table-column label="固定奖金" prop="roleSort" width="100" />
|
||||
<el-table-column label="固定奖金" prop="roleSort" width="80" >
|
||||
<template #default="scope">
|
||||
<el-button link type="primary" @click="handleView(scope.row)">查看</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="比赛开始时间" align="center" prop="createTime">
|
||||
<template #default="scope">
|
||||
<span>{{ parseTime(scope.row.createTime) }}</span>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user