|
|
|
@ -133,7 +133,7 @@ export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
show: false, |
|
|
|
uniqueId:Qs.parse(location.search.substring(1)).uniqueId, |
|
|
|
uniqueId:'', |
|
|
|
defaultCity: "天河区", //区名 默认值 不需要去掉 |
|
|
|
merchantNo: 2, //商户编号 默认值 不需要去掉 |
|
|
|
districtId: "440106000", //区id 默认值 不需要去掉 |
|
|
|
@ -411,21 +411,19 @@ export default { |
|
|
|
// this.getAddress(); |
|
|
|
// this.getLocation(); |
|
|
|
this.getData(); |
|
|
|
let uuniqueId = Qs.parse(location.search.substring(1)).uniqueId |
|
|
|
|
|
|
|
var uuniqueId = Qs.parse(location.search.substring(1)).uniqueId |
|
|
|
if(uuniqueId !== undefined && uuniqueId !== null && uuniqueId !== ""){ |
|
|
|
this.countExtend(); |
|
|
|
uuniqueId = ''; |
|
|
|
this.uniqueId = uuniqueId |
|
|
|
} |
|
|
|
|
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
var params = { |
|
|
|
salesmanUniqueIdentity: uuniqueId, |
|
|
|
salesmanUniqueIdentity: this.uniqueId, |
|
|
|
}; |
|
|
|
homeApi.updateUniqueId(params).then(res => { |
|
|
|
this.showLoading = false; |
|
|
|
if (res.code == 0) { |
|
|
|
this.uniqueId=this.$cookies.get('1hjz_mall_unique_id') |
|
|
|
this.countExtend(); |
|
|
|
this.ShareWenXin(); |
|
|
|
} else { |
|
|
|
this.$vux.toast.text(res.msg, "middle"); |
|
|
|
|