同步销售机会,并增加地图数据请求参数
This commit is contained in:
@@ -357,7 +357,7 @@ export default {
|
|||||||
|
|
||||||
showHoverPanel({data: marker, position} = {}) {
|
showHoverPanel({data: marker, position} = {}) {
|
||||||
this.hoverPanelElement.style.opacity = '1'
|
this.hoverPanelElement.style.opacity = '1'
|
||||||
this.hoverPanelElement.innerHTML = [marker.storeName, `现烤库存金额:${marker.bakeStockAmt}`, `现烤销售机会:${marker.bakeStockAmt}`].join('<br/>')
|
this.hoverPanelElement.innerHTML = [marker.storeName, `现烤库存金额:${marker.bakeStockAmt}`, `现烤销售机会:${marker.preSaleNum}`].join('<br/>')
|
||||||
this.hoverPanel.scale.set(...Array(3).fill(0.04))
|
this.hoverPanel.scale.set(...Array(3).fill(0.04))
|
||||||
this.hoverPanel.rotation.z = Math.PI / 2
|
this.hoverPanel.rotation.z = Math.PI / 2
|
||||||
this.hoverPanel.rotation.y = Math.PI / 6
|
this.hoverPanel.rotation.y = Math.PI / 6
|
||||||
@@ -369,10 +369,10 @@ export default {
|
|||||||
},
|
},
|
||||||
getData() {
|
getData() {
|
||||||
const {$http, $waitFor} = window
|
const {$http, $waitFor} = window
|
||||||
const {groupCodeList, currentDate} = this.search
|
const {groupCodeList, currentDate, hourNum} = this.search
|
||||||
return $waitFor($http).then(() => Promise.all([
|
return $waitFor($http).then(() => Promise.all([
|
||||||
$http.post("/data-boot/la/screen/marketBoard/storeReport", {
|
$http.post("/data-boot/la/screen/marketBoard/storeReport", {
|
||||||
groupCodeList, currentDate
|
groupCodeList, currentDate, hourNum
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
return this.layers = res.data || []
|
return this.layers = res.data || []
|
||||||
|
|||||||
Reference in New Issue
Block a user