From df0e97184f2a2c2a23a0aa47be5fde161d2cb913 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Tue, 14 Apr 2026 15:48:12 +0800 Subject: [PATCH] =?UTF-8?q?2026-04-14=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/qc/qcPartAttribute.vue | 310 ++++++++++++++++-- .../yieldReport/com_produce_report_normal.vue | 2 +- 2 files changed, 279 insertions(+), 33 deletions(-) diff --git a/src/views/modules/qc/qcPartAttribute.vue b/src/views/modules/qc/qcPartAttribute.vue index d218c38..3262783 100644 --- a/src/views/modules/qc/qcPartAttribute.vue +++ b/src/views/modules/qc/qcPartAttribute.vue @@ -1361,9 +1361,17 @@ - -
- + + +
+ @@ -1376,45 +1384,89 @@ - - 查询 + + 查询
- - - 可选项目: - - - + +
+ +
+
+ + 可选项目 + ({{ qcSpecItemList1.length }}) +
+ + + - - + + - - -
- 添加>> -
-
- 删除<< +
+ + +
+ + + + + + + + +
+ + +
+
+ + 已有项目 + ({{ qcSpecItemList2.length }})
- - - 已有项目: - - + + - + - - - - 关闭 - +
+
+ + + @@ -2488,7 +2540,7 @@ } } } - + this.batchQcSpecLoading = true let inData = { site: this.partCurrentRow.site, @@ -4465,4 +4517,198 @@ .part-edit-dialog .dialog-content::-webkit-scrollbar-thumb:hover { background: #909399; } + +/* ==================== 检验标准维护配置对话框样式 ==================== */ +/deep/ .config-dialog { + border-radius: 8px; + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12); +} + +/deep/ .config-dialog .el-dialog__header { + background: linear-gradient(135deg, #9ac3d0 20%, #b6c7dd 80%); + padding: 20px 24px; + border-radius: 8px 8px 0 0; +} + +/deep/ .config-dialog .el-dialog__title { + color: #ffffff; + font-size: 18px; + font-weight: 600; +} + +/deep/ .config-dialog .el-dialog__headerbtn .el-dialog__close { + color: #ffffff; + font-size: 20px; + font-weight: bold; +} + +/deep/ .config-dialog .el-dialog__headerbtn .el-dialog__close:hover { + color: #f0f0f0; +} + +/deep/ .config-dialog .el-dialog__body { + padding: 0; + background: #f5f7fa; +} + +/* 查询区域 */ +.search-section { + padding: 16px 24px; + background: #ffffff; + border-bottom: 1px solid #e8e8e8; +} + +.search-section .el-form { + margin-bottom: 0; +} + +.search-section .el-form-item { + margin-bottom: 0; +} + +/* 项目操作容器 */ +.item-operation-content { + display: flex; + gap: 16px; + align-items: stretch; + padding: 16px; +} + +/* 面板样式 */ +.item-panel { + flex: 1; + background: #ffffff; + border-radius: 6px; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); + overflow: hidden; + transition: all 0.3s ease; +} + +.item-panel:hover { + box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); +} + +.available-panel { + flex: 1.5; +} + +.selected-panel { + flex: 1; +} + +/* 面板头部 */ +.panel-header { + padding: 8px 16px; + background: linear-gradient(135deg, #9ac3d0 20%, #b6c7dd 80%); + border-bottom: 2px solid #9ac3d0; + display: flex; + align-items: center; + gap: 8px; +} + +.panel-header i { + font-size: 18px; + color: #ffffff; +} + +.panel-title { + font-size: 15px; + font-weight: 600; + color: #ffffff; + flex: 1; +} + +.item-count { + font-size: 13px; + color: #ffffff; + background: rgba(255, 255, 255, 0.2); + padding: 2px 10px; + border-radius: 12px; + font-weight: 500; +} + +/* 表格样式 */ +.operation-table { + border: none; +} + +/deep/ .operation-table .el-table__body-wrapper { + max-height: 420px; + overflow-y: auto; +} + +/deep/ .operation-table .el-table__row { + cursor: pointer; + transition: background-color 0.2s ease; +} + +/deep/ .operation-table .el-table__row:hover { + background-color: #f0f9ff !important; +} + +/deep/ .operation-table .current-row > td { + background-color: #e6f7ff !important; +} + +/* 操作按钮 */ +.operation-buttons { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + gap: 20px; + padding: 0 8px; +} + +.operation-buttons .el-button { + width: 48px; + height: 48px; + font-size: 20px; + transition: all 0.3s ease; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); +} + +.operation-buttons .el-button:hover { + transform: scale(1.1); + box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); +} + +.operation-buttons .el-button.is-disabled { + opacity: 0.4; + cursor: not-allowed; +} + +.operation-buttons .el-button--primary { + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + border: none; +} + +.operation-buttons .el-button--danger { + background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); + border: none; +} + +/* 底部按钮 */ +.dialog-footer { + text-align: center; + padding: 16px 0 16px 0; +} + +.dialog-footer .el-button { + min-width: 100px; + font-weight: 500; +} + +/* 响应式优化 */ +@media (max-width: 1300px) { + .item-operation-content { + gap: 12px; + } + + .operation-buttons .el-button { + width: 42px; + height: 42px; + font-size: 18px; + } +} diff --git a/src/views/modules/yieldReport/com_produce_report_normal.vue b/src/views/modules/yieldReport/com_produce_report_normal.vue index f9ff191..1507f55 100644 --- a/src/views/modules/yieldReport/com_produce_report_normal.vue +++ b/src/views/modules/yieldReport/com_produce_report_normal.vue @@ -928,7 +928,7 @@ style="margin-top: 0px;"> - 关闭 + 关闭