同步销售机会,并增加地图数据请求参数

This commit is contained in:
aixianling
2024-07-15 16:36:35 +08:00
parent 8a55325ee9
commit 69390ca33e

View File

@@ -357,7 +357,7 @@ export default {
showHoverPanel({data: marker, position} = {}) {
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.rotation.z = Math.PI / 2
this.hoverPanel.rotation.y = Math.PI / 6
@@ -369,10 +369,10 @@ export default {
},
getData() {
const {$http, $waitFor} = window
const {groupCodeList, currentDate} = this.search
const {groupCodeList, currentDate, hourNum} = this.search
return $waitFor($http).then(() => Promise.all([
$http.post("/data-boot/la/screen/marketBoard/storeReport", {
groupCodeList, currentDate
groupCodeList, currentDate, hourNum
}).then(res => {
if (res?.data) {
return this.layers = res.data || []