/*
 * @Author: your name
 * @Date: 2021-12-03 15:23:05
 * @LastEditTime : 2022-03-09 14:08:38
 * @LastEditors  : Shiming
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath     : \\tms-obc-web\\src\\app\\routes\\sys-setting\\sys-setting.module.ts
 */
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { DynamicSettingModule, SharedModule } from '@shared';
import { StaffManagementComponent } from './components/staff-management/staff-management.component';
import { SysSettingRoutingModule } from './sys-setting-routing.module';
import { BuyerTranspowerComponent } from './components/staff-management/transpower/transpower.component';
import { SystemStaffStaffModalComponent } from './components/staff-management/staff-modal/staff-modal.component';
import { RoleManagementComponent } from './components/role-management/role-management.component';
import { BasicConfigComponent } from './components/basic-config/basic-config.component';
import { AuditReasonConfigComponent } from './components/audit-reason-config/audit-reason-config.component';
import { BasicConfigActionModalComponent } from './components/basic-config/basic-config-action-modal/basic-config-action-modal.component';
import { AuditResonConfigActionModalComponent } from './components/audit-reason-config/audit-reson-config-action-modal/audit-reson-config-action-modal.component';
import { CartConfigComponent } from './components/cart-config/cart-config.component';
import { CartConfigActionModalComponent } from './components/cart-config/cart-config-action-modal/cart-config-action-modal.component';
import { AgreementConfigComponentsBaseComponent } from './components/agreement-config/agreement-config.component';
import { BasicSettingComponent } from './components/basic-setting/basic-setting.component';
import { SystemConfigComponent } from './components/system-config/system-config.component';
import { SettingRoleEditComponent } from './components/role-management/edit/edit.component';
import { SettingMenuComponent } from './components/role-management/menu/menu.component';
import { GoodsNameConfigComponent } from './components/goods-name-config/goods-name-config.component';
import { CrmManagementComponent } from './components/crm-management/crm-management.component';
import { NetworkFreightComponent } from './components/network-freight/network-freight.component';
import { CloseAccountComponent } from './components/close-account/close-account.component';
import { AnnouncementMessageComponent } from './components/announcement-message/announcement-message.component';
import { InsuranceSetComponent } from './components/insurance-set/insurance-set.component';
import { NetworkFreightNewComponent } from './components/network-freight/new/new.component';
import { NoTeManagementComponent } from './components/note-management/note-management.component';
import { SmsTemplateComponent } from './components/sms-template/sms-template.component';

const COMPONENTS = [
  StaffManagementComponent,
  RoleManagementComponent,
  BasicConfigComponent,
  AuditReasonConfigComponent,
  CartConfigComponent,
  AgreementConfigComponentsBaseComponent,
  BasicSettingComponent,
  SystemConfigComponent,
  GoodsNameConfigComponent,
  CrmManagementComponent,
  NetworkFreightComponent,
  CloseAccountComponent,
  NetworkFreightNewComponent,
  AnnouncementMessageComponent,
  InsuranceSetComponent,
  NoTeManagementComponent,
  SmsTemplateComponent
];
const NOTROUTECOMPONENTS = [
  BuyerTranspowerComponent,
  SystemStaffStaffModalComponent,
  BasicConfigActionModalComponent,
  AuditResonConfigActionModalComponent,
  CartConfigActionModalComponent,
  SettingRoleEditComponent,
  SettingMenuComponent
];
@NgModule({
  declarations: [...COMPONENTS, ...NOTROUTECOMPONENTS],
  imports: [CommonModule, SysSettingRoutingModule, SharedModule, DynamicSettingModule]
})
export class SysSettingModule {}
