From b134a2df0072b5d1d9d65a3531d486a61f9f1f18 Mon Sep 17 00:00:00 2001 From: "wangmingyong@163.com" Date: Mon, 16 Nov 2026 15:37:04 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A3=8E=E9=99=A9=E4=BF=A1=E7=94=A8=E9=A2=84?= =?UTF-8?q?=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../risk-credit/components/CreditPane.vue | 815 ++++++++++++++++++ .../supervision_warning/risk-credit/index.vue | 749 +--------------- 2 files changed, 834 insertions(+), 730 deletions(-) create mode 100644 zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/supervision_warning/risk-credit/components/CreditPane.vue diff --git a/zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/supervision_warning/risk-credit/components/CreditPane.vue b/zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/supervision_warning/risk-credit/components/CreditPane.vue new file mode 100644 index 00000000..3903c9c5 --- /dev/null +++ b/zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/supervision_warning/risk-credit/components/CreditPane.vue @@ -0,0 +1,815 @@ + + + + + diff --git a/zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/supervision_warning/risk-credit/index.vue b/zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/supervision_warning/risk-credit/index.vue index 5c0d7ac8..465d32d2 100644 --- a/zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/supervision_warning/risk-credit/index.vue +++ b/zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/supervision_warning/risk-credit/index.vue @@ -1,534 +1,28 @@ @@ -536,216 +30,11 @@ onUnmounted(() => { .app-container { padding: 16px; box-sizing: border-box; - background: #f0f2f5; min-height: calc(100vh - 84px); } -/* ==================== 预警卡片 ==================== */ -.warning-cards { - display: flex; - gap: 12px; - margin-bottom: 16px; -} - -.warning-card { - flex: 1; - min-width: 0; - background: #fff; - border: 1px solid #e4e7ed; - border-radius: 4px; - padding: 14px 16px; - box-sizing: border-box; - - .card-title { - font-size: 13px; - font-weight: 600; - color: #333; - line-height: 1.5; - } - - .card-count { - margin-top: 6px; - line-height: 1.2; - - .count-num { - font-size: 22px; - font-weight: 700; - } - - .count-unit { - margin-left: 2px; - font-size: 13px; - font-weight: 600; - } - } - - .card-desc { - margin-top: 6px; - font-size: 12px; - color: #909399; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - } -} - -/* ==================== 搜索区域 ==================== */ -.search-panel { - background: #fff; - border: 1px solid #e4e7ed; - border-radius: 4px; - padding: 18px 20px 0; - margin-bottom: 16px; - - :deep(.el-form-item__label) { - font-weight: 600; - color: #333; - } - - .search-input { - width: 180px; - } - - .search-select { - width: 160px; - } - - .year-select { - width: 120px; - } -} - -/* ==================== 表格区域 ==================== */ -.table-panel { - background: #fff; - border: 1px solid #e4e7ed; - border-radius: 4px; - padding: 16px 20px; - box-sizing: border-box; -} - -.credit-tag { - display: inline-block; - min-width: 30px; - padding: 2px 8px; - border-radius: 4px; - font-size: 12px; - font-weight: 600; - line-height: 1.4; -} - -.type-tag { - display: inline-block; - padding: 2px 10px; - border-radius: 4px; - font-size: 12px; - line-height: 1.5; -} - -.level-dot { - display: inline-block; - width: 8px; - height: 8px; - margin-right: 6px; - border-radius: 50%; - vertical-align: middle; -} - -.mt-4 { - margin-top: 16px; - justify-content: flex-end; -} - -/* ==================== 详情弹窗 ==================== */ -.detail-header { - .detail-title { - font-size: 16px; - font-weight: 600; - color: #303133; - line-height: 1.4; - } - - .detail-code { - margin-top: 4px; - font-size: 12px; - font-weight: 400; - color: #909399; - } -} - -.detail-body { - padding-top: 4px; -} - -.warn-banner { - padding: 12px 16px; - background: #fef0f0; - border-radius: 4px; - - .warn-title { - font-size: 13px; - font-weight: 600; - color: #f56c6c; - line-height: 1.5; - } - - .warn-desc { - margin-top: 4px; - font-size: 12px; - color: #f56c6c; - line-height: 1.5; - } - - &.under { - background: #fdf6ec; - - .warn-title, - .warn-desc { - color: #e6a23c; - } - } -} - -.section-title { - display: flex; - align-items: center; - margin: 20px 0 12px; - font-size: 14px; - font-weight: 600; - color: #303133; - - &::before { - content: ''; - width: 4px; - height: 14px; - margin-right: 8px; - background: #2f7df6; - border-radius: 2px; - } -} - -.info-grid { - display: grid; - grid-template-columns: 1fr 1fr; - gap: 16px 24px; - - .info-label { - font-size: 12px; - color: #909399; - line-height: 1.5; - } - - .info-value { - margin-top: 4px; - font-size: 14px; - font-weight: 600; - color: #303133; - line-height: 1.5; - } -} - -.detail-chart { - width: 100%; - height: 180px; +/* 卡片式页签(与 efcode/report/registration/index.vue、inspection-registration/index.vue 保持一致) */ +:deep(.el-tabs--border-card) { + box-shadow: none; }