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
Show 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) {
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 @@
v-show=
"showSearch"
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-input
v-model=
"queryParams.name"
...
...
@@ -102,97 +115,107 @@
v-loading=
"loading"
:data=
"inherentList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
fixed=
"left"
/>
<!--
<el-table-column
label=
"序号"
align=
"center"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
-->
<el-table-column
label=
"项目信息"
align=
"center"
fixed
width=
"500"
>
<el-table-column
label=
"
风险名称
"
label=
"
区域公司
"
align=
"center"
prop=
"
n
ame"
fixed=
"left
"
prop=
"
deptN
ame"
width=
"100
"
/>
<el-table-column
label=
"所属建筑"
align=
"center"
prop=
"buildingName
"
>
<el-table-column
label=
"项目名称"
align=
"center"
prop=
"projectName"
width=
"100
"
>
<template
slot-scope=
"scope"
>
<el-popover
placement=
"top-start"
title=
"所属建筑
"
title=
"项目名称
"
width=
"200"
trigger=
"hover"
:content=
"scope.row.building
Name"
:content=
"scope.row.project
Name"
>
<span
slot=
"reference"
>
{{
scope
.
row
.
building
Name
.
length
>
10
?
scope
.
row
.
building
Name
.
substring
(
0
,
10
)
+
"
...
"
:
scope
.
row
.
building
Name
scope
.
row
.
project
Name
.
length
>
10
?
scope
.
row
.
project
Name
.
substring
(
0
,
10
)
+
"
...
"
:
scope
.
row
.
project
Name
}}
</span>
</el-popover>
</
template
>
</el-table-column>
<el-table-column
label=
"所属楼层"
align=
"center"
prop=
"floorName"
/>
<el-table-column
label=
"所属房间"
align=
"center"
prop=
"roomName"
/>
<el-table-column
label=
"风险等级(系数)"
align=
"center"
prop=
"level"
/>
<el-table-column
label=
"风险因素"
align=
"center"
prop=
"factor"
>
<
template
slot-scope=
"scope"
>
<el-popover
placement=
"top-start"
title=
"风险因素"
width=
"200"
trigger=
"hover"
:content=
"scope.row.factor"
>
<span
slot=
"reference"
>
{{
scope
.
row
.
factor
.
length
>
10
?
scope
.
row
.
factor
.
substring
(
0
,
10
)
+
"
...
"
:
scope
.
row
.
factor
}}
</span>
</el-popover>
</
template
>
<el-table-column
label=
"所属城市"
align=
"center"
prop=
"city"
width=
"100"
/>
<el-table-column
label=
"项目业态"
align=
"center"
prop=
"businessFormat"
width=
"100"
/>
<el-table-column
label=
"项目类型"
align=
"center"
prop=
"type"
width=
"100"
/>
</el-table-column>
<el-table-column
label=
"项目风险清单"
align=
"center"
>
<el-table-column
label=
"固有风险"
align=
"center"
>
<el-table-column
label=
"危险源名称"
align=
"center"
prop=
"inherentName"
width=
"100"
/>
<el-table-column
label=
"风险等级"
align=
"center"
prop=
"inherentLevel"
width=
"100"
/>
</el-table-column>
<el-table-column
label=
"现有风险"
align=
"center"
>
<el-table-column
label=
"危险源名称"
align=
"center"
prop=
"existingName"
width=
"100"
/>
<el-table-column
label=
"风险等级"
align=
"center"
prop=
"existingLevel"
width=
"100"
/>
</el-table-column>
<el-table-column
label=
"准事故类型"
align=
"center"
prop=
"type"
>
<el-table-column
label=
"风险点位置"
align=
"center"
prop=
"presenceLocation"
width=
"100"
/>
<el-table-column
label=
"可能导致的事故后果"
align=
"center"
prop=
"listType"
width=
"100"
/>
</el-table-column>
<el-table-column
label=
"项目整体风险等级"
align=
"center"
>
<el-table-column
label=
"固有风险"
align=
"center"
prop=
"inherentProjectLevel"
width=
"100"
/>
<el-table-column
label=
"现状风险"
align=
"center"
prop=
"existingProjectLevel"
width=
"100"
/>
</el-table-column>
<el-table-column
label=
"风险管控"
align=
"center"
>
<el-table-column
label=
"应采取的管控措施"
align=
"center"
prop=
"inherentMeasuresAdministration"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<el-popover
placement=
"top-start"
title=
"
准事故类型
"
title=
"
应采取的管控措施
"
width=
"200"
trigger=
"hover"
:content=
"scope.row.
type
"
:content=
"scope.row.
inherentMeasuresAdministration
"
>
<span
slot=
"reference"
>
{{
scope
.
row
.
type
.
length
>
10
?
scope
.
row
.
type
.
substring
(
0
,
10
)
+
"
...
"
:
scope
.
row
.
type
scope
.
row
.
inherentMeasuresAdministration
&&
scope
.
row
.
inherentMeasuresAdministration
.
length
>
10
?
scope
.
row
.
inherentMeasuresAdministration
.
substring
(
0
,
10
)
+
"
...
"
:
scope
.
row
.
inherentMeasuresAdministration
}}
</span>
</el-popover>
</
template
>
</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"
>
<el-popover
placement=
"top-start"
title=
"
存在部位
"
title=
"
已采取的管控措施
"
width=
"200"
trigger=
"hover"
:content=
"scope.row.
presenceLoc
ation"
:content=
"scope.row.
existingMeasuresAdministr
ation"
>
<span
slot=
"reference"
>
{{
scope
.
row
.
presenceLoc
ation
.
length
>
10
?
scope
.
row
.
presenceLoc
ation
.
substring
(
0
,
10
)
+
"
...
"
:
scope
.
row
.
presenceLoc
ation
scope
.
row
.
existingMeasuresAdministration
&&
scope
.
row
.
existingMeasuresAdministr
ation
.
length
>
10
?
scope
.
row
.
existingMeasuresAdministr
ation
.
substring
(
0
,
10
)
+
"
...
"
:
scope
.
row
.
existingMeasuresAdministr
ation
}}
</span>
</el-popover>
</
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
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"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -221,7 +244,7 @@
</template>
<
script
>
import
{
l
istList
}
from
"
@/api/risk/existing
"
;
import
{
inherentL
istList
}
from
"
@/api/risk/existing
"
;
export
default
{
name
:
"
inherent
"
,
...
...
@@ -272,7 +295,7 @@ export default {
/** 查询固有风险清单库列表 */
getList
()
{
this
.
loading
=
true
;
l
istList
(
this
.
queryParams
).
then
((
response
)
=>
{
inherentL
istList
(
this
.
queryParams
).
then
((
response
)
=>
{
this
.
inherentList
=
response
.
rows
;
this
.
total
=
response
.
total
;
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