Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
1b73354c
提交
1b73354c
authored
3月 24, 2026
作者:
张伊明
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix 修复bug#16
上级
ca81f368
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
24 行增加
和
17 行删除
+24
-17
influence.js
src/api/influence.js
+2
-0
ResourceLibrarySection.vue
src/views/bill/billHome/ResourceLibrarySection.vue
+4
-4
index.vue
src/views/bill/billHome/index.vue
+8
-4
index.vue
src/views/bill/billLayout/index.vue
+6
-6
index.vue
src/views/bill/influence/industry/index.vue
+4
-3
没有找到文件。
src/api/influence.js
浏览文件 @
1b73354c
...
...
@@ -5,6 +5,8 @@ import request from "@/api/request.js";
* @param {Object} params
* @param {string} [params.id] - 行业领域id(全部领域不传)
* @param {string} [params.companyName] - 公司名称(搜索框为空不传)
* @returns {Array<{id: string, name: string, marketChange: number|null, chainCompanyId: string|number}>}
* 说明:右侧详情查询当前建议优先使用 chainCompanyId;若缺失可回退 id,兼容后续接口调整
*/
export
function
getCompanyList
(
params
)
{
return
request
({
...
...
src/views/bill/billHome/ResourceLibrarySection.vue
浏览文件 @
1b73354c
...
...
@@ -662,10 +662,10 @@ const handleGetBillsPerson = async () => {
sortFun
:
!
memberSortFun
.
value
}
;
if
(
footerSelect1
.
value
!==
"全部委员会"
)
params
.
committeeId
=
footerSelect1
.
value
;
if
(
!
activeYyList
.
value
.
includes
(
"全部议院"
))
params
.
congressIds
=
activeYyList
.
value
;
if
(
!
activeDpList
.
value
.
includes
(
"全部党派"
))
params
.
partyIds
=
activeDpList
.
value
;
if
(
!
activeAreaList
.
value
.
includes
(
"全部领域"
))
params
.
domainIds
=
activeAreaList
.
value
;
if
(
footerSelect1
.
value
!==
"全部委员会"
)
params
.
committeeId
s
=
footerSelect1
.
value
;
if
(
!
activeYyList
.
value
.
includes
(
"全部议院"
))
params
.
congressIds
=
activeYyList
.
value
.
join
(
","
)
;
if
(
!
activeDpList
.
value
.
includes
(
"全部党派"
))
params
.
partyIds
=
activeDpList
.
value
.
join
(
","
)
;
if
(
!
activeAreaList
.
value
.
includes
(
"全部领域"
))
params
.
domainIds
=
activeAreaList
.
value
.
join
(
","
)
;
const
formatDateYm
=
dateStr
=>
{
if
(
!
dateStr
)
return
""
;
...
...
src/views/bill/billHome/index.vue
浏览文件 @
1b73354c
...
...
@@ -13,7 +13,7 @@
<div
class=
"committee-cards-filter"
>
<span
class=
"committee-cards-desc"
>
近期美国国会各委员会涉华提案数量汇总
</span>
<el-radio-group
v-model=
"committeeTimeRange"
class=
"committee-time-switch"
size=
"default"
>
<el-radio-button
v-for=
"item in committeeTimeOptions"
:key=
"item.value"
:
label
=
"item.value"
>
<el-radio-button
v-for=
"item in committeeTimeOptions"
:key=
"item.value"
:
value
=
"item.value"
>
<span
class=
"committee-time-switch-inner"
>
<el-icon
v-if=
"committeeTimeRange === item.value"
class=
"committee-time-switch-icon"
>
<Calendar
/>
...
...
@@ -271,7 +271,7 @@ import {
import
{
getPersonSummaryInfo
}
from
"@/api/common/index"
;
import
{
getChartAnalysis
}
from
"@/api/aiAnalysis/index"
;
import
DivideHeader
from
"@/components/DivideHeader.vue"
;
import
overviewMainBox
from
"@/components/base/
BoxBackground/O
verviewMainBox.vue"
;
import
overviewMainBox
from
"@/components/base/
boxBackground/o
verviewMainBox.vue"
;
import
OverviewCard
from
"./OverviewCard.vue"
;
import
ResourceLibrarySection
from
"./ResourceLibrarySection.vue"
;
import
{
useContainerScroll
}
from
"@/hooks/useScrollShow"
;
...
...
@@ -904,12 +904,16 @@ const handleGetKeyTK = async () => {
const
res
=
await
getBillOverviewKeyTK
();
console
.
log
(
"关键条款"
,
res
);
if
(
res
.
code
===
200
&&
res
.
data
)
{
wordCloudData
.
value
=
res
.
data
.
map
(
item
=>
{
wordCloudData
.
value
=
res
.
data
.
slice
()
.
sort
((
a
,
b
)
=>
(
b
.
count
??
0
)
-
(
a
.
count
??
0
))
.
slice
(
0
,
20
)
.
map
(
item
=>
{
return
{
name
:
item
.
clause
,
value
:
item
.
count
};
});
});
}
}
catch
(
error
)
{
console
.
error
(
"获取关键条款error"
,
error
);
...
...
src/views/bill/billLayout/index.vue
浏览文件 @
1b73354c
...
...
@@ -72,12 +72,12 @@ const mainHeaderBtnList = ref([
name
:
"影响分析"
,
path
:
"/billLayout/influence"
},
{
icon
:
icon4
,
activeIcon
:
icon4Active
,
name
:
"相关情况"
,
path
:
"/billLayout/relevantCircumstance"
}
//
{
//
icon: icon4,
//
activeIcon: icon4Active,
//
name: "相关情况",
//
path: "/billLayout/relevantCircumstance"
//
}
]);
const
activeTitle
=
ref
(
"法案概况"
);
...
...
src/views/bill/influence/industry/index.vue
浏览文件 @
1b73354c
...
...
@@ -160,7 +160,8 @@ const curCompanyId = ref("");
const
handleClickCompany
=
(
val
,
index
)
=>
{
companyActiveIndex
.
value
=
(
currentPage
.
value
-
1
)
*
pageSize
.
value
+
index
;
if
(
val
)
{
curCompanyId
.
value
=
val
.
id
;
// 右侧鱼骨图查询:当前优先使用 chainCompanyId,后续可平滑切换到 id
curCompanyId
.
value
=
val
.
chainCompanyId
||
val
.
id
;
// handleGetCompanyDetail();
companyInfo
.
value
.
name
=
val
.
name
;
companyInfo
.
value
.
status
=
val
.
status
||
companyInfo
.
value
.
status
;
...
...
@@ -308,10 +309,10 @@ const headerChartData = (row) => {
switch
(
contentType
.
value
)
{
case
1
:
onDecreeRelatedChain
(
row
.
i
d
)
onDecreeRelatedChain
(
row
.
chainCompanyI
d
)
break
;
case
2
:
onDecreeRelatedEntitie
(
row
.
i
d
)
onDecreeRelatedEntitie
(
row
.
chainCompanyI
d
)
break
;
}
}
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论