Feat(页面):页面埋点配置

This commit is contained in:
lifizer
2024-06-17 23:13:22 +08:00
parent 19914b5b0d
commit cef0177716
55 changed files with 552 additions and 377 deletions
@@ -41,13 +41,14 @@
<script>
import { getCommissionInfo, getSpreadInfo } from "@/api/user";
import Loading from "@/components/Loading";
import { pageListenMixins } from '@/mixins/pageListenMixins'
export default {
name: "CommissionDetails",
components: {
Loading
},
props: {},
mixins: [pageListenMixins],
data: function() {
return {
info: [],
@@ -58,7 +59,8 @@ export default {
},
types: 9,//3,
loaded: false,
loading: false
loading: false,
pageKeyId: Object.freeze('userSpreadBill')
};
},
mounted: function() {
+4 -2
View File
@@ -126,13 +126,14 @@
<script>
import {getSpreadUser} from "@/api/user";
import Loading from "@/components/Loading";
import { pageListenMixins } from '@/mixins/pageListenMixins'
export default {
name: "PromoterList",
components: {
Loading
},
props: {},
mixins: [pageListenMixins],
data: function () {
return {
fixedState: false,
@@ -153,7 +154,8 @@ export default {
loadTitle: "",
first: "",
second: "",
webUrl: this.$VUE_APP_RESOURCES_URL
webUrl: this.$VUE_APP_RESOURCES_URL,
pageKeyId: Object.freeze('userSpreadStat')
};
},
mounted: function () {
+4 -2
View File
@@ -62,12 +62,13 @@
<script>
import { getSpreadOrder, getUserSpreadRule } from "@/api/user";
import Loading from "@/components/Loading";
import { pageListenMixins } from '@/mixins/pageListenMixins'
export default {
name: "PromoterOrder",
components: {
Loading
},
props: {},
mixins: [pageListenMixins],
data: function() {
return {
list: [],
@@ -79,7 +80,8 @@ export default {
loading: false,
loadTitle: '',
count: '',
ruleText: ''
ruleText: '',
pageKeyId: Object.freeze('userSpreadOrder')
}
},
mounted() {
+4 -3
View File
@@ -100,11 +100,11 @@
import { getSpreadInfo } from "@/api/user";
import { pageListenMixins } from '@/mixins/pageListenMixins'
export default {
name: "UserPromotion",
components: {},
props: {},
mixins: [pageListenMixins],
data: function() {
return {
Info: {
@@ -112,7 +112,8 @@ export default {
extractCount: 0,
commissionCount: 0
},
webUrl:this.$VUE_APP_RESOURCES_URL
webUrl:this.$VUE_APP_RESOURCES_URL,
pageKeyId: Object.freeze('userSpreadIndex')
};
},
mounted: function() {