This commit is contained in:
仲么了
2024-02-19 13:44:32 +08:00
commit 361cbb713d
238 changed files with 202544 additions and 0 deletions

32
src/api/common.ts Normal file
View 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'
})
}