mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 09:11:52 +08:00
微调支付收银界面,缺少 success 参数
This commit is contained in:
parent
105f1a2707
commit
27b8202053
@ -238,7 +238,7 @@ export default {
|
|||||||
if (data.status === PayOrderStatusEnum.SUCCESS.status) {
|
if (data.status === PayOrderStatusEnum.SUCCESS.status) {
|
||||||
this.clearQueryInterval();
|
this.clearQueryInterval();
|
||||||
this.$message.success('支付成功!');
|
this.$message.success('支付成功!');
|
||||||
this.goReturnUrl();
|
this.goReturnUrl('success');
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -321,13 +321,13 @@ export default {
|
|||||||
if (response.data.status === PayOrderStatusEnum.SUCCESS.status) {
|
if (response.data.status === PayOrderStatusEnum.SUCCESS.status) {
|
||||||
this.clearQueryInterval();
|
this.clearQueryInterval();
|
||||||
this.$message.success('支付成功!');
|
this.$message.success('支付成功!');
|
||||||
this.goReturnUrl();
|
this.goReturnUrl('success');
|
||||||
}
|
}
|
||||||
// 已取消
|
// 已取消
|
||||||
if (response.data.status === PayOrderStatusEnum.CLOSED.status) {
|
if (response.data.status === PayOrderStatusEnum.CLOSED.status) {
|
||||||
this.clearQueryInterval();
|
this.clearQueryInterval();
|
||||||
this.$message.error('支付已关闭!');
|
this.$message.error('支付已关闭!');
|
||||||
this.goReturnUrl();
|
this.goReturnUrl('close');
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}, 1000 * 2)
|
}, 1000 * 2)
|
||||||
|
@ -302,25 +302,7 @@ export default {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tag-purple {
|
.order-font {
|
||||||
color: #722ed1;
|
|
||||||
background: #f9f0ff;
|
|
||||||
border-color: #d3adf7;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tag-cyan {
|
|
||||||
color: #13c2c2;
|
|
||||||
background: #e6fffb;
|
|
||||||
border-color: #87e8de;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tag-pink {
|
|
||||||
color: #eb2f96;
|
|
||||||
background: #fff0f6;
|
|
||||||
border-color: #ffadd2;
|
|
||||||
}
|
|
||||||
|
|
||||||
.order-font{
|
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
padding: 2px 0;
|
padding: 2px 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user