From f8829ec3b7df1dc11b6c92a2fdda28235d170f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Fri, 22 Mar 2024 14:17:57 +0800 Subject: [PATCH 01/11] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 2 +- .../monitoring/equipmentTraceability/index.vue | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.env.dev b/.env.dev index 2f3ffe42..d63d091f 100644 --- a/.env.dev +++ b/.env.dev @@ -1,7 +1,7 @@ ### # @Author: Do not edit # @Date: 2023-08-29 09:40:39 - # @LastEditTime: 2024-03-21 14:45:52 + # @LastEditTime: 2024-03-22 10:57:53 # @LastEditors: zhp # @Description: ### diff --git a/src/views/quality/monitoring/equipmentTraceability/index.vue b/src/views/quality/monitoring/equipmentTraceability/index.vue index fa7b95f1..3d0e7a3f 100644 --- a/src/views/quality/monitoring/equipmentTraceability/index.vue +++ b/src/views/quality/monitoring/equipmentTraceability/index.vue @@ -244,7 +244,7 @@ export default { rangeSeparator: '-', startPlaceholder: '开始时间', endPlaceholder: '结束时间', - param: 'timerange', + param: 'recordTime', }, // { // parent: 'dateFilterType', @@ -270,6 +270,7 @@ export default { btnName: '导出', name: 'export', color: 'warning', + }, // { // type: 'separate', @@ -381,7 +382,7 @@ export default { }, /** 查询列表 */ async getList() { - this.loading = true; + this.loading = true const { code, data } = await this.$axios({ url: '/analysis/equipment-analysis/efficiency', method: 'get', @@ -402,14 +403,14 @@ export default { if (btnName == 'search') { this.queryParams.workOrderId = payload.workOrderId || null; // this.queryParams.lineId = payload.lineId || null; - if (0 == payload.dateFilterType) { - this.queryParams.recordTime = payload.timerange; - } else if (1 == payload.dateFilterType) { + // if (0 == payload.dateFilterType) { + this.queryParams.recordTime = payload.recordTime; + // } else if (1 == payload.dateFilterType) { this.queryParams.recordTime = [ - `${payload.timeday} 00:00:00`, - `${payload.timeday} 23:59:59`, + payload.recordTime[0], + payload.recordTime[1], ]; - } + // } } else { this.handleExport() this.queryParams.recordTime = null; From 35bd7ab57ecd444e89a745af8523ab037ff15a64 Mon Sep 17 00:00:00 2001 From: zwq Date: Fri, 22 Mar 2024 16:23:08 +0800 Subject: [PATCH 02/11] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=88=90=E6=9C=ACbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/cost/rawMaterialConfig/index.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/cost/rawMaterialConfig/index.vue b/src/views/cost/rawMaterialConfig/index.vue index 2b1b33ae..abcc797b 100644 --- a/src/views/cost/rawMaterialConfig/index.vue +++ b/src/views/cost/rawMaterialConfig/index.vue @@ -79,10 +79,9 @@ const tableProps = [ align: 'right', }, { - prop: 'enabledTime', + prop: 'time', label: '生效时间', - filter: parseTime, - width: 150, + width: 235, }, { prop: 'remark', From ba2aa7b1b8e03e45ac071141ba30b453591148f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Fri, 22 Mar 2024 16:45:17 +0800 Subject: [PATCH 03/11] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/linearBarChart.vue | 23 ++++++++++--------- .../OperationalOverview/processingBoard.vue | 2 +- .../base/qualityScrapLog/add-or-updata.vue | 4 ++-- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/src/views/OperationalOverview/components/linearBarChart.vue b/src/views/OperationalOverview/components/linearBarChart.vue index f166f979..abcd3892 100644 --- a/src/views/OperationalOverview/components/linearBarChart.vue +++ b/src/views/OperationalOverview/components/linearBarChart.vue @@ -1,6 +1,6 @@ @@ -19,7 +19,7 @@ export default { }, className: { type: String, - default: 'chart' + default: 'enChart' }, width: { type: String, @@ -84,7 +84,7 @@ export default { }, methods: { initChart(nameList, dataList) { - console.log('1111', dataList); + // console.log('1111', dataList); // console.log(1) this.chart = echarts.init(document.getElementById(this.id)) // if (dataList.length !== 0) { @@ -123,13 +123,7 @@ export default { type: 'shadow' // 默认为直线,可选为:'line' | 'shadow' } }, - grid: { - top: 30, - left: '2%', - right: '2%', - bottom: '3%', - containLabel: true - }, + grid: { top: 90, right: 60, bottom: 20, left: 90 }, // legend: { // itemWidth: 10, // itemHeight: 10, @@ -205,4 +199,11 @@ export default { } } - + diff --git a/src/views/OperationalOverview/processingBoard.vue b/src/views/OperationalOverview/processingBoard.vue index dcf702b4..22366bf1 100644 --- a/src/views/OperationalOverview/processingBoard.vue +++ b/src/views/OperationalOverview/processingBoard.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2021-07-19 15:18:30 * @LastEditors: zhp - * @LastEditTime: 2024-03-21 16:07:39 + * @LastEditTime: 2024-03-22 16:40:46 * @Description: -->