webpackJsonp([2],{

/***/ 320:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReportTrackModule", function() { return ReportTrackModule; });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(10);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__reportTrack__ = __webpack_require__(346);
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};



var ReportTrackModule = (function () {
    function ReportTrackModule() {
    }
    ReportTrackModule = __decorate([
        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["I" /* NgModule */])({
            declarations: [
                __WEBPACK_IMPORTED_MODULE_2__reportTrack__["a" /* ReportTrackPage */],
            ],
            imports: [
                __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["h" /* IonicPageModule */].forChild(__WEBPACK_IMPORTED_MODULE_2__reportTrack__["a" /* ReportTrackPage */]),
            ],
        })
    ], ReportTrackModule);
    return ReportTrackModule;
}());

//# sourceMappingURL=reportTrack.module.js.map

/***/ }),

/***/ 346:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ReportTrackPage; });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(10);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__service_appHttpService__ = __webpack_require__(19);
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};



var ReportTrackPage = (function () {
    function ReportTrackPage(navCtrl, appService) {
        this.navCtrl = navCtrl;
        this.appService = appService;
    }
    ReportTrackPage.prototype.ionViewWillEnter = function () {
        //加载报备
        this.getAllReport();
    };
    //获取所有报备
    ReportTrackPage.prototype.getAllReport = function () {
        var _this = this;
        this.appService.ObserverHttpPost("/wisdomgroup/modules/premanager/getReport", null)
            .subscribe(function (res) {
            var data = res.json();
            console.log(data);
            _this.all = data;
        }, function (error) {
            _this.appService.alert('网络异常！');
        });
    };
    ReportTrackPage.prototype.goDetail = function (id, title) {
        this.navCtrl.push("ReportDetailPage", {
            id: id,
            title: title
        });
    };
    ReportTrackPage.prototype.goBack = function () {
        this.navCtrl.popToRoot();
    };
    ReportTrackPage = __decorate([
        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
            selector: 'page-reportTrack',template:/*ion-inline-start:"/Users/ben/gitLab-project/wisdom-ces/src/pages/reportTrack/reportTrack.html"*/'<ion-header>\n	<ion-toolbar>\n		<div class="searchToolBar">\n			<button ion-button clear small navPop style="padding: 0;" (click)="goBack()">\n				<img class="back-btn" src="./assets/imgs/back.png" />\n			</button>\n			<ion-title text-center>报备跟踪</ion-title>\n		</div>\n\n	</ion-toolbar>\n</ion-header>\n<ion-content>\n	<ion-list>\n		<ion-item *ngFor="let item of all" (click)="goDetail(item.id,item.title)">\n			<div class="item">\n				<div class="item-header">\n					<div class="item-header-box">\n						<img src="./assets/imgs/bb1.png" class="itemIcon">\n						<span class="item-title">{{item.title}}</span>\n					</div>\n					<!-- <button ion-button round class="btn color1" *ngIf="item.type == 1"></button> -->\n					<button ion-button round class="btn color2" *ngIf="item.state == 2">已发布</button>\n					<button ion-button round class="btn color3" *ngIf="item.state == 3">已结束</button>\n				</div>\n				<div class="item-content">\n					<div class="left">\n						<div>发布科室：\n							<span class="data">{{item.fbDept}}</span>\n						</div>\n						<div>报备对象：\n							<span class="data">{{item.usergroupName}}</span>\n						</div>\n						<div>报备截止时间：\n							<span class="data">{{item.endTime}}</span>\n						</div>\n					</div>\n					<div class="right">\n						<button class="participation">人员参与情况</button>\n					</div>\n				</div>\n			</div>\n		</ion-item>\n	</ion-list>\n</ion-content>'/*ion-inline-end:"/Users/ben/gitLab-project/wisdom-ces/src/pages/reportTrack/reportTrack.html"*/,
        }),
        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["j" /* NavController */], __WEBPACK_IMPORTED_MODULE_2__service_appHttpService__["b" /* AppService */]])
    ], ReportTrackPage);
    return ReportTrackPage;
}());

//# sourceMappingURL=reportTrack.js.map

/***/ })

});
//# sourceMappingURL=2.js.map