From bb2a1fc86ef4984ef21f3f0dc5caa8f0dbfff309 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期五, 06 三月 2026 10:01:54 +0800
Subject: [PATCH] 更改头部

---
 admin/src/views/index.vue |   37 ++++++++++++++++++-------------------
 1 files changed, 18 insertions(+), 19 deletions(-)

diff --git a/admin/src/views/index.vue b/admin/src/views/index.vue
index eef03a9..308225d 100644
--- a/admin/src/views/index.vue
+++ b/admin/src/views/index.vue
@@ -4,7 +4,7 @@
     <div class="home_header">
       <div class="mb10 fs17">{{timeInfo}}濂斤紝{{ userInfo.realname }}</div>
       <div class="fs13">
-        浠婂ぉ鏄� {{ nowDate }} {{ nowWeek }}锛屾杩庤闂畕{sysConfig.subtitle || title}}
+        浠婂ぉ鏄� {{ nowDate }} {{ nowWeek }}锛屾杩庤闂櫤鎱х墿娴佸洯鍖哄畨娑堜竴浣撳寲绯荤粺
       </div>
     </div>
     <div class="main">
@@ -100,7 +100,7 @@
             </div>
             <div class="wrap static2">
               <div class="header">
-                <!--                <div class="home_title">闀挎湡鐩稿叧鏂瑰垎甯�</div>-->
+<!--                <div class="home_title">闀挎湡鐩稿叧鏂瑰垎甯�</div>-->
                 <el-radio-group v-model="tabPosition" @change="changeType">
                   <el-radio-button label="right">鍐呴儴浜哄憳鍒嗗竷</el-radio-button>
                   <el-radio-button label="top">闀挎湡鐩稿叧鏂瑰垎甯�</el-radio-button>
@@ -218,7 +218,6 @@
 import OperaCarUseBookWindow from '@/components/business/OperaCarUseBookWindow'
 import OperaHiddenDangerWindow from '@/components/business/OperaHiddenDangerWindow'
 import OperaVisitsDesWindow from '@/components/business/OperaVisitsDesWindow'
-import {mapState} from "vuex";
 const colors = ['#52a4f7', '#7678f7', '#5fc6d5']
 export default {
   components: {
@@ -232,7 +231,6 @@
   },
   data () {
     return {
-      title: process.env.VUE_APP_TITLE,
       tabPosition: 'right',
       colors,
       timeInfo: '涓婂崍',
@@ -260,7 +258,6 @@
     }
   },
   computed: {
-    ...mapState(['sysConfig']),
     userInfo () {
       return this.$store.state.userInfo
     }
@@ -416,7 +413,9 @@
         arr.push({ name: '璁垮', value: this.headerData.inParkVisitUserNum })
         arr.push({ name: '鍐呴儴鍛樺伐', value: this.headerData.todayInParkUserNum - this.headerData.inParkLwUserNum - this.headerData.inParkVisitUserNum - this.headerData.inParkDriverUserNum })
         arr.push({ name: '闀挎湡鐩稿叧鏂�', value: this.headerData.inParkLwUserNum })
-        // arr.push({ name: '璐ц繍鍙告満', value: this.headerData.inParkDriverUserNum })
+/*
+        arr.push({ name: '璐ц繍鍙告満', value: this.headerData.inParkDriverUserNum })
+*/
         arr.sort((a, b) => b.value - a.value)
         this.manningRatio = arr
         this.initEchart1()
@@ -432,9 +431,9 @@
         type: 'warning'
       }).then(() => {
         level(id)
-            .then(res => {
-              this.getWarningList()
-            })
+          .then(res => {
+            this.getWarningList()
+          })
       }).catch(() => {
 
       })
@@ -611,11 +610,11 @@
             itemStyle: {
               normal: {
                 color: new echarts.graphic.LinearGradient(
-                    1, 0, 0, 0,
-                    [
-                      { offset: 0, color: '#56abf8' },
-                      { offset: 1, color: '#407ff0' }
-                    ]
+                  1, 0, 0, 0,
+                  [
+                    { offset: 0, color: '#56abf8' },
+                    { offset: 1, color: '#407ff0' }
+                  ]
                 )
                 // barBorderRadius: [0, 10, 10, 0]
               }
@@ -718,11 +717,11 @@
             itemStyle: {
               normal: {
                 color: new echarts.graphic.LinearGradient(
-                    1, 0, 0, 0,
-                    [
-                      { offset: 0, color: '#56abf8' },
-                      { offset: 1, color: '#407ff0' }
-                    ]
+                  1, 0, 0, 0,
+                  [
+                    { offset: 0, color: '#56abf8' },
+                    { offset: 1, color: '#407ff0' }
+                  ]
                 )
                 // barBorderRadius: [0, 10, 10, 0]
               }

--
Gitblit v1.9.3