yangan
2025-01-20 bcf7914e7b55e72cc453b559086255a56fe53a64
api/globalApi.js
@@ -2,7 +2,7 @@
   // 绑定微信
   wxBind: {
      url: '/wrzs/social/bind',
      method: "POST"
      method: 'POST'
   },
   //   提煤单
@@ -27,8 +27,8 @@
   // 客户领取
   customerGet: {
      url: "/wrzs/wx/customerGet",
      method: "POST"
      url: '/wrzs/wx/customerGet',
      method: 'POST'
   },
   //   转发
   // forward: {
@@ -36,25 +36,32 @@
   //    method: "POST"
   // },
   /**
    * @转发修改
    * @description 转发修改
    */
   forward: {
      url: "/wrzs/userOperation/forwardList",
      method: "POST"
      url: '/wrzs/userOperation/forwardList',
      method: 'POST'
   },
   /**
    * @description 转发修改回显
    */
   forwardList: {
      url: "/wrzs/userOperation/forwardListData",
      method: "GET"
      url: '/wrzs/userOperation/forwardListData',
      method: 'GET'
   },
   /**
    * @description 删除一组转发
    */
   deleteForward: {
      url: "/wrzs/userOperation/deleteForward",
      method: "POST"
      url: '/wrzs/userOperation/deleteForward',
      method: 'POST'
   },
   /**
    * @description 获取历史提煤单
    */
   getJhOrderPlanDataPage: {
      url: '/wrzs/userOperation/getJhOrderPlanDataPage',
      method: 'GET'
   },
   // 货代首页列表
   // huoDaiList: {
@@ -65,8 +72,8 @@
    * @货代首页列表修改
    */
   huoDaiList: {
      url: "/wrzs/userOperation/huoDaiList   ",
      method: "GET"
      url: '/wrzs/userOperation/huoDaiList   ',
      method: 'GET'
   },
   //司机首页列表
@@ -78,8 +85,8 @@
    * @司机首页列表修改
    */
   qiangDanList: {
      url: "/wrzs/userOperation/qiangDanList",
      method: "GET"
      url: '/wrzs/userOperation/qiangDanList',
      method: 'GET'
   },
   //抢单
@@ -91,14 +98,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: {
@@ -109,8 +116,8 @@
    * @预约列表修改
    */
   yuYueList: {
      url: "/wrzs/userOperation/yuYueList",
      method: "GET"
      url: '/wrzs/userOperation/yuYueList',
      method: 'GET'
   },
   //预约
@@ -122,8 +129,8 @@
    * @预约修改
    */
   yuYue: {
      url: "/wrzs/userOperation/yuYue",
      method: "POST"
      url: '/wrzs/userOperation/yuYue',
      method: 'POST'
   },
   //获取提煤单详情
@@ -135,8 +142,8 @@
    * @获取提煤单详情修改后
    */
   getTakeCoal: {
      url: "/wrzs/userOperation/getTakeCoal",
      method: "GET"
      url: '/wrzs/userOperation/getTakeCoal',
      method: 'GET'
   },
   //   用户
@@ -147,8 +154,8 @@
   },
   // 修改用户信息
   updateUser: {
      url: "/wrzs/wx/updateUser",
      method: "POST"
      url: '/wrzs/wx/updateUser',
      method: 'POST'
   },
   // 获取用户信息
   getUserById: {
@@ -157,56 +164,56 @@
   },
   //获取货代列表
   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'
   },
   /**
@@ -221,20 +228,34 @@
    */
   // 新增
   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'
   },
   /**
    * @称重
    */
@@ -244,7 +265,7 @@
   },
   // 获取称重信息
   weighList: {
      url: "/wrzs/userOperation/weighList",
      url: '/wrzs/userOperation/weighList',
      method: 'GET'
   },
   // 加减煤
@@ -254,13 +275,311 @@
   },
   // 获取所在磅房
   getWeighHouse: {
      url: "/wrzs/jccoalweighhouse/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/getTmId",
   // 获取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'
   },
   downloadExcel:{
      url:'/wrzs/tmtaskcoal/tmAppStatisticsExcel',
      method:'GET',
   },
   //登录之后记录信息所用
   setApplogonTime:{
      url:'/wrzs/userentity/setApplogonTime',
      method:'POST',
   },
   //取样员茶查询提煤单
   inspectedTaskPage:{
      url:'/wrzs/tmtaskcoal/inspectedTaskPage',
      method: 'GET'
   },
   //确认取样
   updateInspectionStatus:{
      url:'/wrzs/tmtaskcoal/updateInspectionStatus',
      method: 'PUT'
   },
   //获取二维码
   showQRCode:{
      url:'/wrzs/api/showQRCode',
      method: 'GET'
   },
   //电子磅单下载
   downLoadTm:{
      url:'/wrzs/e-task',
      method: 'GET'
   },
   //查询需要使用电子磅单的矿
   getIsOpenTm:{
      url:'/dict/type/app_tmorder_use',
      method: 'GET'
   }
}
}