Commit 681c94d5 authored by wangqinghua's avatar wangqinghua

日历

parent 03b643fc
...@@ -18,7 +18,6 @@ export class AddBlockPage { ...@@ -18,7 +18,6 @@ export class AddBlockPage {
} }
ionViewDidLoad() { ionViewDidLoad() {
console.log('ionViewDidLoad AddBlockPage');
} }
goSelectmodal(){ goSelectmodal(){
......
...@@ -25,7 +25,6 @@ export class BlockListPage { ...@@ -25,7 +25,6 @@ export class BlockListPage {
this.orgid = this.navParams.get("orgid"); this.orgid = this.navParams.get("orgid");
this.orgName = this.navParams.get("orgName"); this.orgName = this.navParams.get("orgName");
this.initList(); this.initList();
console.log(this.orgid);
} }
initList(){ initList(){
......
...@@ -15,7 +15,6 @@ export class ContactModalPage { ...@@ -15,7 +15,6 @@ export class ContactModalPage {
} }
ionViewDidLoad() { ionViewDidLoad() {
console.log('ionViewDidLoad ContactModalPage');
} }
dismiss() { dismiss() {
......
...@@ -40,8 +40,6 @@ export class ContactListPage { ...@@ -40,8 +40,6 @@ export class ContactListPage {
this.orgid = this.navParams.get("orgid"); this.orgid = this.navParams.get("orgid");
this.orgName = this.navParams.get("orgName"); this.orgName = this.navParams.get("orgName");
console.log("orgid:"+this.orgid);
console.log("orgName:"+this.orgName);
//加载联系人(常用联系人,部门下人员) //加载联系人(常用联系人,部门下人员)
if(this.orgid != null && this.orgid != ''){ if(this.orgid != null && this.orgid != ''){
this.getGeneralContactPersons(); //常用联系人ids数组 this.getGeneralContactPersons(); //常用联系人ids数组
...@@ -72,7 +70,6 @@ export class ContactListPage { ...@@ -72,7 +70,6 @@ export class ContactListPage {
//常用联系人:默认为true 有移除常用联系人按钮 //常用联系人:默认为true 有移除常用联系人按钮
element["hasgeneralpersonsflag"] = true; element["hasgeneralpersonsflag"] = true;
}); });
console.log("data2:"+JSON.stringify(this.contactPersons));
}, error => { }, error => {
this.appService.alert('网络异常!'); this.appService.alert('网络异常!');
} }
...@@ -147,7 +144,6 @@ export class ContactListPage { ...@@ -147,7 +144,6 @@ export class ContactListPage {
data.forEach(element => { data.forEach(element => {
this.generalContactPersons.push(element["id"]); this.generalContactPersons.push(element["id"]);
}); });
console.log("getGeneralContactPersons:"+JSON.stringify(this.generalContactPersons));
}, error => { }, error => {
this.appService.alert('网络异常!'); this.appService.alert('网络异常!');
} }
......
...@@ -65,7 +65,6 @@ export class ContractPersoninfoPage { ...@@ -65,7 +65,6 @@ export class ContractPersoninfoPage {
this.appService.ObserverHttpPostOption("/wisdomgroup/app/contact/addGeneralContactPersons", data) this.appService.ObserverHttpPostOption("/wisdomgroup/app/contact/addGeneralContactPersons", data)
.subscribe((res: Response) => { .subscribe((res: Response) => {
let data = res.json(); let data = res.json();
console.log("data:" + data);
if (data["result"] == '2') { if (data["result"] == '2') {
this.appService.popToastView('该联系人已在常用联系人中!', 'top', 2000); this.appService.popToastView('该联系人已在常用联系人中!', 'top', 2000);
} else if (data["result"] == '3') { } else if (data["result"] == '3') {
......
...@@ -48,7 +48,6 @@ export class MyBlockPage { ...@@ -48,7 +48,6 @@ export class MyBlockPage {
}; };
this.appService.ObserverHttpPostData('/wisdomgroup/modules/telpBook',data) this.appService.ObserverHttpPostData('/wisdomgroup/modules/telpBook',data)
.subscribe((res)=>{ .subscribe((res)=>{
console.log(res.json());
if( res.json().apiResult.errcode == '0' ){ if( res.json().apiResult.errcode == '0' ){
toast.setMessage('添加成功'); toast.setMessage('添加成功');
toast.present(); toast.present();
......
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