diff --git a/src/views/AppThreeMap.vue b/src/views/AppThreeMap.vue index 1f702c7..3621d20 100644 --- a/src/views/AppThreeMap.vue +++ b/src/views/AppThreeMap.vue @@ -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('
') + this.hoverPanelElement.innerHTML = [marker.storeName, `现烤库存金额:${marker.bakeStockAmt}`, `现烤销售机会:${marker.preSaleNum}`].join('
') 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 || []