123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245 |
- import request from '@/router/axios';
- import da from "element-ui/src/locale/lang/da";
- // 列表查询
- export function selectInvoiceList(data) {
- return request({
- url: '/api/blade-land/order/list',
- method: 'get',
- params: data
- })
- }
- // 列表单条删除
- export function removeDelegationList(data) {
- return request({
- url: '/api/blade-land/order/remove',
- method: 'post',
- params: data
- })
- }
- // 单据新增修改
- export function saveDelegationList(data) {
- return request({
- url: '/api/blade-land/order/submit',
- method: 'post',
- data: data
- })
- }
- // 单据取消提交
- export function cancelSubmission(data) {
- return request({
- url: '/api/blade-land/order/revoke',
- method: 'get',
- params: data
- })
- }
- // 单据新增修改
- export function saveSaveList(data) {
- return request({
- url: '/api/blade-land/order/save',
- method: 'post',
- data: data
- })
- }
- // 单据新增
- export function detailDelegationList(data) {
- return request({
- url: '/api/blade-land/order/detail',
- method: 'get',
- params:data
- })
- }
- // 单据新增
- export function removeCollection(data) {
- return request({
- url: '/api/blade-land/orderfee/remove?ids='+data,
- method: 'post'
- })
- }
- //司机查询
- export function driverQueryCollection(data) {
- return request({
- url: '/api/blade-land/order-item/list',
- method: 'get',
- params:data
- })
- }
- //调度箱信息
- export function dispatchCollection(data) {
- return request({
- url: '/api/blade-land/order-item/dispatch',
- method: 'post',
- data:data
- })
- }
- //取消调度箱信息
- export function cancelDispatchCollection(data) {
- return request({
- url: '/api/blade-land/order-item/cancel-dispatch',
- method: 'get',
- params:data
- })
- }
- //派车箱信息
- export function sendACarCollection(data) {
- return request({
- url: '/api/blade-land/order-item/send',
- method: 'post',
- data:data
- })
- }
- //取消派车箱信息
- export function sendACarDispatchCollection(data) {
- return request({
- url: '/api/blade-land/order-item/cancel-send',
- method: 'get',
- params:data
- })
- }
- //受理箱信息
- export function acceptanceCollection(data) {
- return request({
- url: '/api/blade-land/order-item/accept',
- method: 'post',
- data:data
- })
- }
- //取消受理箱信息
- export function acceptanceDispatchCollection(data) {
- return request({
- url: '/api/blade-land/order-item/cancel-accept',
- method: 'get',
- params:data
- })
- }
- //确认完工箱信息
- export function confirmCompletion(data) {
- return request({
- url: '/api/blade-land/order-item/finished',
- method: 'get',
- params:data
- })
- }
- //确认到厂箱信息
- export function arrival(data) {
- return request({
- url: '/api/blade-land/order-item/arrival',
- method: 'get',
- params:data
- })
- }
- //确认提箱箱信息
- export function borrow(data) {
- return request({
- url: '/api/blade-land/order-item/borrow',
- method: 'get',
- params:data
- })
- }
- //获取车队司机信息
- export function fleetList() {
- return request({
- url: '/api/blade-client/land-vehicle/vehicle-list',
- method: 'get'
- })
- }
- //获取省市区
- export function addressList(name) {
- return request({
- url: '/api/blade-system/region/match?address='+name,
- method: 'get'
- })
- }
- //获取总数
- export function totalList(name) {
- return request({
- url: '/api/blade-land/order/count?kind='+name,
- method: 'get'
- })
- }
- //获取车队司机总数
- export function motorcadeDriver(name) {
- return request({
- url: '/api/blade-land/order-item/count?tag='+name,
- method: 'get'
- })
- }
- //保存车队司机
- export function fleetDriverSave(data) {
- return request({
- url: '/api/blade-land/order-item/submit',
- method: 'post',
- data:data
- })
- }
- //获取电话信息
- export function telephone(key) {
- return request({
- url: '/api/blade-client/land-driver/driver-list',
- method: 'get'
- })
- }
- //获取附件
- export function getAttachment(data) {
- return request({
- url: '/api/blade-land/order-item/file-list',
- method: 'get',
- params:data
- })
- }
- //保存附件
- export function saveAttached(data) {
- return request({
- url: '/api/blade-land/order-item/file',
- method: 'post',
- data:data
- })
- }
- //保存附件
- export function getCorp() {
- return request({
- url: '/api/blade-client/corpsattn/get-corp',
- method: 'get'
- })
- }
- //查询业务员
- export function getSalesman(data) {
- return request({
- url: '/api/blade-user/userList',
- method: 'get',
- params:data
- })
- }
- //批量提交调度
- export function dispatchBatch(data) {
- return request({
- url: '/api/blade-land/order-item/dispatch-batch',
- method: 'post',
- data:data
- })
- }
- //打开变更记录
- export function recordingDetails(data) {
- return request({
- url: '/api/blade-land/order-change/all-list',
- method: 'get',
- params:data
- })
- }
- //调度变更提交
- export function changeFleet(data) {
- return request({
- url: '/api/blade-land/order-item/change-fleet',
- method: 'post',
- data:data
- })
- }
- //派车变更提交
- export function changeVehicle(data) {
- return request({
- url: '/api/blade-land/order-item/change-vehicle',
- method: 'post',
- data:data
- })
- }
|