|
|
@ -3,6 +3,9 @@ import { CustomReuseStrategy } from 'src/app/CustomReuseStrategy'; |
|
|
|
import { FormBuilder, FormGroup, Validators } from '@angular/forms'; |
|
|
|
import { FormBuilder, FormGroup, Validators } from '@angular/forms'; |
|
|
|
import { NzMessageService } from 'ng-zorro-antd/message'; |
|
|
|
import { NzMessageService } from 'ng-zorro-antd/message'; |
|
|
|
import { Router } from '@angular/router'; |
|
|
|
import { Router } from '@angular/router'; |
|
|
|
|
|
|
|
import { NzUploadFile } from 'ng-zorro-antd/upload'; |
|
|
|
|
|
|
|
import { Observable, Observer } from 'rxjs'; |
|
|
|
|
|
|
|
import { NzUploadChangeParam } from 'ng-zorro-antd/upload'; |
|
|
|
import { TreeService } from 'src/app/service/tree.service'; |
|
|
|
import { TreeService } from 'src/app/service/tree.service'; |
|
|
|
import { HttpClient } from '@angular/common/http'; |
|
|
|
import { HttpClient } from '@angular/common/http'; |
|
|
|
import { asBlob } from 'html-docx-js-typescript' |
|
|
|
import { asBlob } from 'html-docx-js-typescript' |
|
|
@ -17,6 +20,8 @@ declare var AMap: any; |
|
|
|
|
|
|
|
|
|
|
|
export class UnitDetailsComponent implements OnInit { |
|
|
|
export class UnitDetailsComponent implements OnInit { |
|
|
|
@ViewChild('box') box: ElementRef; |
|
|
|
@ViewChild('box') box: ElementRef; |
|
|
|
|
|
|
|
loading = false; |
|
|
|
|
|
|
|
avatarUrl?: string; |
|
|
|
constructor(private message: NzMessageService, private router: Router, private toTree: TreeService, private fb: FormBuilder, private http: HttpClient, private renderer: Renderer2, private el: ElementRef, public renderer2: Renderer2, private elementRef: ElementRef) { |
|
|
|
constructor(private message: NzMessageService, private router: Router, private toTree: TreeService, private fb: FormBuilder, private http: HttpClient, private renderer: Renderer2, private el: ElementRef, public renderer2: Renderer2, private elementRef: ElementRef) { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
@ -323,8 +328,6 @@ export class UnitDetailsComponent implements OnInit { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
listOfData: any[] = []; |
|
|
|
listOfData: any[] = []; |
|
|
|
listOfData2: any[] = []; |
|
|
|
listOfData2: any[] = []; |
|
|
|
|
|
|
|
|
|
|
|