智慧园区前端大屏
shuishen
2024-12-10 28dd8afc31dd83aa9a33a00b0ed0a37a422aa277
新干项目基础处理
9 files modified
130 ■■■■ changed files
src/pages/login.vue 2 ●●● patch | view | raw | blame | history
src/pages/main/components/mainMenu.vue 22 ●●●●● patch | view | raw | blame | history
src/pages/main/index.vue 2 ●●● patch | view | raw | blame | history
src/pages/map/components/scomponents/layersControl.vue 12 ●●●● patch | view | raw | blame | history
src/pages/single/components/mainMenu.vue 22 ●●●●● patch | view | raw | blame | history
src/pages/single/index.vue 2 ●●● patch | view | raw | blame | history
src/router/index.js 64 ●●●●● patch | view | raw | blame | history
src/views/space/components/box/dataContent.vue 2 ●●● patch | view | raw | blame | history
src/views/supplies/components/dataContent.vue 2 ●●● patch | view | raw | blame | history
src/pages/login.vue
@@ -2,7 +2,7 @@
  <div class="box">
    <div class="login">
      <div class="logintitle">
        吉水化工园区“一园一策一图”VR平台
        新干化工园区“一园一策一图”VR平台
      </div>
      <div class="getingo">
        <p class="title">用户登录</p>
src/pages/main/components/mainMenu.vue
@@ -20,37 +20,17 @@
const menuList = ref(
  [
    {
      menuName: '园区概况',
      path: '/layout/map/main/survey'
    },
    {
      menuName: '风险源',
      path: '/layout/map/main/rs'
    },
    {
      menuName: '应急空间',
      path: '/layout/map/main/space'
    },
    {
      menuName: '应急物资',
      path: '/layout/single/supplies'
    },
    {
      menuName: '三级防控',
      path: '/layout/map/main/pac'
    },
    {
      menuName: '救援队伍',
      path: '/layout/single/rt'
    },
    {
      menuName: '突发事件模拟',
      path: '/layout/map/main/pd'
    },
    {
      menuName: '作战图',
      path: '/layout/single/ochart'
    },
    }
  ]
)
src/pages/main/index.vue
@@ -1,7 +1,7 @@
<template>
  <div class="w100 h100 relative">
    <div class="main-header">
      <div class="title">吉水化工园区“一园一策一图”VR平台</div>
      <div class="title">新干化工园区“一园一策一图”VR平台</div>
      <div class="login-out" @click="signOut">
        <img :src="loginOutBg" class="img" />
src/pages/map/components/scomponents/layersControl.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-10-31 10:47:29
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-12-10 14:33:31
 * @LastEditTime: 2024-12-10 14:45:28
 * @FilePath: \bigScreen\src\pages\map\components\scomponents\layersControl.vue
 * @Description:
 *
@@ -112,23 +112,23 @@
    subType: '3Dtile',
    urlData: [
      {
        url: VITE_APP_BASE + 'mx/tile_01/tileset.json',
        url: VITE_APP_BASE + 'newMx/mx/tile_01/tileset.json',
        label: 'tile_01'
      },
      {
        url: VITE_APP_BASE + 'mx/tile_02/tileset.json',
        url: VITE_APP_BASE + 'newMx/mx/tile_02/tileset.json',
        label: 'tile_02'
      },
      {
        url: VITE_APP_BASE + 'mx/tile_03/tileset.json',
        url: VITE_APP_BASE + 'newMx/mx/tile_03/tileset.json',
        label: 'tile_03'
      },
      {
        url: VITE_APP_BASE + 'mx/tile_04/tileset.json',
        url: VITE_APP_BASE + 'newMx/mx/tile_04/tileset.json',
        label: 'tile_04'
      },
      {
        url: VITE_APP_BASE + 'mx/tile_05/tileset.json',
        url: VITE_APP_BASE + 'newMx/mx/tile_05/tileset.json',
        label: 'tile_05'
      },
    ],
src/pages/single/components/mainMenu.vue
@@ -20,37 +20,17 @@
const menuList = ref(
  [
    {
      menuName: '园区概况',
      path: '/layout/map/main/survey'
    },
    {
      menuName: '风险源',
      path: '/layout/map/main/rs'
    },
    {
      menuName: '应急空间',
      path: '/layout/map/main/space'
    },
    {
      menuName: '应急物资',
      path: '/layout/single/supplies'
    },
    {
      menuName: '三级防控',
      path: '/layout/map/main/pac'
    },
    {
      menuName: '救援队伍',
      path: '/layout/single/rt'
    },
    {
      menuName: '突发事件模拟',
      path: '/layout/map/main/pd'
    },
    {
      menuName: '作战图',
      path: '/layout/single/ochart'
    },
    }
  ]
)
src/pages/single/index.vue
@@ -2,7 +2,7 @@
  <div class="wrapper">
    <div class="w100 h100 relative main-content single-page" id="MainContent">
      <div class="main-header">
        <div class="title">吉水化工园区“一园一策一图”VR平台</div>
        <div class="title">新干化工园区“一园一策一图”VR平台</div>
        <div class="login-out" @click="signOut">
          <img :src="loginOutBg" class="img" />
src/router/index.js
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-10-25 16:35:31
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-12-02 17:23:21
 * @LastEditTime: 2024-12-10 16:46:59
 * @FilePath: \bigScreen\src\router\index.js
 * @Description: 
 * 
@@ -38,7 +38,7 @@
  {
    path: '/layout',
    name: 'layout',
    redirect: '/layout/map/main/survey',
    redirect: '/layout/map/main/space',
    component: layout,
    children: [
      {
@@ -51,20 +51,6 @@
            name: 'main',
            component: mainLayout,
            children: [
              {
                path: 'survey',
                meta: {
                  title: '园区概况'
                },
                component: () => import('@/views/survey/index.vue')
              },
              {
                path: 'rs',
                meta: {
                  title: '风险源'
                },
                component: () => import('@/views/rs/index.vue')
              },
              {
                path: 'space',
                meta: {
@@ -88,52 +74,8 @@
              },
            ]
          },
          {
            path: 'sub',
            name: 'sub',
            component: subLayout,
            redirect: '/layout/map/sub/companyInfo',
            children: [
              {
                path: 'companyInfo',
                meta: {
                  title: '企业详情'
                },
                component: companyInfo
              },
            ]
          }
        ]
      },
      {
        path: 'single',
        name: 'single',
        component: singleLayout,
        children: [
          {
            path: 'supplies',
            meta: {
              title: '应急物资'
            },
            component: () => import('@/views/supplies/index.vue')
          },
          {
            path: 'rt',
            meta: {
              title: '救援队伍'
            },
            component: () => import('@/views/rt/index.vue')
          },
          {
            path: 'ochart',
            meta: {
              title: '作战图'
            },
            component: () => import('@/views/ochart/index.vue')
          },
        ]
      },
      }
    ]
  },
]
src/views/space/components/box/dataContent.vue
@@ -99,7 +99,7 @@
      const data = res.data.data
      data.records.forEach(item => {
        if(!item.firmName){
          item.firmName = '吉水化工园区'
          item.firmName = '新干化工园区'
        }
      })
      tableData.value = data.records
src/views/supplies/components/dataContent.vue
@@ -58,7 +58,7 @@
// 园区 企业
const tilteList = ref([
  { label: "吉水化工园区", value: "0", id: "1" }
  { label: "新干化工园区", value: "0", id: "1" }
])
onMounted(() => {