Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web
Project
Project
Details
Activity
Releases
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
中汽测评-信息安全测评系统
web
Commits
f30ec767
Commit
f30ec767
authored
Mar 13, 2024
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(数据统计): ui
parent
f4ee30cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
139 additions
and
66 deletions
+139
-66
index.vue
src/views/setting/sample/taskDetails/index.vue
+139
-66
No files found.
src/views/setting/sample/taskDetails/index.vue
View file @
f30ec767
...
...
@@ -92,16 +92,25 @@
<el-row
class=
"prograss-title"
>
用例维度
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-progress
type=
"circle"
:percentage=
"
percentageChange(dataStatistic.systemDetailsPass)
"
color=
"#13BE24"
:width=
"130"
:stroke-width=
"16"
:format=
"format"
></el-progress>
<div
class=
"circleBox"
>
<el-progress
type=
"circle"
:percentage=
"
percentageChange(dataStatistic.systemDetailsPass)
"
color=
"#13BE24"
:width=
"140"
:stroke-width=
"16"
/>
<div
class=
"circleCenter"
>
<span>
审查通过率
</span>
<div>
{{
percentageChange
(
dataStatistic
.
systemDetailsPass
)
}}
%
</div>
</div>
</div>
</el-col>
<el-col
:span=
"6"
>
<div
class=
"prograss-laout"
style=
"text-align: end"
>
...
...
@@ -167,16 +176,25 @@
<el-row
class=
"prograss-title"
>
合规维度
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-progress
type=
"circle"
:percentage=
"
percentageChange(dataStatistic.systemStandardsPass)
"
color=
"#13BE24"
:width=
"130"
:stroke-width=
"16"
:format=
"format"
></el-progress>
<div
class=
"circleBox"
>
<el-progress
type=
"circle"
:percentage=
"
percentageChange(dataStatistic.systemStandardsPass)
"
color=
"#13BE24"
:width=
"140"
:stroke-width=
"16"
/>
<div
class=
"circleCenter"
>
<span>
审查通过率
</span>
<div>
{{
percentageChange
(
dataStatistic
.
systemStandardsPass
)
}}
%
</div>
</div>
</div>
</el-col>
<el-col
:span=
"6"
>
<div
class=
"prograss-laout"
style=
"text-align: end"
>
...
...
@@ -253,16 +271,23 @@
<el-row
class=
"prograss-title"
>
用例维度
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-progress
type=
"circle"
:percentage=
"
percentageChange(dataStatistic.carDetailsPass)
"
color=
"#13BE24"
:width=
"130"
:stroke-width=
"16"
:format=
"format"
></el-progress>
<div
class=
"circleBox"
>
<el-progress
type=
"circle"
:percentage=
"
percentageChange(dataStatistic.carDetailsPass)
"
color=
"#13BE24"
:width=
"140"
:stroke-width=
"16"
/>
<div
class=
"circleCenter"
>
<span>
审查通过率
</span>
<div>
{{
percentageChange
(
dataStatistic
.
carDetailsPass
)
}}
%
</div>
</div>
</div>
</el-col>
<el-col
:span=
"6"
>
<div
class=
"prograss-laout"
style=
"text-align: end"
>
...
...
@@ -326,16 +351,25 @@
<el-row
class=
"prograss-title"
>
合规维度
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-progress
type=
"circle"
:percentage=
"
percentageChange(dataStatistic.carStandardsPass)
"
color=
"#13BE24"
:width=
"130"
:stroke-width=
"16"
:format=
"format"
></el-progress>
<div
class=
"circleBox"
>
<el-progress
type=
"circle"
:percentage=
"
percentageChange(dataStatistic.carStandardsPass)
"
color=
"#13BE24"
:width=
"140"
:stroke-width=
"16"
/>
<div
class=
"circleCenter"
>
<span>
审查通过率
</span>
<div>
{{
percentageChange
(
dataStatistic
.
carStandardsPass
)
}}
%
</div>
</div>
</div>
</el-col>
<el-col
:span=
"6"
>
<div
class=
"prograss-laout"
style=
"text-align: end"
>
...
...
@@ -407,16 +441,23 @@
<el-row
class=
"prograss-title"
>
用例维度
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-progress
type=
"circle"
:percentage=
"
percentageChange(dataStatistic.testDetailsPass)
"
color=
"#13BE24"
:width=
"130"
:stroke-width=
"16"
:format=
"formatTest"
></el-progress>
<div
class=
"circleBox"
>
<el-progress
type=
"circle"
:percentage=
"
percentageChange(dataStatistic.testDetailsPass)
"
color=
"#13BE24"
:width=
"140"
:stroke-width=
"16"
/>
<div
class=
"circleCenter"
>
<span>
测试通过率
</span>
<div>
{{
percentageChange
(
dataStatistic
.
testDetailsPass
)
}}
%
</div>
</div>
</div>
</el-col>
<el-col
:span=
"6"
>
<div
class=
"prograss-laout"
style=
"text-align: end"
>
...
...
@@ -480,16 +521,25 @@
<el-row
class=
"prograss-title"
>
合规维度
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-progress
type=
"circle"
:percentage=
"
percentageChange(dataStatistic.testStandardsPass)
"
color=
"#13BE24"
:width=
"130"
:stroke-width=
"16"
:format=
"format"
></el-progress>
<div
class=
"circleBox"
>
<el-progress
type=
"circle"
:percentage=
"
percentageChange(dataStatistic.testStandardsPass)
"
color=
"#13BE24"
:width=
"140"
:stroke-width=
"16"
/>
<div
class=
"circleCenter"
>
<span>
测试通过率
</span>
<div>
{{
percentageChange
(
dataStatistic
.
testStandardsPass
)
}}
%
</div>
</div>
</div>
</el-col>
<el-col
:span=
"6"
>
<div
class=
"prograss-laout"
style=
"text-align: end"
>
...
...
@@ -822,12 +872,6 @@ export default {
return
data
.
split
(
','
)
},
tabClick
()
{},
formatTest
(
percentage
)
{
return
(
percentage
=
`测试通过率\n\n
${
percentage
}
%`
)
},
format
(
percentage
)
{
return
(
percentage
=
`审查通过率\n\n
${
percentage
}
%`
)
},
progressLine
(
percentage
)
{
return
(
percentage
=
`
${
percentage
}
`
)
},
...
...
@@ -842,6 +886,28 @@ export default {
}
</
script
>
<
style
scoped
lang=
"scss"
>
.circleBox
{
position
:
relative
;
text-align
:
center
;
width
:
140px
;
.circleCenter
{
position
:
absolute
;
top
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
div
{
margin-top
:
10px
;
font-size
:
16px
;
font-weight
:
700
;
color
:
#303133
;
}
span
{
font-size
:
14px
;
font-weight
:
400
;
color
:
#606266
;
}
}
}
.detailsCard
{
background
:
#ffffff
;
border
:
1px
solid
#ebebeb
;
...
...
@@ -1011,5 +1077,12 @@ export default {
}
::v-deep
.el-progress__text
{
white-space
:
pre
;
display
:
none
;
}
::v-deep
.el-progress-bar__outer
{
border-radius
:
0px
!
important
;
}
::v-deep
.el-progress-bar__inner
{
border-radius
:
0px
!
important
;
}
</
style
>
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