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
052da916
Commit
052da916
authored
May 10, 2024
by
mengzixuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
a73a8654
b1a15e95
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
21 deletions
+28
-21
useCaseRisk.vue
src/views/echartHome/useCaseRisk.vue
+2
-0
index.vue
src/views/index.vue
+23
-20
index.vue
src/views/processing/carTest/execution-test-plan/index.vue
+3
-1
No files found.
src/views/echartHome/useCaseRisk.vue
View file @
052da916
...
@@ -47,6 +47,8 @@ export default {
...
@@ -47,6 +47,8 @@ export default {
var
b
=
heightObj
[
0
].
count
/
total
var
b
=
heightObj
[
0
].
count
/
total
this
.
height
=
Math
.
round
(
b
*
100
)
this
.
height
=
Math
.
round
(
b
*
100
)
}
}
}
else
{
console
.
log
(
'323248888'
)
}
}
},
},
init
()
{
init
()
{
...
...
src/views/index.vue
View file @
052da916
...
@@ -116,7 +116,7 @@
...
@@ -116,7 +116,7 @@
<StandardClassification></StandardClassification>
<StandardClassification></StandardClassification>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"
5
"
>
<el-col
:span=
"
10
"
>
<div
class=
"cardThree"
>
<div
class=
"cardThree"
>
<div
class=
"cardTitle"
>
任务完成情况占比
</div>
<div
class=
"cardTitle"
>
任务完成情况占比
</div>
<div
style=
"display: flex; justify-content: space-between"
>
<div
style=
"display: flex; justify-content: space-between"
>
...
@@ -196,11 +196,6 @@
...
@@ -196,11 +196,6 @@
</div>
</div>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"5"
>
<div
class=
"cardStyle"
>
<ConfidentialityTasks></ConfidentialityTasks>
</div>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"14"
>
<el-col
:span=
"14"
>
...
@@ -348,7 +343,6 @@ export default {
...
@@ -348,7 +343,6 @@ export default {
AverageTest
,
AverageTest
,
UseCaseTest
,
UseCaseTest
,
UseCaseRisk
,
UseCaseRisk
,
ConfidentialityTasks
,
StandardClassification
StandardClassification
},
},
data
()
{
data
()
{
...
@@ -360,33 +354,42 @@ export default {
...
@@ -360,33 +354,42 @@ export default {
averageInspectionRate
:
[],
averageInspectionRate
:
[],
taskCompleted
:
[],
taskCompleted
:
[],
taskCompletedGroup
:
[],
taskCompletedGroup
:
[],
userCaseMsg
:
{
userCaseMsg
:
{}
riskLevel
:
[]
}
}
}
},
},
created
()
{
created
()
{
this
.
getTestHome
()
this
.
getQuantityStatistics
()
this
.
getQuantityStatistics
()
this
.
getTaskCompleted
()
this
.
getTaskCompleted
()
this
.
getTestHome
()
},
},
mounted
()
{
mounted
()
{
this
.
getAverageInspectionRate
()
this
.
getAverageInspectionRate
()
},
},
methods
:
{
methods
:
{
getTestHome
()
{
getTestHome
()
{
selectTest
({
name
:
'汽车整车信息安全技术要求'
}).
then
(
res
=>
{
selectTest
({
name
:
'汽车整车信息安全技术要求'
})
this
.
userCaseMsg
=
res
.
data
.
then
(
res
=>
{
this
.
$nextTick
(()
=>
{
this
.
userCaseMsg
=
res
.
data
this
.
useCaseTestShow
=
true
this
.
$nextTick
(()
=>
{
this
.
UseCaseRiskShow
=
true
this
.
useCaseTestShow
=
true
this
.
UseCaseRiskShow
=
true
})
})
.
catch
(
r
=>
{
this
.
$nextTick
(()
=>
{
this
.
useCaseTestShow
=
true
this
.
UseCaseRiskShow
=
true
})
})
})
})
},
},
riskLevelFilter
(
value
)
{
riskLevelFilter
(
value
)
{
var
obj
=
this
.
userCaseMsg
.
riskLevel
.
filter
(
obj
=>
obj
.
value
===
value
)
if
(
this
.
userCaseMsg
.
riskLevel
)
{
if
(
obj
.
length
>
0
)
{
var
obj
=
this
.
userCaseMsg
.
riskLevel
.
filter
(
obj
=>
obj
.
value
===
value
)
return
obj
[
0
].
count
if
(
obj
.
length
>
0
)
{
return
obj
[
0
].
count
}
else
{
return
0
}
}
else
{
}
else
{
return
0
return
0
}
}
...
...
src/views/processing/carTest/execution-test-plan/index.vue
View file @
052da916
...
@@ -57,7 +57,9 @@ export default {
...
@@ -57,7 +57,9 @@ export default {
methods
:
{
methods
:
{
goBack
()
{
goBack
()
{
testConfirm
({
taskId
:
this
.
$route
.
query
.
taskid
}).
then
(
res
=>
{
testConfirm
({
taskId
:
this
.
$route
.
query
.
taskid
}).
then
(
res
=>
{
this
.
$router
.
back
()
this
.
$router
.
push
({
path
:
'/processing/unprocessed-review'
})
})
})
},
},
handlePreview
()
{
handlePreview
()
{
...
...
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