From 30e02139cf7df891ed054c27c073a236fc6a8416 Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Mon, 20 May 2024 11:43:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/huizhou.ts | 5 +++ src/components/TreeFilter/index.scss | 10 +++++- src/layouts/LayoutClassic/index.vue | 4 +-- .../components/transformInfo.vue | 16 ++++++++- .../qualityControl/index.vue | 34 +++++++++++++++++++ .../components/transformInfo.vue | 16 ++++++++- .../safetyManagement/index.vue | 33 ++++++++++++++++++ 7 files changed, 113 insertions(+), 5 deletions(-) diff --git a/src/api/modules/huizhou.ts b/src/api/modules/huizhou.ts index 32b5034..f5009b7 100644 --- a/src/api/modules/huizhou.ts +++ b/src/api/modules/huizhou.ts @@ -458,3 +458,8 @@ export const getProjectInfo = (params: any) => { export const downModel = (params: any) => { return http.post(`/xmgl/governmentConfig/queryById`, params); }; + +// 质量、安全导出功能 +export const exportXlsApi = (params: any) => { + return http.post(`/gov/inspectRecord/exportXls`, params, { responseType: "blob" }); +}; diff --git a/src/components/TreeFilter/index.scss b/src/components/TreeFilter/index.scss index 7bf9689..182289b 100644 --- a/src/components/TreeFilter/index.scss +++ b/src/components/TreeFilter/index.scss @@ -28,12 +28,20 @@ // height: 80%; overflow: auto; background-color: transparent; - color: #c4c4c4; .el-tree-node__content { + color: #ffffff; height: auto; margin-bottom: 5px; } .el-tree-node__content:hover { + background: #09405f; + color: #ffffff; + font-size: 20px; + } + .el-tree-node__children .el-tree-node__content { + color: #c4c4c4; + } + .el-tree-node__children .el-tree-node__content:hover { background: #09405f; color: #0bc4f0; font-size: 20px; diff --git a/src/layouts/LayoutClassic/index.vue b/src/layouts/LayoutClassic/index.vue index f0728f9..82252c4 100644 --- a/src/layouts/LayoutClassic/index.vue +++ b/src/layouts/LayoutClassic/index.vue @@ -238,14 +238,14 @@ onMounted(async () => {}); } td.el-table__cell { background-color: transparent !important; - border-bottom: 0 !important; + // border-bottom: 0 !important; color: var(--el-menu-text-color); font-size: 20px !important; border-right: 2px solid #252526; } th.el-table__cell { background-color: transparent; - border-bottom: 0 !important; + // border-bottom: 0 !important; border-right: 2px solid #252526; } .el-table__inner-wrapper::before { diff --git a/src/views/goverment/huizhou/projectMonitoring/qualityControl/components/transformInfo.vue b/src/views/goverment/huizhou/projectMonitoring/qualityControl/components/transformInfo.vue index d61195f..b99d92a 100644 --- a/src/views/goverment/huizhou/projectMonitoring/qualityControl/components/transformInfo.vue +++ b/src/views/goverment/huizhou/projectMonitoring/qualityControl/components/transformInfo.vue @@ -1,10 +1,13 @@