import { WaybillManagementBulkComponent } from './../components/bulk/bulk.component';
/*
 * @Author: your name
 * @Date: 2021-12-07 14:52:29
 * @LastEditTime : 2022-03-28 11:13:50
 * @LastEditors  : Shiming
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath     : \\tms-obc-web\\src\\app\\routes\\waybill-management\\services\\waybill-management.service.ts
 */
import { Injectable, Injector } from '@angular/core';
import { BaseService } from 'src/app/shared/services';

@Injectable({
  providedIn: 'root'
})
export class WaybillManagementServe extends BaseService {
  $api_get_enterprise_project = `/api/mdc/cuc/enterpriseProject/getEnterpriseProjectList `; // 所属项目列表
  // 据 手机号/姓名 查询 车队长/司机
  $api_get_getDriverInfo = `/api/mdc/cuc/user/getDriverInfo`;
  // 查询整车运单-运营后台
  $api_get_wholePage = `/api/sdc/wayBillOperate/listWholePage`;
  // 查询整车运单详情-运营后台
  $api_get_getWholeDetail = `/api/sdc/wayBillOperate/getWholeDetail`;

  // 查询大宗运单-运营后台
  $api_get_Bulkpage = `/api/sdc/wayBillOperate/listBulkPage`;
  // 查询大宗运单详情-运营后台
  $api_get_getBulkDetail = `/api/sdc/wayBillOperate/getBulkDetail`;

  // 整车运单分类统计
  $api_get_getWholeStatistics = `/api/sdc/wayBillOperate/getWholeStatistics`;
  // 大宗运单分类统计
  $api_get_getBulkStatistics = `/api/sdc/wayBillOperate/getBulkStatistics`;

  // 根据车牌号查询车辆信息
  $api_get_getCarLicenseListByCarNo = `/api/mdc/cuc/carLicense/findCarLicenseByCarNo`;

  // 大宗确认发车
  $api_get_insertBulkStartCarInfo = `/api/sdc/wayBillOperate/insertBulkStartCarInfo`;
  // 整车确认发车
  $api_get_insertWholeStartCarInfo = `/api/sdc/wayBillOperate/insertWholeStartCarInfo`;
  // 整车确认到车
  $api_get_insertWholeUnloadCarInfo = `/api/sdc/wayBillOperate/insertWholeUnloadCarInfo`;
  // 大宗确认到车
  $api_get_insertBulkUnloadCarInfo = `/api/sdc/wayBillOperate/insertBulkUnloadCarInfo`;
  //  确认到车界面信息(两个只能看的图片)
  $api_get_getUnloadCarInfo = `/api/sdc/wayBillOperate/getUnloadCarInfo`;

  // 查询CRM客户信息表
  $api_get_crmCustomer_page = '/api/mdc/cuc/crmCustomer/list/page';

  // 查询运营端异常上报
  $api_get_listOperatePage = '/api/sdc/exceptionReport/listOperatePage';
  // 查询运营端异常上报详情
  $api_get_listOperate_detail = '/api/sdc/exceptionReport/operateDetail/';
  // 运营端异常回复
  $api_operate_reply = '/api/sdc/exceptionReport/operateReply';
  // 查询运营端异常上报数据统计
  $api_get_listOperateStatus = '/api/sdc/exceptionReport/listOperateStatus';
  // // 查询运营端已回复异常上报
  // $api_get_listOperateReplyPage = '/api/sdc/exceptionReport/listOperateReplyPage';
 // 获取轨迹
 $api_get_getTrajectory = `/api/sdc/billShipper/getTrajectoryByBillId`;
 //  获取订单司机轨迹
 $api_get_getAppDriverPosition = `/api/sdc/wayBillOperate/getAppDriverPosition`;
  // 获取货主企业列表
  public $api_enterpriceList = '/api/mdc/cuc/enterpriseInfo/operate/enterpriceList';

  // 异步导出运营后台大宗运单列表
  public $api_asyncExportBulkList = '/api/sdc/wayBillOperate/asyncExportBulkList';
  // 异步导出运营后台整车运单列表
  public $api_asyncExportWholeList = '/api/sdc/wayBillOperate/asyncExportWholeList';
  constructor(public injector: Injector) {
    super(injector);
  }
}
