/*
 * @Description  :
 * @Version      : 1.0
 * @Author       : Shiming
 * @Date         : 2021-12-27 10:30:56
 * @LastEditors  : Shiming
 * @LastEditTime : 2022-04-19 14:19:44
 * @FilePath     : \\tms-obc-web\\src\\app\\routes\\tax-management\\services\\tax-management.service.ts
 * Copyright (C) 2022 huzhenhong. All rights reserved.
 */

import { Injectable, Injector } from '@angular/core';
import { _HttpClient } from '@delon/theme';
import { ShipperBaseService } from '@shared';

@Injectable({
  providedIn: 'root'
})
export class TaxManagementService extends ShipperBaseService {
  // 获取货主企业列表
  public $api_enterpriceList = '/api/mdc/cuc/enterpriseInfo/operate/enterpriceList';
  //
  public $api_order_reporting_page = '/api/mdc/cuc/enterpriseInfo/operate/enterpriceList';

  // 查询运营报表
  $api_listOperationalReportPage = `/api/sdc/report/listOperationalReportPage`;

  // 查询个税申报明细
  $api_get_individual_income_page = `/api/sdc/taxIncome/list/page`;
  // 更新所有数据个税申报明细
  $api_update_individual_income_page = `/api/sdc/taxIncome/updateAll`;

  // 查询个税汇总
  $api_get_individual_collect_page = `/api/sdc/taxSummary/list/page`;
  // 更新所有数据个税汇总
  $api_update_individual_collect_page = `/api/sdc/taxIncome/updateAll`;

  // 订单上报列表
  $api_getTaxOrderPage_page = `/api/sdc/taxOrder/getTaxOrderPage`;
  // 根据订单Id更新税务订单
  $api_get_renewalOrderById = `/api/sdc/taxOrder/renewalOrderById`;
  // 撤回税务订单
  $api_get_recessionTaxOrder = `/api/sdc/tax/recessionTaxOrder`;
  // 上传税务订单
  $api_get_uploadingTaxOrder = `/api/sdc/tax/uploadingTaxOrder`;
  // 上传税务订单
  $api_get_getTaxFieldCheckList = `/api/sdc/taxFieldCheck/getTaxFieldCheckList`;

  // 查询税务申报
  $api_get_taxDeclaration = `/api/sdc/taxDeclaration/list/page`;
  // 更新所有税务申报
  $api_get_taxDeclaration_updateAll = `/api/sdc/taxDeclaration/updateAll`;
  // 更新所有个税汇总
  $api_get_updateData = `/api/sdc/taxSummary/updateData`;
  $api_recall_reporting = ``; // 撤回
  $api_async_export_order_reporting_list = ``; // 导出订单上报
  $api_get_upload_setting = ``; // 修改上传设置
  $api_upload_setting_save = ``; // 修改上传设置
  $api_getInvoiceReport_page = '/api/sdc/invoiceUploadInfo/list/page';
  constructor(public injector: Injector) {
    super(injector);
  }
}
