/*
 * @Author: your name
 * @Date: 2021-12-20 17:18:43
 * @LastEditTime: 2021-12-27 14:09:14
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \tms-obc-web\src\app\routes\sys-setting\services\system.service.ts
 */
import { Injectable, Injector } from '@angular/core';
import { BaseService } from 'src/app/shared/services';

@Injectable({
  providedIn: 'root'
})
export class SystemService extends BaseService {
  // 分页查询企业项目员工列表
  $api_get_enterprise_staff_page = '/api/mdc/cuc/userApp/getEnterpriseProjectStaffListPage';
  // 添加员工
  $api_add_staff = '/api/mdc/cuc/userApp/addStaff';
  // 编辑员工
  $api_edit_staff = '/api/mdc/cuc/userApp/editorStaff';
  // 删除应用用户(员工)
  $api_delete_staff = '/api/mdc/cuc/userApp/deleteAppUser';
  // 冻结或恢复员工
  $api_free_or_resume_staff = '/api/mdc/cuc/userApp/freezeOrResumeStaff';

  // 分页获取应用角色列表
  $api_get_role_page = '/api/mdc/cuc/roleInfo/getAppRoleInfoList';

  // 查询字典选项列表
  $api_get_dict_page = '/api/mdc/pbc/dictItems/list/page';
  // 根据id批量删除字典选项
  $api_delete_dict_by_ids = '/api/mdc/pbc/dictItems/deleteBatchByIds';
  // 新增字典选项
  $api_add_dict = '/api/mdc/pbc/dictItems/save';
  // 更新字典选项
  $api_update_dict = '/api/mdc/pbc/dictItems/update';

  // 获取CRM客户信息表
  $api_get_crmCustomer = '/api/mdc/crmCustomer/get';
  // 查询CRM客户信息表
  $api_get_crmCustomer_page = '/api/mdc/crmCustomer/list/page';
  // 保存CRM客户信息表
  $api_save_crmCustomer = '/api/mdc/crmCustomer/save';
  // 删除CRM客户信息表
  $api_deletebatch_crmCustomer = '/api/mdc/crmCustomer/deletebatch';

    // 查询网络货运信息表
    $api_networkTransporter_page = '/api/mdc/networkTransporter/list/page';
    // 获取网络货运信息表(id)
    $api_get_networkTransporter = '/api/mdc/networkTransporter/get';
    // 批量获取网络货运信息
    $api_findNetworkTransporterByIds = '/api/mdc/networkTransporter/findNetworkTransporterByIds';
    // 查找所有网络货运信息(下拉)
    $api_networkTransporter_findAll = '/api/mdc/networkTransporter/findAll';
    // 删除网络货运信息表
    $api_networkTransporter_deletebatch = '/api/mdc/networkTransporter/deletebatch';
    // 保存网络货运信息表
    $api_networkTransporter_save = '/api/mdc/networkTransporter/save';

    // 查询结算客户表
    $api_settlementCustomer_page = '/api/mdc/settlementCustomer/list/page';
    // 获取结算客户表
    $api_settlementCustomer_get = '/api/mdc/settlementCustomer/get';
    // 保存结算客户表
    $api_settlementCustomer_save = '/api/mdc/settlementCustomer/save';
    // 删除结算客户表
    $api_settlementCustomer_deletebatch = '/api/mdc/settlementCustomer/deletebatch';
    // 获取货主企业列表
    public $api_enterpriceList = '/api/mdc/cuc/enterpriseInfo/operate/enterpriceList';

  $api_getAllFunctionInfoByAppId: string = '';
  $api_getRoleTemplateInfo: string = '';
  $api_getFunctionButtonInfo: string = '';
  $api_getFunctionDataInfo: string = '';
  $api_getAppList: string = '';
  $api_getRoleTemplateListByAppId: string = '';
  $api_getRoleInfo: string = '';
  $api_updateRoleInfo: string = '';
  constructor(public injector: Injector) {
    super(injector);
  }
}
