You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
665 B
31 lines
665 B
2 years ago
|
import request from '@/utils/request'
|
||
|
// 销售查询
|
||
|
export default {
|
||
|
|
||
|
// 查询分页列表
|
||
|
listPage: function(params) {
|
||
|
return request({
|
||
|
baseURL: '/api',
|
||
|
url: '/customer/v1/gdsalesyc/listPage',
|
||
|
method: 'post',
|
||
|
data: params,
|
||
|
headers: {
|
||
|
'Content-Type': 'application/json'
|
||
|
}
|
||
|
})
|
||
|
},
|
||
|
|
||
|
exportExcel: function(params) {
|
||
|
return request({
|
||
|
baseURL: '/api',
|
||
|
url: '/customer/v1/gdsalesyc/exportExcel',
|
||
|
method: 'post',
|
||
|
responseType: 'blob', // 表明返回服务器返回的数据类型
|
||
|
data: params,
|
||
|
headers: {
|
||
|
'Content-Type': 'application/json'
|
||
|
}
|
||
|
})
|
||
|
},
|
||
|
}
|