暂降治理评估
This commit is contained in:
@@ -20,7 +20,7 @@ export const downloadTemplate = () => {
|
||||
export const exportEventData = (data: any) => {
|
||||
return createAxios({
|
||||
url: ADVANCE_BOOT + '/sgEvent/exportEventData',
|
||||
method: 'GET',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
responseType: 'blob'
|
||||
})
|
||||
@@ -28,7 +28,7 @@ export const exportEventData = (data: any) => {
|
||||
|
||||
|
||||
/**
|
||||
* 新增业务用户
|
||||
* 导入暂降数据
|
||||
*/
|
||||
export const importEventData = (data: any) => {
|
||||
return createAxios({
|
||||
@@ -38,13 +38,23 @@ export const importEventData = (data: any) => {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增业务用户
|
||||
*/
|
||||
export const calcEventLoss = (data: any) => {
|
||||
return createAxios({
|
||||
url: ADVANCE_BOOT + '/sgEvent/calcLoss?id=' + data,
|
||||
method: 'GET'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 更新业务用户
|
||||
* 查询生产线下所有暂降事件
|
||||
*/
|
||||
export const updateSgEvent = (data: any) => {
|
||||
export const getEventDataByProductLineId = (data: any) => {
|
||||
return createAxios({
|
||||
url: ADVANCE_BOOT + '/sgEvent/update',
|
||||
url: ADVANCE_BOOT + '/sgEvent/getEventDataByProductLineId',
|
||||
method: 'POST',
|
||||
data: data
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user