付延余
2022-08-23 e333d366495e2406618c5b0daf3fe53a759903a6
utils/api.js
@@ -4,16 +4,16 @@
      url:'/admin/dept/compTree',
      method:'GET'
   },
   // 我的申请
   // 我的申请
   getProcessDataList:{
      url:'/oa/actBusiness/getByCondition',
      name:'pig',
      method:'GET'
   },
   // 新增申请
   getNewProcessDataList:{
      url:'/oa/actProcess/getByCondition',
@@ -49,13 +49,19 @@
      name:'pig',
      method:'GET'
   },
   // 获取全部优惠政策
   getFavouredPolicyItem:{
      url:'/yunxiao/jcfavouredpolicyitem/page',
      method:'GET'
   },
   // 煤场
   coalfiled:{
      url:'/yunxiao/coalfiled/page',
      name:'pig',
      method:'GET'
   },
   // 选择客户
   // 搜索
   customer:{
@@ -67,7 +73,13 @@
      url:'/yunxiao/account/getAccount',
      method:'GET'
   },
   // 选择客户回调
   // customerAccount:{
   //    url:'/yunxiao/account/getAccountByCustmoerIdAndCompId',
   //    method:'GET'
   // },
   // 选择合同
   contract:{
      url:'/yunxiao/contract/page',
@@ -82,22 +94,43 @@
      url:'/admin/dict/type/contract_type',
      method:'GET'
   },
   // 选定合同
   trainFreightFind:{
      url:"/yunxiao/trainFreight/find",
      mehtod:"GET"
   },
   // 合同详情
   getByContractId:{
      url:'/yunxiao/contractitem/getByContractId',
      method:'GET'
   },
   // 添加申请
   xswaybill:{
      url:'/yunxiao/xswaybill',
      method:'POST'
   },
   // 煤种价格修改信息
   getNewPrice:{
      url:'/yunxiao/coalpricemodifyinfo/getNewPrice',
      method:'GET'
   },
   // 撤回
   withDraw:{
      url:'/oa/actBusiness/cancel',
      name:'pig',
      method:'POST'
   },
   // 获取操作人
   getFirstNode:{
      url:'/oa/actProcess/getFirstNode',
      method:'GET'
   },
   // 重新申请
   apply:{
      url:'/oa/actBusiness/apply',
      name:'pig',
      method:'POST'
   },
   // 我的待办
@@ -112,4 +145,51 @@
      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'
   }
}