Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rongtong-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
融通安全管理系统
rongtong-app
Commits
ce23758e
Commit
ce23758e
authored
Aug 15, 2023
by
周昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改风险评估矩阵
parent
42dfdd27
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
src/views/riskProject/add/addCurrent.vue
src/views/riskProject/add/addCurrent.vue
+3
-1
src/views/riskProject/add/resultPage.vue
src/views/riskProject/add/resultPage.vue
+7
-7
No files found.
src/views/riskProject/add/addCurrent.vue
View file @
ce23758e
...
...
@@ -1363,7 +1363,9 @@ export default {
this
.
$router
.
push
({
name
:
"
resultPage
"
,
params
:
{
score
:
this
.
severityScore
*
this
.
possibleScore
score
:
this
.
severityScore
*
this
.
possibleScore
,
possibleValue
:
this
.
possibleValue
,
severityValue
:
this
.
severityValue
,
}
});
},
...
...
src/views/riskProject/add/resultPage.vue
View file @
ce23758e
...
...
@@ -37,15 +37,16 @@ import LHeader from "@/components/header.vue";
result
:
null
,
backgroundColor
:
''
,
possibleValue
:
''
,
severityValue
:
''
severityValue
:
''
,
level
:
''
}
},
created
(){
// this.score = this.$route.query.score-'';
const
route
=
this
.
$route
.
params
;
console
.
log
(
route
);
this
.
possibleValue
=
route
.
possibleValue
;
this
.
severityValue
=
route
.
severityValue
this
.
severityValue
=
route
.
severityValue
;
this
.
score
=
route
.
score
;
this
.
getResult
()
},
methods
:{
...
...
@@ -85,16 +86,15 @@ import LHeader from "@/components/header.vue";
case
"
较小风险
"
:
return
"
#0091EA
"
;
case
"
较大风险
"
:
return
"
FF9800
"
;
return
"
#
FF9800
"
;
case
"
重大风险
"
:
return
"
FF4433
"
;
return
"
#
FF4433
"
;
default
:
return
"
orange
"
}
}
getFun
(
`/risk/plan/matrix/score/
${
this
.
$route
.
params
.
score
}
`
).
then
(
res
=>
{
this
.
level
=
res
.
data
.
level
this
.
score
=
res
.
data
.
max
this
.
backgroundColor
=
bgColor
()
})
},
...
...
@@ -103,7 +103,7 @@ import LHeader from "@/components/header.vue";
history
.
go
(
-
1
)
},
sureClose
(){
sessionStorage
.
setItem
(
'
level
'
,
this
.
level
)
sessionStorage
.
setItem
(
'
level
'
,
this
.
level
)
history
.
go
(
-
1
)
// sessionStorage.setItem('level',this.result.level)
// history.go(-3)
...
...
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