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
bb59d17b
Commit
bb59d17b
authored
May 08, 2024
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(首页): 平均检验通过率二次渲染问题
parent
583d6470
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
averageTest.vue
src/views/echartHome/averageTest.vue
+1
-0
useCaseTest.vue
src/views/echartHome/useCaseTest.vue
+2
-2
index.vue
src/views/index.vue
+1
-1
No files found.
src/views/echartHome/averageTest.vue
View file @
bb59d17b
...
@@ -25,6 +25,7 @@ export default {
...
@@ -25,6 +25,7 @@ export default {
init
()
{
init
()
{
// 2.初始化
// 2.初始化
this
.
chart
=
this
.
$echarts
.
init
(
this
.
$refs
.
chart
)
this
.
chart
=
this
.
$echarts
.
init
(
this
.
$refs
.
chart
)
this
.
chart
.
setOption
({},
true
)
// 3.配置数据
// 3.配置数据
const
option
=
{
const
option
=
{
series
:
[
series
:
[
...
...
src/views/echartHome/useCaseTest.vue
View file @
bb59d17b
...
@@ -80,11 +80,11 @@ export default {
...
@@ -80,11 +80,11 @@ export default {
},
},
{
{
itemStyle
:
{
color
:
'#1A6FD7'
},
itemStyle
:
{
color
:
'#1A6FD7'
},
value
:
this
.
testTypeFilter
(
'
MANUAL
'
)
value
:
this
.
testTypeFilter
(
'
SEMI_AUTO
'
)
},
},
{
{
itemStyle
:
{
color
:
'#13BE24'
},
itemStyle
:
{
color
:
'#13BE24'
},
value
:
this
.
testTypeFilter
(
'
MANUAL
'
)
value
:
this
.
testTypeFilter
(
'
AUTO
'
)
}
}
]
]
}
}
...
...
src/views/index.vue
View file @
bb59d17b
...
@@ -356,8 +356,8 @@ export default {
...
@@ -356,8 +356,8 @@ export default {
}
}
},
},
created
()
{
created
()
{
this
.
getQuantityStatistics
()
this
.
getTestHome
()
this
.
getTestHome
()
this
.
getQuantityStatistics
()
this
.
getTaskCompleted
()
this
.
getTaskCompleted
()
},
},
mounted
()
{
mounted
()
{
...
...
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