Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
耿迪迪
gassafety-progress
Commits
cb8a5f51
Commit
cb8a5f51
authored
Mar 28, 2022
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐患信息 gengdidi
parent
f1fe418e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
8 deletions
+41
-8
HiddenTrouble.vue
...ews/inspectionWork/workOrder/components/HiddenTrouble.vue
+14
-1
index.vue
...progress-web/src/views/inspectionWork/workOrder/index.vue
+27
-7
No files found.
gassafetyprogress-web/src/views/inspectionWork/workOrder/components/HiddenTrouble.vue
View file @
cb8a5f51
...
...
@@ -53,7 +53,7 @@
size
=
"mini"
type
=
"text"
icon
=
"el-icon-edit"
@
click
=
"
handleUpdate
(scope.row,scope.$index)"
@
click
=
"
viewDetail
(scope.row,scope.$index)"
v
-
if
=
"isView"
>
详情
<
/el-button
>
<
el
-
button
...
...
@@ -236,6 +236,19 @@ export default {
this
.
title
=
"新增隐患信息"
this
.
hiddenOpen
=
true
;
}
,
/** 详情按钮操作 */
viewDetail
(
row
,
index
)
{
this
.
reset
();
this
.
index
=
index
;
this
.
hiddenForm
=
{...
row
}
;
this
.
title
=
"查看隐患信息"
this
.
hiddenOpen
=
true
;
if
(
this
.
hiddenForm
.
pictureUrl
)
{
this
.
fileList
.
push
({
url
:
this
.
hiddenForm
.
pictureUrl
,
}
);
}
}
,
/** 修改按钮操作 */
handleUpdate
(
row
,
index
)
{
this
.
reset
();
...
...
gassafetyprogress-web/src/views/inspectionWork/workOrder/index.vue
View file @
cb8a5f51
...
...
@@ -271,10 +271,6 @@
<
el
-
form
-
item
label
=
"反馈信息"
prop
=
"rectificationResult"
v
-
show
=
"isDetail && (form.workStatus =='2' || form.workStatus =='3')"
>
<
el
-
input
v
-
model
=
"form.rectificationResult"
type
=
"textarea"
placeholder
=
"请输入整改结果"
:
disabled
=
"isDetail"
/>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"隐患信息"
prop
=
"rectificationResult"
v
-
show
=
"isDetail && (form.workStatus =='2' || form.workStatus =='3')"
>
<
HiddenTrouble
:
hiddenList
=
"hiddenInfoList"
/>
<
/el-form-item
>
<
el
-
row
>
<
el
-
col
:
span
=
"12"
>
<
el
-
form
-
item
label
=
"责任单位"
prop
=
"responsibleUnit"
>
...
...
@@ -296,7 +292,23 @@
placeholder
=
"选择截止日期"
style
=
"width: 350px"
:
disabled
=
"isDetail"
>
<
/el-date-picker
>
<
/el-form-item
>
<!--
<
el
-
form
-
item
label
=
"隐患信息"
prop
=
"hiddenInfo"
v
-
show
=
"hiddenInfoList.length > 0"
class
=
"hiddenInfo"
>
<
el
-
row
>
<
el
-
col
:
span
=
"2"
>
<
span
>
隐患信息
<
/span
>
<
/el-col
>
<
el
-
col
:
span
=
"22"
>
<
HiddenTrouble
:
hiddenList
=
"hiddenInfoList"
/>
<
/el-col
>
<
/el-row
>
<
/el-form-item>--
>
<
/el-form
>
<
div
>
<
div
style
=
"font-weight: 700;font-size: 18px;margin-left: 12px;margin-bottom: 9px;"
>
隐患信息
<
/div
>
<
HiddenTrouble
:
hiddenList
=
"hiddenInfoList"
/>
<
/div
>
<
div
slot
=
"footer"
class
=
"dialog-footer"
>
<
el
-
button
type
=
"primary"
@
click
=
"submitForm"
v
-
show
=
"!isDetail"
>
确
定
<
/el-button
>
<
el
-
button
@
click
=
"cancel"
>
取
消
<
/el-button
>
...
...
@@ -642,6 +654,7 @@ export default {
this
.
form
=
response
.
data
;
this
.
open
=
true
;
this
.
title
=
"修改燃气任务"
;
this
.
getHiddenInfos
({
workId
:
workId
}
);
this
.
getEnterpriseLists
();
this
.
getInspectionUserList
(
response
.
data
.
workAssignEnterproseId
);
}
);
...
...
@@ -777,11 +790,13 @@ export default {
this
.
open
=
true
;
this
.
title
=
"燃气任务详情"
;
this
.
form
=
response
.
data
;
if
(
this
.
form
.
workStatus
==
'2'
||
this
.
form
.
workStatus
==
'3'
){
/*
if(this.form.workStatus == '2' || this.form.workStatus == '3'){
const param = {
}
;
param.workId = this.form.workId;
this
.
getHiddenInfos
(
param
);
}
}
*/
//查询隐患信息
this
.
getHiddenInfos
({
workId
:
this
.
form
.
workId
}
);
this
.
getEnterpriseLists
();
this
.
getInspectionUserList
(
response
.
data
.
workAssignEnterproseId
);
}
);
...
...
@@ -923,3 +938,8 @@ export default {
}
}
;
<
/script
>
<
style
lang
=
"scss"
scoped
>
.
hiddenInfo
.
el
-
form
-
item__label
{
font
-
size
:
30
px
!
important
;
}
<
/style
>
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