Ver Fonte

托克托配置调整

fan há 1 mês atrás
pai
commit
4601c58a36

+ 36 - 201
public/js/config.js

@@ -9,9 +9,9 @@ const BASE_URL = '/yapi' //开发接口代理
  */
 const HOME_DATA = {
   startDate: '2024-11-27',
-  group: '国家管网集团西南管道公司',
-  company: '贵阳输油气分公司',
-  curStation: '都匀作业区',
+  group: '国家管网集团北京管道公司',
+  company: '输油气分公司',
+  curStation: '托克托压气站',
 }
 
 /**
@@ -19,7 +19,7 @@ const HOME_DATA = {
  */
 const STATION_LIST = [
   {
-    name: '都匀',
+    name: '托克托',
     configUrl: '/json/glyConfig.json',
     cameraUrl: '/json/glyCamera.json',
   },
@@ -30,7 +30,7 @@ const STATION_LIST = [
 /**
  * 页面内标题 已生效
  */
-const SYSTEM_TITLE = '都匀作业区智慧融合平台'
+const SYSTEM_TITLE = '托克托压气站综合安防平台'
 /**
  * 设置浏览器标题 已生效
  */
@@ -74,8 +74,8 @@ const MODULE_ENABLED = {
  * key3:f3ddf0996b8f5b1c876094cdcb35faab  自己的
  */
 const MAP_CONFIG = {
-  url: 'http://t{s}.tianditu.gov.cn/img_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=tiles&tk=c7074dacd421b3e1ba311392c4b6923f',
-  // url: 'static/tkt/{z}/{x}/{y}.png',
+  // url: 'http://t{s}.tianditu.gov.cn/img_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=tiles&tk=c7074dacd421b3e1ba311392c4b6923f',
+  url: 'static/tkt/{z}/{x}/{y}.png',
   maximumLevel: 18,
   subdomains: ['0', '1', '2', '3', '4', '5', '6', '7'],
 }
@@ -141,17 +141,12 @@ const MQTT_CONFIG = {
     'dashboard/risk/drawrisktime',
     'Visualization/DataComm/NewAlarm',
     'Visualization/Number/RecentlyLevelByDate',
-    'Visualization/Number/RecentlyLevelByDateDYMZ',
-    'Visualization/Number/RecentlyLevelByDateKKQG',
-    'Visualization/Number/RecentlyLevelByDateDSSZ',
-    'Visualization/Number/RecentlyLevelByDateYWSZ'
   ],
 }
 //后台管理根路径
 const ISMSAdminWeb = {
   // path: "http://localhost:9528/#/",
-  path: "https://11.100.46.218:8080/#/",
-  // path: `http://192.168.195.134:8080/#/`,
+  path: `http://192.168.195.136:8080/#/`,
   // path: `http://${window.location.hostname}:8080/#/`,
 }
 
@@ -600,133 +595,38 @@ const LAYER_CONFIG = {
 }
 
 const GY_STATIONS = [
-  // {
-  //   id: '591282080239853568',
-  //   name: '贵阳输气站',
-  //   code: 'GYSQZ',
-  //   direction: 'left',
-  //   buildId: '594099860043472896',
-  //   positioningBuildId: '001001',
-  //   position: [106.62629510834513, 26.65059748734631, 1.4679041606626673],
-  //   layers: ['周界', '泄漏', '摄像头'],
-  // },
-  // {
-  //   id: '655065301053874176',
-  //   name: '白云输气站',
-  //   code: 'BYSQZ',
-  //   direction: 'right',
-  //   buildId: '639402700261302272', //用于跳转模型
-  //   positioningBuildId: '001002', //用于跳转模型判断
-  //   position: [106.62629633504537, 26.65060908351062, 1.4819172693521345],
-  //   layers: ['风险区域', '周界', '泄漏', '摄像头'],
-  // },
   {
-    id: '657316479015854080',
-    name: '都匀输气站',
-    code: 'DYSQZ',
-    buildId: '657317980832538624',
-    positioningBuildId: '002001',
+    id: '784104499768729600',
+    name: '托克托',
+    code: 'TKT',
+    buildId: '784102618438836224',
+    positioningBuildId: '100001',
     direction: 'right',
-    position: [106.62632139900707, 26.650595691076745, 1.4650695463064403],
-    layers: ['周界', '泄漏', '摄像头', '火灾', '防爆扩音'],
-    webRTCUrl: "wss://dispatcher:1443/webrtc",
-    // webRTCUrl: "wss://192.168.10.39:1443/webrtc",
-    admin: "8889",
-    password: "123456",
-  },
-  {
-    id: '657316634284793856',
-    name: '云雾首站',
-    code: 'YWSZ',
-    buildId: '657319107443564544',
-    positioningBuildId: '002004',
-    direction: 'left',
-    position: [106.62630660166043, 26.650596074566966, 1.4660467809229363],
+    position: [106.6263209022603, 26.650585399041464, 1.4657059185197159],
     layers: ['周界', '泄漏', '摄像头'],
-    webRTCUrl: "",
-    admin: "8889",
-    password: "123456",
   },
   {
-    id: '657316533462114304',
-    name: '凯口清管站',
-    code: 'KKQGZ',
-    buildId: '657318695416111104',
-    positioningBuildId: '002002',
-    direction: 'right',
-    position: [106.62631864686837, 26.650589347228493, 1.4654720522226603],
-    layers: ['周界', '泄漏', '摄像头', '防爆扩音'],
-    webRTCUrl: "wss://192.168.20.31:1443/webrtc",
-    admin: "8889",
-    password: "123456",
-  },
-  {
-    id: '657316587124039680',
-    name: '独山首站',
-    code: 'DSSZ',
-    buildId: '657318879332147200',
-    positioningBuildId: '002003',
+    id: '784131093203787776',
+    name: '托克托压气站',
+    code: 'TKT',
+    buildId: '784102618438836224',
+    positioningBuildId: '100001',
     direction: 'right',
     position: [106.6263209022603, 26.650585399041464, 1.4657059185197159],
-    layers: ['周界', '泄漏', '摄像头', '防爆扩音'],
-    webRTCUrl: "wss://11.100.46.233:1443/webrtc",
-    admin: "8889",
-    password: "123456",
-  },
-  {
-    id: '',
-    name: '荔波首站',
-    code: 'LBSZ',
-    buildId: '',
-    positioningBuildId: '',
-    direction: 'right',
-    position: [106.6263329708765, 26.65057999393088, 1.4648986180330343],
     layers: ['周界', '泄漏', '摄像头'],
-    webRTCUrl: "",
-    admin: "8889",
-    password: "123456",
+    // webRTCUrl: "wss://dispatcher:1443/webrtc",
+    // admin: "8889",
+    // password: "123456",
   },
-  // {
-  //   id: '784104499768729600',
-  //   name: '托克托',
-  //   code: 'TKT',
-  //   buildId: '784102618438836224',
-  //   positioningBuildId: '100001',
-  //   direction: 'right',
-  //   position: [106.6263209022603, 26.650585399041464, 1.4657059185197159],
-  //   layers: ['周界', '泄漏', '摄像头'],
-  // },
-  // {
-  //   id: '784131093203787776',
-  //   name: '托克托压气站',
-  //   code: 'TKT',
-  //   buildId: '784102618438836224',
-  //   positioningBuildId: '100001',
-  //   direction: 'right',
-  //   position: [106.6263209022603, 26.650585399041464, 1.4657059185197159],
-  //   layers: ['周界', '泄漏', '摄像头'],
-  // },
 ]
 
 const GY_ZYQS = [
-  // {
-  //   id: '784131018197049344',
-  //   name: '托克托作业区',
-  //   code: 'TKTZYQ',
-  //   buildId: '654044537953460225',
-  // },
   {
-    id: '657316430240292865',
-    name: '都匀作业区',
-    code: 'DYSQZ',
+    id: '784131018197049344',
+    name: '托克托作业区',
+    code: 'TKTZYQ',
     buildId: '654044537953460225',
   },
-  // {
-  //   id: '591281556996235264',
-  //   name: '贵阳作业区',
-  //   code: 'GYSQZ',
-  //   buildId: '654044537953460224',
-  // },
 ]
 
 /**
@@ -734,96 +634,31 @@ const GY_ZYQS = [
  * 已启用
  * 后续改成接口获取
  */
-// const GY_JGYT_CONFIG = [
-// {
-//   id: '1',
-//   name: '托克托作业区',
-//   children: [
-//     {
-//       id: '101',
-//       name: '托克托压气站',
-//       children: [
-//         {
-//           id: '1',
-//           // id: '660856349529219072',
-//           name: '云台1',
-//           ndTag: 'DY_Leak_PTZ_Concn',
-//         },
-//       ],
-//     },]
-// }]
-
 const GY_JGYT_CONFIG = [
   {
     id: '1',
-    name: '都匀作业区',
+    name: '托克托作业区',
     children: [
       {
         id: '101',
-        name: '都匀站',
-        departmentId: '657316479015854080',
-        buildId: '657317980832538624',
-        children: [
-          {
-            // id: '1',
-            id: '660856349529219072',
-            name: '云台1',
-            ndTag: 'DY_Leak_PTZ_Concn',
-          },
-        ],
-      },
-      {
-        id: '102',
-        name: '独山首站',
-        departmentId: '657316587124039680',
-        buildId: '657318879332147200',
+        name: '托克托压气站',
         children: [
           {
-            // id: '2',
-            id: '660856349529219074',
-            name: '云台1',
-            ndTag: 'DS_JGYT_01_DATA_ND',
+            id: '786542179467141120',
+            name: '激光检测1',
+            ndTag: 'JGYT1_ND',
           },
           {
-            // id: '3',
-            id: '660856349529219076',
-            name: '云台2',
-            ndTag: 'DS_JGYT_02_DATA_ND',
+            id: '786542180738015232',
+            name: '激光检测2',
+            ndTag: 'JGYT2_ND',
           },
         ],
-      },
-      {
-        id: '103',
-        name: '凯口站',
-        departmentId: '657316533462114304',
-        buildId: '657318695416111104',
-        children: [
-          {
-            // id: '4',
-            id: '660856349529219073',
-            name: '云台1',
-            ndTag: 'KK_Leak_PTZ_Concn',
-          },
-        ],
-      },
-      {
-        id: '104',
-        name: '云雾首站',
-        departmentId: '657316634284793856',
-        buildId: '657319107443564544',
-        children: [
-          {
-            // id: '5',
-            id: '660856349529219075',
-            name: '云台1',
-            ndTag: 'YW_Leak_PTZ_Concn',
-          },
-        ],
-      },
-    ],
-  },
+      },]
+  }
 ]
 
