From 8b5c2a441296bbfb7c9bbfc57c76bc9eddf79b55 Mon Sep 17 00:00:00 2001 From: "MY-SH\\lenovo" <1312913002@qq.com> Date: Thu, 18 Jan 2024 15:09:45 +0800 Subject: [PATCH] p --- .../src/layout/components/Sidebar/Logo.vue | 5 ++--- .../src/views/ehs/ehsHiddenDanger/index.vue | 5 +++++ ruoyi-ui/src/views/login.vue | 18 +++++++++--------- 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/ruoyi-ui/src/layout/components/Sidebar/Logo.vue b/ruoyi-ui/src/layout/components/Sidebar/Logo.vue index fcdfb55..4d3c05d 100644 --- a/ruoyi-ui/src/layout/components/Sidebar/Logo.vue +++ b/ruoyi-ui/src/layout/components/Sidebar/Logo.vue @@ -43,9 +43,8 @@ export default { } }, created() { - eventBus.$on('toLogo', (route) => { - this.navTitle = route.meta.title; - console.log(this.navTitle,'kkkkkkkkk'); + eventBus.$on('toLogo', (route,str) => { + this.navTitle = str || route.meta.title; }); }, } diff --git a/ruoyi-ui/src/views/ehs/ehsHiddenDanger/index.vue b/ruoyi-ui/src/views/ehs/ehsHiddenDanger/index.vue index 5887397..aa0ccdb 100644 --- a/ruoyi-ui/src/views/ehs/ehsHiddenDanger/index.vue +++ b/ruoyi-ui/src/views/ehs/ehsHiddenDanger/index.vue @@ -681,6 +681,7 @@ import { listEhsHiddenDanger, getEhsHiddenDanger, delEhsHiddenDanger, addEhsHidd import {listAllDept } from "@/api/system/dept"; import enterpriseSelect from "./enterpriseSelect" import importUpload from "@/components/upload/upload"; +import { eventBus } from '@/main.js'; export default { name: "EhsHiddenDanger", dicts: ['hidden_danger_type', 'hidden_danger_grade', 'hidden_danger_label', 'enterprise_type','enterprise_scale', @@ -831,6 +832,7 @@ export default { }; }, created() { + eventBus.$emit('toLogo', this.$route,'安全生产隐患管理'); this.queryParams.overTime = this.$route.query.overTime; this.getList(); this.$route.query.overTime = null; @@ -839,6 +841,9 @@ export default { console.log(this.$route.query.overTime); }, + beforeDestroy() { + eventBus.$emit('toLogo', this.$router,''); + }, methods: { /** 查询隐患信息列表 */ getList() { diff --git a/ruoyi-ui/src/views/login.vue b/ruoyi-ui/src/views/login.vue index 1a53723..93b8812 100644 --- a/ruoyi-ui/src/views/login.vue +++ b/ruoyi-ui/src/views/login.vue @@ -19,8 +19,8 @@ - + @@ -272,6 +272,7 @@ export default { background: #ffffff; width: 400px; padding: 25px 25px 5px 25px; + z-index: 9999; .el-input { height: 38px; input { @@ -299,7 +300,7 @@ export default { } } .el-login-footer { - height: 30%; + height: 36%; line-height: 40px; position: fixed; bottom: 0; @@ -335,9 +336,7 @@ export default { align-items: center; flex: 1; img { - // object-fit: none; - width: 50px; - height: 50px; + height: 60px; margin-right: 15px; } @@ -349,7 +348,8 @@ export default { .leftBox { .pChina { display: table-row; - font-size: 40px; + font-size: 45px; + font-weight: bolder; } .pEnglish { display: table-row; @@ -367,7 +367,7 @@ export default { flex-direction: column; .ft { object-fit: contain; - width: 300px !important; + width: 430px !important; } } } @@ -379,14 +379,14 @@ export default { .el-login-footer { .rightBox { display: flex; - margin-left: -30%; + margin-left: -29%; flex: 1; justify-content: space-evenly; align-items: center; img { // object-fit: none; width: auto; - height: 200px; + height: 245px; margin-left: -333px; } span {