Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
2
合并请求
2
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
20c4fb9c
提交
20c4fb9c
authored
1月 20, 2026
作者:
coderBryanFu
浏览文件
操作
浏览文件
下载
差异文件
update
上级
50e92e9f
637aa781
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
138 行增加
和
22 行删除
+138
-22
index.js
src/api/ruleRestriction/index.js
+37
-12
index.vue
src/views/ruleRestriction/components/resLib/index.vue
+101
-10
index.vue
src/views/ruleRestriction/detail/index.vue
+0
-0
没有找到文件。
src/api/ruleRestriction/index.js
浏览文件 @
20c4fb9c
...
@@ -126,17 +126,42 @@ export function getSanctionOverview(params) {
...
@@ -126,17 +126,42 @@ export function getSanctionOverview(params) {
})
})
}
}
// 规则限制-背景分析
export
function
getBackGround
(
params
)
{
return
request
({
method
:
'GET'
,
url
:
`/api/ruleLimitInfo/getBackGround/
${
params
}
`
})
}
// 实体清单-制裁概况-获取发布机构机构动态
// 规则限制-限制条款
/**
export
function
getLimitClause
(
params
)
{
* @param {Object} data
* @param {string} data.orgId
* @header token
*/
export
function
getPublishOrgInfo
(
data
)
{
return
request
({
return
request
({
method
:
'POST'
,
method
:
'GET'
,
url
:
`/api/organization/relate/news`
,
url
:
`/api/ruleLimitInfo/getLimitClause/
${
params
}
`
data
,
})
})
}
}
\ No newline at end of file
// 规则限制-相关举措
export
function
getRelevantMeasures
(
params
)
{
return
request
({
method
:
'GET'
,
url
:
`/api/ruleLimitInfo/getRelevantMeasures/
${
params
}
`
})
}
// // 实体清单-制裁概况-获取发布机构机构动态
// /**
// * @param {Object} data
// * @param {string} data.orgId
// * @header token
// */
// export function getPublishOrgInfo(data) {
// return request({
// method: 'POST',
// url: `/api/organization/relate/news`,
// data,
// })
// }
\ No newline at end of file
src/views/ruleRestriction/components/resLib/index.vue
浏览文件 @
20c4fb9c
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
<div
class=
"title"
>
{{
item
.
RULENAME
}}
</div>
<div
class=
"title"
>
{{
item
.
RULENAME
}}
</div>
<div
class=
"content"
>
{{
item
.
RULEINTRODUCTION
}}
</div>
<div
class=
"content"
>
{{
item
.
RULEINTRODUCTION
}}
</div>
<div
class=
"domain"
>
<div
class=
"domain"
>
<div
v-for=
"(domain, i) in item.ruleAreas"
:key=
"i"
class=
"domain-item"
>
{{
domain
}}
</div>
<div
v-for=
"(domain, i) in item.ruleAreas"
:key=
"i"
class=
"domain-item"
:class=
"getClassName(domain)"
>
{{
domain
}}
</div>
</div>
</div>
<div
<div
class=
"type"
class=
"type"
...
@@ -132,7 +132,7 @@
...
@@ -132,7 +132,7 @@
<div
<div
v-for=
"(ele, index) in item.area"
v-for=
"(ele, index) in item.area"
:key=
"index"
:key=
"index"
:class=
"
{ type1: ele !== '', type3: ele === '' }
"
:class=
"
[
{ type1: ele !== '', type3: ele === '' }, getClassName(ele)]
"
>
{{
ele
}}
</div>
>
{{
ele
}}
</div>
</div>
</div>
</div>
</div>
...
@@ -470,6 +470,41 @@ const getDate = (item) => {
...
@@ -470,6 +470,41 @@ const getDate = (item) => {
}
}
}
}
const
getClassName
=
(
type
)
=>
{
let
className
=
''
switch
(
type
)
{
case
'人工智能'
:
className
=
'ai'
break
case
'新材料'
:
className
=
'material'
break
case
'量子科技'
:
className
=
'technology'
break
case
'生物科技'
:
className
=
'organism'
break
case
'航空航天'
:
className
=
'aerospace'
break
case
'能源'
:
className
=
'energy'
break
case
'集成电路'
:
className
=
'integrated'
break
case
''
:
className
=
'none-class'
break
default
:
className
=
'other'
}
return
className
}
onMounted
(
async
()
=>
{
onMounted
(
async
()
=>
{
await
getRuleLimitListApi
()
await
getRuleLimitListApi
()
try
{
try
{
...
@@ -506,6 +541,62 @@ const handlePageChangeACTA = p => {
...
@@ -506,6 +541,62 @@ const handlePageChangeACTA = p => {
width
:
1600px
;
width
:
1600px
;
height
:
1565px
;
height
:
1565px
;
position
:
relative
;
position
:
relative
;
// 领域样式
// 人工智能
.ai
{
border
:
1px
solid
rgba
(
255
,
163
,
158
,
1
);
background
:
rgba
(
255
,
241
,
240
,
1
);
color
:
rgba
(
245
,
34
,
45
,
1
);
}
// 新材料
.material
{
border
:
1px
solid
rgba
(
135
,
232
,
222
,
1
);
background
:
rgba
(
230
,
255
,
251
,
1
);
color
:
rgba
(
19
,
168
,
168
,
1
);
}
// 量子科技
.technology
{
border
:
1px
solid
rgba
(
211
,
173
,
247
,
1
);
background
:
rgba
(
249
,
240
,
255
,
1
);
color
:
rgba
(
114
,
46
,
209
,
1
);
}
// 生物科技
.organism
{
border
:
1px
solid
rgba
(
145
,
202
,
255
,
1
);
background
:
rgba
(
230
,
244
,
255
,
1
);
color
:
rgba
(
22
,
119
,
255
,
1
);
}
// 航空航天
.aerospace
{
border
:
1px
solid
rgba
(
173
,
198
,
255
,
1
);
background
:
rgba
(
240
,
245
,
255
,
1
);
color
:
rgba
(
22
,
119
,
255
,
1
);
}
// 能源
.energy
{
border
:
1px
solid
rgba
(
217
,
247
,
190
,
1
);
background
:
rgba
(
246
,
255
,
237
,
1
);
color
:
rgba
(
56
,
158
,
13
,
1
);
}
// 集成电路
.integrated
{
border
:
1px
solid
rgba
(
186
,
224
,
255
,
1
);
background
:
rgba
(
230
,
244
,
255
,
1
);
color
:
rgba
(
9
,
88
,
217
,
1
);
}
// 其他
.other
{
border
:
1px
solid
rgba
(
186
,
224
,
255
,
1
);
background
:
rgba
(
230
,
244
,
255
,
1
);
color
:
rgba
(
9
,
88
,
217
,
1
);
}
// 无类型
.none-class
{
background
:
transparent
;
border
:
none
;
}
.nav
{
.nav
{
width
:
332px
;
width
:
332px
;
height
:
42px
;
height
:
42px
;
...
@@ -727,9 +818,9 @@ const handlePageChangeACTA = p => {
...
@@ -727,9 +818,9 @@ const handlePageChangeACTA = p => {
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.type
{
.type
{
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
right
:
0
;
right
:
0
;
padding
:
2px
8px
;
padding
:
2px
8px
;
border-radius
:
20px
;
border-radius
:
20px
;
font-size
:
16px
;
font-size
:
16px
;
...
@@ -760,8 +851,8 @@ const handlePageChangeACTA = p => {
...
@@ -760,8 +851,8 @@ const handlePageChangeACTA = p => {
font-family
:
"Microsoft YaHei"
;
font-family
:
"Microsoft YaHei"
;
line-height
:
20px
;
line-height
:
20px
;
margin-right
:
8px
;
margin-right
:
8px
;
color
:
rgb
(
5
,
95
,
194
);
//
color: rgb(5, 95, 194);
background-color
:
rgba
(
231
,
243
,
255
,
1
);
//
background-color: rgba(231, 243, 255, 1);
}
}
}
}
}
}
...
@@ -1005,9 +1096,9 @@ const handlePageChangeACTA = p => {
...
@@ -1005,9 +1096,9 @@ const handlePageChangeACTA = p => {
color
:
rgb
(
95
,
101
,
108
);
color
:
rgb
(
95
,
101
,
108
);
}
}
.type1
{
.type1
{
border-color
:
rgba
(
145
,
202
,
255
,
1
);
//
border-color: rgba(145, 202, 255, 1);
color
:
rgba
(
22
,
119
,
255
,
1
);
//
color: rgba(22, 119, 255, 1);
background-color
:
rgba
(
230
,
244
,
255
,
1
);
//
background-color: rgba(230, 244, 255, 1);
border-radius
:
4px
;
border-radius
:
4px
;
border
:
1px
solid
;
border
:
1px
solid
;
padding
:
2px
8px
;
padding
:
2px
8px
;
...
...
src/views/ruleRestriction/detail/index.vue
浏览文件 @
20c4fb9c
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论