+
 /**
  * mqtt地址
  * 判断是否被iframe嵌套

+ 1 - 1
src/components/BaseMap/index.vue

@@ -119,7 +119,7 @@ export default {
         // });
         updateViewer(viewer);
         setTimeout(() => {
-          // this.addBaseImagery();//都匀不加载//托克托加载
+          this.addBaseImagery();//托克托加载
           //this.addLabelImagery();
         }, 10);
         //初始飞行定位

+ 2 - 2
src/router/index.js

@@ -11,8 +11,8 @@ const routes = [
   },
   {
     path: '/',
-    // redirect: '/stationMapTKT',//托克托
-    redirect: '/basePage',//都匀
+    redirect: '/stationMapTKT',//托克托
+    // redirect: '/basePage',//都匀
   },
   {
     path: '/stationMap',

+ 0 - 1
src/store/modules/model.js

@@ -75,7 +75,6 @@ const actions = {
           }
           if (buildId == '654044537953460225') {
             commit('SET_DEPARTMENTID', '')
-
           }
           // 缓存中存入buildId
           localStorage.setItem('buildId', buildId)

+ 1 - 1
src/views/basePage/index.vue

@@ -142,7 +142,7 @@
     >
       <div v-if="!fullScreen" class="panel_box right_panel">
         <!-- <weather /> -->
-        <sound-statistics />
+        <!-- <sound-statistics /> -->
         <person-statistics />
         <intelligent-video />
       </div>

+ 1 - 1
src/views/basePage/mixins/LoadLayer/fbky.js

@@ -37,7 +37,7 @@ export default {
   },
   mounted() {
     setTimeout(() => {
-      this.initFbky()
+      // this.initFbky()
     }, 1000)
   },
   methods: {

+ 11 - 11
src/views/basePage/panels/PersonStatistics.vue

@@ -3,7 +3,7 @@
     <base-title title="出入统计" />
     <div class="page_content">
       <!-- 都匀人员不统计 -->
-      <!-- <div class="person_title">人员信息</div>
+      <div class="person_title">人员信息</div>
       <div class="person_num_box">
         <vue-seamless
           :data="personList"
@@ -60,8 +60,8 @@
           </div>
           <div v-else>暂无数据</div>
         </vue-seamless>
-      </div> -->
-      <div class="person_type_box">
+      </div>
+      <!-- <div class="person_type_box">
         <div class="person_title">出入设备</div>
         <div class="type_content">
           <div class="left_part">
@@ -107,8 +107,8 @@
             </div>
           </div>
         </div>
-      </div>
-      <div class="person_events_box">
+      </div> -->
+      <!-- <div class="person_events_box">
         <div class="person_title">出入信息</div>
         <div class="person_event_box">
           <vue-seamless
@@ -133,8 +133,8 @@
             <div v-else>暂无数据</div>
           </vue-seamless>
         </div>
-      </div>
-      <!-- <div class="person_type_box">
+      </div> -->
+      <div class="person_type_box">
         <div class="person_title">类型统计</div>
         <div class="type_content">
           <div class="left_part">
@@ -180,7 +180,7 @@
             </div>
           </div>
         </div>
-      </div> -->
+      </div>
     </div>
   </div>
 </template>
@@ -312,9 +312,9 @@ export default {
       eventsList: [
         {
           id: "1",
-          accessControlName: "都匀门口人脸识别",
+          accessControlName: "门口人脸识别",
           eventTime: "2025-01-16 15:51:46",
-          content: "【张华亚】在门禁【都匀门口人脸识别】人脸认证通过",
+          content: "【张华亚】在门禁【门口人脸识别】人脸认证通过",
         },
         // {
         //   id: "3",
@@ -592,7 +592,7 @@ export default {
               height: 27px;
               background-image: linear-gradient(
                 90deg,
-                #53A3FF 2%,
+                #53a3ff 2%,
                 rgba(249, 40, 40, 0) 100%
               );
               display: flex;

+ 5 - 5
src/views/components/baseFooter/FooterNavigation.vue

@@ -127,10 +127,10 @@ export default {
     setBuildInfoByBuildId,
     initMap() {
       this.setBuildId("");
-      this.jumpRoute("/basePage", { buildId: "654044537953460225" });
-      setTimeout(() => {
-        this.setBuildInfoByBuildId("654044537953460225");
-      }, 500);
+      // this.jumpRoute("/basePage", { buildId: "654044537953460225" });
+      // setTimeout(() => {
+      //   this.setBuildInfoByBuildId("654044537953460225");
+      // }, 500);
     },
     jumpRoute(path, param) {
       if (!path) return;
@@ -163,7 +163,7 @@ export default {
           item.level = this.btnPositionList[index].level;
           this.btnList.push(btn);
         });
-        this.initMap(); //都匀加载驾驶舱模型//托克托不需要
+        // this.initMap(); //托克托不需要
         // console.log(this.btnList, "按钮列表");
       } catch (err) {
         console.log(err);

+ 4 - 4
src/views/components/baseHeader/left.vue

@@ -343,11 +343,11 @@ export default {
     },
     init() {
       this.setBuildId("");
-      this.jumpRoute("/basePage", { buildId: "654044537953460225" });
+      // this.jumpRoute("/basePage", { buildId: "654044537953460225" });
       this.switchMode("home");
-      setTimeout(() => {
-        this.setBuildInfoByBuildId("654044537953460225");
-      }, 1000);
+      // setTimeout(() => {
+      //   this.setBuildInfoByBuildId("654044537953460225");
+      // }, 1000);
     },
     // async getSystemMenu() {
     //   try {

+ 3 - 3
src/views/components/emergency/CardDetailDialog.vue

@@ -49,9 +49,9 @@ export default {
       show: false,
       detail: {},
       info: {
-        group: "国家管网集团西南管道公司",
-        company: "贵阳输油气分公司",
-        curStation: "都匀作业区",
+        group: "国家管网集团北京管道公司",
+        company: "内蒙古输油气分公司",
+        curStation: "托克托作业区",
       },
     };
   },

+ 3 - 3
src/views/components/emergency/ContactInfoDialog.vue

@@ -82,9 +82,9 @@ export default {
       show: false,
       rowNumber: 1,
       info: {
-        group: "国家管网集团西南管道公司",
-        company: "贵阳输油气分公司",
-        curStation: "都匀作业区",
+        group: "国家管网集团北京管道公司",
+        company: "内蒙古输油气分公司",
+        curStation: "托克托作业区",
       },
       contacts: [
         {

+ 4 - 25
vue.config.js

@@ -9,7 +9,7 @@ module.exports = {
   productionSourceMap: false,
   lintOnSave: false, // 是否开启eslint
   devServer: {
-    https: true,
+    // https: true,
     open: true,
     port: 8091,
     overlay: {
@@ -18,39 +18,18 @@ module.exports = {
     },
     proxy: {
       '/yapi': {
-        // target: 'http://39.101.177.49:5013/', // 远程服务器-皞哥
-        // target: 'http://127.0.0.1:18201/prod-api/', // 贵州现场
-        target: 'https://11.100.46.218:8080/prod-api/', // 贵都匀现场
-        // target: 'http://11.100.46.220:8080/prod-api/', // 贵州现场
-        // target: 'http://192.168.1.10:8080/prod-api/', // 贵州现场
-        // target: 'http://192.168.18.219:22102/prod-api/', // 都匀转发
-        // target: 'http://192.168.18.219:22100/prod-api/', // 托克托转发
-        // target: 'http://192.168.195.134:8080/prod-api/', // 贵州现场
         // target: 'http://172.168.0.62:8080/prod-api/', // 托克托现场
-        // target: 'http://192.168.195.136:8080/prod-api/', // 托克托本地
-        // target: 'http://192.168.1.10:8080/prod-api/', // 贵州现场
-        // target: 'http://11.100.46.220:8080/prod-api/', // 贵州现场
+        target: 'http://192.168.195.136:8080/prod-api/', // 托克托本地虚拟机
+
         // target: "http://localhost:5002", // 远程服务器-赵哥
-        // target: "http://127.0.0.1:18914/yapi/",
         changeOrigin: true,
         pathRewrite: {
           '^/yapi': '/',
         },
       },
       '/model': {
-        // target: 'http://39.101.177.49:5013/model/', //模型服务器
-        // target: 'http://127.0.0.1:18202/model/', //贵州现场
-        // target: 'http://11.100.46.220:8081/model/', //都匀现场
-        target: 'https://11.100.46.218:8081/model/', //都匀现场
-        // target: "http://192.168.70.11:8081/model/", // 静海现场
-        // target: "http://localhost:8000/model/", // 济北综合站现场服务器
-        // target: 'http://11.100.46.220:8081/model/', //贵阳模型服务器
-        // target: 'http://192.168.1.10:8081/model/', //贵阳模型服务器
-        // target: 'http://192.168.18.219:22101/model/', //托克托模型服务器转发
-        // target: 'http://192.168.18.219:22103/model/', //都匀模型服务器转发
-        // target: 'http://192.168.195.134:8081/model/', //模型服务器
         // target: 'http://172.168.0.62:8081/model/', //托克托模型现场服务器
-        // target: 'http://192.168.195.136:8081/model/', //托克托模型服务器
+        target: 'http://192.168.195.136:8081/model/', //托克托模型虚拟机
         changeOrigin: true,
         pathRewrite: {
           '^/model': '/',