first
This commit is contained in:
32
src/api/common.ts
Normal file
32
src/api/common.ts
Normal file
@@ -0,0 +1,32 @@
|
||||
import createAxios from '@/utils/request'
|
||||
|
||||
// 用户名列表
|
||||
export function saveLogParam() {
|
||||
return createAxios({
|
||||
url: '/system-boot/audit/saveLogParam',
|
||||
method: 'POST'
|
||||
})
|
||||
}
|
||||
|
||||
// 区域列表
|
||||
export function getAreaList() {
|
||||
return createAxios({
|
||||
url: '/user-boot/dept/deptTree',
|
||||
method: 'POST'
|
||||
})
|
||||
}
|
||||
|
||||
// 设备列表
|
||||
export function getDeviceTree() {
|
||||
return createAxios({
|
||||
url: '/cs-device-boot/csLedger/deviceTree',
|
||||
method: 'POST'
|
||||
})
|
||||
}
|
||||
// 获取波形数据
|
||||
export function analyseWave(params:string) {
|
||||
return createAxios({
|
||||
url: '/cs-harmonic-boot/event/analyseWave?eventId=' + params,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user