Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zhengyuan-danger-chemistry-manage
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
耿迪迪
zhengyuan-danger-chemistry-manage
Commits
40119f34
Commit
40119f34
authored
Nov 14, 2022
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
高空动土作业证添加 gengdidi
parent
cbb33b95
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1543 additions
and
34 deletions
+1543
-34
BlindPlate.vue
danger-manage-web/src/components/NewSaftyWork/BlindPlate.vue
+33
-16
BreakGround.vue
...er-manage-web/src/components/NewSaftyWork/BreakGround.vue
+714
-0
FlareUp.vue
danger-manage-web/src/components/NewSaftyWork/FlareUp.vue
+40
-18
HeightWork.vue
danger-manage-web/src/components/NewSaftyWork/HeightWork.vue
+731
-0
index.vue
danger-manage-web/src/views/newWorkPermit/index.vue
+25
-0
No files found.
danger-manage-web/src/components/NewSaftyWork/BlindPlate.vue
View file @
40119f34
<
template
>
<div>
<table>
<table
id=
"blindPlatePrint"
>
<tr>
<td
colspan=
"2"
>
申请单位
</td>
<td
colspan=
"2"
><input
:disabled=
"(applyStatus-0) > 0"
v-model=
"blindPlate.applyUnit"
class=
"editInput"
/></td>
...
...
@@ -253,7 +253,7 @@
<div
style=
"font-size: 18px;margin-top: 5px"
>
作业负责人:
</div>
</el-col>
<el-col
:span=
"8"
>
<el-select
v-model=
"leaderDeptId"
filterable
placeholder=
"请选择作业负责人部门"
@
change=
"switchDept(leaderDeptId)"
>
<el-select
v-model=
"leaderDeptId"
filterable
placeholder=
"请选择作业负责人部门"
@
change=
"switchDept(leaderDeptId
,1
)"
>
<el-option
v-for=
"item in deptList"
:key=
"item.deptId"
...
...
@@ -266,7 +266,7 @@
<el-col
:span=
"12"
>
<el-select
v-model=
"leaderAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
v-for=
"item in
u
serList"
v-for=
"item in
leaderU
serList"
:key=
"item.userId"
:label=
"item.nickName"
:value=
"item.userId"
...
...
@@ -281,7 +281,7 @@
<div
style=
"font-size: 18px;margin-top: 5px"
>
作业单位:
</div>
</el-col>
<el-col
:span=
"8"
>
<el-select
v-model=
"workDeptId"
filterable
placeholder=
"请选择作业单位"
@
change=
"switchDept(workDeptId)"
>
<el-select
v-model=
"workDeptId"
filterable
placeholder=
"请选择作业单位"
@
change=
"switchDept(workDeptId
,2
)"
>
<el-option
v-for=
"item in deptList"
:key=
"item.deptId"
...
...
@@ -294,7 +294,7 @@
<el-col
:span=
"12"
>
<el-select
v-model=
"workAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
v-for=
"item in
u
serList"
v-for=
"item in
workU
serList"
:key=
"item.userId"
:label=
"item.nickName"
:value=
"item.userId"
...
...
@@ -309,7 +309,7 @@
<div
style=
"font-size: 18px;margin-top: 5px"
>
审核部门意见:
</div>
</el-col>
<el-col
:span=
"8"
>
<el-select
v-model=
"auditDeptDeptId"
filterable
placeholder=
"请选择审核部门"
@
change=
"switchDept(auditDeptDeptId)"
>
<el-select
v-model=
"auditDeptDeptId"
filterable
placeholder=
"请选择审核部门"
@
change=
"switchDept(auditDeptDeptId
,3
)"
>
<el-option
v-for=
"item in deptList"
:key=
"item.deptId"
...
...
@@ -322,7 +322,7 @@
<el-col
:span=
"12"
>
<el-select
v-model=
"auditDeptAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
v-for=
"item in
u
serList"
v-for=
"item in
auditU
serList"
:key=
"item.userId"
:label=
"item.nickName"
:value=
"item.userId"
...
...
@@ -337,7 +337,7 @@
<div
style=
"font-size: 18px;margin-top: 5px"
>
审批部门:
</div>
</el-col>
<el-col
:span=
"8"
>
<el-select
v-model=
"approvalDeptId"
filterable
placeholder=
"请选择审批部门"
@
change=
"switchDept(approvalDeptId)"
>
<el-select
v-model=
"approvalDeptId"
filterable
placeholder=
"请选择审批部门"
@
change=
"switchDept(approvalDeptId
,4
)"
>
<el-option
v-for=
"item in deptList"
:key=
"item.deptId"
...
...
@@ -350,7 +350,7 @@
<el-col
:span=
"12"
>
<el-select
v-model=
"approvalAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
v-for=
"item in
u
serList"
v-for=
"item in
approvalU
serList"
:key=
"item.userId"
:label=
"item.nickName"
:value=
"item.userId"
...
...
@@ -365,7 +365,7 @@
<div
style=
"font-size: 18px;margin-top: 5px"
>
完工验收 :
</div>
</el-col>
<el-col
:span=
"8"
>
<el-select
v-model=
"completeDeptId"
filterable
placeholder=
"请选择验收部门"
@
change=
"switchDept(completeDeptId)"
>
<el-select
v-model=
"completeDeptId"
filterable
placeholder=
"请选择验收部门"
@
change=
"switchDept(completeDeptId
,5
)"
>
<el-option
v-for=
"item in deptList"
:key=
"item.deptId"
...
...
@@ -378,7 +378,7 @@
<el-col
:span=
"12"
>
<el-select
v-model=
"completeAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
v-for=
"item in
u
serList"
v-for=
"item in
completeU
serList"
:key=
"item.userId"
:label=
"item.nickName"
:value=
"item.userId"
...
...
@@ -395,7 +395,7 @@
<el-button
@
click=
"cancelApproval"
>
取消
</el-button>
</div>
<div
style=
"margin-top:10px;float: right"
v-if=
"(applyStatus-0) > '1'"
><el-button
type=
"primary"
v-print=
"'#
flareUp
Print'"
>
打印
</el-button></div>
<div
style=
"margin-top:10px;float: right"
v-if=
"(applyStatus-0) > '1'"
><el-button
type=
"primary"
v-print=
"'#
blindPlate
Print'"
>
打印
</el-button></div>
</div>
...
...
@@ -495,7 +495,11 @@
recipient
:
""
,
//接收人
},
deptList
:[],
userList
:[],
leaderUserList
:[],
workUserList
:[],
auditUserList
:[],
approvalUserList
:[],
completeUserList
:[],
leaderDeptId
:
""
,
workDeptId
:
""
,
auditDeptDeptId
:
""
,
...
...
@@ -524,9 +528,23 @@
});
},
//部门切换
switchDept
(
deptId
){
switchDept
(
deptId
,
type
){
listUser
({
pageNum
:
1
,
pageSize
:
99999
,
deptId
:
deptId
}).
then
(
response
=>
{
this
.
userList
=
response
.
rows
;
if
(
type
==
1
){
this
.
leaderUserList
=
response
.
rows
;
}
if
(
type
==
2
){
this
.
workUserList
=
response
.
rows
;
}
if
(
type
==
3
){
this
.
auditUserList
=
response
.
rows
;
}
if
(
type
==
4
){
this
.
approvalUserList
=
response
.
rows
;
}
if
(
type
==
5
){
this
.
completeUserList
=
response
.
rows
;
}
});
},
//新增特殊作业单
...
...
@@ -644,7 +662,6 @@
signName
(
imageSrc
){
this
.
sign
=
imageSrc
;
this
.
signOpen
=
true
;
},
}
}
...
...
danger-manage-web/src/components/NewSaftyWork/BreakGround.vue
0 → 100644
View file @
40119f34
This diff is collapsed.
Click to expand it.
danger-manage-web/src/components/NewSaftyWork/FlareUp.vue
View file @
40119f34
...
...
@@ -181,7 +181,7 @@
</tr>
<tr>
<td
colspan=
"4"
>
动火作业实施时间
</td>
<td
colspan=
"16"
v-if=
"(applyStatus-0) ==
1
"
>
<td
colspan=
"16"
v-if=
"(applyStatus-0) ==
0
"
>
<el-row>
<el-col
:span=
"11"
>
<el-date-picker
clearable
size=
"small"
...
...
@@ -206,8 +206,8 @@
</el-col>
</el-row>
</td>
<td
colspan=
"16"
v-if=
"(applyStatus-0)
!=1
"
>
自
{{
(
flareUp
.
executeStartTime
==
null
||
flareUp
.
executeStartTime
==
''
)
?
"-"
:
flareUp
.
executeStartTime
.
split
(
" "
)[
0
].
split
(
"-"
)[
1
]
}}
年
{{
(
flareUp
.
executeStartTime
==
null
||
flareUp
.
executeStartTime
==
''
)
?
"-"
:
flareUp
.
executeStartTime
.
split
(
" "
)[
0
].
split
(
"-"
)[
1
]
}}
月
{{
(
flareUp
.
executeStartTime
==
null
||
flareUp
.
executeStartTime
==
''
)
?
"-"
:
flareUp
.
executeStartTime
.
split
(
" "
)[
0
].
split
(
"-"
)[
2
]
}}
日
{{
(
flareUp
.
executeStartTime
==
null
||
flareUp
.
executeStartTime
==
''
)
?
"-"
:
flareUp
.
executeStartTime
.
split
(
" "
)[
1
].
split
(
":"
)[
0
]
}}
时
{{
(
flareUp
.
executeStartTime
==
null
||
flareUp
.
executeStartTime
==
''
)
?
"-"
:
flareUp
.
executeStartTime
.
split
(
" "
)[
1
].
split
(
":"
)[
1
]
}}
分至
{{
(
flareUp
.
executeStartTime
==
null
||
flareUp
.
executeStartTime
==
''
)
?
"-"
:
flareUp
.
executeStartTime
.
split
(
" "
)[
0
].
split
(
"-"
)[
1
]
}}
年
{{
(
flareUp
.
executeStartTime
==
null
||
flareUp
.
executeStartTime
==
''
)
?
"-"
:
flareUp
.
executeStartTime
.
split
(
" "
)[
0
].
split
(
"-"
)[
1
]
}}
月
{{
(
flareUp
.
executeStartTime
==
null
||
flareUp
.
executeStartTime
==
''
)
?
"-"
:
flareUp
.
executeStartTime
.
split
(
" "
)[
0
].
split
(
"-"
)[
2
]
}}
日
{{
(
flareUp
.
executeStartTime
==
null
||
flareUp
.
executeStartTime
==
''
)
?
"-"
:
flareUp
.
executeStartTime
.
split
(
" "
)[
1
].
split
(
":"
)[
0
]
}}
时
{{
(
flareUp
.
executeStartTime
==
null
||
flareUp
.
executeStartTime
==
''
)
?
"-"
:
flareUp
.
executeStartTime
.
split
(
" "
)[
1
].
split
(
":"
)[
1
]
}}
分
<td
colspan=
"16"
v-if=
"(applyStatus-0)
> 0
"
>
自
{{
(
flareUp
.
executeStartTime
==
null
||
flareUp
.
executeStartTime
==
''
)
?
"-"
:
flareUp
.
executeStartTime
.
split
(
" "
)[
0
].
split
(
"-"
)[
0
]
}}
年
{{
(
flareUp
.
executeStartTime
==
null
||
flareUp
.
executeStartTime
==
''
)
?
"-"
:
flareUp
.
executeStartTime
.
split
(
" "
)[
0
].
split
(
"-"
)[
1
]
}}
月
{{
(
flareUp
.
executeStartTime
==
null
||
flareUp
.
executeStartTime
==
''
)
?
"-"
:
flareUp
.
executeStartTime
.
split
(
" "
)[
0
].
split
(
"-"
)[
2
]
}}
日
{{
(
flareUp
.
executeStartTime
==
null
||
flareUp
.
executeStartTime
==
''
)
?
"-"
:
flareUp
.
executeStartTime
.
split
(
" "
)[
1
].
split
(
":"
)[
0
]
}}
时
{{
(
flareUp
.
executeStartTime
==
null
||
flareUp
.
executeStartTime
==
''
)
?
"-"
:
flareUp
.
executeStartTime
.
split
(
" "
)[
1
].
split
(
":"
)[
1
]
}}
分至
{{
(
flareUp
.
executeStartTime
==
null
||
flareUp
.
executeStartTime
==
''
)
?
"-"
:
flareUp
.
executeStartTime
.
split
(
" "
)[
0
].
split
(
"-"
)[
0
]
}}
年
{{
(
flareUp
.
executeStartTime
==
null
||
flareUp
.
executeStartTime
==
''
)
?
"-"
:
flareUp
.
executeStartTime
.
split
(
" "
)[
0
].
split
(
"-"
)[
1
]
}}
月
{{
(
flareUp
.
executeStartTime
==
null
||
flareUp
.
executeStartTime
==
''
)
?
"-"
:
flareUp
.
executeStartTime
.
split
(
" "
)[
0
].
split
(
"-"
)[
2
]
}}
日
{{
(
flareUp
.
executeStartTime
==
null
||
flareUp
.
executeStartTime
==
''
)
?
"-"
:
flareUp
.
executeStartTime
.
split
(
" "
)[
1
].
split
(
":"
)[
0
]
}}
时
{{
(
flareUp
.
executeStartTime
==
null
||
flareUp
.
executeStartTime
==
''
)
?
"-"
:
flareUp
.
executeStartTime
.
split
(
" "
)[
1
].
split
(
":"
)[
1
]
}}
分
</td>
</tr>
<tr>
...
...
@@ -359,7 +359,7 @@
<div
style=
"font-size: 18px;margin-top: 5px"
>
作业负责人:
</div>
</el-col>
<el-col
:span=
"8"
>
<el-select
v-model=
"leaderDeptId"
filterable
placeholder=
"请选择作业负责人部门"
@
change=
"switchDept(leaderDeptId)"
>
<el-select
v-model=
"leaderDeptId"
filterable
placeholder=
"请选择作业负责人部门"
@
change=
"switchDept(leaderDeptId
,1
)"
>
<el-option
v-for=
"item in deptList"
:key=
"item.deptId"
...
...
@@ -372,7 +372,7 @@
<el-col
:span=
"12"
>
<el-select
v-model=
"leaderAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
v-for=
"item in
u
serList"
v-for=
"item in
leaderU
serList"
:key=
"item.userId"
:label=
"item.nickName"
:value=
"item.userId"
...
...
@@ -387,7 +387,7 @@
<div
style=
"font-size: 18px;margin-top: 5px"
>
所在单位:
</div>
</el-col>
<el-col
:span=
"8"
>
<el-select
v-model=
"beyondUnitDeptId"
filterable
placeholder=
"请选择所在单位"
@
change=
"switchDept(beyondUnitDeptId)"
>
<el-select
v-model=
"beyondUnitDeptId"
filterable
placeholder=
"请选择所在单位"
@
change=
"switchDept(beyondUnitDeptId
,2
)"
>
<el-option
v-for=
"item in deptList"
:key=
"item.deptId"
...
...
@@ -400,7 +400,7 @@
<el-col
:span=
"12"
>
<el-select
v-model=
"beyondUnitAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
v-for=
"item in
u
serList"
v-for=
"item in
beyondUnitU
serList"
:key=
"item.userId"
:label=
"item.nickName"
:value=
"item.userId"
...
...
@@ -415,7 +415,7 @@
<div
style=
"font-size: 18px;margin-top: 5px"
>
审核部门:
</div>
</el-col>
<el-col
:span=
"8"
>
<el-select
v-model=
"auditDeptDeptId"
filterable
placeholder=
"请选择审核部门"
@
change=
"switchDept(auditDeptDeptId)"
>
<el-select
v-model=
"auditDeptDeptId"
filterable
placeholder=
"请选择审核部门"
@
change=
"switchDept(auditDeptDeptId
,3
)"
>
<el-option
v-for=
"item in deptList"
:key=
"item.deptId"
...
...
@@ -428,7 +428,7 @@
<el-col
:span=
"12"
>
<el-select
v-model=
"auditDeptAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
v-for=
"item in
u
serList"
v-for=
"item in
auditDeptU
serList"
:key=
"item.userId"
:label=
"item.nickName"
:value=
"item.userId"
...
...
@@ -443,7 +443,7 @@
<div
style=
"font-size: 18px;margin-top: 5px"
>
动火审部门:
</div>
</el-col>
<el-col
:span=
"8"
>
<el-select
v-model=
"approvalDeptId"
filterable
placeholder=
"请选择动火审批人"
@
change=
"switchDept(approvalDeptId)"
>
<el-select
v-model=
"approvalDeptId"
filterable
placeholder=
"请选择动火审批人"
@
change=
"switchDept(approvalDeptId
,4
)"
>
<el-option
v-for=
"item in deptList"
:key=
"item.deptId"
...
...
@@ -456,7 +456,7 @@
<el-col
:span=
"12"
>
<el-select
v-model=
"approvalAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
v-for=
"item in
u
serList"
v-for=
"item in
approvalU
serList"
:key=
"item.userId"
:label=
"item.nickName"
:value=
"item.userId"
...
...
@@ -471,7 +471,7 @@
<div
style=
"font-size: 18px;margin-top: 5px"
>
动火前,岗位当班班长验票情况:
</div>
</el-col>
<el-col
:span=
"8"
>
<el-select
v-model=
"fireBeforeDeptId"
filterable
placeholder=
"请选择岗位当班班长部门"
@
change=
"switchDept(fireBeforeDeptId)"
>
<el-select
v-model=
"fireBeforeDeptId"
filterable
placeholder=
"请选择岗位当班班长部门"
@
change=
"switchDept(fireBeforeDeptId
,5
)"
>
<el-option
v-for=
"item in deptList"
:key=
"item.deptId"
...
...
@@ -484,7 +484,7 @@
<el-col
:span=
"12"
>
<el-select
v-model=
"fireBeforeAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
v-for=
"item in
u
serList"
v-for=
"item in
fireBeforeU
serList"
:key=
"item.userId"
:label=
"item.nickName"
:value=
"item.userId"
...
...
@@ -499,7 +499,7 @@
<div
style=
"font-size: 18px;margin-top: 5px"
>
完工验收 :
</div>
</el-col>
<el-col
:span=
"8"
>
<el-select
v-model=
"completeDeptId"
filterable
placeholder=
"请选择验收部门"
@
change=
"switchDept(completeDeptId)"
>
<el-select
v-model=
"completeDeptId"
filterable
placeholder=
"请选择验收部门"
@
change=
"switchDept(completeDeptId
,6
)"
>
<el-option
v-for=
"item in deptList"
:key=
"item.deptId"
...
...
@@ -512,7 +512,7 @@
<el-col
:span=
"12"
>
<el-select
v-model=
"completeAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
v-for=
"item in
u
serList"
v-for=
"item in
completeU
serList"
:key=
"item.userId"
:label=
"item.nickName"
:value=
"item.userId"
...
...
@@ -694,7 +694,12 @@
guardian
:
""
},
deptList
:[],
userList
:[],
leaderUserList
:[],
beyondUnitUserList
:[],
auditDeptUserList
:[],
approvalUserList
:[],
fireBeforeUserList
:[],
completeUserList
:[],
leaderDeptId
:
""
,
beyondUnitDeptId
:
""
,
auditDeptDeptId
:
""
,
...
...
@@ -725,9 +730,26 @@
});
},
//部门切换
switchDept
(
deptId
){
switchDept
(
deptId
,
type
){
listUser
({
pageNum
:
1
,
pageSize
:
99999
,
deptId
:
deptId
}).
then
(
response
=>
{
this
.
userList
=
response
.
rows
;
if
(
type
==
1
){
this
.
leaderUserList
=
response
.
rows
;
}
if
(
type
==
2
){
this
.
beyondUnitUserList
=
response
.
rows
;
}
if
(
type
==
3
){
this
.
auditDeptUserList
=
response
.
rows
;
}
if
(
type
==
4
){
this
.
approvalUserList
=
response
.
rows
;
}
if
(
type
==
5
){
this
.
fireBeforeUserList
=
response
.
rows
;
}
if
(
type
==
6
){
this
.
completeUserList
=
response
.
rows
;
}
});
},
//新增特殊作业单
...
...
danger-manage-web/src/components/NewSaftyWork/HeightWork.vue
0 → 100644
View file @
40119f34
This diff is collapsed.
Click to expand it.
danger-manage-web/src/views/newWorkPermit/index.vue
View file @
40119f34
...
...
@@ -302,6 +302,16 @@
:
workPermitId
=
"item.workPermitId"
:
licenceNum
=
"item.licenceNum"
applyStatus
=
"0"
/>
<
HeightWork
v
-
if
=
"item.mark == 'heightWork'"
:
ref
=
"item.mark"
:
workPermitId
=
"item.workPermitId"
:
licenceNum
=
"item.licenceNum"
applyStatus
=
"0"
/>
<
BreakGround
v
-
if
=
"item.mark == 'breakGround'"
:
ref
=
"item.mark"
:
workPermitId
=
"item.workPermitId"
:
licenceNum
=
"item.licenceNum"
applyStatus
=
"0"
/>
<
/div
>
<
/div
>
...
...
@@ -330,6 +340,17 @@
:
workPermitId
=
"item.workPermitId"
:
licenceNum
=
"item.licenceNum"
applyStatus
=
"1"
/>
<
HeightWork
v
-
if
=
"item.specialWorkType == 'heightWork'"
:
ref
=
"item.specialWorkType"
:
workPermitId
=
"item.workPermitId"
:
licenceNum
=
"item.licenceNum"
applyStatus
=
"1"
/>
<
BreakGround
v
-
if
=
"item.specialWorkType == 'breakGround'"
:
ref
=
"item.specialWorkType"
:
workPermitId
=
"item.workPermitId"
:
licenceNum
=
"item.licenceNum"
applyStatus
=
"1"
/>
<
/div
>
<
/div
>
<
/el-dialog
>
...
...
@@ -459,6 +480,8 @@
import
{
listAll
}
from
"@/api/contractor/contractorInfo"
;
import
FlareUp
from
"@/components/NewSaftyWork/FlareUp"
;
import
BlindPlate
from
"@/components/NewSaftyWork/BlindPlate"
;
import
HeightWork
from
"@/components/NewSaftyWork/HeightWork"
;
import
BreakGround
from
"@/components/NewSaftyWork/BreakGround"
;
import
{
listSign
}
from
"@/api/workPermit/workPermitSign"
;
import
{
listDept
}
from
"@/api/system/dept"
;
import
NewEsign
from
"@/components/SaftyWork/NewEsign"
;
...
...
@@ -469,6 +492,8 @@
components
:{
FlareUp
,
BlindPlate
,
HeightWork
,
BreakGround
,
NewEsign
,
Editor
,
NewWorkPermitDetail
...
...
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