From 9b37a30254960de75e03b6782630053b154e28bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E7=8E=89=E7=90=A6?= <7507756+jiang_yuqi@user.noreply.gitee.com> Date: Thu, 4 Apr 2024 16:50:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/largeScreenStyle.css | 1 - src/pages/components/MonitAndWarning.vue | 9 +++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/public/css/largeScreenStyle.css b/public/css/largeScreenStyle.css index e5c6cd8..5e71d59 100644 --- a/public/css/largeScreenStyle.css +++ b/public/css/largeScreenStyle.css @@ -1399,7 +1399,6 @@ table{ height: 30px; } .project-expect-title-No{ - width: 35px; border-bottom: 1px solid #69b9fe; text-align: center; line-height: 30px; diff --git a/src/pages/components/MonitAndWarning.vue b/src/pages/components/MonitAndWarning.vue index 1a7f963..9931e1a 100644 --- a/src/pages/components/MonitAndWarning.vue +++ b/src/pages/components/MonitAndWarning.vue @@ -103,12 +103,17 @@ export default { this.getMonitAndWarning(); } }); + if (this.$root.hasInitHeader) { + this.initMe(); + } }, created() { - this.init(); + this.initMe(); }, methods: { - init() { + initMe() { + this.prjInfo = this.$root.project || {}; + this.deptInfo = this.$root.dept || {}; this.getMonitAndWarning(); }, getMonitAndWarning() {