forked from drone/command-center-dashboard

feat: 换图标和进入首页显示登陆人的区域,事件概况详情增加退出,个人信息头部
3 files modified
12 ■■■■ changed files
src/assets/images/intelligent-introduction-flying.png patch | view | raw | blame | history
src/layout/Header.vue 10 ●●●● patch | view | raw | blame | history
src/views/Home/EventOverviewDetail/EventOverviewDetailRight.vue 2 ●●●●● patch | view | raw | blame | history
src/assets/images/intelligent-introduction-flying.png

src/layout/Header.vue
@@ -11,7 +11,7 @@
        {{ item.name }}
      </div>
    </div>
    <div class="big-title">西湖区指挥调度平台</div>
    <div class="big-title">{{ loginUserInfo.areaName }}指挥调度平台</div>
    <div class="h-right">
      <div
        v-for="(item, index) in rightList"
@@ -32,9 +32,13 @@
import { Message } from '@element-plus/icons-vue';
import { ElMessage } from 'element-plus';
import { ELocalStorageKey } from '@/utils/http/enums';
import { useStore } from 'vuex'
const router = useRouter();
const route = useRoute();
const store = useStore()
const loginUserInfo = computed(() => store.state.user.userInfo.detail)
const leftList = ref([
  { name: '首页', active: true, path: '/index' },
@@ -121,8 +125,8 @@
  }
  .big-title {
    position: relative;
    top: -12px;
    // position: relative;
    // top: -12px;
    width: 500px;
    height: 58px;
    font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
src/views/Home/EventOverviewDetail/EventOverviewDetailRight.vue
@@ -1,5 +1,6 @@
<template>
    <div class="event-overviewdetail-right" :class="{ isMore }">
        <UserOperate/>
        <CommonTitle title="事件概况" :style="{ width: isMore ? pxToRem(820) : pxToRem(404) }" />
        <div class="content">
@@ -137,6 +138,7 @@
import leftArrowImg from '@/assets/images/home/eventOverviewDetail/leftArrow.png'
import rightArrowImg from '@/assets/images/home/eventOverviewDetail/rightArrow.png'
import UserOperate from '@/components/UserOperate.vue';
import dayjs from 'dayjs'
import { selectDevicePage } from '@/api/home/machineNest'
import { getMultipleDictionary } from '@/api/system/dictbiz'