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
8f213def
Commit
8f213def
authored
Oct 24, 2019
by
潘琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生育全程签约乌当和张家港功能BUG修复及功能变更;
parent
6cdabcc7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
7 deletions
+48
-7
index.vue
src/views/signing/index.vue
+8
-2
index.vue
src/views/signingWD/index.vue
+40
-5
No files found.
src/views/signing/index.vue
View file @
8f213def
...
...
@@ -1241,7 +1241,7 @@ export default {
createSignZJG
(
params
).
then
(
res
=>
{
this
.
btnDisabled
=
false
this
.
$Indicator
.
close
()
if
(
res
.
data
.
code
===
200
&&
res
.
data
.
value
)
{
if
(
res
.
code
===
200
&&
res
.
value
)
{
if
(
this
.
pageType
===
0
)
{
this
.
$toast
({
message
:
'审核周期约三天,请您耐心等待!'
,
...
...
@@ -1263,12 +1263,18 @@ export default {
path
:
'/home'
})
}
}
else
{
}
else
if
(
res
.
data
.
code
!==
200
)
{
this
.
$toast
({
message
:
res
.
data
.
message
,
position
:
'center'
,
duration
:
3000
})
}
else
{
this
.
$toast
({
message
:
res
.
message
,
position
:
'center'
,
duration
:
3000
})
}
}).
catch
((
error
)
=>
{
this
.
btnDisabled
=
false
...
...
src/views/signingWD/index.vue
View file @
8f213def
...
...
@@ -776,6 +776,22 @@ export default {
this
.
tab1Form
.
state
=
data
.
bs
[
0
].
state
}
}
// 0=待审核 1=审核通过 2=审核不通过 3=审核已取消
if
(
data
.
state
===
'1'
)
{
// 审核通过跳转至首页
this
.
$router
.
push
({
path
:
'/home'
})
}
else
if
(
data
.
state
===
'0'
)
{
this
.
$toast
({
message
:
'审核周期约三天,请您耐心等待!'
,
position
:
'center'
,
duration
:
3000
})
setTimeout
(
function
()
{
wx
.
closeWindow
()
},
2500
)
}
}).
catch
((
error
)
=>
{
this
.
$Indicator
.
close
()
this
.
$toast
({
...
...
@@ -1116,17 +1132,36 @@ export default {
this
.
btnDisabled
=
false
this
.
$Indicator
.
close
()
if
(
res
.
code
===
200
&&
res
.
value
)
{
if
(
this
.
pageType
===
0
)
{
this
.
$toast
({
message
:
'审核周期约三天,请您耐心等待!'
,
position
:
'center'
,
duration
:
3000
})
if
(
this
.
signState
===
'2'
||
this
.
signState
===
''
)
{
// 签约驳回、第一次签约
setTimeout
(
function
()
{
wx
.
closeWindow
()
},
2500
)
}
}
else
if
(
this
.
pageType
===
1
)
{
this
.
$toast
({
message
:
'保存成功!'
,
position
:
'center'
,
duration
:
3000
})
this
.
$router
.
push
({
path
:
'/home'
})
}
}
else
if
(
res
.
data
.
code
!==
200
)
{
this
.
$toast
({
message
:
'签约成功!'
,
message
:
res
.
data
.
message
,
position
:
'center'
,
duration
:
3000
})
this
.
$router
.
push
({
path
:
'/home'
})
}
else
{
this
.
$toast
({
message
:
'保存失败'
,
message
:
res
.
message
,
position
:
'center'
,
duration
:
3000
})
...
...
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