Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
4c8d4b2f
提交
4c8d4b2f
authored
3月 27, 2026
作者:
张伊明
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat 新增新闻跳转、实体关联
上级
20ed4d87
流水线
#158
已通过 于阶段
in 1 分 46 秒
变更
3
流水线
1
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
31 行增加
和
12 行删除
+31
-12
index.vue
src/views/bill/background/index.vue
+6
-8
index.vue
src/views/bill/billHome/index.vue
+10
-1
index.vue
src/views/bill/influence/industry/index.vue
+15
-3
没有找到文件。
src/views/bill/background/index.vue
浏览文件 @
4c8d4b2f
...
...
@@ -125,9 +125,11 @@ import defaultNew from "../assets/images/default-icon-news.png";
import
defaultA
from
"../assets/images/default-icon1.png"
;
import
{
getBillBackground
,
getBillPersonAnalyze
,
getBillInfoEvent
,
getBillPersonAnalyzeDy
}
from
"@/api/bill"
;
import
{
useGotoNewsDetail
}
from
"@/router/modules/news"
;
const
route
=
useRoute
();
const
router
=
useRouter
();
const
gotoNewsDetail
=
useGotoNewsDetail
();
const
handleNewsImgError
=
e
=>
{
e
.
target
.
src
=
defaultNew
;
...
...
@@ -135,13 +137,9 @@ const handleNewsImgError = e => {
// 跳转到相关新闻
const
handleClickEvent
=
item
=>
{
const
routeData
=
router
.
resolve
({
path
:
"/newsAnalysis"
,
query
:
{
newsId
:
item
.
id
}
});
window
.
open
(
routeData
.
href
,
"_blank"
);
const
newsId
=
item
?.
id
||
item
?.
newsId
;
if
(
!
newsId
)
return
;
gotoNewsDetail
(
newsId
);
};
...
...
@@ -281,7 +279,7 @@ const handleGetBillPersonAnalyze = async isOppose => {
const
{
members
,
industryCounts
}
=
res
.
data
;
// 更新人员列表
personList
.
value
=
members
||
[];
personList
.
value
.
forEach
(
(
item
,
index
)
=>
{
personList
.
value
.
forEach
(
item
=>
{
// 优先使用接口返回的图片,没有则使用默认头像 defaultA
item
.
image
=
item
.
imageUrl
||
defaultA
;
item
.
icon
=
userIcon
;
...
...
src/views/bill/billHome/index.vue
浏览文件 @
4c8d4b2f
...
...
@@ -123,7 +123,8 @@
<DivideHeader
id=
"position2"
class=
"divide2"
:titleText=
"'资讯要闻'"
></DivideHeader>
<div
class=
"center-center"
>
<NewsList
:newsList=
"newsList"
img=
"newsImage"
title=
"newsTitle"
from=
"from"
content=
"newsContent"
/>
<NewsList
:newsList=
"newsList"
img=
"newsImage"
title=
"newsTitle"
from=
"from"
content=
"newsContent"
@
item-click=
"handleClickNewsDetail"
/>
<MessageBubble
:messageList=
"messageList"
imageUrl=
"personImage"
@
more-click=
"handleToSocialDetail"
@
person-click=
"handleClickToCharacter"
name=
"personName"
content=
"remarks"
source=
"orgName"
/>
</div>
...
...
@@ -293,6 +294,7 @@ import iconCommit from "./assets/icons/icon-commit.png";
import
{
ElMessage
}
from
"element-plus"
;
import
{
Calendar
}
from
"@element-plus/icons-vue"
;
import
{
useGotoNewsDetail
}
from
"@/router/modules/news"
;
// 跳转人物主页
const
handleClickToCharacter
=
async
(
id
,
name
)
=>
{
...
...
@@ -500,6 +502,13 @@ const aiPaneLoading = ref({
box9
:
false
});
const
gotoNewsDetail
=
useGotoNewsDetail
();
const
handleClickNewsDetail
=
news
=>
{
const
newsId
=
news
?.
newsId
||
news
?.
id
;
if
(
!
newsId
)
return
;
gotoNewsDetail
(
newsId
);
};
const
buildAiChartPayload
=
key
=>
{
if
(
key
===
"box5"
)
{
const
title
=
Array
.
isArray
(
box5Data
.
value
.
title
)
?
box5Data
.
value
.
title
:
[];
...
...
src/views/bill/influence/industry/index.vue
浏览文件 @
4c8d4b2f
...
...
@@ -285,10 +285,22 @@ const onFormatNode = (item) => {
const
onDecreeRelatedEntitie
=
async
(
id
)
=>
{
try
{
const
res
=
await
getDecreeRelatedEntitie
({
id
}
);
const
res
=
await
getDecreeRelatedEntitie
({
orgId
:
id
,
rule
:
false
,
withSanInfo
:
false
,
}
);
if
(
res
.
code
===
200
)
{
graphInfo
.
links
=
(
res
.
data
||
[]).
map
(
onFormatLink
);
graphInfo
.
nodes
=
(
res
.
data
||
[]).
map
(
onFormatNode
);
const
data
=
res
.
data
||
{
}
;
const
parentList
=
Array
.
isArray
(
data
.
parentOrgList
)
?
data
.
parentOrgList
:
[];
const
childrenList
=
Array
.
isArray
(
data
.
childrenOrgList
)
?
data
.
childrenOrgList
:
[];
const
relationList
=
[...
parentList
,
...
childrenList
].
map
((
item
)
=>
({
...
item
,
relation
:
item
.
description
||
""
,
companyName
:
item
.
companyName
||
item
.
name
||
""
,
}
));
graphInfo
.
links
=
relationList
.
map
(
onFormatLink
);
graphInfo
.
nodes
=
relationList
.
map
(
onFormatNode
);
if
(
entityInfo
.
node
?.
id
)
graphInfo
.
nodes
.
unshift
(
onFormatNode
(
entityInfo
.
node
));
}
}
catch
(
error
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论