|
@@ -79,6 +79,7 @@ export default {
|
|
|
buttonText: '使用微信支付',
|
|
|
btnColor: '#09BB07',
|
|
|
handelPayMsg: {},
|
|
|
+ payType:0,
|
|
|
payParams: {
|
|
|
vipId: 0,
|
|
|
code: 0,
|
|
@@ -177,23 +178,17 @@ export default {
|
|
|
},
|
|
|
BuildCatenate() {
|
|
|
// 生成网银支付链接
|
|
|
- this.isShowTip = true
|
|
|
- // this.PayService.PayOrderPayLink(
|
|
|
- // {
|
|
|
- // unpaidAmount:this.payAmount,
|
|
|
- // orderId:this.orderId,
|
|
|
- // payType:this.payType,
|
|
|
- // }
|
|
|
- // ).then(response =>{
|
|
|
- // this.payHttpUrl = response.data
|
|
|
- // this.isShowTip = true
|
|
|
- // }).catch(error =>{
|
|
|
- // this.$util.msg(error.msg,2000)
|
|
|
- // })
|
|
|
+ this.PayService.PayOrderPayLink({
|
|
|
+ vipId: this.payParams.vipId,
|
|
|
+ payType: this.payType
|
|
|
+ }).then(response => {
|
|
|
+ this.payHttpUrl = response.data
|
|
|
+ this.isShowTip = true
|
|
|
+ })
|
|
|
},
|
|
|
tabClick(index) {
|
|
|
//tab切换
|
|
|
- this.tabCurrentIndex = index
|
|
|
+ this.tabCurrentIndex = this.payType = index
|
|
|
switch (index) {
|
|
|
case 0:
|
|
|
this.btnColor = '#09BB07'
|