Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
635c86d8
提交
635c86d8
authored
11月 19, 2025
作者:
coderBryanFu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
1179583c
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
350 行增加
和
339 行删除
+350
-339
index.js
src/router/index.js
+350
-339
没有找到文件。
src/router/index.js
浏览文件 @
635c86d8
...
@@ -59,347 +59,358 @@ import SearchResults from '@/views/comprehensiveSearch/searchResults/index.vue'
...
@@ -59,347 +59,358 @@ import SearchResults from '@/views/comprehensiveSearch/searchResults/index.vue'
import
Chat
from
'@/views/comprehensiveSearch/chat/index.vue'
import
Chat
from
'@/views/comprehensiveSearch/chat/index.vue'
const
routes
=
[
const
routes
=
[
// 智能写报
// 智能写报
{
{
path
:
"/writtingAsstaint"
,
path
:
"/writtingAsstaint"
,
name
:
"writtingAsstaint"
,
name
:
"writtingAsstaint"
,
component
:
WrittingAsstaint
,
component
:
WrittingAsstaint
,
meta
:
{
meta
:
{
title
:
"智能写报"
title
:
"智能写报"
}
}
},
},
{
path
:
"/"
,
redirect
:
"/billHome"
},
{
// 中美博弈概览页面路由
path
:
"/"
,
{
redirect
:
"/billHome"
path
:
"/overView"
,
},
name
:
"overView"
,
component
:
overView
,
meta
:
{
title
:
"法案首页"
}
},
// 智库系统的主要路由
{
path
:
"/thinkTank"
,
name
:
"thinkTank"
,
component
:
thinkTank
,
meta
:
{
title
:
"首页"
}
},
{
path
:
"/think-tank/:id"
,
name
:
"ThinkTankDetail"
,
component
:
ThinkTankDetail
,
meta
:
{
title
:
"智库详情"
}
},
{
path
:
"/report/:id"
,
name
:
"ReportDetail"
,
component
:
ReportDetail
,
meta
:
{
title
:
"报告详情"
}
},
// 中美博弈概览页面路由
// 法案系统路由
{
{
path
:
"/overView"
,
path
:
"/billHome"
,
name
:
"overView"
,
name
:
"BillHome"
,
component
:
overView
,
component
:
BillHome
,
meta
:
{
meta
:
{
title
:
"法案首页"
title
:
"法案首页"
}
}
},
},
{
path
:
"/billLayout"
,
name
:
"BillLayoutContainer"
,
component
:
BillLayoutContainer
,
redirect
:
"/billLayout/bill"
,
meta
:
{
title
:
"法案布局"
},
children
:
[
// 法案分析路由
{
path
:
"bill"
,
name
:
"BillLayout"
,
component
:
BillLayout
,
redirect
:
"/billLayout/bill/introduction"
,
meta
:
{
title
:
"法案分析"
},
children
:
[
{
path
:
"introduction"
,
name
:
"BillIntroduction"
,
component
:
BillIntroduction
,
meta
:
{
title
:
"法案简介"
}
},
{
path
:
"background"
,
name
:
"BillBackground"
,
component
:
BillBackground
,
meta
:
{
title
:
"法案背景"
}
},
{
path
:
"template"
,
name
:
"BillTemplate"
,
component
:
BillTemplate
,
meta
:
{
title
:
"内容概要"
}
}
]
},
// 深度挖掘路由
{
path
:
"deepDig"
,
name
:
"BillDeepDigLayout"
,
component
:
BillDeepDigLayout
,
redirect
:
"/billLayout/deepDig/processOverview"
,
meta
:
{
title
:
"深度挖掘"
},
children
:
[
{
path
:
"processOverview"
,
name
:
"BillDeepDigProcessOverview"
,
component
:
BillDeepDigProcessOverview
,
meta
:
{
title
:
"流程概要"
}
},
{
path
:
"processAnalysis"
,
name
:
"BillDeepDigProcessAnalysis"
,
component
:
BillDeepDigProcessAnalysis
,
meta
:
{
title
:
"流程分析"
}
},
{
path
:
"poliContribution"
,
name
:
"BillDeepDigPoliContribution"
,
component
:
BillDeepDigPoliContribution
,
meta
:
{
title
:
"政治献金"
}
}
]
},
// 影响分析路由
{
path
:
"influence"
,
name
:
"BillInfluenceLayout"
,
component
:
BillInfluenceLayout
,
redirect
:
"/billLayout/influence/industry"
,
meta
:
{
title
:
"影响分析"
},
children
:
[
{
path
:
"industry"
,
name
:
"BillInfluenceIndustry"
,
component
:
BillInfluenceIndustry
,
meta
:
{
title
:
"对华产业影响"
}
},
{
path
:
"scientificResearch"
,
name
:
"BillInfluenceScientificResearch"
,
component
:
BillInfluenceScientificResearch
,
meta
:
{
title
:
"对华科研影响"
}
}
]
},
{
path
:
"relevantCircumstance"
,
name
:
"BillRelevantCircumstance"
,
component
:
BillRelevantCircumstance
,
meta
:
{
title
:
"相关情况"
}
}
]
},
// 智库系统的主要路由
// 出口管制首页
{
{
path
:
"/thinkTank"
,
path
:
"/exportControl"
,
name
:
"thinkTank"
,
name
:
"ExportControl"
,
component
:
thinkTank
,
component
:
ExportControl
,
meta
:
{
meta
:
{
title
:
"首页"
title
:
"出口管制"
}
}
},
},
{
path
:
"/think-tank/:id"
,
name
:
"ThinkTankDetail"
,
component
:
ThinkTankDetail
,
meta
:
{
title
:
"智库详情"
}
},
{
path
:
"/report/:id"
,
name
:
"ReportDetail"
,
component
:
ReportDetail
,
meta
:
{
title
:
"报告详情"
}
},
// 法案系统路由
// 政令首页
{
{
path
:
"/billHome"
,
path
:
"/decree"
,
name
:
"BillHome"
,
name
:
"Decree"
,
component
:
BillHome
,
component
:
Decree
,
meta
:
{
meta
:
{
title
:
"法案首页"
title
:
"政令"
}
}
},
},
{
{
path
:
"/billLayout"
,
path
:
"/decreeLayout"
,
name
:
"BillLayoutContainer"
,
name
:
"DecreeLayoutContainer"
,
component
:
BillLayoutContainer
,
component
:
DecreeLayoutContainer
,
redirect
:
"/billLayout/bill"
,
redirect
:
"/decreeLayout/overview"
,
meta
:
{
meta
:
{
title
:
"法案布局"
title
:
"政令布局"
},
},
children
:
[
children
:
[
// 法案分析路由
{
{
path
:
"overview"
,
path
:
"bill"
,
name
:
"DecreeOverviewLayout"
,
name
:
"BillLayout"
,
component
:
DecreeOverviewLayout
,
component
:
BillLayout
,
redirect
:
"/decreeLayout/overview/introduction"
,
redirect
:
"/billLayout/bill/introduction"
,
meta
:
{
meta
:
{
title
:
"政令概况"
title
:
"法案分析"
},
},
children
:
[
children
:
[
{
{
path
:
"introduction"
,
path
:
"introduction"
,
name
:
"DecreeIntroduction"
,
name
:
"BillIntroduction"
,
component
:
DecreeIntroduction
,
component
:
BillIntroduction
,
meta
:
{
title
:
"政令简介"
}
meta
:
{
title
:
"法案简介"
}
},
},
{
{
path
:
"background"
,
path
:
"background"
,
name
:
"DecreeBackground"
,
name
:
"BillBackground"
,
component
:
DecreeBackground
,
component
:
BillBackground
,
meta
:
{
title
:
"政令背景"
}
meta
:
{
title
:
"法案背景"
}
}
},
]
{
},
path
:
"template"
,
// 深度挖掘路由
name
:
"BillTemplate"
,
{
component
:
BillTemplate
,
path
:
"deepDig"
,
meta
:
{
title
:
"内容概要"
}
name
:
"DeepDig"
,
}
component
:
DecreeDeepDig
,
]
meta
:
{
},
title
:
"深度挖掘"
// 深度挖掘路由
}
{
},
path
:
"deepDig"
,
// 影响分析路由
name
:
"BillDeepDigLayout"
,
{
component
:
BillDeepDigLayout
,
path
:
"influence"
,
redirect
:
"/billLayout/deepDig/processOverview"
,
name
:
"DecreeInfluence"
,
meta
:
{
component
:
DecreeInfluence
,
title
:
"深度挖掘"
meta
:
{
},
title
:
"影响分析"
children
:
[
}
{
}
path
:
"processOverview"
,
]
name
:
"BillDeepDigProcessOverview"
,
},
component
:
BillDeepDigProcessOverview
,
meta
:
{
title
:
"流程概要"
}
},
{
path
:
"processAnalysis"
,
name
:
"BillDeepDigProcessAnalysis"
,
component
:
BillDeepDigProcessAnalysis
,
meta
:
{
title
:
"流程分析"
}
},
{
path
:
"poliContribution"
,
name
:
"BillDeepDigPoliContribution"
,
component
:
BillDeepDigPoliContribution
,
meta
:
{
title
:
"政治献金"
}
}
]
},
// 影响分析路由
{
path
:
"influence"
,
name
:
"BillInfluenceLayout"
,
component
:
BillInfluenceLayout
,
redirect
:
"/billLayout/influence/industry"
,
meta
:
{
title
:
"影响分析"
},
children
:
[
{
path
:
"industry"
,
name
:
"BillInfluenceIndustry"
,
component
:
BillInfluenceIndustry
,
meta
:
{
title
:
"对华产业影响"
}
},
{
path
:
"scientificResearch"
,
name
:
"BillInfluenceScientificResearch"
,
component
:
BillInfluenceScientificResearch
,
meta
:
{
title
:
"对华科研影响"
}
}
]
},
{
path
:
"relevantCircumstance"
,
name
:
"BillRelevantCircumstance"
,
component
:
BillRelevantCircumstance
,
meta
:
{
title
:
"相关情况"
}
}
]
},
// 出口管制首页
// 市场准入限制首页
{
{
path
:
"/exportControl"
,
path
:
"/marketAccessRestrictions"
,
name
:
"ExportControl"
,
name
:
"MarketAccessRestrictions"
,
component
:
ExportControl
,
component
:
MarketAccessRestrictions
,
meta
:
{
meta
:
{
title
:
"出口管制"
title
:
"市场准入限制"
}
}
},
},
{
path
:
"/marketAccessLayout"
,
name
:
"MarketAccessLayout"
,
component
:
MarketAccessLayout
,
redirect
:
"/marketAccessLayout/overview"
,
meta
:
{
title
:
"市场准入限制布局"
},
children
:
[
{
path
:
"overview"
,
name
:
"MarketAccessOverview"
,
component
:
MarketAccessOverview
,
meta
:
{
title
:
"调查概况"
}
},
{
path
:
"case"
,
name
:
"MarketAccessCase"
,
component
:
MarketAccessCase
,
meta
:
{
title
:
"调查案件"
}
}
]
},
{
path
:
"/marketSingleCaseLayout"
,
name
:
"MarketSingleCaseLayout"
,
component
:
MarketSingleCaseLayout
,
redirect
:
"/marketSingleCaseLayout/overview"
,
meta
:
{
title
:
"单次调查案件布局"
},
children
:
[
{
path
:
"overview"
,
name
:
"MarketSingleCaseOverview"
,
component
:
MarketSingleCaseOverview
,
meta
:
{
title
:
"调查简介"
}
},
{
path
:
"deepdig"
,
name
:
"MarketSingleCaseDeepdig"
,
component
:
MarketSingleCaseDeepdig
,
meta
:
{
title
:
"深度挖掘"
}
}
]
},
// 政令首页
// 出口管制转移过来的页面
{
{
path
:
"/decree"
,
path
:
"/exportControl/analysis"
,
name
:
"Decree"
,
name
:
"analysis"
,
component
:
Decree
,
component
:
()
=>
import
(
"@/views/exportControl/analysis/index.vue"
),
meta
:
{
meta
:
{
title
:
"政令"
title
:
"分析页"
}
}
},
},
{
{
path
:
"/decreeLayout"
,
path
:
"/exportControl/infoplatform"
,
name
:
"DecreeLayoutContainer"
,
name
:
"infoplatform"
,
component
:
DecreeLayoutContainer
,
component
:
()
=>
import
(
"@/views/exportControl/infoPlatform/index.vue"
),
redirect
:
"/decreeLayout/overview"
,
meta
:
{
meta
:
{
title
:
"信息平台"
title
:
"政令布局"
}
},
},
children
:
[
{
{
path
:
"/exportControl/rulelimit"
,
path
:
"overview"
,
name
:
"rulelimit"
,
name
:
"DecreeOverviewLayout"
,
component
:
()
=>
import
(
"@/views/exportControl/ruleLimit/index.vue"
),
component
:
DecreeOverviewLayout
,
meta
:
{
redirect
:
"/decreeLayout/overview/introduction"
,
title
:
"规则限制"
meta
:
{
}
title
:
"政令概况"
},
},
{
children
:
[
path
:
"/exportControl/ruledetail"
,
{
name
:
"ruledetail"
,
path
:
"introduction"
,
component
:
()
=>
import
(
"@/views/exportControl/ruleDetail/index.vue"
),
name
:
"DecreeIntroduction"
,
meta
:
{
component
:
DecreeIntroduction
,
title
:
"规则详情"
meta
:
{
title
:
"政令简介"
}
}
},
},
{
{
path
:
"background"
,
path
:
"/exportControl/researchfunding"
,
name
:
"DecreeBackground"
,
name
:
"researchfunding"
,
component
:
DecreeBackground
,
component
:
()
=>
import
(
"@/views/exportControl/researchFunding/index.vue"
),
meta
:
{
title
:
"政令背景"
}
meta
:
{
}
title
:
"科研资助"
]
}
},
},
// 深度挖掘路由
{
path
:
"deepDig"
,
name
:
"DeepDig"
,
component
:
DecreeDeepDig
,
meta
:
{
title
:
"深度挖掘"
}
},
// 影响分析路由
{
path
:
"influence"
,
name
:
"DecreeInfluence"
,
component
:
DecreeInfluence
,
meta
:
{
title
:
"影响分析"
}
}
]
},
// 市场准入限制首页
// 投融资限制
{
{
path
:
"/marketAccessRestrictions"
,
path
:
"/finance"
,
name
:
"MarketAccessRestrictions"
,
name
:
"finance"
,
component
:
MarketAccessRestrictions
,
component
:
Finance
,
meta
:
{
meta
:
{
title
:
"市场准入限制"
title
:
"投融资限制"
}
}
},
},
{
path
:
"/marketAccessLayout"
,
name
:
"MarketAccessLayout"
,
component
:
MarketAccessLayout
,
redirect
:
"/marketAccessLayout/overview"
,
meta
:
{
title
:
"市场准入限制布局"
},
children
:
[
{
path
:
"overview"
,
name
:
"MarketAccessOverview"
,
component
:
MarketAccessOverview
,
meta
:
{
title
:
"调查概况"
}
},
{
path
:
"case"
,
name
:
"MarketAccessCase"
,
component
:
MarketAccessCase
,
meta
:
{
title
:
"调查案件"
}
}
]
},
{
path
:
"/marketSingleCaseLayout"
,
name
:
"MarketSingleCaseLayout"
,
component
:
MarketSingleCaseLayout
,
redirect
:
"/marketSingleCaseLayout/overview"
,
meta
:
{
title
:
"单次调查案件布局"
},
children
:
[
{
path
:
"overview"
,
name
:
"MarketSingleCaseOverview"
,
component
:
MarketSingleCaseOverview
,
meta
:
{
title
:
"调查简介"
}
},
{
path
:
"deepdig"
,
name
:
"MarketSingleCaseDeepdig"
,
component
:
MarketSingleCaseDeepdig
,
meta
:
{
title
:
"深度挖掘"
}
}
]
},
// 出口管制转移过来的页面
{
path
:
"/exportControl/analysis"
,
name
:
"analysis"
,
component
:
()
=>
import
(
"@/views/exportControl/analysis/index.vue"
),
meta
:
{
title
:
"分析页"
}
},
{
path
:
"/exportControl/infoplatform"
,
name
:
"infoplatform"
,
component
:
()
=>
import
(
"@/views/exportControl/infoPlatform/index.vue"
),
meta
:
{
title
:
"信息平台"
}
},
{
path
:
"/exportControl/rulelimit"
,
name
:
"rulelimit"
,
component
:
()
=>
import
(
"@/views/exportControl/ruleLimit/index.vue"
),
meta
:
{
title
:
"规则限制"
}
},
{
path
:
"/exportControl/ruledetail"
,
name
:
"ruledetail"
,
component
:
()
=>
import
(
"@/views/exportControl/ruleDetail/index.vue"
),
meta
:
{
title
:
"规则详情"
}
},
{
path
:
"/exportControl/researchfunding"
,
name
:
"researchfunding"
,
component
:
()
=>
import
(
"@/views/exportControl/researchFunding/index.vue"
),
meta
:
{
title
:
"科研资助"
}
},
// 门户
// 门户
{
{
...
@@ -447,16 +458,16 @@ const routes = [
...
@@ -447,16 +458,16 @@ const routes = [
];
];
const
router
=
createRouter
({
const
router
=
createRouter
({
history
:
createWebHistory
(),
history
:
createWebHistory
(),
routes
routes
});
});
// 路由守卫 - 设置页面标题
// 路由守卫 - 设置页面标题
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
if
(
to
.
meta
.
title
)
{
if
(
to
.
meta
.
title
)
{
// document.title = `${to.meta.title} - Think Tank`
// document.title = `${to.meta.title} - Think Tank`
}
}
next
();
next
();
});
});
export
default
router
;
export
default
router
;
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论