| | |
| | | export const api = { |
| | | // 获取单位树 |
| | | fetchCompTree:{ |
| | | url:'/admin/dept/compTree', |
| | | method:'GET' |
| | | // 微信绑定客户 |
| | | bindWx: { |
| | | url: '/admin/social/bind', |
| | | method: "POST" |
| | | }, |
| | | |
| | | |
| | | // 我的申请 |
| | | getProcessDataList:{ |
| | | url:'/oa/actBusiness/getByCondition', |
| | | name:'pig', |
| | | method:'GET' |
| | | // 获取单位树 |
| | | fetchCompTree: { |
| | | url: '/admin/dept/compTree', |
| | | method: 'GET' |
| | | }, |
| | | |
| | | |
| | | |
| | | |
| | | // 我的申请 |
| | | getProcessDataList: { |
| | | url: '/oa/actBusiness/getByCondition', |
| | | name: 'pig', |
| | | method: 'GET' |
| | | }, |
| | | |
| | | |
| | | // 新增申请 |
| | | getNewProcessDataList:{ |
| | | url:'/oa/actProcess/getByCondition', |
| | | name:'pig', |
| | | mehtod:'GET' |
| | | getNewProcessDataList: { |
| | | url: '/oa/actProcess/getByCondition', |
| | | name: 'pig', |
| | | mehtod: 'GET' |
| | | }, |
| | | // 操作人员 |
| | | operator:{ |
| | | url:'/admin/dict/type/operator', |
| | | name:'pig', |
| | | method:'GET' |
| | | operator: { |
| | | url: '/admin/dict/type/operator', |
| | | name: 'pig', |
| | | method: 'GET' |
| | | }, |
| | | // 付款类型 |
| | | pay_type:{ |
| | | url:'/admin/dict/type/pay_type', |
| | | name:'pig', |
| | | method:'GET' |
| | | pay_type: { |
| | | url: '/admin/dict/type/pay_type', |
| | | name: 'pig', |
| | | method: 'GET' |
| | | }, |
| | | // 其他参数 |
| | | others_params:{ |
| | | url:'/admin/dict/type/others_params', |
| | | name:'pig', |
| | | method:'GET' |
| | | others_params: { |
| | | url: '/admin/dict/type/others_params', |
| | | name: 'pig', |
| | | method: 'GET' |
| | | }, |
| | | // 页面参数 |
| | | coalprice:{ |
| | | url:'/yunxiao/coalprice/page', |
| | | name:'pig', |
| | | method:'GET' |
| | | coalprice: { |
| | | url: '/yunxiao/coalprice/page', |
| | | name: 'pig', |
| | | method: 'GET' |
| | | }, |
| | | jcfavouredpolicyitem:{ |
| | | url:'/yunxiao/jcfavouredpolicyitem/page', |
| | | name:'pig', |
| | | method:'GET' |
| | | jcfavouredpolicyitem: { |
| | | url: '/yunxiao/jcfavouredpolicyitem/page', |
| | | name: 'pig', |
| | | method: 'GET' |
| | | }, |
| | | // 获取全部优惠政策 |
| | | getFavouredPolicyItem:{ |
| | | url:'/yunxiao/jcfavouredpolicyitem/page', |
| | | method:'GET' |
| | | getFavouredPolicyItem: { |
| | | url: '/yunxiao/jcfavouredpolicyitem/page', |
| | | method: 'GET' |
| | | }, |
| | | // 煤场 |
| | | coalfiled:{ |
| | | url:'/yunxiao/coalfiled/page', |
| | | name:'pig', |
| | | method:'GET' |
| | | coalfiled: { |
| | | url: '/yunxiao/coalfiled/page', |
| | | name: 'pig', |
| | | method: 'GET' |
| | | }, |
| | | |
| | | |
| | | // 选择客户 |
| | | |
| | | /** |
| | | * @Ledger 分类账套 |
| | | */ |
| | | zhaccountledger: { |
| | | url: '/yunxiao/zhaccountledger/page', |
| | | method: 'GET' |
| | | }, |
| | | |
| | | |
| | | /** |
| | | * @选择客户 |
| | | */ |
| | | // 搜索 |
| | | customer:{ |
| | | url:'/yunxiao/customer/page', |
| | | method:'GET' |
| | | customer: { |
| | | url: '/yunxiao/customer/page', |
| | | method: 'GET' |
| | | }, |
| | | // 获取账户 |
| | | getAccount:{ |
| | | url:'/yunxiao/account/getAccount', |
| | | method:'GET' |
| | | getAccount: { |
| | | url: '/yunxiao/account/getAccount', |
| | | method: 'GET' |
| | | }, |
| | | // 选择客户回调 |
| | | // customerAccount:{ |
| | | // url:'/yunxiao/account/getAccountByCustmoerIdAndCompId', |
| | | // method:'GET' |
| | | // }, |
| | | |
| | | |
| | | |
| | | |
| | | // 选择合同 |
| | | contract:{ |
| | | url:'/yunxiao/contract/page', |
| | | method:'GET' |
| | | contract: { |
| | | url: '/yunxiao/contract/page', |
| | | method: 'GET' |
| | | }, |
| | | // 合同类型&状态 |
| | | contract_status:{ |
| | | url:'/admin/dict/type/contract_status', |
| | | method:'GET' |
| | | contract_status: { |
| | | url: '/admin/dict/type/contract_status', |
| | | method: 'GET' |
| | | }, |
| | | contract_type:{ |
| | | url:'/admin/dict/type/contract_type', |
| | | method:'GET' |
| | | contract_type: { |
| | | url: '/admin/dict/type/contract_type', |
| | | method: 'GET' |
| | | }, |
| | | trainFreightFind:{ |
| | | url:"/yunxiao/trainFreight/find", |
| | | mehtod:"GET" |
| | | trainFreightFind: { |
| | | url: "/yunxiao/trainFreight/find", |
| | | mehtod: "GET" |
| | | }, |
| | | |
| | | |
| | | |
| | | // 合同详情 |
| | | getByContractId: { |
| | | url: '/yunxiao/contractitem/getByContractId', |
| | | method: 'GET' |
| | | }, |
| | | |
| | | |
| | | // 添加申请 |
| | | xswaybill:{ |
| | | url:'/yunxiao/xswaybill', |
| | | method:'POST' |
| | | xswaybill: { |
| | | url: '/yunxiao/xswaybill', |
| | | method: 'POST' |
| | | }, |
| | | // 煤种价格修改信息 |
| | | getNewPrice:{ |
| | | url:'/yunxiao/coalpricemodifyinfo/getNewPrice', |
| | | method:'GET' |
| | | getNewPrice: { |
| | | url: '/yunxiao/coalpricemodifyinfo/getNewPrice', |
| | | method: 'GET' |
| | | }, |
| | | // 获取运费 |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | // 撤回 |
| | | withDraw:{ |
| | | url:'/oa/actBusiness/cancel', |
| | | // withDraw: { |
| | | // url: '/oa/actBusiness/cancel', |
| | | // method: 'POST' |
| | | // }, |
| | | // 修改过的撤回 |
| | | cancel:{ |
| | | url:'/oa/actRemote/cancel', |
| | | method:'POST' |
| | | }, |
| | | // 获取操作人 |
| | | getFirstNode:{ |
| | | url:'/oa/actProcess/getFirstNode', |
| | | method:'GET' |
| | | getFirstNode: { |
| | | url: '/oa/actProcess/getFirstNode', |
| | | method: 'GET' |
| | | }, |
| | | // 重新申请 |
| | | apply:{ |
| | | url:'/oa/actBusiness/apply', |
| | | method:'POST' |
| | | apply: { |
| | | url: '/oa/actBusiness/apply', |
| | | method: 'POST' |
| | | }, |
| | | // 我的待办 |
| | | todoList:{ |
| | | url:'/oa/actTask/todoList', |
| | | name:'pig', |
| | | method:'GET' |
| | | todoList: { |
| | | url: '/oa/actTask/todoList', |
| | | name: 'pig', |
| | | method: 'GET' |
| | | }, |
| | | // 我的已办 |
| | | doneList:{ |
| | | url:'/oa/actTask/doneList', |
| | | name:'pig', |
| | | method:'GET' |
| | | doneList: { |
| | | url: '/oa/actTask/doneList', |
| | | name: 'pig', |
| | | method: 'GET' |
| | | }, |
| | | } |
| | | |
| | | // 表单数据 |
| | | formData: { |
| | | url: '/yunxiao/xswaybill', |
| | | method: 'GET' |
| | | }, |
| | | // 查看进度 |
| | | historicFlow: { |
| | | url: '/oa/actTask/historicFlow', |
| | | method: 'GET' |
| | | }, |
| | | // 待办通过 |
| | | // getNextNode:{ |
| | | // url:'/oa/actProcess/getNextNode', |
| | | // method:'GET' |
| | | // }, |
| | | // 批量通过 |
| | | passAll: { |
| | | url: '/oa/actTask/passAll', |
| | | method: 'POST' |
| | | }, |
| | | // 批量驳回 |
| | | backAll: { |
| | | url: '/oa/actTask/backAll', |
| | | method: "POST" |
| | | }, |
| | | deleteHistoric: { |
| | | url: '/oa/actTask/deleteHistoric', |
| | | method: "POST" |
| | | }, |
| | | // 修改驳回申请信息 |
| | | editXswaybill: { |
| | | url: '/yunxiao/xswaybill', |
| | | method: 'PUT' |
| | | }, |
| | | // 退出清空缓存 |
| | | // logout:{ |
| | | // url:'/auth/token/logout', |
| | | // method:'DELETE' |
| | | // } |
| | | |
| | | // 煤仓当前剩余量 |
| | | coalbunker: { |
| | | url: '/yunxiao/coalbunker/page', |
| | | method: 'GET' |
| | | } |
| | | |
| | | } |