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
13f49789
Commit
13f49789
authored
Apr 13, 2023
by
袁玲利
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v_bocom_4.1'
parents
77b626c5
a652f232
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
0 deletions
+51
-0
src/pages/BankModule/Recharge/Recharge.vue
src/pages/BankModule/Recharge/Recharge.vue
+51
-0
No files found.
src/pages/BankModule/Recharge/Recharge.vue
View file @
13f49789
...
@@ -371,6 +371,9 @@
...
@@ -371,6 +371,9 @@
{
{
text
:
"
证件更新
"
text
:
"
证件更新
"
},
},
{
text
:
"
申请激活
"
},
{
{
text
:
"
在线销户
"
text
:
"
在线销户
"
}],
}],
...
@@ -482,8 +485,53 @@
...
@@ -482,8 +485,53 @@
jWeixin
.
miniProgram
.
redirectTo
({
jWeixin
.
miniProgram
.
redirectTo
({
url
:
`/pages_subpackB/pages/certificateBohaiUpdate/main`
url
:
`/pages_subpackB/pages/certificateBohaiUpdate/main`
});
});
}
else
if
(
action
.
text
==
"
申请激活
"
)
{
this
.
activeBankcard
()
}
}
},
},
// 交通银行申请激活银行卡
activeBankcard
(){
$
.
ajax
({
url
:
gHost
+
"
/bank-wechat/account/manager/accActivation
"
,
type
:
"
POST
"
,
contentType
:
"
application/x-www-form-urlencoded
"
,
data
:
{
// schoolId: 197, //学校id
// userId: 4145598, //用户id
schoolId
:
bankInfo
.
schoolId
,
//学校id
userId
:
userID
,
//用户id
sessionid
:
sessionID
},
headers
:
{
sessionid
:
sessionID
,
},
success
:
function
(
respes
)
{
if
(
respes
.
code
==
"
10000
"
)
{
console
.
log
(
respes
.
results
.
url
,
'
respes.results.url
'
)
let
flag
=
true
;
jWeixin
.
miniProgram
.
redirectTo
({
url
:
`/pages_subpackB/pages/bocomToH5/main?pageUrl=`
+
encodeURIComponent
(
respes
.
results
.
url
)
+
'
&flag=
'
+
flag
});
}
else
{
// Toast(respes.message || "申请激活失败,请重试!");
let
flag
=
false
;
jWeixin
.
miniProgram
.
redirectTo
({
url
:
`/pages_subpackB/pages/bocomToH5/main?flag=`
+
flag
+
'
&reason=
'
+
respes
.
message
});
throw
new
Error
(
"
申请激活失败,请重试!
"
);
}
},
error
:
function
(
err
)
{
loading
.
clear
();
let
flag
=
false
;
jWeixin
.
miniProgram
.
redirectTo
({
url
:
`/pages_subpackB/pages/bocomToH5/main?flag=`
+
flag
});
Toast
(
err
||
"
申请激活失败,请重试!
"
);
throw
new
Error
(
"
申请激活失败,请重试!
"
);
},
});
},
async
beforeQuerySignStatus
()
{
async
beforeQuerySignStatus
()
{
await
this
.
QueryUserInfo
();
await
this
.
QueryUserInfo
();
// 渤海银行要判断是否有代扣签约
// 渤海银行要判断是否有代扣签约
...
@@ -1317,6 +1365,9 @@
...
@@ -1317,6 +1365,9 @@
if
(
this_
.
typeCode
!=
'
BOHAI
'
){
if
(
this_
.
typeCode
!=
'
BOHAI
'
){
this_
.
actions
=
this_
.
actions
.
filter
(
x
=>
x
.
text
!=
'
证件更新
'
);
this_
.
actions
=
this_
.
actions
.
filter
(
x
=>
x
.
text
!=
'
证件更新
'
);
}
}
if
(
this_
.
typeCode
!=
'
BOCOM
'
){
this_
.
actions
=
this_
.
actions
.
filter
(
x
=>
x
.
text
!=
'
申请激活
'
);
}
bankInfo
.
sessionid
=
sessionID
;
bankInfo
.
sessionid
=
sessionID
;
this_
.
queryBankInfo
();
//查余额
this_
.
queryBankInfo
();
//查余额
this_
.
bankInfo_
=
bankInfo
;
this_
.
bankInfo_
=
bankInfo
;
...
...
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