暂降治理评估

This commit is contained in:
2024-03-28 13:25:41 +08:00
parent 45ba496361
commit 965b18b540
44 changed files with 2748 additions and 1108 deletions

View File

@@ -0,0 +1,65 @@
import createAxios from '@/utils/request'
const ADVANCE_BOOT = '/advance-boot'
/**
* 导出暂降模板
*/
export const downloadTemplate = () => {
return createAxios({
url: ADVANCE_BOOT + '/sgEvent/downloadTemplate',
method: 'GET',
responseType: 'blob'
})
}
/**
* 导出暂降数据
*/
export const exportEventData = (data: any) => {
return createAxios({
url: ADVANCE_BOOT + '/sgEvent/exportEventData',
method: 'GET',
data: data,
responseType: 'blob'
})
}
/**
* 新增业务用户
*/
export const importEventData = (data: any) => {
return createAxios({
url: ADVANCE_BOOT + '/sgEvent/importEventData',
method: 'POST',
data: data
})
}
/**
* 更新业务用户
*/
export const updateSgEvent = (data: any) => {
return createAxios({
url: ADVANCE_BOOT + '/sgEvent/update',
method: 'POST',
data: data
})
}
/**
* 删除业务用户
*/
export const deleteSgEvent = (data: any) => {
let ids = [data]
return createAxios({
url: ADVANCE_BOOT + '/sgEvent/delete',
method: 'POST',
data: ids
})
}