From d4a3ca549f8755c2f87442c27217c3be39cab5cc Mon Sep 17 00:00:00 2001 From: suerprisePlus <15810472099@163.com> Date: 星期三, 14 八月 2024 16:00:10 +0800 Subject: [PATCH] 设备维修 --- src/api/mapView/map.js | 61 +++++++++++++++++++++++++++++- 1 files changed, 59 insertions(+), 2 deletions(-) diff --git a/src/api/mapView/map.js b/src/api/mapView/map.js index 72b9793..acbdd5e 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'; +import pyServer from '@/utils/mapServer/pyServer'; //閰嶇綉鎺ュ彛 => 鏌ヨ鎵�鏈� 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 py_arima(params) { + return pyServer.get('/arima', { params: params }); +} \ No newline at end of file -- Gitblit v1.9.3