|
@@ -46,7 +46,7 @@ export class AccountInfoComponent implements OnInit {
|
|
|
name: FormControl<string>; //姓名
|
|
|
phone: FormControl<string>; //手机号
|
|
|
email: FormControl<string>; //电子邮箱
|
|
|
- identity: FormControl<string>; //人员类型
|
|
|
+ // identity: FormControl<string>; //人员类型
|
|
|
// telephone: FormControl<string>; //办公电话
|
|
|
// province: FormControl<string>; //省份
|
|
|
// idcard: FormControl<string>; //身份证号
|
|
@@ -58,13 +58,14 @@ export class AccountInfoComponent implements OnInit {
|
|
|
name: ['', [Validators.required]],
|
|
|
phone: [''],
|
|
|
email: ['', [Validators.required]],
|
|
|
- identity: ['工作联系人', [Validators.required]],
|
|
|
+ // identity: ['工作联系人', [Validators.required]],
|
|
|
// telephone: [''],
|
|
|
// province: [''],
|
|
|
// idcard: ['', [Validators.required]],
|
|
|
// departmentName: [''],
|
|
|
// postName: [''],
|
|
|
});
|
|
|
+ identity:string = '工作联系人' //人员类型
|
|
|
companyType: string = ''; //单位类型
|
|
|
|
|
|
identityFile: string = ''; //单位联系人认证文件
|
|
@@ -246,7 +247,7 @@ export class AccountInfoComponent implements OnInit {
|
|
|
profile?.set('email', params.email);
|
|
|
// profile?.set('idcard', params.idcard);
|
|
|
// profile?.set('postName', params.postName);
|
|
|
- profile?.set('identity', params.identity);
|
|
|
+ profile?.set('identity', this.identity);
|
|
|
let res = await profile?.save();
|
|
|
this.loading = false
|
|
|
this.modal.success({
|