|
@@ -51,7 +51,7 @@
|
|
|
|
|
|
<script>
|
|
|
import PayBank from '@/views/components/payment/pay-bank.vue'
|
|
|
-import { checkedOtherPaySuccess, fetchPayInfoWithLinkLogo } from '@/api/pay'
|
|
|
+import { checkedUnionPaySuccess, fetchPayInfoWithLinkLogo } from '@/api/pay'
|
|
|
import { countDown } from '@/utils'
|
|
|
export default {
|
|
|
components: {
|
|
@@ -100,7 +100,7 @@ export default {
|
|
|
},
|
|
|
// 获取订单信息
|
|
|
fetchPayInfoWithLinkLogo() {
|
|
|
- fetchPayInfoWithLinkLogo({ linkLogo: this.linkLogo }).then(res => {
|
|
|
+ fetchPayInfoWithLinkLogo({ linkLogo: this.linkLogo }).then((res) => {
|
|
|
const result = JSON.parse(res.data)
|
|
|
this.orderPayLink = result.orderPayLink
|
|
|
this.authUser = result.authUser
|
|
@@ -113,7 +113,7 @@ export default {
|
|
|
this.redirectUrlQuery = {
|
|
|
payAmount: e.data.payAmount
|
|
|
}
|
|
|
- checkedOtherPaySuccess({ mbOrderId: e.data.mbOrderId }).then(res => {
|
|
|
+ checkedUnionPaySuccess({ mbOrderId: e.data.mbOrderId }).then((res) => {
|
|
|
res = JSON.parse(res.data)
|
|
|
if (res.data.status === '1') {
|
|
|
this.$router.push({
|
|
@@ -143,7 +143,7 @@ export default {
|
|
|
const diffTime = new Date(this.orderPayLink.effectiveTime).getTime()
|
|
|
const loadTime = new Date().getTime()
|
|
|
this.timer && clearTimeout(this.timer)
|
|
|
- countDown(diffTime, loadTime, {}, item => {
|
|
|
+ countDown(diffTime, loadTime, {}, (item) => {
|
|
|
this.countDownTime = item.conttainer
|
|
|
this.timer = item.t
|
|
|
})
|