From fd13b0017518273406ee1a9906c07d079e4a9ac4 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期三, 27 十一月 2024 17:54:52 +0800 Subject: [PATCH] 租户列表 套餐宽度固定180 --- src/api/data/da/point/index.ts | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/src/api/data/da/point/index.ts b/src/api/data/da/point/index.ts index bb0a516..366f331 100644 --- a/src/api/data/da/point/index.ts +++ b/src/api/data/da/point/index.ts @@ -23,6 +23,7 @@ pointName?: string } + // 查询DaPoint列表 export const getDaPointPage = (params: DaPointPageReqVO) => { return request.get({ url: '/data/da/point/page', params }) @@ -62,3 +63,15 @@ export const importPointTemplate = () => { return request.download({ url: '/data/da/point/get-import-template' }) } + +// 启用 +export const enable = (ids) => { + const data = ids + return request.put({ url: '/data/da/point/enable', data }) +} + +// 禁用 +export const disable = (ids) => { + const data = ids + return request.put({ url: '/data/da/point/disable', data }) +} -- Gitblit v1.9.3