Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
a0aca2cd
提交
a0aca2cd
authored
4月 20, 2026
作者:
张伊明
浏览文件
操作
浏览文件
下载
差异文件
合并分支 'zz-dev' 到 'pre'
feat:风险信号、用户管理、合作限制前端bug修改 查看合并请求
!370
上级
442de840
881c314b
流水线
#549
已通过 于阶段
in 1 分 44 秒
变更
13
流水线
2
全部展开
显示空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
216 行增加
和
76 行删除
+216
-76
risk-signal-overview-detail-dialog.scss
...rviewDetailDialog/risk-signal-overview-detail-dialog.scss
+23
-1
index.vue
src/components/base/moduleHeader/index.vue
+16
-6
index.vue
src/components/base/riskSignal/index.vue
+8
-3
riskSignalOverviewDetailHelpers.js
src/utils/riskSignalOverviewDetailHelpers.js
+4
-4
index.vue
src/views/coopRestriction/components/dataSub/index.vue
+29
-32
index.vue
src/views/coopRestriction/components/resLib/index.vue
+36
-12
index.vue
src/views/coopRestriction/detail/index.vue
+19
-5
index.vue
src/views/coopRestriction/index.vue
+1
-0
index.vue
src/views/ruleRestriction/detail/index.vue
+0
-0
danger.svg
src/views/viewRiskSignal/assets/images/danger.svg
+5
-0
warning.svg
src/views/viewRiskSignal/assets/images/warning.svg
+9
-0
index.vue
src/views/viewRiskSignal/index.vue
+65
-12
cleandarHeat.js
src/views/viewRiskSignal/utils/cleandarHeat.js
+1
-1
没有找到文件。
src/components/base/RiskSignalOverviewDetailDialog/risk-signal-overview-detail-dialog.scss
浏览文件 @
a0aca2cd
...
...
@@ -132,6 +132,28 @@
position
:
relative
;
}
.risk-signal-detail-dialog
.el-dialog__headerbtn
{
top
:
11px
!
important
;
right
:
16px
!
important
;
width
:
32px
!
important
;
height
:
32px
!
important
;
display
:
inline-flex
;
align-items
:
center
;
justify-content
:
center
;
}
.risk-signal-detail-dialog
.el-dialog__headerbtn
.el-dialog__close
{
width
:
16px
;
height
:
16px
;
color
:
rgb
(
59
,
65
,
75
)
!
important
;
}
.risk-signal-detail-dialog
.el-dialog__headerbtn
.el-dialog__close
svg
,
.risk-signal-detail-dialog
.el-dialog__headerbtn
.el-dialog__close
svg
path
{
fill
:
rgb
(
59
,
65
,
75
)
!
important
;
stroke
:
rgb
(
59
,
65
,
75
)
!
important
;
}
.
risk-signal-detail-dialog
.
el-dialog__header
:
:
after
{
content
:
""
;
position
:
absolute
;
...
...
@@ -234,7 +256,7 @@
.risk-signal-detail-dialog
.risk-signal-detail-dialog__read-indicator
{
position
:
absolute
;
right
:
115
px
;
right
:
61
px
;
top
:
50%
;
transform
:
translateY
(
-50%
);
display
:
inline-flex
;
...
...
src/components/base/moduleHeader/index.vue
浏览文件 @
a0aca2cd
<
template
>
<div
class=
"module-header-wrapper"
>
<div
class=
"module-header-wrapper"
@
mouseleave=
"handleHideUserPanel"
>
<div
class=
"nav-content"
:class=
"
{ 'nav-content-library': isShowDataLibrary }">
<div
class=
"nav-left"
:class=
"
{ 'flex-start': isShowSearchBar }">
<div
class=
"icon"
>
...
...
@@ -24,11 +24,10 @@
<div
class=
"mail"
@
click=
"handleClickToolBox"
>
<img
src=
"@/assets/icons/overview/mail.png"
alt=
""
/>
</div>
<div
class=
"user-trigger"
>
<div
class=
"user"
@
click
.
stop
=
"handleToggleUserPanel"
>
<div
class=
"user-trigger"
@
mouseenter=
"handleShowUserPanel"
>
<div
class=
"user"
@
click
.
stop
>
<img
src=
"@/assets/icons/overview/user.png"
alt=
""
/>
</div>
</div>
<div
v-if=
"isShowUserPanel"
class=
"user-panel"
>
<div
class=
"user-panel-row"
>
...
...
@@ -53,6 +52,7 @@
</div>
</div>
</div>
</div>
<div
class=
"menu-box"
v-show=
"isShowMenu"
@
mouseenter=
"handleHoverMenu(true)"
@
mouseleave=
"handleHoverMenu(false)"
>
<div
class=
"menu-content"
>
...
...
@@ -404,8 +404,8 @@ const handleClickToolBox = () => {
ElMessage
.
warning
(
"当前功能正在开发中,敬请期待!"
);
};
const
handle
Toggle
UserPanel
=
()
=>
{
isShowUserPanel
.
value
=
!
isShowUserPanel
.
val
ue
;
const
handle
Show
UserPanel
=
()
=>
{
isShowUserPanel
.
value
=
tr
ue
;
};
const
handleHideUserPanel
=
()
=>
{
...
...
@@ -662,10 +662,13 @@ onMounted(() => {
top
:
calc
(
32px
+
21px
);
width
:
240px
;
height
:
141px
;
// 与“中美科技博弈”下方菜单框(.menu-box)保持一致的透明/模糊效果
background
:
rgba
(
255
,
255
,
255
,
0
.8
);
border
:
1px
solid
rgba
(
255
,
255
,
255
,
1
);
border-radius
:
10px
;
backdrop-filter
:
blur
(
30px
);
-webkit-backdrop-filter
:
blur
(
30px
);
box-shadow
:
0px
0px
20px
0px
rgba
(
25
,
69
,
130
,
0
.1
);
display
:
flex
;
flex-direction
:
column
;
...
...
@@ -785,6 +788,13 @@ onMounted(() => {
display
:
flex
;
align-items
:
center
;
margin-left
:
8px
;
transition
:
color
0
.15s
ease
,
font-size
0
.15s
ease
,
font-weight
0
.15s
ease
;
&
:hover
{
color
:
var
(
--
color-main-active
);
font-size
:
18px
;
font-weight
:
700
;
}
.back-image
{
width
:
16px
;
...
...
src/components/base/riskSignal/index.vue
浏览文件 @
a0aca2cd
...
...
@@ -12,14 +12,14 @@
<div
class=
"box2-main"
>
<div
class=
"box2-main-item"
v-for=
"(item, index) in showRiskSignalList"
:key=
"index"
@
click=
"handleItemClick(item, index)"
>
<div
:class=
"
{
<div
v-if=
"!isRiskLevelNoData(item?.[props.riskLevel])"
:class=
"
{
itemLeftStatus1: item[props.riskLevel] === '特别重大',
itemLeftStatus2: item[props.riskLevel] === '重大风险',
itemLeftStatus3: item[props.riskLevel] === '较大风险',
itemLeftStatus4: item[props.riskLevel] === '一般风险'
|| !item[props.riskLevel]
,
itemLeftStatus4: item[props.riskLevel] === '一般风险',
itemLeftStatus5: item[props.riskLevel] === '低风险',
}">
{{
item
[
props
.
riskLevel
]
||
"暂无数据"
}}
{{
item
[
props
.
riskLevel
]
}}
</div>
<div
class=
"item-right"
>
<div
class=
"text"
>
<span
class=
"text-inner"
>
{{
item
[
props
.
name
]
}}
</span></div>
...
...
@@ -76,6 +76,11 @@ const props = defineProps({
});
const
isRiskLevelNoData
=
(
level
)
=>
{
const
t
=
String
(
level
??
""
).
trim
();
return
!
t
||
t
===
"暂无数据"
||
t
===
"暂无数值"
;
};
const
showRiskSignalList
=
computed
(()
=>
{
return
props
.
list
.
slice
(
0
,
6
)
})
...
...
src/utils/riskSignalOverviewDetailHelpers.js
浏览文件 @
a0aca2cd
...
...
@@ -223,14 +223,14 @@ export function getRiskDetailLevelModifier(level) {
if
(
t
===
"低风险"
)
{
return
"lv5"
;
}
if
(
t
===
"一般风险"
||
!
t
||
t
===
"暂无数据"
)
{
if
(
t
===
"一般风险"
||
!
t
||
t
===
"暂无数据"
||
t
===
"风险信号暂无评估"
)
{
return
"lv4"
;
}
return
"lv4"
;
}
/**
与 `@/components/base/riskSignal` 左侧等级一致:空 / null 等展示「暂无数据
」 */
export
const
RISK_SIGNAL_LIST_LEVEL_EMPTY_TEXT
=
"
暂无数据
"
;
/**
详情弹窗标题区等级文案:空 / null 等展示「风险信号暂无评估
」 */
export
const
RISK_SIGNAL_LIST_LEVEL_EMPTY_TEXT
=
"
风险信号暂无评估
"
;
/**
* 列表行风险等级 → 弹窗标题区文案(null、空串与「暂无数值」等与列表「暂无数据」对齐)
...
...
@@ -241,7 +241,7 @@ export function normalizeRiskSignalListLevelText(raw) {
return
RISK_SIGNAL_LIST_LEVEL_EMPTY_TEXT
;
}
const
s
=
String
(
raw
).
trim
();
if
(
s
===
""
||
s
===
"null"
||
s
===
"undefined"
||
s
===
"暂无数值"
)
{
if
(
s
===
""
||
s
===
"null"
||
s
===
"undefined"
||
s
===
"暂无数值"
||
s
===
"暂无数据"
)
{
return
RISK_SIGNAL_LIST_LEVEL_EMPTY_TEXT
;
}
return
s
;
...
...
src/views/coopRestriction/components/dataSub/index.vue
浏览文件 @
a0aca2cd
...
...
@@ -602,9 +602,7 @@ const initRightChart = () => {
const
domains
=
Array
.
from
(
domainsSet
);
const
types
=
Array
.
from
(
typesSet
);
const
legendSplitAt
=
Math
.
ceil
(
types
.
length
/
2
);
const
legendFirstLine
=
types
.
slice
(
0
,
legendSplitAt
);
const
legendSecondLine
=
types
.
slice
(
legendSplitAt
);
const
legendData
=
types
;
const
indicators
=
domains
.
map
((
domain
)
=>
{
const
domainData
=
rawData
.
filter
((
item
)
=>
item
.
AREA
===
domain
);
...
...
@@ -630,36 +628,27 @@ const initRightChart = () => {
const
option
=
{
color
:
colorMap
,
// 避免自动换行导致“第二行不居中”:拆成两行 legend,每行各自居中
legend
:
[
{
// 图例尽量单行居中;放不下则横向滚动(不换行)
legend
:
{
show
:
true
,
type
:
"plain"
,
data
:
legendFirstLine
,
type
:
"scroll"
,
orient
:
"horizontal"
,
data
:
legendData
,
top
:
8
,
left
:
"center"
,
width
:
"90%"
,
height
:
24
,
icon
:
"circle"
,
itemWidth
:
12
,
itemHeight
:
12
,
itemGap
:
24
,
textStyle
:
{
pageButtonPosition
:
"end"
,
pageIconSize
:
12
,
pageTextStyle
:
{
color
:
"rgb(95, 101, 108)"
,
fontSize
:
16
,
fontFamily
:
"Microsoft YaHei"
,
fontWeight
:
400
,
lineHeight
:
24
}
fontSize
:
12
,
fontFamily
:
"Microsoft YaHei"
},
{
show
:
legendSecondLine
.
length
>
0
,
type
:
"plain"
,
data
:
legendSecondLine
,
top
:
32
,
left
:
"center"
,
icon
:
"circle"
,
itemWidth
:
12
,
itemHeight
:
12
,
itemGap
:
24
,
textStyle
:
{
color
:
"rgb(95, 101, 108)"
,
fontSize
:
16
,
...
...
@@ -667,20 +656,28 @@ const initRightChart = () => {
fontWeight
:
400
,
lineHeight
:
24
}
}
],
},
radar
:
{
// 对齐左侧折线图(grid top=34%)的“图例到图形”间距:下移雷达中心并略缩半径
center
:
[
"50%"
,
"
62
%"
],
radius
:
"
60
%"
,
center
:
[
"50%"
,
"
57
%"
],
radius
:
"
58
%"
,
indicator
:
indicators
,
axisName
:
{
color
:
"rgba(132, 136, 142, 1)"
,
fontSize
:
14
,
fontWeight
:
400
fontFamily
:
"Source Han Sans CN"
,
fontWeight
:
700
,
fontSize
:
16
,
lineHeight
:
24
,
letterSpacing
:
1
,
color
:
"rgb(59, 65, 75)"
},
splitLine
:
{
lineStyle
:
{
color
:
[
"#e6e6e6"
]
}
},
splitArea
:
{
show
:
false
}
splitArea
:
{
show
:
true
,
areaStyle
:
{
// 从最内圈白色开始,向外层交替浅灰
color
:
[
"#ffffff"
,
"rgb(247, 248, 249)"
]
}
}
},
series
:
[
{
...
...
src/views/coopRestriction/components/resLib/index.vue
浏览文件 @
a0aca2cd
...
...
@@ -7,8 +7,7 @@
</div>
</div>
<el-select
v-model=
"sortModel"
placeholder=
"发布时间"
class=
"select"
popper-class=
"coop-select-dropdown"
:teleported=
"true"
placement=
"bottom-start"
:popper-options=
"sortPopperOptions"
@
change=
"handleSortChange"
>
:teleported=
"true"
placement=
"bottom-start"
:popper-options=
"sortPopperOptions"
@
change=
"handleSortChange"
>
<template
#
prefix
>
<img
v-if=
"sortModel !== true"
src=
"@/views/thinkTank/ThinkTankDetail/thinkDynamics/images/image down.png"
class=
"select-prefix-img"
alt=
""
@
click
.
stop=
"toggleSortPrefix"
/>
...
...
@@ -37,12 +36,13 @@
</div>
</div>
</div>
<div
class=
"right"
>
<div
class=
"right"
:class=
"{ 'right--empty': !(mainDataList && mainDataList.length) }"
>
<div
class=
"right-title"
>
<img
src=
"./assets/icon01.png"
alt=
""
/>
<div>
合作限制历程
</div>
</div>
<div
class=
"right-main"
>
<
template
v-if=
"mainDataList && mainDataList.length"
>
<div
class=
"main-content"
>
<div
v-for=
"item in mainDataList"
:key=
"item.id"
class=
"main-item"
>
<div
class=
"date"
>
{{
formatDateCn
(
item
.
date
)
}}
</div>
...
...
@@ -66,6 +66,12 @@
<el-pagination
v-model:current-page=
"currentPage"
:page-size=
"pageSize"
:total=
"total"
layout=
"prev, pager, next"
background
@
current-change=
"handlePageChange"
/>
</div>
</
template
>
<
template
v-else
>
<div
class=
"right-main-empty"
>
<el-empty
class=
"right-el-empty"
description=
"暂无数据"
:image-size=
"100"
/>
</div>
</
template
>
</div>
</div>
</div>
...
...
@@ -533,6 +539,13 @@ watch(currentPage, () => {
border-radius
:
10px
;
background-color
:
#fff
;
box-shadow
:
0px
0px
20px
0px
rgba
(
25
,
69
,
130
,
0
.1
);
display
:
flex
;
flex-direction
:
column
;
&
.right--empty
{
// 与左侧筛选框等高
height
:
432px
;
}
.right-title
{
width
:
1224px
;
...
...
@@ -563,10 +576,28 @@ watch(currentPage, () => {
.right-main
{
width
:
1224px
;
flex
:
1
;
padding
:
12px
0px
80px
0px
;
position
:
relative
;
.right-main-empty
{
height
:
100%
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
padding
:
24px
;
:deep
(
.el-empty__image
)
{
margin-bottom
:
0
;
}
.right-el-empty
{
padding
:
0
;
margin
:
0
;
}
}
.main-content
{
width
:
1224px
;
...
...
@@ -594,15 +625,7 @@ watch(currentPage, () => {
}
&
:last-child::after
{
content
:
""
;
position
:
absolute
;
top
:
37px
;
bottom
:
-37px
;
left
:
108px
;
width
:
2px
;
background-color
:
rgb
(
230
,
231
,
232
);
z-index
:
1
;
height
:
calc
(
100%
-
37px
);
content
:
none
;
}
.date
{
...
...
@@ -635,6 +658,7 @@ watch(currentPage, () => {
.title
{
font-size
:
20px
;
width
:
950px
;
font-weight
:
700
;
font-family
:
"Microsoft YaHei"
;
line-height
:
26px
;
...
...
src/views/coopRestriction/detail/index.vue
浏览文件 @
a0aca2cd
...
...
@@ -5,13 +5,13 @@
<img
:src=
"coopData?.IMAGEURL || defaultImg"
alt=
""
/>
<div
class=
"content"
>
<div
class=
"cl1"
>
{{
coopData
?.
LIMITNAMEZH
}}
</div>
<div
class=
"cl2"
>
{{
coopData
?.
LIMITNAME
}}
</div>
<div
v-if=
"hasLimitNameEn"
class=
"cl2"
>
{{
coopData
?.
LIMITNAME
}}
</div>
<div
class=
"cl3"
>
{{
coopData
?.
LIMITDATE
}}
·
{{
coopData
?.
LIMITORGNAME
}}
</div>
</div>
<div
class=
"btn"
>
<button
class=
"btn1"
><img
src=
"./assets/icon01.png"
alt=
""
/>
查看原文
</button>
<!--
<button
class=
"btn1"
><img
src=
"./assets/icon02.png"
alt=
""
/>
查看官网
</button>
-->
<button
class=
"btn1 active"
><img
src=
"./assets/icon03.png"
alt=
""
/>
分析报告
</button>
<button
class=
"btn1 active"
@
click=
"handleOpenWrittingAsstaint"
><img
src=
"./assets/icon03.png"
alt=
""
/>
分析报告
</button>
</div>
</div>
</div>
...
...
@@ -81,7 +81,8 @@
<img
src=
"./assets/打开按钮.png"
alt=
""
>
</div>
<!-- contentList:单条按原样式展示;多条则逐条展示并加 1.2.3. 前缀 -->
<div
v-if=
"Array.isArray(item.contentList) && item.contentList.length > 1"
class=
"clause-item-content-list"
>
<div
v-if=
"Array.isArray(item.contentList) && item.contentList.length > 1"
class=
"clause-item-content-list"
>
<div
v-for=
"(row, i) in item.contentList"
:key=
"i"
class=
"clause-item-content-row"
>
<span
class=
"row-index"
>
{{
i
+
1
}}
.
</span>
<span
class=
"row-text"
>
{{
row
.
CONTENT
}}
</span>
...
...
@@ -117,6 +118,15 @@ import Rubio from "./assets/卢比奥.png";
import
Bondi
from
"./assets/邦迪.png"
;
import
Nome
from
"./assets/诺姆.png"
;
const
hasLimitNameEn
=
computed
(()
=>
{
return
Boolean
(
String
(
coopData
.
value
?.
LIMITNAME
??
""
).
trim
());
});
const
handleOpenWrittingAsstaint
=
()
=>
{
const
{
href
}
=
router
.
resolve
({
path
:
"/writtingAsstaint"
});
window
.
open
(
href
,
"_blank"
);
};
// 合作限制-查询限制条款
const
limitClauseData
=
ref
([]);
const
getlimitClauseData
=
async
()
=>
{
...
...
@@ -474,9 +484,13 @@ const dataList3 = ref([
.btn
{
width
:
376px
;
height
:
36
px
;
height
:
48
px
;
display
:
flex
;
justify-content
:
right
;
position
:
absolute
;
bottom
:
0
;
margin-left
:
1224px
;
.btn1
{
border-radius
:
6px
;
...
...
src/views/coopRestriction/index.vue
浏览文件 @
a0aca2cd
...
...
@@ -164,6 +164,7 @@ const handleToPosi = id => {
background-size
:
100%
100%
;
position
:
absolute
;
width
:
100%
;
height
:
100%
;
z-index
:
-100
;
top
:
-64px
;
...
...
src/views/ruleRestriction/detail/index.vue
浏览文件 @
a0aca2cd
差异被折叠。
点击展开。
src/views/viewRiskSignal/assets/images/danger.svg
0 → 100644
浏览文件 @
a0aca2cd
<svg
viewBox=
"0 0 15.0039 14.5"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"15.003906"
height=
"14.500000"
fill=
"none"
customFrame=
"#000000"
>
<rect
id=
"容器 239"
width=
"14.000000"
height=
"14.000000"
x=
"0.501953"
y=
"0.500000"
/>
<path
id=
"矢量 467"
d=
"M0.501953 4.81104L4.27116 2.65573L8.0404 4.81118L14.502 0.5"
stroke=
"rgb(255,255,255)"
stroke-linecap=
"round"
stroke-linejoin=
"round"
stroke-width=
"1.000000"
/>
<path
id=
"矢量 468"
d=
"M4.27118 6.96812L0.501953 9.12357L0.50198 14.5015L14.502 14.5013L14.502 4.8125L8.04045 9.12354L4.27118 6.96812Z"
fill=
"rgb(255,255,255)"
fill-rule=
"evenodd"
/>
</svg>
src/views/viewRiskSignal/assets/images/warning.svg
0 → 100644
浏览文件 @
a0aca2cd
<svg
viewBox=
"0 0 26.1548 23.3789"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"26.154785"
height=
"23.378906"
fill=
"none"
customFrame=
"#000000"
>
<defs>
<linearGradient
id=
"paint_linear_0"
x1=
"12.260066"
x2=
"21.2057495"
y1=
"1.21773767"
y2=
"18.4094753"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"rgb(206,79,81)"
offset=
"0"
stop-opacity=
"1"
/>
<stop
stop-color=
"rgb(240,202,202)"
offset=
"1"
stop-opacity=
"1"
/>
</linearGradient>
</defs>
<path
id=
"减去顶层"
d=
"M25.8883 20.3883L14.8139 1.00773C14.0461 -0.335911 12.1087 -0.335911 11.3409 1.00773L0.266462 20.3883C-0.495419 21.7216 0.467316 23.3806 2.00295 23.3806L24.1519 23.3806C25.6875 23.3806 26.6502 21.7216 25.8883 20.3883ZM14.2931 14.8346C14.2711 15.4323 13.7802 15.9054 13.1821 15.9054C12.5832 15.9054 12.0919 15.4311 12.0709 14.8326L11.8462 8.42741C11.8196 7.66793 12.428 7.03775 13.188 7.03775C13.9489 7.03775 14.5578 7.66948 14.5297 8.42989L14.2931 14.8346ZM11.7811 18.0226C11.8557 17.8691 11.9621 17.7314 12.1004 17.6094C12.1956 17.5255 12.2977 17.4548 12.4066 17.3975C12.6412 17.2741 12.9075 17.2124 13.2057 17.2124C13.5225 17.2124 13.8007 17.2811 14.0405 17.4184C14.1353 17.4727 14.2241 17.5378 14.3068 17.6136C14.442 17.7374 14.5458 17.8762 14.6184 18.0301C14.7027 18.2087 14.7448 18.4077 14.7448 18.6269C14.7448 18.8242 14.7098 19.0065 14.6397 19.1738C14.5688 19.3433 14.4619 19.4974 14.3191 19.6361C14.1832 19.7681 14.0342 19.8685 13.8721 19.9373C13.6955 20.0122 13.5034 20.0497 13.2957 20.0497C12.8581 20.0497 12.4982 19.945 12.216 19.7355C12.2122 19.7327 12.2085 19.7299 12.2047 19.7271C12.1672 19.6986 12.131 19.6683 12.0963 19.6361C11.9352 19.4868 11.8178 19.3197 11.7439 19.1349C11.6814 18.9783 11.6501 18.809 11.6501 18.6269C11.6501 18.4038 11.6938 18.2024 11.7811 18.0226Z"
fill=
"url(#paint_linear_0)"
fill-rule=
"evenodd"
/>
</svg>
src/views/viewRiskSignal/index.vue
浏览文件 @
a0aca2cd
...
...
@@ -5,11 +5,11 @@
<div
class=
"center-center"
>
<div
class=
"center-header"
>
<div
class=
"center-header-left"
>
<img
class=
"iconstyle"
src=
"./assets/images/warning.
pn
g"
/>
<img
class=
"iconstyle"
src=
"./assets/images/warning.
sv
g"
/>
<div
class=
"center-header-title"
>
风险信号管理
</div>
</div>
<div
class=
"center-header-right"
>
<img
class=
"img"
src=
"./assets/images/danger.
pn
g"
/>
<img
class=
"img"
src=
"./assets/images/danger.
sv
g"
/>
<div
class=
"text"
>
风险统计
</div>
</div>
</div>
...
...
@@ -22,7 +22,7 @@
<div
class=
"text1"
>
本年新增风险
</div>
</div>
<div
class=
"text2"
style=
"color: rgba(95, 101, 108, 1)"
>
{{
basicInfo
.
yearAdded
+
" 项"
}}
<span
class=
"text2-inner"
>
{{
basicInfo
.
yearAdded
+
" 项"
}}
</span>
</div>
</div>
<div
class=
"item"
>
...
...
@@ -31,7 +31,7 @@
<div
class=
"text1"
>
本月新增风险
</div>
</div>
<div
class=
"text2"
style=
"color: rgba(95, 101, 108, 1)"
>
{{
basicInfo
.
monthAdded
+
" 项"
}}
<span
class=
"text2-inner"
>
{{
basicInfo
.
monthAdded
+
" 项"
}}
</span>
</div>
</div>
</div>
...
...
@@ -41,7 +41,8 @@
<div
class=
"dot"
style=
"background-color: rgba(5, 95, 194, 1)"
></div>
<div
class=
"text1"
>
已处理风险
</div>
</div>
<div
class=
"text2"
style=
"color: rgba(5, 95, 194, 1)"
>
{{
basicInfo
.
dealCount
+
" 项"
}}
</div>
<div
class=
"text2"
style=
"color: rgba(5, 95, 194, 1)"
><span
class=
"text2-inner"
>
{{
basicInfo
.
dealCount
+
" 项"
}}
</span></div>
</div>
<div
class=
"item"
>
<div
class=
"top"
>
...
...
@@ -49,7 +50,7 @@
<div
class=
"text1"
>
待处理风险
</div>
</div>
<div
class=
"text2"
style=
"color: rgba(206, 79, 81, 1)"
>
{{
basicInfo
.
pendingCount
+
" 项"
}}
<span
class=
"text2-inner"
>
{{
basicInfo
.
pendingCount
+
" 项"
}}
</span>
</div>
</div>
</div>
...
...
@@ -125,7 +126,7 @@
<div
class=
"title"
>
{{
"风险类型"
}}
</div>
</div>
<div
class=
"select-main"
>
<el-checkbox-group
class=
"checkbox-group"
:model-value=
"selectedRiskTypeModel"
<el-checkbox-group
class=
"checkbox-group
risk-type-checkbox-group
"
:model-value=
"selectedRiskTypeModel"
@
change=
"handleRiskTypeGroupChange"
>
<el-checkbox
class=
"filter-checkbox all-checkbox"
:label=
"RISK_FILTER_ALL_TYPE"
>
{{
RISK_FILTER_ALL_TYPE
}}
...
...
@@ -188,12 +189,14 @@
</div>
</div>
</div>
<
template
v-if=
"riskList && riskList.length"
>
<div
class=
"right-main"
>
<div
class=
"itemlist itemlist--clickable"
v-for=
"(val, idx) in riskList"
:key=
"val.rowKey"
@
click=
"handleOpenRiskDetail(val)"
>
<div
class=
"box-title"
>
<div
class=
"risktitle"
v-html=
"highlightRiskText(val.title)"
/>
<div
class=
"risktype"
:class=
"'risktype--' + getRiskListItemLevelKey(val.risktype)"
>
<div
v-if=
"!isRiskLevelNoData(val.risktype)"
class=
"risktype"
:class=
"'risktype--' + getRiskListItemLevelKey(val.risktype)"
>
<div
class=
"icon"
:class=
"'icon--' + getRiskListItemLevelKey(val.risktype)"
/>
<div
class=
"text"
>
{{
getRiskListItemLevelLabel
(
val
.
risktype
)
}}
</div>
</div>
...
...
@@ -217,6 +220,12 @@
:
total
=
"totalNum"
background
layout
=
"prev, pager, next"
/>
<
/div
>
<
/div
>
<
/template
>
<
template
v
-
else
>
<
div
class
=
"right-empty"
>
<
el
-
empty
class
=
"right-el-empty"
description
=
"暂无数据"
:
image
-
size
=
"100"
/>
<
/div
>
<
/template
>
<
/div
>
<
/div
>
<
/div
>
...
...
@@ -606,6 +615,11 @@ const getRiskListItemLevelLabel = (level) => {
return
t
;
}
;
const
isRiskLevelNoData
=
(
level
)
=>
{
const
t
=
String
(
level
??
""
).
trim
();
return
!
t
||
t
===
"暂无数值"
||
t
===
"暂无数据"
;
}
;
const
route
=
useRoute
();
const
router
=
useRouter
();
...
...
@@ -935,6 +949,15 @@ onMounted(async () => {
vertical
-
align
:
middle
;
}
.
risk
-
type
-
checkbox
-
group
:
deep
(.
el
-
checkbox__label
)
{
display
:
inline
-
block
;
max
-
width
:
8
em
;
overflow
:
hidden
;
text
-
overflow
:
ellipsis
;
white
-
space
:
nowrap
;
vertical
-
align
:
middle
;
}
.
home
-
wrapper
{
width
:
100
%
;
height
:
100
%
;
...
...
@@ -997,8 +1020,8 @@ onMounted(async () => {
cursor
:
pointer
;
.
img
{
width
:
1
6
px
;
height
:
1
5
px
;
width
:
1
4
px
;
height
:
1
4
px
;
}
.
text
{
...
...
@@ -1051,6 +1074,7 @@ onMounted(async () => {
line
-
height
:
24
px
;
color
:
rgba
(
59
,
65
,
75
,
1
);
text
-
align
:
right
;
white
-
space
:
nowrap
;
}
}
...
...
@@ -1061,6 +1085,14 @@ onMounted(async () => {
text
-
align
:
right
;
/* 强制不换行 */
white
-
space
:
nowrap
;
// 让右边界固定在块内,超长只会向左溢出(且不省略、完整显示)
width
:
100
%
;
direction
:
rtl
;
}
.
text2
-
inner
{
direction
:
ltr
;
unicode
-
bidi
:
isolate
;
}
}
}
...
...
@@ -1188,6 +1220,8 @@ onMounted(async () => {
margin
-
bottom
:
24
px
;
width
:
1224
px
;
position
:
relative
;
display
:
flex
;
flex
-
direction
:
column
;
border
-
radius
:
10
px
;
box
-
shadow
:
0
px
0
px
15
px
0
px
rgba
(
60
,
87
,
126
,
0.2
);
...
...
@@ -1277,6 +1311,7 @@ onMounted(async () => {
.
right
-
main
{
width
:
1224
px
;
flex
:
1
;
padding
-
left
:
24
px
;
padding
-
top
:
6
px
;
...
...
@@ -1451,6 +1486,24 @@ onMounted(async () => {
margin
-
right
:
58
px
;
}
}
.
right
-
empty
{
flex
:
1
;
min
-
height
:
520
px
;
display
:
flex
;
align
-
items
:
center
;
justify
-
content
:
center
;
padding
:
24
px
;
:
deep
(.
el
-
empty__image
)
{
margin
-
bottom
:
0
;
}
.
right
-
el
-
empty
{
padding
:
0
;
margin
:
0
;
}
}
}
}
}
...
...
@@ -1839,7 +1892,7 @@ onMounted(async () => {
.
risk
-
signal
-
detail
-
dialog
.
risk
-
signal
-
detail
-
dialog__header
-
badge
-
close
{
position
:
absolute
;
right
:
115
px
;
right
:
61
px
;
top
:
50
%
;
transform
:
translateY
(
-
50
%
);
width
:
16
px
;
...
...
@@ -1864,7 +1917,7 @@ onMounted(async () => {
.
risk
-
signal
-
detail
-
dialog
.
risk
-
signal
-
detail
-
dialog__read
-
indicator
{
position
:
absolute
;
right
:
115
px
;
right
:
61
px
;
top
:
50
%
;
transform
:
translateY
(
-
50
%
);
display
:
inline
-
flex
;
...
...
src/views/viewRiskSignal/utils/cleandarHeat.js
浏览文件 @
a0aca2cd
...
...
@@ -206,7 +206,7 @@ const getCalendarHeatChart = (rawData) => {
return
""
;
}
const
v
=
p
.
data
?.[
3
]
??
0
;
return
`
${
dateStr
}
<br/>
数值
:
${
v
}
`
;
return
`
${
dateStr
}
<br/>
风险数量
:
${
v
}
`
;
}
}
};
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论