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
42dfdd27
Commit
42dfdd27
authored
Aug 14, 2023
by
p-wanping.song
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改风险模型结果页面
parent
3125c9df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
src/views/riskProject/add/addPresent.vue
src/views/riskProject/add/addPresent.vue
+3
-1
src/views/riskProject/add/resultPage.vue
src/views/riskProject/add/resultPage.vue
+9
-3
No files found.
src/views/riskProject/add/addPresent.vue
View file @
42dfdd27
...
@@ -712,7 +712,9 @@ export default {
...
@@ -712,7 +712,9 @@ export default {
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
"
resultPage
"
,
name
:
"
resultPage
"
,
params
:
{
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 @
42dfdd27
...
@@ -9,8 +9,8 @@
...
@@ -9,8 +9,8 @@
<p>
本次评估结果评定为:
{{
level
}}
</p>
<p>
本次评估结果评定为:
{{
level
}}
</p>
<van-divider></van-divider>
<van-divider></van-divider>
<van-field
readonly
label=
"所属模型:"
placeholder=
"ls风险矩阵评估模型"
/>
<van-field
readonly
label=
"所属模型:"
placeholder=
"ls风险矩阵评估模型"
/>
<van-field
readonly
label=
"风险发生可能性:"
placeholder=
"一般情况不会发生"
/>
<van-field
readonly
label=
"风险发生可能性:"
placeholder=
"一般情况不会发生"
:value=
"possibleValue"
/>
<van-field
readonly
label=
"后果严重程度"
placeholder=
"轻微影响"
/>
<van-field
readonly
label=
"后果严重程度"
placeholder=
"轻微影响"
:value=
"severityValue"
/>
<van-field
readonly
label=
"判定标准:"
placeholder=
"见下图"
/>
<van-field
readonly
label=
"判定标准:"
placeholder=
"见下图"
/>
<van-image
width=
"90vw"
height=
"auto"
:src=
"require('@/assets/workbench/sst.jpg')"
/>
<van-image
width=
"90vw"
height=
"auto"
:src=
"require('@/assets/workbench/sst.jpg')"
/>
</div>
</div>
...
@@ -35,11 +35,17 @@ import LHeader from "@/components/header.vue";
...
@@ -35,11 +35,17 @@ import LHeader from "@/components/header.vue";
text
:
'
测评结果
'
,
text
:
'
测评结果
'
,
score
:
0
,
score
:
0
,
result
:
null
,
result
:
null
,
backgroundColor
:
''
backgroundColor
:
''
,
possibleValue
:
''
,
severityValue
:
''
}
}
},
},
created
(){
created
(){
// this.score = this.$route.query.score-'';
// this.score = this.$route.query.score-'';
const
route
=
this
.
$route
.
params
;
console
.
log
(
route
);
this
.
possibleValue
=
route
.
possibleValue
;
this
.
severityValue
=
route
.
severityValue
this
.
getResult
()
this
.
getResult
()
},
},
methods
:{
methods
:{
...
...
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