From 929cf4c7be11bfd1e134d0cb0d7cbbe94772ebdf Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期一, 07 九月 2020 15:35:14 +0800 Subject: [PATCH] 摄像机树增加导入功能 --- src/api/scene.ts | 40 ++++++++++++++++++++-------------------- 1 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/api/scene.ts b/src/api/scene.ts index ca76cd8..8a058e6 100644 --- a/src/api/scene.ts +++ b/src/api/scene.ts @@ -1,27 +1,27 @@ import request from "@/scripts/httpRequest"; -export const getAllTemplate = (query: any) => { - return request({ - url: "/data/api-v/template/rule", - method: "get", - params: query - }); -}; +// export const getAllTemplate = (query: any) => { +// return request({ +// url: "/data/api-v/template/rule", +// method: "get", +// params: query +// }); +// }; -export const deleteTemplate = (id: string) => { - return request({ - url: "/data/api-v/template/rule/" + id, - method: "delete" - }); -}; +// export const deleteTemplate = (id: string) => { +// return request({ +// url: "/data/api-v/template/rule/" + id, +// method: "delete" +// }); +// }; -export const saveTemplate = (params: any) => { - return request({ - url: "/data/api-v/template/rule/save", - method: "post", - data: params - }); -}; +// export const saveTemplate = (params: any) => { +// return request({ +// url: "/data/api-v/template/rule/save", +// method: "post", +// data: params +// }); +// }; export const saveCameraScene = (params: any) => { return request({ -- Gitblit v1.8.0