Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
voucher-h5
Project
Overview
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
潘琦
voucher-h5
Commits
e0a2b29b
Commit
e0a2b29b
authored
Oct 30, 2019
by
潘琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
张家港生育全程签约儿童签约直接签名签约;
parent
4ecfb6c1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
2 deletions
+30
-2
index.vue
src/views/signing/index.vue
+30
-2
No files found.
src/views/signing/index.vue
View file @
e0a2b29b
<
template
>
<div
class=
"full-page"
>
<div
class=
"full-page"
:class=
"pageH"
>
<div
class=
"container sign-page"
>
<!--
<div
class=
"head"
>
<div
class=
"head-bg"
></div>
...
...
@@ -461,6 +461,7 @@
month-format=
"{value} 月"
date-format=
"{value} 日"
@
confirm=
"pickerBirthConfirm"
@
cancel=
"closePickerBirth"
:endDate=
"pickerBirthEnd"
>
</mt-datetime-picker>
<!-- 末次月经时间picker -->
...
...
@@ -628,7 +629,8 @@ export default {
ChoosePlusVisible
:
true
,
Choose2PlusVisible
:
true
,
modalVisible
:
false
,
// 底层透明遮挡显示状态
addressSearchValue
:
''
addressSearchValue
:
''
,
pageH
:
''
}
},
created
()
{
...
...
@@ -1006,10 +1008,16 @@ export default {
this
.
saveSignInfoToCookie
()
// 储存用户签约录入信息
},
openPickerBirth
(
index
)
{
// 打开出生日期控件
// this.restPageHeight()
this
.
pickerOpenIndex
=
index
this
.
$refs
.
pickerBirth
.
open
()
},
closePickerBirth
()
{
// this.clearPageHeight()
this
.
$refs
.
pickerBirth
.
close
()
},
pickerBirthConfirm
(
date
)
{
// this.clearPageHeight()
this
.
BaseValidate
.
birthKidState
=
true
const
selectedDate
=
new
Date
(
date
)
let
month
=
selectedDate
.
getMonth
()
+
1
...
...
@@ -1149,6 +1157,7 @@ export default {
this
.
modalVisible
=
true
this
.
signCanvasW
=
this
.
$refs
.
signCanvasBlock
.
offsetWidth
}
else
{
if
(
this
.
pageType
===
0
)
{
this
.
$MessageBox
.
confirm
(
'是否直接签约?'
).
then
(
action
=>
{
this
.
isSign
=
0
// 已签约
this
.
SignatureSheetVisible
=
true
...
...
@@ -1159,6 +1168,12 @@ export default {
this
.
isSign
=
1
// 未签约
this
.
handelSave
()
})
}
else
if
(
this
.
pageType
===
1
)
{
this
.
isSign
=
0
// 已签约
this
.
SignatureSheetVisible
=
true
this
.
modalVisible
=
true
this
.
signCanvasW
=
this
.
$refs
.
signCanvasBlock
.
offsetWidth
}
}
},
closeSignPopup
()
{
...
...
@@ -1787,6 +1802,12 @@ export default {
}
break
}
},
restPageHeight
()
{
this
.
pageH
=
'H500'
},
clearPageHeight
()
{
this
.
pageH
=
''
}
}
}
...
...
@@ -2135,6 +2156,10 @@ export default {
.footer
{
margin
:
10px
0
;
}
.H500
{
height
:
300px
;
overflow
:
hidden
;
}
</
style
>
<
style
>
...
...
@@ -2172,4 +2197,7 @@ export default {
width
:
200px
;
float
:
right
;
}
.picker-items
{
padding
:
0
20px
!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