Newer
Older
import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';
@IonicPage()
@Component({
selector: 'page-duty-change-detail',
templateUrl: 'duty-change-detail.html',
})
export class DutyChangeDetailPage {
httpDetail;
constructor(public navCtrl: NavController, public navParams: NavParams,
public appService: AppService) {
this.getDetail();
}
getDetail(){
this.appService.ObserverHttpGetOption('/wisdomgroup/schedule/getDataByApplyId',{applyId:this.detail.id})
.subscribe((res)=>{
this.httpDetail = res.json();
});