apply.component.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <div class="site-page-header">
  2. <nz-page-header nzTitle="创建/编辑空间" nzSubtitle="" style="padding: 0">
  3. <nz-breadcrumb nz-page-header-breadcrumb>
  4. <div class="back" (click)="back()">
  5. <span nz-icon nzType="left" nzTheme="outline"></span>返回
  6. </div>
  7. </nz-breadcrumb>
  8. </nz-page-header>
  9. <div class="steps">
  10. <nz-steps [nzCurrent]="state">
  11. <nz-step nzTitle="填写基本信息" nzDescription=""></nz-step>
  12. <nz-step nzTitle="填写材料适用情况" nzDescription=""></nz-step>
  13. <nz-step nzTitle="填写材料内容" nzDescription=""></nz-step>
  14. <nz-step nzTitle="上传附件及承诺" nzDescription=""></nz-step>
  15. </nz-steps>
  16. </div>
  17. </div>
  18. <div class="content">
  19. <div class="state-title">{{ stateMap }}</div>
  20. @if (showFrom) {
  21. <div class="submit-block" #submitComp>
  22. @switch (state) { @case (0) {
  23. <app-basic
  24. [eduTextbook]="textBook"
  25. (state)="changeState($event)"
  26. (save)="save()"
  27. ></app-basic>
  28. } @case (1) {
  29. <app-textbook-pertain
  30. [eduTextbook]="textBook"
  31. (state)="changeState($event)"
  32. (save)="save()"
  33. (maxWidth)="(submitComp.style.width)"
  34. ></app-textbook-pertain>
  35. } @case (2) {
  36. <app-textbook-content
  37. [eduTextbook]="textBook"
  38. (state)="changeState($event)"
  39. (save)="save()"
  40. (maxWidth)="(submitComp.style.width)"
  41. ></app-textbook-content>
  42. } @case (3) {
  43. <app-attachment
  44. [eduTextbook]="textBook"
  45. (state)="changeState($event)"
  46. (save)="save()"
  47. (maxWidth)="(submitComp.style.width)"
  48. ></app-attachment>
  49. } }
  50. </div>
  51. }
  52. </div>