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
2b4fa794
Commit
2b4fa794
authored
Aug 22, 2023
by
p-wanping.song
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
风险评估添加提示
parent
36cc487c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
69 additions
and
13 deletions
+69
-13
src/views/risk/plan/ledgerdata.vue
src/views/risk/plan/ledgerdata.vue
+69
-13
No files found.
src/views/risk/plan/ledgerdata.vue
View file @
2b4fa794
...
...
@@ -10,13 +10,18 @@
<el-descriptions-item
label=
"所属项目"
>
{{
InfoList
.
detailsDto
.
projectName
}}
</el-descriptions-item>
<el-descriptions-item
label=
"所属楼栋"
>
<!--
{{
InfoList
.
detailsDto
.
buildingNames
}}
-->
<template>
<div
v-for=
"(buildingName, index) in InfoList.detailsDto.buildingNames.split(',')"
:key=
"index"
>
{{
buildingName
}}
</div>
</
template
>
<el-descriptions-item
label=
"所属楼栋"
>
<!--
{{
InfoList
.
detailsDto
.
buildingNames
}}
-->
<template>
<div
v-for=
"(
buildingName, index
) in InfoList.detailsDto.buildingNames.split(',')"
:key=
"index"
>
{{
buildingName
}}
</div>
</
template
>
</el-descriptions-item>
<el-descriptions-item
label=
"所属单位"
>
{{
InfoList.detailsDto.deptName
...
...
@@ -112,13 +117,60 @@
align=
"center"
prop=
"level"
/>
<el-table-column
label=
"风险因素"
align=
"center"
prop=
"factor"
/>
<el-table-column
label=
"准事故类型"
align=
"center"
prop=
"type"
/>
<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>
<el-table-column
label=
"准事故类型"
align=
"center"
prop=
"type"
>
<
template
slot-scope=
"scope"
>
<el-popover
placement=
"top-start"
title=
"准事故类型"
width=
"200"
trigger=
"hover"
:content=
"scope.row.type"
>
<span
slot=
"reference"
>
{{
scope
.
row
.
type
.
length
>
10
?
scope
.
row
.
type
.
substring
(
0
,
10
)
+
"
...
"
:
scope
.
row
.
type
}}
</span>
</el-popover>
</
template
>
</el-table-column>
<el-table-column
label=
"存在部位"
align=
"center"
prop=
"presenceLocation"
/>
>
<
template
slot-scope=
"scope"
>
<el-popover
placement=
"top-start"
title=
"存在部位"
width=
"200"
trigger=
"hover"
:content=
"scope.row.presenceLocation"
>
<span
slot=
"reference"
>
{{
scope
.
row
.
presenceLocation
.
length
>
10
?
scope
.
row
.
presenceLocation
.
substring
(
0
,
10
)
+
"
...
"
:
scope
.
row
.
presenceLocation
}}
</span>
</el-popover>
</
template
>
</el-table-column></el-table-column>
<el-table-column
label=
"操作"
align=
"center"
prop=
"describe"
>
<
template
slot-scope=
"scope"
>
<div>
...
...
@@ -136,10 +188,14 @@
@
click=
"showDrawCanvas(scope.row.floorId)"
>
查看四色图
</el-button
>
<router-link
:to=
"'/risk/plan/inherentdata/index/' + scope.row.id"
class=
"link-type"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-view"
>
详情
</el-button>
<router-link
:to=
"'/risk/plan/inherentdata/index/' + scope.row.id"
class=
"link-type"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-view"
>
详情
</el-button
>
</router-link>
</div>
</
template
>
</el-table-column>
...
...
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