async inspectionResultBinDingData(data, errorMessageMode = 'Notice') {
const response = await ajax.request({
responseType: 'blob',
errorMessageMode,
url: `/api/SI/inspectionRecordExport/inspectionResultBinDingData`,
method: 'post',
data: data
})
var blob = new Blob([response.data])
var downloadElement = document.createElement('a')
var href = window.URL.createObjectURL(blob) // 创建下载的链接
downloadElement.href = href
downloadElement.download = decodeURIComponent(
response.headers['content-disposition'].match(/filename\*=UTF-8''(.*)$/)[1]
)
document.body.appendChild(downloadElement)
downloadElement.click()
document.body.removeChild(downloadElement)
window.URL.revokeObjectURL(href)
}