| | |
| | | // 统一请求路径前缀在libs/axios.js中修改 |
| | | import { getRequest, getNoAuthRequest, postNoAuthRequest, postRequest, putRequest } from '@/libs/axios'; |
| | | import { getRequest, getNoAuthRequest, postNoAuthRequest, postRequest, putRequest, getmethod } from '@/libs/axios'; |
| | | |
| | | |
| | | // 认证 |
| | |
| | | export const token = (params) => { |
| | | return getNoAuthRequest('/oauth2/token', params) |
| | | } |
| | | |
| | | |
| | | |
| | | // 获取随机secretKey |
| | |
| | | return getRequest('/orderTask2/getByPage', params) |
| | | } |
| | | |
| | | //查询违章记录 |
| | | export const findPageOrderTask = (params) => { |
| | | return getRequest('/orderTask/getByPage2', params) |
| | | } |
| | | |
| | | //解析订单 |
| | | export const jiexiOrder = (params) => { |
| | | return getRequest('/orderTask/insertOrders', params) |
| | | } |
| | | |
| | | //配送信息统计表 |
| | | //获取所有签收统计列表信息 |
| | | export const getSignList = (pageNum, pageSize, carName, sendDateStart, sendDateEnd) => { |
| | | return getRequest(`/signCount/selectBySign?pageSize=${pageSize}&pageNum=${pageNum}&carName=${carName}&sendDateStart=${sendDateStart}&sendDateEnd=${sendDateEnd}`) |
| | | } |
| | | export const getSignByMonth = (pageNum, pageSize, carName,StatisticalType) => { |
| | | return getRequest(`/signCount/selectBySign?pageSize=${pageSize}&pageNum=${pageNum}&carName=${carName}&StatisticalType=${StatisticalType}`) |
| | | } |
| | | // 签收统计导出列表 |
| | | export const outExcel = (pageNum, pageSize, carName, sendDateStart, sendDateEnd) => { |
| | | return getmethod(`/signCount/outExcels?pageSize=${pageSize}&pageNum=${pageNum}&carName=${carName}&sendDateStart=${sendDateStart}&sendDateEnd=${sendDateEnd}`) |
| | | } |
| | | |