From d7bc6a98ac8a2433b95919a06fa00c8ff3ff6c30 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 03 Jan 2025 19:19:18 +0800
Subject: [PATCH] 瑞昌化工园项目初始化 项目基础配置相关调整

---
 src/pages/login.vue                                    |    2 +-
 src/pages/map/components/scomponents/layersControl.vue |    4 ++--
 .env.development                                       |    2 +-
 src/pages/single/index.vue                             |    2 +-
 index.html                                             |    4 ++--
 .env.production                                        |    2 +-
 src/views/supplies/components/dataContent.vue          |    2 +-
 vite.config.js                                         |   14 +++++++-------
 src/pages/main/index.vue                               |    2 +-
 src/views/space/components/box/dataContent.vue         |   14 +++++++-------
 10 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/.env.development b/.env.development
index fcfda8b..0de9942 100644
--- a/.env.development
+++ b/.env.development
@@ -16,4 +16,4 @@
 VITE_APP_API=/zhyqapi
 
 #页面基础路径
-VITE_APP_BASE=/zhyq/
+VITE_APP_BASE=/zhyq-rc/
diff --git a/.env.production b/.env.production
index 16d9b5e..2ef2e04 100644
--- a/.env.production
+++ b/.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
diff --git a/index.html b/index.html
index f808a0d..73dfa9b 100644
--- a/index.html
+++ b/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>
diff --git a/src/pages/login.vue b/src/pages/login.vue
index 5022c57..3f99757 100644
--- a/src/pages/login.vue
+++ b/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>
diff --git a/src/pages/main/index.vue b/src/pages/main/index.vue
index 8023500..bc65cc1 100644
--- a/src/pages/main/index.vue
+++ b/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" />
diff --git a/src/pages/map/components/scomponents/layersControl.vue b/src/pages/map/components/scomponents/layersControl.vue
index 1694931..7c297c2 100644
--- a/src/pages/map/components/scomponents/layersControl.vue
+++ b/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 => {
 
diff --git a/src/pages/single/index.vue b/src/pages/single/index.vue
index 1129943..1d1fcc0 100644
--- a/src/pages/single/index.vue
+++ b/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" />
diff --git a/src/views/space/components/box/dataContent.vue b/src/views/space/components/box/dataContent.vue
index ba492b5..cf904a3 100644
--- a/src/views/space/components/box/dataContent.vue
+++ b/src/views/space/components/box/dataContent.vue
@@ -98,8 +98,8 @@
     .then((res) => {
       const data = res.data.data
       data.records.forEach(item => {
-        if(!item.firmName){
-          item.firmName = '吉水化工园区'
+        if (!item.firmName) {
+          item.firmName = '瑞昌化工集中区'
         }
       })
       tableData.value = data.records
@@ -194,11 +194,11 @@
   let arr = Object.keys(addPupoLayers)
   if (arr.length > 0) {
     arr.forEach(i => {
-    addPupoLayers[i] && window.$viewer && window.$viewer.removeLayer(addPupoLayers[i])
-    addPupoLayers[i] = null
-    delete addPupoLayers[i]
-  })
-  addPupoLayers = {}
+      addPupoLayers[i] && window.$viewer && window.$viewer.removeLayer(addPupoLayers[i])
+      addPupoLayers[i] = null
+      delete addPupoLayers[i]
+    })
+    addPupoLayers = {}
   }
 }
 </script>
diff --git a/src/views/supplies/components/dataContent.vue b/src/views/supplies/components/dataContent.vue
index e526db4..217e623 100644
--- a/src/views/supplies/components/dataContent.vue
+++ b/src/views/supplies/components/dataContent.vue
@@ -58,7 +58,7 @@
 
 // 园区 企业
 const tilteList = ref([
-  { label: "吉水化工园区", value: "0", id: "1" }
+  { label: "瑞昌化工集中区", value: "0", id: "1" }
 ])
 
 onMounted(() => {
diff --git a/vite.config.js b/vite.config.js
index f69b8d7..ddde0c3 100644
--- a/vite.config.js
+++ b/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': {

--
Gitblit v1.9.3