Feat(页面):页面埋点配置
This commit is contained in:
@@ -430,12 +430,14 @@ import {
|
||||
uploadImage,
|
||||
chooseVideoToUpload
|
||||
} from "@/utils"
|
||||
import { pageListenMixins } from '@/mixins/pageListenMixins'
|
||||
|
||||
export default {
|
||||
name: "pkgJoinSupplier",
|
||||
name: "PkgJoinSupplier",
|
||||
components: {
|
||||
CitySelect
|
||||
},
|
||||
mixins: [pageListenMixins],
|
||||
data() {
|
||||
return {
|
||||
partnerId: "",
|
||||
@@ -614,15 +616,23 @@ export default {
|
||||
reviewStatus: null,
|
||||
stateTitle: "",
|
||||
stateType: "primary",
|
||||
isPass: false
|
||||
isPass: false,
|
||||
pageKeyId: ''
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
this.partnerId = options.partnerId || "";
|
||||
this.formSupplier.subType = options.type;
|
||||
this.infoTitle = options.type === "goods_supplier" ? "特产" : "文玩";
|
||||
this.partnerId = options.partnerId || ''
|
||||
const type = options.type
|
||||
this.formSupplier.subType = type
|
||||
if (type === 'goods_supplier') {
|
||||
this.infoTitle = '特产'
|
||||
this.pageKeyId = 'merchantApplyGoodsSupplier'
|
||||
} else {
|
||||
this.infoTitle = '文玩'
|
||||
this.pageKeyId = 'merchantApplyWenwanSupplier'
|
||||
}
|
||||
uni.setNavigationBarTitle({
|
||||
title: this.infoTitle + "供应商入驻"
|
||||
title: this.infoTitle + '供应商入驻'
|
||||
})
|
||||
this.init();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user