| | |
| | | |
| | | export interface DaPointPageReqVO extends PageParam { |
| | | pointNo?: string, |
| | | pointName?: string |
| | | pointName?: string, |
| | | tagNo?: string, |
| | | collectQuality?: string, |
| | | } |
| | | |
| | | |
| | | // 查询DaPoint列表 |
| | | export const getDaPointPage = (params: DaPointPageReqVO) => { |
| | |
| | | // 查询DaPoint列表 |
| | | export const getPointList = (params: DaPointPageReqVO) => { |
| | | return request.get({ url: '/data/da/point/list', params }) |
| | | } |
| | | |
| | | // 查询DaPoint simpleList |
| | | export const getPointSimpleList = (params: DaPointPageReqVO) => { |
| | | return request.get({ url: '/data/da/point/simple-list', params }) |
| | | } |
| | | |
| | | // 查询DaPoint详情 |
| | |
| | | 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 }) |
| | | } |