联调 【干扰源用户管理】、【敏感及重要用户】需要增加【新增】、【模板下载】、【批量导入】功能,参考内网pms3.0调整

This commit is contained in:
GGJ
2024-06-24 14:29:20 +08:00
parent b2a2c1ecf6
commit d61db37512
5 changed files with 257 additions and 91 deletions

View File

@@ -36,6 +36,16 @@ export const downloadSensitiveUserTemplate = () => {
responseType: 'blob'
})
}
/**
* 下载干扰源用户台账模板
*/
export const downloadSensitiveReportTemplate = () => {
return createAxios({
url: MAPPING_PATH + '/downloadSensitiveReportTemplate',
method: 'GET',
responseType: 'blob'
})
}
/**
* 导入敏感及重要用户数据
@@ -48,6 +58,17 @@ export const importSensitiveUserData = (data: any) => {
responseType: 'blob'
})
}
/**
* 批量导入干扰源用户
*/
export const importSensitiveReportData = (data: any) => {
return createAxios({
url: MAPPING_PATH + '/importSensitiveReportData',
method: 'POST',
data: data,
responseType: 'blob'
})
}