2025-06-24 18:19:34 +08:00
|
|
|
/**
|
|
|
|
|
* 资产营销平台
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import { IconBookmark } from '@arco-design/web-vue/es/icon';
|
|
|
|
|
import type { AppRouteRecordRaw } from '../types';
|
|
|
|
|
import { MENU_GROUP_IDS } from '@/router/constants';
|
|
|
|
|
|
|
|
|
|
const COMPONENTS: AppRouteRecordRaw[] = [
|
|
|
|
|
{
|
|
|
|
|
path: '/repository',
|
|
|
|
|
name: 'Repository',
|
|
|
|
|
redirect: 'repository/brandMaterials',
|
|
|
|
|
meta: {
|
2025-06-27 18:31:53 +08:00
|
|
|
locale: '品牌资产管理',
|
2025-06-24 18:19:34 +08:00
|
|
|
icon: IconBookmark,
|
|
|
|
|
requiresAuth: true,
|
|
|
|
|
roles: ['*'],
|
|
|
|
|
requiresSidebar: true,
|
|
|
|
|
id: MENU_GROUP_IDS.PROPERTY_ID,
|
|
|
|
|
},
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: 'brandMaterials',
|
|
|
|
|
name: 'RepositoryBrandMaterials',
|
|
|
|
|
meta: {
|
2025-06-27 18:31:53 +08:00
|
|
|
locale: '品牌信息',
|
2025-06-24 18:19:34 +08:00
|
|
|
requiresAuth: true,
|
|
|
|
|
roles: ['*'],
|
2025-07-04 14:49:36 +08:00
|
|
|
menuId: 11,
|
2025-06-24 18:19:34 +08:00
|
|
|
},
|
2025-06-27 18:31:53 +08:00
|
|
|
component: () => import('@/views/property-marketing/brands/brand-materials/index.vue'),
|
2025-06-24 18:19:34 +08:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/media-account',
|
|
|
|
|
name: 'MediaAccount',
|
|
|
|
|
redirect: 'media-account/accountManagement',
|
|
|
|
|
meta: {
|
2025-07-02 15:30:13 +08:00
|
|
|
locale: '账号资源中心',
|
2025-06-24 18:19:34 +08:00
|
|
|
icon: IconBookmark,
|
|
|
|
|
requiresAuth: true,
|
|
|
|
|
roles: ['*'],
|
|
|
|
|
requiresSidebar: true,
|
|
|
|
|
id: MENU_GROUP_IDS.PROPERTY_ID,
|
|
|
|
|
},
|
|
|
|
|
children: [
|
|
|
|
|
{
|
2025-06-28 11:31:49 +08:00
|
|
|
path: 'manage',
|
2025-06-24 18:19:34 +08:00
|
|
|
name: 'MediaAccountAccountManagement',
|
|
|
|
|
meta: {
|
|
|
|
|
locale: '账号管理',
|
|
|
|
|
requiresAuth: true,
|
|
|
|
|
roles: ['*'],
|
2025-07-04 14:49:36 +08:00
|
|
|
menuId: 12,
|
2025-06-24 18:19:34 +08:00
|
|
|
},
|
2025-06-25 18:26:03 +08:00
|
|
|
component: () => import('@/views/property-marketing/media-account/account-manage'),
|
2025-06-24 18:19:34 +08:00
|
|
|
},
|
|
|
|
|
{
|
2025-06-28 11:31:49 +08:00
|
|
|
path: 'dashboard',
|
2025-06-24 18:19:34 +08:00
|
|
|
name: 'MediaAccountAccountDashboard',
|
|
|
|
|
meta: {
|
2025-06-27 18:37:42 +08:00
|
|
|
locale: '账号数据看板',
|
2025-06-24 18:19:34 +08:00
|
|
|
requiresAuth: true,
|
|
|
|
|
roles: ['*'],
|
|
|
|
|
},
|
2025-06-27 18:37:42 +08:00
|
|
|
component: () => import('@/views/property-marketing/media-account/account-dashboard'),
|
2025-06-24 18:19:34 +08:00
|
|
|
},
|
|
|
|
|
{
|
2025-06-28 11:31:49 +08:00
|
|
|
path: 'detail/:id',
|
2025-06-24 18:19:34 +08:00
|
|
|
name: 'MediaAccountAccountDetails',
|
|
|
|
|
meta: {
|
|
|
|
|
locale: '账号详情',
|
|
|
|
|
requiresAuth: true,
|
|
|
|
|
roles: ['*'],
|
2025-06-28 11:31:49 +08:00
|
|
|
hideInMenu: true,
|
|
|
|
|
activeMenu: 'MediaAccountAccountDashboard',
|
2025-06-24 18:19:34 +08:00
|
|
|
},
|
2025-06-28 11:31:49 +08:00
|
|
|
component: () => import('@/views/property-marketing/media-account/account-detail'),
|
2025-06-24 18:19:34 +08:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/put-account',
|
|
|
|
|
name: 'PutAccount',
|
|
|
|
|
redirect: 'put-account/accountManagement',
|
|
|
|
|
meta: {
|
2025-06-27 18:31:53 +08:00
|
|
|
locale: '投放资源中心',
|
2025-06-24 18:19:34 +08:00
|
|
|
icon: IconBookmark,
|
|
|
|
|
requiresAuth: true,
|
|
|
|
|
roles: ['*'],
|
|
|
|
|
requiresSidebar: true,
|
|
|
|
|
id: MENU_GROUP_IDS.PROPERTY_ID,
|
|
|
|
|
},
|
|
|
|
|
children: [
|
|
|
|
|
{
|
2025-06-28 15:28:54 +08:00
|
|
|
path: 'manage',
|
2025-06-24 18:19:34 +08:00
|
|
|
name: 'PutAccountAccountManagement',
|
|
|
|
|
meta: {
|
2025-07-02 15:30:13 +08:00
|
|
|
locale: '账户管理',
|
2025-06-24 18:19:34 +08:00
|
|
|
requiresAuth: true,
|
|
|
|
|
roles: ['*'],
|
2025-07-04 14:49:36 +08:00
|
|
|
menuId: 13,
|
2025-06-24 18:19:34 +08:00
|
|
|
},
|
2025-06-25 18:26:03 +08:00
|
|
|
component: () => import('@/views/property-marketing/put-account/account-manage'),
|
2025-06-24 18:19:34 +08:00
|
|
|
},
|
|
|
|
|
{
|
2025-06-28 15:28:54 +08:00
|
|
|
path: 'data',
|
2025-06-24 18:19:34 +08:00
|
|
|
name: 'PutAccountAccountData',
|
|
|
|
|
meta: {
|
2025-07-02 15:30:13 +08:00
|
|
|
locale: '账户数据',
|
2025-06-24 18:19:34 +08:00
|
|
|
requiresAuth: true,
|
|
|
|
|
roles: ['*'],
|
|
|
|
|
},
|
2025-06-28 15:28:54 +08:00
|
|
|
component: () => import('@/views/property-marketing/put-account/account-data'),
|
2025-06-24 18:19:34 +08:00
|
|
|
},
|
|
|
|
|
{
|
2025-06-27 18:31:53 +08:00
|
|
|
path: 'account-dashboard',
|
2025-06-24 18:19:34 +08:00
|
|
|
name: 'PutAccountAccountDashboard',
|
|
|
|
|
meta: {
|
2025-06-27 18:31:53 +08:00
|
|
|
locale: '投放表现分析',
|
2025-06-24 18:19:34 +08:00
|
|
|
requiresAuth: true,
|
|
|
|
|
roles: ['*'],
|
|
|
|
|
},
|
2025-06-27 18:31:53 +08:00
|
|
|
component: () => import('@/views/property-marketing/put-account/account-dashboard'),
|
2025-06-24 18:19:34 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'investmentGuidelines',
|
|
|
|
|
name: 'PutAccountInvestmentGuidelines',
|
|
|
|
|
meta: {
|
2025-07-02 15:30:13 +08:00
|
|
|
locale: '平台投放指南',
|
2025-06-24 18:19:34 +08:00
|
|
|
requiresAuth: true,
|
|
|
|
|
roles: ['*'],
|
|
|
|
|
},
|
2025-06-27 16:26:03 +08:00
|
|
|
component: () => import('@/views/property-marketing/put-account/investment-guidelines'),
|
2025-06-24 18:19:34 +08:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/intelligent-solution',
|
|
|
|
|
name: 'IntelligentSolution',
|
|
|
|
|
redirect: 'intelligent-solution/businessAnalysisReport',
|
|
|
|
|
meta: {
|
|
|
|
|
locale: '智能方案管理',
|
|
|
|
|
icon: IconBookmark,
|
|
|
|
|
requiresAuth: true,
|
|
|
|
|
roles: ['*'],
|
|
|
|
|
requiresSidebar: true,
|
|
|
|
|
id: MENU_GROUP_IDS.PROPERTY_ID,
|
|
|
|
|
},
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: 'businessAnalysisReport',
|
|
|
|
|
name: 'IntelligentSolutionBusinessAnalysisReport',
|
|
|
|
|
meta: {
|
2025-06-30 11:36:11 +08:00
|
|
|
locale: '业务洞察报告',
|
2025-06-24 18:19:34 +08:00
|
|
|
requiresAuth: true,
|
|
|
|
|
roles: ['*'],
|
2025-07-04 14:49:36 +08:00
|
|
|
menuId: 14,
|
2025-06-24 18:19:34 +08:00
|
|
|
},
|
2025-06-26 11:35:23 +08:00
|
|
|
component: () => import('@/views/property-marketing/intelligent-solution/businessAnalysisReport'),
|
2025-06-24 18:19:34 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'competitiveProductAnalysisReport',
|
|
|
|
|
name: 'IntelligentSolutionCompetitiveProductAnalysisReport',
|
|
|
|
|
meta: {
|
2025-06-30 11:36:11 +08:00
|
|
|
locale: '竟品对比报告',
|
2025-06-24 18:19:34 +08:00
|
|
|
requiresAuth: true,
|
|
|
|
|
roles: ['*'],
|
|
|
|
|
},
|
2025-06-26 11:35:23 +08:00
|
|
|
component: () => import('@/views/property-marketing/intelligent-solution/competitiveProductAnalysisReport'),
|
2025-06-24 18:19:34 +08:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
export default COMPONENTS;
|