mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-22 02:16:53 +08:00
Banner update
This commit is contained in:
@@ -107,7 +107,7 @@
|
||||
import Myheader from "~/components/header.vue";
|
||||
import tabs from "@/components/tabs.vue";
|
||||
import vueQr from 'vue-qr'
|
||||
|
||||
import { mapMutations } from "vuex";
|
||||
|
||||
import { generateOrderAlipay, updateOrderWX, monitorOrderNotify,repayOrde } from "../../ajax/getData";
|
||||
import util from "@/ajax/util";
|
||||
@@ -158,6 +158,7 @@ export default {
|
||||
this.defaultHandlePayment();
|
||||
},
|
||||
methods: {
|
||||
...mapMutations(["checkIsLogin"]),
|
||||
detectQrcodeDisplay(){
|
||||
let payType = this.util.pickPaytype();
|
||||
switch(payType) {
|
||||
@@ -192,10 +193,16 @@ export default {
|
||||
//TODO raise WX jsapi pay
|
||||
break;
|
||||
}
|
||||
this.checkIsLogin();
|
||||
let user = this.$store.state.userInfo;
|
||||
let memberId = '';
|
||||
if(user)
|
||||
memberId = user.data.id;
|
||||
_hmt.push([
|
||||
"_trackCustomEvent",
|
||||
"payment",
|
||||
{
|
||||
"member_id": memberId,
|
||||
"payType" : payType,
|
||||
"product_amount" : this.userPayData.userprice,
|
||||
}
|
||||
@@ -268,10 +275,15 @@ export default {
|
||||
if (res.success) {
|
||||
this.qrtext = '成功加入群的二维码';
|
||||
this.dialogSuccess = true;
|
||||
let user = this.$store.state.userInfo;
|
||||
let memberId = '';
|
||||
if(user)
|
||||
memberId = user.data.id;
|
||||
_hmt.push([
|
||||
"_trackCustomEvent",
|
||||
"payment_finished",
|
||||
{
|
||||
"member_id" : memberId,
|
||||
"payType" : 'native',
|
||||
"product_amount" : this.userPayData.userprice,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user