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
683f1fde
Commit
683f1fde
authored
Mar 14, 2024
by
陈晓晋
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://git.censoft.com.cn/rongtong/ruoyi-ui
into develop
parents
16f65519
576d00ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
144 deletions
+58
-144
src/views/risk/plan/ledgerdata.vue
src/views/risk/plan/ledgerdata.vue
+58
-144
No files found.
src/views/risk/plan/ledgerdata.vue
View file @
683f1fde
<
template
>
<div
class=
"wrapper"
>
<el-descriptions
:title=
"InfoList.detailsDto.name"
class=
"margin-top"
:column=
"3"
:size=
"size"
border
>
<el-descriptions
:title=
"InfoList.detailsDto.name"
class=
"margin-top"
:column=
"3"
:size=
"size"
border
>
<el-descriptions-item
label=
"所属项目"
>
{{
InfoList
.
detailsDto
.
projectName
}}
</el-descriptions-item>
InfoList
.
detailsDto
.
projectName
}}
</el-descriptions-item>
<el-descriptions-item
label=
"所属楼栋"
>
<!--
{{
InfoList
.
detailsDto
.
buildingNames
}}
-->
<template>
<div
v-for=
"(
<div
v-for=
"(
buildingName, index
) in InfoList.detailsDto.buildingNames.split(',')"
:key=
"index"
>
) in InfoList.detailsDto.buildingNames.split(',')"
:key=
"index"
>
{{
buildingName
}}
</div>
</
template
>
</el-descriptions-item>
<el-descriptions-item
label=
"所属单位"
>
{{
InfoList.detailsDto.deptName
}}
</el-descriptions-item>
InfoList.detailsDto.deptName
}}
</el-descriptions-item>
<el-descriptions-item
label=
"所属省市"
>
{{
InfoList.detailsDto.city
}}
</el-descriptions-item>
...
...
@@ -81,15 +72,8 @@
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form> -->
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"downList(InfoList.detailsDto.id)"
style=
"float: right; margin-bottom: 8px"
>
导出风险清单
</el-button
>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"downList(InfoList.detailsDto.id)"
style=
"float: right; margin-bottom: 8px"
>
导出风险清单
</el-button>
<el-table
v-loading=
"loading"
:data=
"listList"
>
<el-table-column
label=
"序号"
align=
"center"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -97,117 +81,61 @@
</
template
>
</el-table-column>
<el-table-column
label=
"风险名称"
align=
"center"
prop=
"name"
/>
<el-table-column
label=
"所属建筑"
align=
"center"
prop=
"buildingName"
/>
<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"
>
<el-table-column
label=
"所属建筑"
align=
"center"
prop=
"buildingName"
/>
<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"
>
<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>
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"
>
<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>
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"
>
<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>
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>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-download"
@
click=
"exportList(scope.row.id)"
>
下载风险告知卡
</el-button
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-view"
@
click=
"showDrawCanvas(scope.row.floorId,scope.row.buildingId)"
>
查看四色图
</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
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-download"
@
click=
"exportList(scope.row.id)"
>
下载风险告知卡
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-view"
@
click=
"showDrawCanvas(scope.row.floorId, scope.row.buildingId)"
>
查看四色图
</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>
</el-table>
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryParams.pageNum"
:limit.sync=
"queryParams.pageSize"
@
pagination=
"getRiskList"
/>
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryParams.pageNum"
:limit.sync=
"queryParams.pageSize"
@
pagination=
"getRiskList"
/>
</div>
</div>
</el-tab-pane>
...
...
@@ -216,31 +144,15 @@
<div
class=
"approveL"
>
<div
class=
"titles"
>
审批流程
</div>
<el-steps
direction=
"vertical"
:active=
"999"
>
<el-step
v-for=
"approveDto in InfoList.approveListDtos"
:title=
"approveDto.taskName"
:key=
"approveDto.taskId"
icon=
"el-icon-success"
>
<el-step
v-for=
"approveDto in InfoList.approveListDtos"
:title=
"approveDto.taskName"
:key=
"approveDto.taskId"
icon=
"el-icon-success"
>
<
template
slot=
"description"
>
<el-card
class=
"box-card"
style=
"line-height: 25px; font-size: 14px; margin: 15px"
>
<span
style=
"display: block"
><b>
操作时间:
</b>
{{
approveDto
.
startTime
}}
</span
>
<span
style=
"display: block"
><b>
操作人:
</b>
{{
approveDto
.
approvalUserName
}}
</span
>
<span
style=
"display: block"
><b>
任务节点:
</b>
{{
approveDto
.
taskName
}}
</span
>
<span
style=
"display: block"
v-if=
"approveDto.taskOpinion != null"
><b>
审批意见:
</b>
{{
""
+
approveDto
.
taskOpinion
}}
</span
>
<el-card
class=
"box-card"
style=
"line-height: 25px; font-size: 14px; margin: 15px"
>
<span
style=
"display: block"
><b>
操作时间:
</b>
{{
approveDto
.
startTime
}}
</span>
<span
style=
"display: block"
><b>
操作人:
</b>
{{
approveDto
.
approvalUserName
}}
</span>
<span
style=
"display: block"
><b>
任务节点:
</b>
{{
approveDto
.
taskName
}}
</span>
<span
style=
"display: block"
v-if=
"approveDto.taskOpinion != null"
><b>
审批意见:
</b>
{{
""
+
approveDto
.
taskOpinion
}}
</span>
</el-card>
</
template
>
</el-step>
...
...
@@ -253,15 +165,10 @@
<el-table
:data=
"reportList"
>
<el-table-column
label=
"编号"
align=
"center"
prop=
"id"
/>
<el-table-column
label=
"生成时间"
align=
"center"
prop=
"inherentId"
/>
<el-table-column
label=
"生成人员"
align=
"center"
prop=
"code"
/>
<el-table-column
label=
"所属建筑"
align=
"center"
prop=
"name"
/>
<el-table-column
label=
"所属承租户"
align=
"center"
prop=
"type"
/>
<el-table-column
label=
"操作"
align=
"center"
prop=
"describe"
>
<
template
slot-scope=
"scope"
>
<div>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-download"
>
下载
</el-button
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-download"
@
click=
"toDown"
>
下载
</el-button>
</div>
</
template
>
</el-table-column>
...
...
@@ -326,7 +233,11 @@ export default {
form
:
{},
// 表单校验
rules
:
{},
reportList
:
[],
reportList
:
[{
id
:
"
FXPGBG202403071748JF
"
,
inherentId
:
"
2024-03-07
"
,
}],
InfoList
:
{},
};
},
...
...
@@ -341,6 +252,9 @@ export default {
this
.
getInfo
(
this
.
$route
.
params
.
id
);
},
methods
:
{
toDown
()
{
window
.
open
(
'
http://rongtongpc.censoft.com.cn/dev-api/profile/upload/report/风险评估报告模板.docx
'
);
},
downList
(
planId
)
{
this
.
download
(
"
/system/risk/plan/exportExcel/InherentList/
"
+
planId
,
{});
},
...
...
@@ -411,7 +325,7 @@ export default {
this
.
resetForm
(
"
queryForm
"
);
this
.
handleQuery
();
},
handleSelectionChange
()
{},
handleSelectionChange
()
{
},
};
</
script
>
...
...
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