Bläddra i källkod

adm:feat > 添加集团code

shaun-sheep 4 år sedan
förälder
incheckning
1bb881bc96

+ 2 - 2
config/index.js

@@ -361,8 +361,8 @@ module.exports = {
     // Paths
     assetsRoot: path.resolve(__dirname, '../dist'),
     assetsSubDirectory: 'static',
-    // assetsPublicPath: '/adm/',// 39 配置
-    assetsPublicPath: '/',
+    assetsPublicPath: '/adm/',// 39 配置
+    // assetsPublicPath: '/',
 
 
     /**

+ 2 - 2
config/prod.env.js

@@ -1,9 +1,9 @@
 'use strict'
 module.exports = {
   NODE_ENV: '"production"',
-  BASE_URL: '"http://192.168.64.14"', //测试iframe地址
+  // BASE_URL: '"http://192.168.64.14"', //测试iframe地址
   // BASE_URL: '"http://192.168.64.18"', //测试iframe地址
-  // BASE_URL: '"http://39.102.40.239"', //测试iframe地址
+  BASE_URL: '"http://39.102.40.239"', //测试iframe地址
   SSO_SERVER: '"http://mbi.sagacloud.cn"', //测试环境
   // MQTT_SERVICE: '"ws://39.102.40.239:61614/stomp/"' //MQ测试环境地址
   MQTT_SERVICE: '"ws://192.168.64.14:61614/stomp/"' //MQ测试环境地址

+ 6 - 3
src/api/scan/httpUtil.js

@@ -1,4 +1,4 @@
-import { Message } from 'element-ui';
+import {Message} from 'element-ui';
 import fetch from './fetch'
 import storage from '@/framework/utils/storage'
 
@@ -52,12 +52,13 @@ export default {
     let ProjectId = localStorage.getItem("projectId")
     // let ProjectId = "Pj1101050029"
     let userName = storage.get("user_name")
+    let group_code = localStorage.getItem("group_code")
     let vm = this;
     fetch({
       url: url,
       method: 'get',
       params: data,
-      headers: { 'ProjectId': ProjectId, 'Comming': 'adm', 'Account': userName }
+      headers: {'ProjectId': ProjectId, 'Comming': 'adm', 'Account': userName, 'group_code': group_code}
     }).then((response) => {
       successResponse(vm, response, success, failed)
     }).catch(error => {
@@ -68,12 +69,14 @@ export default {
     let ProjectId = localStorage.getItem("projectId")
     // let ProjectId = "Pj1101050029"
     let userName = storage.get("user_name")
+    let group_code = localStorage.getItem("group_code")
+
     let vm = this;
     fetch({
       url: url,
       method: 'post',
       data: data,
-      headers: { 'ProjectId': ProjectId, 'Comming': 'adm', 'Account': userName }
+      headers: {'ProjectId': ProjectId, 'Comming': 'adm', 'Account': userName, 'group_code': group_code}
     }).then((response) => {
       successResponse(vm, response, success, failed)
     }).catch(error => {

+ 5 - 5
src/components/business_space/business/handsontable.vue

@@ -95,7 +95,7 @@ import {
   zoneQuery,
   zoneUpdate
 } from "@/api/scan/request";
-import { mapGetters } from "vuex";
+import {mapGetters} from "vuex";
 import dialogZone from "../../ledger/addDialog/dialogZone";
 
 export default {
@@ -112,11 +112,11 @@ export default {
     spaceCascader,
   },
   computed: {
-    ...mapGetters("layout", ["projectId", "secret", "userId"]),
+    ...mapGetters("layout", ["projectId", "secret", "userId", "group_code"]),
     showTypes() {
       return this.onlyRead ?
-        [{ value: "Visible", label: '只看采集信息' }, { value: "all", label: '全部' }] :
-        [{ value: "Visible", label: '只看采集信息' }, { value: "all", label: '全部' }]
+        [{value: "Visible", label: '只看采集信息'}, {value: "all", label: '全部'}] :
+        [{value: "Visible", label: '只看采集信息'}, {value: "all", label: '全部'}]
     }
   },
   data() {
@@ -643,7 +643,7 @@ export default {
     //获取动态参数
     getBatch(data) {
       let param = {
-        groupCode: "WD",
+        groupCode: this.group_code,
         appId: "datacenter",
         projectId: this.projectId,
         data: []

+ 6 - 6
src/components/ledger/handsontables/assets.vue

@@ -129,7 +129,7 @@ import {
   queryProperty,
   updateProperty
 } from "@/api/scan/request";
-import { getDataDictionary } from "@/api/dict";
+import {getDataDictionary} from "@/api/dict";
 import tools from "@/utils/scan/tools"
 import handsonUtils from "@/utils/scan/hasontableUtils"
 import showTools from "@/utils/handsontable/notShow"
@@ -143,7 +143,7 @@ import myPagination from "@/components/common/myPagination"
 import myCascader from "@/components/ledger/lib/assets"
 import floorCascader from "@/components/ledger/lib/floorCascader"
 import dieCascader from "@/components/ledger/lib/partsDieList"
-import { mapGetters } from "vuex"
+import {mapGetters} from "vuex"
 //图片查看
 import lookPic from "@/components/ledger/lib/lookImages"
 import Handsontable from "handsontable-pro"
@@ -173,11 +173,11 @@ export default {
     buildFloor.getData(this.buildFloorData)
   },
   computed: {
-    ...mapGetters("layout", ["projectId", "secret", "userId"]),
+    ...mapGetters("layout", ["projectId", "secret", "userId", 'group_code']),
     showTypes() {
       return this.onlyRead ?
-        [{ value: "Visible", label: '只看采集信息' }, { value: "all", label: '全部' }] :
-        [{ value: "Visible", label: '只看采集信息' }, { value: "all", label: '全部' }]
+        [{value: "Visible", label: '只看采集信息'}, {value: "all", label: '全部'}] :
+        [{value: "Visible", label: '只看采集信息'}, {value: "all", label: '全部'}]
     }
   },
   data() {
@@ -400,7 +400,7 @@ export default {
     //获取动态参数
     getBatch(data) {
       let param = {
-        groupCode: "WD",
+        groupCode: this.group_code,
         appId: "datacenter",
         projectId: this.projectId,
         data: []

+ 2 - 2
src/components/ledger/handsontables/device.vue

@@ -151,7 +151,7 @@ export default {
     buildFloor.getData(this.buildFloorData);
   },
   computed: {
-    ...mapGetters("layout", ["projectId", "secret", "userId"]),
+    ...mapGetters("layout", ["projectId", "secret", "userId", "group_code"]),
     showTypes() {
       return this.onlyRead
         ? [
@@ -459,7 +459,7 @@ export default {
     //获取动态参数
     getBatch(data) {
       let param = {
-        groupCode: "WD",
+        groupCode: this.group_code,
         appId: "datacenter",
         projectId: this.projectId,
         data: []

+ 7 - 12
src/components/ledger/handsontables/system.vue

@@ -64,13 +64,8 @@
   </div>
 </template>
 <script>
-import {
-  BeatchQueryParam,
-  querySysLinkBuild,
-  updateGeneralSys,
-  deleteGeneralSys
-} from "@/api/scan/request"
-import { getDataDictionary } from "@/api/dict";
+import {BeatchQueryParam, deleteGeneralSys, querySysLinkBuild, updateGeneralSys} from "@/api/scan/request"
+import {getDataDictionary} from "@/api/dict";
 
 import myCascader from "@/components/ledger/lib/system";
 import tools from "@/utils/scan/tools";
@@ -88,7 +83,7 @@ import text from "@/utils/handsontable/mainText"
 import 'handsontable-pro/dist/handsontable.full.css'
 import editSysfloor from "@/components/ledger/lib/editSysFloor";
 
-import { mapGetters } from "vuex";
+import {mapGetters} from "vuex";
 
 export default {
   components: {
@@ -103,11 +98,11 @@ export default {
     editSysfloor
   },
   computed: {
-    ...mapGetters("layout", ["projectId", "secret", "userId"]),
+    ...mapGetters("layout", ["projectId", "secret", "userId", "group_code"]),
     showTypes() {
       return this.onlyRead ?
-        [{ value: "Visible", label: '只看采集信息' }, { value: "all", label: '全部' }] :
-        [{ value: "Visible", label: '只看采集信息' }, { value: "all", label: '全部' }]
+        [{value: "Visible", label: '只看采集信息'}, {value: "all", label: '全部'}] :
+        [{value: "Visible", label: '只看采集信息'}, {value: "all", label: '全部'}]
     }
   },
   data() {
@@ -331,7 +326,7 @@ export default {
     //获取动态参数
     getBatch(data) {
       let param = {
-        groupCode: "WD",
+        groupCode: this.group_code,
         appId: "datacenter",
         projectId: this.projectId,
         data: []

+ 111 - 89
src/framework/layout/layout-store.js

@@ -23,117 +23,135 @@ export default {
       "system:role:setOpts": true
     },
     projectId: 'Pj1101051029',
-    projects: [
-      {
-        id: "Pj1101051029",
-        name: "北京万达广场",
-        pwd: "saga123456"
-      },
-      {
-        id: "Pj1101050029",
-        name: "东坝万达广场",
-        pwd: "saga123456"
-      },
-      {
-        id: "Pj4403070003",
-        name: "深圳龙岗万达广场",
-        pwd: "saga123456"
-      },
-      {
-        id: "Pj5001120003",
-        name: "香港置地约克北郡",
-        pwd: "saga123456"
-      },
-
-      {
-        id: "Pj1101050013",
-        name: "BIM测试项目_亚投行",
-        pwd: "saga123456"
-      },
-      {
-        id: "Pj1101080259",
-        name: "博锐尚格北京总部办公楼",
-        pwd: "saga123456"
-      },], // 14 全平台测试环境
-    // projects: [
+    group_code: '',
+    // projects: [ // 14 全平台测试环境
     //   {
     //     id: "Pj1101051029",
     //     name: "北京万达广场",
-    //     pwd: "saga123456"
-    //   }, {
-    //     id: "Pj0001110001",
-    //     name: "飞龙商场",
-    //     pwd: "saga123456"
+    //     pwd: "saga123456",
+    //     group_code: "WD"
     //   },
     //   {
     //     id: "Pj1101050029",
     //     name: "东坝万达广场",
-    //     pwd: "saga123456"
+    //     pwd: "saga123456",
+    //     group_code: "WD"
     //   },
     //   {
     //     id: "Pj4403070003",
     //     name: "深圳龙岗万达广场",
-    //     pwd: "saga123456"
+    //     pwd: "saga123456",
+    //     group_code: "WD"
     //   },
-    //     {
-    //       id: "Pj4403050019",
-    //       name: "招商深圳太子广场汇港二期",
-    //       pwd: "saga123456"
-    //     },
     //   {
     //     id: "Pj5001120003",
     //     name: "香港置地约克北郡",
-    //     pwd: "saga123456"
+    //     pwd: "saga123456",
+    //     group_code: "XG"
     //   },
-    //     {
-    //       id: "Pj3201110003",
-    //       name: "弘阳集团弘云智慧管理平台",
-    //       pwd: "saga123456"
-    //     }, {
-    //       id: "Pj3702020002",
-    //       name: "青岛海天中心",
-    //       pwd: "saga123456"
-    //     }, {
-    //       id: "Pj1101010006",
-    //       name: "亚投行",
-    //       pwd: "saga123456"
-    //     },
+    //
     //   {
     //     id: "Pj1101050013",
     //     name: "BIM测试项目_亚投行",
-    //     pwd: "saga123456"
+    //     pwd: "saga123456",
+    //     group_code: "BT"
+    //
     //   },
     //   {
     //     id: "Pj1101080259",
     //     name: "博锐尚格北京总部办公楼",
-    //     pwd: "saga123456"
-    //   },
-    //     {
-    //       id: "Pj1101150002",
-    //       name: "华润生命科学园",
-    //       pwd: "saga123456"
-    //     },{
-    //       id: "Pj3101150007",
-    //       name: "招商上海森兰花园城",
-    //       pwd: "saga123456"
-    //     },{
-    //       id: "Pj5101080004",
-    //       name: "成都招商花园城",
-    //       pwd: "saga123456"
-    //     },{
-    //       id: "Pj3201130004",
-    //       name: "招商南京燕子矶花园城",
-    //       pwd: "saga123456"
-    //     },{
-    //       id: "Pj3702120001",
-    //       name: "金融中心",
-    //       pwd: "saga123456"
-    //     },{
-    //       id: "Pj1101051130",
-    //       name: "万达模型测试项目2",
-    //       pwd: "saga123456"
-    //     }
-    // ],  // 39,18环境
+    //     pwd: "saga123456",
+    //     group_code: "BR"
+    //
+    //   },],
+    projects: [// 39,18环境
+      {
+        id: "Pj1101051029",
+        name: "北京万达广场",
+        pwd: "saga123456",
+        group_code: "WD"
+      }, {
+        id: "Pj0001110001",
+        name: "飞龙商场",
+        pwd: "saga123456",
+        group_code: "WD"
+      }, {
+        id: "Pj1101050029",
+        name: "东坝万达广场",
+        pwd: "saga123456",
+        group_code: "WD"
+      }, {
+        id: "Pj4403070003",
+        name: "深圳龙岗万达广场",
+        pwd: "saga123456",
+        group_code: "WD"
+      }, {
+        id: "Pj4403050019",
+        name: "招商深圳太子广场汇港二期",
+        pwd: "saga123456",
+        group_code: "ZS"
+      }, {
+        id: "Pj5001120003",
+        name: "香港置地约克北郡",
+        pwd: "saga123456",
+        group_code: "XG"
+      }, {
+        id: "Pj3201110003",
+        name: "弘阳集团弘云智慧管理平台",
+        pwd: "saga123456",
+        group_code: "HY"
+      }, {
+        id: "Pj3702020002",
+        name: "青岛海天中心",
+        pwd: "saga123456",
+        group_code: "GX"
+      }, {
+        id: "Pj1101010006",
+        name: "亚投行",
+        pwd: "saga123456",
+        group_code: "BT"
+      }, {
+        id: "Pj1101050013",
+        name: "BIM测试项目_亚投行",
+        pwd: "saga123456",
+        group_code: "BT"
+      }, {
+        id: "Pj1101080259",
+        name: "博锐尚格北京总部办公楼",
+        pwd: "saga123456",
+        group_code: "BR"
+      }, {
+        id: "Pj1101150002",
+        name: "华润生命科学园",
+        pwd: "saga123456",
+        group_code: "WD"
+      }, {
+        id: "Pj3101150007",
+        name: "招商上海森兰花园城",
+        pwd: "saga123456",
+        group_code: "WD"
+      }, {
+        id: "Pj5101080004",
+        name: "成都招商花园城",
+        pwd: "saga123456",
+        group_code: "WD"
+      }, {
+        id: "Pj3201130004",
+        name: "招商南京燕子矶花园城",
+        pwd: "saga123456",
+        group_code: "WD"
+      }, {
+        id: "Pj3702120001",
+        name: "金融中心",
+        pwd: "saga123456",
+        group_code: "WD"
+      }, {
+        id: "Pj1101051130",
+        name: "万达模型测试项目2",
+        pwd: "saga123456",
+        group_code: "WD"
+      }
+    ],
     breadcrumb: [],
     uploaderList: [], //当前上传文件列表
     secret: "saga123456", //项目密码
@@ -168,6 +186,7 @@ export default {
       }
       return state.projectId
     },
+    group_code: state => state.group_code,
     breadcrumb: state => {
       if (!state.breadcrumb) {
         let arr = storage.get(KEY_PAGE_BRANDCRUMB)
@@ -204,6 +223,8 @@ export default {
       state.projects.map((item) => {
         if (item.id == val) {
           state.secret = item.pwd
+          state.group_code = item.group_code
+          localStorage.setItem('group_code', item.group_code)
           localStorage.setItem('secret', item.pwd)
         }
       })
@@ -245,7 +266,8 @@ export default {
                 state.projects.push({
                   id: proj.ProjId,
                   name: proj.ProjLocalName,
-                  pwd: proj.Secret ? proj.Secret : ""
+                  pwd: proj.Secret ? proj.Secret : "",
+                  // group_code
                 })
               )
             }

+ 7 - 12
src/views/ledger/cenotelist/index.vue

@@ -55,18 +55,17 @@
 import tools from "@/utils/scan/tools"
 import handsonUtils from "@/utils/hasontableUtils"
 import showTools from "@/utils/handsontable/notShow"
-import text from "@/utils/handsontable/mainText"
 import cenoteType from "@/components/ledger/lib/cenoteType";
 import handsonTable from "@/components/common/handsontable";
-import { getDataDictionary } from "@/api/dict";
+import {getDataDictionary} from "@/api/dict";
 import {
-  queryCenoteTableData,
-  updataCenoteTableData,
+  BeatchQueryParam,
   deleteCenoteTableData,
+  queryCenoteTableData,
   saveCenoteRelateSpace,
-  BeatchQueryParam
+  updataCenoteTableData
 } from "@/api/scan/request"
-import { mapGetters, mapActions } from "vuex";
+import {mapGetters} from "vuex";
 
 export default {
   components: {
@@ -117,11 +116,7 @@ export default {
     };
   },
   computed: {
-    ...mapGetters("layout", [
-      "projectId",
-      "secret",
-      "userId"
-    ]),
+    ...mapGetters("layout", ["projectId", "secret", "userId", "group_code"]),
     showTypes() {
       return this.onlyRead ?
         [{ value: "Visible", label: '只看采集信息' }, { value: "all", label: '全部' }] :
@@ -489,7 +484,7 @@ export default {
     //获取动态参数
     getBatch(data) {
       let param = {
-        groupCode: "WD",
+        groupCode: this.group_code,
         appId: "datacenter",
         projectId: this.projectId,
         data: []

+ 6 - 6
src/views/ledger/facility/details/index.vue

@@ -79,10 +79,10 @@ import exhibitionEnergy from "@/components/ledger/details/detail/exhibitionEnerg
 import exhibitionMaintain from "@/components/ledger/details/detail/exhibitionMaintain";
 import selectRadio from "@/components/ledger/details/detail/selectRadio";
 import tools from "@/utils/scan/tools"
-import { BeatchQueryParam } from "@/api/scan/request";
-import { getDataDictionary } from "@/api/dict";
-import { queryEquip } from "@/api/object/equip"
-import { mapGetters } from "vuex";
+import {BeatchQueryParam} from "@/api/scan/request";
+import {getDataDictionary} from "@/api/dict";
+import {queryEquip} from "@/api/object/equip"
+import {mapGetters} from "vuex";
 
 export default {
   name: "deviceDetails",
@@ -105,7 +105,7 @@ export default {
     this.getData();
   },
   computed: {
-    ...mapGetters("layout", ["projectId", "secret", "userId"])
+    ...mapGetters("layout", ["projectId", "secret", "userId", "group_code"])
   },
   data() {
     return {
@@ -229,7 +229,7 @@ export default {
           }
         })
         let params = { //获取动态参数
-          groupCode: "WD",
+          groupCode: this.group_code,
           appId: "datacenter",
           projectId: this.projectId,
           data: []

+ 5 - 12
src/views/ledger/facility/parts/index.vue

@@ -46,9 +46,7 @@
 </template>
 <script>
 import tools from "@/utils/scan/tools";
-import handsonUtils from "@/utils/hasontableUtils";
 import showTools from "@/utils/handsontable/notShow";
-import text from "@/utils/handsontable/mainText";
 
 import qrcode from "@/components/ledger/lib/qrcode";
 import firm from "@/components/dialogs/list/firm";
@@ -62,14 +60,9 @@ import uploadImgDialog from "@/components/dialogs/list/uploadImgDialog";
 import picDialog from "@/components/dialogs/list/picDialog";
 import systemType from "@/components/dialogs/list/systemType";
 import handsonTable from "@/components/common/handsontable";
-import {
-  getEquipPartsType,
-  getEquipPartsCon,
-  deleteParts,
-  BeatchQueryParam
-} from "@/api/scan/request";
-import { getDataDictionary } from "@/api/dict";
-import { mapGetters, mapActions } from "vuex";
+import {BeatchQueryParam, deleteParts, getEquipPartsCon, getEquipPartsType} from "@/api/scan/request";
+import {getDataDictionary} from "@/api/dict";
+import {mapGetters} from "vuex";
 
 export default {
   components: {
@@ -140,7 +133,7 @@ export default {
     };
   },
   computed: {
-    ...mapGetters("layout", ["projectId", "secret", "userId"])
+    ...mapGetters("layout", ["projectId", "secret", "userId", "group_code"])
   },
   created() {
     this.queryParam = this.$route.query;
@@ -477,7 +470,7 @@ export default {
     //获取动态参数
     getBatch(data) {
       let param = {
-        groupCode: "WD",
+        groupCode: this.group_code,
         appId: "datacenter",
         projectId: this.projectId,
         data: []

+ 9 - 11
src/views/ledger/rentlist/index.vue

@@ -64,20 +64,18 @@
 import tools from "@/utils/scan/tools"
 import handsonUtils from "@/utils/hasontableUtils"
 import showTools from "@/utils/handsontable/notShow"
-import text from "@/utils/handsontable/mainText"
 import roomCountDrawer from "@/components/ledger/rentList/roomCountDrawer"
 import floorCascader from "@/components/ledger/lib/floorCascader"
 import handsonTable from "@/components/common/handsontable"
-import { getDataDictionary } from "@/api/dict";
+import {getDataDictionary} from "@/api/dict";
 import {
-  getRentTableHeader,
-  queryRentTableData,
-  updataRentTableData,
+  BeatchQueryParam,
   deleteRentTableData,
+  queryRentTableData,
   saveRentRelateSpace,
-  BeatchQueryParam
+  updataRentTableData
 } from "@/api/scan/request"
-import { mapGetters, mapActions } from "vuex";
+import {mapGetters} from "vuex";
 
 export default {
   components: {
@@ -130,11 +128,11 @@ export default {
     };
   },
   computed: {
-    ...mapGetters("layout", ["projectId", "secret", "userId"]),
+    ...mapGetters("layout", ["projectId", "secret", "userId", "group_code"]),
     showTypes() {
       return this.onlyRead ?
-        [{ value: "Visible", label: '只看采集信息' }, { value: "all", label: '全部' }] :
-        [{ value: "Visible", label: '只看采集信息' }, { value: "all", label: '全部' }]
+        [{value: "Visible", label: '只看采集信息'}, {value: "all", label: '全部'}] :
+        [{value: "Visible", label: '只看采集信息'}, {value: "all", label: '全部'}]
     }
   },
   created() {
@@ -520,7 +518,7 @@ export default {
     //获取动态参数
     getBatch(data) {
       let param = { //获取动态参数
-        groupCode: "WD",
+        groupCode: this.group_code,
         appId: "datacenter",
         projectId: this.projectId,
         data: []

+ 5 - 5
src/views/ledger/spacelist/spaceDetail/index.vue

@@ -61,10 +61,10 @@
 </template>
 
 <script>
-import { mapGetters } from "vuex";
+import {mapGetters} from "vuex";
 import tools from "@/utils/scan/tools";
-import { BeatchQueryParam, zoneDelete, zoneQuery } from '@/api/scan/request';
-import { getDataDictionary } from "@/api/dict";
+import {BeatchQueryParam, zoneDelete, zoneQuery} from '@/api/scan/request';
+import {getDataDictionary} from "@/api/dict";
 
 import eqToSpaceTable from '@/components/business_space/newTables/eqToSpaceTable';
 import syInSpaceTable from '@/components/business_space/newTables/syInSpaceTable';
@@ -149,7 +149,7 @@ export default {
     }
   },
   computed: {
-    ...mapGetters("layout", ["projectId", "userId", "secret"])
+    ...mapGetters("layout", ["projectId", "userId", "secret", 'group_code'])
   },
   components: {
     eqToSpaceTable,
@@ -234,7 +234,7 @@ export default {
           }
         })
         let params = { //获取动态参数
-          groupCode: "WD",
+          groupCode: this.group_code,
           appId: "datacenter",
           projectId: this.projectId,
           data: []

+ 5 - 4
src/views/screen/splitscreen/spaceledger/index.vue

@@ -117,12 +117,12 @@
 </template>
 
 <script>
-import { BeatchQueryParam, floorQuery, zoneQuery, zoneQueryOutline } from '@/api/scan/request'
-import { getDataDictionary } from "@/api/dict";
+import {BeatchQueryParam, floorQuery, zoneQuery, zoneQueryOutline} from '@/api/scan/request'
+import {getDataDictionary} from "@/api/dict";
 
 import eqToSpaceTable from '@/components/business_space/newTables/eqToSpaceTable'
 import syInSpaceTable from '@/components/business_space/newTables/syInSpaceTable'
-import { DivideFloorScene, FloorView } from "@saga-web/cad-engine/lib";
+import {DivideFloorScene, FloorView} from "@saga-web/cad-engine/lib";
 import tools from "@/utils/scan/tools";
 import exhibitionBaseInformation from "@/components/ledger/details/detail/exhibitionBaseInformation";
 
@@ -303,6 +303,7 @@ export default {
     getInFormationPoitnName() {// 获取动态数据
       let proId = localStorage.getItem('projectId');
       let secret = localStorage.getItem('secret');
+      let group_code = localStorage.getItem('group_code');
       let params = {
         filters: 'category != STATIC',
         orders: "sort asc",
@@ -311,7 +312,7 @@ export default {
         type: this.$route.query.zone
       }
       let param = {
-        groupCode: "WD",
+        groupCode: group_code,
         appId: "datacenter",
         projectId: this.projectId,
         data: []