Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
16d5a387
提交
16d5a387
authored
3月 30, 2026
作者:
coderBryanFu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新系统头部标题栏逻辑
上级
4823d47f
显示空白字符变更
内嵌
并排
正在显示
16 个修改的文件
包含
37 行增加
和
24 行删除
+37
-24
index.vue
src/components/base/moduleHeader/index.vue
+3
-9
index.js
src/router/index.js
+2
-1
ZMOverView.js
src/router/modules/ZMOverView.js
+2
-1
bill.js
src/router/modules/bill.js
+2
-1
comprehensiveSearch.js
src/router/modules/comprehensiveSearch.js
+2
-1
cooperationRestrictions.js
src/router/modules/cooperationRestrictions.js
+2
-1
decree.js
src/router/modules/decree.js
+2
-1
exportControl.js
src/router/modules/exportControl.js
+2
-1
finance.js
src/router/modules/finance.js
+2
-1
marketAccessRestrictions.js
src/router/modules/marketAccessRestrictions.js
+2
-1
ruleRestrictions.js
src/router/modules/ruleRestrictions.js
+2
-1
scientificFunding.js
src/router/modules/scientificFunding.js
+2
-1
technologyFigures.js
src/router/modules/technologyFigures.js
+2
-1
thinktank.js
src/router/modules/thinktank.js
+2
-1
writtingAssitant.js
src/router/modules/writtingAssitant.js
+2
-1
index.vue
src/views/home/index.vue
+6
-1
没有找到文件。
src/components/base/moduleHeader/index.vue
浏览文件 @
16d5a387
...
@@ -253,19 +253,13 @@ const handleToModule = (item, index) => {
...
@@ -253,19 +253,13 @@ const handleToModule = (item, index) => {
};
};
const
handleClickTitle
=
(
item
,
index
)
=>
{
const
handleClickTitle
=
(
item
,
index
)
=>
{
if
(
homeActiveTitleIndex
.
value
===
index
)
return
//
if (homeActiveTitleIndex.value === index) return
homeActiveTitleIndex
.
value
=
index
window
.
localStorage
.
setItem
(
'homeActiveTitleIndex'
,
homeActiveTitleIndex
.
value
)
window
.
localStorage
.
setItem
(
'homeActiveTitleIndex'
,
homeActiveTitleIndex
.
value
)
if
(
item
.
name
===
'智能工具'
)
{
if
(
index
===
0
||
index
===
3
)
{
const
curRoute
=
router
.
resolve
({
homeActiveTitleIndex
.
value
=
index
path
:
item
.
path
,
});
window
.
open
(
curRoute
.
href
,
"_blank"
);
}
else
{
router
.
push
(
item
.
path
)
router
.
push
(
item
.
path
)
}
}
};
};
const
handleClickToolBox
=
()
=>
{
const
handleClickToolBox
=
()
=>
{
...
...
src/router/index.js
浏览文件 @
16d5a387
...
@@ -33,7 +33,8 @@ const routes = [
...
@@ -33,7 +33,8 @@ const routes = [
redirect
:
"./dataLibrary/countryBill"
,
redirect
:
"./dataLibrary/countryBill"
,
component
:
DataLibrary
,
component
:
DataLibrary
,
meta
:
{
meta
:
{
title
:
'数据资源库'
title
:
'数据资源库'
,
isShowHeader
:
true
},
},
children
:
[
children
:
[
...
dataRoutes
...
dataRoutes
...
...
src/router/modules/ZMOverView.js
浏览文件 @
16d5a387
...
@@ -11,7 +11,8 @@ const ZMOverviewRoutes = [
...
@@ -11,7 +11,8 @@ const ZMOverviewRoutes = [
name
:
"ZMOverView"
,
name
:
"ZMOverView"
,
component
:
ZMOverview
,
component
:
ZMOverview
,
meta
:
{
meta
:
{
title
:
"ZM博弈概览"
title
:
"ZM博弈概览"
,
isShowHeader
:
true
,
}
}
}
}
...
...
src/router/modules/bill.js
浏览文件 @
16d5a387
...
@@ -24,7 +24,8 @@ const billRoutes = [
...
@@ -24,7 +24,8 @@ const billRoutes = [
name
:
"BillHome"
,
name
:
"BillHome"
,
component
:
BillHome
,
component
:
BillHome
,
meta
:
{
meta
:
{
title
:
"科技法案概览"
title
:
"科技法案概览"
,
isShowHeader
:
true
}
}
},
},
{
{
...
...
src/router/modules/comprehensiveSearch.js
浏览文件 @
16d5a387
...
@@ -27,7 +27,8 @@ const comprehensiveSearchRoutes = [
...
@@ -27,7 +27,8 @@ const comprehensiveSearchRoutes = [
name
:
"chat"
,
name
:
"chat"
,
component
:
Chat
,
component
:
Chat
,
meta
:
{
meta
:
{
title
:
"智能问答"
title
:
"智能问答"
,
isShowHeader
:
true
}
}
}
}
];
];
...
...
src/router/modules/cooperationRestrictions.js
浏览文件 @
16d5a387
...
@@ -9,7 +9,8 @@ const cooperationRestrictionsRoutes = [
...
@@ -9,7 +9,8 @@ const cooperationRestrictionsRoutes = [
name
:
"CooperationRestrictions"
,
name
:
"CooperationRestrictions"
,
component
:
CooperationRestrictions
,
component
:
CooperationRestrictions
,
meta
:
{
meta
:
{
title
:
"合作限制概览"
title
:
"合作限制概览"
,
isShowHeader
:
true
}
}
},
},
// 合作限制详情
// 合作限制详情
...
...
src/router/modules/decree.js
浏览文件 @
16d5a387
...
@@ -19,7 +19,8 @@ const decreeRoutes = [
...
@@ -19,7 +19,8 @@ const decreeRoutes = [
name
:
"Decree"
,
name
:
"Decree"
,
component
:
Decree
,
component
:
Decree
,
meta
:
{
meta
:
{
title
:
"科技政令概况"
title
:
"科技政令概况"
,
isShowHeader
:
true
}
}
},
},
{
{
...
...
src/router/modules/exportControl.js
浏览文件 @
16d5a387
...
@@ -8,7 +8,8 @@ const exportControlRoutes = [
...
@@ -8,7 +8,8 @@ const exportControlRoutes = [
name
:
"ExportControl"
,
name
:
"ExportControl"
,
component
:
ExportControl
,
component
:
ExportControl
,
meta
:
{
meta
:
{
title
:
"出口管制概览"
title
:
"出口管制概览"
,
isShowHeader
:
true
}
}
},
},
{
{
...
...
src/router/modules/finance.js
浏览文件 @
16d5a387
...
@@ -8,7 +8,8 @@ const financeRoutes = [
...
@@ -8,7 +8,8 @@ const financeRoutes = [
name
:
"finance"
,
name
:
"finance"
,
component
:
Finance
,
component
:
Finance
,
meta
:
{
meta
:
{
title
:
"投融资限制概览"
title
:
"投融资限制概览"
,
isShowHeader
:
true
}
}
},
},
...
...
src/router/modules/marketAccessRestrictions.js
浏览文件 @
16d5a387
...
@@ -14,7 +14,8 @@ const marketAccessRestrictionsRoutes = [
...
@@ -14,7 +14,8 @@ const marketAccessRestrictionsRoutes = [
name
:
"MarketAccessRestrictions"
,
name
:
"MarketAccessRestrictions"
,
component
:
MarketAccessRestrictions
,
component
:
MarketAccessRestrictions
,
meta
:
{
meta
:
{
title
:
"市场准入限制概览"
title
:
"市场准入限制概览"
,
isShowHeader
:
true
}
}
},
},
{
{
...
...
src/router/modules/ruleRestrictions.js
浏览文件 @
16d5a387
...
@@ -9,7 +9,8 @@ const ruleRestrictionsRoutes = [
...
@@ -9,7 +9,8 @@ const ruleRestrictionsRoutes = [
name
:
"RuleRestrictions"
,
name
:
"RuleRestrictions"
,
component
:
RuleRestriction
,
component
:
RuleRestriction
,
meta
:
{
meta
:
{
title
:
"规则限制概览"
title
:
"规则限制概览"
,
isShowHeader
:
true
}
}
},
},
// 规则限制详情
// 规则限制详情
...
...
src/router/modules/scientificFunding.js
浏览文件 @
16d5a387
...
@@ -8,7 +8,8 @@ const scientificFundingRoutes = [
...
@@ -8,7 +8,8 @@ const scientificFundingRoutes = [
name
:
"ScientificFunding"
,
name
:
"ScientificFunding"
,
component
:
ScientificFunding
,
component
:
ScientificFunding
,
meta
:
{
meta
:
{
title
:
"M国科研资助体系分析概览"
title
:
"M国科研资助体系分析概览"
,
isShowHeader
:
true
}
}
}
}
...
...
src/router/modules/technologyFigures.js
浏览文件 @
16d5a387
...
@@ -7,7 +7,8 @@ const technologyFiguresRoutes = [
...
@@ -7,7 +7,8 @@ const technologyFiguresRoutes = [
name
:
"TechnologyFigures"
,
name
:
"TechnologyFigures"
,
component
:
TechnologyFigures
,
component
:
TechnologyFigures
,
meta
:
{
meta
:
{
title
:
"M国科技人物观点分析概览"
title
:
"M国科技人物观点分析概览"
,
isShowHeader
:
true
}
}
}
}
...
...
src/router/modules/thinktank.js
浏览文件 @
16d5a387
...
@@ -13,7 +13,8 @@ const thinktankRoutes = [
...
@@ -13,7 +13,8 @@ const thinktankRoutes = [
name
:
"thinkTank"
,
name
:
"thinkTank"
,
component
:
thinkTank
,
component
:
thinkTank
,
meta
:
{
meta
:
{
title
:
"科技智库概览"
title
:
"科技智库概览"
,
isShowHeader
:
true
}
}
},
},
{
{
...
...
src/router/modules/writtingAssitant.js
浏览文件 @
16d5a387
...
@@ -8,7 +8,8 @@ const writtingRoutes = [
...
@@ -8,7 +8,8 @@ const writtingRoutes = [
name
:
"writtingAsstaint"
,
name
:
"writtingAsstaint"
,
component
:
WrittingAsstaint
,
component
:
WrittingAsstaint
,
meta
:
{
meta
:
{
title
:
"智能写报"
title
:
"智能写报"
,
isShowHeader
:
true
}
}
}
}
...
...
src/views/home/index.vue
浏览文件 @
16d5a387
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
id=
"home-wrapper"
>
<div
id=
"home-wrapper"
>
<div
class=
"pro-wrapper"
>
<div
class=
"pro-wrapper"
>
<div
class=
"home-page"
>
<div
class=
"home-page"
>
<ModuleHeader
/>
<ModuleHeader
v-if=
"isShowHeader"
/>
<div
class=
"main-container"
>
<div
class=
"main-container"
>
<router-view
/>
<router-view
/>
</div>
</div>
...
@@ -96,6 +96,11 @@ import { ElMessage } from "element-plus";
...
@@ -96,6 +96,11 @@ import { ElMessage } from "element-plus";
const
router
=
useRouter
();
const
router
=
useRouter
();
const
route
=
useRoute
();
const
route
=
useRoute
();
const
isShowHeader
=
computed
(()
=>
{
const
isShow
=
route
.
meta
.
isShowHeader
return
isShow
?
true
:
false
})
const
isShowAiBox
=
ref
(
false
);
const
isShowAiBox
=
ref
(
false
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论