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
dddee994
Commit
dddee994
authored
Nov 22, 2021
by
13841799530
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
211a2bfc
Pipeline
#7252
passed with stage
in 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
26 deletions
+28
-26
src/views/checkedConfirm/confirmNote/index.vue
src/views/checkedConfirm/confirmNote/index.vue
+28
-26
No files found.
src/views/checkedConfirm/confirmNote/index.vue
View file @
dddee994
...
...
@@ -38,12 +38,13 @@
label=
"整改完成时间"
placeholder=
"请选择时间"
@
click=
"calendarOpen"
:disabled=
"true"
/>
<van-popup
v-model=
"showCalendar"
position=
"bottom"
>
<van-datetime-picker
v-model=
"currentDate"
type=
"datehour"
@
confirm=
"onConfirm"
@
cancel=
"showCalendar=false"
title=
"选择年月日小时"
/>
</van-popup>
<div
class=
"sign"
><span>
检查组负责人签字确认:
</span><van-tag
color=
"#ffe1e1"
:disabled=
"finish=='true'?true:false"
><p
v-show=
"istextl"
@
click=
"signl"
>
电子签字
</p><img
class=
"sign-img"
v-show=
"isImgl"
:src=
"resultImgl"
alt=
""
></van-tag></div>
<div
class=
"sign"
><span>
检查负责人签字确认:
</span><van-tag
color=
"#ffe1e1"
:disabled=
"finish=='true'?true:false"
><p
v-show=
"istext"
@
click=
"sign"
>
电子签字
</p><img
class=
"sign-img"
v-show=
"isImg"
:src=
"resultImg"
alt=
""
></van-tag></div>
<div
class=
"sign"
><span>
现场负责人签字确认:
</span><van-tag
color=
"#ffe1e1"
:disabled=
"finish=='true'?true:false"
><p
v-show=
"istextl"
@
click=
"signl"
>
电子签字
</p><img
class=
"sign-img"
v-show=
"isImgl"
:src=
"resultImgl"
alt=
""
></van-tag></div>
<div
class=
"page-footer-button"
>
<van-button
round
type=
"info"
size=
"large"
@
click=
"commit"
:disabled=
"finish=='true'?true:isFinish==true?true:false"
>
确认
</van-button>
</div>
...
...
@@ -158,30 +159,30 @@ export default {
item
.
show
=
false
})
this
.
$toast
.
clear
()
//日期数据回显
if
(
Response
.
data
.
finishTime
){
this
.
value
=
Response
.
data
.
finishTime
}
//电子签名数据回显
if
(
Response
.
data
.
leaderSign
){
this
.
resultImg
=
Response
.
data
.
leaderSign
}
//获取选中状态数组
this
.
noticeQuestionList
.
forEach
((
item
)
=>
{
if
(
item
.
checkSubmitId
){
this
.
result
.
push
(
parseInt
(
item
.
checkSubmitId
))
}
})
//判断是否有签名
if
(
this
.
resultImg
){
this
.
istext
=
false
this
.
isImg
=
true
}
/* ----详情---- */
if
(
this
.
isFinish
){
//获取选中状态数组
this
.
noticeQuestionList
.
forEach
((
item
)
=>
{
if
(
item
.
checkSubmitId
){
this
.
result
.
push
(
parseInt
(
item
.
checkSubmitId
))
}
})
//日期数据回显
if
(
Response
.
data
.
finishTime
){
this
.
value
=
Response
.
data
.
finishTime
}
//电子签名数据回显
if
(
Response
.
data
.
leaderSign
){
this
.
resultImg
=
Response
.
data
.
leaderSign
}
// //检查组电子签名数据回显
// if(Response.data.leaderSign){
// this.resultImg=Response.data.leaderSign
// }
//判断是否有签名
if
(
this
.
resultImg
){
this
.
istext
=
false
this
.
isImg
=
true
//检查组电子签名数据回显
if
(
Response
.
data
.
managerSign
){
this
.
resultImgl
=
Response
.
data
.
managerSign
}
//判断是否有签名
if
(
this
.
resultImgl
){
...
...
@@ -226,9 +227,9 @@ export default {
},
//日期输入框点击事件
calendarOpen
(){
if
(
this
.
finish
==
'
false
'
){
this
.
showCalendar
=
true
}
//
if(this.finish=='false'){
//
this.showCalendar = true
//
}
},
//标签点击事件防止标签切换首次进入不执行复选框监听事件
tabClick
(
idx
){
...
...
@@ -280,6 +281,7 @@ export default {
var
obj
=
{
planId
:
this
.
id
,
leaderSign
:
this
.
resultImg
,
managerSign
:
this
.
resultImgl
}
this
.
$dialog
.
confirm
({
title
:
'
提示
'
,
...
...
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