|
@@ -12,7 +12,7 @@ import { NzUploadModule } from 'ng-zorro-antd/upload';
|
|
|
import { NzModalService } from 'ng-zorro-antd/modal';
|
|
|
import Parse from 'parse';
|
|
|
import { CompUploadComponent } from '../../../../app/comp-upload/comp-upload.component';
|
|
|
-
|
|
|
+import { DatePipe } from '@angular/common';
|
|
|
import {
|
|
|
FormControl,
|
|
|
FormGroup,
|
|
@@ -38,11 +38,12 @@ import { Router } from '@angular/router'
|
|
|
NzCheckboxModule,
|
|
|
NzTableModule,
|
|
|
NzUploadModule,
|
|
|
- CompUploadComponent,
|
|
|
+ CompUploadComponent,DatePipe,
|
|
|
],
|
|
|
standalone: true,
|
|
|
templateUrl: './attachment.component.html',
|
|
|
styleUrls: ['./attachment.component.scss'],
|
|
|
+ providers: [DatePipe],
|
|
|
})
|
|
|
export class AttachmentComponent implements OnInit {
|
|
|
@Input('eduTextbook') eduTextbook: any;
|