基础数据停机位类别数据转换处理
This commit is contained in:
@@ -20,6 +20,8 @@ export class BasicDataService {
|
||||
public chut_subject = new Subject<any>();
|
||||
public stand: Array<any> = [];
|
||||
public stand_subject = new Subject<any>();
|
||||
public standType: Array<any> = [];
|
||||
public standType_subject = new Subject<any>();
|
||||
public carousel: Array<any> = [];
|
||||
public carousel_subject = new Subject<any>();
|
||||
public checkin_desk: Array<any> = [];
|
||||
@@ -58,6 +60,7 @@ export class BasicDataService {
|
||||
let terminalHttp = this.httpClient.get('/adminapi/basicdata/ormsTerminals');
|
||||
let chutHttp = this.httpClient.get('/adminapi/basicdata/ormsChuts');
|
||||
let standHttp = this.httpClient.get('/adminapi/basicdata/ormsStands');
|
||||
let standTypeHttp = this.httpClient.get('/adminapi/basicdata/ormsStandTypes');
|
||||
let carouselHttp = this.httpClient.get('/adminapi/basicdata/ormsCarousels');
|
||||
let checkinDeskHttp = this.httpClient.get('/adminapi/basicdata/ormsCheckindesks');
|
||||
let airportHttp = this.httpClient.get('/adminapi/basicdata/sysAirports');
|
||||
@@ -79,6 +82,7 @@ export class BasicDataService {
|
||||
terminalHttp,
|
||||
chutHttp,
|
||||
standHttp,
|
||||
standTypeHttp,
|
||||
carouselHttp,
|
||||
checkinDeskHttp,
|
||||
airportHttp,
|
||||
@@ -101,6 +105,7 @@ export class BasicDataService {
|
||||
terminalRes,
|
||||
chutRes,
|
||||
standRes,
|
||||
standTypesRes,
|
||||
carouselRes,
|
||||
checkinDeskRes,
|
||||
airportRes,
|
||||
@@ -130,6 +135,8 @@ export class BasicDataService {
|
||||
this.chut_subject.next(chutRes.body);
|
||||
this.stand = standRes.body;
|
||||
this.stand_subject.next(standRes.body);
|
||||
this.standType = standTypesRes.body;
|
||||
this.standType_subject.next(standTypesRes.body);
|
||||
this.carousel = carouselRes.body;
|
||||
this.carousel_subject.next(carouselRes.body);
|
||||
this.checkin_desk = checkinDeskRes.body;
|
||||
|
||||
Reference in New Issue
Block a user