Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
X
xzf_uniapp-wechat-web
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
李智书
xzf_uniapp-wechat-web
Commits
8b5c5389
Commit
8b5c5389
authored
May 19, 2022
by
袁玲利
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/V1.6.9_feature' into develop
parents
a1d6792a
76201480
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
29 deletions
+43
-29
src/pages/BankModule/Recharge/Recharge.vue
src/pages/BankModule/Recharge/Recharge.vue
+43
-29
No files found.
src/pages/BankModule/Recharge/Recharge.vue
View file @
8b5c5389
...
@@ -571,41 +571,55 @@ export default {
...
@@ -571,41 +571,55 @@ export default {
},
},
// 代扣状态查询
// 代扣状态查询
async
signStatusQuery
()
{
async
signStatusQuery
()
{
let
respes
=
await
this
.
$http
.
post
({
$
.
ajax
({
// url: "http://159.75.47.27:8091/bank-wechat/bohai/comprehensive/signStatusQuery",
url
:
gHost
+
"
/bank-wechat/bohai/comprehensive/signStatusQuery
"
,
url
:
gHost
+
"
/bank-wechat/bohai/comprehensive/signStatusQuery
"
,
type
:
"
POST
"
,
contentType
:
"
application/x-www-form-urlencoded
"
,
data
:
{
data
:
{
schoolId
:
bankInfo
.
schoolId
,
//学校id
schoolId
:
bankInfo
.
schoolId
,
//学校id
userId
:
userID
,
//用户id
userId
:
userID
,
//用户id
sessionid
:
sessionID
,
wechattype
:
1
},
headers
:
{
sessionid
:
sessionID
,
},
success
:
function
(
respes
)
{
loading
.
clear
();
if
(
respes
.
code
==
"
10000
"
)
{
console
.
log
(
respes
,
"
respes
"
);
if
(
respes
.
results
.
dkstatus
!=
1
)
{
// 1已签约
Dialog
.
alert
({
title
:
"
使用说明
"
,
message
:
"
您暂未进行银行代扣签约,将影响电子校园卡的正常使用,请尽快前往签约
"
,
theme
:
"
round-button
"
,
confirmButtonText
:
"
确认签约
"
,
confirmButtonColor
:
"
#2ddbb6
"
,
className
:
"
signAlert
"
,
})
.
then
(()
=>
{
// on confirm
jWeixin
.
miniProgram
.
navigateTo
({
url
:
`/pages/SignProxyPay/main`
,
});
})
.
catch
(()
=>
{
// on cancel
});
}
}
else
{
Toast
(
respes
.
message
||
"
代扣状态查询,请重试!
"
);
throw
new
Error
(
"
代扣状态查询,请重试!
"
);
}
},
error
:
function
(
err
)
{
loading
.
clear
();
Toast
(
err
||
"
代扣状态查询,请重试!
"
);
throw
new
Error
(
"
代扣状态查询,请重试!
"
);
},
},
});
});
if
(
respes
.
code
==
"
10000
"
)
{
console
.
log
(
respes
,
"
respes
"
);
if
(
respes
.
results
.
dkstatus
!=
1
)
{
// 1已签约
Dialog
.
alert
({
title
:
"
使用说明
"
,
message
:
"
您暂未进行银行代扣签约,将影响电子校园卡的正常使用,请尽快前往签约
"
,
theme
:
"
round-button
"
,
confirmButtonText
:
"
确认签约
"
,
confirmButtonColor
:
"
#2ddbb6
"
,
className
:
"
signAlert
"
,
})
.
then
(()
=>
{
// on confirm
jWeixin
.
miniProgram
.
navigateTo
({
url
:
`/pages/SignProxyPay/main`
,
});
})
.
catch
(()
=>
{
// on cancel
});
}
}
else
{
Toast
(
respes
.
message
||
"
代扣状态查询,请重试!
"
);
throw
new
Error
(
"
代扣状态查询,请重试!
"
);
}
},
},
// 充值验证获取验证码
// 充值验证获取验证码
async
SendSms
()
{
async
SendSms
()
{
...
...
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