From caf41c9a1aa56697a0bb96a63aaac847f51448dd Mon Sep 17 00:00:00 2001 From: wangchengming <15110151257@163.com> Date: Mon, 4 Aug 2025 13:45:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ppeTool.js | 9 +++++++++ src/layout/components/Navbar.vue | 14 ++++++++++--- .../components/libaryDetail.vue | 16 +++++++++++++-- .../databaseLibary/components/libaryForm.vue | 20 ++++++++++--------- src/views/ppeTool/index.vue | 19 +++++++++++++++--- .../escTask/components/LableApplyForm.vue | 11 +++++++--- .../escTask/components/LableReApplyForm.vue | 14 +++++++++++-- .../components/LableApplyForm.vue | 9 +++++++-- .../components/LableReApplyForm.vue | 14 +++++++++++-- .../safetyReview/examinerEscTask/index.vue | 12 +++++++++-- 10 files changed, 110 insertions(+), 28 deletions(-) diff --git a/src/api/ppeTool.js b/src/api/ppeTool.js index 3ffd79e..3dc8c57 100644 --- a/src/api/ppeTool.js +++ b/src/api/ppeTool.js @@ -39,4 +39,13 @@ export function deleteBusPpeTools(ppeId) { url: '/admin/busPpeTools/deleteBusPpeTools/' + ppeId, method: 'post' }) +} + +// 公用下载文件接口 +export function downFile(fileName) { + return request({ + url: '/common/download?fileName='+ encodeURIComponent(fileName), + method: 'get', + responseType: 'blob' + }) } \ No newline at end of file diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 0261285..831f10c 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -161,7 +161,7 @@ onBeforeUnmount(() => { // 判断是否跳转 const isLink = (msgType) => { - return [10, 20, 30, 40, 50].includes(msgType) + return [10, 20, 22, 30, 32, 40, 42, 50].includes(msgType) } @@ -278,10 +278,16 @@ const handleOpenLink = (messageId, msgType) => { if (msgType == 10) router.push('/system/userApproval') // 资质申请审核 esc if (msgType == 20) router.push('/qualification/qualificationEscApproval') + // 资质申请审核 培训中心 + if (msgType == 22) router.push('/qualification/trainApproval') // 标签申请审核 esc if (msgType == 30) router.push('/labelManage/escApproval') + // 标签申请审核 标签审核员 + if (msgType == 32) router.push('/labelManage/adminApproval') // 高压安全审查整改提醒 esc if (msgType == 40) router.push('/safetyReview/examinerEscTask') + // 高压安全审查审批 安全审查员 + if (msgType == 42) router.push('/safetyReview/examinerApproval') // 工具过期 esc if (msgType == 50) router.push('/ppeTool') closeMessage() @@ -543,12 +549,12 @@ function toggleTheme() { } :deep(.el-dialog__body) { - max-height: 760px !important; + // max-height: 760px !important; padding: 0 !important; color: var(--el-text-color-regular); font-size: var(--el-dialog-content-font-size); word-break: break-all; - overflow-y: auto; + // overflow-y: auto; } .cursor-pointer { @@ -575,6 +581,8 @@ function toggleTheme() { list-style: none; padding: 0px !important; margin: 6px 0px; + max-height: 710px; + overflow-y: auto; } .message-item { diff --git a/src/views/databaseLibary/components/libaryDetail.vue b/src/views/databaseLibary/components/libaryDetail.vue index c54cf90..4d90548 100644 --- a/src/views/databaseLibary/components/libaryDetail.vue +++ b/src/views/databaseLibary/components/libaryDetail.vue @@ -33,7 +33,7 @@
相关文档