智慧园区前端大屏
shuishen
2025-01-03 d7bc6a98ac8a2433b95919a06fa00c8ff3ff6c30
瑞昌化工园项目初始化
项目基础配置相关调整
10 files modified
36 ■■■■ changed files
.env.development 2 ●●● patch | view | raw | blame | history
.env.production 2 ●●● patch | view | raw | blame | history
index.html 4 ●●●● patch | view | raw | blame | history
src/pages/login.vue 2 ●●● patch | view | raw | blame | history
src/pages/main/index.vue 2 ●●● patch | view | raw | blame | history
src/pages/map/components/scomponents/layersControl.vue 4 ●●●● patch | view | raw | blame | history
src/pages/single/index.vue 2 ●●● 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
vite.config.js 14 ●●●● patch | view | raw | blame | history
.env.development
@@ -16,4 +16,4 @@
VITE_APP_API=/zhyqapi
#页面基础路径
VITE_APP_BASE=/zhyq/
VITE_APP_BASE=/zhyq-rc/
.env.production
@@ -17,7 +17,7 @@
VITE_APP_API=/zhyqapi
#页面基础路径
VITE_APP_BASE=/zhyq/
VITE_APP_BASE=/zhyq-rc/
# 是否在打包时开启压缩,支持 gzip 和 brotli
VITE_BUILD_COMPRESS = gzip
index.html
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-10-25 10:56:27
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-10-31 18:36:26
 * @LastEditTime: 2025-01-03 16:18:32
 * @FilePath: \bigScreen\index.html
 * @Description: 
 * 
@@ -21,7 +21,7 @@
    rel="stylesheet"
    type="text/css"
  /> -->
  <title>吉水化工园区“一园一策一图”VR平台</title>
  <title>瑞昌化工集中区“一园一策一图”VR平台</title>
</head>
<body>
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/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
@@ -866,10 +866,10 @@
        if (!addTileLayers[item.layerName]) {
          // addTileLayers[item.layerName] = []
          // let tile = window.$viewer.delegate.scene.primitives.add(new window.$Cesium.Cesium3DTileset({
          //   url: '/zhyq/mx/tile_01/tileset.json',
          //   url: '/zhyq-rc/mx/tile_01/tileset.json',
          // }))
          //   url: '/zhyq/mx/tile_01/tileset.json',
          //   url: '/zhyq-rc/mx/tile_01/tileset.json',
          // }), 121323)
          // item.urlData.forEach(i => {
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/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(() => {
vite.config.js
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-10-25 10:56:27
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-12-03 13:42:55
 * @LastEditTime: 2025-01-03 19:18:35
 * @FilePath: \bigScreen\vite.config.js
 * @Description: 
 * 
@@ -109,18 +109,18 @@
          rewrite: path => path.replace(/^\/panorama/, ''),
        },
        '/zhyq/newMx': {
        '/zhyq-rc/newMx': {
          // target: 'http://localhost',
          target: 'https://wrj.shuixiongit.com/zhyq/newMx',
          target: 'https://wrj.shuixiongit.com/zhyq-rc/newMx',
          changeOrigin: true,
          rewrite: path => path.replace(/^\/zhyq\/newMx/, ''),
          rewrite: path => path.replace(/^\/zhyq-rc\/newMx/, ''),
        },
        // '/zhyq/mx': {
        // '/zhyq-rc/mx': {
        //   // target: 'http://localhost',
        //   target: 'https://wrj.shuixiongit.com/zhyq/mx',
        //   target: 'https://wrj.shuixiongit.com/zhyq-rc/mx',
        //   changeOrigin: true,
        //   rewrite: path => path.replace(/^\/zhyq\/mx/, ''),
        //   rewrite: path => path.replace(/^\/zhyq-rc\/mx/, ''),
        // },
        '/zhyqapi': {