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
bd8ef7ee
Commit
bd8ef7ee
authored
Dec 25, 2019
by
潘琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
乌当区生育全程签约现住址判断是否选择完整;
parent
7061c9d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
11 deletions
+27
-11
index.vue
src/views/signingWD/index.vue
+27
-11
No files found.
src/views/signingWD/index.vue
View file @
bd8ef7ee
...
...
@@ -786,7 +786,7 @@ export default {
console
.
log
(
'cancel'
)
})
}
else
{
if
(
data
.
state
===
'1'
&&
(
this
.
pageType
===
0
||
this
.
pageType
===
1
))
{
// 审核通过跳转至首页
if
(
data
.
state
===
'1'
&&
(
this
.
pageType
===
0
))
{
// 审核通过跳转至首页
this
.
$router
.
push
({
path
:
'/home'
})
...
...
@@ -878,7 +878,11 @@ export default {
if
(
this
.
BaseForm
.
address
===
''
)
{
this
.
BaseValidate
.
addressState
=
false
}
else
{
this
.
BaseValidate
.
addressState
=
true
if
(
this
.
addressForm
.
ProvinceCode
!==
''
&&
this
.
addressForm
.
CityCode
!==
''
&&
this
.
addressForm
.
AreaCode
!==
''
&&
this
.
addressForm
.
StreetCode
!==
''
&&
this
.
addressForm
.
VillagesCode
!==
''
)
{
this
.
BaseValidate
.
addressState
=
true
}
else
{
this
.
BaseValidate
.
addressState
=
false
}
}
},
BaseValidateStreet
()
{
// 详细地址
...
...
@@ -1189,14 +1193,25 @@ export default {
},
2500
)
}
}
else
if
(
this
.
pageType
===
1
)
{
this
.
$toast
({
message
:
'审核周期约三天,请您耐心等待!'
,
position
:
'center'
,
duration
:
3000
})
// this.$router.push({
// path: '/home'
// })
if
(
parseInt
(
this
.
signState
)
===
1
)
{
// 户主信息审核通过,儿童签约则直接跳转至首页
this
.
$toast
({
message
:
'签约成功!'
,
position
:
'center'
,
duration
:
3000
})
this
.
$router
.
push
({
path
:
'/home'
})
}
else
{
// 否则需要提示需要审核
this
.
$toast
({
message
:
'审核周期约三天,请您耐心等待!'
,
position
:
'center'
,
duration
:
3000
})
setTimeout
(
function
()
{
wx
.
closeWindow
()
},
2500
)
}
}
}
else
if
(
res
.
data
.
code
!==
200
)
{
this
.
$toast
({
...
...
@@ -1232,8 +1247,9 @@ export default {
position
:
'center'
,
duration
:
3000
})
let
that
=
this
setTimeout
(
function
()
{
th
is
.
$router
.
push
({
th
at
.
$router
.
push
({
path
:
'/home'
})
},
2500
)
...
...
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