付延余
2022-09-06 f47ce70afac05ce941b5eafb2d9114c7a017f774
utils/api.js
@@ -1,19 +1,25 @@
export const api = {
   // 微信绑定客户
   bindWx:{
      url:'/admin/social/bind',
      method:"POST"
   },
   // 获取单位树
   fetchCompTree:{
      url:'/admin/dept/compTree',
      method:'GET'
   },
   // 我的申请
   // 我的申请
   getProcessDataList:{
      url:'/oa/actBusiness/getByCondition',
      name:'pig',
      method:'GET'
   },
   // 新增申请
   getNewProcessDataList:{
      url:'/oa/actProcess/getByCondition',
@@ -60,8 +66,8 @@
      name:'pig',
      method:'GET'
   },
   // 选择客户
   // 搜索
   customer:{
@@ -78,8 +84,8 @@
   //    url:'/yunxiao/account/getAccountByCustmoerIdAndCompId',
   //    method:'GET'
   // },
   // 选择合同
   contract:{
      url:'/yunxiao/contract/page',
@@ -98,14 +104,14 @@
      url:"/yunxiao/trainFreight/find",
      mehtod:"GET"
   },
   // 合同详情
   getByContractId:{
      url:'/yunxiao/contractitem/getByContractId',
      method:'GET'
   },
   // 添加申请
   xswaybill:{
      url:'/yunxiao/xswaybill',
@@ -116,8 +122,8 @@
      url:'/yunxiao/coalpricemodifyinfo/getNewPrice',
      method:'GET'
   },
   // 撤回
   withDraw:{
      url:'/oa/actBusiness/cancel',
@@ -145,7 +151,7 @@
      name:'pig',
      method:'GET'
   },
   // 表单数据
   formData:{
      url:'/yunxiao/xswaybill',
@@ -185,4 +191,11 @@
   //    url:'/auth/token/logout',
   //    method:'DELETE'
   // }
}
   // 煤仓当前剩余量
   coalbunker:{
      url:'/yunxiao/coalbunker/page',
      method:'GET'
   }
}