From 353e3e0f35acc69715523fb3073fd280ba3344f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Thu, 27 Jun 2024 15:47:07 +0800 Subject: [PATCH 01/14] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/copilot/factoryData/hdIndex.vue | 8 ++++---- src/views/copilot/factoryData/index.vue | 12 +++++++----- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/views/copilot/factoryData/hdIndex.vue b/src/views/copilot/factoryData/hdIndex.vue index d4bb788..c308bb6 100644 --- a/src/views/copilot/factoryData/hdIndex.vue +++ b/src/views/copilot/factoryData/hdIndex.vue @@ -134,11 +134,11 @@ export default { if (preData && preData[0] != null) { for (const factory of preData) { if (factory.previousGlassType === 0) { - preDataDetail[1] = factory.previousYearOutputNumber + preDataDetail[1] = factory.previousOutputNumber } else if (factory.previousGlassType === 1) { - preDataDetail[2] = factory.previousYearOutputNumber - } else if (factory.previousYearOutputNumber === 2) { - currentDataDetail[3] = factory.outputNumber + preDataDetail[2] = factory.previousOutputNumber + } else if (factory.previousGlassType === 2) { + preDataDetail[3] = factory.previousOutputNumber } } } diff --git a/src/views/copilot/factoryData/index.vue b/src/views/copilot/factoryData/index.vue index 7a40566..611ccd5 100644 --- a/src/views/copilot/factoryData/index.vue +++ b/src/views/copilot/factoryData/index.vue @@ -132,16 +132,17 @@ export default { // } } } - if (preData && preData[0] != null) { + if (preData) { for (const factory of preData) { if (factory.previousGlassType === 0) { - preDataDetail[1] = factory.previousYearOutputNumber + console.log('factory', factory) + preDataDetail[1] = factory.previousOutputNumber } else if (factory.previousGlassType === 1) { - preDataDetail[2] = factory.previousYearOutputNumber + preDataDetail[2] = factory.previousOutputNumber } } } - if (targetListResponse && targetListResponse[0] != null) { + if (targetListResponse) { for (const factory of targetListResponse) { targetDataDetail[0] = factory.ftoInput // if (factory.previousGlassType === 0) { @@ -153,7 +154,7 @@ export default { } } // console.log('ftoInvest',ftoInvest) - if (factoryListResponse && factoryListResponse[0] != null) { + if (factoryListResponse) { for (const factory of factoryListResponse) { // targetDataDetail[0] = factory.ftoInput if (factory.glassType === 0) { @@ -163,6 +164,7 @@ export default { } } } + console.log(' this.factoryData.preDataDetail', preDataDetail); this.factoryData.preDataDetail = preDataDetail this.factoryData.currentDataDetail = currentDataDetail this.factoryData.targetDataDetail = targetDataDetail From d27e56cd7fb64c503de8aa81bc9a639c1734ca24 Mon Sep 17 00:00:00 2001 From: juzi <819872918@qq.com> Date: Thu, 27 Jun 2024 16:55:47 +0800 Subject: [PATCH 02/14] =?UTF-8?q?=E6=8A=A5=E8=A1=A8=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../completionStatusIntrBM/components/bmBarComplete.vue | 9 ++++++++- src/views/report/components/bmLineBar.vue | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/report/completionStatusIntrBM/components/bmBarComplete.vue b/src/views/report/completionStatusIntrBM/components/bmBarComplete.vue index 460d48a..535636e 100644 --- a/src/views/report/completionStatusIntrBM/components/bmBarComplete.vue +++ b/src/views/report/completionStatusIntrBM/components/bmBarComplete.vue @@ -30,7 +30,14 @@
-
+
" + `${ params[i].seriesType === "line" - ? '' + ? '' : `` }` + `${params[i].seriesName}` + From fc21359f8f7d1508c7364427e70a252b566c6416 Mon Sep 17 00:00:00 2001 From: juzi <819872918@qq.com> Date: Fri, 28 Jun 2024 11:09:02 +0800 Subject: [PATCH 03/14] =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/menu/index.vue | 17 +-- src/views/system/operatelog/index.vue | 2 +- src/views/system/user/index.vue | 192 +++++++++++++++----------- 3 files changed, 119 insertions(+), 92 deletions(-) diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue index f629800..9fdefa6 100644 --- a/src/views/system/menu/index.vue +++ b/src/views/system/menu/index.vue @@ -137,7 +137,7 @@ - + @@ -205,6 +205,7 @@ v-model="form.sort" controls-position="right" :min="0" + style="width: 100%" /> @@ -331,8 +332,8 @@
@@ -437,6 +438,12 @@ export default { }, ], tableBtn: [ + this.$auth.hasPermi("system:menu:create") + ? { + type: "add", + btnName: "新增", + } + : undefined, this.$auth.hasPermi("system:menu:update") ? { type: "edit", @@ -449,12 +456,6 @@ export default { btnName: "删除", } : undefined, - this.$auth.hasPermi("system:menu:create") - ? { - type: "add", - btnName: "新增", - } - : undefined, ].filter((v) => v), tableProps, heightNum: 210, diff --git a/src/views/system/operatelog/index.vue b/src/views/system/operatelog/index.vue index 127073a..719e9a5 100644 --- a/src/views/system/operatelog/index.vue +++ b/src/views/system/operatelog/index.vue @@ -83,7 +83,7 @@ {{ parseTime(form.startTime) }} | {{ form.duration }} ms - +
正常 | {{ form.resultData }} diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 27feab5..35261d7 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -1,5 +1,5 @@