You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
766 B
29 lines
766 B
3 years ago
|
import { Component, OnInit, Input } from '@angular/core';
|
||
|
import { NzModalRef } from 'ng-zorro-antd/modal';
|
||
|
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
||
|
import { HttpClient } from '@angular/common/http';
|
||
|
import { ObjectsSimpleService } from 'src/app/service/objectsSimple.service';
|
||
|
import Viewer from 'viewerjs';
|
||
|
@Component({
|
||
|
selector: 'app-pdf-word-look',
|
||
|
templateUrl: './pdf-word-look.component.html',
|
||
|
styleUrls: ['./pdf-word-look.component.scss']
|
||
|
})
|
||
|
export class PdfWordLookComponent implements OnInit {
|
||
|
|
||
|
@Input() data?: any;
|
||
|
constructor(private modal: NzModalRef) { }
|
||
|
|
||
|
|
||
|
ngOnInit(): void {
|
||
|
console.log('文档地址',this.data.url)
|
||
|
}
|
||
|
|
||
|
|
||
|
destroyModal() {
|
||
|
this.modal.destroy({ data: 'this the result data' });
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|