From a637977e1244c10ca4f8bbe5eb91e55fa7e7d582 Mon Sep 17 00:00:00 2001 From: juzi <819872918@qq.com> Date: Wed, 17 Jan 2024 09:11:02 +0800 Subject: [PATCH] =?UTF-8?q?ui=E6=B5=8B=E8=AF=95=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/databoard/components/Container.vue | 15 ++- .../databoard/components/DefectChart.vue | 2 +- .../components/EnergeMonitoringChart.vue | 11 ++- .../databoard/components/FlueGasChart.vue | 5 +- src/views/databoard/components/GasChart.vue | 3 +- src/views/databoard/components/ISRAChart.vue | 19 ++-- .../databoard/components/NumRateChart.vue | 28 ++++-- src/views/databoard/deepProcessing/index.vue | 2 +- src/views/databoard/kiln/GasHandle.vue | 12 +-- src/views/databoard/kiln/index.vue | 5 +- .../databoard/wholePlant/OrderStatus copy.vue | 98 +++++++++++++++++++ .../databoard/wholePlant/OrderStatus.vue | 36 +++---- src/views/databoard/wholePlant/index.vue | 2 +- 13 files changed, 183 insertions(+), 55 deletions(-) create mode 100644 src/views/databoard/wholePlant/OrderStatus copy.vue diff --git a/src/views/databoard/components/Container.vue b/src/views/databoard/components/Container.vue index e86c92e5..8728eb17 100644 --- a/src/views/databoard/components/Container.vue +++ b/src/views/databoard/components/Container.vue @@ -11,7 +11,7 @@ - +
-
+
+ \ No newline at end of file diff --git a/src/views/databoard/wholePlant/OrderStatus.vue b/src/views/databoard/wholePlant/OrderStatus.vue index e2ef9be3..945b7d60 100644 --- a/src/views/databoard/wholePlant/OrderStatus.vue +++ b/src/views/databoard/wholePlant/OrderStatus.vue @@ -25,7 +25,7 @@ export default { headerBGC: 'rgba(32, 55, 96, 0.8)', oddRowBGC: 'rgba(32, 55, 96, 0.8)', evenRowBGC: 'rgba(14, 32, 62, 0.8)', - columnWidth: [155, 180, 150], + columnWidth: [155, 160, 150], data: [], rowNum: 6 } @@ -33,34 +33,24 @@ export default { }, mounted() {}, watch:{ - order: { - handler(newVal, oldVal) { + order:{ + handler() { let outArr = this.order.map((item) => [ - formatDate(item.planStartTime) || '', + formatDate(item.planStartTime) || '', `${item.customerName || ''}`, `${item.specifications || ''}`, - `${item.completeRate?(item.completeRate*100).toFixed(2)+'%':'0%'} -
-
-
-
-
+ `${item.completeRate?(item.completeRate*100).toFixed(2)+'%':'0%'} +
+ + + +
` ]); this.config.data = outArr this.$refs['orderScrollBoard'].updateRows(outArr) - } - } + } + } } } - - \ No newline at end of file + \ No newline at end of file diff --git a/src/views/databoard/wholePlant/index.vue b/src/views/databoard/wholePlant/index.vue index 822f7e5c..6591c61b 100644 --- a/src/views/databoard/wholePlant/index.vue +++ b/src/views/databoard/wholePlant/index.vue @@ -107,7 +107,7 @@ export default { screenfull.toggle(this.$refs.wholePlantContainerB) }, resetSize() { - let wholePlantContainerBox = document.querySelector('#wholePlantContainer') + let wholePlantContainerBox = document.getElementById('wholePlantContainer') let rw = parseFloat(window.innerWidth) let rh = parseFloat(window.innerHeight) let bw = parseFloat(wholePlantContainerBox.style.width) -- 2.45.2