From 4330450f01755398b207e8b173c069c6e60cb494 Mon Sep 17 00:00:00 2001 From: sunwenlin <961459959@qq.com> Date: Sat, 6 Sep 2025 14:56:37 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E6=8C=87=E6=8C=A5=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E5=A4=A7=E5=B1=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/Vector.svg | 9 ++++++ src/config/router.config.js | 13 ++++++++ src/permission.js | 2 +- .../index.vue => productionCommandCenter.vue} | 30 +++++++++---------- 4 files changed, 38 insertions(+), 16 deletions(-) create mode 100644 src/assets/Vector.svg rename src/views/largeScreen/{productionCommandCenter/index.vue => productionCommandCenter.vue} (82%) diff --git a/src/assets/Vector.svg b/src/assets/Vector.svg new file mode 100644 index 0000000..dbfb9e0 --- /dev/null +++ b/src/assets/Vector.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/config/router.config.js b/src/config/router.config.js index b808d76..c9c19c8 100644 --- a/src/config/router.config.js +++ b/src/config/router.config.js @@ -76,6 +76,19 @@ export const constantRouterMap = [ } ] }, + { + path: '/largeScreen', + component: BlankLayout, + redirect: '/largeScreen', + hidden: true, + children: [ + { + path: 'productionCommandCenter', + name: 'productionCommandCenter', + component: () => import(/* webpackChunkName: "largeScreen" */ '@/views/largeScreen/productionCommandCenter') + } + ] + }, { path: '/404', diff --git a/src/permission.js b/src/permission.js index 5de7ac6..5f8bf3f 100644 --- a/src/permission.js +++ b/src/permission.js @@ -10,7 +10,7 @@ import { ACCESS_TOKEN, ALL_APPS_MENU } from '@/store/mutation-types' import { Modal, notification } from 'ant-design-vue' // NProgress Configuration import { timeFix } from '@/utils/util'/// es/notification NProgress.configure({ showSpinner: false }) -const whiteList = ['login', 'register', 'registerResult'] // no redirect whitelist +const whiteList = ['login', 'register', 'registerResult', 'productionCommandCenter'] // no redirect whitelist // 无默认首页的情况 const defaultRoutePath = '/welcome' diff --git a/src/views/largeScreen/productionCommandCenter/index.vue b/src/views/largeScreen/productionCommandCenter.vue similarity index 82% rename from src/views/largeScreen/productionCommandCenter/index.vue rename to src/views/largeScreen/productionCommandCenter.vue index 2fdf067..612b52e 100644 --- a/src/views/largeScreen/productionCommandCenter/index.vue +++ b/src/views/largeScreen/productionCommandCenter.vue @@ -3,20 +3,20 @@ @@ -30,6 +30,8 @@ width: 415.8125rem; height: 10.19919rem; flex-shrink: 0; + padding-top:3.44rem; + display: inline-block; background-image: url("~@/assets/title1.svg"); } .middleTitleFont{ @@ -52,7 +54,6 @@ height: 4.8125rem; flex-shrink: 0; margin-left: 67.92rem; - margin-top: 2.81rem; background-image: url("~@/assets/Group 2785.svg"); } .cockpitFont{ @@ -75,7 +76,6 @@ height: 4.8125rem; flex-shrink: 0; margin-left: 94.04rem; - margin-top: 2.81rem; background-image: url("~@/assets/Group 2789.png"); } .branchPlantProCapFont{