page-crm-system.ts 568 B

1234567891011121314151617181920212223242526
  1. // page-crm-system.ts
  2. import { Component } from '@angular/core';
  3. import { CommonModule } from '@angular/common';
  4. import { RouterModule } from '@angular/router';
  5. @Component({
  6. selector: 'page-crm-system',
  7. standalone: true,
  8. imports: [
  9. CommonModule,
  10. RouterModule
  11. ],
  12. templateUrl: './page-crm-system.html',
  13. styleUrls: ['./page-crm-system.scss']
  14. })
  15. export class PageCrmSystem {
  16. activeTab: string = 'government';
  17. changeTab(tab: string): void {
  18. this.activeTab = tab;
  19. }
  20. isActive(tab: string): boolean {
  21. return this.activeTab === tab;
  22. }
  23. }