Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BCDH-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
首开风险隐患双控平台
BCDH-APP
Commits
7c1c2584
Commit
7c1c2584
authored
Nov 01, 2021
by
薄玉虎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x隐患详情页增加重大隐患审批详情
parent
37ca0095
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
84 additions
and
2 deletions
+84
-2
src/views/danger/standBook/normalDetail.vue
src/views/danger/standBook/normalDetail.vue
+84
-2
No files found.
src/views/danger/standBook/normalDetail.vue
View file @
7c1c2584
...
@@ -149,7 +149,7 @@
...
@@ -149,7 +149,7 @@
<van-col
span=
"17"
>
{{
hdConfirm
.
confirmOpinion
}}
</van-col>
<van-col
span=
"17"
>
{{
hdConfirm
.
confirmOpinion
}}
</van-col>
</van-row>
</van-row>
<!--
<div
v-show=
"confirmOpen"
>
<!--
<div
v-show=
"confirmOpen"
>
hdMajorApproveList
<van-row
gutter=
""
>
<van-row
gutter=
""
>
<van-col
span=
"7"
<van-col
span=
"7"
><span
class=
"field-title"
>
隐患确认信息:
</span></van-col
><span
class=
"field-title"
>
隐患确认信息:
</span></van-col
...
@@ -163,6 +163,68 @@
...
@@ -163,6 +163,68 @@
</div>
-->
</div>
-->
</div>
</div>
<div
class=
"journal-wrap"
v-if=
"hdMajorApproveList.length > 0"
>
<p>
审批信息
</p>
<van-cell-group
inset
>
<van-steps
direction=
"vertical"
:active=
"99999"
>
<van-step
v-for=
"(item, index) in hdMajorApproveList"
:key=
"index"
>
<div
class=
"step-wrap"
>
<van-row>
<van-col
span=
"24"
><div
class=
"info-title"
>
审批信息
</div></van-col
>
</van-row>
<van-row>
<van-col
span=
"5"
><span
class=
"field-title"
>
审批人:
</span></van-col
>
<van-col
span=
"19"
>
{{
item
.
userName
}}
</van-col>
</van-row>
<van-row>
<van-col
span=
"5"
><span
class=
"field-title"
>
结果:
</span></van-col
>
<van-col
span=
"19"
>
{{
item
.
isResult
}}
</van-col>
</van-row>
<van-row>
<van-col
span=
"5"
><span
class=
"field-title"
>
部门:
</span></van-col
>
<van-col
span=
"19"
>
{{
item
.
deptName
}}
</van-col>
</van-row>
<van-row>
<van-col
span=
"5"
><span
class=
"field-title"
>
时间:
</span></van-col
>
<van-col
span=
"19"
>
{{
item
.
createTime
}}
</van-col>
</van-row>
<van-row>
<van-col
span=
"9"
><span
class=
"field-title"
>
认为隐患级别:
</span></van-col
>
<van-col
span=
"10
"
>
{{
item
.
thinkHdLev
}}
</van-col>
</van-row>
<van-row
v-if=
"item.details"
>
<van-col
span=
"8"
><span
class=
"field-title"
>
审批意见:
</span></van-col
>
<van-col
span=
"16
"
>
{{
item
.
details
}}
</van-col>
</van-row>
</div>
</van-step>
</van-steps>
</van-cell-group>
<!-- 展开 -->
<div
class=
"more"
@
click=
"majorReverse"
v-show=
"hdMajorApproveList.length > 0"
>
{{
majorOpenText
}}
</div>
</div>
<div
class=
"change-wrap"
v-if=
"hdRectificationList.length > 0"
>
<div
class=
"change-wrap"
v-if=
"hdRectificationList.length > 0"
>
<p>
隐患整改
</p>
<p>
隐患整改
</p>
<van-cell-group
<van-cell-group
...
@@ -390,10 +452,13 @@ export default {
...
@@ -390,10 +452,13 @@ export default {
superviseOpenText
:
"
展开 ▼
"
,
superviseOpenText
:
"
展开 ▼
"
,
confirmOpen
:
false
,
confirmOpen
:
false
,
confirmOpenText
:
"
展开 ▼
"
,
confirmOpenText
:
"
展开 ▼
"
,
majorOpen
:
false
,
majorOpenText
:
"
展开 ▼
"
,
hdReport
:
""
,
hdReport
:
""
,
hdConfirm
:
""
,
hdConfirm
:
""
,
hdMajorApproveList
:
[],
// 重大隐患审批 先不做
hdMajorApproveList
:
[],
// 重大隐患审批
beifenhdMajorList
:
[],
hdRectificationList
:
[],
hdRectificationList
:
[],
hdReviewList
:
[],
hdReviewList
:
[],
hdLogList
:
[],
hdLogList
:
[],
...
@@ -424,6 +489,8 @@ export default {
...
@@ -424,6 +489,8 @@ export default {
this
.
hdConfirm
=
res
.
data
.
hdConfirm
;
this
.
hdConfirm
=
res
.
data
.
hdConfirm
;
this
.
hdRectificationList
=
res
.
data
.
hdRectificationList
;
this
.
hdRectificationList
=
res
.
data
.
hdRectificationList
;
this
.
hdReviewList
=
res
.
data
.
hdReviewList
;
this
.
hdReviewList
=
res
.
data
.
hdReviewList
;
this
.
beifenhdMajorList
=
res
.
data
.
hdMajorApproveList
;
this
.
hdMajorApproveList
=
this
.
beifenhdMajorList
.
slice
(
-
1
);
this
.
beifenhdLogList
=
res
.
data
.
hdLogList
;
this
.
beifenhdLogList
=
res
.
data
.
hdLogList
;
this
.
hdLogList
=
this
.
beifenhdLogList
.
slice
(
-
1
);
this
.
hdLogList
=
this
.
beifenhdLogList
.
slice
(
-
1
);
this
.
beifeninstructionsList
=
res
.
data
.
instructionsList
;
this
.
beifeninstructionsList
=
res
.
data
.
instructionsList
;
...
@@ -454,6 +521,21 @@ export default {
...
@@ -454,6 +521,21 @@ export default {
}
}
},
},
// 重大隐患信息显示或隐藏
majorReverse
()
{
this
.
majorOpen
=
!
this
.
majorOpen
;
if
(
this
.
majorOpen
)
{
// 显示所有数据
this
.
majorOpenText
=
"
收起 ▲
"
;
// 显示所有数据
this
.
hdMajorApproveList
=
this
.
beifenhdMajorList
;
}
else
{
this
.
majorOpenText
=
"
展开 ▼
"
;
// 只显示第一个数据
this
.
hdMajorApproveList
=
this
.
beifenhdMajorList
.
slice
(
-
1
);
}
},
// 日志信息显示或隐藏
// 日志信息显示或隐藏
journalReverse
()
{
journalReverse
()
{
this
.
journalOpen
=
!
this
.
journalOpen
;
this
.
journalOpen
=
!
this
.
journalOpen
;
...
...
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