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
67dacd2a
Commit
67dacd2a
authored
Jul 03, 2024
by
袁玲利
Browse files
Options
Browse Files
Download
Plain Diff
交行二类户接入
parents
b6f3defe
64792ef8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
12 deletions
+33
-12
src/pages/BankModule/Recharge/Recharge.vue
src/pages/BankModule/Recharge/Recharge.vue
+33
-12
No files found.
src/pages/BankModule/Recharge/Recharge.vue
View file @
67dacd2a
...
@@ -418,7 +418,7 @@
...
@@ -418,7 +418,7 @@
>
>
</view>
</view>
</view>
</view>
<view
class=
"changeCard"
@
click=
"ChangeBankPay"
v-if=
"typeCode != 'BOCOM'"
>
我要换卡支付
</view>
<view
class=
"changeCard"
@
click=
"ChangeBankPay"
>
我要换卡支付
</view>
</view>
</view>
</view>
</view>
<!-- 银行卡列表
<!-- 银行卡列表
...
@@ -1361,19 +1361,39 @@ export default {
...
@@ -1361,19 +1361,39 @@ export default {
if
(
bankInfo
.
bindCardNo
==
item
.
bindCardNo
)
{
if
(
bankInfo
.
bindCardNo
==
item
.
bindCardNo
)
{
return
;
return
;
}
}
let
accountType
=
uni
.
setStorageSync
(
'
accountType
'
)
if
(
accountType
==
2
&&
this
.
typeCode
==
'
BOCOM
'
){
// 交行二类户
let
userName_
=
(
bankInfo
.
trueName
).
substring
((
bankInfo
.
trueName
).
length
-
1
)
let
accountNo_
=
(
bankInfo
.
accountNo
).
replace
(
/
\s
*/g
,
""
);
accountNo_
=
accountNo_
.
substring
(
accountNo_
.
length
-
4
)
jWeixin
.
miniProgram
.
navigateTo
({
url
:
'
/pages_subpackB/pages/FaceRecogAuthen/main?userName=
'
+
userName_
+
"
&accountNo=
"
+
accountNo_
})
return
;
}
var
loading
=
weui
.
loading
(
"
请稍后
"
);
var
loading
=
weui
.
loading
(
"
请稍后
"
);
let
params
=
{
schoolId
:
bankInfo
.
schoolId
,
userId
:
userID
,
sessionid
:
sessionID
,
wechattype
:
1
,
bindMedium
:
item
.
bindCardNo
,
bindMediumName
:
item
.
bindCardName
,
};
let
url
=
"
/bank-wechat/icbc/account/bindcard/changeDefaultBinding
"
;
if
(
this_
.
typeCode
==
"
BOCOM
"
)
{
url
=
'
/bank-wechat/bocom/open/changeBindCard
'
;
Object
.
assign
(
params
,{
livingOrderNo
:
uni
.
getStorageSync
(
'
faceIdentificationNo
'
)
})
}
$
.
ajax
({
$
.
ajax
({
url
:
gHost
+
"
/bank-wechat/icbc/account/bindcard/changeDefaultBinding
"
,
url
:
gHost
+
url
,
type
:
"
POST
"
,
type
:
"
POST
"
,
contentType
:
"
application/x-www-form-urlencoded
"
,
contentType
:
"
application/x-www-form-urlencoded
"
,
data
:
{
data
:
params
,
schoolId
:
bankInfo
.
schoolId
,
userId
:
userID
,
sessionid
:
sessionID
,
wechattype
:
1
,
bindMedium
:
item
.
bindCardNo
,
bindMediumName
:
item
.
bindCardName
,
},
success
:
function
(
res5
)
{
success
:
function
(
res5
)
{
loading
.
hide
();
loading
.
hide
();
if
(
res5
.
code
==
"
10000
"
)
{
if
(
res5
.
code
==
"
10000
"
)
{
...
@@ -1608,8 +1628,8 @@ export default {
...
@@ -1608,8 +1628,8 @@ export default {
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
"
)
{
if
(
this_
.
typeCode
=
=
"
BOCOM
"
)
{
this_
.
actions
=
this_
.
actions
.
filter
((
x
)
=>
x
.
text
!=
"
申请激活
"
);
this_
.
actions
=
this_
.
actions
.
filter
((
x
)
=>
x
.
text
!=
"
申请激活
"
&&
x
.
text
!=
"
证件更新
"
);
}
}
bankInfo
.
sessionid
=
sessionID
;
bankInfo
.
sessionid
=
sessionID
;
this_
.
queryBankInfo
();
//查余额
this_
.
queryBankInfo
();
//查余额
...
@@ -2732,6 +2752,7 @@ page {
...
@@ -2732,6 +2752,7 @@ page {
font-family: PingFangSC-Regular, PingFang SC;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
font-weight: 400;
color: #000000;
color: #000000;
line-height: 40rpx;
border-bottom: 1rpx solid #dddddd;
border-bottom: 1rpx solid #dddddd;
}
}
...
...
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