更新
This commit is contained in:
@@ -952,7 +952,7 @@
|
||||
// 获取渠道下价格等信息
|
||||
getNewSitePrice(channelId) {
|
||||
this.oilSitePriceDetailsVo = []
|
||||
oilSiteApi.getNewSitePriceZp({
|
||||
oilSiteApi.getSitePriceKAByBelong({
|
||||
channelId: channelId,
|
||||
clientBelong: "ZHONGPIN"
|
||||
}).then(res => {
|
||||
|
||||
@@ -148,7 +148,7 @@
|
||||
clientBelong: "ZHONGPIN"
|
||||
}
|
||||
|
||||
oilSiteApi.getSiteDetails(data2).then(res => {
|
||||
oilSiteApi.getSiteDetailsByKA(data2).then(res => {
|
||||
if (res.code == 20000) {
|
||||
this.siteInfo = res.data
|
||||
}
|
||||
|
||||
@@ -497,10 +497,10 @@
|
||||
})
|
||||
},
|
||||
markerTap(res){
|
||||
console.log('这类似点击marker点',res)
|
||||
console.log('这类似点击marker点匹配',this.coverDatas)
|
||||
// console.log('这类似点击marker点',res)
|
||||
// console.log('这类似点击marker点匹配',this.coverDatas)
|
||||
let site = this.coverDatas.filter(item=>Number(item.id.substr(0,8)) == res.detail.markerId );
|
||||
console.log('*++++++++++++++++++++++++++++++*',site)
|
||||
// console.log('*++++++++++++++++++++++++++++++*',site)
|
||||
this.siteInfo = site[0]
|
||||
if(this.siteInfo){
|
||||
let userLocation = uni.getStorageSync('userLocation')
|
||||
@@ -512,8 +512,8 @@
|
||||
latitude:latitude ,
|
||||
longitude: longitude ,
|
||||
}
|
||||
console.log('点击获取obj',obj)
|
||||
oilSiteApi.getSiteDetails(obj).then(res=>{
|
||||
// console.log('点击获取obj',obj)
|
||||
oilSiteApi.getSiteDetailsByKA(obj).then(res=>{
|
||||
if(res.code == 20000){
|
||||
console.log(res)
|
||||
this.oliSiteInfo = res.data
|
||||
|
||||
@@ -211,6 +211,8 @@
|
||||
}
|
||||
|
||||
this.location = uni.getStorageSync('location')
|
||||
|
||||
// console.log('option',option)
|
||||
|
||||
if (!option.item) {
|
||||
let siteInfos = uni.getStorageSync('siteInfo')
|
||||
@@ -293,7 +295,7 @@
|
||||
}
|
||||
let user = uni.getStorageSync('user');
|
||||
if (user) {
|
||||
oilSiteApi.getSiteDetails(data2).then(res => {
|
||||
oilSiteApi.getSiteDetailsByKA(data2).then(res => {
|
||||
if (res.code == 20000) {
|
||||
this.siteInfo = Object.assign(item, res.data);
|
||||
}
|
||||
|
||||
@@ -283,7 +283,7 @@
|
||||
...uni.getStorageSync('location'),
|
||||
siteId: this.siteId
|
||||
}
|
||||
oilSiteApi.getSiteDetails(data2).then(res => {
|
||||
oilSiteApi.getSiteDetailsByKA(data2).then(res => {
|
||||
if (res.code == 20000) {
|
||||
this.siteInfo = res.data
|
||||
}
|
||||
|
||||
@@ -152,7 +152,7 @@ export default {
|
||||
...uni.getStorageSync('location'),
|
||||
siteId: id
|
||||
}
|
||||
oilSiteApi.getSiteDetails(data2).then(res => {
|
||||
oilSiteApi.getSiteDetailsByKA(data2).then(res => {
|
||||
if (res.code == 20000) {
|
||||
this.siteInfo = res.data
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user