textbook-content.component.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <div class="entry">
  2. <form
  3. nz-form
  4. [formGroup]="validateForm"
  5. class="login-form"
  6. (ngSubmit)="submitForm()"
  7. >
  8. @if (type=='全册') {
  9. <nz-collapse [nzBordered]="false">
  10. @for (panel of eduTextbook?.get('childrens'); track $index; let pindex =
  11. $index) {
  12. <nz-collapse-panel
  13. [nzHeader]="pindex + 1 + '册'"
  14. [nzActive]="false"
  15. [nzHeader]="title"
  16. nzExpandedIcon="caret-right"
  17. style="
  18. background: #f7f7f7;
  19. border-radius: 4px;
  20. margin-bottom: 24px;
  21. border: 0px;
  22. "
  23. >
  24. <ng-template #title>
  25. <span class="panel-title">{{ "分册" + ($index + 1) }}</span>
  26. </ng-template>
  27. <app-three
  28. #children
  29. [eduTextbook]="eduTextbook?.id"
  30. [eduTextbookVolume]="panel"
  31. ></app-three>
  32. </nz-collapse-panel>
  33. }
  34. </nz-collapse>
  35. }@else {
  36. <app-three
  37. #children
  38. [eduTextbook]="eduTextbook?.id"
  39. [eduTextbookVolume]="eduTextbook?.get('childrens')[0]"
  40. ></app-three>
  41. }
  42. <div class="author-content">
  43. <div class="nav">申报教材特色及创新</div>
  44. <nz-form-item class="row" style="margin-bottom: 16px">
  45. <nz-form-control
  46. class="val"
  47. nzErrorTip="请输入本教材与同类教材相比较,突出的特色及改革创新点"
  48. style="width: 100%"
  49. >
  50. <nz-textarea-count [nzMaxCharacterCount]="1000">
  51. <textarea
  52. style="min-height: 260px"
  53. rows="4"
  54. maxlength="1000"
  55. formControlName="innovateExplain"
  56. placeholder="请输入本教材与同类教材相比较,突出的特色及改革创新点"
  57. nz-input
  58. ></textarea>
  59. </nz-textarea-count>
  60. </nz-form-control>
  61. </nz-form-item>
  62. </div>
  63. <div class="author-content">
  64. <div class="nav">申报教材应用情况及社会影响力</div>
  65. <nz-form-item class="row" style="margin-bottom: 16px">
  66. <nz-form-control
  67. class="val"
  68. nzErrorTip="概述选用本教材的范围及学校,教学效果及评价"
  69. style="width: 100%"
  70. >
  71. <nz-textarea-count [nzMaxCharacterCount]="1000">
  72. <textarea
  73. maxlength="1000"
  74. style="min-height: 260px"
  75. rows="4"
  76. formControlName="influence"
  77. placeholder="概述选用本教材的范围及学校,教学效果及评价"
  78. nz-input
  79. ></textarea>
  80. </nz-textarea-count>
  81. </nz-form-control>
  82. </nz-form-item>
  83. </div>
  84. </form>
  85. </div>
  86. <div class="footer">
  87. <button
  88. nz-button
  89. nzType="default"
  90. style="margin-right: 20px"
  91. (click)="submitForm('save')"
  92. >
  93. 保存本页
  94. </button>
  95. <button
  96. nz-button
  97. nzType="default"
  98. style="margin-right: 20px"
  99. (click)="submitForm('pre')"
  100. >
  101. 上一页
  102. </button>
  103. <button
  104. nz-button
  105. style="background: #3e49b3; border: 1px #3e49b3"
  106. nzType="primary"
  107. (click)="submitForm('next')"
  108. >
  109. 下一页
  110. </button>
  111. </div>
  112. <div class="loading" [hidden]="!saveLoading">
  113. <nz-spin nzSimple [nzSize]="'large'"></nz-spin>
  114. </div>