From 593c9f7d601daf0960b90af7f455822d85e70bda Mon Sep 17 00:00:00 2001 From: lb Date: Wed, 10 Jan 2024 11:27:04 +0800 Subject: [PATCH 1/5] bugfix 240110qun --- .env.dev | 5 +- src/mixins/lb/basicPageMixin.js | 2 +- .../base/coreEquipmentLineBind/dialogForm.vue | 270 ++++++++++++++++++ .../base/coreEquipmentLineBind/index.vue | 51 +++- .../base/equipmentBindSection/dialogForm.vue | 16 +- 5 files changed, 326 insertions(+), 18 deletions(-) create mode 100644 src/views/base/coreEquipmentLineBind/dialogForm.vue diff --git a/.env.dev b/.env.dev index 14470802..849a6ec5 100644 --- a/.env.dev +++ b/.env.dev @@ -13,15 +13,16 @@ VUE_APP_TITLE = MES系统 # 芋道管理系统/开发环境 # VUE_APP_BASE_API = 'http://100.64.0.26:48082' -VUE_APP_BASE_API = 'http://10.70.2.2:8080' +# VUE_APP_BASE_API = 'http://10.70.2.2:8080' # VUE_APP_BASE_API = 'http://192.168.4.173:48080' # VUE_APP_BASE_API = 'http://192.168.2.173:48080' # VUE_APP_BASE_API = 'http://192.168.1.49:48082' # VUE_APP_BASE_API = 'http://192.168.1.8:48082' # VUE_APP_BASE_API = 'http://192.168.4.159:48080' # VUE_APP_BASE_API = 'http://192.168.1.104:48082' +# VUE_APP_BASE_API = 'http://192.168.0.33:48082' # VUE_APP_BASE_API = 'http://192.168.1.62:48082' -# VUE_APP_BASE_API = 'http://192.168.1.78:48082' +VUE_APP_BASE_API = 'http://192.168.1.78:48082' # 积木报表指向地址 VUE_APP_JIMU_API = 'http://10.70.2.22:8080' diff --git a/src/mixins/lb/basicPageMixin.js b/src/mixins/lb/basicPageMixin.js index 657d261e..3fe2557f 100644 --- a/src/mixins/lb/basicPageMixin.js +++ b/src/mixins/lb/basicPageMixin.js @@ -62,7 +62,7 @@ export default { url, method, params: (method === 'get' || method === 'delete') ? payload : null, - data: method !== 'get' ? payload : null, + data: (method === 'get' || method === 'delete') ? null : payload }) }, put(payload) { diff --git a/src/views/base/coreEquipmentLineBind/dialogForm.vue b/src/views/base/coreEquipmentLineBind/dialogForm.vue new file mode 100644 index 00000000..51cef59a --- /dev/null +++ b/src/views/base/coreEquipmentLineBind/dialogForm.vue @@ -0,0 +1,270 @@ + + + + + + + diff --git a/src/views/base/coreEquipmentLineBind/index.vue b/src/views/base/coreEquipmentLineBind/index.vue index c0874798..608a7022 100644 --- a/src/views/base/coreEquipmentLineBind/index.vue +++ b/src/views/base/coreEquipmentLineBind/index.vue @@ -50,12 +50,13 @@ - + diff --git a/src/views/databoard/components/GasChart.vue b/src/views/databoard/components/GasChart.vue index 4971e1be..4c385b2f 100644 --- a/src/views/databoard/components/GasChart.vue +++ b/src/views/databoard/components/GasChart.vue @@ -1,22 +1,19 @@ - - + + diff --git a/src/views/databoard/components/NumRateChart.vue b/src/views/databoard/components/NumRateChart.vue index f18000bf..77b74890 100644 --- a/src/views/databoard/components/NumRateChart.vue +++ b/src/views/databoard/components/NumRateChart.vue @@ -1,15 +1,21 @@ \ No newline at end of file diff --git a/src/views/databoard/deepProcessing/NumRate.vue b/src/views/databoard/deepProcessing/NumRate.vue index 7718f79b..ce0f7282 100644 --- a/src/views/databoard/deepProcessing/NumRate.vue +++ b/src/views/databoard/deepProcessing/NumRate.vue @@ -1,11 +1,9 @@ + \ No newline at end of file diff --git a/src/views/databoard/kiln/EnergeTop.vue b/src/views/databoard/kiln/EnergeTop.vue index 53d2264e..d2036f27 100644 --- a/src/views/databoard/kiln/EnergeTop.vue +++ b/src/views/databoard/kiln/EnergeTop.vue @@ -11,14 +11,14 @@ style=" flex: 1; display: grid; - grid-template-columns: 1fr 1fr 1fr; + grid-template-columns: 2fr 3fr 3fr; grid-template-rows: auto; gap: 8px; padding: 4px; margin-bottom: 6px; "> + style="grid-row: 1/3 ; flex-direction: column; justify-content: center"> {{energyInfo.elecQty1}}kwh @@ -51,7 +52,7 @@ ">

