From 4e48eae2a7c0c654c3005d83824126962e017861 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Mon, 4 Dec 2023 14:14:34 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9ui?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DialogForm/index.vue | 5 +- src/components/Editor/index.vue | 12 +- .../Verifition/Verify/VerifySlide.vue | 1 - src/mixins/lb/basicPageMixin.js | 6 +- src/router/index.js | 2 +- src/views/base/custom/index.vue | 12 +- .../base/packagingPrintLog/add-or-updata.vue | 43 ++- .../packagingPrintModel/add-or-updata.vue | 39 +- src/views/base/packagingPrintModel/index.vue | 9 +- .../base/packagingPrintType/add-or-updata.vue | 40 +- src/views/base/packagingPrintType/index.vue | 5 +- .../AlarmGroup/components/BasicDrawer.vue | 10 +- .../BindGroup/components/BasicDrawer.vue | 6 +- .../equipment/base/config/BindGroup/index.vue | 2 +- .../config/DataCollection/TableConfig.vue | 33 +- .../DataCollection/components/BasicDrawer.vue | 8 +- .../base/inspection/Record/addRecord.vue | 4 +- .../base/inspection/Record/index.vue | 3 +- .../equipment/base/maintain/Monitor/index.vue | 31 +- .../equipment/base/maintain/Record/index.vue | 69 ++-- .../base/repair/CustomDialogForm.vue | 357 +++++++++--------- src/views/equipment/base/repair/index.vue | 40 +- .../processEquValueBom/add-or-updata.vue | 99 +++-- .../qualityInspectionBoxBtn/dialogForm.vue | 72 +--- .../qualityInspectionBoxBtn/index.vue | 2 +- .../base/qualityInspectionDet/index.vue | 2 +- .../base/qualityScrapLog/detail-or-updata.vue | 132 +++---- .../quality/base/qualityScrapLog/index.vue | 2 +- .../base/qualityScrapType/add-or-updata.vue | 13 +- .../quality/monitoring/currentData/index.vue | 4 + .../monitoring/materielDateFrom/index.vue | 10 +- .../monitoring/processTraceability/index.vue | 4 +- .../qualityInspectionRecord/dialogForm.vue | 3 +- .../qualityInspectionRecord/index.vue | 43 ++- .../rawMaterialTraceability/index.vue | 4 +- .../monitoring/statisticalData/index.vue | 2 +- 36 files changed, 591 insertions(+), 538 deletions(-) diff --git a/src/components/DialogForm/index.vue b/src/components/DialogForm/index.vue index c780edba..0c4fcff1 100644 --- a/src/components/DialogForm/index.vue +++ b/src/components/DialogForm/index.vue @@ -142,9 +142,6 @@ function findMaxLabelWidth(rows) { if (!opt.label) return 0; if (opt.label.length > max) { max = opt.label.length; - if (opt.label.includes('(')) { - max = max - 3 - } } }); }); @@ -242,7 +239,7 @@ export default { size: { type: String, default: '', - } + }, }, data() { return { diff --git a/src/components/Editor/index.vue b/src/components/Editor/index.vue index 046e334a..1b0d68c1 100644 --- a/src/components/Editor/index.vue +++ b/src/components/Editor/index.vue @@ -83,7 +83,7 @@ export default { ], }, placeholder: '请输入内容', - // readOnly: false, + readOnly: true, }, }; }, @@ -123,13 +123,11 @@ export default { const editor = this.$refs.editor; this.Quill = new Quill(editor, this.options); // 取消自动聚焦 start - this.Quill?.enable(false); this.$nextTick(() => { - this.Quill?.enable(true); this.Quill?.blur(); - // if (!this.readOnly) { - // this.Quill?.enable(); - // } + if (!this.readOnly) { + this.Quill?.enable(); + } }); // 如果设置了上传地址则自定义图片上传事件 if (this.type === 'url') { @@ -198,7 +196,7 @@ export default { }; - --> + diff --git a/src/views/base/packagingPrintModel/add-or-updata.vue b/src/views/base/packagingPrintModel/add-or-updata.vue index 9e66ebe9..d22f295f 100644 --- a/src/views/base/packagingPrintModel/add-or-updata.vue +++ b/src/views/base/packagingPrintModel/add-or-updata.vue @@ -1,12 +1,12 @@