1 changed files with 22 additions and 0 deletions
@ -0,0 +1,22 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 条件查询
|
|||
export function listPage(data) { |
|||
return request({ |
|||
url: '/buscenter/v1/BusSalesVehicle/listPage', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
} |
|||
|
|||
// 列表导出
|
|||
export function exportExcel(data) { |
|||
return request({ |
|||
url: '/buscenter/v1/BusSalesVehicle/exportExcel', |
|||
method: 'post', |
|||
responseType: 'blob', // 表明返回服务器返回的数据类型
|
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
} |
Loading…
Reference in new issue