Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
be0dcea2
提交
be0dcea2
authored
1月 05, 2026
作者:
huhuiqing
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
企业主页:被制裁情况:事件对接
实体清单跳转逻辑修复
上级
c54c4460
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
37 行增加
和
7 行删除
+37
-7
index.js
src/api/companyPages/index.js
+9
-0
company.js
src/router/modules/company.js
+3
-3
SanctionsSituation.vue
src/views/companyPages/component/SanctionsSituation.vue
+22
-1
Timeline.vue
src/views/companyPages/component/Timeline.vue
+3
-3
index.vue
src/views/exportControl/index.vue
+0
-0
index.vue
...omponents/sanctionsOverview/components/listPage/index.vue
+0
-0
index.vue
...v2.0SingleSanction/components/sanctionsOverview/index.vue
+0
-0
没有找到文件。
src/api/companyPages/index.js
浏览文件 @
be0dcea2
...
@@ -83,3 +83,12 @@ export function getEnterprisPatentField(params) {
...
@@ -83,3 +83,12 @@ export function getEnterprisPatentField(params) {
}
}
//被制裁情况:事件
export
function
getSanctionList
(
params
)
{
return
request
({
method
:
'GET'
,
url
:
`/api/enterprisePage/getSanctionList/
${
params
}
`
,
})
}
src/router/modules/company.js
浏览文件 @
be0dcea2
...
@@ -4,7 +4,7 @@ import companyPages from "@/views/companyPages/index.vue";
...
@@ -4,7 +4,7 @@ import companyPages from "@/views/companyPages/index.vue";
const
companyPagesRoutes
=
[
const
companyPagesRoutes
=
[
// 智库系统的主要路由
// 智库系统的主要路由
{
{
path
:
"/companyPages:id"
,
path
:
"/companyPages
/
:id"
,
name
:
"companyPages"
,
name
:
"companyPages"
,
component
:
companyPages
,
component
:
companyPages
,
meta
:
{
meta
:
{
...
@@ -14,4 +14,4 @@ const companyPagesRoutes = [
...
@@ -14,4 +14,4 @@ const companyPagesRoutes = [
]
]
export
default
companyPagesRoutes
export
default
companyPagesRoutes
\ No newline at end of file
\ No newline at end of file
src/views/companyPages/component/SanctionsSituation.vue
浏览文件 @
be0dcea2
...
@@ -30,9 +30,12 @@
...
@@ -30,9 +30,12 @@
</
template
>
</
template
>
<
script
setup
>
<
script
setup
>
import
{
ref
,
compu
ted
}
from
'vue'
;
import
{
ref
,
onMoun
ted
}
from
'vue'
;
import
Timeline
from
'./Timeline.vue'
;
import
Timeline
from
'./Timeline.vue'
;
import
process
from
'./process.vue'
;
import
process
from
'./process.vue'
;
import
{
useRouter
}
from
"vue-router"
;
import
{
getSanctionList
}
from
"@/api/companyPages/index.js"
;
const
router
=
useRouter
();
const
sanctionTimeData
=
ref
([
const
sanctionTimeData
=
ref
([
{
{
"title"
:
"初步限制与“实体清单”"
,
"title"
:
"初步限制与“实体清单”"
,
...
@@ -60,6 +63,24 @@ const sanctionTimeData = ref([
...
@@ -60,6 +63,24 @@ const sanctionTimeData = ref([
"time"
:
"2025年10月"
"time"
:
"2025年10月"
}
}
])
])
// 获取制裁事件
const
handleGetSanctionList
=
async
()
=>
{
try
{
const
res
=
await
getSanctionList
(
router
.
currentRoute
.
_value
.
params
.
id
);
console
.
log
(
"获取制裁事件"
,
res
);
if
(
res
.
code
===
200
&&
res
.
data
)
{
sanctionTimeData
.
value
=
res
.
data
}
}
catch
(
error
)
{
console
.
error
(
"获取制裁事件error"
,
error
);
}
};
onMounted
(
async
()
=>
{
handleGetSanctionList
()
});
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
...
...
src/views/companyPages/component/Timeline.vue
浏览文件 @
be0dcea2
...
@@ -15,13 +15,13 @@
...
@@ -15,13 +15,13 @@
<div
class=
"node"
:style=
"leftOffset(i)"
>
<div
class=
"node"
:style=
"leftOffset(i)"
>
<!-- 圆环 -->
<!-- 圆环 -->
<div
class=
"dot"
:class=
"linePos(i, flip)"
:style=
"
{
<div
class=
"dot"
:class=
"linePos(i, flip)"
:style=
"
{
marginTop: linePos(i, flip) === 'down' ? '-5px' : '
3
5px'
marginTop: linePos(i, flip) === 'down' ? '-5px' : '
-
5px'
}">
</div>
}">
</div>
<div
class=
"time"
:style=
"
{
<div
class=
"time"
:style=
"
{
marginTop: linePos(i, flip) === 'down' ? '-50px' : '10px'
marginTop: linePos(i, flip) === 'down' ? '-50px' : '10px'
}" v-if="type === 'normal'">
}" v-if="type === 'normal'">
{{
item
.
tim
e
}}
{{
item
.
sanctionDat
e
}}
</div>
</div>
<!-- 卡片:放到线右侧 -->
<!-- 卡片:放到线右侧 -->
<div
class=
"card"
:class=
"[cardPos(i, flip), 'right-side']"
@
click=
"$emit('click-card', item)"
:style=
"
{
<div
class=
"card"
:class=
"[cardPos(i, flip), 'right-side']"
@
click=
"$emit('click-card', item)"
:style=
"
{
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
<div
class=
"time"
:style=
"
{
<div
class=
"time"
:style=
"
{
marginLeft: 0
marginLeft: 0
}" v-if="type !== 'normal'">
}" v-if="type !== 'normal'">
{{
item
.
tim
e
}}
{{
item
.
sanctionDat
e
}}
</div>
</div>
<div
class=
"title"
>
<div
class=
"title"
>
{{
item
.
title
}}
{{
item
.
title
}}
...
...
src/views/exportControl/index.vue
浏览文件 @
be0dcea2
差异被折叠。
点击展开。
src/views/exportControl/v2.0EntityList/components/sanctionsOverview/components/listPage/index.vue
浏览文件 @
be0dcea2
差异被折叠。
点击展开。
src/views/exportControl/v2.0SingleSanction/components/sanctionsOverview/index.vue
浏览文件 @
be0dcea2
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论