liriming
2025-03-03 8bb7160c9c4fd7ce5893ee673647b13cc35410ae
提交 | 用户 | 时间
031c25 1 import request from '@/config/axios'
D 2
3 export interface DaPointChartReqVO {
4   pointNos?: [],
5   start?: Date,
6   end?: Date,
7 }
8
3e5f6c 9 export interface ApiPointPageReqVO extends PageParam {
10   pointNo?: string
11 }
12
031c25 13 // 查询chart列表
D 14 export const getPointDaChart = (data: DaPointChartReqVO) => {
c4b4d2 15   return request.post({ url: '/data/api/query-points/chart', data })
031c25 16 }
D 17
3e5f6c 18 // 查询多个测点当前值
19 export const getPointsRealValue = (data: []) => {
20   return request.post({ url: '/data/api/query-points/real-value', data })
21 }
22
23 // 查询计算点当前值
24 export const getMathPointCurrentValue = (data: ApiPointPageReqVO) => {
25   return request.post({ url: '/data/api/query-math-point/current-value', data })
26 }
27
031c25 28 //导出DaPointValue
D 29 export const exportDaPointValue = (params) => {
30   return request.download({ url: '/data/da/point/exportValue', params })
31 }