Feat(页面):页面埋点配置
This commit is contained in:
@@ -17,24 +17,26 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {getImages, getShopData} from "@/api/join";
|
||||
|
||||
import {getImages, getShopData} from '@/api/join'
|
||||
import { pageListenMixins } from '@/mixins/pageListenMixins'
|
||||
export default {
|
||||
name: "pkgJoinIndex",
|
||||
name: 'PkgJoinIndex',
|
||||
mixins: [pageListenMixins],
|
||||
data() {
|
||||
return {
|
||||
webUrl: this.$VUE_APP_RESOURCES_URL,
|
||||
partnerId: "",
|
||||
partnerType: "",
|
||||
partnerId: '',
|
||||
partnerType: '',
|
||||
hotelId: null,
|
||||
hasHotel: null,
|
||||
hasSupplier: null,
|
||||
hasWholesaler: null,
|
||||
images: null
|
||||
images: null,
|
||||
pageKeyId: Object.freeze('merchantApplyIndex')
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
this.partnerId = options.partnerId || "";
|
||||
this.partnerId = options.partnerId || ''
|
||||
getImages().then(({data}) => this.images = data);
|
||||
getShopData(this.partnerId).then(({data}) => {
|
||||
this.partnerType = data.partnerType;
|
||||
|
||||
Reference in New Issue
Block a user