Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
dsk-cr20g
Commits
1219fe0e
Commit
1219fe0e
authored
Jul 24, 2023
by
yht15023815643
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
风险概览
parent
23581658
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
risk.vue
...e-ui/src/views/detail/party-a/overview/component/risk.vue
+5
-7
No files found.
dsk-operate-ui/src/views/detail/party-a/overview/component/risk.vue
View file @
1219fe0e
<
template
>
<div
class=
"app-container clue-container"
>
<div
class=
"common-title"
>
风险概览
</div>
<div
class=
"flex-box clue-box"
v-if=
"
count
>0"
>
<div
class=
"flex-box clue-box"
v-if=
"
viewData[0].value
>0"
>
<div
class=
"clue-echarts"
><div
id=
"echartsRisk"
style=
"width: 100%;height:300px; margin: 0 auto;"
></div></div>
<div
class=
"table-item"
>
<el-table
...
...
@@ -120,7 +120,6 @@ export default {
bl
:
''
},
],
count
:
0
,
}
},
created
()
{
...
...
@@ -142,12 +141,11 @@ export default {
this
.
viewData
.
sort
((
a
,
b
)
=>
{
return
a
.
value
<
b
.
value
?
1
:
-
1
;
})
for
(
var
i
in
this
.
viewData
)
{
if
(
this
.
viewData
[
i
].
value
>
0
){
this
.
count
=
this
.
viewData
[
i
].
value
this
.
$nextTick
(()
=>
{
if
(
this
.
viewData
[
0
].
value
>
0
){
this
.
getDT
();
}
}
this
.
getDT
()
})
},
getDT
(){
let
myChart
=
echarts
.
init
(
document
.
getElementById
(
"echartsRisk"
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment