Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
9aa0462e
提交
9aa0462e
authored
12月 23, 2025
作者:
coderBryanFu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
199f9d95
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
162 行增加
和
15 行删除
+162
-15
index.js
src/api/institution/index.js
+65
-0
index.vue
src/views/decree/decreeHome/index.vue
+6
-1
barChart.js
src/views/decree/decreeLayout/influence/utils/barChart.js
+2
-2
index.vue
src/views/decree/institution/deepdig/index.vue
+56
-7
index.vue
src/views/decree/institution/index.vue
+33
-5
index.vue
src/views/decree/institution/insDetail/index.vue
+0
-0
没有找到文件。
src/api/institution/index.js
0 → 100644
浏览文件 @
9aa0462e
import
request
from
"@/api/request.js"
;
// 头部信息
/**
* @param { id }
*/
export
function
getGovOrgBasicInfo
(
params
)
{
return
request
({
method
:
'GET'
,
url
:
`/api/governmentOrg/info/
${
params
.
id
}
`
,
params
})
}
// 最新动态
/**
* @param { orgId, cRelated, currentPage, pageSize }
*/
export
function
getGovOrgLatestDynamics
(
params
)
{
return
request
({
method
:
'GET'
,
url
:
`/api/governmentOrg/dynamics/
${
params
.
orgId
}
`
,
params
})
}
// 基本信息-关键人物
/**
* @param { orgId }
*/
export
function
getGovOrgKeyPerson
(
params
)
{
return
request
({
method
:
'GET'
,
url
:
`/api/governmentOrg/person/
${
params
.
orgId
}
`
,
params
})
}
// 深度挖掘--------------------------------------------------
// 资助企业情况
/**
* @param { orgId }
*/
export
function
getGovOrgCompanyArea
(
params
)
{
return
request
({
method
:
'GET'
,
url
:
`/api/governmentOrg/field/
${
params
.
orgId
}
`
,
params
})
}
// 主要科技政策观点
/**
* @param { orgId }
*/
export
function
getGovOrgOpinions
(
params
)
{
return
request
({
method
:
'GET'
,
url
:
`/api/governmentOrg/keyWord/
${
params
.
orgId
}
`
,
params
})
}
\ No newline at end of file
src/views/decree/decreeHome/index.vue
浏览文件 @
9aa0462e
...
...
@@ -540,7 +540,12 @@ import Message3 from "./assets/images/message-icon3.png";
// 跳转行政机构主页
const
handleToInstitution
=
item
=>
{
const
curRoute
=
router
.
resolve
(
"/institution"
);
const
curRoute
=
router
.
resolve
({
path
:
"/institution"
,
query
:
{
id
:
item
.
id
}
}
);
window
.
open
(
curRoute
.
href
,
"_blank"
);
}
;
...
...
src/views/decree/decreeLayout/influence/utils/barChart.js
浏览文件 @
9aa0462e
...
...
@@ -6,7 +6,7 @@ const getBarChart = (nameList, valueList) => {
tooltip
:
{},
grid
:
{
top
:
'3%'
,
right
:
'7%'
,
right
:
40
,
bottom
:
'1%'
,
left
:
'1%'
,
containLabel
:
true
...
...
@@ -55,7 +55,7 @@ const getBarChart = (nameList, valueList) => {
barWidth
:
8
,
label
:
{
show
:
true
,
position
:
[
3
55
,
0
],
position
:
[
3
30
,
0
],
formatter
:
function
(
params
)
{
return
params
.
value
}
...
...
src/views/decree/institution/deepdig/index.vue
浏览文件 @
9aa0462e
...
...
@@ -115,15 +115,21 @@
<div
class=
"box4-main-right-main"
>
<div
class=
"box4-main-right-item"
>
<div
class=
"icon"
></div>
<div
class=
"text"
>
{{
'在2016年和2024年的总统竞选中,卢特尼克利用其在金融界的影响力,为特朗普筹集了数千万美元的竞选资金,并个人捐赠了1000万美元。'
}}
</div>
<div
class=
"text"
>
{{
"在2016年和2024年的总统竞选中,卢特尼克利用其在金融界的影响力,为特朗普筹集了数千万美元的竞选资金,并个人捐赠了1000万美元。"
}}
</div>
</div>
<div
class=
"box4-main-right-item"
>
<div
class=
"box4-main-right-item"
>
<div
class=
"icon"
></div>
<div
class=
"text"
>
{{
'提名霍华德·卢特尼克担任商务部长,赋予其直接监督美国贸易代表办公室(USTR)的权力。'
}}
</div>
<div
class=
"text"
>
{{
"提名霍华德·卢特尼克担任商务部长,赋予其直接监督美国贸易代表办公室(USTR)的权力。"
}}
</div>
</div>
<div
class=
"box4-main-right-item"
>
<div
class=
"box4-main-right-item"
>
<div
class=
"icon"
></div>
<div
class=
"text"
>
{{
'在接受CBS News采访时强调,特朗普政府的政策“是美国历史上最重要的”。'
}}
</div>
<div
class=
"text"
>
{{
"在接受CBS News采访时强调,特朗普政府的政策“是美国历史上最重要的”。"
}}
</div>
</div>
</div>
</div>
...
...
@@ -146,12 +152,15 @@
<
script
setup
>
import
{
ref
,
computed
,
onMounted
}
from
"vue"
;
import
{
useRoute
}
from
"vue-router"
;
import
setChart
from
"@/utils/setChart"
;
import
getSankeyChart
from
"./utils/sankey"
;
import
getPieChart
from
"./utils/piechart"
;
import
getWordCloudChart
from
"./utils/worldCloudChart"
;
import
getGraphChart
from
"./utils/graph"
;
import
{
getGovOrgCompanyArea
,
getGovOrgOpinions
}
from
"@/api/institution/index"
;
import
Img
from
"./assets/images/9.png"
;
import
Img1
from
"./assets/images/1.png"
;
import
Img2
from
"./assets/images/2.png"
;
...
...
@@ -162,6 +171,8 @@ import Img6 from "./assets/images/6.png";
import
Img7
from
"./assets/images/7.png"
;
import
Img8
from
"./assets/images/8.png"
;
const
route
=
useRoute
()
const
box1ChartData
=
ref
({
nodes
:
[
{
...
...
@@ -289,6 +300,7 @@ const box1ChartData = ref({
]
});
// 资助企业情况
const
box2ChartData
=
ref
([
{
name
:
"集成电路"
,
...
...
@@ -323,6 +335,29 @@ const box2ChartData = ref([
value
:
24
}
]);
const
handleGetCompanyArea
=
async
()
=>
{
const
params
=
{
orgId
:
route
.
query
.
id
};
try
{
const
res
=
await
getGovOrgCompanyArea
(
params
);
console
.
log
(
"资助企业情况"
,
res
);
if
(
res
.
code
===
200
&&
res
.
data
)
{
box2ChartData
.
value
=
res
.
data
.
map
(
item
=>
{
return
{
name
:
item
.
industry
,
value
:
item
.
amount
};
});
}
}
catch
(
error
)
{}
};
const
handleBox2
=
async
()
=>
{
await
handleGetCompanyArea
();
const
box2Chart
=
getPieChart
(
box2ChartData
.
value
);
setChart
(
box2Chart
,
"box2Chart"
);
};
const
box3ChartData
=
ref
([
{
name
:
"人工智能(AI)"
,
value
:
100
},
...
...
@@ -344,6 +379,20 @@ const box3ChartData = ref([
{
name
:
"不得向中国机构提供援助"
,
value
:
62
},
{
name
:
"开展先进生物能源计划"
,
value
:
51
}
]);
const
handleGetOpinions
=
async
()
=>
{
const
params
=
{
orgId
:
'50754570da464d0a81a5563dcb61d2ec'
}
try
{
const
res
=
await
getGovOrgOpinions
(
params
)
console
.
log
(
'主要科技政策观点'
,
res
);
}
catch
(
error
)
{
}
}
const
box4ChartData
=
ref
({
nodes
:
[
...
...
@@ -371,10 +420,10 @@ const box4ChartData = ref({
});
onMounted
(()
=>
{
handleBox2
();
handleGetOpinions
()
const
box1Chart
=
getSankeyChart
(
box1ChartData
.
value
.
nodes
,
box1ChartData
.
value
.
links
);
setChart
(
box1Chart
,
"box1Chart"
);
const
box2Chart
=
getPieChart
(
box2ChartData
.
value
);
setChart
(
box2Chart
,
"box2Chart"
);
const
box3Chart
=
getWordCloudChart
(
box3ChartData
.
value
);
setChart
(
box3Chart
,
"box3Chart"
);
...
...
src/views/decree/institution/index.vue
浏览文件 @
9aa0462e
...
...
@@ -2,7 +2,7 @@
<div
class=
"wrap"
>
<div
class=
"header"
>
<div
class=
"header-left"
>
<img
src=
"@/assets/images/decree-org.png
"
alt=
""
/>
<img
:src=
"institutionInfo.logo?institutionInfo.logo: DefaultIcon2
"
alt=
""
/>
</div>
<div
class=
"header-right"
>
<div
class=
"title"
>
{{
institutionInfo
.
name
}}
</div>
...
...
@@ -42,17 +42,45 @@
<
script
setup
>
import
{
ref
,
computed
,
onMounted
}
from
"vue"
;
import
{
useRoute
}
from
"vue-router"
;
import
InsDetail
from
"./insDetail/index.vue"
;
import
Deepdig
from
"./deepdig/index.vue"
;
import
Sanction
from
"./sanction/index.vue"
;
import
{
getGovOrgBasicInfo
}
from
'@/api/institution/index'
import
DefaultIcon2
from
'@/assets/icons/default-icon2.png'
const
route
=
useRoute
()
const
institutionInfo
=
ref
({
name
:
"美国商务部"
,
enName
:
"United States Department of Commerce"
,
desc
:
"美国联邦政府的重要经济部门,主要职责为国际贸易、进出口管制、经济数据统计及专利商标管理。"
,
tagList
:
[
"实体清单"
,
"232调查"
,
"行政令"
]
name
:
""
,
enName
:
""
,
desc
:
""
,
tagList
:
[],
logo
:
''
});
const
handleGetInfo
=
async
()
=>
{
const
params
=
{
id
:
route
.
query
.
id
}
try
{
const
res
=
await
getGovOrgBasicInfo
(
params
)
console
.
log
(
'机构信息'
,
res
);
if
(
res
.
code
===
200
&&
res
.
data
)
{
institutionInfo
.
value
.
name
=
res
.
data
.
orgName
institutionInfo
.
value
.
enName
=
res
.
data
.
orgNameEn
institutionInfo
.
value
.
desc
=
res
.
data
.
orgIntroduction
institutionInfo
.
value
.
name
=
res
.
data
.
orgName
}
}
catch
(
error
)
{
}
}
handleGetInfo
()
const
activeTabName
=
ref
(
"机构详情"
);
const
tabList
=
ref
([
...
...
src/views/decree/institution/insDetail/index.vue
浏览文件 @
9aa0462e
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论