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