yangan
2024-08-27 37d58d5f73f17fcca7dd171e3f92572679e74ffd
api/globalApi.js
@@ -1,11 +1,11 @@
export const globalApi = {
   // 绑定微信
   wxBind:{
      url:'/wrzs/social/bind',
      method:"POST"
   wxBind: {
      url: '/wrzs/social/bind',
      method: 'POST'
   },
   //   提煤单
   //   通知单
   //   获取发运计划列表
   GetOrderPlan: {
      url: '/wrzs/wx/getOrderPlan',
@@ -27,8 +27,8 @@
   // 客户领取
   customerGet: {
      url: "/wrzs/wx/customerGet",
      method: "POST"
      url: '/wrzs/wx/customerGet',
      method: 'POST'
   },
   //   转发
   // forward: {
@@ -36,13 +36,33 @@
   //    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",
@@ -52,21 +72,15 @@
    * @货代首页列表修改
    */
   huoDaiList: {
      url: "/wrzs/userOperation/huoDaiList",
      method: "GET"
      url: '/wrzs/userOperation/huoDaiList   ',
      method: 'GET'
   },
   //司机首页列表
   // qiangDanList: {
   //    url: "/wrzs/wx/qiangDanList",
   //    method: "GET"
   // },
   /**
    * @司机首页列表修改
    * @description  司机首页列表修改  河钢
    */
   qiangDanList: {
      url: "/wrzs/userOperation/qiangDanList",
      method: "GET"
      url: '/wrzs/userOperation/qiangDanList',
      method: 'GET'
   },
   //抢单
@@ -78,14 +92,14 @@
    * @抢单修改
    */
   qiangDan: {
      url: "/wrzs/userOperation/qiangDan",
      method: "POST"
      url: '/wrzs/userOperation/qiangDan',
      method: 'POST'
   },
   //取消抢单
   quXiaoQiangDan: {
      url: "/wrzs/wx/quXiaoQiangDan",
      method: "POST"
      url: '/wrzs/wx/quXiaoQiangDan',
      method: 'POST'
   },
   //预约列表
   // yuYueList: {
@@ -96,8 +110,8 @@
    * @预约列表修改
    */
   yuYueList: {
      url: "/wrzs/userOperation/yuYueList",
      method: "GET"
      url: '/wrzs/userOperation/yuYueList',
      method: 'GET'
   },
   //预约
@@ -109,23 +123,44 @@
    * @预约修改
    */
   yuYue: {
      url: "/wrzs/userOperation/yuYue",
      method: "POST"
      url: '/wrzs/userOperation/yuYue',
      method: 'POST'
   },
   //获取提煤单详情
   // getTakeCoal: {
   //    url: "/wrzs/wx/getTakeCoal",
   //    method: "GET"
   // },
   /**
    * @获取提煤单详情修改后
    * @description 获取通知单详情  河钢
    */
   getTakeCoal: {
      url: "/wrzs/userOperation/getTakeCoal",
      method: "GET"
      url: '/wrzs/userOperation/getTakeCoal',
      method: 'GET'
   },
   /**
    * @description 查询产品 河钢
    */
   getJcProductList: {
      url: '/wrzs/jcproduct/getJcProductList',
      method: 'GET'
   },
   /**
    * @description 验质产品 河钢     */
   qualityInspection: {
      url: '/wrzs/userOperation/qualityInspection',
      method: 'GET'
   },
   /**
    * @description 验质产品历史 河钢     */
   qualityInspectionHistory: {
      url: '/wrzs/userOperation/qualityInspectionHistory',
      method: 'GET'
   },
   // 获取appid和secret
   getAppidAndSercet: {
      url: '/wrzs/wx/getAppidAndSercet',
      method: 'GET'
   },
   getMaterialDetailByOrderCode: {
      url: '/wrzs/materialdetail/getMaterialDetailByOrderCode',
      method: 'GET'
   },
   //   用户
   // 获取用户信息
   getUserEntity: {
@@ -134,8 +169,8 @@
   },
   // 修改用户信息
   updateUser: {
      url: "/wrzs/wx/updateUser",
      method: "POST"
      url: '/wrzs/wx/updateUser',
      method: 'POST'
   },
   // 获取用户信息
   getUserById: {
@@ -144,105 +179,350 @@
   },
   //获取货代列表
   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'
   },
   /**
    * @签到
    * @description  签到
    */
   arrive: {
      url: '/wrzs/userOperation/arrive',
      method: 'POST'
   },
   /**
    * @入场申请
    * @description  入场申请
    */
   // 新增
   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'
   },
   /**
    * @description  称重 河钢
    */
   saveWeigh: {
      url: '/wrzs/userOperation/saveWeigh',
      method: 'POST'
   },
   // 获取称重信息
   /**
    * @description 复称  河钢
    */
   repeatCheck: {
      url: '/wrzs/jcgatestate/repeatCheck',
      method: 'POST'
   },
   /**
    * @description  获取称重信息 河钢
    */
   weighList: {
      url: "/wrzs/userOperation/weighList",
      url: '/wrzs/userOperation/weighList',
      method: 'GET'
   },
   // 加减煤 河钢
   addAndSubtractCoal: {
      url: '/wrzs/jcgatestate/repeatCheck',
      method: 'POST'
   },
   // 继续称重
   continueWeigh: {
      url: '/wrzs/jcgatestate/continueWeigh',
      method: 'POST'
   },
   // 获取所在磅房
   getWeighHouse:{
      url:"/wrzs/jccoalweighhouse/getWeighHouse",
      method:'GET'
   getWeighHouse: {
      url: '/wrzs/jccoalweighhouse/getWeighHouse',
      method: 'GET'
   },
   // 提煤单日志查询
   // 通知单日志查询
   coalDayPage: {
      url: "/wrzs/tmtaskcoallog/getTmId",
      url: '/wrzs/tmtaskcoallog/getTmId',
      method: 'GET'
   }
   },
   // 获取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 根据id更新折扣率  河钢*/
   updateTmTaskCoalItem: {
      url: '/wrzs/tmtaskcoalitem/updateTmTaskCoalItem',
      method: 'POST'
   },
   /**
    *@description 查询一级品类 */
   getFirstCategoryName: {
      url: '/wrzs/jcproduct/getFirstCategoryName',
      method: 'GET'
   },
   /**
    *@description 查询二级品类 */
   getSecondCategoryName: {
      url: '/wrzs/jcproduct/getSecondCategoryName',
      method: 'GET'
   },
   /**
    *@description 根据一级品类 二级品类查询规格*/
   getSpec: {
      url: '/wrzs/jcproduct/getSpec',
      method: 'GET'
   },
   /**
    * @description 获取登录日志 如果第一次登录 就强制打开新手指引 */
   getLogOn: {
      url: 'admin/log/getLogOn',
      method: 'GET'
   },
      /**
    * @description 打印磅单 */
   // handler
   printerHandler:{
      url: '/wrzs/printer/handler1',
      method: 'GET'
   },
      /**
    * @description 通知列表 */
      noticeList:{
         url: '/wrzs/message/page',
         method: 'GET'
      },
   /**
    *@description  合作基地 */
   getCoalFiled:{
       url:'/wrzs/tmtaskcoal/getCoalFiled',
      method: 'POST'
   },
   /**
    *@description  数据统计 */
   getStatistics:{
      url:'/wrzs/tmtaskcoal/getStatistics',
      method: 'GET'
   },
   /**
    *@description  磅房列表 */
   getPoundRoomByList:{
      url:'/wrzs/jccoalweighhouse/getPoundRoomByList',
      method: 'GET'
   },
   // wrzs/userOperation/applyWeight
   /**
    *@description  无车牌的需要申请磅房计量 */
   applyWeight:{
      url:'/wrzs/userOperation/applyWeight',
      method: 'POST'
   },
   /**
    * @description  无车牌的需要申请磅房计量的——称重
    */
   saveWeighYZY: {
      url: '/wrzs/userOperation/saveWeighYZY',
      method: 'POST'
   },
   /**
    * @description  无车牌的需要申请磅房计量的——复磅
    */
   reWeighYZY: {
      url: '/wrzs/userOperation/reWeighYZY',
      method: 'POST'
   },
   /**
    * @description  质检员获取磅房列表,无传参
    */
   getPoundRoomsByZJY: {
      url: '/wrzs/jccoalweighhouse/getPoundRoomsByZJY',
      method: 'POST'
   },
   /**
    * @description  质检员获取点击磅房
    */
   getTmTaskCoalNoCar: {
      url: '/wrzs/jccoalweighhouse/getTmTaskCoalNoCar',
      method: 'get'
   },
   applyForRepeatedCar: {  //司机申请复磅按钮
      url: '/wrzs/jcgatelog/applyForRepeatedCar',
      method: 'POST'
   },
   applyForRepeatedCarNew: {  //司机申请复磅按钮新
      url: '/wrzs/jcgatelog/applyForRepeatedCarNew',
      method: 'POST'
   },
   getReWeighList: {  //质检员获取复磅提煤单列表
      url: '/wrzs/tmtaskcoal/getReWeighList',
      method: 'GET'
   },
   agreeWeigh: {  //司机同意复磅
      url: '/wrzs/userOperation/agreeWeigh',
      method: 'POST'
   },
   disAgreeWeigh: {  //司机同意复磅
      url: '/wrzs/userOperation/disAgreeWeigh',
      method: 'POST'
   },
   reSendErp: {  //司机同意复磅
      url: '/wrzs/userOperation/reSendErp',
      method: 'POST'
   },
}