diff --git a/src/api/area-category.js b/src/api/area-category.js new file mode 100644 index 0000000..fd3d2f3 --- /dev/null +++ b/src/api/area-category.js @@ -0,0 +1,33 @@ +/* + * @Author: gg + * @Date: 2021-12-07 11:39:21 + * @LastEditTime: 2021-12-07 11:48:22 + * @LastEditors: Please set LastEditors + * @Description: 新增/编辑自动报警分类 自动报警分类查询(分页) + * @FilePath: \GpsCardAdmin\src\api\area-category.js + */ +import request from '@/utils/request' +export const APILimits = { + AreaCategoryQuery, + AddAreaCategory +}; +export default APILimits; + + +export function AreaCategoryQuery(data) { + return request({ + url: '/api/v1/Fence/AreaCategoryQuery', + method: 'post', + data + }) + } + + export function AddAreaCategory(data) { + return request({ + url: '/api/v1/Fence/AddAreaCategory', + method: 'post', + data + }) + } + + \ No newline at end of file diff --git a/src/api/off-limits-type.js b/src/api/off-limits-type.js new file mode 100644 index 0000000..47406ed --- /dev/null +++ b/src/api/off-limits-type.js @@ -0,0 +1,42 @@ +/* + * @Author:gg + * @Date: 2021-12-02 18:04:02 + * @LastEditTime: 2021-12-07 11:47:46 + * @LastEditors: Please set LastEditors + * @Description: 禁入场景类别 新增 更新 删除 + * @FilePath: \GpsCardAdmin\src\api\off-limits-type.js + */ +import request from '@/utils/request' + +/* export function addSencens(data) { + return request({ + url: '/Sencens/add', + method: 'post', + data + }) + } */ + + + export function addType(data) { + return request({ + url: '/api/v1/Fence/AddAreaCategory', + method: 'post', + data + }) + } + + export function UpdateType(data) { + return request({ + url: '/LimitsType/Update', + method: 'post', + data + }) + } + + export function DelType(data) { + return request({ + url: '/LimitsType/Del', + method: 'post', + data + }) + } \ No newline at end of file diff --git a/src/views/off-limits-manage/off-limits-main/off-limits-type/index.vue b/src/views/off-limits-manage/off-limits-main/off-limits-type/index.vue index af46511..8c1258c 100644 --- a/src/views/off-limits-manage/off-limits-main/off-limits-type/index.vue +++ b/src/views/off-limits-manage/off-limits-main/off-limits-type/index.vue @@ -1,332 +1,241 @@ -