水耗量

- {{energyInfo.waterQty}}m³ + {{energyInfo.waterQty}}m³
@@ -66,7 +67,7 @@ ">

天然气I

- {{sumGasInfo.sumGas1Now}} + {{sumGasInfo.sumGas1Now}}
@@ -81,7 +82,7 @@ ">

电耗量

- {{energyInfo.elecQty2}}kwh + {{energyInfo.elecQty2}}kwh
@@ -96,7 +97,7 @@ ">

天然气II

- {{sumGasInfo.sumGas2Now}} + {{sumGasInfo.sumGas2Now}}
diff --git a/src/views/databoard/kiln/GasHandle.vue b/src/views/databoard/kiln/GasHandle.vue index de22e167..6eceaded 100644 --- a/src/views/databoard/kiln/GasHandle.vue +++ b/src/views/databoard/kiln/GasHandle.vue @@ -99,7 +99,7 @@
- +
@@ -112,7 +112,7 @@ import ShadowRect from '../components/ShadowRect.vue'; import KilnLine from '../components/line'; // import Switcher from '../components/Switcher'; import SelectorBtnGroup from '../components/SelectorBtnGroup'; -import FlueGas from '../components/FlueGas'; +import FlueGasChart from '../components/FlueGasChart'; export default { name: 'GasHandle', @@ -121,7 +121,7 @@ export default { ShadowRect, KilnLine, SelectorBtnGroup, - FlueGas, + FlueGasChart, }, props: {}, data() { diff --git a/src/views/databoard/wholePlant/DefectClass.vue b/src/views/databoard/wholePlant/DefectClass.vue index 28546c7f..dd705f31 100644 --- a/src/views/databoard/wholePlant/DefectClass.vue +++ b/src/views/databoard/wholePlant/DefectClass.vue @@ -1,12 +1,10 @@ \ No newline at end of file + + \ No newline at end of file diff --git a/src/views/databoard/wholePlant/YieldRate.vue b/src/views/databoard/wholePlant/YieldRate.vue index a4a4d2bb..b0d23bab 100644 --- a/src/views/databoard/wholePlant/YieldRate.vue +++ b/src/views/databoard/wholePlant/YieldRate.vue @@ -1,6 +1,5 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/views/databoard/kiln/GasHandle.vue b/src/views/databoard/kiln/GasHandle.vue index 6eceaded..6937de1b 100644 --- a/src/views/databoard/kiln/GasHandle.vue +++ b/src/views/databoard/kiln/GasHandle.vue @@ -16,7 +16,7 @@ style=" font-size: 20px; line-height: 1.24; - flex: 1.2; + flex: 1; text-align: right; padding-right: 8px; letter-spacing: 3px; @@ -30,12 +30,12 @@ style=" font-size: 20px; line-height: 1.5; - flex: 1.2; + flex: 1; text-align: right; padding-right: 8px; letter-spacing: 3px; "> -

一氧化氮

+

氮氧化物

排放浓度

{{exhaustGasInfo?.NOX_float ? (Number(exhaustGasInfo.NOX_float)).toFixed(2) : ''}}mg/m³ @@ -46,7 +46,7 @@ style=" font-size: 20px; line-height: 1.5; - flex: 1.2; + flex: 1; text-align: right; padding-right: 8px; letter-spacing: 3px; @@ -62,7 +62,7 @@ style=" font-size: 20px; line-height: 1.24; - flex: 1.2; + flex: 1; text-align: right; padding-right: 8px; letter-spacing: 1px; @@ -95,7 +95,7 @@ justify-content: space-between; "> + :options="['氧气含量', '二氧化硫', '氮氧化物', '颗粒物']" @emitFun='toggleType' :active='chartType'/>
diff --git a/src/views/databoard/wholePlant/OrderStatus.vue b/src/views/databoard/wholePlant/OrderStatus.vue index f2c64752..e2ef9be3 100644 --- a/src/views/databoard/wholePlant/OrderStatus.vue +++ b/src/views/databoard/wholePlant/OrderStatus.vue @@ -22,12 +22,10 @@ export default { return { config: { header: ['上线时间', '客户名称', '规格','完成度'], - // headerHeight: '17', 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], - align: ['center'], data: [], rowNum: 6 } diff --git a/src/views/databoard/wholePlant/YieldRate.vue b/src/views/databoard/wholePlant/YieldRate.vue index b0d23bab..521e5875 100644 --- a/src/views/databoard/wholePlant/YieldRate.vue +++ b/src/views/databoard/wholePlant/YieldRate.vue @@ -51,7 +51,6 @@ export default { oddRowBGC: 'rgba(32, 55, 96, 0.8)', evenRowBGC: 'rgba(14, 32, 62, 0.8)', columnWidth: [60], - align: ['center'], data: [], rowNum: 5 },