Commit 1a5594ab authored by danfuman's avatar danfuman

修改

parent 0a56bcd9
...@@ -111,7 +111,9 @@ export function exportCustomerList(data) { ...@@ -111,7 +111,9 @@ export function exportCustomerList(data) {
return request({ return request({
url: '/customerInfo/exportCustomerList', url: '/customerInfo/exportCustomerList',
method: 'post', method: 'post',
data: data data:data,
responseType: 'blob',
timeout: 60000
}) })
} }
...@@ -656,7 +656,6 @@ ...@@ -656,7 +656,6 @@
delete param.pageNum delete param.pageNum
delete param.pageSize delete param.pageSize
exportCustomerList(param).then(blob => { exportCustomerList(param).then(blob => {
this.$download.saveAs(blob, `劳务分包队伍.xlsx`) this.$download.saveAs(blob, `劳务分包队伍.xlsx`)
}) })
......
...@@ -337,7 +337,7 @@ ...@@ -337,7 +337,7 @@
import '@/assets/styles/public.scss' import '@/assets/styles/public.scss'
import '@/assets/styles/supplierlist.scss' import '@/assets/styles/supplierlist.scss'
import skeleton from '@/views/project/projectList/component/skeleton' import skeleton from '@/views/project/projectList/component/skeleton'
import { areaAll, customerAll, customerExport } from '@/api/supplier/supplier' import { areaAll, customerAll, customerExport,exportCustomerList } from '@/api/supplier/supplier'
import { getDicts } from '@/api/system/dict/data' import { getDicts } from '@/api/system/dict/data'
export default { export default {
......
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