yangan
昨天 a28d0135ee42809b2c5863609da37155d3ecba5b
api/globalApi.js
@@ -1,14 +1,14 @@
export const globalApi = {
   // 绑定微信
   wxBind:{
      url:'/wrzs/social/bind',
      method:"POST"
   wxBind: {
      url: '/wrzs/social/bind',
      method: 'POST'
   },
   //   提煤单
   //   收发单
   //   获取发运计划列表
   GetOrderPlan: {
      url: '/wrzs/wx/getOrderPlan',
      url: '/wrzs/customerSupplier/getOrderPlan',
      method: 'GET'
   },
   //获取发运计划详情
@@ -27,8 +27,8 @@
   // 客户领取
   customerGet: {
      url: "/wrzs/wx/customerGet",
      method: "POST"
      url: '/wrzs/wx/customerGet',
      method: 'POST'
   },
   //   转发
   // forward: {
@@ -36,24 +36,44 @@
   //    method: "POST"
   // },
   /**
    * @转发修改
    * @description 转发修改
    */
   forward: {
      url: "/wrzs/userOperation/forward",
      method: "POST"
      url: '/wrzs/userOperation/forwardList',
      method: 'POST'
   },
   // 货代首页列表
   /**
    * @description 转发修改回显
    */
   forwardList: {
      url: '/wrzs/userOperation/forwardListData',
      method: 'GET'
   },
   /**
    * @description 删除一组转发
    */
   deleteForward: {
      url: '/wrzs/userOperation/deleteForward',
      method: 'POST'
   },
   /**
    * @description 获取历史收发单
    */
   getJhOrderPlanDataPage: {
      url: '/wrzs/userOperation/getJhOrderPlanDataPage',
      method: 'GET'
   },
   // 承运商首页列表
   // huoDaiList: {
   //    url: "/wrzs/wx/huoDaiList",
   //    method: "GET"
   // },
   /**
    * @货代首页列表修改
    * @承运商首页列表修改
    */
   huoDaiList: {
      url: "/wrzs/userOperation/huoDaiList",
      method: "GET"
      url: '/wrzs/userOperation/huoDaiList   ',
      method: 'GET'
   },
   //司机首页列表
@@ -65,8 +85,8 @@
    * @司机首页列表修改
    */
   qiangDanList: {
      url: "/wrzs/userOperation/qiangDanList",
      method: "GET"
      url: '/wrzs/app/driver/qiangDanList',
      method: 'GET'
   },
   //抢单
@@ -78,14 +98,14 @@
    * @抢单修改
    */
   qiangDan: {
      url: "/wrzs/userOperation/qiangDan",
      method: "POST"
      url: '/wrzs/app/driver/qiangDan',
      method: 'POST'
   },
   //取消抢单
   quXiaoQiangDan: {
      url: "/wrzs/wx/quXiaoQiangDan",
      method: "POST"
      url: '/wrzs/wx/quXiaoQiangDan',
      method: 'POST'
   },
   //预约列表
   // yuYueList: {
@@ -96,8 +116,12 @@
    * @预约列表修改
    */
   yuYueList: {
      url: "/wrzs/userOperation/yuYueList",
      method: "GET"
      url: '/wrzs/userOperation/yuYueList',
      method: 'GET'
   },
   driverYuYueList: {
      url: '/wrzs/app/driver/yuYueAPPList',
      method: 'GET'
   },
   //预约
@@ -109,23 +133,22 @@
    * @预约修改
    */
   yuYue: {
      url: "/wrzs/userOperation/yuYue",
      method: "POST"
      url: '/wrzs/app/driver/yuYue',
      method: 'POST'
   },
   //获取提煤单详情
   //获取收发单详情
   // getTakeCoal: {
   //    url: "/wrzs/wx/getTakeCoal",
   //    method: "GET"
   // },
   /**
    * @获取提煤单详情修改后
    * @获取收发单详情修改后
    */
   getTakeCoal: {
      url: "/wrzs/userOperation/getTakeCoal",
      method: "GET"
      url: '/wrzs/userOperation/getTakeCoal',
      method: 'GET'
   },
   //   用户
   // 获取用户信息
@@ -135,66 +158,66 @@
   },
   // 修改用户信息
   updateUser: {
      url: "/wrzs/wx/updateUser",
      method: "POST"
      url: '/wrzs/wx/updateUser',
      method: 'POST'
   },
   // 获取用户信息
   getUserById: {
      url: '/wrzs/wx/getUserById',
      method: 'POST'
   },
   //获取货代列表
   //获取承运商列表
   getAllHuoDaiByCustomerId: {
      url: "/wrzs/wx/getAllHuoDaiByCustomerId",
      method: "GET"
      url: '/wrzs/wx/getAllHuoDaiByCustomerId',
      method: 'GET'
   },
   //邀请货代
   //邀请承运商
   bindHuoDai: {
      url: "/wrzs/wx/bindHuoDai",
      method: "POST"
      url: '/wrzs/wx/bindHuoDai',
      method: 'POST'
   },
   //删除货代
   //删除承运商
   deleteHuoDai: {
      url: "/wrzs/wx/deleteHuoDai",
      method: "POST"
      url: '/wrzs/wx/deleteHuoDai',
      method: 'POST'
   },
   //获取货代详情
   //获取承运商详情
   getHuoDaiDetail: {
      url: "/wrzs/wx/getHuoDaiDetail",
      method: "GET"
      url: '/wrzs/wx/getHuoDaiDetail',
      method: 'GET'
   },
   //获取司机列表
   GetUserFleet: {
      url: "/wrzs/wx/getUserFleet",
      method: "GET"
      url: '/wrzs/wx/getUserFleet',
      method: 'GET'
   },
   //邀请司机
   bindUserFleet: {
      url: "/wrzs/wx/bindUserFleet",
      method: "POST"
      url: '/wrzs/wx/bindUserFleet',
      method: 'POST'
   },
   //删除司机
   deleteSiJi: {
      url: "/wrzs/wx/deleteSiJi",
      method: "POST",
      url: '/wrzs/wx/deleteSiJi',
      method: 'POST',
   },
   //   车辆
   // 获取车队列表
   getFleet: {
      url: "/wrzs/wx/getFleet",
      method: "GET"
      url: '/wrzs/wx/getFleet',
      method: 'GET'
   },
   //新增车队
   saveFleet: {
      url: "/wrzs/wx/saveFleet",
      method: "POST"
      url: '/wrzs/wx/saveFleet',
      method: 'POST'
   },
   // 删除车队
   deleteFleet: {
      url: "/wrzs/wx/deleteFleet",
      method: "POST"
      url: '/wrzs/wx/deleteFleet',
      method: 'POST'
   },
   /**
@@ -209,36 +232,590 @@
    */
   // 新增
   saveRCSQ: {
      url: "/wrzs/tminapply/save",
      url: '/wrzs/tminapply/save',
      method: 'POST'
   },
   // 修改
   updateByIdRCSQ: {
      url: "/wrzs/tminapply/updateById",
      url: '/wrzs/tminapply/updateById',
      method: 'PUT'
   },
   // 查询
   pageRCSQ: {
      url: "/wrzs/tminapply/page",
      url: '/wrzs/tminapply/page',
      method: 'GET'
   },
   /**
    * @description 第一次放空
    */
   getOneEvacuation: {
      url: '/wrzs/userOperation/getOneEvacuation',
      method: 'POST'
   },
   /**
    * @description 第二次放空
    */
   getTwoEvacuation: {
      url: '/wrzs/userOperation/getTwoEvacuation',
      method: 'POST'
   },
   /**
    * @称重
    */
   saveWeigh: {
      url: '/wrzs/userOperation/saveWeigh',
      // url: '/wrzs/userOperation/saveWeigh',
      url:'/wrzs/app/driver/saveWeigh',
      method: 'POST'
   },
   // 获取称重信息
   weighList: {
      url: "/wrzs/userOperation/weighList",
      url: '/wrzs/userOperation/weighList',
      method: 'GET'
   },
   // 加减煤
   addAndSubtractCoal: {
      url: '/wrzs/jcgatestate/repeatCheck',
      method: 'POST'
   },
   // 获取所在磅房
   getWeighHouse: {
      url: '/wrzs/jccoalweighhouse/getUpperPound',
      method: 'GET'
   },
   getWeighHouse1: {
      url: '/wrzs/jccoalweighhouse/getWeighHouse',
      method: 'GET'
   },
   // 收发单日志查询
   coalDayPage: {
      url: '/wrzs/tmtaskcoallog/getTmId',
      method: 'GET'
   },
   // 提煤单日志查询
   coalDayPage: {
      url: "/wrzs/tmtaskcoallog/page",
   // 获取openId
   getCallOutList: {
      url: '/wrzs/callout/getCallOutList',
      method: 'GET'
   },
   // 获取消息列表
   getMessageByUser: {
      url: '/wrzs/appMessage/getMessageByUser',
      method: 'GET'
   },
   // 已读消息
   readMessage: { url: '/wrzs/appMessage/readMessage' },
   // 删除消息
   delteMessage: { url: '/wrzs/appMessage/deleteMessage', method: 'GET' },
   // 消息详情
   getMsgDetail: {
      url: '/wrzs/appMessage/getMsgById',
      method: 'GET'
   },
   // 发运统计筛选条件
   getShippingCondition: {
      url: '/wrzs/tmtaskcoal/getShippingCondition',
      method: 'GET'
   },
   // 发运统计数据
   getTmTaskCoalData: {
      url: '/wrzs/tmtaskcoal/getTmTaskCoalData',
      method: 'GET'
   },
   //根据id拿到转发中的原始数量
   jhorderplanforward: {
      url: '/wrzs/jhorderplanforward/getAppById',
      method: 'GET'
   },
   /**
     @description 管理用户页面获取用户列表信息
   */
   appUserPage: {
      url: '/wrzs/userentity/appUserPage',
      method: 'GET'
   },
   /**
     @description 根据用户列表信息的userid查找
   */
   getAppById: {
      url: '/wrzs/userentity/getAppById',
      method: 'GET'
   },
   /**
     @description 根据用户列表信息的userid编辑
   */
   appUpdateById: { url: '/wrzs/userentity/appUpdateById', },
   /**
     @description 根据用户列表信息的userid删除
   */
   appRemoveById: { url: '/wrzs/userentity/appRemoveById' },
   /**
     @description 新增用户信息
   */
   appSave: {
      url: '/wrzs/userentity/appSave',
      method: 'POST'
   },
   /**
    @description 司机首页点击地图icon获取经纬度
    */
   getAppLocation: {
      url: '/wrzs/userOperation/getAppLocation',
      method: 'GET'
   },
   /**
    @description 判断是否要完成外销收发单
    */
   getTmTaskCoalOrderType: {
      url: '/wrzs/tmtaskcoal/getTmTaskCoalOrderType',
      method: 'GET'
   },
   /**
    @description 更新收发单状态
    */
   updateTmTaskCoalState: {
      url: '/wrzs/tmtaskcoal/updateTmTaskCoalState',
      method: 'POST'
   },
   /**
    @description 后台用户绑定
    */
   setUpWxOpenid: {
      url: '/admin/user/setUpWxOpenid',
      method: 'POST'
   },
   /**
    * @description 装卸员查看所有煤种类型 */
   getCoalNameAll: {
      url: '/wrzs/jccoalbunker/getCoalNameAll',
      method: 'GET'
   },
   /**
    * @description 选择煤种 */
   getAccordingCoalNameAll: {
      url: '/wrzs/tmtaskcoal/getAccordingCoalNameAll',
      method: 'GET'
   },
   /**
    * @description 确认卸货 */
   confirmLoadAndUnload: {
      url: '/wrzs/tmtaskcoal/confirmLoadAndUnload',
      method: 'POST'
   },
   /**
    * @description 皮重异常 */
   getAvgSkin: {
      url: '/wrzs/tmtaskcoal/getAvgSkin',
      method: 'GET'
   },
   /**
    * @description 皮重异常原因填写 */
   tmAbnormalTextAdd: {
      url: '/wrzs/tmtaskcoal/tmAbnormalTextAdd',
      method: 'POST'
   },
   /**
    * @description 获取appid和secret */
   getAppidAndSercet: {
      url: '/wrzs/wx/getAppidAndSercet',
      method: 'GET'
   },
   /**
    * @description 皮重异常调用 */
   skinAbnormal: {
      url: '/wrzs/printer/skinAbnormal',
      method: 'POST'
   },
   /**
    * @description 批量邀请司机  */
   bindUserFleetBatch: {
      url: '/wrzs/wx/bindUserFleetBatch',
      method: 'POST'
   },
   /**
    * @description 打印出入门证*/
   printer: {
      url: '/wrzs/printer/handler',
      method: 'GET'
   },
   /**
    * @description 装卸员通过负责的单位查询场地*/
   getDeptIdFiled: {
      url: '/wrzs/jccoalfiled/getDeptIdFiled',
      method: 'GET'
   },
   /**
    * @description 装卸员查看场地下所有的煤种类型
    */
   getFiledIdCoalBunker: {
      url: '/wrzs/jccoalbunker/getFiledIdCoalBunker',
      method: 'GET'
   },
   /**
    * @description 新增外购原发磅单表
    */
   appSaveContact: {
      url: '/wrzs/tmtaskcoalcontact/appSave',
      method: 'POST'
   },
   /**
    * @description 查询是否有此用户
    */
   phoneAndCard: {
      url: '/wrzs/userentity/phoneAndCard',
      method: 'GET'
   },
   /**
    * @description 请求退单
    */
   cancelAppoint: {
      url: '/wrzs/userOperation/quXiaoQiangDan',
      method: 'POST'
   },
   /**
    * @description 积分详情
    */
   scoreDetail: {
      url: '/wrzs/userintegral/appPage',
      method: 'GET'
   },
   /**
    * @description 根据司机去查询相关送货客户列表
    */
   getShipToList: {
      url: '/wrzs/shipto/getShipToList',
      method: 'GET'
   },
   /**
    * @description 保存送货客户
    */
   saveShipTo: {
      url: '/wrzs/shipto/saveShipTo',
      method: 'POST'
   },
   /**
    * @description 删除送货客户
    */
   deleteShipTo: {
      url: '/wrzs/shipto/deleteShipTo',
      method: 'POST'
   },
   /**
    * @description 根据车牌号查询相关的单位
    */
   getCarNoByVarieties: {
      url: '/wrzs/specialvarieties/getCarNoByVarieties',
      method: 'GET'
   },
   /**
    * @description 根据单位查询相关的产品
    */
   getDeptByProductName: {
      url: '/wrzs/specialvarieties/getDeptByProductName',
      method: 'GET'
   },
   /**
    * @description 根据单位查询场地
    */
   getDeptIdByFiledList: {
      url: '/wrzs/jccoalfiled/getDeptIdByFiledList',
      method: 'GET'
   },
   /**
    * @description 确认自主创建
    */
   saveDeliveryNote: {
      url: '/wrzs/tmtaskcoal/saveDeliveryNote',
      method: 'POST'
   },
   /**
    * @description
    */
   getDeptAndProductNameByCustomer: {
      url: '/wrzs/specialvarieties/getDeptAndProductNameByCustomer',
      method: 'GET'
   },
   // 场内接单
   insideConnect: {
      url: '/wrzs/tmtaskcoal/insideConnect',
      methods: 'POST'
   },
   //"仓库视频地址"
   useEqCodeGetCameraUrl: {
      url: '/wrzs/jcequipment/useEqCodeGetCameraUrl',
      method: 'GET'
   },
   //'获取路线‘
   getRoute:{
      url: '/wrzs/guideroutemanage/getGuideRouteByType',
      method: 'GET'
   },
   //库管获取仓库
   getWarehouseList:{
      url: '/wrzs/warehouse/getMyWarehouseList',
      method: 'GET'
   },
   //获取仓库下的收发单
      getTaskCoalListByBunkerId:{
      url: '/wrzs/warehouse/getMyTaskCoalListByBunkerId',
      method: 'GET'
   },
   /**
    * @description 我来送货
    */
   myDelivery:{
      url: '/wrzs/jhorderplan',
      method: 'GET'
   },
   saveMyDelivery: {
      url: '/wrzs/app/driver/saveMyDelivery',
      methods: 'POST'
   },
   getCheckTaskCoal:{
      url: '/wrzs/guard/getCheckTaskCoal',
      method: 'GET'
   },
   getAlreadyCheckTaskCoal:{
      url: '/wrzs/guard/getAlreadyCheckTaskCoal',
      method: 'GET'
   },
   //临时司机列表
   getTemporaryEntryInspectionList:{
      url: '/wrzs/guard/getTemporaryEntryInspectionList',
      method: 'GET'
   },
   //临时司机出厂列表
   getTemporaryEntryOutInspectionList:{
      url: '/wrzs/guard/getTemporaryEntryOutInspectionList',
      method: 'GET'
   },
   //临时司机检查
   temporaryEntryConfirmation:{
      url: '/wrzs/guard/temporaryEntryConfirmation',
      method: 'POST'
   },
   temporaryentryinspection:{
      url: '/wrzs/temporaryentryinspection',
      method: 'PUT'
   },
   addCheckLog: {
      url: '/wrzs/guard/addCheckLog',
      methods: 'POST'
   },
   saveDriverDocs: {
      url: '/wrzs/userentity/saveDriverDocs',
      methods: 'POST'
   },
   // 获取产品表
   getProductTree:{
      url: '/wrzs/jcproduct/getProductTree',
      method: 'GET'
   },
   getProductIsDanger:{
      url: '/wrzs/jcproduct/getProductIsDanger',
      method: 'GET'
   },
   /**
    * @description 购买证
    */
   addBuycard: {
      url: '/wrzs/buycard',
      methods: 'POST'
   },
   putBuycard: {
      url: '/wrzs/buycard',
      methods: 'PUT'
   },
   getBuyCardList: {
      url: '/wrzs/buycard/getBuyCardList',
      methods: 'GET'
   },
   // 注册
   registerDriver: {
      url: '/wrzs/userentity/registerDriver',
      methods: 'GET'
   },
   //客户日计划获取订单
   getOrderList: {
      url: '/wrzs/tmorder/getOrderList',
      methods: 'GET'
   },
   //客户获取创建日计划订单
   getAppOrderList:{
      url: '/wrzs/customerSupplier/getAppOrderList',
      methods: 'GET'
   },
   //客户创建日计划
   addDeliveryPlan:{
      url: '/wrzs/customerSupplier/addDeliveryPlan',
      methods: 'GET'
   },
   // 提交剧毒通行证
   addJcroadtransport: {
      url: '/wrzs/jcroadtransport/add',
      methods: 'POST'
   },
   // 获取剧毒通行证
   getDriverListById: {
      url: '/wrzs/jcroadtransport/getDriverListById',
      methods: 'GET'
   },
   // 更改剧毒通行证
   putJcroadtransport: {
      url: '/wrzs/jcroadtransport',
      methods: 'PUT'
   },
   // 根据id查找剧毒通行证
   getById: {
      url: '/wrzs/jcroadtransport/getById',
      methods: 'GET'
   },
   //检查剧毒通行证号
   checkNumber: {
      url: '/wrzs/jcroadtransport/checkNumber',
      methods: 'GET'
   },
   //库管获取日计划
   getMyPlanListByBunkerId:{
      url:'/wrzs/warehouse/getMyPlanListByBunkerId',
      methods:'GET'
   },
   //查看详情
   getTmOrderById: {
      url: '/wrzs/tmtaskcoal',
      methods: 'GET'
   },
   //确认装卸
   confirmLoadAndUnload:{
      url: '/wrzs/warehouse/confirmLoadAndUnload',
      methods: 'POST'
   },
   //查看原盐钙镁
   getQualityResultEachCustomer:{
      url: '/wrzs/warehouse/getQualityResultEachCustomer',
      methods: 'GET'
   },
   getMyEscortList: {
      url: '/wrzs/app/driver/getMyEscortList',
      methods: 'GET'
   },
   saveMyEscort:{
      url: '/wrzs/app/driver/saveMyEscort',
      methods: 'POST'
   },
   //修改收发单
   tmtaskCoalPut:{
      url: '/wrzs/tmtaskcoal',
      methods: 'PUT'
   },
   //填写集装箱号
   addContainer:{
      url: '/wrzs/app/driver/addContainer',
      methods: 'PUT'
   },
   //字典
   dictFun:{
      url: '/admin/dict/type',
      methods: 'GET'
   },
   // 修改头像
   faceEdit:{
      url: '/wrzs/userentity/updateImgPath',
      methods: 'PUT'
   },
   // 修改密码
   passwordEdit:{
      url: '/wrzs/userentity/appUpdatePassword',
      methods: 'PUT'
   },
   //获取客户or供应商标识
   getPersonnelType:{
      url: '/wrzs/yhcustomer',
      methods: 'PUT'
   },
   //转发获取PVC吨数列表
   getBuildList:{
      url: '/wrzs/pvcforward/getBuildList',
      methods: 'get'
   },
   //PVC转发计划提交
   allocation:{
      url: '/wrzs/pvcforward/allocation',
      methods: 'PUT'
   },
   //库管获取历史通知单
   getHistoryTaskCoalList:{
      url: '/wrzs/warehouse/getHistoryTaskCoalList',
      methods: 'GET'
   },
   //获取已确认收罚单
   getTodayConfirmedTaskCoalList:{
      url: '/wrzs/warehouse/getTodayConfirmedTaskCoalList',
      methods: 'GET'
   },
   //获取可拼单司机单
   getUnclaimedList:{
      url: '/wrzs/warehouse/getUnclaimedList',
      methods: 'GET'
   },
   //司机接单
   splicingOrders:{
      url: '/wrzs/warehouse/splicingOrders',
      methods: 'POST'
   },
   //供应商获取合卡订单
   getCloseOrderList:{
      url: '/wrzs/tmorder/getCloseOrderList',
      methods: 'get'
   },
   //修改确认装卸
   confirmLoadAndUnloadModify:{
      url: '/wrzs/warehouse/confirmLoadAndUnloadModify',
      methods: 'POST'
   },
   //一建装卸
   oneClickLoading:{
      url: '/wrzs/warehouse/oneClickLoading',
      methods: 'POST'
   },
   //司机接单后的pvc可拼单列表
   pvcSplicingList:{
      url: '/wrzs/tmtaskcoalpvcpd/pvcSplicingList',
      methods: 'GET'
   },
   //司机Pvc拼单接口
   pvcSplicingOfDriver:{
      url: '/wrzs/tmtaskcoalpvcpd/pvcSplicingOfDriver',
      methods: 'POST'
   },
   //司机取消拼单接口
   cancelPindan:{
      url: '/wrzs/tmtaskcoalpvcpd/cancelPindan',
      methods: 'POST'
   },
      //id查询pvc的拼单表
   getPdListByMainTmTaskCoalId:{
      url: '/wrzs/tmtaskcoalpvcpd/getPdListByMainTmTaskCoalId',
      methods: 'GET'
   },
   //pvc库管装卸
   pvcConfirmLoadAndUnload:{
      url: '/wrzs/warehouse/pvcConfirmLoadAndUnload',
      methods: 'POST'
   },
   //库管查询日计划
   getMyPlanListByBunkerIdsAndProductIds:{
      url:'/wrzs/warehouse/getMyPlanListByBunkerIdsAndProductIds',
      methods: 'GET'
   }
}
}