diff --git a/src/api/simulation.js b/src/api/simulation.js index 9d14b4848..b6d9befbb 100644 --- a/src/api/simulation.js +++ b/src/api/simulation.js @@ -537,3 +537,11 @@ export function queryPaTimedList(group, params) { params }); } +/** 创建仿真 */ +export function createSimulation(data) { + return request({ + url: `/simulation/new`, + method: 'post', + data + }); +} diff --git a/src/api/trainingPlatform.js b/src/api/trainingPlatform.js index 6a3d9a6b2..bfc43829e 100644 --- a/src/api/trainingPlatform.js +++ b/src/api/trainingPlatform.js @@ -75,4 +75,34 @@ export function getSubSystemByProjectCode() { method: 'get' }); } - +/** 创建地图系统 */ +export function createMapSystem(data) { + return request({ + url: `/api/mapSystem/new`, + method: 'post', + data + }); +} +/** 列表查询地图系统 */ +export function queryMapSystemList(params) { + return request({ + url: `/api/mapSystem/new/list`, + method: 'get', + params + }); +} +/** 更新地图系统 */ +export function updateMapSystem(data) { + return request({ + url: `/api/mapSystem/new/${data.id}`, + method: 'post', + data + }); +} +/** 删除地图系统 */ +export function deleteMapSystem(id) { + return request({ + url: `/api/mapSystem/new/${id}`, + method: 'delete' + }); +} diff --git a/src/jmapNew/theme/fuzhou_01/menus/index.vue b/src/jmapNew/theme/fuzhou_01/menus/index.vue index e1116e3eb..9ad384693 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/index.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/index.vue @@ -1,6 +1,6 @@