|
@@ -59,6 +59,79 @@ export const constantRoutes = [
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
|
|
+
|
|
|
|
+ {
|
|
|
|
+ path: 'statistics',
|
|
|
|
+ component: Layout,
|
|
|
|
+ redirect: '/statistics/DownloadImage',
|
|
|
|
+ name: '数据统计',
|
|
|
|
+ meta: {
|
|
|
|
+ title: '数据统计',
|
|
|
|
+ icon: 'el-icon-s-help'
|
|
|
|
+ },
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ path: 'DownloadImage',
|
|
|
|
+ name: '下载照片',
|
|
|
|
+ component: () => import('@/views/statistics/downloadImage/index'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '下载照片'
|
|
|
|
+ // icon: 'table'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'UploadImage',
|
|
|
|
+ name: '上传照片',
|
|
|
|
+ component: () => import('@/views/statistics/uploadImage/index'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '上传照片'
|
|
|
|
+ // icon: 'tree'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'WithdrawalRecord',
|
|
|
|
+ name: '提现记录',
|
|
|
|
+ component: () => import('@/views/statistics/withdrawalRecord/index'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '提现记录'
|
|
|
|
+ // icon: 'tree'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ {
|
|
|
|
+ path: 'financialManagement',
|
|
|
|
+ component: Layout,
|
|
|
|
+ redirect: '/financialManagement/OrderManagement',
|
|
|
|
+ name: '财务管理',
|
|
|
|
+ meta: {
|
|
|
|
+ title: '财务管理',
|
|
|
|
+ icon: 'el-icon-s-help'
|
|
|
|
+ },
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ path: 'OrderManagement',
|
|
|
|
+ name: '订单列表',
|
|
|
|
+ component: () =>
|
|
|
|
+ import('@/views/financialManagement/orderManagement/index'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '订单列表'
|
|
|
|
+ // icon: 'table'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'FundDetail',
|
|
|
|
+ name: '资金明细',
|
|
|
|
+ component: () => import('@/views/financialManagement/fundDetail/index'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '资金明细'
|
|
|
|
+ // icon: 'tree'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+
|
|
{
|
|
{
|
|
path: '/baseManagement',
|
|
path: '/baseManagement',
|
|
component: Layout,
|
|
component: Layout,
|
|
@@ -70,10 +143,19 @@ export const constantRoutes = [
|
|
},
|
|
},
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
|
|
+ path: 'TrendManagement',
|
|
|
|
+ name: '热搜词管理',
|
|
|
|
+ component: () => import('@/views/baseManagement/trending/index'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '热搜词管理'
|
|
|
|
+ // icon: 'tree'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
path: 'BannerManagement',
|
|
path: 'BannerManagement',
|
|
name: 'Banner管理',
|
|
name: 'Banner管理',
|
|
component: () =>
|
|
component: () =>
|
|
- import('@/views/baseManagement/bannerManagement/index'),
|
|
|
|
|
|
+ import('@/views/baseManagement/bannerManagement/index'),
|
|
meta: {
|
|
meta: {
|
|
title: 'Banner管理'
|
|
title: 'Banner管理'
|
|
// icon: 'table'
|
|
// icon: 'table'
|
|
@@ -92,50 +174,51 @@ export const constantRoutes = [
|
|
path: 'ProblemFeedbackManagement',
|
|
path: 'ProblemFeedbackManagement',
|
|
name: '问题反馈管理',
|
|
name: '问题反馈管理',
|
|
component: () =>
|
|
component: () =>
|
|
- import('@/views/baseManagement/problemFeedbackManagement/index'),
|
|
|
|
|
|
+ import('@/views/baseManagement/problemFeedbackManagement/index'),
|
|
meta: {
|
|
meta: {
|
|
title: '问题反馈管理'
|
|
title: '问题反馈管理'
|
|
// icon: 'tree'
|
|
// icon: 'tree'
|
|
}
|
|
}
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: 'TrendManagement',
|
|
|
|
- name: '热搜词管理',
|
|
|
|
- component: () => import('@/views/baseManagement/trending/index'),
|
|
|
|
- meta: {
|
|
|
|
- title: '热搜词管理'
|
|
|
|
- // icon: 'tree'
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
|
|
+
|
|
{
|
|
{
|
|
- path: '/photographerManagement',
|
|
|
|
|
|
+ path: '/photoManagement',
|
|
component: Layout,
|
|
component: Layout,
|
|
- redirect: '/photographerManagement/PhotographerVerify',
|
|
|
|
- name: '摄影师管理',
|
|
|
|
|
|
+ redirect: '/photoManagement/ImageGoodsManagement',
|
|
|
|
+ name: '图片库管理',
|
|
meta: {
|
|
meta: {
|
|
- title: '摄影师管理',
|
|
|
|
|
|
+ title: '图片库管理',
|
|
icon: 'el-icon-s-help'
|
|
icon: 'el-icon-s-help'
|
|
},
|
|
},
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
- path: 'PhotographerVerify',
|
|
|
|
- name: '摄影师审核',
|
|
|
|
|
|
+ path: 'ImageGoodsManagement',
|
|
|
|
+ name: '照片商品管理',
|
|
component: () =>
|
|
component: () =>
|
|
- import('@/views/photographerManagement/photographerVerify/index'),
|
|
|
|
|
|
+ import('@/views/photoManagement/imageGoodsManagement/index'),
|
|
meta: {
|
|
meta: {
|
|
- title: '摄影师审核'
|
|
|
|
|
|
+ title: '照片商品管理'
|
|
// icon: 'table'
|
|
// icon: 'table'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: 'PhotoVerify',
|
|
|
|
- name: '照片管理',
|
|
|
|
|
|
+ path: 'EventsList',
|
|
|
|
+ name: '活动列表',
|
|
|
|
+ component: () => import('@/views/photoManagement/eventsList/index'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '活动列表'
|
|
|
|
+ // icon: 'tree'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'UploadManagement',
|
|
|
|
+ name: '上传照片管理',
|
|
component: () =>
|
|
component: () =>
|
|
- import('@/views/photographerManagement/photoVerify/index'),
|
|
|
|
|
|
+ import('@/views/photoManagement/uploadManagement/index'),
|
|
meta: {
|
|
meta: {
|
|
- title: '照片管理'
|
|
|
|
|
|
+ title: '上传照片管理'
|
|
// icon: 'tree'
|
|
// icon: 'tree'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -143,30 +226,32 @@ export const constantRoutes = [
|
|
},
|
|
},
|
|
|
|
|
|
{
|
|
{
|
|
- path: '/pointsManagement',
|
|
|
|
|
|
+ path: '/photographerManagement',
|
|
component: Layout,
|
|
component: Layout,
|
|
- redirect: '/pointsManagement/PointsDetail',
|
|
|
|
- name: '积分管理',
|
|
|
|
|
|
+ redirect: '/photographerManagement/PhotographerVerify',
|
|
|
|
+ name: '摄影师管理',
|
|
meta: {
|
|
meta: {
|
|
- title: '积分管理',
|
|
|
|
|
|
+ title: '摄影师管理',
|
|
icon: 'el-icon-s-help'
|
|
icon: 'el-icon-s-help'
|
|
},
|
|
},
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
- path: 'PointsDetail',
|
|
|
|
- name: '积分明细',
|
|
|
|
- component: () => import('@/views/pointsManagement/pointsDetail/index'),
|
|
|
|
|
|
+ path: 'PhotographerVerify',
|
|
|
|
+ name: '摄影师审核',
|
|
|
|
+ component: () =>
|
|
|
|
+ import('@/views/photographerManagement/photographerVerify/index'),
|
|
meta: {
|
|
meta: {
|
|
- title: '积分明细'
|
|
|
|
|
|
+ title: '摄影师审核'
|
|
// icon: 'table'
|
|
// icon: 'table'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: 'PointsSetting',
|
|
|
|
- name: '积分设置',
|
|
|
|
- component: () => import('@/views/pointsManagement/pointsSetting/index'),
|
|
|
|
|
|
+ path: 'PhotoVerify',
|
|
|
|
+ name: '照片管理',
|
|
|
|
+ component: () =>
|
|
|
|
+ import('@/views/photographerManagement/photoVerify/index'),
|
|
meta: {
|
|
meta: {
|
|
- title: '积分设置'
|
|
|
|
|
|
+ title: '照片管理'
|
|
// icon: 'tree'
|
|
// icon: 'tree'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -236,6 +321,37 @@ export const constantRoutes = [
|
|
},
|
|
},
|
|
|
|
|
|
{
|
|
{
|
|
|
|
+ path: '/pointsManagement',
|
|
|
|
+ component: Layout,
|
|
|
|
+ redirect: '/pointsManagement/PointsDetail',
|
|
|
|
+ name: '积分管理',
|
|
|
|
+ meta: {
|
|
|
|
+ title: '积分管理',
|
|
|
|
+ icon: 'el-icon-s-help'
|
|
|
|
+ },
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ path: 'PointsDetail',
|
|
|
|
+ name: '积分明细',
|
|
|
|
+ component: () => import('@/views/pointsManagement/pointsDetail/index'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '积分明细'
|
|
|
|
+ // icon: 'table'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'PointsSetting',
|
|
|
|
+ name: '积分设置',
|
|
|
|
+ component: () => import('@/views/pointsManagement/pointsSetting/index'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '积分设置'
|
|
|
|
+ // icon: 'tree'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ {
|
|
path: '/helpInfo',
|
|
path: '/helpInfo',
|
|
component: Layout,
|
|
component: Layout,
|
|
redirect: '/helpInfo/IssueType',
|
|
redirect: '/helpInfo/IssueType',
|
|
@@ -280,7 +396,7 @@ export const constantRoutes = [
|
|
path: 'AccountManagement',
|
|
path: 'AccountManagement',
|
|
name: '账号列表',
|
|
name: '账号列表',
|
|
component: () =>
|
|
component: () =>
|
|
- import('@/views/systemManagement/accountManagement/index'),
|
|
|
|
|
|
+ import('@/views/systemManagement/accountManagement/index'),
|
|
meta: {
|
|
meta: {
|
|
title: '账号列表'
|
|
title: '账号列表'
|
|
// icon: 'table'
|
|
// icon: 'table'
|
|
@@ -290,7 +406,7 @@ export const constantRoutes = [
|
|
path: 'RoleManagement',
|
|
path: 'RoleManagement',
|
|
name: '角色列表',
|
|
name: '角色列表',
|
|
component: () =>
|
|
component: () =>
|
|
- import('@/views/systemManagement/roleManagement/index'),
|
|
|
|
|
|
+ import('@/views/systemManagement/roleManagement/index'),
|
|
meta: {
|
|
meta: {
|
|
title: '角色列表'
|
|
title: '角色列表'
|
|
// icon: 'tree'
|
|
// icon: 'tree'
|
|
@@ -299,120 +415,6 @@ export const constantRoutes = [
|
|
]
|
|
]
|
|
},
|
|
},
|
|
|
|
|
|
- {
|
|
|
|
- path: '/photoManagement',
|
|
|
|
- component: Layout,
|
|
|
|
- redirect: '/photoManagement/ImageGoodsManagement',
|
|
|
|
- name: '图片库管理',
|
|
|
|
- meta: {
|
|
|
|
- title: '图片库管理',
|
|
|
|
- icon: 'el-icon-s-help'
|
|
|
|
- },
|
|
|
|
- children: [
|
|
|
|
- {
|
|
|
|
- path: 'ImageGoodsManagement',
|
|
|
|
- name: '照片商品管理',
|
|
|
|
- component: () =>
|
|
|
|
- import('@/views/photoManagement/imageGoodsManagement/index'),
|
|
|
|
- meta: {
|
|
|
|
- title: '照片商品管理'
|
|
|
|
- // icon: 'table'
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: 'EventsList',
|
|
|
|
- name: '活动列表',
|
|
|
|
- component: () => import('@/views/photoManagement/eventsList/index'),
|
|
|
|
- meta: {
|
|
|
|
- title: '活动列表'
|
|
|
|
- // icon: 'tree'
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: 'UploadManagement',
|
|
|
|
- name: '上传照片管理',
|
|
|
|
- component: () =>
|
|
|
|
- import('@/views/photoManagement/uploadManagement/index'),
|
|
|
|
- meta: {
|
|
|
|
- title: '上传照片管理'
|
|
|
|
- // icon: 'tree'
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
- {
|
|
|
|
- path: 'financialManagement',
|
|
|
|
- component: Layout,
|
|
|
|
- redirect: '/financialManagement/OrderManagement',
|
|
|
|
- name: '财务管理',
|
|
|
|
- meta: {
|
|
|
|
- title: '财务管理',
|
|
|
|
- icon: 'el-icon-s-help'
|
|
|
|
- },
|
|
|
|
- children: [
|
|
|
|
- {
|
|
|
|
- path: 'OrderManagement',
|
|
|
|
- name: '订单列表',
|
|
|
|
- component: () =>
|
|
|
|
- import('@/views/financialManagement/orderManagement/index'),
|
|
|
|
- meta: {
|
|
|
|
- title: '订单列表'
|
|
|
|
- // icon: 'table'
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: 'FundDetail',
|
|
|
|
- name: '资金明细',
|
|
|
|
- component: () => import('@/views/financialManagement/fundDetail/index'),
|
|
|
|
- meta: {
|
|
|
|
- title: '资金明细'
|
|
|
|
- // icon: 'tree'
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
- {
|
|
|
|
- path: 'statistics',
|
|
|
|
- component: Layout,
|
|
|
|
- redirect: '/statistics/DownloadImage',
|
|
|
|
- name: '数据统计',
|
|
|
|
- meta: {
|
|
|
|
- title: '数据统计',
|
|
|
|
- icon: 'el-icon-s-help'
|
|
|
|
- },
|
|
|
|
- children: [
|
|
|
|
- {
|
|
|
|
- path: 'DownloadImage',
|
|
|
|
- name: '下载照片',
|
|
|
|
- component: () => import('@/views/statistics/downloadImage/index'),
|
|
|
|
- meta: {
|
|
|
|
- title: '下载照片'
|
|
|
|
- // icon: 'table'
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: 'UploadImage',
|
|
|
|
- name: '上传照片',
|
|
|
|
- component: () => import('@/views/statistics/uploadImage/index'),
|
|
|
|
- meta: {
|
|
|
|
- title: '上传照片'
|
|
|
|
- // icon: 'tree'
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: 'WithdrawalRecord',
|
|
|
|
- name: '提现记录',
|
|
|
|
- component: () => import('@/views/statistics/withdrawalRecord/index'),
|
|
|
|
- meta: {
|
|
|
|
- title: '提现记录'
|
|
|
|
- // icon: 'tree'
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
// 404 page must be placed at the end !!!
|
|
// 404 page must be placed at the end !!!
|
|
{
|
|
{
|
|
path: '*',
|
|
path: '*',
|