From e5e65bb50cbfb973f98191993ab559767eff7a53 Mon Sep 17 00:00:00 2001 From: suerprisePlus <15810472099@163.com> Date: 星期二, 30 七月 2024 17:06:34 +0800 Subject: [PATCH] 页面添加(知识图谱,数据统计,数据分析,站点管理) --- src/api/mapView/map.js | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 58 insertions(+), 1 deletions(-) diff --git a/src/api/mapView/map.js b/src/api/mapView/map.js index 72b9793..8125790 100644 --- a/src/api/mapView/map.js +++ b/src/api/mapView/map.js @@ -1,6 +1,63 @@ -import mapServer from '../../utils/mapServer/mapServer'; +import mapServer from '@/utils/mapServer/mapServer'; +import kgServer from '@/utils/mapServer/kgServer'; //閰嶇綉鎺ュ彛 => 鏌ヨ鎵�鏈� export function zhangzitou_selectAllLine(params) { return mapServer.get('/zhangzitou/selectAllLine', { params: params }); } +//鍥惧眰绠$悊 => 鏌ヨ鎵�鏈� +export function layer_selectAll(params) { + return mapServer.get('/layer/selectAll', { params: params }); +} +//鍥惧眰绠$悊 => 鏂板鍥惧眰 +export function layer_insert(params) { + return mapServer.post('/layer/insert', params); +} +//鍥惧眰绠$悊=> 鍒犻櫎鍥惧眰 +export function layer_delete(params) { + return mapServer.get('/layer/delete', { params: params }); +} + +//鍥惧眰绠$悊=> 鍒犻櫎鍥惧眰 +export function layer_updates(params) { + return mapServer.post('/layer/updates', params); +} +//鍥惧眰绠$悊=> 鏇存柊涓�鏉� +export function layer_update(params) { + return mapServer.post('/layer/update', params); +} + +//閰嶇綉鎺ュ彛 => 鏌ヨ鎵�鏈� +export function zhangzitou_selectAll(params) { + return mapServer.get('/zhangzitou/selectAll', { params: params }); +} +//鍥捐氨鏌ヨ鎺ュ彛 +export function kg_getGraph(params) { + return kgServer.post('/kg/getGraph', params); +} +//鍥捐氨鏌ヨ鎺ュ彛 +export function kg_queryGraphResult(params) { + return kgServer.post('/kg/queryGraphResult', params); +} + +//閰嶇綉鎺ュ彛 => 鏁版嵁缁熻 +export function zhangzitou_selectInfos(params) { + return mapServer.get('/zhangzitou/selectInfos', { params: params }); +} +//閰嶇綉鎺ュ彛 => 鏁版嵁缁熻=>绾胯矾 +export function zhangzitou_deleteZhangzitouEntitys(params) { + return mapServer.get('/zhangzitou/deleteZhangzitouEntitys', { params: params }); +} + +//閰嶇綉鎺ュ彛 => 绔欑偣鏂板 +export function zhangzitou_insertZhangzitouEntity(params) { + return mapServer.post('/zhangzitou/insertZhangzitouEntity', params); +} +//閰嶇綉鎺ュ彛 => 淇敼绔欑偣 +export function zhangzitou_updateZhangzitouEntity(params) { + return mapServer.post('/zhangzitou/updateZhangzitouEntity', params); +} +// //閰嶇綉鎺ュ彛 => 鍒犻櫎绔欑偣 +// export function zhangzitou_deleteZhangzitouEntitys(params) { +// return mapServer.get('/zhangzitou/deleteZhangzitouEntitys', { params: params } ); +// } \ No newline at end of file -- Gitblit v1.9.3