diff --git a/src/api/jmap/map.js b/src/api/jmap/map.js
index 8fc96dde9..96d2d73d8 100644
--- a/src/api/jmap/map.js
+++ b/src/api/jmap/map.js
@@ -182,7 +182,7 @@ export function localImportMap(data) {
url: '/api/map/local/import',
method: 'post',
data: data
- });
+ });
}
/** 根据group获取排序的车站列表(包含车辆段/停车场) */
@@ -307,3 +307,10 @@ export function queryMapListByUser() {
method: 'get'
});
}
+/** 根据mapId获取客户端信息数据 */
+export function getClientDataById(mapId) {
+ return request({
+ url: `/api/map/${mapId}/mapClientMap`,
+ method: 'get'
+ });
+}
diff --git a/src/store/modules/map.js b/src/store/modules/map.js
index fff42df2d..4249097ef 100644
--- a/src/store/modules/map.js
+++ b/src/store/modules/map.js
@@ -846,8 +846,12 @@ const map = {
map.conversationGroupMap.EMERGENCY = [];
}
}
- if (!map.mapClientVOList) {
- map.mapClientVOList = [];
+ if (!map.mapClientVOMap) {
+ map.mapClientVOMap = { METRO: [], RAILWAY: [], EMERGENCY: [] };
+ } else {
+ if (!map.mapClientVOMap.METRO) { map.mapClientVOMap.METRO = []; }
+ if (!map.mapClientVOMap.RAILWAY) { map.mapClientVOMap.RAILWAY = []; }
+ if (!map.mapClientVOMap.EMERGENCY) { map.mapClientVOMap.EMERGENCY = []; }
}
state.map = map;
let showConfig = {};
diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js
index 6151b9016..88ca6c631 100644
--- a/src/utils/baseUrl.js
+++ b/src/utils/baseUrl.js
@@ -31,7 +31,7 @@ export function handlerUrl() {
// BASE_API = 'http://192.168.3.94:9000'; // 旭强
// BASE_API = 'http://192.168.3.15:9000'; // 张赛
// BASE_API = 'http://192.168.3.5:9000'; // 夏增彬
- // BASE_API = 'http://192.168.3.37:9000'; // 卫志宏
+ BASE_API = 'http://192.168.3.37:9000'; // 卫志宏
// BASE_API = 'http://b29z135112.zicp.vip';
// BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康
// BASE_API = 'http://2i38984j47.qicp.vip'; // 张赛
diff --git a/src/views/newMap/newMapdraft/mapoperate/index.vue b/src/views/newMap/newMapdraft/mapoperate/index.vue
index 512017338..13804d5ba 100644
--- a/src/views/newMap/newMapdraft/mapoperate/index.vue
+++ b/src/views/newMap/newMapdraft/mapoperate/index.vue
@@ -70,7 +70,7 @@ import FloodGate from './floodGate';
import DirectionRod from './directionRod';
import SignalButton from './signalButton';
import SimulationMember from './simulationMember/index';
-import terminals from './terminals';
+import terminals from './terminals/terminals';
export default {
name: 'MapOperate',
diff --git a/src/views/newMap/newMapdraft/mapoperate/terminals/list.vue b/src/views/newMap/newMapdraft/mapoperate/terminals/list.vue
new file mode 100644
index 000000000..c3452b96e
--- /dev/null
+++ b/src/views/newMap/newMapdraft/mapoperate/terminals/list.vue
@@ -0,0 +1,69 @@
+
+
+
+ 名称
+ 客户端类型
+ 设备
+ 操作
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ --
+
+
+ 删除
+
+
+
+
+
+
+
+
diff --git a/src/views/newMap/newMapdraft/mapoperate/terminals.vue b/src/views/newMap/newMapdraft/mapoperate/terminals/terminals.vue
similarity index 70%
rename from src/views/newMap/newMapdraft/mapoperate/terminals.vue
rename to src/views/newMap/newMapdraft/mapoperate/terminals/terminals.vue
index 59a0acf8a..781aff016 100644
--- a/src/views/newMap/newMapdraft/mapoperate/terminals.vue
+++ b/src/views/newMap/newMapdraft/mapoperate/terminals/terminals.vue
@@ -1,33 +1,17 @@
-
-
- 名称
- 客户端类型
- 设备
- 操作
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- --
-
-
- 删除
-
-
-
+
+
+
+
+
+
+
+
+
+
+