/*
 * @Author: your name
 * @Date: 2021-12-03 15:23:05
 * @LastEditTime : 2022-02-23 17:17:53
 * @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-routing.module.ts
 */
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { AgreementConfigComponentsBaseComponent } from './components/agreement-config/agreement-config.component';
import { AuditReasonConfigComponent } from './components/audit-reason-config/audit-reason-config.component';
import { BasicConfigComponent } from './components/basic-config/basic-config.component';
import { BasicSettingComponent } from './components/basic-setting/basic-setting.component';
import { CartConfigComponent } from './components/cart-config/cart-config.component';
import { CloseAccountComponent } from './components/close-account/close-account.component';
import { CrmManagementComponent } from './components/crm-management/crm-management.component';
import { GoodsNameConfigComponent } from './components/goods-name-config/goods-name-config.component';
import { NetworkFreightComponent } from './components/network-freight/network-freight.component';
import { RoleManagementComponent } from './components/role-management/role-management.component';
import { StaffManagementComponent } from './components/staff-management/staff-management.component';
import { SystemConfigComponent } from './components/system-config/system-config.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 routes: Routes = [
  { path: 'staff-management', component: StaffManagementComponent },
  { path: 'role-management/user/:type', component: RoleManagementComponent },
  { path: 'role-management/freight/:type', component: RoleManagementComponent },
  { path: 'basic-setting', component: BasicSettingComponent },
  { path: 'note-management', component: NoTeManagementComponent },
  { path: 'basic-config', component: BasicConfigComponent },
  { path: 'audit-reason-config', component: AuditReasonConfigComponent },
  { path: 'cart-config', component: CartConfigComponent },
  { path: 'agreement-config', component: AgreementConfigComponentsBaseComponent },
  { path: 'system-config', component: SystemConfigComponent },
  { path: 'goods-name-config', component: GoodsNameConfigComponent },
  { path: 'crm-management', component: CrmManagementComponent },
  { path: 'network-freight', component: NetworkFreightComponent },
  { path: 'network-freight/new/:id', component: NetworkFreightNewComponent },
  { path: 'close-account', component: CloseAccountComponent },
  // { path: 'btn-management', component: BtnManagementComponent },
  { path: 'announcement-message', component: AnnouncementMessageComponent },
  { path: 'insurance-set', component: InsuranceSetComponent },
  { path: 'sms-template', component: SmsTemplateComponent}
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class SysSettingRoutingModule {}
