修改现场测试问题

This commit is contained in:
GGJ
2025-01-03 12:45:54 +08:00
parent 6a06652532
commit 3094ac94c0
24 changed files with 249 additions and 97 deletions

View File

@@ -11,4 +11,12 @@ export function getDeviceDataTrend(data: any) {
// 波形下载
export function getFileZip(params: any) {
return createAxios({
url: '/cs-harmonic-boot/event/getFileZip',
method: 'get',
params,
responseType: 'blob'
})
}

View File

@@ -88,3 +88,11 @@ export const portableDeviceAccess = (data: any) => {
method: 'POST',
})
}
// 下载模版
export function getExcelTemplate() {
return createAxios({
url: '/cs-device-boot/EquipmentDelivery/getExcelTemplate',
method: 'get',
responseType: 'blob'
})
}

View File

@@ -4,7 +4,7 @@ export const dicDelete = (id: string) => {
let form = new FormData()
form.append('id', id)
return createAxios({
url: '/system-boot/dictTree//delete',
url: '/system-boot/dictTree/delete',
method: 'DELETE',
headers: {
'Content-Type': 'application/x-www-form-urlencoded'