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
c8cbf7c3
Commit
c8cbf7c3
authored
Aug 21, 2023
by
p-wanping.song
Browse files
Options
Browse Files
Download
Plain Diff
0817问题清单修复
parents
a167c767
ce23758e
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
67 additions
and
28 deletions
+67
-28
src/views/drawCanvas/riskView.vue
src/views/drawCanvas/riskView.vue
+5
-2
src/views/riskProject/add/addCurrent.vue
src/views/riskProject/add/addCurrent.vue
+3
-1
src/views/riskProject/add/addInherent.vue
src/views/riskProject/add/addInherent.vue
+3
-1
src/views/riskProject/add/addPresent.vue
src/views/riskProject/add/addPresent.vue
+34
-4
src/views/riskProject/add/resultPage.vue
src/views/riskProject/add/resultPage.vue
+15
-17
src/views/riskProject/assess/model/result.vue
src/views/riskProject/assess/model/result.vue
+1
-1
src/views/riskProject/taskLedger/presentDetail.vue
src/views/riskProject/taskLedger/presentDetail.vue
+3
-1
src/views/riskProject/taskLedger/tabDetail.vue
src/views/riskProject/taskLedger/tabDetail.vue
+3
-1
No files found.
src/views/drawCanvas/riskView.vue
View file @
c8cbf7c3
...
...
@@ -474,8 +474,11 @@ export default {
return
;
}
if
(
this
.
editItem
){
console
.
log
(
this
.
editItem
)
const
editItem
=
this
.
layout
.
find
(
x
=>
x
.
i
==
this
.
editItem
.
i
)
const
editItem
=
this
.
layout
.
find
(
x
=>
x
.
i
==
this
.
editItem
.
i
);
const
layoutData
=
this
.
layoutData
.
find
(
x
=>
x
.
position
.
id
==
editItem
.
i
);
if
(
layoutData
){
layoutData
.
name
=
this
.
roomName
}
if
(
editItem
){
editItem
.
name
=
this
.
roomName
;
editItem
.
type
=
this
.
roomType
;
...
...
src/views/riskProject/add/addCurrent.vue
View file @
c8cbf7c3
...
...
@@ -1372,7 +1372,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/addInherent.vue
View file @
c8cbf7c3
...
...
@@ -1121,7 +1121,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/addPresent.vue
View file @
c8cbf7c3
...
...
@@ -433,6 +433,7 @@
size=
"small"
type=
"info"
native-type=
"button"
@
click=
"goResultPage"
>
开始测评
</van-button
></van-col
>
...
...
@@ -705,6 +706,35 @@ export default {
}
},
methods
:
{
// 开始评测
goResultPage
()
{
sessionStorage
.
setItem
(
"
presentForm
"
,
JSON
.
stringify
(
this
.
form
));
/* measuresAdministrationFile: [], //管理措施图片
measuresProjectFile: [], //管理措施图片
measuresEmergencyFile: [], //管理措施图片 */
this
.
$store
.
commit
(
'
SET_PRESENT_IMG
'
,[{
key
:
'
uploaderImg
'
,
value
:
this
.
uploaderImg
},{
key
:
'
measuresAdministrationFile
'
,
value
:
this
.
measuresAdministrationFile
},{
key
:
'
measuresProjectFile
'
,
value
:
this
.
measuresProjectFile
},{
key
:
'
measuresEmergencyFile
'
,
value
:
this
.
measuresEmergencyFile
},])
this
.
$router
.
push
({
name
:
"
resultPage
"
,
params
:
{
score
:
this
.
severityScore
*
this
.
possibleScore
,
possibleValue
:
this
.
possibleValue
,
severityValue
:
this
.
severityValue
,
}
});
},
measuresUserNameChange
(
e
)
{
getFun
(
`/risk/plan/inherent/getResponsibilityPersons?personName=
${
e
}
&projectId=
${
this
.
form
.
projectId
}
`
...
...
@@ -926,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 @
c8cbf7c3
...
...
@@ -3,14 +3,14 @@
<LHeader
:text=
"text"
></LHeader>
<div
class=
"section"
>
<p>
该次测评风险值为:
</p>
<div
class=
"resultScore"
:style=
"
{ background:
result.c
olor}" >
<p
style=
"font-weight: bold;font-size: 20px;color: white;"
>
{{
this
.
score
}}
</p>
<div
class=
"resultScore"
:style=
"
{ background:
backgroundC
olor}" >
<p
style=
"font-weight: bold;font-size: 20px;color: white;"
>
{{
score
}}
</p>
</div>
<p>
本次评估结果评定为:
{{
result
.
level
}}
</p>
<p>
本次评估结果评定为:
{{
level
}}
</p>
<van-divider></van-divider>
<van-field
readonly
label=
"所属模型:"
placeholder=
"ls风险矩阵评估模型"
/>
<van-field
readonly
label=
"风险发生可能性:"
placeholder=
"一般情况不会发生"
/>
<van-field
readonly
label=
"后果严重程度"
placeholder=
"轻微影响"
/>
<van-field
readonly
label=
"风险发生可能性:"
placeholder=
"一般情况不会发生"
:value=
"possibleValue"
/>
<van-field
readonly
label=
"后果严重程度"
placeholder=
"轻微影响"
:value=
"severityValue"
/>
<van-field
readonly
label=
"判定标准:"
placeholder=
"见下图"
/>
<van-image
width=
"90vw"
height=
"auto"
:src=
"require('@/assets/workbench/sst.jpg')"
/>
</div>
...
...
@@ -34,14 +34,19 @@ import LHeader from "@/components/header.vue";
return
{
text
:
'
测评结果
'
,
score
:
0
,
result
:{
level
:
''
,
color
:
''
}
result
:
null
,
backgroundColor
:
''
,
possibleValue
:
''
,
severityValue
:
''
,
level
:
''
}
},
created
(){
this
.
score
=
this
.
$route
.
params
.
score
-
''
;
// this.score = this.$route.query.score-'';
const
route
=
this
.
$route
.
params
;
this
.
possibleValue
=
route
.
possibleValue
;
this
.
severityValue
=
route
.
severityValue
;
this
.
score
=
route
.
score
;
this
.
getResult
()
},
methods
:{
...
...
@@ -74,15 +79,8 @@ import LHeader from "@/components/header.vue";
history
.
go
(
-
1
)
},
sureClose
(){
// this.$emit('',)
sessionStorage
.
setItem
(
'
level
'
,
this
.
result
.
level
)
history
.
go
(
-
1
)
// this.$router.push({
// name:'addInherent',
// params:{
// level:this.level
// }
// })
}
}
}
...
...
src/views/riskProject/assess/model/result.vue
View file @
c8cbf7c3
...
...
@@ -28,7 +28,7 @@
import
{
getFun
,
postFun
}
from
"
@/service/table.js
"
;
import
LHeader
from
"
@/components/header.vue
"
;
export
default
{
name
:
'
resultPage
'
,
name
:
'
modelResult
'
,
components
:{
LHeader
},
...
...
src/views/riskProject/taskLedger/presentDetail.vue
View file @
c8cbf7c3
...
...
@@ -830,7 +830,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/taskLedger/tabDetail.vue
View file @
c8cbf7c3
...
...
@@ -797,7 +797,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
,
}
});
},
...
...
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