Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
1
合并请求
1
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
23a7bd89
提交
23a7bd89
authored
3月 27, 2026
作者:
张烨
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix:政令-修复关键条款词云数据没变化问题
上级
dff685d2
流水线
#157
已失败 于阶段
变更
2
流水线
1
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
20 行增加
和
10 行删除
+20
-10
index.vue
src/views/decree/decreeHome/index.vue
+8
-3
index.vue
src/views/decree/decreeLayout/deepdig/index.vue
+12
-7
没有找到文件。
src/views/decree/decreeHome/index.vue
浏览文件 @
23a7bd89
...
...
@@ -965,6 +965,7 @@ const box8Params = reactive({
})
const
handleGetDecreeKeyInstruction
=
async
()
=>
{
box8Params
.
loading
=
true
wordCloudData
.
value
=
[]
try
{
let
{
year
,
domainId
,
proposeName
}
=
box8Params
;
const
res
=
await
getDecreeKeyInstruction
({
...
...
@@ -973,8 +974,13 @@ const handleGetDecreeKeyInstruction = async () => {
orgId
:
proposeName
||
undefined
});
console
.
log
(
"政令重点条款"
,
res
);
wordCloudData
.
value
=
res
.
data
.
map
(
item
=>
({
name
:
item
.
clause
,
value
:
item
.
count
}));
if
(
res
.
code
==
200
)
{
wordCloudData
.
value
=
res
.
data
.
map
(
item
=>
({
name
:
item
.
clause
,
value
:
item
.
count
}));
}
else
{
wordCloudData
.
value
=
[]
}
}
catch
(
error
)
{
wordCloudData
.
value
=
[]
console
.
error
(
"政令重点条款error"
,
error
);
}
box8Params
.
loading
=
false
...
...
@@ -1264,8 +1270,7 @@ onMounted(async () => {
width
:
100%
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
padding
:
16px
0
;
padding
:
16px
22px
;
.data-origin-icon
{
width
:
16px
;
height
:
16px
;
...
...
src/views/decree/decreeLayout/deepdig/index.vue
浏览文件 @
23a7bd89
...
...
@@ -2,7 +2,7 @@
<div
class=
"wrap"
>
<div
class=
"box1"
>
<AnalysisBox
title=
"相关政令"
:showAllBtn=
"false"
>
<div
class=
"box1-main"
>
<div
class=
"box1-main"
v-loading=
"isLoading"
>
<el-empty
v-if=
"!siderList?.length"
style=
"padding: 60px 0;"
description=
"暂无数据"
:image-size=
"100"
/>
<el-scrollbar
height=
"100%"
always
>
<div
class=
"left-item"
:class=
"
{ 'item-active': false }" v-for="(item, index) in siderList" :key="index" @click="handleClickDecree(item)">
...
...
@@ -18,9 +18,11 @@
</div>
<div
class=
"box2"
>
<AnalysisBox
title=
"政令关系挖掘"
:showAllBtn=
"false"
>
<el-empty
v-if=
"!siderList?.length"
style=
"padding: 60px 0;"
description=
"暂无数据"
:image-size=
"100"
/>
<div
class=
"box2-main"
v-if=
"graphData.nodes?.length"
>
<GraphChart
:nodes=
"graphData.nodes"
:links=
"graphData.links"
layoutType=
"force"
@
handleClickNode=
"handleClickNode"
/>
<div
style=
"height: 100%; width: 100%;"
v-loading=
"isLoading"
>
<el-empty
v-if=
"!siderList?.length"
style=
"padding: 60px 0;"
description=
"暂无数据"
:image-size=
"100"
/>
<div
class=
"box2-main"
v-if=
"graphData.nodes?.length"
>
<GraphChart
:nodes=
"graphData.nodes"
:links=
"graphData.links"
layoutType=
"force"
@
handleClickNode=
"handleClickNode"
/>
</div>
</div>
</AnalysisBox>
</div>
...
...
@@ -28,7 +30,7 @@
<el-dialog
v-model=
"dialogVisible"
width=
"1000px"
class=
"viewpoint-dialog"
>
<template
#
header
>
<div
class=
"viewpoint-header"
>
<div
class=
"viewpoint-title"
>
冲突
关系
</div>
<div
class=
"viewpoint-title"
>
关联
关系
</div>
</div>
</
template
>
<div
class=
"viewpoint-body"
>
...
...
@@ -61,7 +63,7 @@ import icon1629 from "./assets/icons/icon1629.png";
const
route
=
useRoute
();
//
冲突
关系
//
关联
关系
const
dialogVisible
=
ref
(
false
);
// 基本信息
...
...
@@ -123,13 +125,16 @@ const handleClickNode = ({data}) => {
if
(
node
)
handleClickDecree
(
node
)
}
}
const
isLoading
=
ref
(
false
);
const
initGraphChart
=
()
=>
{
isLoading
.
value
=
true
;
Promise
.
all
([
onDecreeSummaryData
(),
handleGetRelateOrder
()]).
then
(()
=>
{
if
(
mainInfo
.
value
.
id
&&
siderList
.
value
.
length
)
{
graphData
.
links
=
siderList
.
value
.
map
(
onFormatLink
)
graphData
.
nodes
=
siderList
.
value
.
map
(
onFormatNode
)
graphData
.
nodes
.
unshift
(
onFormatNode
(
mainInfo
.
value
))
}
isLoading
.
value
=
false
;
})
}
const
onFormatLink
=
(
item
,
index
)
=>
{
...
...
@@ -179,7 +184,7 @@ const handleClickDecree = decree => {
window
.
open
(
route
.
href
,
"_blank"
);
};
//
冲突
关系
//
关联
关系
const
graphContainer
=
ref
(
null
);
let
graph
=
null
;
const
onRelationChart
=
()
=>
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论