Commit edd4a643 authored by 高宇's avatar 高宇

Merge remote-tracking branch 'origin/project9-8' into project9-8

parents 02bb6710 94c266aa
......@@ -59,16 +59,6 @@ export function delIncomeInspectInfo(businessId) {
})
}
// 6. 导出主表信息
export function exportIncomeInspectInfo(query) {
return request({
url: '/incomeinspectinfo/export',
method: 'get',
params: query,
responseType: 'blob'
})
}
// 7. 导出全部信息
export function exportIncomeInspectDetail(query) {
return request({
......
......@@ -236,8 +236,8 @@ import {
listIncomeInspectInfo,
addIncomeInspectInfo,
updateIncomeInspectInfo,
exportIncomeInspectInfo,
delIncomeInspectInfo
delIncomeInspectInfo,
exportIncomeInspectDetail
} from '@/api/oneTbale'
import commonField from '@/utils/commonField'
import { getInfo } from '@/api/login'
......@@ -677,7 +677,7 @@ export default {
cancelButtonText: '取消',
type: 'warning'
}).then(function() {
return exportIncomeInspectInfo(queryParams).then(response => {
return exportIncomeInspectDetail(queryParams).then(response => {
const blob = new Blob([response])
const downloadElement = document.createElement('a')
const href = window.URL.createObjectURL(blob)// 创建下载的链接
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment