@ebuilding/runtime 2.7.3 → 2.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/home.mjs +683 -0
- package/fesm2022/home.mjs.map +1 -0
- package/home/box-bench/index.d.ts +23 -0
- package/home/box-custom/index.d.ts +18 -0
- package/home/box-item/index.d.ts +12 -0
- package/home/components/item.app/index.component.d.ts +14 -0
- package/home/components/item.calendar/index.component.d.ts +24 -0
- package/home/components/item.carousel/index.component.d.ts +21 -0
- package/home/components/item.chart/index.component.d.ts +20 -0
- package/home/components/item.notice/index.component.d.ts +17 -0
- package/home/components/item.report/index.component.d.ts +9 -0
- package/home/components/item.single/index.component.d.ts +9 -0
- package/home/components/item.workflow/index.component.d.ts +11 -0
- package/home/home-routing.module.d.ts +7 -0
- package/home/home.module.d.ts +8 -0
- package/home/home.service.d.ts +14 -0
- package/home/home.tokens.d.ts +11 -0
- package/home/index.d.ts +3 -0
- package/home/main/index.component.d.ts +25 -0
- package/package.json +18 -12
|
@@ -0,0 +1,683 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, Injectable, Input, ViewChild, InjectionToken, Inject, NgModule } from '@angular/core';
|
|
3
|
+
import * as i4 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
6
|
+
import * as i5$2 from 'ng-zorro-antd/spin';
|
|
7
|
+
import { NzSpinModule } from 'ng-zorro-antd/spin';
|
|
8
|
+
import * as i4$1 from 'ng-zorro-antd/tabs';
|
|
9
|
+
import { NzTabsModule } from 'ng-zorro-antd/tabs';
|
|
10
|
+
import * as i7 from '@ebuilding/abc/empty';
|
|
11
|
+
import { GramDeonEmptyModule } from '@ebuilding/abc/empty';
|
|
12
|
+
import { GramPipeModule } from '@ebuilding/base/shared.pipe';
|
|
13
|
+
import { ModuleAPI } from '@ebuilding/base/shared.var/shared.constant';
|
|
14
|
+
import * as i3 from 'ng-zorro-antd/icon';
|
|
15
|
+
import { NzIconModule } from 'ng-zorro-antd/icon';
|
|
16
|
+
import * as i1 from '@delon/theme';
|
|
17
|
+
import { FormCustomComponent } from '@ebuilding/biz-form/custom';
|
|
18
|
+
import * as i2 from '@ebuilding/base/shared.srv/base-dialog.service';
|
|
19
|
+
import * as i2$1 from '@angular/router';
|
|
20
|
+
import { RouterModule } from '@angular/router';
|
|
21
|
+
import * as i5 from 'ng-zorro-antd/carousel';
|
|
22
|
+
import { NzCarouselModule } from 'ng-zorro-antd/carousel';
|
|
23
|
+
import * as i2$2 from '@angular/platform-browser';
|
|
24
|
+
import * as i5$1 from '@ebuilding/chart/report';
|
|
25
|
+
import { ReportChartModule } from '@ebuilding/chart/report';
|
|
26
|
+
import * as i2$3 from '@fullcalendar/angular';
|
|
27
|
+
import { FullCalendarModule } from '@fullcalendar/angular';
|
|
28
|
+
import dayGridPlugin from '@fullcalendar/daygrid';
|
|
29
|
+
import zhLocale from '@fullcalendar/core/locales/zh-cn';
|
|
30
|
+
import * as i2$4 from '@ebuilding/runtime/comm/default';
|
|
31
|
+
import { CommDefaultModule } from '@ebuilding/runtime/comm/default';
|
|
32
|
+
import { of } from 'rxjs';
|
|
33
|
+
|
|
34
|
+
class HomeAppComponent {
|
|
35
|
+
http;
|
|
36
|
+
loading = false;
|
|
37
|
+
data = [];
|
|
38
|
+
constructor(http) {
|
|
39
|
+
this.http = http;
|
|
40
|
+
}
|
|
41
|
+
ngOnInit() {
|
|
42
|
+
this.getPageData();
|
|
43
|
+
}
|
|
44
|
+
itemClick(item) {
|
|
45
|
+
}
|
|
46
|
+
getPageData() {
|
|
47
|
+
this.loading = true;
|
|
48
|
+
this.http.post(`${ModuleAPI.user}/user/sys/listApp`, null).subscribe((res) => {
|
|
49
|
+
if (res.success && res.result) {
|
|
50
|
+
this.data = res.result;
|
|
51
|
+
}
|
|
52
|
+
this.loading = false;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeAppComponent, deps: [{ token: i1._HttpClient }], target: i0.ɵɵFactoryTarget.Component });
|
|
56
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeAppComponent, isStandalone: true, selector: "home-app", ngImport: i0, template: "<ng-container *ngIf=\"data!!\">\n <ng-container *ngFor=\"let item of data;let index=index\">\n <div class=\"item\" (click)=\"itemClick(item)\">\n <div class=\"item-icon\" [ngClass]=\"'backgroup_'+index\">\n <i nz-icon [nzType]=\"item.icon\"></i>\n </div>\n <label class=\"item-label\">\n {{item.name}}\n </label>\n </div>\n </ng-container>\n</ng-container>", styles: [":host ::ng-deep .item{display:flex;flex-direction:column;align-items:center;float:left;width:58px;margin-right:15px;padding:15px 0 0}:host ::ng-deep .item-icon{display:flex;align-items:center;justify-content:center;width:58px;height:58px;color:#fff;font-size:30px;border-radius:8px;cursor:pointer}:host ::ng-deep .item-icon:hover{opacity:.8}:host ::ng-deep .item-label{padding:3px 0 0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i3.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }] });
|
|
57
|
+
}
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeAppComponent, decorators: [{
|
|
59
|
+
type: Component,
|
|
60
|
+
args: [{ selector: 'home-app', imports: [
|
|
61
|
+
CommonModule,
|
|
62
|
+
NzIconModule
|
|
63
|
+
], template: "<ng-container *ngIf=\"data!!\">\n <ng-container *ngFor=\"let item of data;let index=index\">\n <div class=\"item\" (click)=\"itemClick(item)\">\n <div class=\"item-icon\" [ngClass]=\"'backgroup_'+index\">\n <i nz-icon [nzType]=\"item.icon\"></i>\n </div>\n <label class=\"item-label\">\n {{item.name}}\n </label>\n </div>\n </ng-container>\n</ng-container>", styles: [":host ::ng-deep .item{display:flex;flex-direction:column;align-items:center;float:left;width:58px;margin-right:15px;padding:15px 0 0}:host ::ng-deep .item-icon{display:flex;align-items:center;justify-content:center;width:58px;height:58px;color:#fff;font-size:30px;border-radius:8px;cursor:pointer}:host ::ng-deep .item-icon:hover{opacity:.8}:host ::ng-deep .item-label{padding:3px 0 0}\n"] }]
|
|
64
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }] });
|
|
65
|
+
|
|
66
|
+
class HomeNoticeComponent {
|
|
67
|
+
http;
|
|
68
|
+
dialogSrv;
|
|
69
|
+
loading = false;
|
|
70
|
+
dataZd = [];
|
|
71
|
+
dataGg = [];
|
|
72
|
+
constructor(http, dialogSrv) {
|
|
73
|
+
this.http = http;
|
|
74
|
+
this.dialogSrv = dialogSrv;
|
|
75
|
+
}
|
|
76
|
+
ngOnInit() {
|
|
77
|
+
this.getPageData();
|
|
78
|
+
}
|
|
79
|
+
itemClick(item) {
|
|
80
|
+
let modalOptions = {
|
|
81
|
+
nzTitle: '制度公告详情',
|
|
82
|
+
nzContent: FormCustomComponent,
|
|
83
|
+
};
|
|
84
|
+
this.dialogSrv.CreateDrawerDialog(modalOptions, {
|
|
85
|
+
config: {
|
|
86
|
+
type: 'VIEW',
|
|
87
|
+
buttonCode: 'VIEW',
|
|
88
|
+
formId: '1783749656428314626',
|
|
89
|
+
id: item.id,
|
|
90
|
+
moduleCode: 'user',
|
|
91
|
+
},
|
|
92
|
+
}, (instance) => { });
|
|
93
|
+
}
|
|
94
|
+
getPageData() {
|
|
95
|
+
this.loading = true;
|
|
96
|
+
this.http.post(`${ModuleAPI.user}/user/sys/listNotice`, null).subscribe((res) => {
|
|
97
|
+
if (res.success && res.result) {
|
|
98
|
+
if (res.result.zd) {
|
|
99
|
+
this.dataZd = res.result.zd;
|
|
100
|
+
}
|
|
101
|
+
if (res.result.gg) {
|
|
102
|
+
this.dataGg = res.result.gg;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
this.loading = false;
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeNoticeComponent, deps: [{ token: i1._HttpClient }, { token: i2.GramBaseDialogService }], target: i0.ɵɵFactoryTarget.Component });
|
|
109
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeNoticeComponent, isStandalone: true, selector: "home-notice", ngImport: i0, template: "<nz-tabset>\n <nz-tab nzTitle=\"\u5236\u5EA6\">\n <ng-container *ngIf=\"dataZd!!\">\n <ng-container *ngFor=\"let item of dataZd\">\n <div class=\"item\">\n <a (click)=\"itemClick(item)\">{{item.title}}</a>\n </div>\n </ng-container>\n </ng-container>\n </nz-tab>\n <nz-tab nzTitle=\"\u516C\u544A\">\n <ng-container *ngIf=\"dataGg!!\">\n <ng-container *ngFor=\"let item of dataGg\">\n <div class=\"item\">\n <a (click)=\"itemClick(item)\">{{item.title}}</a>\n </div>\n </ng-container>\n </ng-container>\n </nz-tab>\n</nz-tabset>", styles: [":host ::ng-deep .item{padding:15px 0 0}:host ::ng-deep .item a{color:inherit;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:1;-webkit-box-orient:vertical}:host ::ng-deep .item a:hover{color:#1177fb}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: NzTabsModule }, { kind: "component", type: i4$1.NzTabSetComponent, selector: "nz-tabset", inputs: ["nzSelectedIndex", "nzTabPosition", "nzTabBarExtraContent", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact", "nzDestroyInactiveTabPane"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabset"] }, { kind: "component", type: i4$1.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }] });
|
|
110
|
+
}
|
|
111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeNoticeComponent, decorators: [{
|
|
112
|
+
type: Component,
|
|
113
|
+
args: [{ selector: 'home-notice', imports: [
|
|
114
|
+
CommonModule,
|
|
115
|
+
NzTabsModule
|
|
116
|
+
], template: "<nz-tabset>\n <nz-tab nzTitle=\"\u5236\u5EA6\">\n <ng-container *ngIf=\"dataZd!!\">\n <ng-container *ngFor=\"let item of dataZd\">\n <div class=\"item\">\n <a (click)=\"itemClick(item)\">{{item.title}}</a>\n </div>\n </ng-container>\n </ng-container>\n </nz-tab>\n <nz-tab nzTitle=\"\u516C\u544A\">\n <ng-container *ngIf=\"dataGg!!\">\n <ng-container *ngFor=\"let item of dataGg\">\n <div class=\"item\">\n <a (click)=\"itemClick(item)\">{{item.title}}</a>\n </div>\n </ng-container>\n </ng-container>\n </nz-tab>\n</nz-tabset>", styles: [":host ::ng-deep .item{padding:15px 0 0}:host ::ng-deep .item a{color:inherit;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:1;-webkit-box-orient:vertical}:host ::ng-deep .item a:hover{color:#1177fb}\n"] }]
|
|
117
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.GramBaseDialogService }] });
|
|
118
|
+
|
|
119
|
+
class HomeWorkFlowComponent {
|
|
120
|
+
router;
|
|
121
|
+
constructor(router) {
|
|
122
|
+
this.router = router;
|
|
123
|
+
}
|
|
124
|
+
ngOnInit() { }
|
|
125
|
+
flowClick(e) {
|
|
126
|
+
this.router.navigateByUrl(`/workflow/list/${e}`);
|
|
127
|
+
}
|
|
128
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeWorkFlowComponent, deps: [{ token: i2$1.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
129
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeWorkFlowComponent, isStandalone: true, selector: "home-workflow", ngImport: i0, template: "<ul>\n <li>\n <div class=\"step-wrapper\" (click)=\"flowClick('apply')\">\n <img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAABGlBMVEUAAAAAAP8AgP8Aqv8AgP8zmf8qgP8ggP8Xi/8qlf8iiP8gj/8cgPEdif8kif8ikP8hjPchjP8ni/cjh/gjjvgmjPkji/kiiPkijv8jjPoiifoki/sjivgjiPgki/gkifgjifwlivkkjPwkifolivwji/oljPolivojivski/skifkki/kjjPkli/kkivokivokifglivolifkli/oki/oki/kkivskivklivkki/kjivoli/ojivojifgji/gji/okivokivkkivkkivkkivkkivkkivkki/okivkkivkkivkkivgkivgkivkjivkkivokivokifkkivojivkkivkkivokivkkivojivkjivkkivkkivkki/okivmdXVYCAAAAXXRSTlMAAQIDBAUGCAsMDxASGhweHx8hJCQoLC0tMzQ5SElNTlBTVF1gZWZvdHmAhomKjI6PkqCgoaKqrK64u8HCw8PDxMjL09TW19vi4+Tq6+3v7/Dz9Pb39/r6/P39/v7dYDghAAACJElEQVRYw+2YWTMDQRSF7zDELrGMMIg1CGaQCCJ2IvYlCYlx///f8KB40Hd6breOKlU5r3Pqq5ma7nMXgJZa+ifqijuu68S7TLB6Un6hHCAiIgblgp/q+Q2tN12s4w/Vi+leTdxotoakatlRDdxwvoGhauSHFXGxTBWlqmZiKrxkCSNVSvJ5ixVkqLLIxFkeMuVZHJ6dQ7ZyNuP9tlFBueh39FBJXuT/QEVF/JlkRRVYkZ6eWAmVVZKd8AxqKCO5v1UdYDX8XudRS/nQvGroARthaZal3I9LE/NnEcRsSD6TeToJAPbykxRYozM8TXmvP58N7EiJaRJ4SFnPv55OXkqARbK+1aVAaYjXqVqYQjkQYGQvlJgigH4kEGDuKgToE8ACAwjd3itpKxDAMgcIMHZE2cpE/xLwgGAt3Ii2QOx7EsgEAvTtir6E4HL4QGi7EHyOYHIVgLAm+NzfAbcYQJVPHn9mfHKcD5x7FH1x/WPTufnOOjbcgz10yjzYvKsHM/fsq8cJhw4/4IdDdHzB4IlKfEUFLMD0nVLAQlEOtNcDtRJAF6lv4MCxcpEiy+gXcOpWvYyShf7BAgBoX33TKPR0KzIPAP37eq0I2Sy9bMyu3Go2S+bbOeMNp/mW2HjTbn6sMD/4gJVT4TFGM7AVhr1txvBofrw1P4A3YUVgfolhfs3ShEXQ56rqQFxVHWivqpqwTPvuexKO6zoJI+u+llr6C30AImnPnDDxrmkAAAAASUVORK5CYII=\"\n alt=\"\" />\n <label>\u6211\u53D1\u8D77\u7684</label>\n </div>\n </li>\n <li>\n <div class=\"step-wrapper\" (click)=\"flowClick('processed')\">\n <img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAACFlBMVEUAAAAAAP8A//8AgP8Aqv+qqv8AgP+Av/8Amf+ZzP8qgP8ggP+fv/+Oxv8agP8Xi/8ui+iL0f8VgOoqlf8niesnif+Stu0gj/8eh/+Oxv+PwvUnif8mhPYkifYiiPciiP8hjP8oh/coj/+Pw/gjjvgiivghifgkjPkji/mRxfmQyP8kh/okjfokivqRw/qQw/okifoki/Yki/sjiPsjjfsjivsijPuQw/sljPuQwfski/cki/sli/sljPuTxPySw/wkifgjifwlivkjiPkmi/mSw/wkifojivojjPojivolivqQxPqQwvokifqRw/qSxPojivokivgki/ski/uQw/uRw/uSxPskivkjifkli/kkifkki/uRwvmRxPuTxPskivsjivkli/kjivgjivokivoki/okivoki/qQw/oki/iRw/okivokivkkivqRxPwli/kki/kkivmRwvskivkkivkkivmSwvskivmRw/skivmRw/skifkkivkkivojivokivgkivoki/oki/oji/okivoki/okivokivokifkki/kki/ojivokivkkivkkivokivkkivkkivkjifkkivkkivkkivkkivkkivkjivkkifokivokivgkivokifgkivoli/ojivokivokivokivkkivoki/ojivojivkkivkkivkkivokivkkivokivkjivkkivkki/okivmSNfP3AAAAsXRSTlMAAQECAwMEBAUFBggICQoLCwsMDA0NDhAREhkaGxweHh8gICIkJScqLCwuMTEyMzc4OTk6Ojs8PD4+QEBERUlNTlBTWFhZXV5fYGBjZWprbG1xcnd4e36BgoSGhoaGhoeJipCQlJWWlpqcnKSlpaWnqaqsr7CxsbKys7O2t7q7vr+/wcPExcbP0NDQ0dLT09fa3t/h4uPk5efo6Onp6urt7u7v8fHx9fb29/f4+Pr8/v7IYf4CAAACFElEQVRYw2NgGAWjYBQMGsCq5xMaG4cXhPlZ8hJtnn5GFTEgz55I81wrqogEIezEmGdXRTzwJ8I8ySISDKzSImygNynmVcUQNjCLJAPLxAiZx1NFGtAkZKAUiQaaEzKQU5k0IDgM8jGXqpkVscBCXYCQcRq5SzaSAtbU2OAzjjF83UaSQT4fbgPTNpIDmrhwmee+kTyQjMM87mlkGrhWBbuBjhvJBRHYDUwh28A27AaWkm3gVOwGNpBt4FLsBjYSqX1KyzxqGrjAgYGBzXct1QxcbQJWG0gtAze4Q9PsMioZGA9TPIE6BpYwM1DVhV1CMLXUCcOZ8jClJqvJM3DhImTeKiOYSoVZZKXDDkMGBoN2RAS7wRQKd5OVsCeLgwSFamH8aJg65lLysl4QtNIqgHCLmWDqEsjMy7YwB6WDeJ38MGUeG8g00BMuEbFx4ww5GMd0NbmlTQvcjwwBKwxgTMU55BdfqQgTZWEMkR5KysMcDnQlzOWUFbDV6HV4IqUldqsEigovyquAPmkkBWarqVCnTFKFyyvNpUolNVsXKi3aS6Vab7E1JIIrqVaNrnQBZelMatbLzVFJE2lY0Q+cgXVkGzgfu4HZZBvYj93AYLINLMBuoNp6cg10xtHILiDXxyw4DJSZTpZ5q41x9lN0yDFxuROerpRMAcnh2KyNv7OnFpxT10gsqC+MNBgdNhsFo2AwAAAtOPG9B304zAAAAABJRU5ErkJggg==\"\n alt=\"\" />\n <label>\u6211\u5904\u7406\u7684</label>\n </div>\n </li>\n <li>\n <div class=\"step-wrapper\" (click)=\"flowClick('cc')\">\n <img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAUKADAAQAAAABAAAAUAAAAAAx4ExPAAAJOklEQVR4Ae2cf2wcRxXH5+3t7iX9KZJUFKkRLdhnV86PWjkB+dFiV5VoU5q2lFRQKkFRRURFQ5OcLaU/IEFEqPbZVKGhqaIq+aNqSakSWgkQCAjqH/x0AYekdXyOmkRNIkgKdSB2bn89vmPlzOW6dze7t+ds7FvptLuzM29mPvvmzZu3YwvROBoEGgQaBBoEGgQaBBoELkkCdEm2OuJGN/dYN0HkzYKEpevG62+vo5OqVcxogK19nHI9exsz3zYJjMglpsdz3UbPZFqFixkJsGMnzzp+ynpCCOpmwaYfHy0hvjC8Ibnb71lxmlZ8MxOuU33OSsA7yEI8WQ6e5OC51K3CQ1fJNB3yNG3l68Q5q99z3dU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felDLDHrHTwD2D+S3ozCJs9D7KwtuPVcjglWL2gc8sprPlOtnyAl/J/3ZXIDreiTlIDvl2uE4KH5no3CzTuP7AY/SPcrKrpccR4HfR6AuDBiQ84fFhbB0dJF0MJk3j7ZXN5begTewzPOPeok0MeQGoeCEl+w3l5AF5D+Qy+p5qkCo9jx3Avfvz30GH2ys2muj0/IXG19JUfhVTXL6tn+fYrvtp2NDlsHlYFvIJM2HuOrieRorzhbmOnQ3EuqP60oO8l1XhSSgA9S+c9p7/yaTIjtj5gVhWVQSIoTcyuCDpG7mJjEoAQbEDiLZXBOgKfn4TYR9zTI74ASSsmMsdzPs+vyjpG/oqV6Te6bGzgfh3D/4aSNq4o+u76g0kqPzYaSBmYF+AmEF33982MRkE7WNd88cOIGkfHMLYsnviPdt8va4kQgqPHUB2PziEddJ2rEmr+XwhOYQuFjuApRoIT3/g7oXmQOge1rlg7ABizTbZZawaHC1p7phMiOFF7AAi/vd/goJeu7uV6vtNusaXEjuACUr8CcMWMzGftP9r7K6xfzOz+J4/npm7c987dd97ODPpNnrdINAg0CDQINAg0CDQINAgEAWB/wFby0G6nREcUQAAAABJRU5ErkJggg==\"\n alt=\"\" />\n <label>\u6284\u9001\u6211\u7684</label>\n </div>\n </li>\n <li>\n <div class=\"step-wrapper\" (click)=\"flowClick('waiting')\">\n <img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAJGElEQVR42u2de2wcRx3HDZRWKEB5hD6AgpN7NG0FRUSteEmUVKJIQKWqQlCglUgTKf2TVqFRQ8BSS8vd2rF9cYTSlkqpSpXYxHFjx484TZvYcUB9qbFdvxMnkSAVSiEutW9mdu/Hb+72Dt86l5s77+3t3fy+0lc+z83OjOczO7vz24drakgkEolEIpFIJBKJRCKRSCQSqWrUeAyujw2Z65sGzd2x4+Zr+PNfzYNWXFp+ttN2yzwyL/VYlahlCO5sHjB70GbzoAlKlnlxG7kt9WCFaucJuAlhHlGGnttHZFnUox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sbCsRc30lAF/oPmUxZ2d3pz2T8pLv7fR0viXb5XCuevLVL9so20rESqCeaeuZTEfbPrhMdy/TS8rENhKpUg2A01DbNWPNd02b2NEpd9k+6HBXxpZtU8lLt1fLl/wd2ybbSKRKqO5pa1vnlAlpd9nuLNC5tiu0vMX5u6dhGxEq9QCYgqs6J623DkyaIJ0Gkfnd4QMF2lmeav7OKest2TYi5IE6ZyB0YNK6+NKECRlPZjsNKCvPxKL0tB3p+ewsL7WtdVG2ich4qK4puAsBso4JAZezE5Zq/nzlvJRME3IQMdkWIlIG7Z807+sYN8X+cQGFusPh4srAurENRKKM6piCH7ePi/n2MQHS+x1udzhXeq58zvyZtHFzXtZNBPwwE4zB2n1j5sy+dwQU6vaxYmzOyDqp532k1hm4un3cfA6hJva9w+Gvo7YRcsrcYUe6nV9uuy/re9vJ70QC4T8n66Ie96naR8V3ENRQGwK7nNPAVdNlmbJs6uFKGQjjYl3bqOhoGxGsdYSDqttsJz+PCibLkGVRj1aoXpyYW7l3lK/fO8xfQKiz6ETrMIe9Dsu05HeYR+ZFr3/x9bmV1INVpuffhhV7Rvite0fE91pHzbul5WeZJr+jHiKRSCQSiUQikUgkEolEIpFI1af/ATNY/+DKfZRrAAAAAElFTkSuQmCC\"\n alt=\"\" />\n <label>\u6211\u7684\u5F85\u529E</label>\n </div>\n </li>\n</ul>", styles: [":host ::ng-deep{display:flex;flex-direction:row}:host ::ng-deep ul{display:flex;flex:1;flex-direction:row;margin:0;padding:0}:host ::ng-deep ul li{flex:1}:host ::ng-deep .step-wrapper{display:flex;flex-direction:column;align-items:center;width:140px;height:140px;margin:0 auto;padding:35px}:host ::ng-deep .step-wrapper img{width:40px;height:40px;margin-bottom:16px}:host ::ng-deep .step-wrapper label{display:inline-block;height:22px;font-size:14px;line-height:22px}:host ::ng-deep .step-wrapper:hover{background:#f4f6f9;cursor:pointer}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] });
|
|
130
|
+
}
|
|
131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeWorkFlowComponent, decorators: [{
|
|
132
|
+
type: Component,
|
|
133
|
+
args: [{ selector: 'home-workflow', imports: [
|
|
134
|
+
CommonModule
|
|
135
|
+
], template: "<ul>\n <li>\n <div class=\"step-wrapper\" (click)=\"flowClick('apply')\">\n <img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAABGlBMVEUAAAAAAP8AgP8Aqv8AgP8zmf8qgP8ggP8Xi/8qlf8iiP8gj/8cgPEdif8kif8ikP8hjPchjP8ni/cjh/gjjvgmjPkji/kiiPkijv8jjPoiifoki/sjivgjiPgki/gkifgjifwlivkkjPwkifolivwji/oljPolivojivski/skifkki/kjjPkli/kkivokivokifglivolifkli/oki/oki/kkivskivklivkki/kjivoli/ojivojifgji/gji/okivokivkkivkkivkkivkkivkkivkki/okivkkivkkivkkivgkivgkivkjivkkivokivokifkkivojivkkivkkivokivkkivojivkjivkkivkkivkki/okivmdXVYCAAAAXXRSTlMAAQIDBAUGCAsMDxASGhweHx8hJCQoLC0tMzQ5SElNTlBTVF1gZWZvdHmAhomKjI6PkqCgoaKqrK64u8HCw8PDxMjL09TW19vi4+Tq6+3v7/Dz9Pb39/r6/P39/v7dYDghAAACJElEQVRYw+2YWTMDQRSF7zDELrGMMIg1CGaQCCJ2IvYlCYlx///f8KB40Hd6breOKlU5r3Pqq5ma7nMXgJZa+ifqijuu68S7TLB6Un6hHCAiIgblgp/q+Q2tN12s4w/Vi+leTdxotoakatlRDdxwvoGhauSHFXGxTBWlqmZiKrxkCSNVSvJ5ixVkqLLIxFkeMuVZHJ6dQ7ZyNuP9tlFBueh39FBJXuT/QEVF/JlkRRVYkZ6eWAmVVZKd8AxqKCO5v1UdYDX8XudRS/nQvGroARthaZal3I9LE/NnEcRsSD6TeToJAPbykxRYozM8TXmvP58N7EiJaRJ4SFnPv55OXkqARbK+1aVAaYjXqVqYQjkQYGQvlJgigH4kEGDuKgToE8ACAwjd3itpKxDAMgcIMHZE2cpE/xLwgGAt3Ii2QOx7EsgEAvTtir6E4HL4QGi7EHyOYHIVgLAm+NzfAbcYQJVPHn9mfHKcD5x7FH1x/WPTufnOOjbcgz10yjzYvKsHM/fsq8cJhw4/4IdDdHzB4IlKfEUFLMD0nVLAQlEOtNcDtRJAF6lv4MCxcpEiy+gXcOpWvYyShf7BAgBoX33TKPR0KzIPAP37eq0I2Sy9bMyu3Go2S+bbOeMNp/mW2HjTbn6sMD/4gJVT4TFGM7AVhr1txvBofrw1P4A3YUVgfolhfs3ShEXQ56rqQFxVHWivqpqwTPvuexKO6zoJI+u+llr6C30AImnPnDDxrmkAAAAASUVORK5CYII=\"\n alt=\"\" />\n <label>\u6211\u53D1\u8D77\u7684</label>\n </div>\n </li>\n <li>\n <div class=\"step-wrapper\" (click)=\"flowClick('processed')\">\n <img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAACFlBMVEUAAAAAAP8A//8AgP8Aqv+qqv8AgP+Av/8Amf+ZzP8qgP8ggP+fv/+Oxv8agP8Xi/8ui+iL0f8VgOoqlf8niesnif+Stu0gj/8eh/+Oxv+PwvUnif8mhPYkifYiiPciiP8hjP8oh/coj/+Pw/gjjvgiivghifgkjPkji/mRxfmQyP8kh/okjfokivqRw/qQw/okifoki/Yki/sjiPsjjfsjivsijPuQw/sljPuQwfski/cki/sli/sljPuTxPySw/wkifgjifwlivkjiPkmi/mSw/wkifojivojjPojivolivqQxPqQwvokifqRw/qSxPojivokivgki/ski/uQw/uRw/uSxPskivkjifkli/kkifkki/uRwvmRxPuTxPskivsjivkli/kjivgjivokivoki/okivoki/qQw/oki/iRw/okivokivkkivqRxPwli/kki/kkivmRwvskivkkivkkivmSwvskivmRw/skivmRw/skifkkivkkivojivokivgkivoki/oki/oji/okivoki/okivokivokifkki/kki/ojivokivkkivkkivokivkkivkkivkjifkkivkkivkkivkkivkk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\" />\n <label>\u6211\u5904\u7406\u7684</label>\n </div>\n </li>\n <li>\n <div class=\"step-wrapper\" (click)=\"flowClick('cc')\">\n <img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAUKADAAQAAAABAAAAUAAAAAAx4ExPAAAJOklEQVR4Ae2cf2wcRxXH5+3t7iX9KZJUFKkRLdhnV86PWjkB+dFiV5VoU5q2lFRQKkFRRURFQ5OcLaU/IEFEqPbZVKGhqaIq+aNqSakSWgkQCAjqH/x0AYekdXyOmkRNIkgKdSB2bn89vmPlzOW6dze7t+ds7FvptLuzM29mPvvmzZu3YwvROBoEGgQaBBoEGgQaBBoELkkCdEm2OuJGN/dYN0HkzYKEpevG62+vo5OqVcxogK19nHI9exsz3zYJjMglpsdz3UbPZFqFixkJsGMnzzp+ynpCCOpmwaYfHy0hvjC8Ibnb71lxmlZ8MxOuU33OSsA7yEI8WQ6e5OC51K3CQ1fJNB3yNG3l68Q5q99z3dUq/SESTSr5pj3Ajn2snxhw1nLe3gytu0IFykQexpSicExrgK199rLjA/ZzmCQWKbC4MAuJwxcm+N9NS4Ctz/JcZ9z+nuPxw4JZSZNK8TCLQ6VpfvfTCiA0jVJZ+yvumN0rBM/167BqGhEPq+SdNgBb+/MLm7P2c9C45Sodr5YH9nJmAGzbxldYY9a3XIfWQesiUwgtQdMfYKrXudc6a22FtlwHeNWUKtDzy8hQAhjKwAZqSR0yt/TyDR5bzwLZyjqIxwKF/jnSZX5YRXZkKq9SWa152l5h0z7mZFy2n4Ss2bXKK1ceWqWkfbL8JQOwpde+1Tpi/RBa11Ku45Gl8zQC2NbD11rCzrrsfSkyQFUFkZIPKMXENpiwiVlrylqP5IU9hEX/FMKDCdTUZmAJMJaTSEu/lXZdsR0+3RLZyCk/NLNtJENvqdQbKx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2rEmr+XwhOYQuFjuApRoIT3/g7oXmQOge1rlg7ABizTbZZawaHC1p7phMiOFF7AAi/vd/goJeu7uV6vtNusaXEjuACUr8CcMWMzGftP9r7K6xfzOz+J4/npm7c987dd97ODPpNnrdINAg0CDQINAg0CDQINAgEAWB/wFby0G6nREcUQAAAABJRU5ErkJggg==\"\n alt=\"\" />\n <label>\u6284\u9001\u6211\u7684</label>\n </div>\n </li>\n <li>\n <div class=\"step-wrapper\" (click)=\"flowClick('waiting')\">\n <img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAJGElEQVR42u2de2wcRx3HDZRWKEB5hD6AgpN7NG0FRUSteEmUVKJIQKWqQlCglUgTKf2TVqFRQ8BSS8vd2rF9cYTSlkqpSpXYxHFjx484TZvYcUB9qbFdvxMnkSAVSiEutW9mdu/Hb+72Dt86l5s77+3t3fy+0lc+z83OjOczO7vz24drakgkEolEIpFIJBKJRCKRSCQSqWrUeAyujw2Z65sGzd2x4+Zr+PNfzYNWXFp+ttN2yzwyL/VYlahlCO5sHjB70GbzoAlKlnlxG7kt9WCFaucJuAlhHlGGnttHZFnUoxWk2HF4CMEtuAA/7YXYcesh6lmfq64OPoywWlwE73SLrIN62qdqPm7tKiH8lLEO6mkfqmnA2lJy+LZlXdTjftrzh8S3EIzwagAk68I6qef9cNx/Ba7Atfywh/BtW8OybiJQ7r1/EDYUPIUPmgx/Ho0NWrul5Wc7rcBBABuIQDkF8CEEOFXAXvvv2ID1aOxv8ElnUX/sh6vldzKPanmybtkGAlGu9f4x8V11+GIM4wMBhRhCQOZVHgTYBiJRtoCP1awI6vzOo3CDchQR88ptlAYAtoFIlG8AnFSCNAT3FVw2bqM4AE4SiXKc/bfClSpLPwQ0DUUcp+U2uP2MypJQtoWIeKyWAQirnfGLxqKDS7itSh0NA/EwEfF6+h/ityue+W8qfolpbVI7xPDbiYjH2nECvq0Wuzfvv3knfHx1Pb8taJi/DETZ48EofyYYZXtCUX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uy/re9vJ70QC4T8n66Ie96naR8V3ENRQGwK7nNPAVdNlmbJs6uFKGQjjYl3bqOhoGxGsdYSDqttsJz+PCibLkGVRj1aoXpyYW7l3lK/fO8xfQKiz6ETrMIe9Dsu05HeYR+ZFr3/x9bmV1INVpuffhhV7Rvite0fE91pHzbul5WeZJr+jHiKRSCQSiUQikUgkEolEIpFI1af/ATNY/+DKfZRrAAAAAElFTkSuQmCC\"\n alt=\"\" />\n <label>\u6211\u7684\u5F85\u529E</label>\n </div>\n </li>\n</ul>", styles: [":host ::ng-deep{display:flex;flex-direction:row}:host ::ng-deep ul{display:flex;flex:1;flex-direction:row;margin:0;padding:0}:host ::ng-deep ul li{flex:1}:host ::ng-deep .step-wrapper{display:flex;flex-direction:column;align-items:center;width:140px;height:140px;margin:0 auto;padding:35px}:host ::ng-deep .step-wrapper img{width:40px;height:40px;margin-bottom:16px}:host ::ng-deep .step-wrapper label{display:inline-block;height:22px;font-size:14px;line-height:22px}:host ::ng-deep .step-wrapper:hover{background:#f4f6f9;cursor:pointer}\n"] }]
|
|
136
|
+
}], ctorParameters: () => [{ type: i2$1.Router }] });
|
|
137
|
+
|
|
138
|
+
class HomeCommService {
|
|
139
|
+
benchId = null;
|
|
140
|
+
/**
|
|
141
|
+
* 工作台列表
|
|
142
|
+
*/
|
|
143
|
+
benchList = [];
|
|
144
|
+
/**
|
|
145
|
+
* 初始化工作台
|
|
146
|
+
*/
|
|
147
|
+
initBenchData(caller, callback) {
|
|
148
|
+
this.benchList = [
|
|
149
|
+
// {
|
|
150
|
+
// id: "611503021076402177",
|
|
151
|
+
// name: "普通员工"
|
|
152
|
+
// },
|
|
153
|
+
// {
|
|
154
|
+
// id: "691066079117045760",
|
|
155
|
+
// name: "迭代看板"
|
|
156
|
+
// },
|
|
157
|
+
];
|
|
158
|
+
//this.benchId = this.benchList[0].id;
|
|
159
|
+
if (callback != undefined && callback != null && callback != '') {
|
|
160
|
+
callback.call(caller, null);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeCommService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
164
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeCommService });
|
|
165
|
+
}
|
|
166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeCommService, decorators: [{
|
|
167
|
+
type: Injectable
|
|
168
|
+
}] });
|
|
169
|
+
|
|
170
|
+
class HomeCarouselComponent {
|
|
171
|
+
http;
|
|
172
|
+
sanitization;
|
|
173
|
+
homeSrv;
|
|
174
|
+
_config = null;
|
|
175
|
+
loading = false;
|
|
176
|
+
data = [];
|
|
177
|
+
set config(value) {
|
|
178
|
+
this._config = value;
|
|
179
|
+
this.getPageData();
|
|
180
|
+
}
|
|
181
|
+
get config() {
|
|
182
|
+
return this._config;
|
|
183
|
+
}
|
|
184
|
+
constructor(http, sanitization, homeSrv) {
|
|
185
|
+
this.http = http;
|
|
186
|
+
this.sanitization = sanitization;
|
|
187
|
+
this.homeSrv = homeSrv;
|
|
188
|
+
}
|
|
189
|
+
ngOnInit() { }
|
|
190
|
+
getPageData() {
|
|
191
|
+
this.loading = true;
|
|
192
|
+
this.http.post(`${ModuleAPI.system}/bench/user/listCarousel/${this.homeSrv.benchId}`, null).subscribe((res) => {
|
|
193
|
+
if (res.success && res.result) {
|
|
194
|
+
this.data = res.result;
|
|
195
|
+
}
|
|
196
|
+
this.loading = false;
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
getSafeUrl(filePreviewUrl) {
|
|
200
|
+
return this.sanitization.bypassSecurityTrustStyle("url('" + filePreviewUrl + "')");
|
|
201
|
+
}
|
|
202
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeCarouselComponent, deps: [{ token: i1._HttpClient }, { token: i2$2.DomSanitizer }, { token: HomeCommService }], target: i0.ɵɵFactoryTarget.Component });
|
|
203
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeCarouselComponent, isStandalone: true, selector: "home-carousel", inputs: { config: "config" }, ngImport: i0, template: "<nz-carousel nzDotPosition=\"bottom\" [nzAutoPlay]=\"true\" [nzAutoPlaySpeed]=\"3000\">\n <ng-container *ngFor=\"let item of data\">\n <div class=\"carousel-item\" nz-carousel-content>\n <div [style.background-image]=\"getSafeUrl(item.imageUrl)\" class=\"image-box\"></div>\n </div>\n </ng-container>\n</nz-carousel>", styles: [":host ::ng-deep{display:grid;height:145px}:host ::ng-deep .image-box{display:inline-block;width:100%;height:100%;background-repeat:no-repeat;background-position:center top;background-size:100% 100%;background-attachment:fixed}:host ::ng-deep .ant-carousel .slick-dots li button{background:#fff}:host ::ng-deep nz-carousel{border-radius:8px}:host ::ng-deep .carousel-item{height:200px;line-height:200px;text-align:center;background:#f0f2f5;overflow:hidden}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: NzCarouselModule }, { kind: "component", type: i5.NzCarouselComponent, selector: "nz-carousel", inputs: ["nzDotRender", "nzEffect", "nzEnableSwipe", "nzDots", "nzAutoPlay", "nzAutoPlaySpeed", "nzTransitionSpeed", "nzLoop", "nzStrategyOptions", "nzDotPosition"], outputs: ["nzBeforeChange", "nzAfterChange"], exportAs: ["nzCarousel"] }, { kind: "directive", type: i5.NzCarouselContentDirective, selector: "[nz-carousel-content]", exportAs: ["nzCarouselContent"] }] });
|
|
204
|
+
}
|
|
205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeCarouselComponent, decorators: [{
|
|
206
|
+
type: Component,
|
|
207
|
+
args: [{ selector: 'home-carousel', imports: [
|
|
208
|
+
CommonModule,
|
|
209
|
+
FormsModule,
|
|
210
|
+
NzCarouselModule
|
|
211
|
+
], template: "<nz-carousel nzDotPosition=\"bottom\" [nzAutoPlay]=\"true\" [nzAutoPlaySpeed]=\"3000\">\n <ng-container *ngFor=\"let item of data\">\n <div class=\"carousel-item\" nz-carousel-content>\n <div [style.background-image]=\"getSafeUrl(item.imageUrl)\" class=\"image-box\"></div>\n </div>\n </ng-container>\n</nz-carousel>", styles: [":host ::ng-deep{display:grid;height:145px}:host ::ng-deep .image-box{display:inline-block;width:100%;height:100%;background-repeat:no-repeat;background-position:center top;background-size:100% 100%;background-attachment:fixed}:host ::ng-deep .ant-carousel .slick-dots li button{background:#fff}:host ::ng-deep nz-carousel{border-radius:8px}:host ::ng-deep .carousel-item{height:200px;line-height:200px;text-align:center;background:#f0f2f5;overflow:hidden}\n"] }]
|
|
212
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2$2.DomSanitizer }, { type: HomeCommService }], propDecorators: { config: [{
|
|
213
|
+
type: Input
|
|
214
|
+
}] } });
|
|
215
|
+
|
|
216
|
+
class HomeChartComponent {
|
|
217
|
+
http;
|
|
218
|
+
sanitization;
|
|
219
|
+
homeSrv;
|
|
220
|
+
_config = null;
|
|
221
|
+
loading = false;
|
|
222
|
+
data = [];
|
|
223
|
+
set config(value) {
|
|
224
|
+
this._config = value;
|
|
225
|
+
this.getPageData();
|
|
226
|
+
}
|
|
227
|
+
get config() {
|
|
228
|
+
return this._config;
|
|
229
|
+
}
|
|
230
|
+
constructor(http, sanitization, homeSrv) {
|
|
231
|
+
this.http = http;
|
|
232
|
+
this.sanitization = sanitization;
|
|
233
|
+
this.homeSrv = homeSrv;
|
|
234
|
+
}
|
|
235
|
+
ngOnInit() { }
|
|
236
|
+
getPageData() {
|
|
237
|
+
this.loading = true;
|
|
238
|
+
this.http.post(`${ModuleAPI.system}/bench/user/listCarousel/${this.homeSrv.benchId}`, null).subscribe((res) => {
|
|
239
|
+
if (res.success && res.result) {
|
|
240
|
+
this.data = res.result;
|
|
241
|
+
}
|
|
242
|
+
this.loading = false;
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeChartComponent, deps: [{ token: i1._HttpClient }, { token: i2$2.DomSanitizer }, { token: HomeCommService }], target: i0.ɵɵFactoryTarget.Component });
|
|
246
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeChartComponent, isStandalone: true, selector: "home-chart", inputs: { config: "config" }, ngImport: i0, template: "<ng-container *ngIf=\"config!! && config.listItem!!\">\n <div *ngFor=\"let item of config.listItem\" class=\"item\">\n <report-chart [config]=\"{id:item.sourceId}\"></report-chart>\n </div>\n</ng-container>", styles: [":host ::ng-deep{display:inline-block;flex:1}:host ::ng-deep .item{display:inline-block;float:left;width:50%}:host ::ng-deep .item report-chart{display:inline-block;width:100%;margin-bottom:15px;background:#fff;border-radius:4px}:host ::ng-deep .item:nth-child(odd){padding:0 7px 0 0}:host ::ng-deep .item:nth-child(2n){padding:0 0 0 7px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: ReportChartModule }, { kind: "component", type: i5$1.ReportChartComponent, selector: "report-chart", inputs: ["config", "reportId", "reportCode", "params", "parameterData", "mode", "apiBase", "pageIndex", "pageSize"], outputs: ["chartClick"] }] });
|
|
247
|
+
}
|
|
248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeChartComponent, decorators: [{
|
|
249
|
+
type: Component,
|
|
250
|
+
args: [{ selector: 'home-chart', imports: [
|
|
251
|
+
CommonModule,
|
|
252
|
+
FormsModule, ReactiveFormsModule,
|
|
253
|
+
ReportChartModule
|
|
254
|
+
], template: "<ng-container *ngIf=\"config!! && config.listItem!!\">\n <div *ngFor=\"let item of config.listItem\" class=\"item\">\n <report-chart [config]=\"{id:item.sourceId}\"></report-chart>\n </div>\n</ng-container>", styles: [":host ::ng-deep{display:inline-block;flex:1}:host ::ng-deep .item{display:inline-block;float:left;width:50%}:host ::ng-deep .item report-chart{display:inline-block;width:100%;margin-bottom:15px;background:#fff;border-radius:4px}:host ::ng-deep .item:nth-child(odd){padding:0 7px 0 0}:host ::ng-deep .item:nth-child(2n){padding:0 0 0 7px}\n"] }]
|
|
255
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2$2.DomSanitizer }, { type: HomeCommService }], propDecorators: { config: [{
|
|
256
|
+
type: Input
|
|
257
|
+
}] } });
|
|
258
|
+
|
|
259
|
+
class HomeCalendarComponent {
|
|
260
|
+
http;
|
|
261
|
+
changeDetector;
|
|
262
|
+
loading = false;
|
|
263
|
+
calendarOptions = {
|
|
264
|
+
initialView: 'dayGridMonth',
|
|
265
|
+
plugins: [dayGridPlugin],
|
|
266
|
+
headerToolbar: {
|
|
267
|
+
left: 'todayMonth',
|
|
268
|
+
center: 'previousMonth,title,nextMonth',
|
|
269
|
+
right: '',
|
|
270
|
+
},
|
|
271
|
+
customButtons: {
|
|
272
|
+
previousMonth: {
|
|
273
|
+
text: 'prev',
|
|
274
|
+
icon: 'chevron-left',
|
|
275
|
+
click: this.btnPrevClick.bind(this),
|
|
276
|
+
},
|
|
277
|
+
nextMonth: {
|
|
278
|
+
text: 'next',
|
|
279
|
+
icon: 'chevron-right',
|
|
280
|
+
click: this.btnNextClick.bind(this),
|
|
281
|
+
},
|
|
282
|
+
todayMonth: {
|
|
283
|
+
text: '今天',
|
|
284
|
+
icon: '',
|
|
285
|
+
click: this.btnToDayClick.bind(this),
|
|
286
|
+
},
|
|
287
|
+
},
|
|
288
|
+
weekends: true,
|
|
289
|
+
editable: true,
|
|
290
|
+
selectable: true,
|
|
291
|
+
selectMirror: true,
|
|
292
|
+
dayMaxEvents: true,
|
|
293
|
+
locale: zhLocale,
|
|
294
|
+
contentHeight: 550,
|
|
295
|
+
select: this.handleDateSelect.bind(this),
|
|
296
|
+
eventClick: this.handleEventClick.bind(this),
|
|
297
|
+
eventsSet: this.handleEvents.bind(this),
|
|
298
|
+
events: [],
|
|
299
|
+
};
|
|
300
|
+
currentEvents = [];
|
|
301
|
+
fullCalendarComponent;
|
|
302
|
+
constructor(http, changeDetector) {
|
|
303
|
+
this.http = http;
|
|
304
|
+
this.changeDetector = changeDetector;
|
|
305
|
+
}
|
|
306
|
+
ngOnInit() { }
|
|
307
|
+
btnPrevClick() {
|
|
308
|
+
let calendarApi = this.fullCalendarComponent.getApi();
|
|
309
|
+
calendarApi.prev();
|
|
310
|
+
this.getPageData();
|
|
311
|
+
}
|
|
312
|
+
btnNextClick() {
|
|
313
|
+
let calendarApi = this.fullCalendarComponent.getApi();
|
|
314
|
+
calendarApi.next();
|
|
315
|
+
this.getPageData();
|
|
316
|
+
}
|
|
317
|
+
btnToDayClick() {
|
|
318
|
+
let calendarApi = this.fullCalendarComponent.getApi();
|
|
319
|
+
calendarApi.today();
|
|
320
|
+
this.getPageData();
|
|
321
|
+
}
|
|
322
|
+
handleDateSelect(selectInfo) { }
|
|
323
|
+
handleEventClick(clickInfo) { }
|
|
324
|
+
handleEvents(events) {
|
|
325
|
+
this.currentEvents = events;
|
|
326
|
+
this.changeDetector.detectChanges();
|
|
327
|
+
}
|
|
328
|
+
getPageData() {
|
|
329
|
+
this.loading = true;
|
|
330
|
+
let calendarApi = this.fullCalendarComponent.getApi();
|
|
331
|
+
const startDate = calendarApi.view.activeStart;
|
|
332
|
+
const endDate = calendarApi.view.activeEnd;
|
|
333
|
+
this.http.post(`${ModuleAPI.system}/bench/user/calendarHoliday`, { start: startDate, end: endDate }).subscribe((res) => {
|
|
334
|
+
if (res.success && res.result) {
|
|
335
|
+
let eventData = [];
|
|
336
|
+
if (res.result.length > 0) {
|
|
337
|
+
res.result.forEach((item) => {
|
|
338
|
+
if (item.type) {
|
|
339
|
+
switch (item.type) {
|
|
340
|
+
case 'WeekDay':
|
|
341
|
+
break;
|
|
342
|
+
case 'RestDay':
|
|
343
|
+
eventData.push({
|
|
344
|
+
id: '1',
|
|
345
|
+
start: item.id.replace(' 00:00:00', ''),
|
|
346
|
+
color: '#eaeaec',
|
|
347
|
+
textColor: 'black',
|
|
348
|
+
display: 'background',
|
|
349
|
+
});
|
|
350
|
+
break;
|
|
351
|
+
case 'Holidays':
|
|
352
|
+
eventData.push({
|
|
353
|
+
id: '2',
|
|
354
|
+
start: item.id.replace(' 00:00:00', ''),
|
|
355
|
+
color: '#fb8e8c',
|
|
356
|
+
textColor: 'black',
|
|
357
|
+
display: 'background',
|
|
358
|
+
});
|
|
359
|
+
break;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
});
|
|
363
|
+
}
|
|
364
|
+
this.calendarOptions.events = eventData;
|
|
365
|
+
}
|
|
366
|
+
this.loading = false;
|
|
367
|
+
});
|
|
368
|
+
}
|
|
369
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeCalendarComponent, deps: [{ token: i1._HttpClient }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
370
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeCalendarComponent, isStandalone: true, selector: "home-calendar", viewQueries: [{ propertyName: "fullCalendarComponent", first: true, predicate: ["fullCalendar"], descendants: true }], ngImport: i0, template: "<full-calendar #fullCalendar [options]=\"calendarOptions\"></full-calendar>", styles: [":host ::ng-deep{display:inline-block;padding:5px 0}:host ::ng-deep .fc-previousMonth-button,:host ::ng-deep .fc-previousMonth-button:disabled{color:#1177fb;background:initial;border:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FullCalendarModule }, { kind: "component", type: i2$3.FullCalendarComponent, selector: "full-calendar", inputs: ["options", "deepChangeDetection", "events", "eventSources", "resources"] }] });
|
|
371
|
+
}
|
|
372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeCalendarComponent, decorators: [{
|
|
373
|
+
type: Component,
|
|
374
|
+
args: [{ selector: 'home-calendar', imports: [
|
|
375
|
+
CommonModule,
|
|
376
|
+
FullCalendarModule
|
|
377
|
+
], template: "<full-calendar #fullCalendar [options]=\"calendarOptions\"></full-calendar>", styles: [":host ::ng-deep{display:inline-block;padding:5px 0}:host ::ng-deep .fc-previousMonth-button,:host ::ng-deep .fc-previousMonth-button:disabled{color:#1177fb;background:initial;border:0}\n"] }]
|
|
378
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i0.ChangeDetectorRef }], propDecorators: { fullCalendarComponent: [{
|
|
379
|
+
type: ViewChild,
|
|
380
|
+
args: ['fullCalendar']
|
|
381
|
+
}] } });
|
|
382
|
+
|
|
383
|
+
class HomeReportComponent {
|
|
384
|
+
config = null;
|
|
385
|
+
constructor() { }
|
|
386
|
+
ngOnInit() { }
|
|
387
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeReportComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
388
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeReportComponent, isStandalone: true, selector: "home-report", inputs: { config: "config" }, ngImport: i0, template: "<ng-container *ngIf=\"config!! && config.listItem!!\">\n <div *ngFor=\"let item of config.listItem\" class=\"item\">\n <comm-default-report [data]=\"{ pageId: item.sourceId }\"></comm-default-report>\n </div>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: CommDefaultModule }, { kind: "component", type: i2$4.CommDefaultReportComponent, selector: "comm-default-report", inputs: ["data"], outputs: ["loadAfter"] }] });
|
|
389
|
+
}
|
|
390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeReportComponent, decorators: [{
|
|
391
|
+
type: Component,
|
|
392
|
+
args: [{ selector: 'home-report', imports: [
|
|
393
|
+
CommonModule,
|
|
394
|
+
CommDefaultModule
|
|
395
|
+
], template: "<ng-container *ngIf=\"config!! && config.listItem!!\">\n <div *ngFor=\"let item of config.listItem\" class=\"item\">\n <comm-default-report [data]=\"{ pageId: item.sourceId }\"></comm-default-report>\n </div>\n</ng-container>\n" }]
|
|
396
|
+
}], ctorParameters: () => [], propDecorators: { config: [{
|
|
397
|
+
type: Input
|
|
398
|
+
}] } });
|
|
399
|
+
|
|
400
|
+
class HomeSingleComponent {
|
|
401
|
+
config = null;
|
|
402
|
+
constructor() { }
|
|
403
|
+
ngOnInit() { }
|
|
404
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeSingleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
405
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeSingleComponent, isStandalone: true, selector: "home-single", inputs: { config: "config" }, ngImport: i0, template: "<ng-container *ngIf=\"config && config.listItem\">\n <div *ngFor=\"let item of config.listItem\" class=\"item\">\n <comm-default-single [data]=\"{ pageId: item.sourceId }\"></comm-default-single>\n </div>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: CommDefaultModule }, { kind: "component", type: i2$4.CommDefaultSingleComponent, selector: "comm-default-single", inputs: ["data"], outputs: ["loadAfter"] }] });
|
|
406
|
+
}
|
|
407
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeSingleComponent, decorators: [{
|
|
408
|
+
type: Component,
|
|
409
|
+
args: [{ selector: 'home-single', imports: [
|
|
410
|
+
CommonModule,
|
|
411
|
+
CommDefaultModule
|
|
412
|
+
], template: "<ng-container *ngIf=\"config && config.listItem\">\n <div *ngFor=\"let item of config.listItem\" class=\"item\">\n <comm-default-single [data]=\"{ pageId: item.sourceId }\"></comm-default-single>\n </div>\n</ng-container>\n" }]
|
|
413
|
+
}], ctorParameters: () => [], propDecorators: { config: [{
|
|
414
|
+
type: Input
|
|
415
|
+
}] } });
|
|
416
|
+
|
|
417
|
+
class ItemBoxComponent {
|
|
418
|
+
homeSrv;
|
|
419
|
+
data = null;
|
|
420
|
+
get type() {
|
|
421
|
+
if (this.data && this.data.type) {
|
|
422
|
+
return this.data.type;
|
|
423
|
+
}
|
|
424
|
+
else {
|
|
425
|
+
return null;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
constructor(homeSrv) {
|
|
429
|
+
this.homeSrv = homeSrv;
|
|
430
|
+
}
|
|
431
|
+
ngOnInit() { }
|
|
432
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ItemBoxComponent, deps: [{ token: HomeCommService }], target: i0.ɵɵFactoryTarget.Component });
|
|
433
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: ItemBoxComponent, isStandalone: true, selector: "item-box", inputs: { data: "data" }, host: { properties: { "class": "type=='CHART'?'chart-items':''" } }, ngImport: i0, template: "<div class=\"header\" *ngIf=\"data.izName\">\n <ng-container [ngSwitch]=\"data.type\">\n <ng-container *ngSwitchCase=\"'FONT'\">\n <i nz-icon nzType=\"font-colors\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CAROUSEL'\">\n <i nz-icon nzType=\"fund-projection-screen\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'NOTICE'\">\n <i nz-icon nzType=\"notification\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'COUNT'\">\n <i nz-icon nzType=\"fund\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'APPSTORE'\">\n <i nz-icon nzType=\"appstore\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'QUICK'\">\n <i nz-icon nzType=\"menu-fold\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'WORKFLOW'\">\n <i nz-icon nzType=\"node-index\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CHART'\">\n <i nz-icon nzType=\"bar-chart\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CALENDAR'\">\n <i nz-icon nzType=\"calendar\"></i>\n </ng-container>\n </ng-container>\n <label>{{ data.name }}</label>\n</div>\n<div class=\"content\" [ngClass]=\"data.type\">\n <ng-container [ngSwitch]=\"data.type\">\n <ng-container *ngSwitchCase=\"'APPSTORE'\">\n <home-app></home-app>\n </ng-container>\n <ng-container *ngSwitchCase=\"'NOTICE'\">\n <home-notice></home-notice>\n </ng-container>\n <ng-container *ngSwitchCase=\"'WORKFLOW'\">\n <home-workflow></home-workflow>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CAROUSEL'\">\n <home-carousel [config]=\"data\"></home-carousel>\n </ng-container>\n <ng-container *ngSwitchCase=\"'QUICK'\"> </ng-container>\n <ng-container *ngSwitchCase=\"'CHART'\">\n <home-chart [config]=\"data\"></home-chart>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CALENDAR'\">\n <home-calendar></home-calendar>\n </ng-container>\n <ng-container *ngSwitchCase=\"'PAGE_REPORT'\">\n <home-report [config]=\"data\"></home-report>\n </ng-container>\n <ng-container *ngSwitchCase=\"'PAGE_DYNAMIC'\">\n <home-single [config]=\"data\"></home-single>\n </ng-container>\n </ng-container>\n</div>", styles: [":host ::ng-deep{display:flex;flex-direction:column;width:100%;min-height:140px;margin-bottom:15px;background:#fff;border-radius:8px}:host ::ng-deep .header{display:flex;flex-direction:row;align-items:center;padding:8px 15px;font-size:12px;border-bottom:1px dotted #eaeaea}:host ::ng-deep .header i{margin-right:5px;font-weight:600;font-size:14px;cursor:pointer}:host ::ng-deep .header+.content{padding:0 15px 15px}:host ::ng-deep .content{display:flex;flex:1;flex-direction:column;padding:8px 15px 15px}:host ::ng-deep .CAROUSEL{padding:0}:host ::ng-deep .WORKFLOW{padding:0!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: HomeAppComponent, selector: "home-app" }, { kind: "component", type: HomeNoticeComponent, selector: "home-notice" }, { kind: "component", type: HomeWorkFlowComponent, selector: "home-workflow" }, { kind: "component", type: HomeCarouselComponent, selector: "home-carousel", inputs: ["config"] }, { kind: "component", type: HomeChartComponent, selector: "home-chart", inputs: ["config"] }, { kind: "component", type: HomeCalendarComponent, selector: "home-calendar" }, { kind: "component", type: HomeReportComponent, selector: "home-report", inputs: ["config"] }, { kind: "component", type: HomeSingleComponent, selector: "home-single", inputs: ["config"] }] });
|
|
434
|
+
}
|
|
435
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ItemBoxComponent, decorators: [{
|
|
436
|
+
type: Component,
|
|
437
|
+
args: [{ selector: 'item-box', host: {
|
|
438
|
+
'[class]': "type=='CHART'?'chart-items':''",
|
|
439
|
+
}, imports: [
|
|
440
|
+
CommonModule,
|
|
441
|
+
HomeAppComponent,
|
|
442
|
+
HomeNoticeComponent,
|
|
443
|
+
HomeWorkFlowComponent,
|
|
444
|
+
HomeCarouselComponent,
|
|
445
|
+
HomeChartComponent,
|
|
446
|
+
HomeCalendarComponent,
|
|
447
|
+
HomeReportComponent,
|
|
448
|
+
HomeSingleComponent
|
|
449
|
+
], template: "<div class=\"header\" *ngIf=\"data.izName\">\n <ng-container [ngSwitch]=\"data.type\">\n <ng-container *ngSwitchCase=\"'FONT'\">\n <i nz-icon nzType=\"font-colors\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CAROUSEL'\">\n <i nz-icon nzType=\"fund-projection-screen\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'NOTICE'\">\n <i nz-icon nzType=\"notification\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'COUNT'\">\n <i nz-icon nzType=\"fund\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'APPSTORE'\">\n <i nz-icon nzType=\"appstore\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'QUICK'\">\n <i nz-icon nzType=\"menu-fold\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'WORKFLOW'\">\n <i nz-icon nzType=\"node-index\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CHART'\">\n <i nz-icon nzType=\"bar-chart\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CALENDAR'\">\n <i nz-icon nzType=\"calendar\"></i>\n </ng-container>\n </ng-container>\n <label>{{ data.name }}</label>\n</div>\n<div class=\"content\" [ngClass]=\"data.type\">\n <ng-container [ngSwitch]=\"data.type\">\n <ng-container *ngSwitchCase=\"'APPSTORE'\">\n <home-app></home-app>\n </ng-container>\n <ng-container *ngSwitchCase=\"'NOTICE'\">\n <home-notice></home-notice>\n </ng-container>\n <ng-container *ngSwitchCase=\"'WORKFLOW'\">\n <home-workflow></home-workflow>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CAROUSEL'\">\n <home-carousel [config]=\"data\"></home-carousel>\n </ng-container>\n <ng-container *ngSwitchCase=\"'QUICK'\"> </ng-container>\n <ng-container *ngSwitchCase=\"'CHART'\">\n <home-chart [config]=\"data\"></home-chart>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CALENDAR'\">\n <home-calendar></home-calendar>\n </ng-container>\n <ng-container *ngSwitchCase=\"'PAGE_REPORT'\">\n <home-report [config]=\"data\"></home-report>\n </ng-container>\n <ng-container *ngSwitchCase=\"'PAGE_DYNAMIC'\">\n <home-single [config]=\"data\"></home-single>\n </ng-container>\n </ng-container>\n</div>", styles: [":host ::ng-deep{display:flex;flex-direction:column;width:100%;min-height:140px;margin-bottom:15px;background:#fff;border-radius:8px}:host ::ng-deep .header{display:flex;flex-direction:row;align-items:center;padding:8px 15px;font-size:12px;border-bottom:1px dotted #eaeaea}:host ::ng-deep .header i{margin-right:5px;font-weight:600;font-size:14px;cursor:pointer}:host ::ng-deep .header+.content{padding:0 15px 15px}:host ::ng-deep .content{display:flex;flex:1;flex-direction:column;padding:8px 15px 15px}:host ::ng-deep .CAROUSEL{padding:0}:host ::ng-deep .WORKFLOW{padding:0!important}\n"] }]
|
|
450
|
+
}], ctorParameters: () => [{ type: HomeCommService }], propDecorators: { data: [{
|
|
451
|
+
type: Input
|
|
452
|
+
}] } });
|
|
453
|
+
|
|
454
|
+
const RUNTIME_HOME_FEATURE_CONFIG = new InjectionToken('RUNTIME_HOME_FEATURE_CONFIG', {
|
|
455
|
+
providedIn: 'root',
|
|
456
|
+
factory: () => ({
|
|
457
|
+
load: () => of({ enableWorkflow: true }),
|
|
458
|
+
}),
|
|
459
|
+
});
|
|
460
|
+
const RUNTIME_HOME_CUSTOM_COMPONENTS = new InjectionToken('RUNTIME_HOME_CUSTOM_COMPONENTS', {
|
|
461
|
+
providedIn: 'root',
|
|
462
|
+
factory: () => ({}),
|
|
463
|
+
});
|
|
464
|
+
|
|
465
|
+
class WorkBenchComponent {
|
|
466
|
+
http;
|
|
467
|
+
router;
|
|
468
|
+
homeSrv;
|
|
469
|
+
featureConfig;
|
|
470
|
+
_config = null;
|
|
471
|
+
loading = false;
|
|
472
|
+
data = [];
|
|
473
|
+
set config(value) {
|
|
474
|
+
this._config = value;
|
|
475
|
+
this.getPageData();
|
|
476
|
+
}
|
|
477
|
+
get config() {
|
|
478
|
+
return this._config;
|
|
479
|
+
}
|
|
480
|
+
constructor(http, router, homeSrv, featureConfig) {
|
|
481
|
+
this.http = http;
|
|
482
|
+
this.router = router;
|
|
483
|
+
this.homeSrv = homeSrv;
|
|
484
|
+
this.featureConfig = featureConfig;
|
|
485
|
+
}
|
|
486
|
+
ngOnInit() { }
|
|
487
|
+
getPageData() {
|
|
488
|
+
if (this.config) {
|
|
489
|
+
this.loading = true;
|
|
490
|
+
this.featureConfig.load().subscribe(config => {
|
|
491
|
+
this.http.post(`${ModuleAPI.system}/bench/user/getInfo/${this.config.id}`, null).subscribe((res) => {
|
|
492
|
+
if (res.success && res.result && res.result.listLayout) {
|
|
493
|
+
this.data = this.filterFeatureLayout(res.result.listLayout, config.enableWorkflow);
|
|
494
|
+
}
|
|
495
|
+
this.loading = false;
|
|
496
|
+
});
|
|
497
|
+
});
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
filterFeatureLayout(layouts, enableWorkflow) {
|
|
501
|
+
if (enableWorkflow) {
|
|
502
|
+
return layouts;
|
|
503
|
+
}
|
|
504
|
+
return layouts.map((layout) => {
|
|
505
|
+
const item = { ...layout };
|
|
506
|
+
if (Array.isArray(item.child)) {
|
|
507
|
+
item.child = item.child.filter((child) => child?.type !== 'WORKFLOW');
|
|
508
|
+
}
|
|
509
|
+
if (Array.isArray(item.left)) {
|
|
510
|
+
item.left = item.left.filter((child) => child?.type !== 'WORKFLOW');
|
|
511
|
+
}
|
|
512
|
+
if (Array.isArray(item.right)) {
|
|
513
|
+
item.right = item.right.filter((child) => child?.type !== 'WORKFLOW');
|
|
514
|
+
}
|
|
515
|
+
return item;
|
|
516
|
+
});
|
|
517
|
+
}
|
|
518
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: WorkBenchComponent, deps: [{ token: i1._HttpClient }, { token: i2$1.Router }, { token: HomeCommService }, { token: RUNTIME_HOME_FEATURE_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
|
|
519
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: WorkBenchComponent, isStandalone: true, selector: "workbench", inputs: { config: "config" }, ngImport: i0, template: "<ng-container *ngIf=\"data!! && data.length>0\">\n <ng-container *ngFor=\"let item of data;let index=index;\">\n <ng-container [ngSwitch]=\"item.type\">\n <ng-container *ngSwitchCase=\"'MIDDLE'\">\n <div class=\"layout-middle\">\n <ng-container *ngIf=\"item.child.length>0\">\n <ng-container *ngFor=\"let inner of item.child\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </ng-container>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'LEFT'\">\n <div class=\"layout-left\">\n <div class=\"left\">\n <ng-container *ngFor=\"let inner of item.left\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n <div class=\"right\">\n <ng-container *ngFor=\"let inner of item.right\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'RIGHT'\">\n <div class=\"layout-right\">\n <div class=\"left\">\n <ng-container *ngFor=\"let inner of item.left\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n <div class=\"right\">\n <ng-container *ngFor=\"let inner of item.right\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column}:host ::ng-deep .layout-middle{display:flex;flex-direction:column;width:100%}:host ::ng-deep .layout-left{display:flex;flex-direction:row;width:100%}:host ::ng-deep .layout-left .left{width:400px;height:inherit;margin-right:15px}:host ::ng-deep .layout-left .right{flex:1;height:inherit}:host ::ng-deep .layout-right{display:flex;flex-direction:row;width:100%}:host ::ng-deep .layout-right .left{flex:1;height:inherit}:host ::ng-deep .layout-right .right{width:400px;height:inherit;margin-left:15px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: ItemBoxComponent, selector: "item-box", inputs: ["data"] }] });
|
|
520
|
+
}
|
|
521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: WorkBenchComponent, decorators: [{
|
|
522
|
+
type: Component,
|
|
523
|
+
args: [{ selector: 'workbench', imports: [
|
|
524
|
+
CommonModule,
|
|
525
|
+
ItemBoxComponent
|
|
526
|
+
], template: "<ng-container *ngIf=\"data!! && data.length>0\">\n <ng-container *ngFor=\"let item of data;let index=index;\">\n <ng-container [ngSwitch]=\"item.type\">\n <ng-container *ngSwitchCase=\"'MIDDLE'\">\n <div class=\"layout-middle\">\n <ng-container *ngIf=\"item.child.length>0\">\n <ng-container *ngFor=\"let inner of item.child\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </ng-container>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'LEFT'\">\n <div class=\"layout-left\">\n <div class=\"left\">\n <ng-container *ngFor=\"let inner of item.left\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n <div class=\"right\">\n <ng-container *ngFor=\"let inner of item.right\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'RIGHT'\">\n <div class=\"layout-right\">\n <div class=\"left\">\n <ng-container *ngFor=\"let inner of item.left\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n <div class=\"right\">\n <ng-container *ngFor=\"let inner of item.right\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column}:host ::ng-deep .layout-middle{display:flex;flex-direction:column;width:100%}:host ::ng-deep .layout-left{display:flex;flex-direction:row;width:100%}:host ::ng-deep .layout-left .left{width:400px;height:inherit;margin-right:15px}:host ::ng-deep .layout-left .right{flex:1;height:inherit}:host ::ng-deep .layout-right{display:flex;flex-direction:row;width:100%}:host ::ng-deep .layout-right .left{flex:1;height:inherit}:host ::ng-deep .layout-right .right{width:400px;height:inherit;margin-left:15px}\n"] }]
|
|
527
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2$1.Router }, { type: HomeCommService }, { type: undefined, decorators: [{
|
|
528
|
+
type: Inject,
|
|
529
|
+
args: [RUNTIME_HOME_FEATURE_CONFIG]
|
|
530
|
+
}] }], propDecorators: { config: [{
|
|
531
|
+
type: Input
|
|
532
|
+
}] } });
|
|
533
|
+
|
|
534
|
+
class WorkCustomComponent {
|
|
535
|
+
http;
|
|
536
|
+
router;
|
|
537
|
+
customComponents;
|
|
538
|
+
customComponent = null;
|
|
539
|
+
_config = null;
|
|
540
|
+
set config(value) {
|
|
541
|
+
this._config = value;
|
|
542
|
+
this.customComponent = value?.pageControl ? this.customComponents[value.pageControl] || null : null;
|
|
543
|
+
}
|
|
544
|
+
get config() {
|
|
545
|
+
return this._config;
|
|
546
|
+
}
|
|
547
|
+
constructor(http, router, customComponents) {
|
|
548
|
+
this.http = http;
|
|
549
|
+
this.router = router;
|
|
550
|
+
this.customComponents = customComponents;
|
|
551
|
+
}
|
|
552
|
+
ngOnInit() { }
|
|
553
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: WorkCustomComponent, deps: [{ token: i1._HttpClient }, { token: i2$1.Router }, { token: RUNTIME_HOME_CUSTOM_COMPONENTS }], target: i0.ɵɵFactoryTarget.Component });
|
|
554
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: WorkCustomComponent, isStandalone: true, selector: "custom-box", inputs: { config: "config" }, ngImport: i0, template: "<ng-container *ngIf=\"customComponent\">\n <ng-container *ngComponentOutlet=\"customComponent\"></ng-container>\n</ng-container>\n", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
555
|
+
}
|
|
556
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: WorkCustomComponent, decorators: [{
|
|
557
|
+
type: Component,
|
|
558
|
+
args: [{ selector: 'custom-box', imports: [
|
|
559
|
+
CommonModule
|
|
560
|
+
], template: "<ng-container *ngIf=\"customComponent\">\n <ng-container *ngComponentOutlet=\"customComponent\"></ng-container>\n</ng-container>\n", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}\n"] }]
|
|
561
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2$1.Router }, { type: undefined, decorators: [{
|
|
562
|
+
type: Inject,
|
|
563
|
+
args: [RUNTIME_HOME_CUSTOM_COMPONENTS]
|
|
564
|
+
}] }], propDecorators: { config: [{
|
|
565
|
+
type: Input
|
|
566
|
+
}] } });
|
|
567
|
+
|
|
568
|
+
class HomeMainComponent {
|
|
569
|
+
http;
|
|
570
|
+
sanitizer;
|
|
571
|
+
homeSrv;
|
|
572
|
+
loading = true;
|
|
573
|
+
data = [];
|
|
574
|
+
benchConfig = null;
|
|
575
|
+
selectedIndex = 0;
|
|
576
|
+
pageType = null;
|
|
577
|
+
pageUrl;
|
|
578
|
+
pageControl = null;
|
|
579
|
+
constructor(http, sanitizer, homeSrv) {
|
|
580
|
+
this.http = http;
|
|
581
|
+
this.sanitizer = sanitizer;
|
|
582
|
+
this.homeSrv = homeSrv;
|
|
583
|
+
this.homeSrv.initBenchData(this, (res) => {
|
|
584
|
+
this.getPageData();
|
|
585
|
+
});
|
|
586
|
+
}
|
|
587
|
+
ngOnInit() { }
|
|
588
|
+
ngAfterViewInit() { }
|
|
589
|
+
benchChange(e) {
|
|
590
|
+
if (this.data && this.data.length > 0) {
|
|
591
|
+
let item = this.data[this.selectedIndex];
|
|
592
|
+
this.homeSrv.benchId = item.id;
|
|
593
|
+
this.pageType = item.pageType;
|
|
594
|
+
this.pageControl = item.pageControl;
|
|
595
|
+
if (this.pageType == 'URL' && item?.pageUrl) {
|
|
596
|
+
this.pageUrl = this.sanitizer.bypassSecurityTrustResourceUrl(item.pageUrl);
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
this.getBenchData();
|
|
600
|
+
}
|
|
601
|
+
getPageData() {
|
|
602
|
+
this.loading = true;
|
|
603
|
+
this.http.post(`${ModuleAPI.system}/bench/user/listBench`).subscribe((res) => {
|
|
604
|
+
if (res?.success && res?.result) {
|
|
605
|
+
this.data = res.result;
|
|
606
|
+
this.selectedIndex = 0;
|
|
607
|
+
this.benchChange(null);
|
|
608
|
+
}
|
|
609
|
+
this.loading = false;
|
|
610
|
+
}, (res) => {
|
|
611
|
+
this.loading = false;
|
|
612
|
+
});
|
|
613
|
+
}
|
|
614
|
+
getBenchData() {
|
|
615
|
+
this.benchConfig = {
|
|
616
|
+
id: this.homeSrv.benchId,
|
|
617
|
+
rd: Math.random(),
|
|
618
|
+
pageControl: this.pageControl
|
|
619
|
+
};
|
|
620
|
+
}
|
|
621
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeMainComponent, deps: [{ token: i1._HttpClient }, { token: i2$2.DomSanitizer }, { token: HomeCommService }], target: i0.ɵɵFactoryTarget.Component });
|
|
622
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeMainComponent, isStandalone: true, selector: "home-main", providers: [HomeCommService], ngImport: i0, template: "<div class=\"bench-body\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"data!! && data.length > 1\">\n <div class=\"bench-tabs\">\n <nz-tabset [(nzSelectedIndex)]=\"selectedIndex\" (nzSelectChange)=\"benchChange($event)\">\n <ng-container *ngFor=\"let item of data\">\n <nz-tab [nzTitle]=\"item.name\"></nz-tab>\n </ng-container>\n </nz-tabset>\n </div>\n </ng-container>\n <div class=\"bench-conent\">\n <ng-container *ngIf=\"benchConfig\">\n <ng-container [ngSwitch]=\"pageType\">\n <ng-container *ngSwitchCase=\"'DEFAULT'\">\n <workbench [config]=\"benchConfig\"></workbench>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CONTROL'\">\n <custom-box [config]=\"benchConfig\"></custom-box>\n </ng-container>\n <ng-container *ngSwitchCase=\"'URL'\">\n <iframe [src]=\"pageUrl\" width=\"100%\" height=\"100%\" style=\"border: 0\" *ngIf=\"pageUrl\"></iframe>\n </ng-container>\n </ng-container>\n </ng-container>\n\n <ng-container *ngIf=\"(data == null || data.length == 0) && loading == false\">\n <div class=\"empty-button\">\n <gram-empty state=\"period\" desc=\"\u6682\u65E0\u9996\u9875\u914D\u7F6E\"></gram-empty>\n </div>\n </ng-container>\n </div>\n </nz-spin>\n</div>", styles: [":host ::ng-deep{padding:15px 0 0 15px;overflow:hidden;display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .bench-body{padding:0;display:flex;flex-direction:column;overflow:auto;flex:1}:host ::ng-deep .bench-body .bench-tabs{background:#fff;margin-bottom:12px;padding:0 15px;border-radius:8px}:host ::ng-deep .bench-body .bench-tabs .ant-tabs-nav:before{border-bottom:none!important}:host ::ng-deep .bench-body .bench-conent{flex:1;display:flex;overflow-x:overlay;overflow-y:overlay}:host ::ng-deep .bench-body .bench-conent::-webkit-scrollbar{width:8px}:host ::ng-deep .bench-body .bench-conent::-webkit-scrollbar-thumb{background-color:#94949475;border-radius:7px}:host ::ng-deep .bench-body .bench-conent::-webkit-scrollbar-track{background-color:#fff}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzSpinModule }, { kind: "component", type: i5$2.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: NzTabsModule }, { kind: "component", type: i4$1.NzTabSetComponent, selector: "nz-tabset", inputs: ["nzSelectedIndex", "nzTabPosition", "nzTabBarExtraContent", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact", "nzDestroyInactiveTabPane"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabset"] }, { kind: "component", type: i4$1.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { kind: "ngmodule", type: GramDeonEmptyModule }, { kind: "component", type: i7.GramDeonEmptyComponent, selector: "gram-empty", inputs: ["desc", "state"], outputs: ["emptyClick"] }, { kind: "ngmodule", type: GramPipeModule }, { kind: "component", type: WorkBenchComponent, selector: "workbench", inputs: ["config"] }, { kind: "component", type: WorkCustomComponent, selector: "custom-box", inputs: ["config"] }] });
|
|
623
|
+
}
|
|
624
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeMainComponent, decorators: [{
|
|
625
|
+
type: Component,
|
|
626
|
+
args: [{ selector: 'home-main', providers: [HomeCommService], imports: [
|
|
627
|
+
CommonModule, FormsModule, ReactiveFormsModule,
|
|
628
|
+
NzSpinModule,
|
|
629
|
+
NzTabsModule,
|
|
630
|
+
GramDeonEmptyModule,
|
|
631
|
+
GramPipeModule,
|
|
632
|
+
WorkBenchComponent,
|
|
633
|
+
WorkCustomComponent
|
|
634
|
+
], template: "<div class=\"bench-body\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"data!! && data.length > 1\">\n <div class=\"bench-tabs\">\n <nz-tabset [(nzSelectedIndex)]=\"selectedIndex\" (nzSelectChange)=\"benchChange($event)\">\n <ng-container *ngFor=\"let item of data\">\n <nz-tab [nzTitle]=\"item.name\"></nz-tab>\n </ng-container>\n </nz-tabset>\n </div>\n </ng-container>\n <div class=\"bench-conent\">\n <ng-container *ngIf=\"benchConfig\">\n <ng-container [ngSwitch]=\"pageType\">\n <ng-container *ngSwitchCase=\"'DEFAULT'\">\n <workbench [config]=\"benchConfig\"></workbench>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CONTROL'\">\n <custom-box [config]=\"benchConfig\"></custom-box>\n </ng-container>\n <ng-container *ngSwitchCase=\"'URL'\">\n <iframe [src]=\"pageUrl\" width=\"100%\" height=\"100%\" style=\"border: 0\" *ngIf=\"pageUrl\"></iframe>\n </ng-container>\n </ng-container>\n </ng-container>\n\n <ng-container *ngIf=\"(data == null || data.length == 0) && loading == false\">\n <div class=\"empty-button\">\n <gram-empty state=\"period\" desc=\"\u6682\u65E0\u9996\u9875\u914D\u7F6E\"></gram-empty>\n </div>\n </ng-container>\n </div>\n </nz-spin>\n</div>", styles: [":host ::ng-deep{padding:15px 0 0 15px;overflow:hidden;display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .bench-body{padding:0;display:flex;flex-direction:column;overflow:auto;flex:1}:host ::ng-deep .bench-body .bench-tabs{background:#fff;margin-bottom:12px;padding:0 15px;border-radius:8px}:host ::ng-deep .bench-body .bench-tabs .ant-tabs-nav:before{border-bottom:none!important}:host ::ng-deep .bench-body .bench-conent{flex:1;display:flex;overflow-x:overlay;overflow-y:overlay}:host ::ng-deep .bench-body .bench-conent::-webkit-scrollbar{width:8px}:host ::ng-deep .bench-body .bench-conent::-webkit-scrollbar-thumb{background-color:#94949475;border-radius:7px}:host ::ng-deep .bench-body .bench-conent::-webkit-scrollbar-track{background-color:#fff}\n"] }]
|
|
635
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2$2.DomSanitizer }, { type: HomeCommService }] });
|
|
636
|
+
|
|
637
|
+
const routes = [{ path: '', component: HomeMainComponent }];
|
|
638
|
+
class HomeRoutingModule {
|
|
639
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
640
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: HomeRoutingModule, imports: [i2$1.RouterModule], exports: [RouterModule] });
|
|
641
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] });
|
|
642
|
+
}
|
|
643
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeRoutingModule, decorators: [{
|
|
644
|
+
type: NgModule,
|
|
645
|
+
args: [{
|
|
646
|
+
imports: [RouterModule.forChild(routes)],
|
|
647
|
+
exports: [RouterModule],
|
|
648
|
+
}]
|
|
649
|
+
}] });
|
|
650
|
+
|
|
651
|
+
const COMPONENTS = [HomeMainComponent,
|
|
652
|
+
// WorkBenchComponent,
|
|
653
|
+
// ItemBoxComponent,
|
|
654
|
+
// HomeAppComponent,
|
|
655
|
+
// HomeNoticeComponent,
|
|
656
|
+
// HomeWorkFlowComponent,
|
|
657
|
+
// HomeCarouselComponent,
|
|
658
|
+
// HomeChartComponent,
|
|
659
|
+
// HomeCalendarComponent,
|
|
660
|
+
// HomeReportComponent,
|
|
661
|
+
// HomeSingleComponent
|
|
662
|
+
];
|
|
663
|
+
class HomeModule {
|
|
664
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
665
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: HomeModule, imports: [HomeRoutingModule, HomeMainComponent] });
|
|
666
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeModule, imports: [HomeRoutingModule, COMPONENTS] });
|
|
667
|
+
}
|
|
668
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeModule, decorators: [{
|
|
669
|
+
type: NgModule,
|
|
670
|
+
args: [{
|
|
671
|
+
imports: [
|
|
672
|
+
HomeRoutingModule,
|
|
673
|
+
...COMPONENTS
|
|
674
|
+
],
|
|
675
|
+
}]
|
|
676
|
+
}] });
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* Generated bundle index. Do not edit.
|
|
680
|
+
*/
|
|
681
|
+
|
|
682
|
+
export { HomeCommService, HomeModule, RUNTIME_HOME_CUSTOM_COMPONENTS, RUNTIME_HOME_FEATURE_CONFIG };
|
|
683
|
+
//# sourceMappingURL=home.mjs.map
|