Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shop_mobile_uni
Project
Project
Details
Activity
Releases
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
郑秀明
shop_mobile_uni
Commits
4ff7b2c5
Commit
4ff7b2c5
authored
May 06, 2020
by
王建威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
‘修改分期认证’
parent
51c19947
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
10 deletions
+52
-10
installmentinfo.vue
pages/installment/installmentinfo.vue
+52
-10
No files found.
pages/installment/installmentinfo.vue
View file @
4ff7b2c5
...
...
@@ -181,7 +181,8 @@
isLogin
:
0
,
contract_no
:
''
,
equipment_id
:
''
,
is_auth
:
'0'
is_auth
:
'0'
,
type
:
2
}
},
onLoad
(
option
)
{
...
...
@@ -228,6 +229,7 @@
this
.
isLogin
=
res
.
data
.
login_flg
;
this
.
contract_no
=
res
.
data
.
data
.
contract_no
;
this
.
is_auth
=
res
.
data
.
data
.
is_auth
;
this
.
type
=
res
.
data
.
data
.
EquipmentInfo
.
type
;
}
});
},
...
...
@@ -259,15 +261,55 @@
}
});
}
else
{
uni
.
setStorage
({
key
:
'installment'
,
data
:
data
,
success
:
()
=>
{
uni
.
navigateTo
({
url
:
'/pages/certification/certification'
});
}
});
if
(
this
.
type
===
'1'
)
{
uni
.
showToast
({
title
:
'提交中'
,
icon
:
'none'
})
uni
.
request
({
url
:
'/uni/api/certification/AddRealnameAuth'
,
data
:
{
enterprise_name
:
'深圳市派特堡扬子宠物医院有限公司'
,
social_credit_code
:
'91440300MA5FNCJRX2'
,
legal_name
:
'汪秀举'
,
legal_card
:
'341103198209194417'
,
card_positive
:
'11'
,
card_reverse
:
'11'
,
enterprise_type
:
1
,
organ_type
:
11
},
method
:
'POST'
,
success
:
(
res
)
=>
{
if
(
res
.
data
.
code
===
0
)
{
uni
.
setStorage
({
key
:
'installment'
,
data
:
data
,
success
:
()
=>
{
uni
.
navigateTo
({
url
:
'/pages/signcontract/signcontract'
});
}
});
}
else
{
uni
.
hideToast
();
uni
.
showToast
({
icon
:
'none'
,
title
:
res
.
data
.
message
})
}
}
})
}
else
{
uni
.
setStorage
({
key
:
'installment'
,
data
:
data
,
success
:
()
=>
{
uni
.
navigateTo
({
url
:
'/pages/certification/certification'
});
}
});
}
}
},
collectGoods
(
id
,
type
)
{
...
...
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