From 7298d5354963a88643a543b51b90192dc9fc934c Mon Sep 17 00:00:00 2001 From: doum <doum> Date: 星期四, 11 九月 2025 18:43:14 +0800 Subject: [PATCH] 最新版本541200007 --- screen/src/views/LogisticsCenter.vue | 36 +++++++++++++++++++++++++++++++++++- 1 files changed, 35 insertions(+), 1 deletions(-) diff --git a/screen/src/views/LogisticsCenter.vue b/screen/src/views/LogisticsCenter.vue index 1e6c142..54ad031 100644 --- a/screen/src/views/LogisticsCenter.vue +++ b/screen/src/views/LogisticsCenter.vue @@ -526,6 +526,7 @@ import { getStoreOperationList, getStorecenterData, + getStorecenterDataNew, getStoreenergyDataList, getStorelastMonthOil, getStoreTaskList, @@ -816,6 +817,39 @@ borderColor: '#fff' }, }, + dataZoom: [ + { + type: 'slider', // 婊戝姩鏉$被鍨� + orient: 'vertical', + left: 'left', + start: 0, // 璧峰浣嶇疆锛堢櫨鍒嗘瘮锛� + end: 40, // 缁撴潫浣嶇疆锛堢櫨鍒嗘瘮锛夛紝鎺у埗鍒濆鏄剧ず鑼冨洿 + width: 1, + backgroundColor: '#04141d', // 婊戝姩鏉¤儗鏅壊 + // dataBackground: 'none', + dataBackground: { + areaStyle: { opacity: 0 }, // 璁剧疆鑳屾櫙閫忔槑 + lineStyle: { opacity: 0 } // 璁剧疆鑳屾櫙閫忔槑 + }, + borderColor: '#04141e', // 杈规棰滆壊 + moveOnMouseWheel: true, + // showDetail: false, // 闅愯棌閫変腑鑼冨洿鐨勬枃瀛� + }, + { + type: 'inside', // 鐢ㄤ簬鐩戝惉婊氳疆浜嬩欢 + orient: 'vertical', + start: 0, + end: 40, + minSpan: 40, + dataBackground: { + areaStyle: { opacity: 0 } // 璁剧疆鑳屾櫙閫忔槑 + }, + maxSpan: 40, + zoomLock: true, // 閿佸畾缂╂斁锛堜粎鍏佽骞崇Щ锛� + moveOnMouseWheel: true, // 鍚敤婊氳疆骞崇Щ + // zoomOnMouseWheel: false // 绂佺敤婊氳疆缂╂斁 + } + ], grid: { left: '3%', right: '4%', @@ -1229,7 +1263,7 @@ } // footer const getData3 = () => { - getStorecenterData({ + getStorecenterDataNew({ factoryCode: activeCity.value.code }).then(res => { const obj = res.data || {} -- Gitblit v1.9.3