mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-17 08:03:49 +08:00
Data tracking point added
This commit is contained in:
@@ -153,6 +153,7 @@ import MyFooter from '~/components/rc-footer.vue';
|
||||
import tabs from "~/components/tabs.vue";
|
||||
import util from "@/ajax/util";
|
||||
import { customerorders, userindent, canceldanhao, repayOrde } from "../../ajax/getData";
|
||||
import { mapMutations } from "vuex";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -288,7 +289,8 @@ export default {
|
||||
},
|
||||
|
||||
mounted() {
|
||||
let user = JSON.parse(localStorage.getItem("userInfo"));
|
||||
this.checkIsLogin();
|
||||
let user = this.$store.state.userInfo;
|
||||
this.userdata = user.data.mobile;
|
||||
let stype = this.$route.query.stype;
|
||||
this.userstype=this.$route.query.stype;
|
||||
@@ -308,6 +310,7 @@ export default {
|
||||
tabs
|
||||
},
|
||||
methods: {
|
||||
...mapMutations(["changemessage","checkIsLogin"]),
|
||||
async indet(mobile, stype) {
|
||||
let data = await userindent(mobile,undefined,1,100);
|
||||
this.activeIndex = stype;
|
||||
@@ -478,6 +481,7 @@ export default {
|
||||
userfind(item) {
|
||||
this.paytypeWarning = this.util.checkPaytypeValidated(item.paytype);
|
||||
this.showPaytypeWarning = !this.paytypeWarning.result;
|
||||
let user = this.$store.state.userInfo;
|
||||
if(this.paytypeWarning.result) {
|
||||
if(item.status==0){
|
||||
_hmt.push([
|
||||
@@ -485,6 +489,7 @@ export default {
|
||||
"order_repay",
|
||||
{
|
||||
"status":"success",
|
||||
"member_id": user.data.id
|
||||
}
|
||||
])
|
||||
this.getwei(item);
|
||||
@@ -503,6 +508,7 @@ export default {
|
||||
"order_repay",
|
||||
{
|
||||
"status":"fail",
|
||||
"member_id": user.data.id
|
||||
}
|
||||
])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user