apply.component.ts 685 B

1234567891011121314151617181920212223242526272829
  1. import { Component, OnInit } from '@angular/core';
  2. import { CommonCompModule } from '../../../services/common.modules'
  3. import { Router } from '@angular/router';
  4. @Component({
  5. selector: 'app-apply',
  6. imports: [CommonCompModule],
  7. standalone: true,
  8. templateUrl: './apply.component.html',
  9. styleUrls: ['./apply.component.scss']
  10. })
  11. export class ApplyComponent implements OnInit {
  12. state:number = 0
  13. get stateMap(){
  14. let map:any = {
  15. '0':'填写基本信息',
  16. '1':'填写材料适用情况',
  17. '2':'填写材料内容',
  18. '3':'上传附件及承诺',
  19. }
  20. return map[this.state]
  21. }
  22. constructor(
  23. private router:Router
  24. ) { }
  25. ngOnInit() {
  26. }
  27. }