From b5be19258f5fc579527d2629d0ba8affbdea6a8d Mon Sep 17 00:00:00 2001 From: Yangwl <1726150332@qq.com> Date: Wed, 16 Jul 2025 16:15:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E5=B7=A5=E5=A2=9E=E5=8A=A0=E6=89=B9?= =?UTF-8?q?=E6=AC=A1=E6=9F=A5=E8=AF=A2=EF=BC=8C=E6=9C=88=E5=BA=A6=E6=8A=A5?= =?UTF-8?q?=E8=A1=A8=E4=BC=98=E5=8C=96=E7=B1=BB=E5=88=AB=E9=A1=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Yangwl <1726150332@qq.com> --- src/views/kanban/quality/kanban1.vue | 29 +++++----------------- src/views/mes/monthProductionSut/index.vue | 24 +++++++++++++++--- src/views/mes/reportWork/index.vue | 5 ++++ 3 files changed, 31 insertions(+), 27 deletions(-) diff --git a/src/views/kanban/quality/kanban1.vue b/src/views/kanban/quality/kanban1.vue index 3437a80..2754b88 100644 --- a/src/views/kanban/quality/kanban1.vue +++ b/src/views/kanban/quality/kanban1.vue @@ -181,7 +181,7 @@
-
+
不良类型占比
导出 - - + + + + + @@ -79,20 +82,32 @@ export default { legendData: [], seriesData: [], legendDatas: [], - seriesDatas: [] + seriesDatas: [], + columns: [ + { key: 0, label: `类别`, visible: false }, + ], }; }, - created() { + }, + watch: { + 'columns[0].visible'(newVal) { + this.$nextTick(() => { + this.$refs.table?.doLayout() + }) + } }, mounted() { // Set current month initially const currentMonth = new Date().toISOString().substr(0, 7); this.queryParams.monthValue = currentMonth; this.getList(); + }, + methods: { + pad(number) { return number.toString().padStart(2, '0'); }, @@ -375,6 +390,7 @@ export default {