Commit 4815ec39 authored by wangqinghua's avatar wangqinghua

color

parent b6873ae0
...@@ -123,7 +123,7 @@ export class ContactListPage { ...@@ -123,7 +123,7 @@ export class ContactListPage {
//跳转联系人信息页面 //跳转联系人信息页面
contactPersonInfo(contactPerson) { contactPersonInfo(contactPerson) {
this.navCtrl.push("ContractPersoninfoPage", {"id": contactPerson.id, orgName: this.orgName}); this.navCtrl.push("ContractPersoninfoPage", {"id": contactPerson.id});
} }
// search(){ // search(){
......
...@@ -42,7 +42,6 @@ export class ContractPersoninfoPage { ...@@ -42,7 +42,6 @@ export class ContractPersoninfoPage {
ionViewDidEnter() { ionViewDidEnter() {
this.id = this.navParams.get("id"); this.id = this.navParams.get("id");
this.nowOrgName = this.navParams.get("orgName");
this.getPersonInfo(); this.getPersonInfo();
this.getRole(); this.getRole();
this.user = this.storage.get("user").then((value) => { this.user = this.storage.get("user").then((value) => {
...@@ -83,6 +82,7 @@ export class ContractPersoninfoPage { ...@@ -83,6 +82,7 @@ export class ContractPersoninfoPage {
.subscribe((res: Response) => { .subscribe((res: Response) => {
this.contactPersonInfo = res.json().data.user; this.contactPersonInfo = res.json().data.user;
this.isContact = res.json().data.isContact; this.isContact = res.json().data.isContact;
this.nowOrgName = res.json().data.orgName;
this.email = this.contactPersonInfo.email; this.email = this.contactPersonInfo.email;
this.abbreviation = this.contactPersonInfo.abbreviation; this.abbreviation = this.contactPersonInfo.abbreviation;
this.telephone = this.contactPersonInfo.telephone; this.telephone = this.contactPersonInfo.telephone;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment