Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rongtong-pc
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-pc
Commits
be3410fc
Commit
be3410fc
authored
Sep 12, 2023
by
周昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、修改固有风险台账
parent
4f92fbe8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
98 additions
and
65 deletions
+98
-65
src/api/risk/existing.js
src/api/risk/existing.js
+10
-0
src/views/risk/existing/index.vue
src/views/risk/existing/index.vue
+88
-65
No files found.
src/api/risk/existing.js
View file @
be3410fc
...
@@ -8,3 +8,13 @@ export function listList(query) {
...
@@ -8,3 +8,13 @@ export function listList(query) {
params
:
query
params
:
query
})
})
}
}
// 查询固有风险台账列表
export
function
inherentListList
(
query
)
{
return
request
({
url
:
'
/system/risk/plan/inherentList
'
,
method
:
'
get
'
,
params
:
query
})
}
src/views/risk/existing/index.vue
View file @
be3410fc
...
@@ -8,6 +8,19 @@
...
@@ -8,6 +8,19 @@
v-show=
"showSearch"
v-show=
"showSearch"
label-width=
"90px"
label-width=
"90px"
>
>
<el-form-item
label=
"区域公司"
prop=
"name"
>
<el-input
v-model=
"queryParams.name"
placeholder=
"请输入区域公司"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"风险名称"
prop=
"name"
>
<el-form-item
label=
"风险名称"
prop=
"name"
>
<el-input
<el-input
v-model=
"queryParams.name"
v-model=
"queryParams.name"
...
@@ -102,98 +115,108 @@
...
@@ -102,98 +115,108 @@
v-loading=
"loading"
v-loading=
"loading"
:data=
"inherentList"
:data=
"inherentList"
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
>
>
<el-table-column
type=
"selection"
<el-table-column
label=
"项目信息"
align=
"center"
fixed
width=
"500"
>
width=
"55"
<el-table-column
label=
"区域公司"
align=
"center"
align=
"center"
fixed=
"left"
prop=
"deptName"
width=
"100"
/>
/>
<!--
<el-table-column
label=
"序号"
align=
"center"
>
<el-table-column
label=
"项目名称"
align=
"center"
prop=
"projectName"
width=
"100"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
<el-popover
</
template
>
placement=
"top-start"
</el-table-column>
-->
title=
"项目名称"
width=
"200"
trigger=
"hover"
:content=
"scope.row.projectName"
>
<span
slot=
"reference"
>
{{
scope
.
row
.
projectName
.
length
>
10
?
scope
.
row
.
projectName
.
substring
(
0
,
10
)
+
"
...
"
:
scope
.
row
.
projectName
}}
</span>
</el-popover>
</
template
>
</el-table-column>
<el-table-column
<el-table-column
label=
"所属城市"
align=
"center"
prop=
"city"
width=
"100"
/>
label=
"风险名称"
<el-table-column
label=
"项目业态"
align=
"center"
prop=
"businessFormat"
width=
"100"
/>
align=
"center"
<el-table-column
label=
"项目类型"
align=
"center"
prop=
"type"
width=
"100"
/>
prop=
"name"
fixed=
"left"
/>
<el-table-column
label=
"所属建筑"
align=
"center"
prop=
"buildingName"
>
<
template
slot-scope=
"scope"
>
<el-popover
placement=
"top-start"
title=
"所属建筑"
width=
"200"
trigger=
"hover"
:content=
"scope.row.buildingName"
>
<span
slot=
"reference"
>
{{
scope
.
row
.
buildingName
.
length
>
10
?
scope
.
row
.
buildingName
.
substring
(
0
,
10
)
+
"
...
"
:
scope
.
row
.
buildingName
}}
</span>
</el-popover>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"所属楼层"
align=
"center"
prop=
"floorName"
/>
<el-table-column
label=
"项目风险清单"
align=
"center"
>
<el-table-column
label=
"所属房间"
align=
"center"
prop=
"roomName"
/>
<el-table-column
label=
"固有风险"
align=
"center"
>
<el-table-column
label=
"风险等级(系数)"
align=
"center"
prop=
"level"
/>
<el-table-column
label=
"危险源名称"
align=
"center"
prop=
"inherentName"
width=
"100"
/>
<el-table-column
label=
"风险因素"
align=
"center"
prop=
"factor"
>
<el-table-column
label=
"风险等级"
align=
"center"
prop=
"inherentLevel"
width=
"100"
/>
<
template
slot-scope=
"scope"
>
</el-table-column>
<el-popover
<el-table-column
label=
"现有风险"
align=
"center"
>
placement=
"top-start"
<el-table-column
label=
"危险源名称"
align=
"center"
prop=
"existingName"
width=
"100"
/>
title=
"风险因素"
<el-table-column
label=
"风险等级"
align=
"center"
prop=
"existingLevel"
width=
"100"
/>
width=
"200"
</el-table-column>
trigger=
"hover"
<el-table-column
label=
"风险点位置"
align=
"center"
prop=
"presenceLocation"
width=
"100"
/>
:content=
"scope.row.factor"
<el-table-column
label=
"可能导致的事故后果"
align=
"center"
prop=
"listType"
width=
"100"
/>
>
</el-table-column>
<span
slot=
"reference"
>
{{
scope
.
row
.
factor
.
length
>
10
<el-table-column
label=
"项目整体风险等级"
align=
"center"
>
?
scope
.
row
.
factor
.
substring
(
0
,
10
)
+
"
...
"
<el-table-column
label=
"固有风险"
align=
"center"
prop=
"inherentProjectLevel"
width=
"100"
/>
:
scope
.
row
.
factor
<el-table-column
label=
"现状风险"
align=
"center"
prop=
"existingProjectLevel"
width=
"100"
/>
}}
</span>
</el-popover>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"准事故类型"
align=
"center"
prop=
"type"
>
<el-table-column
label=
"风险管控"
align=
"center"
>
<el-table-column
label=
"应采取的管控措施"
align=
"center"
prop=
"inherentMeasuresAdministration"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-popover
<el-popover
placement=
"top-start"
placement=
"top-start"
title=
"
准事故类型
"
title=
"
应采取的管控措施
"
width=
"200"
width=
"200"
trigger=
"hover"
trigger=
"hover"
:content=
"scope.row.
type
"
:content=
"scope.row.
inherentMeasuresAdministration
"
>
>
<span
slot=
"reference"
>
{{
<span
slot=
"reference"
>
{{
scope
.
row
.
type
.
length
>
10
scope
.
row
.
inherentMeasuresAdministration
&&
scope
.
row
.
inherentMeasuresAdministration
.
length
>
10
?
scope
.
row
.
type
.
substring
(
0
,
10
)
+
"
...
"
?
scope
.
row
.
inherentMeasuresAdministration
.
substring
(
0
,
10
)
+
"
...
"
:
scope
.
row
.
type
:
scope
.
row
.
inherentMeasuresAdministration
}}
</span>
}}
</span>
</el-popover>
</el-popover>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"存在部位"
align=
"center"
prop=
"presenceLocation
"
>
<el-table-column
label=
"已采取的管控措施"
align=
"center"
prop=
"existingMeasuresAdministration"
width=
"100
"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-popover
<el-popover
placement=
"top-start"
placement=
"top-start"
title=
"
存在部位
"
title=
"
已采取的管控措施
"
width=
"200"
width=
"200"
trigger=
"hover"
trigger=
"hover"
:content=
"scope.row.
presenceLoc
ation"
:content=
"scope.row.
existingMeasuresAdministr
ation"
>
>
<span
slot=
"reference"
>
{{
<span
slot=
"reference"
>
{{
scope
.
row
.
presenceLoc
ation
.
length
>
10
scope
.
row
.
existingMeasuresAdministration
&&
scope
.
row
.
existingMeasuresAdministr
ation
.
length
>
10
?
scope
.
row
.
presenceLoc
ation
.
substring
(
0
,
10
)
+
"
...
"
?
scope
.
row
.
existingMeasuresAdministr
ation
.
substring
(
0
,
10
)
+
"
...
"
:
scope
.
row
.
presenceLoc
ation
:
scope
.
row
.
existingMeasuresAdministr
ation
}}
</span>
}}
</span>
</el-popover>
</el-popover>
</
template
>
</
template
>
</el-table-column>
<el-table-column
label=
"分级管控"
align=
"center"
>
<el-table-column
label=
"管控责任单位"
align=
"center"
prop=
"measuresDeptName"
width=
"100"
/>
<el-table-column
label=
"管控责任人"
align=
"center"
prop=
"measuresUserName"
width=
"100"
/>
<el-table-column
label=
"人员联系方式"
align=
"center"
prop=
"measuresUserPhone"
width=
"100"
/>
</el-table-column>
</el-table-column>
</el-table-column>
<el-table-column
label=
"重大危险源管理"
align=
"center"
>
<el-table-column
label=
"是否存在重大危险源"
align=
"center"
prop=
"majorHazardSource"
width=
"100"
/>
<el-table-column
label=
"重大危险源名称"
align=
"center"
prop=
"hazardSourceName"
width=
"100"
/>
<el-table-column
label=
"重大危险源描述"
align=
"center"
prop=
"majorHazardDescription"
width=
"100"
/>
</el-table-column>
<el-table-column
label=
"判定依据"
align=
"center"
prop=
"referenceBasis"
width=
"100"
/>
<el-table-column
label=
"操作"
align=
"center"
prop=
"describe"
>
<el-table-column
label=
"操作"
align=
"center"
prop=
"describe"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div>
<div>
...
@@ -221,7 +244,7 @@
...
@@ -221,7 +244,7 @@
</template>
</template>
<
script
>
<
script
>
import
{
l
istList
}
from
"
@/api/risk/existing
"
;
import
{
inherentL
istList
}
from
"
@/api/risk/existing
"
;
export
default
{
export
default
{
name
:
"
inherent
"
,
name
:
"
inherent
"
,
...
@@ -272,7 +295,7 @@ export default {
...
@@ -272,7 +295,7 @@ export default {
/** 查询固有风险清单库列表 */
/** 查询固有风险清单库列表 */
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
l
istList
(
this
.
queryParams
).
then
((
response
)
=>
{
inherentL
istList
(
this
.
queryParams
).
then
((
response
)
=>
{
this
.
inherentList
=
response
.
rows
;
this
.
inherentList
=
response
.
rows
;
this
.
total
=
response
.
total
;
this
.
total
=
response
.
total
;
this
.
loading
=
false
;
this
.
loading
=
false
;
...
...
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