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
82ba7587
Commit
82ba7587
authored
Aug 21, 2023
by
p-wanping.song
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0817问题清单修复
parent
e1a196e2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
+10
-9
src/views/riskProject/add/addPresent.vue
src/views/riskProject/add/addPresent.vue
+4
-4
src/views/riskProject/add/resultPage.vue
src/views/riskProject/add/resultPage.vue
+5
-4
src/views/riskProject/assess/model/result.vue
src/views/riskProject/assess/model/result.vue
+1
-1
No files found.
src/views/riskProject/add/addPresent.vue
View file @
82ba7587
...
...
@@ -956,10 +956,10 @@ export default {
//开始测评
seletGrade
(
name
)
{
this
.
saveFormData
()
this
.
getGradeList
(
"
possibility
"
);
this
.
getGradeList
(
"
severity
"
);
this
.
showGradeDialog
=
true
;
//
this.$router.push('/assess/model/step1')
//
this.getGradeList("possibility");
//
this.getGradeList("severity");
//
this.showGradeDialog = true;
this
.
$router
.
push
(
'
/assess/model/step1
'
)
},
//风险模型配置
getGradeList
(
type
)
{
...
...
src/views/riskProject/add/resultPage.vue
View file @
82ba7587
...
...
@@ -3,10 +3,10 @@
<LHeader
:text=
"text"
></LHeader>
<div
class=
"section"
>
<p>
该次测评风险值为:
</p>
<div
class=
"resultScore"
:style=
"
{ background:
backgroundC
olor}" >
<div
class=
"resultScore"
:style=
"
{ background:
result.c
olor}" >
<p
style=
"font-weight: bold;font-size: 20px;color: white;"
>
{{
score
}}
</p>
</div>
<p>
本次评估结果评定为:
{{
level
}}
</p>
<p>
本次评估结果评定为:
{{
result
.
level
}}
</p>
<van-divider></van-divider>
<van-field
readonly
label=
"所属模型:"
placeholder=
"ls风险矩阵评估模型"
/>
<van-field
readonly
label=
"风险发生可能性:"
placeholder=
"一般情况不会发生"
:value=
"possibleValue"
/>
...
...
@@ -34,8 +34,9 @@ import LHeader from "@/components/header.vue";
return
{
text
:
'
测评结果
'
,
score
:
0
,
result
:
null
,
backgroundColor
:
''
,
result
:{
},
possibleValue
:
''
,
severityValue
:
''
,
level
:
''
...
...
src/views/riskProject/assess/model/result.vue
View file @
82ba7587
...
...
@@ -59,7 +59,7 @@ import LHeader from "@/components/header.vue";
}
})()
getFun
(
`/risk/plan/matrix/score/
${
this
.
score
}
`
).
then
(
res
=>
{
getFun
(
`/risk/plan/matrix/score
1
/
${
this
.
score
}
`
).
then
(
res
=>
{
if
(
res
.
data
.
score
){
this
.
score
=
res
.
data
.
score
;
}
...
...
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