|
@@ -10,8 +10,8 @@ import * as Parse from "parse";
|
|
export class PageAddComponent {
|
|
export class PageAddComponent {
|
|
userAdd: any = {
|
|
userAdd: any = {
|
|
name: '',
|
|
name: '',
|
|
- tag: '',
|
|
|
|
- desc: '',
|
|
|
|
|
|
+ gender: '',
|
|
|
|
+ mobile: '',
|
|
img: ''
|
|
img: ''
|
|
};
|
|
};
|
|
selectedImage: string | ArrayBuffer | null = null;
|
|
selectedImage: string | ArrayBuffer | null = null;
|
|
@@ -25,8 +25,8 @@ export class PageAddComponent {
|
|
const newContact = new HrmContact();
|
|
const newContact = new HrmContact();
|
|
|
|
|
|
newContact.set('name', this.userAdd.name);
|
|
newContact.set('name', this.userAdd.name);
|
|
- newContact.set('tag', this.userAdd.tag);
|
|
|
|
- newContact.set('desc', this.userAdd.desc);
|
|
|
|
|
|
+ newContact.set('gender', this.userAdd.gender);
|
|
|
|
+ newContact.set('mobile', this.userAdd.mobile);
|
|
newContact.set('img', this.userAdd.img);
|
|
newContact.set('img', this.userAdd.img);
|
|
// 设置其他联系人信息...
|
|
// 设置其他联系人信息...
|
|
|
|
|