初始代码

This commit is contained in:
hhh
2026-04-02 10:38:23 +08:00
parent d8b4140f50
commit aed67ce1fd
1937 changed files with 447678 additions and 1 deletions

View File

@@ -0,0 +1,36 @@
import request from '@/utils/request'
// 获取设备列表(下拉选择用)
export function getDeviceList() {
return request({
url: '/mes/iot/trend/deviceList',
method: 'get'
})
}
// 获取设备参数列表(通道配置)
export function getParamList(iotDeviceId) {
return request({
url: '/mes/iot/trend/paramList',
method: 'get',
params: { iotDeviceId }
})
}
// 获取趋势数据
export function getTrendData(params) {
return request({
url: '/mes/iot/trend/data',
method: 'get',
params: params
})
}
// 查询IOT数据列表
export function listIotData(query) {
return request({
url: '/mes/iot/trend/list',
method: 'get',
params: query
})
}