|
|
@ -1,11 +1,11 @@ |
|
|
|
import { Component, OnInit } from '@angular/core'; |
|
|
|
import { Component, OnInit } from '@angular/core'; |
|
|
|
import {environment} from '../../../../environments/environment'; |
|
|
|
import {environment} from '../../../../environments/environment'; |
|
|
|
import {FormBuilder, FormGroup, Validators} from '_@angular_forms@9.0.7@@angular/forms'; |
|
|
|
|
|
|
|
import {HttpClient} from '_@angular_common@9.0.7@@angular/common/http'; |
|
|
|
|
|
|
|
import {NzMessageService, NzUploadFile} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; |
|
|
|
|
|
|
|
import {Router} from '_@angular_router@9.0.7@@angular/router'; |
|
|
|
|
|
|
|
import {CommonsService} from '../../../services/commons.service'; |
|
|
|
import {CommonsService} from '../../../services/commons.service'; |
|
|
|
import {MsgService} from '../../../services/msg.service'; |
|
|
|
import {MsgService} from '../../../services/msg.service'; |
|
|
|
|
|
|
|
import {FormBuilder, FormGroup, Validators} from '@angular/forms'; |
|
|
|
|
|
|
|
import {HttpClient} from '@angular/common/http'; |
|
|
|
|
|
|
|
import {NzMessageService, NzUploadFile} from 'ng-zorro-antd'; |
|
|
|
|
|
|
|
import {Router} from '@angular/router'; |
|
|
|
|
|
|
|
|
|
|
|
function getBase64(file: File): Promise<string | ArrayBuffer | null> { |
|
|
|
function getBase64(file: File): Promise<string | ArrayBuffer | null> { |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|