wk
2024-09-14 0bd15917637362c104eb157d5163f65bf9503780
api/globalApi.js
@@ -5,10 +5,10 @@
      method: 'POST'
   },
   //   提煤单
   //   收发单
   //   获取发运计划列表
   GetOrderPlan: {
      url: '/wrzs/wx/getOrderPlan',
      url: '/wrzs/customerSupplier/getOrderPlan',
      method: 'GET'
   },
   //获取发运计划详情
@@ -57,19 +57,19 @@
      method: 'POST'
   },
   /**
    * @description 获取历史提煤单
    * @description 获取历史收发单
    */
   getJhOrderPlanDataPage: {
      url: '/wrzs/userOperation/getJhOrderPlanDataPage',
      method: 'GET'
   },
   // 货代首页列表
   // 承运商首页列表
   // huoDaiList: {
   //    url: "/wrzs/wx/huoDaiList",
   //    method: "GET"
   // },
   /**
    * @货代首页列表修改
    * @承运商首页列表修改
    */
   huoDaiList: {
      url: '/wrzs/userOperation/huoDaiList   ',
@@ -85,7 +85,7 @@
    * @司机首页列表修改
    */
   qiangDanList: {
      url: '/wrzs/userOperation/qiangDanList',
      url: '/wrzs/app/driver/qiangDanList',
      method: 'GET'
   },
@@ -98,7 +98,7 @@
    * @抢单修改
    */
   qiangDan: {
      url: '/wrzs/userOperation/qiangDan',
      url: '/wrzs/app/driver/qiangDan',
      method: 'POST'
   },
@@ -119,6 +119,10 @@
      url: '/wrzs/userOperation/yuYueList',
      method: 'GET'
   },
   driverYuYueList: {
      url: '/wrzs/app/driver/yuYueAPPList',
      method: 'GET'
   },
   //预约
   // yuYue: {
@@ -129,17 +133,17 @@
    * @预约修改
    */
   yuYue: {
      url: '/wrzs/userOperation/yuYue',
      url: '/wrzs/app/driver/yuYue',
      method: 'POST'
   },
   //获取提煤单详情
   //获取收发单详情
   // getTakeCoal: {
   //    url: "/wrzs/wx/getTakeCoal",
   //    method: "GET"
   // },
   /**
    * @获取提煤单详情修改后
    * @获取收发单详情修改后
    */
   getTakeCoal: {
      url: '/wrzs/userOperation/getTakeCoal',
@@ -162,22 +166,22 @@
      url: '/wrzs/wx/getUserById',
      method: 'POST'
   },
   //获取货代列表
   //获取承运商列表
   getAllHuoDaiByCustomerId: {
      url: '/wrzs/wx/getAllHuoDaiByCustomerId',
      method: 'GET'
   },
   //邀请货代
   //邀请承运商
   bindHuoDai: {
      url: '/wrzs/wx/bindHuoDai',
      method: 'POST'
   },
   //删除货代
   //删除承运商
   deleteHuoDai: {
      url: '/wrzs/wx/deleteHuoDai',
      method: 'POST'
   },
   //获取货代详情
   //获取承运商详情
   getHuoDaiDetail: {
      url: '/wrzs/wx/getHuoDaiDetail',
      method: 'GET'
@@ -260,7 +264,8 @@
    * @称重
    */
   saveWeigh: {
      url: '/wrzs/userOperation/saveWeigh',
      // url: '/wrzs/userOperation/saveWeigh',
      url:'/wrzs/app/driver/saveWeigh',
      method: 'POST'
   },
   // 获取称重信息
@@ -275,11 +280,14 @@
   },
   // 获取所在磅房
   getWeighHouse: {
      url: '/wrzs/jccoalweighhouse/getUpperPound',
      method: 'GET'
   },
   getWeighHouse1: {
      url: '/wrzs/jccoalweighhouse/getWeighHouse',
      method: 'GET'
   },
   // 提煤单日志查询
   // 收发单日志查询
   coalDayPage: {
      url: '/wrzs/tmtaskcoallog/getTmId',
      method: 'GET'
@@ -356,14 +364,14 @@
      method: 'GET'
   },
   /**
    @description 判断是否要完成外销提煤单
    @description 判断是否要完成外销收发单
    */
   getTmTaskCoalOrderType: {
      url: '/wrzs/tmtaskcoal/getTmTaskCoalOrderType',
      method: 'GET'
   },
   /**
    @description 更新提煤单状态
    @description 更新收发单状态
    */
   updateTmTaskCoalState: {
      url: '/wrzs/tmtaskcoal/updateTmTaskCoalState',
@@ -429,5 +437,313 @@
   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'
   },
   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'
   },
   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'
   }
}