You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.2 KiB
JavaScript
52 lines
1.2 KiB
JavaScript
import request from '@/utils/request'
|
|
import { parseStrEmpty } from "@/utils/ruoyi";
|
|
import qs from 'qs';
|
|
|
|
// 查询用户列表
|
|
export function listUser(data) {
|
|
return request({
|
|
url: '/energy/record/dnbInstant/selectRealTimeList',
|
|
method: 'post',
|
|
data: qs.stringify(data),
|
|
contentType:'application/x-www-form-urlencoded',
|
|
timeout: 1000 * 60,
|
|
//formdata:true,
|
|
})
|
|
}
|
|
// 查询底部列表
|
|
export function instantLis(data) {
|
|
return request({
|
|
url: '/energy/record/dnbInstant/instantList',
|
|
method: 'get',
|
|
params: data,
|
|
timeout: 1000 * 60,
|
|
})
|
|
}
|
|
|
|
// 真查询部门下拉树结构
|
|
export function treeDat() {
|
|
return request({
|
|
url: '/energy/base/monitorInfo/treeData/2',
|
|
method: 'get'
|
|
})
|
|
}
|
|
//
|
|
// 一键秒表
|
|
export function editMeterReading(data) {
|
|
return request({
|
|
url: '/energy/config/editMeterReading',
|
|
method: 'post',
|
|
data: qs.stringify(data),
|
|
contentType:'application/x-www-form-urlencoded',
|
|
})
|
|
}
|
|
// 一键秒表
|
|
export function voltageCurrentCurve(data) {
|
|
return request({
|
|
url: '/energy/record/dnbInstant/voltageCurrentCurve',
|
|
method: 'post',
|
|
data: qs.stringify(data),
|
|
contentType:'application/x-www-form-urlencoded',
|
|
})
|
|
}
|