From f9efe05d6427bc0ab8fbb07997ef4bbeb7966448 Mon Sep 17 00:00:00 2001 From: yinq Date: Mon, 14 Jul 2025 14:47:40 +0800 Subject: [PATCH] =?UTF-8?q?update=20-=202025=E6=8A=A5=E8=A1=A8=E9=9C=80?= =?UTF-8?q?=E6=B1=82=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../base/stationDefectRelation/index.vue | 45 ++++++++++++++++++- src/views/report/codeBandingReport/index.vue | 8 ++++ .../report/electricalInspection/index.vue | 8 ++++ src/views/report/highFault/index.vue | 11 ++++- .../index.vue | 30 +++++++++---- 5 files changed, 91 insertions(+), 11 deletions(-) diff --git a/src/views/base/stationDefectRelation/index.vue b/src/views/base/stationDefectRelation/index.vue index 1d3f48f..cb652ac 100644 --- a/src/views/base/stationDefectRelation/index.vue +++ b/src/views/base/stationDefectRelation/index.vue @@ -24,7 +24,7 @@ plain icon="el-icon-plus" size="mini" - @click="handleAdd" + @click="handleBatchAdd" v-hasPermi="['base:stationDefectRelation:add']" >新增 @@ -186,6 +186,36 @@ 取 消 + + + + + + + + + + + + + + + + + @@ -217,6 +247,7 @@ export default { title: "", // 是否显示弹出层 open: false, + batchOpen: false, // 查询参数 queryParams: { pageNum: 1, @@ -230,7 +261,8 @@ export default { createdBy: null, createdTime: null, updatedBy: null, - updatedTime: null + updatedTime: null, + defectCodeList: [], }, // 表单参数 form: {}, @@ -278,6 +310,7 @@ export default { // 取消按钮 cancel() { this.open = false; + this.batchOpen = false; this.reset(); }, // 表单重置 @@ -320,6 +353,12 @@ export default { this.open = true; this.title = "添加质检工位/缺陷维护"; }, + handleBatchAdd() { + this.reset(); + this.form.stationCode = this.queryParams.stationCode; + this.batchOpen = true; + this.title = "添加质检工位/缺陷维护"; + }, /** 修改按钮操作 */ handleUpdate(row) { this.reset(); @@ -338,12 +377,14 @@ export default { updateStationDefectRelation(this.form).then(response => { this.$modal.msgSuccess("修改成功"); this.open = false; + this.batchOpen = false; this.getList(); }); } else { addStationDefectRelation(this.form).then(response => { this.$modal.msgSuccess("新增成功"); this.open = false; + this.batchOpen = false; this.getList(); }); } diff --git a/src/views/report/codeBandingReport/index.vue b/src/views/report/codeBandingReport/index.vue index 44caa42..43b8c9d 100644 --- a/src/views/report/codeBandingReport/index.vue +++ b/src/views/report/codeBandingReport/index.vue @@ -43,6 +43,14 @@ @keyup.enter.native="handleQuery" /> + + + + + + + + + { //分页查询 this.total = response?.total || 0 diff --git a/src/views/report/qualityDefectsStatisticalAnalysisReport/index.vue b/src/views/report/qualityDefectsStatisticalAnalysisReport/index.vue index 52f20c8..def498c 100644 --- a/src/views/report/qualityDefectsStatisticalAnalysisReport/index.vue +++ b/src/views/report/qualityDefectsStatisticalAnalysisReport/index.vue @@ -82,6 +82,7 @@ +