yangan
2024-08-27 37d58d5f73f17fcca7dd171e3f92572679e74ffd
api/globalApi.js
@@ -5,7 +5,7 @@
      method: 'POST'
   },
   //   提煤单
   //   通知单
   //   获取发运计划列表
   GetOrderPlan: {
      url: '/wrzs/wx/getOrderPlan',
@@ -57,7 +57,7 @@
      method: 'POST'
   },
   /**
    * @description 获取历史提煤单
    * @description 获取历史通知单
    */
   getJhOrderPlanDataPage: {
      url: '/wrzs/userOperation/getJhOrderPlanDataPage',
@@ -75,14 +75,8 @@
      url: '/wrzs/userOperation/huoDaiList   ',
      method: 'GET'
   },
   //司机首页列表
   // qiangDanList: {
   //    url: "/wrzs/wx/qiangDanList",
   //    method: "GET"
   // },
   /**
    * @司机首页列表修改
    * @description  司机首页列表修改  河钢
    */
   qiangDanList: {
      url: '/wrzs/userOperation/qiangDanList',
@@ -132,20 +126,41 @@
      url: '/wrzs/userOperation/yuYue',
      method: 'POST'
   },
   //获取提煤单详情
   // getTakeCoal: {
   //    url: "/wrzs/wx/getTakeCoal",
   //    method: "GET"
   // },
   /**
    * @获取提煤单详情修改后
    * @description 获取通知单详情  河钢
    */
   getTakeCoal: {
      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: {
@@ -217,14 +232,14 @@
   },
   /**
    * @签到
    * @description  签到
    */
   arrive: {
      url: '/wrzs/userOperation/arrive',
      method: 'POST'
   },
   /**
    * @入场申请
    * @description  入场申请
    */
   // 新增
   saveRCSQ: {
@@ -257,20 +272,34 @@
      method: 'POST'
   },
   /**
    * @称重
    * @description  称重 河钢
    */
   saveWeigh: {
      url: '/wrzs/userOperation/saveWeigh',
      method: 'POST'
   },
   // 获取称重信息
   /**
    * @description 复称  河钢
    */
   repeatCheck: {
      url: '/wrzs/jcgatestate/repeatCheck',
      method: 'POST'
   },
   /**
    * @description  获取称重信息 河钢
    */
   weighList: {
      url: '/wrzs/userOperation/weighList',
      method: 'GET'
   },
   // 加减煤
   // 加减煤 河钢
   addAndSubtractCoal: {
      url: '/wrzs/jcgatestate/repeatCheck',
      method: 'POST'
   },
   // 继续称重
   continueWeigh: {
      url: '/wrzs/jcgatestate/continueWeigh',
      method: 'POST'
   },
   // 获取所在磅房
@@ -279,7 +308,7 @@
      method: 'GET'
   },
   // 提煤单日志查询
   // 通知单日志查询
   coalDayPage: {
      url: '/wrzs/tmtaskcoallog/getTmId',
      method: 'GET'
@@ -313,5 +342,187 @@
   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'
   },
}