@ebuilding/biz-list 2.0.0
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/LICENSE +0 -0
- package/README.md +0 -0
- package/fesm2022/ebuilding-biz-list.mjs +6 -0
- package/fesm2022/ebuilding-biz-list.mjs.map +1 -0
- package/fesm2022/list.mjs +315 -0
- package/fesm2022/list.mjs.map +1 -0
- package/fesm2022/list.tree.mjs +475 -0
- package/fesm2022/list.tree.mjs.map +1 -0
- package/fesm2022/page-comm.single.mjs +283 -0
- package/fesm2022/page-comm.single.mjs.map +1 -0
- package/fesm2022/page.mjs +832 -0
- package/fesm2022/page.mjs.map +1 -0
- package/fesm2022/pre-control.mjs +347 -0
- package/fesm2022/pre-control.mjs.map +1 -0
- package/fesm2022/pre-control.pre-card.mjs +420 -0
- package/fesm2022/pre-control.pre-card.mjs.map +1 -0
- package/fesm2022/pre-control.pre-compare.mjs +136 -0
- package/fesm2022/pre-control.pre-compare.mjs.map +1 -0
- package/fesm2022/pre-control.pre-page-ref.mjs +304 -0
- package/fesm2022/pre-control.pre-page-ref.mjs.map +1 -0
- package/fesm2022/pre-control.pre-page.mjs +347 -0
- package/fesm2022/pre-control.pre-page.mjs.map +1 -0
- package/fesm2022/pre-control.pre-report.mjs +206 -0
- package/fesm2022/pre-control.pre-report.mjs.map +1 -0
- package/fesm2022/pre-control.pre-tree.mjs +925 -0
- package/fesm2022/pre-control.pre-tree.mjs.map +1 -0
- package/fesm2022/pre-control.single.mjs +347 -0
- package/fesm2022/pre-control.single.mjs.map +1 -0
- package/fesm2022/pre-dialog.mjs +120 -0
- package/fesm2022/pre-dialog.mjs.map +1 -0
- package/fesm2022/srv.basic.mjs +561 -0
- package/fesm2022/srv.basic.mjs.map +1 -0
- package/fesm2022/srv.commEvent.service.mjs +199 -0
- package/fesm2022/srv.commEvent.service.mjs.map +1 -0
- package/fesm2022/srv.commHeader.service.mjs +91 -0
- package/fesm2022/srv.commHeader.service.mjs.map +1 -0
- package/fesm2022/srv.commList.service.mjs +92 -0
- package/fesm2022/srv.commList.service.mjs.map +1 -0
- package/fesm2022/srv.commPage.service.mjs +399 -0
- package/fesm2022/srv.commPage.service.mjs.map +1 -0
- package/fesm2022/srv.page.service.mjs +701 -0
- package/fesm2022/srv.page.service.mjs.map +1 -0
- package/index.d.ts +1 -0
- package/list/index.d.ts +1 -0
- package/list/src/component/card/index.d.ts +18 -0
- package/list/src/component/table/index.d.ts +18 -0
- package/list/src/component/table-tree/index.d.ts +16 -0
- package/list/src/default/index.d.ts +30 -0
- package/list/src/index.module.d.ts +10 -0
- package/list/src/public_api.d.ts +2 -0
- package/list/src/service/list.service.d.ts +38 -0
- package/list-tree/index.d.ts +1 -0
- package/list-tree/src/component/list/index.d.ts +16 -0
- package/list-tree/src/component/tree/index.d.ts +15 -0
- package/list-tree/src/default/index.d.ts +26 -0
- package/list-tree/src/index.module.d.ts +10 -0
- package/list-tree/src/main/index.d.ts +16 -0
- package/list-tree/src/public_api.d.ts +3 -0
- package/list-tree/src/service/tree.service.d.ts +61 -0
- package/package.json +96 -0
- package/page/index.d.ts +1 -0
- package/page/src/components/import/index.d.ts +41 -0
- package/page/src/components/result/index.d.ts +17 -0
- package/page/src/default/index.d.ts +101 -0
- package/page/src/dialog/index.d.ts +38 -0
- package/page/src/index.module.d.ts +10 -0
- package/page/src/public_api.d.ts +5 -0
- package/page-comm/single/index.d.ts +1 -0
- package/page-comm/single/src/components/import/index.d.ts +41 -0
- package/page-comm/single/src/components/result/index.d.ts +17 -0
- package/page-comm/single/src/default/index.d.ts +21 -0
- package/page-comm/single/src/index.module.d.ts +9 -0
- package/page-comm/single/src/public_api.d.ts +4 -0
- package/pre-control/index.d.ts +1 -0
- package/pre-control/pre-card/index.d.ts +1 -0
- package/pre-control/pre-card/src/card.service.d.ts +29 -0
- package/pre-control/pre-card/src/components/card-other/index.d.ts +18 -0
- package/pre-control/pre-card/src/components/card-user/index.d.ts +44 -0
- package/pre-control/pre-card/src/data/index.d.ts +32 -0
- package/pre-control/pre-card/src/default/index.d.ts +21 -0
- package/pre-control/pre-card/src/index.module.d.ts +10 -0
- package/pre-control/pre-card/src/public_api.d.ts +3 -0
- package/pre-control/pre-compare/index.d.ts +1 -0
- package/pre-control/pre-compare/src/default/index.d.ts +20 -0
- package/pre-control/pre-compare/src/index.module.d.ts +7 -0
- package/pre-control/pre-compare/src/public_api.d.ts +2 -0
- package/pre-control/pre-page/index.d.ts +1 -0
- package/pre-control/pre-page/src/default/index.d.ts +71 -0
- package/pre-control/pre-page/src/index.module.d.ts +7 -0
- package/pre-control/pre-page/src/public_api.d.ts +2 -0
- package/pre-control/pre-page-ref/index.d.ts +1 -0
- package/pre-control/pre-page-ref/src/default/index.d.ts +68 -0
- package/pre-control/pre-page-ref/src/index.module.d.ts +8 -0
- package/pre-control/pre-page-ref/src/public_api.d.ts +2 -0
- package/pre-control/pre-report/index.d.ts +1 -0
- package/pre-control/pre-report/src/chart/index.d.ts +16 -0
- package/pre-control/pre-report/src/index.module.d.ts +9 -0
- package/pre-control/pre-report/src/page/index.d.ts +23 -0
- package/pre-control/pre-report/src/page-item/index.d.ts +14 -0
- package/pre-control/pre-report/src/public_api.d.ts +3 -0
- package/pre-control/pre-tree/index.d.ts +1 -0
- package/pre-control/pre-tree/src/components/form-left/index.component.d.ts +22 -0
- package/pre-control/pre-tree/src/components/form-right/index.component.d.ts +43 -0
- package/pre-control/pre-tree/src/components/list-left/index.component.d.ts +22 -0
- package/pre-control/pre-tree/src/components/list-right/index.component.d.ts +37 -0
- package/pre-control/pre-tree/src/default/index.d.ts +25 -0
- package/pre-control/pre-tree/src/form/index.d.ts +19 -0
- package/pre-control/pre-tree/src/index.module.d.ts +14 -0
- package/pre-control/pre-tree/src/list/index.d.ts +33 -0
- package/pre-control/pre-tree/src/public_api.d.ts +4 -0
- package/pre-control/pre-tree/src/service/treeFormService.d.ts +57 -0
- package/pre-control/pre-tree/src/service/treeListService.d.ts +56 -0
- package/pre-control/single/index.d.ts +1 -0
- package/pre-control/single/src/basic.service.d.ts +9 -0
- package/pre-control/single/src/components/box/index.d.ts +13 -0
- package/pre-control/single/src/components/expand/index.d.ts +13 -0
- package/pre-control/single/src/components/item/index.d.ts +17 -0
- package/pre-control/single/src/components/tabs/index.d.ts +13 -0
- package/pre-control/single/src/index.module.d.ts +7 -0
- package/pre-control/single/src/main/index.d.ts +25 -0
- package/pre-control/single/src/public_api.d.ts +2 -0
- package/pre-dialog/index.d.ts +1 -0
- package/pre-dialog/src/index.module.d.ts +7 -0
- package/pre-dialog/src/main/index.d.ts +23 -0
- package/pre-dialog/src/public_api.d.ts +2 -0
- package/service/basic/index.d.ts +118 -0
- package/service/commEvent.service/index.d.ts +48 -0
- package/service/commHeader.service/index.d.ts +26 -0
- package/service/commList.service/index.d.ts +26 -0
- package/service/commPage.service/index.d.ts +44 -0
- package/service/page.service/index.d.ts +127 -0
|
@@ -0,0 +1,832 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { HostListener, Input, Component, EventEmitter, Output, NgModule } from '@angular/core';
|
|
3
|
+
import * as i2 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import * as i7$1 from '@angular/forms';
|
|
6
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
7
|
+
import * as i8$1 from 'ng-zorro-antd/pagination';
|
|
8
|
+
import { NzPaginationModule } from 'ng-zorro-antd/pagination';
|
|
9
|
+
import * as i5 from 'ng-zorro-antd/spin';
|
|
10
|
+
import { NzSpinModule } from 'ng-zorro-antd/spin';
|
|
11
|
+
import * as i10$1 from 'ng-zorro-antd/input';
|
|
12
|
+
import { NzInputModule } from 'ng-zorro-antd/input';
|
|
13
|
+
import * as i3 from 'ng-zorro-antd/table';
|
|
14
|
+
import { NzTableModule } from 'ng-zorro-antd/table';
|
|
15
|
+
import * as i8 from 'ng-zorro-antd/button';
|
|
16
|
+
import { NzButtonModule } from 'ng-zorro-antd/button';
|
|
17
|
+
import * as i15 from '@ebuilding/abc/button';
|
|
18
|
+
import { GramDeonButtonModule } from '@ebuilding/abc/button';
|
|
19
|
+
import * as i16 from '@ebuilding/abc/quick';
|
|
20
|
+
import { GramDeonQuickModule } from '@ebuilding/abc/quick';
|
|
21
|
+
import * as i17 from '@ebuilding/abc/collect';
|
|
22
|
+
import { GramDeonCollectModule } from '@ebuilding/abc/collect';
|
|
23
|
+
import { FormRuleComponent } from '@ebuilding/biz-form/rule';
|
|
24
|
+
import { FormHistoryComponent } from '@ebuilding/biz-form/history';
|
|
25
|
+
import * as i14 from '@ebuilding/biz-list/list';
|
|
26
|
+
import { ListContentModule } from '@ebuilding/biz-list/list';
|
|
27
|
+
import * as i2$2 from '@ebuilding/biz-list/service/page.service';
|
|
28
|
+
import { BasePageService } from '@ebuilding/biz-list/service/page.service';
|
|
29
|
+
import { BaseCommEventService } from '@ebuilding/biz-list/service/commEvent.service';
|
|
30
|
+
import * as i3$2 from '@ebuilding/biz-list/service/commList.service';
|
|
31
|
+
import { BaseCommListService } from '@ebuilding/biz-list/service/commList.service';
|
|
32
|
+
import * as i4$1 from '@ebuilding/biz-list/service/commHeader.service';
|
|
33
|
+
import { BaseCommHeaderService } from '@ebuilding/biz-list/service/commHeader.service';
|
|
34
|
+
import * as i5$1 from '@ebuilding/biz-list/service/commPage.service';
|
|
35
|
+
import { BaseCommPageService } from '@ebuilding/biz-list/service/commPage.service';
|
|
36
|
+
import * as i6 from 'ng-zorro-antd/upload';
|
|
37
|
+
import { NzUploadModule } from 'ng-zorro-antd/upload';
|
|
38
|
+
import * as i7 from 'ng-zorro-antd/icon';
|
|
39
|
+
import { NzIconModule } from 'ng-zorro-antd/icon';
|
|
40
|
+
import { ModuleAPI } from '@ebuilding/base/shared.var/shared.constant';
|
|
41
|
+
import * as i1 from '@delon/theme';
|
|
42
|
+
import * as i2$1 from 'ng-zorro-antd/modal';
|
|
43
|
+
import * as i3$1 from 'ng-zorro-antd/message';
|
|
44
|
+
import * as i4 from '@ebuilding/base/shared.srv/base-dialog.service';
|
|
45
|
+
import * as i9 from 'ng-zorro-antd/core/transition-patch';
|
|
46
|
+
import * as i10 from 'ng-zorro-antd/core/wave';
|
|
47
|
+
import _ from 'lodash';
|
|
48
|
+
|
|
49
|
+
class DataResultComponent {
|
|
50
|
+
http;
|
|
51
|
+
elementRef;
|
|
52
|
+
_data = null;
|
|
53
|
+
set data(value) {
|
|
54
|
+
this._data = value;
|
|
55
|
+
this.resizeTable();
|
|
56
|
+
}
|
|
57
|
+
get data() {
|
|
58
|
+
return this._data;
|
|
59
|
+
}
|
|
60
|
+
constructor(http, elementRef) {
|
|
61
|
+
this.http = http;
|
|
62
|
+
this.elementRef = elementRef;
|
|
63
|
+
}
|
|
64
|
+
ngOnInit() { }
|
|
65
|
+
deonTableContentHG = null;
|
|
66
|
+
resize() {
|
|
67
|
+
//this.resizeTable();
|
|
68
|
+
}
|
|
69
|
+
resizeTable() {
|
|
70
|
+
let content = this.elementRef.nativeElement.clientHeight;
|
|
71
|
+
let tableHeader = 0;
|
|
72
|
+
if (this.elementRef.nativeElement.querySelector('.ant-table-thead')) {
|
|
73
|
+
tableHeader = this.elementRef.nativeElement.querySelector('.ant-table-thead').clientHeight;
|
|
74
|
+
}
|
|
75
|
+
if (tableHeader == 0 || tableHeader <= 50) {
|
|
76
|
+
tableHeader = 50;
|
|
77
|
+
}
|
|
78
|
+
this.deonTableContentHG = {
|
|
79
|
+
y: content - tableHeader - 40 + 'px',
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DataResultComponent, deps: [{ token: i1._HttpClient }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
83
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DataResultComponent, isStandalone: true, selector: "data-result", inputs: { data: "data" }, host: { listeners: { "window:resize": "resize($event)" } }, ngImport: i0, template: "<div class=\"deon-list\" *ngIf=\"data!! && data.length>0\">\r\n <nz-table #basicTable class=\"default-table\" [nzShowPagination]=\"false\" [nzData]=\"data\" [nzScroll]=\"deonTableContentHG\">\r\n <thead>\r\n <tr>\r\n <th nzWidth=\"60px\">\u5E8F\u53F7</th>\r\n <th nzWidth=\"80px\">\u884C\u53F7</th>\r\n <th>\u9519\u8BEF\u4FE1\u606F</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr *ngFor=\"let item of data;let index=index\">\r\n <td>{{index+1}}</td>\r\n <td>\r\n <ng-container *ngIf=\"item.row!='-1';else tmpRow\"> \u7B2C{{item.row}}\u884C </ng-container>\r\n <ng-template #tmpRow> -- </ng-template>\r\n </td>\r\n <td>\r\n <div class=\"cell\" *ngFor=\"let cell of item?.cells;else tmpEmpyCell\">\r\n <ng-container *ngIf=\"item.row!='-1' && cell.cell!='-1';else tmpCell\">\r\n <ng-container *ngIf=\"cell.cell!=null\"> \u7B2C{{cell.cell}}\u5217\uFF0C </ng-container>\r\n {{cell.message}}\r\n </ng-container>\r\n <ng-template #tmpCell> {{cell.message}} </ng-template>\r\n </div>\r\n\r\n <ng-template #tmpEmpyCell> {{item.message}} </ng-template>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </nz-table>\r\n</div>\r\n", styles: [":host ::ng-deep{padding:20px;display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .deon-list{display:flex;flex:1}:host ::ng-deep .deon-list .cell{display:inline-block;width:100%}:host ::ng-deep .deon-list .cell+.cell{margin-top:15px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: NzTableModule }, { kind: "component", type: i3.NzTableComponent, selector: "nz-table", inputs: ["nzTableLayout", "nzShowTotal", "nzItemRender", "nzTitle", "nzFooter", "nzNoResult", "nzPageSizeOptions", "nzVirtualItemSize", "nzVirtualMaxBufferPx", "nzVirtualMinBufferPx", "nzVirtualForTrackBy", "nzLoadingDelay", "nzPageIndex", "nzPageSize", "nzTotal", "nzWidthConfig", "nzData", "nzCustomColumn", "nzPaginationPosition", "nzScroll", "noDataVirtualHeight", "nzPaginationType", "nzFrontPagination", "nzTemplateMode", "nzShowPagination", "nzLoading", "nzOuterBordered", "nzLoadingIndicator", "nzBordered", "nzSize", "nzShowSizeChanger", "nzHideOnSinglePage", "nzShowQuickJumper", "nzSimple"], outputs: ["nzPageSizeChange", "nzPageIndexChange", "nzQueryParams", "nzCurrentPageDataChange", "nzCustomColumnChange"], exportAs: ["nzTable"] }, { kind: "directive", type: i3.NzTableCellDirective, selector: "th:not(.nz-disable-th):not([mat-cell]), td:not(.nz-disable-td):not([mat-cell])" }, { kind: "directive", type: i3.NzThMeasureDirective, selector: "th", inputs: ["nzWidth", "colspan", "colSpan", "rowspan", "rowSpan"] }, { kind: "component", type: i3.NzTheadComponent, selector: "thead:not(.ant-table-thead)", outputs: ["nzSortOrderChange"] }, { kind: "component", type: i3.NzTbodyComponent, selector: "tbody" }, { kind: "directive", type: i3.NzTrDirective, selector: "tr:not([mat-row]):not([mat-header-row]):not([nz-table-measure-row]):not([nzExpand]):not([nz-table-fixed-row])" }] });
|
|
84
|
+
}
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DataResultComponent, decorators: [{
|
|
86
|
+
type: Component,
|
|
87
|
+
args: [{ selector: 'data-result', imports: [
|
|
88
|
+
CommonModule,
|
|
89
|
+
NzTableModule
|
|
90
|
+
], template: "<div class=\"deon-list\" *ngIf=\"data!! && data.length>0\">\r\n <nz-table #basicTable class=\"default-table\" [nzShowPagination]=\"false\" [nzData]=\"data\" [nzScroll]=\"deonTableContentHG\">\r\n <thead>\r\n <tr>\r\n <th nzWidth=\"60px\">\u5E8F\u53F7</th>\r\n <th nzWidth=\"80px\">\u884C\u53F7</th>\r\n <th>\u9519\u8BEF\u4FE1\u606F</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr *ngFor=\"let item of data;let index=index\">\r\n <td>{{index+1}}</td>\r\n <td>\r\n <ng-container *ngIf=\"item.row!='-1';else tmpRow\"> \u7B2C{{item.row}}\u884C </ng-container>\r\n <ng-template #tmpRow> -- </ng-template>\r\n </td>\r\n <td>\r\n <div class=\"cell\" *ngFor=\"let cell of item?.cells;else tmpEmpyCell\">\r\n <ng-container *ngIf=\"item.row!='-1' && cell.cell!='-1';else tmpCell\">\r\n <ng-container *ngIf=\"cell.cell!=null\"> \u7B2C{{cell.cell}}\u5217\uFF0C </ng-container>\r\n {{cell.message}}\r\n </ng-container>\r\n <ng-template #tmpCell> {{cell.message}} </ng-template>\r\n </div>\r\n\r\n <ng-template #tmpEmpyCell> {{item.message}} </ng-template>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </nz-table>\r\n</div>\r\n", styles: [":host ::ng-deep{padding:20px;display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .deon-list{display:flex;flex:1}:host ::ng-deep .deon-list .cell{display:inline-block;width:100%}:host ::ng-deep .deon-list .cell+.cell{margin-top:15px}\n"] }]
|
|
91
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i0.ElementRef }], propDecorators: { data: [{
|
|
92
|
+
type: Input
|
|
93
|
+
}], resize: [{
|
|
94
|
+
type: HostListener,
|
|
95
|
+
args: ['window:resize', ['$event']]
|
|
96
|
+
}] } });
|
|
97
|
+
|
|
98
|
+
class DataImportComponent {
|
|
99
|
+
http;
|
|
100
|
+
nzModalRef;
|
|
101
|
+
msg;
|
|
102
|
+
dialogService;
|
|
103
|
+
fileType = [
|
|
104
|
+
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
105
|
+
'application/vnd.ms-excel',
|
|
106
|
+
'application/wps-office.xlsx',
|
|
107
|
+
];
|
|
108
|
+
/**
|
|
109
|
+
* 最大50MB
|
|
110
|
+
*/
|
|
111
|
+
fileSize = 51200;
|
|
112
|
+
fileList = [];
|
|
113
|
+
loading = false;
|
|
114
|
+
config = null;
|
|
115
|
+
constructor(http, nzModalRef, msg, dialogService) {
|
|
116
|
+
this.http = http;
|
|
117
|
+
this.nzModalRef = nzModalRef;
|
|
118
|
+
this.msg = msg;
|
|
119
|
+
this.dialogService = dialogService;
|
|
120
|
+
}
|
|
121
|
+
ngOnInit() { }
|
|
122
|
+
ngAfterContentChecked() {
|
|
123
|
+
// this.changeDetector.detectChanges();
|
|
124
|
+
}
|
|
125
|
+
fileChange(e) { }
|
|
126
|
+
uploadRequest = (e) => { };
|
|
127
|
+
beforeUpload = (file) => {
|
|
128
|
+
this.fileList = this.fileList.concat(file);
|
|
129
|
+
return false;
|
|
130
|
+
};
|
|
131
|
+
btnClose() {
|
|
132
|
+
this.nzModalRef.close();
|
|
133
|
+
}
|
|
134
|
+
btnUpload() {
|
|
135
|
+
if (this.checkUpload()) {
|
|
136
|
+
const formData = new FormData();
|
|
137
|
+
formData.append('pageId', this.config?.pageConfig?.id);
|
|
138
|
+
formData.append('buttonId', this.config?.buttonId);
|
|
139
|
+
formData.append('multipartFile', this.fileList[0]);
|
|
140
|
+
if (this.config?.projectId) {
|
|
141
|
+
formData.append('projectId', this.config?.projectId);
|
|
142
|
+
}
|
|
143
|
+
this.loading = true;
|
|
144
|
+
let apiUrl = this.config.pageConfig?.api?.importAPI;
|
|
145
|
+
if (apiUrl == undefined || apiUrl == null) {
|
|
146
|
+
apiUrl = `${ModuleAPI.user}/user/excel/importData`;
|
|
147
|
+
}
|
|
148
|
+
this.http.post(`${apiUrl}`, formData).subscribe((res) => {
|
|
149
|
+
if (res.success) {
|
|
150
|
+
if (res.result && Array.isArray(res.result) && res.result.length > 0) {
|
|
151
|
+
this.drawerErrorResult(res.result);
|
|
152
|
+
}
|
|
153
|
+
else {
|
|
154
|
+
this.msg.success('上传成功');
|
|
155
|
+
this.nzModalRef.close({
|
|
156
|
+
type: 'save',
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
this.loading = false;
|
|
161
|
+
}, (res) => {
|
|
162
|
+
this.loading = false;
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* 下载模板
|
|
168
|
+
*/
|
|
169
|
+
btnTemplate() {
|
|
170
|
+
let apiUrl = this.config.pageConfig?.api?.exportTemplateAPI;
|
|
171
|
+
if (apiUrl == undefined || apiUrl == null) {
|
|
172
|
+
apiUrl = `${ModuleAPI.user}/user/excel/exportTemplate`;
|
|
173
|
+
}
|
|
174
|
+
this.loading = true;
|
|
175
|
+
this.http
|
|
176
|
+
.post(`${apiUrl}`, {
|
|
177
|
+
pageId: this.config.pageConfig.id,
|
|
178
|
+
buttonId: this.config.buttonId,
|
|
179
|
+
})
|
|
180
|
+
.subscribe((res) => {
|
|
181
|
+
this.loading = false;
|
|
182
|
+
}, (res) => {
|
|
183
|
+
this.loading = false;
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* 检查附件
|
|
188
|
+
* @returns
|
|
189
|
+
*/
|
|
190
|
+
checkUpload() {
|
|
191
|
+
if (this.fileList == null || this.fileList.length == 0) {
|
|
192
|
+
this.msg.warning('请选择要上传的文件!');
|
|
193
|
+
return false;
|
|
194
|
+
}
|
|
195
|
+
let isExcel = this.fileType.some((item) => {
|
|
196
|
+
return item == this.fileList[0].type;
|
|
197
|
+
});
|
|
198
|
+
if (isExcel == false) {
|
|
199
|
+
this.msg.warning('请上传有效的Excel文件!');
|
|
200
|
+
}
|
|
201
|
+
return true;
|
|
202
|
+
}
|
|
203
|
+
drawerErrorResult(e) {
|
|
204
|
+
let modalOptions = {
|
|
205
|
+
nzTitle: '上传错误详情',
|
|
206
|
+
size: 'large',
|
|
207
|
+
nzContent: DataResultComponent,
|
|
208
|
+
nzClosable: true,
|
|
209
|
+
};
|
|
210
|
+
this.dialogService.CreateDrawerDialog(modalOptions, {
|
|
211
|
+
data: e,
|
|
212
|
+
}, (instance) => { });
|
|
213
|
+
}
|
|
214
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DataImportComponent, deps: [{ token: i1._HttpClient }, { token: i2$1.NzModalRef }, { token: i3$1.NzMessageService }, { token: i4.GramBaseDialogService }], target: i0.ɵɵFactoryTarget.Component });
|
|
215
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DataImportComponent, isStandalone: true, selector: "data-import", inputs: { config: "config" }, ngImport: i0, template: "<nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\r\n <div class=\"box\">\r\n <nz-upload nzType=\"drag\" [nzSize]=\"fileSize\" [nzLimit]=\"1\" [nzShowButton]=\"true\" [nzMultiple]=\"false\"\r\n [nzDisabled]=\"fileList!! && fileList.length>0\" [(nzFileList)]=\"fileList\" (nzChange)=\"fileChange($event)\"\r\n [nzBeforeUpload]=\"beforeUpload\" [(nzFileList)]=\"fileList\">\r\n <p class=\"ant-upload-drag-icon\">\r\n <i nz-icon nzType=\"inbox\"></i>\r\n </p>\r\n <p class=\"ant-upload-text\">\u5355\u51FB\u6216\u62D6\u52A8\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u4EE5\u4E0A\u4F20</p>\r\n <p class=\"ant-upload-hint\">\u4EC5\u652F\u6301\u5355\u4E2A\u6587\u4EF6\u4E0A\u4F20\uFF0C\u4E14\u53EA\u652F\u6301\uFF08Excel\u6587\u4EF6\uFF0C\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC750MB\uFF09</p>\r\n </nz-upload>\r\n </div>\r\n <div class=\"buttons\">\r\n <div class=\"left\">\r\n <a (click)=\"btnTemplate()\"><i nz-icon nzType=\"download\"></i>\u6A21\u677F\u4E0B\u8F7D</a>\r\n </div>\r\n <div class=\"right\">\r\n <button nz-button nzType=\"default\" type=\"button\" (click)=\"btnClose()\"><i nz-icon nzType=\"close\"></i>\u53D6\u6D88</button>\r\n <button nz-button nzType=\"primary\" type=\"button\" (click)=\"btnUpload()\"><i nz-icon nzType=\"upload\"\r\n nzTheme=\"outline\"></i>\u4E0A\u4F20</button>\r\n </div>\r\n </div>\r\n</nz-spin>", styles: [":host ::ng-deep{position:relative;padding:0;display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .box{display:flex;flex:1;flex-direction:column;padding:15px}:host ::ng-deep .box nz-upload{display:flex;flex:1;flex-direction:column}:host ::ng-deep .box nz-upload .ant-upload-drag{flex:1}:host ::ng-deep .buttons{display:flex;flex-direction:row;padding:15px;border-top:1px solid #f0f0f0}:host ::ng-deep .buttons .left i{margin-right:5px}:host ::ng-deep .buttons .right{flex:1;text-align:right}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzSpinModule }, { kind: "component", type: i5.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: NzUploadModule }, { kind: "component", type: i6.NzUploadComponent, selector: "nz-upload", inputs: ["nzType", "nzLimit", "nzSize", "nzFileType", "nzAccept", "nzAction", "nzDirectory", "nzOpenFileDialogOnClick", "nzBeforeUpload", "nzCustomRequest", "nzData", "nzFilter", "nzFileList", "nzDisabled", "nzHeaders", "nzListType", "nzMultiple", "nzName", "nzShowUploadList", "nzShowButton", "nzWithCredentials", "nzRemove", "nzPreview", "nzPreviewFile", "nzPreviewIsImage", "nzTransformFile", "nzDownload", "nzIconRender", "nzFileListRender"], outputs: ["nzChange", "nzFileListChange"], exportAs: ["nzUpload"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i7.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i8.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i9.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i10.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }] });
|
|
216
|
+
}
|
|
217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DataImportComponent, decorators: [{
|
|
218
|
+
type: Component,
|
|
219
|
+
args: [{ selector: 'data-import', imports: [
|
|
220
|
+
CommonModule,
|
|
221
|
+
FormsModule,
|
|
222
|
+
ReactiveFormsModule,
|
|
223
|
+
NzSpinModule,
|
|
224
|
+
NzUploadModule,
|
|
225
|
+
NzIconModule,
|
|
226
|
+
NzButtonModule
|
|
227
|
+
], template: "<nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\r\n <div class=\"box\">\r\n <nz-upload nzType=\"drag\" [nzSize]=\"fileSize\" [nzLimit]=\"1\" [nzShowButton]=\"true\" [nzMultiple]=\"false\"\r\n [nzDisabled]=\"fileList!! && fileList.length>0\" [(nzFileList)]=\"fileList\" (nzChange)=\"fileChange($event)\"\r\n [nzBeforeUpload]=\"beforeUpload\" [(nzFileList)]=\"fileList\">\r\n <p class=\"ant-upload-drag-icon\">\r\n <i nz-icon nzType=\"inbox\"></i>\r\n </p>\r\n <p class=\"ant-upload-text\">\u5355\u51FB\u6216\u62D6\u52A8\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u4EE5\u4E0A\u4F20</p>\r\n <p class=\"ant-upload-hint\">\u4EC5\u652F\u6301\u5355\u4E2A\u6587\u4EF6\u4E0A\u4F20\uFF0C\u4E14\u53EA\u652F\u6301\uFF08Excel\u6587\u4EF6\uFF0C\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC750MB\uFF09</p>\r\n </nz-upload>\r\n </div>\r\n <div class=\"buttons\">\r\n <div class=\"left\">\r\n <a (click)=\"btnTemplate()\"><i nz-icon nzType=\"download\"></i>\u6A21\u677F\u4E0B\u8F7D</a>\r\n </div>\r\n <div class=\"right\">\r\n <button nz-button nzType=\"default\" type=\"button\" (click)=\"btnClose()\"><i nz-icon nzType=\"close\"></i>\u53D6\u6D88</button>\r\n <button nz-button nzType=\"primary\" type=\"button\" (click)=\"btnUpload()\"><i nz-icon nzType=\"upload\"\r\n nzTheme=\"outline\"></i>\u4E0A\u4F20</button>\r\n </div>\r\n </div>\r\n</nz-spin>", styles: [":host ::ng-deep{position:relative;padding:0;display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .box{display:flex;flex:1;flex-direction:column;padding:15px}:host ::ng-deep .box nz-upload{display:flex;flex:1;flex-direction:column}:host ::ng-deep .box nz-upload .ant-upload-drag{flex:1}:host ::ng-deep .buttons{display:flex;flex-direction:row;padding:15px;border-top:1px solid #f0f0f0}:host ::ng-deep .buttons .left i{margin-right:5px}:host ::ng-deep .buttons .right{flex:1;text-align:right}\n"] }]
|
|
228
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2$1.NzModalRef }, { type: i3$1.NzMessageService }, { type: i4.GramBaseDialogService }], propDecorators: { config: [{
|
|
229
|
+
type: Input
|
|
230
|
+
}] } });
|
|
231
|
+
|
|
232
|
+
class PageInfoSingleComponent {
|
|
233
|
+
cdr;
|
|
234
|
+
modal;
|
|
235
|
+
basePageSrv;
|
|
236
|
+
commListSrv;
|
|
237
|
+
commHeaderSrv;
|
|
238
|
+
commPageSrv;
|
|
239
|
+
keyWord = null;
|
|
240
|
+
config = null;
|
|
241
|
+
random = null;
|
|
242
|
+
parameter = null;
|
|
243
|
+
selectData = [];
|
|
244
|
+
/**
|
|
245
|
+
* 按钮操作事件
|
|
246
|
+
*/
|
|
247
|
+
buttonEvent = new EventEmitter();
|
|
248
|
+
/**
|
|
249
|
+
* 行 - 选中事件
|
|
250
|
+
*/
|
|
251
|
+
selectEvent = new EventEmitter();
|
|
252
|
+
/**
|
|
253
|
+
* 行 - 普通列点击事件
|
|
254
|
+
*/
|
|
255
|
+
componentEvent = new EventEmitter();
|
|
256
|
+
/**
|
|
257
|
+
* 行 - 操作列点击事件
|
|
258
|
+
*/
|
|
259
|
+
operationEvent = new EventEmitter();
|
|
260
|
+
/**
|
|
261
|
+
* 按钮操作后调用事件
|
|
262
|
+
*/
|
|
263
|
+
buttonAfterEvent = new EventEmitter();
|
|
264
|
+
/**
|
|
265
|
+
* 页面数据读取后调用事件
|
|
266
|
+
*/
|
|
267
|
+
pageLoadAfterEvent = new EventEmitter();
|
|
268
|
+
constructor(cdr, modal, basePageSrv, commListSrv, commHeaderSrv, commPageSrv) {
|
|
269
|
+
this.cdr = cdr;
|
|
270
|
+
this.modal = modal;
|
|
271
|
+
this.basePageSrv = basePageSrv;
|
|
272
|
+
this.commListSrv = commListSrv;
|
|
273
|
+
this.commHeaderSrv = commHeaderSrv;
|
|
274
|
+
this.commPageSrv = commPageSrv;
|
|
275
|
+
this.basePageSrv.cdr = this.cdr;
|
|
276
|
+
}
|
|
277
|
+
ngOnChanges(changes) {
|
|
278
|
+
if (changes['config']) {
|
|
279
|
+
this.getPageConfig();
|
|
280
|
+
}
|
|
281
|
+
else if (changes['random']) {
|
|
282
|
+
this.getPageData();
|
|
283
|
+
}
|
|
284
|
+
else if (changes['parameter']) {
|
|
285
|
+
this.getPageData2();
|
|
286
|
+
}
|
|
287
|
+
else if (changes['selectData']) {
|
|
288
|
+
this.basePageSrv.selectData = this.selectData;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
ngOnInit() { }
|
|
292
|
+
getPageConfig() {
|
|
293
|
+
this.basePageSrv.pageInit();
|
|
294
|
+
this.basePageSrv.pageConfig = _.cloneDeep(this.config);
|
|
295
|
+
this.getPageData();
|
|
296
|
+
}
|
|
297
|
+
getPageData() {
|
|
298
|
+
this.basePageSrv.getPageData(this, () => {
|
|
299
|
+
this.pageLoadAfterEvent.emit(this.basePageSrv.listBody);
|
|
300
|
+
});
|
|
301
|
+
}
|
|
302
|
+
getPageData2() {
|
|
303
|
+
if (this.parameter && Object.keys(this.parameter).length > 0) {
|
|
304
|
+
if (this.basePageSrv.pageConfig?.parameter == undefined || this.basePageSrv.pageConfig?.parameter == null) {
|
|
305
|
+
this.basePageSrv.pageConfig['parameter'] = {};
|
|
306
|
+
}
|
|
307
|
+
this.basePageSrv.pageConfig.parameter = Object.assign(this.basePageSrv.pageConfig.parameter, this.parameter);
|
|
308
|
+
this.basePageSrv.getPageData(this, () => {
|
|
309
|
+
this.pageLoadAfterEvent.emit(this.basePageSrv.listBody);
|
|
310
|
+
});
|
|
311
|
+
}
|
|
312
|
+
else {
|
|
313
|
+
this.basePageSrv.pageConfig['parameter'] = {};
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
selectDataChange(e) {
|
|
317
|
+
this.basePageSrv.selectData = e;
|
|
318
|
+
this.selectEvent.emit(e);
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* 操作按钮(新增、删除、导入、导出等)
|
|
322
|
+
* @param e
|
|
323
|
+
*/
|
|
324
|
+
buttonClick(e) {
|
|
325
|
+
let buttons = _.get(this.config, `buttons.data`);
|
|
326
|
+
if (buttons && Array.isArray(buttons)) {
|
|
327
|
+
let button = null;
|
|
328
|
+
buttons.filter((v) => {
|
|
329
|
+
if (v.buttonType == e.buttonType && v.code == e.code) {
|
|
330
|
+
button = v;
|
|
331
|
+
}
|
|
332
|
+
});
|
|
333
|
+
if (button) {
|
|
334
|
+
if (this.config?.formModel) {
|
|
335
|
+
button['defaultModel'] = this.config?.formModel;
|
|
336
|
+
}
|
|
337
|
+
button['static'] = false;
|
|
338
|
+
if (this.basePageSrv.pageConfig?.static == true) {
|
|
339
|
+
button['static'] = true;
|
|
340
|
+
}
|
|
341
|
+
this.getOuterButtonArg(button);
|
|
342
|
+
if (button.throw) {
|
|
343
|
+
this.buttonEvent.emit(button);
|
|
344
|
+
}
|
|
345
|
+
else {
|
|
346
|
+
switch (button.buttonType) {
|
|
347
|
+
case 'EXPORT':
|
|
348
|
+
this.pageDataExport(button, this, (res) => {
|
|
349
|
+
this.buttonAfterEvent.emit();
|
|
350
|
+
});
|
|
351
|
+
break;
|
|
352
|
+
case 'IMPORTS':
|
|
353
|
+
this.pageDataImports(button, this, (res) => {
|
|
354
|
+
this.buttonAfterEvent.emit();
|
|
355
|
+
});
|
|
356
|
+
break;
|
|
357
|
+
case 'DELETE':
|
|
358
|
+
this.basePageSrv.pageDataDeletes(button, this, (res) => {
|
|
359
|
+
this.buttonAfterEvent.emit();
|
|
360
|
+
});
|
|
361
|
+
break;
|
|
362
|
+
case 'ENABLE':
|
|
363
|
+
this.basePageSrv.updateDisables(button, this, (res) => {
|
|
364
|
+
this.buttonAfterEvent.emit();
|
|
365
|
+
});
|
|
366
|
+
break;
|
|
367
|
+
case 'DISABLED':
|
|
368
|
+
this.basePageSrv.updateDisables(button, this, (res) => {
|
|
369
|
+
this.buttonAfterEvent.emit();
|
|
370
|
+
});
|
|
371
|
+
break;
|
|
372
|
+
default:
|
|
373
|
+
this.commPageSrv.event(button, this.getParaDataInfo(), this, (res) => {
|
|
374
|
+
this.getPageData();
|
|
375
|
+
this.buttonAfterEvent.emit();
|
|
376
|
+
});
|
|
377
|
+
break;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* 列表 - 某一行某一列点击事件
|
|
385
|
+
* @param e
|
|
386
|
+
*/
|
|
387
|
+
componentClick(e) {
|
|
388
|
+
let button = _.get(this.config, `list.buttons.component.${e.key}`);
|
|
389
|
+
if (button) {
|
|
390
|
+
button['dataId'] = e.dataId;
|
|
391
|
+
button['dataItem'] = e.dataItem;
|
|
392
|
+
button['static'] = false;
|
|
393
|
+
button['module'] = { pageIndex: this.basePageSrv.pageIndex, keyWord: this.basePageSrv.keyWord };
|
|
394
|
+
if (this.basePageSrv.pageConfig?.static == true) {
|
|
395
|
+
button['static'] = true;
|
|
396
|
+
}
|
|
397
|
+
this.getComponentArg(button);
|
|
398
|
+
if (button.responseType == 'LIST') {
|
|
399
|
+
button['isTag'] = false;
|
|
400
|
+
}
|
|
401
|
+
if (button.throw) {
|
|
402
|
+
this.componentEvent.emit(button);
|
|
403
|
+
}
|
|
404
|
+
else {
|
|
405
|
+
this.commPageSrv.event(button, this.getParaDataInfo(), this, (res) => {
|
|
406
|
+
this.getPageData();
|
|
407
|
+
});
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
/**
|
|
412
|
+
* 列表 - 某一行的操作列点击事件
|
|
413
|
+
* @param e
|
|
414
|
+
*/
|
|
415
|
+
operationClick(e) {
|
|
416
|
+
let button = _.get(this.config, `list.buttons.operation.${e.key}`);
|
|
417
|
+
if (button) {
|
|
418
|
+
button['dataId'] = e.dataId;
|
|
419
|
+
button['dataItem'] = e.dataItem;
|
|
420
|
+
button['static'] = false;
|
|
421
|
+
if (this.basePageSrv.pageConfig?.static == true) {
|
|
422
|
+
button['static'] = true;
|
|
423
|
+
}
|
|
424
|
+
this.getInnerButtonArg(button);
|
|
425
|
+
if (button.throw) {
|
|
426
|
+
this.operationEvent.emit(button);
|
|
427
|
+
}
|
|
428
|
+
else {
|
|
429
|
+
switch (button.buttonType) {
|
|
430
|
+
case 'CANCEL':
|
|
431
|
+
this.basePageSrv.pageDataCancel(button, this, (res) => {
|
|
432
|
+
this.buttonAfterEvent.emit();
|
|
433
|
+
});
|
|
434
|
+
break;
|
|
435
|
+
case 'DELETE':
|
|
436
|
+
this.basePageSrv.pageDataDelete(button, this, (res) => {
|
|
437
|
+
this.buttonAfterEvent.emit();
|
|
438
|
+
});
|
|
439
|
+
break;
|
|
440
|
+
case 'ENABLE':
|
|
441
|
+
this.basePageSrv.updateDisable(button, this, (res) => {
|
|
442
|
+
this.buttonAfterEvent.emit();
|
|
443
|
+
});
|
|
444
|
+
break;
|
|
445
|
+
case 'DISABLED':
|
|
446
|
+
this.basePageSrv.updateDisable(button, this, (res) => {
|
|
447
|
+
this.buttonAfterEvent.emit();
|
|
448
|
+
});
|
|
449
|
+
break;
|
|
450
|
+
case 'COPY':
|
|
451
|
+
this.basePageSrv.pageDataCopy(button, this, (res) => {
|
|
452
|
+
this.buttonAfterEvent.emit();
|
|
453
|
+
});
|
|
454
|
+
break;
|
|
455
|
+
case 'HISTORY':
|
|
456
|
+
this.historyClick(button);
|
|
457
|
+
break;
|
|
458
|
+
default:
|
|
459
|
+
this.commPageSrv.event(button, this.getParaDataInfo(), this, (res) => {
|
|
460
|
+
this.getPageData();
|
|
461
|
+
this.buttonAfterEvent.emit();
|
|
462
|
+
});
|
|
463
|
+
break;
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
rowRuleClick(e) {
|
|
469
|
+
let modalOptions = {
|
|
470
|
+
nzTitle: '配置适用人员',
|
|
471
|
+
size: 'upload',
|
|
472
|
+
nzContent: FormRuleComponent,
|
|
473
|
+
};
|
|
474
|
+
this.commPageSrv.dialogService.CreateDrawerDialog(modalOptions, {
|
|
475
|
+
config: {
|
|
476
|
+
pageId: this.basePageSrv.pageConfig.id,
|
|
477
|
+
dataId: e.dataId,
|
|
478
|
+
api: this.basePageSrv.pageConfig?.api,
|
|
479
|
+
},
|
|
480
|
+
}, (instance) => {
|
|
481
|
+
if (instance && instance.type && instance.type == 'save') {
|
|
482
|
+
}
|
|
483
|
+
});
|
|
484
|
+
}
|
|
485
|
+
historyClick(e) {
|
|
486
|
+
let modalOptions = {
|
|
487
|
+
nzTitle: '查看历史记录',
|
|
488
|
+
nzContent: FormHistoryComponent,
|
|
489
|
+
};
|
|
490
|
+
this.commPageSrv.dialogService.CreateDrawerDialog(modalOptions, {
|
|
491
|
+
config: {
|
|
492
|
+
pageId: this.basePageSrv.pageConfig.id,
|
|
493
|
+
dataId: e.dataId,
|
|
494
|
+
},
|
|
495
|
+
}, (instance) => {
|
|
496
|
+
if (instance && instance.type && instance.type == 'save') {
|
|
497
|
+
}
|
|
498
|
+
});
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* 按钮外部点击事件
|
|
502
|
+
* @param e
|
|
503
|
+
*/
|
|
504
|
+
getOuterButtonArg(e) {
|
|
505
|
+
if (e.arg && Array.isArray(e.arg)) {
|
|
506
|
+
e.arg.forEach((item) => {
|
|
507
|
+
switch (item.argFromTo) {
|
|
508
|
+
case 'FIXED':
|
|
509
|
+
item.argValue = item.argValue;
|
|
510
|
+
break;
|
|
511
|
+
case 'PAGE_PROCESS':
|
|
512
|
+
if (item.argVar) {
|
|
513
|
+
if (this.config.parameterArg && this.config.parameterArg[item.argVar]) {
|
|
514
|
+
item.argValue = this.config.parameterArg[item.argVar];
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
break;
|
|
518
|
+
default:
|
|
519
|
+
break;
|
|
520
|
+
}
|
|
521
|
+
});
|
|
522
|
+
}
|
|
523
|
+
/**
|
|
524
|
+
* 内置时:复制配置中的API
|
|
525
|
+
*/
|
|
526
|
+
if (e?.static == true) {
|
|
527
|
+
if (this.basePageSrv.pageConfig.api) {
|
|
528
|
+
e.api = this.basePageSrv.pageConfig.api;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
/**
|
|
533
|
+
* 操作列点击事件
|
|
534
|
+
* @param e
|
|
535
|
+
*/
|
|
536
|
+
getInnerButtonArg(e) {
|
|
537
|
+
if (e.arg && Array.isArray(e.arg)) {
|
|
538
|
+
e.arg.forEach((item) => {
|
|
539
|
+
if (item.argFromTo == 'PAGE' || item.argFromTo == 'PAGE_LIST' || item.argFromTo == 'PAGE_OBJECT') {
|
|
540
|
+
let value = null;
|
|
541
|
+
let isStatic = e?.static;
|
|
542
|
+
let type = this.getHeaderType(item.argFieldId, isStatic);
|
|
543
|
+
switch (type) {
|
|
544
|
+
case 'ref':
|
|
545
|
+
value = _.get(e, e?.static == true ? `dataItem.${item.argFieldId}.id` : `dataItem.f_${item.argFieldId}.id`);
|
|
546
|
+
break;
|
|
547
|
+
case 'special':
|
|
548
|
+
value = _.get(e, `dataItem.${item.argFieldId}`);
|
|
549
|
+
break;
|
|
550
|
+
default:
|
|
551
|
+
value = _.get(e, e?.static == true ? `dataItem.${item.argFieldId}` : `dataItem.f_${item.argFieldId}`);
|
|
552
|
+
break;
|
|
553
|
+
}
|
|
554
|
+
if (item.argFromTo == 'PAGE_OBJECT') {
|
|
555
|
+
let valueName = _.get(e, e?.static == true ? `dataItem.${item.argFieldNameId}` : `dataItem.f_${item.argFieldNameId}`);
|
|
556
|
+
item.argValue = {
|
|
557
|
+
id: value,
|
|
558
|
+
name: valueName,
|
|
559
|
+
};
|
|
560
|
+
}
|
|
561
|
+
else {
|
|
562
|
+
item.argValue = value ? value : null;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
});
|
|
566
|
+
}
|
|
567
|
+
/**
|
|
568
|
+
* 内置时:复制配置中的API
|
|
569
|
+
*/
|
|
570
|
+
if (e?.static == true) {
|
|
571
|
+
if (this.basePageSrv.pageConfig.api) {
|
|
572
|
+
e.api = this.basePageSrv.pageConfig.api;
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
/**
|
|
577
|
+
* 内容列点击事件
|
|
578
|
+
* @param e
|
|
579
|
+
*/
|
|
580
|
+
getComponentArg(e) {
|
|
581
|
+
if (e.arg && Array.isArray(e.arg)) {
|
|
582
|
+
e.arg.forEach((item) => {
|
|
583
|
+
if (item.argFromTo == 'PAGE' || item.argFromTo == 'PAGE_LIST') {
|
|
584
|
+
let value = null;
|
|
585
|
+
let isStatic = e?.static;
|
|
586
|
+
let type = this.getHeaderType(item.argFieldId, isStatic);
|
|
587
|
+
switch (type) {
|
|
588
|
+
case 'ref':
|
|
589
|
+
value = _.get(e, e?.static == true ? `dataItem.${item.argFieldId}.id` : `dataItem.f_${item.argFieldId}.id`);
|
|
590
|
+
break;
|
|
591
|
+
case 'special':
|
|
592
|
+
value = _.get(e, `dataItem.${item.argFieldId}`);
|
|
593
|
+
break;
|
|
594
|
+
default:
|
|
595
|
+
value = _.get(e, e?.static == true ? `dataItem.${item.argFieldId}` : `dataItem.f_${item.argFieldId}`);
|
|
596
|
+
break;
|
|
597
|
+
}
|
|
598
|
+
item.argValue = value ? value : null;
|
|
599
|
+
}
|
|
600
|
+
});
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
getHeaderType(fieldId, isStatic) {
|
|
604
|
+
let header = null;
|
|
605
|
+
if (Array.isArray(this.basePageSrv.listHeader)) {
|
|
606
|
+
this.basePageSrv.listHeader.filter((item) => {
|
|
607
|
+
if (isStatic == true) {
|
|
608
|
+
if (item.key == fieldId) {
|
|
609
|
+
header = item;
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
else {
|
|
613
|
+
if (item.key == 'f_' + fieldId) {
|
|
614
|
+
header = item;
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
});
|
|
618
|
+
}
|
|
619
|
+
return _.get(header, `explain.type`);
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* 导出数据
|
|
623
|
+
* @param e
|
|
624
|
+
*/
|
|
625
|
+
pageDataExport(e, caller = null, callback = null) {
|
|
626
|
+
this.modal.confirm({
|
|
627
|
+
nzTitle: '提示',
|
|
628
|
+
nzContent: e.tips ? e.tips : '您确定需要导出数据吗?',
|
|
629
|
+
nzOnOk: () => {
|
|
630
|
+
this.basePageSrv.exportPageDataList();
|
|
631
|
+
},
|
|
632
|
+
});
|
|
633
|
+
}
|
|
634
|
+
/**
|
|
635
|
+
* 导入数据
|
|
636
|
+
* @param e
|
|
637
|
+
*/
|
|
638
|
+
pageDataImports(e, caller = null, callback = null) {
|
|
639
|
+
let modalOptions = {
|
|
640
|
+
nzTitle: '选择导入的数据',
|
|
641
|
+
size: 'upload',
|
|
642
|
+
nzContent: DataImportComponent,
|
|
643
|
+
};
|
|
644
|
+
this.commPageSrv.dialogService.CreateModelDialog(modalOptions, {
|
|
645
|
+
type: 'upload',
|
|
646
|
+
config: {
|
|
647
|
+
buttonId: e.id,
|
|
648
|
+
pageConfig: this.basePageSrv.pageConfig,
|
|
649
|
+
},
|
|
650
|
+
}, (instance) => {
|
|
651
|
+
if (instance && instance.type && instance.type == 'save') {
|
|
652
|
+
this.getPageData();
|
|
653
|
+
}
|
|
654
|
+
});
|
|
655
|
+
}
|
|
656
|
+
/**
|
|
657
|
+
* 获取当前页面的参数
|
|
658
|
+
* @returns
|
|
659
|
+
*/
|
|
660
|
+
getParaDataInfo() {
|
|
661
|
+
let paraData = {
|
|
662
|
+
keyWord: this.keyWord,
|
|
663
|
+
pageIndex: this.basePageSrv.pageIndex,
|
|
664
|
+
pageSize: this.config.pagination.pageSize
|
|
665
|
+
};
|
|
666
|
+
return paraData;
|
|
667
|
+
}
|
|
668
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: PageInfoSingleComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i2$1.NzModalService }, { token: i2$2.BasePageService }, { token: i3$2.BaseCommListService }, { token: i4$1.BaseCommHeaderService }, { token: i5$1.BaseCommPageService }], target: i0.ɵɵFactoryTarget.Component });
|
|
669
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: PageInfoSingleComponent, isStandalone: true, selector: "page-info-single", inputs: { config: "config", random: "random", parameter: "parameter", selectData: "selectData" }, outputs: { buttonEvent: "buttonEvent", selectEvent: "selectEvent", componentEvent: "componentEvent", operationEvent: "operationEvent", buttonAfterEvent: "buttonAfterEvent", pageLoadAfterEvent: "pageLoadAfterEvent" }, providers: [BasePageService, BaseCommEventService, BaseCommListService, BaseCommHeaderService, BaseCommPageService], usesOnChanges: true, ngImport: i0, template: "<nz-spin nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\" [nzSpinning]=\"basePageSrv.loading\">\r\n <div class=\"page-info-collect\"\r\n *ngIf=\"config?.collect?.show==true && basePageSrv.listCollect!! && basePageSrv.listCollect.length>0\">\r\n <gram-collect [data]=\"basePageSrv.listCollect\"></gram-collect>\r\n </div>\r\n <div class=\"page-info-header\">\r\n <div class=\"quick\">\r\n <ng-content select=\"[name=quick-before]\"></ng-content>\r\n <ng-container *ngIf=\"config?.quick && config?.quick?.show!=false\">\r\n <gram-quick [data]=\"config?.quick?.data\" (quickQueryClick)=\"basePageSrv.pageQuickClick($event)\"></gram-quick>\r\n </ng-container>\r\n <ng-content select=\"[name=quick-after]\"></ng-content>\r\n </div>\r\n <div class=\"search\">\r\n <ng-container *ngIf=\"config?.query?.show!=false\">\r\n <nz-input-group nzSearch [nzAddOnAfter]=\"suffixButton\">\r\n <input type=\"text\" [(ngModel)]=\"basePageSrv.keyWord\" nz-input placeholder=\"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u67E5\u8BE2\"\r\n (keydown.enter)=\"basePageSrv.pageQueryClick()\" />\r\n </nz-input-group>\r\n <ng-template #suffixButton>\r\n <button nz-button nzType=\"primary\" type=\"button\" nzSearch (click)=\"basePageSrv.pageQueryClick()\">\r\n <i nz-icon nzType=\"search\"></i>\u67E5\u8BE2\r\n </button>\r\n </ng-template>\r\n </ng-container>\r\n </div>\r\n <div class=\"operation\">\r\n <ng-content select=\"[name=button-before]\"></ng-content>\r\n <ng-container *ngIf=\"config.buttons!! && config.buttons.show!=false\">\r\n <gram-buttons [pageId]=\"config.id\" [type]=\"config.buttons.type\" [data]=\"config.buttons.data\"\r\n (buttonClick)=\"buttonClick($event)\">\r\n </gram-buttons>\r\n </ng-container>\r\n <ng-content select=\"[name=button-after]\"></ng-content>\r\n </div>\r\n\r\n <div class=\"pagination\"\r\n *ngIf=\"config?.pagination && config.pagination?.position==='top' && config.pagination?.show!==false\">\r\n <nz-pagination [nzPageIndex]=\"basePageSrv.pageIndex\" [nzTotal]=\"basePageSrv.listTotal\" nzShowSizeChanger\r\n [nzPageSize]=\"config.pagination?.pageSize\" (nzPageIndexChange)=\"basePageSrv.listPageIndexChange($event)\"\r\n (nzPageSizeChange)=\"basePageSrv.listPageSizeChange($event)\">\r\n </nz-pagination>\r\n </div>\r\n </div>\r\n <div class=\"page-info-body\">\r\n <div class=\"body-left\">\r\n <div class=\"page-info-content\">\r\n <list-content [config]=\"this.basePageSrv.pageConfig.list\" (selectClick)=\"selectDataChange($event)\"\r\n (sortClick)=\"basePageSrv.listSortChange($event)\" (componentClick)=\"componentClick($event)\"\r\n (operationClick)=\"operationClick($event)\" (rowRuleClick)=\"rowRuleClick($event)\">\r\n </list-content>\r\n </div>\r\n <div class=\"page-info-footer\"\r\n *ngIf=\"config?.pagination && config.pagination?.position==='bottom' && config.pagination?.show!==false && basePageSrv.listTotal>0\">\r\n <nz-pagination [nzPageIndex]=\"basePageSrv.pageIndex\" [nzShowTotal]=\"totalTemplate\"\r\n [nzTotal]=\"basePageSrv.listTotal\" nzShowSizeChanger [nzPageSize]=\"config?.pagination?.pageSize\"\r\n (nzPageIndexChange)=\"basePageSrv.listPageIndexChange($event)\"\r\n (nzPageSizeChange)=\"basePageSrv.listPageSizeChange($event)\">\r\n </nz-pagination>\r\n </div>\r\n </div>\r\n <ng-content select=\"[name=body-right]\"></ng-content>\r\n </div>\r\n</nz-spin>\r\n\r\n<ng-template #totalTemplate let-total> \u603B\u5171 {{ basePageSrv.listTotal }} \u6761\u6570\u636E </ng-template>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .page-info-collect{display:inline-block;margin-bottom:12px;border-bottom:1px solid #eaeaea}:host ::ng-deep .page-info-body{display:flex;flex:1;flex-direction:row;overflow:hidden}:host ::ng-deep .page-info-body .body-left{display:flex;flex:1;flex-direction:column;overflow:hidden}:host ::ng-deep .page-info-header{display:flex;flex-direction:row;margin:3px 0 0;padding:0 0 12px}:host ::ng-deep .page-info-header nz-input-group{flex:1;max-width:300px}:host ::ng-deep .page-info-header nz-input-group input{min-height:32px}:host ::ng-deep .page-info-header .search{display:flex;flex:1;align-items:center;padding:0}:host ::ng-deep .page-info-header .search .title:after{padding:0 8px 0 5px;content:\":\"}:host ::ng-deep .page-info-header .quick{padding:0}:host ::ng-deep .page-info-header .quick ul{display:flex;margin:0;padding:0;list-style:none}:host ::ng-deep .page-info-header .quick ul li{padding:0 20px 0 0}:host ::ng-deep .page-info-header .quick gram-quick .title:after{padding:0 8px 0 5px;content:\":\"}:host ::ng-deep .page-info-header .quick gram-quick nz-select{min-width:200px}:host ::ng-deep .page-info-header .operation{display:flex}:host ::ng-deep .page-info-content{display:inline-block;flex:1;min-height:0;padding:0;overflow:auto;overflow-x:overlay;overflow-y:overlay}:host ::ng-deep .page-info-content::-webkit-scrollbar{width:8px}:host ::ng-deep .page-info-content::-webkit-scrollbar-thumb{background-color:#94949475;border-radius:7px}:host ::ng-deep .page-info-content::-webkit-scrollbar-track{background-color:#fff}:host ::ng-deep .page-info-content list-table{display:flex;flex:1;height:100%}:host ::ng-deep .page-info-footer{padding:12px 0 0;text-align:right}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i7$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i7$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i7$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzPaginationModule }, { kind: "component", type: i8$1.NzPaginationComponent, selector: "nz-pagination", inputs: ["nzShowTotal", "nzItemRender", "nzSize", "nzPageSizeOptions", "nzShowSizeChanger", "nzShowQuickJumper", "nzSimple", "nzDisabled", "nzResponsive", "nzHideOnSinglePage", "nzTotal", "nzPageIndex", "nzPageSize"], outputs: ["nzPageSizeChange", "nzPageIndexChange"], exportAs: ["nzPagination"] }, { kind: "ngmodule", type: NzSpinModule }, { kind: "component", type: i5.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i10$1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i10$1.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "ngmodule", type: NzTableModule }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i8.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i9.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i10.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "ngmodule", type: ListContentModule }, { kind: "component", type: i14.ListContentComponent, selector: "list-content", inputs: ["config"], outputs: ["selectChange", "sortClick", "componentClick", "rowRuleClick", "operationClick"] }, { kind: "ngmodule", type: GramDeonButtonModule }, { kind: "component", type: i15.GramDeonButtonsComponent, selector: "gram-buttons", inputs: ["pageId", "type", "data"], outputs: ["buttonClick"] }, { kind: "ngmodule", type: GramDeonQuickModule }, { kind: "component", type: i16.GramDeonQuickComponent, selector: "gram-quick", inputs: ["data"], outputs: ["quickQueryClick"] }, { kind: "ngmodule", type: GramDeonCollectModule }, { kind: "component", type: i17.GramDeonCollectComponent, selector: "gram-collect", inputs: ["data"] }] });
|
|
670
|
+
}
|
|
671
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: PageInfoSingleComponent, decorators: [{
|
|
672
|
+
type: Component,
|
|
673
|
+
args: [{ selector: 'page-info-single', providers: [BasePageService, BaseCommEventService, BaseCommListService, BaseCommHeaderService, BaseCommPageService], imports: [
|
|
674
|
+
CommonModule,
|
|
675
|
+
FormsModule, ReactiveFormsModule,
|
|
676
|
+
NzPaginationModule,
|
|
677
|
+
NzSpinModule,
|
|
678
|
+
NzInputModule,
|
|
679
|
+
NzTableModule,
|
|
680
|
+
NzButtonModule,
|
|
681
|
+
ListContentModule,
|
|
682
|
+
GramDeonButtonModule,
|
|
683
|
+
GramDeonQuickModule,
|
|
684
|
+
GramDeonCollectModule
|
|
685
|
+
], template: "<nz-spin nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\" [nzSpinning]=\"basePageSrv.loading\">\r\n <div class=\"page-info-collect\"\r\n *ngIf=\"config?.collect?.show==true && basePageSrv.listCollect!! && basePageSrv.listCollect.length>0\">\r\n <gram-collect [data]=\"basePageSrv.listCollect\"></gram-collect>\r\n </div>\r\n <div class=\"page-info-header\">\r\n <div class=\"quick\">\r\n <ng-content select=\"[name=quick-before]\"></ng-content>\r\n <ng-container *ngIf=\"config?.quick && config?.quick?.show!=false\">\r\n <gram-quick [data]=\"config?.quick?.data\" (quickQueryClick)=\"basePageSrv.pageQuickClick($event)\"></gram-quick>\r\n </ng-container>\r\n <ng-content select=\"[name=quick-after]\"></ng-content>\r\n </div>\r\n <div class=\"search\">\r\n <ng-container *ngIf=\"config?.query?.show!=false\">\r\n <nz-input-group nzSearch [nzAddOnAfter]=\"suffixButton\">\r\n <input type=\"text\" [(ngModel)]=\"basePageSrv.keyWord\" nz-input placeholder=\"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u67E5\u8BE2\"\r\n (keydown.enter)=\"basePageSrv.pageQueryClick()\" />\r\n </nz-input-group>\r\n <ng-template #suffixButton>\r\n <button nz-button nzType=\"primary\" type=\"button\" nzSearch (click)=\"basePageSrv.pageQueryClick()\">\r\n <i nz-icon nzType=\"search\"></i>\u67E5\u8BE2\r\n </button>\r\n </ng-template>\r\n </ng-container>\r\n </div>\r\n <div class=\"operation\">\r\n <ng-content select=\"[name=button-before]\"></ng-content>\r\n <ng-container *ngIf=\"config.buttons!! && config.buttons.show!=false\">\r\n <gram-buttons [pageId]=\"config.id\" [type]=\"config.buttons.type\" [data]=\"config.buttons.data\"\r\n (buttonClick)=\"buttonClick($event)\">\r\n </gram-buttons>\r\n </ng-container>\r\n <ng-content select=\"[name=button-after]\"></ng-content>\r\n </div>\r\n\r\n <div class=\"pagination\"\r\n *ngIf=\"config?.pagination && config.pagination?.position==='top' && config.pagination?.show!==false\">\r\n <nz-pagination [nzPageIndex]=\"basePageSrv.pageIndex\" [nzTotal]=\"basePageSrv.listTotal\" nzShowSizeChanger\r\n [nzPageSize]=\"config.pagination?.pageSize\" (nzPageIndexChange)=\"basePageSrv.listPageIndexChange($event)\"\r\n (nzPageSizeChange)=\"basePageSrv.listPageSizeChange($event)\">\r\n </nz-pagination>\r\n </div>\r\n </div>\r\n <div class=\"page-info-body\">\r\n <div class=\"body-left\">\r\n <div class=\"page-info-content\">\r\n <list-content [config]=\"this.basePageSrv.pageConfig.list\" (selectClick)=\"selectDataChange($event)\"\r\n (sortClick)=\"basePageSrv.listSortChange($event)\" (componentClick)=\"componentClick($event)\"\r\n (operationClick)=\"operationClick($event)\" (rowRuleClick)=\"rowRuleClick($event)\">\r\n </list-content>\r\n </div>\r\n <div class=\"page-info-footer\"\r\n *ngIf=\"config?.pagination && config.pagination?.position==='bottom' && config.pagination?.show!==false && basePageSrv.listTotal>0\">\r\n <nz-pagination [nzPageIndex]=\"basePageSrv.pageIndex\" [nzShowTotal]=\"totalTemplate\"\r\n [nzTotal]=\"basePageSrv.listTotal\" nzShowSizeChanger [nzPageSize]=\"config?.pagination?.pageSize\"\r\n (nzPageIndexChange)=\"basePageSrv.listPageIndexChange($event)\"\r\n (nzPageSizeChange)=\"basePageSrv.listPageSizeChange($event)\">\r\n </nz-pagination>\r\n </div>\r\n </div>\r\n <ng-content select=\"[name=body-right]\"></ng-content>\r\n </div>\r\n</nz-spin>\r\n\r\n<ng-template #totalTemplate let-total> \u603B\u5171 {{ basePageSrv.listTotal }} \u6761\u6570\u636E </ng-template>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .page-info-collect{display:inline-block;margin-bottom:12px;border-bottom:1px solid #eaeaea}:host ::ng-deep .page-info-body{display:flex;flex:1;flex-direction:row;overflow:hidden}:host ::ng-deep .page-info-body .body-left{display:flex;flex:1;flex-direction:column;overflow:hidden}:host ::ng-deep .page-info-header{display:flex;flex-direction:row;margin:3px 0 0;padding:0 0 12px}:host ::ng-deep .page-info-header nz-input-group{flex:1;max-width:300px}:host ::ng-deep .page-info-header nz-input-group input{min-height:32px}:host ::ng-deep .page-info-header .search{display:flex;flex:1;align-items:center;padding:0}:host ::ng-deep .page-info-header .search .title:after{padding:0 8px 0 5px;content:\":\"}:host ::ng-deep .page-info-header .quick{padding:0}:host ::ng-deep .page-info-header .quick ul{display:flex;margin:0;padding:0;list-style:none}:host ::ng-deep .page-info-header .quick ul li{padding:0 20px 0 0}:host ::ng-deep .page-info-header .quick gram-quick .title:after{padding:0 8px 0 5px;content:\":\"}:host ::ng-deep .page-info-header .quick gram-quick nz-select{min-width:200px}:host ::ng-deep .page-info-header .operation{display:flex}:host ::ng-deep .page-info-content{display:inline-block;flex:1;min-height:0;padding:0;overflow:auto;overflow-x:overlay;overflow-y:overlay}:host ::ng-deep .page-info-content::-webkit-scrollbar{width:8px}:host ::ng-deep .page-info-content::-webkit-scrollbar-thumb{background-color:#94949475;border-radius:7px}:host ::ng-deep .page-info-content::-webkit-scrollbar-track{background-color:#fff}:host ::ng-deep .page-info-content list-table{display:flex;flex:1;height:100%}:host ::ng-deep .page-info-footer{padding:12px 0 0;text-align:right}\n"] }]
|
|
686
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i2$1.NzModalService }, { type: i2$2.BasePageService }, { type: i3$2.BaseCommListService }, { type: i4$1.BaseCommHeaderService }, { type: i5$1.BaseCommPageService }], propDecorators: { config: [{
|
|
687
|
+
type: Input
|
|
688
|
+
}], random: [{
|
|
689
|
+
type: Input
|
|
690
|
+
}], parameter: [{
|
|
691
|
+
type: Input
|
|
692
|
+
}], selectData: [{
|
|
693
|
+
type: Input
|
|
694
|
+
}], buttonEvent: [{
|
|
695
|
+
type: Output
|
|
696
|
+
}], selectEvent: [{
|
|
697
|
+
type: Output
|
|
698
|
+
}], componentEvent: [{
|
|
699
|
+
type: Output
|
|
700
|
+
}], operationEvent: [{
|
|
701
|
+
type: Output
|
|
702
|
+
}], buttonAfterEvent: [{
|
|
703
|
+
type: Output
|
|
704
|
+
}], pageLoadAfterEvent: [{
|
|
705
|
+
type: Output
|
|
706
|
+
}] } });
|
|
707
|
+
|
|
708
|
+
class PageInfoDialogComponent {
|
|
709
|
+
cdr;
|
|
710
|
+
basePageSrv;
|
|
711
|
+
config = null;
|
|
712
|
+
// @Output() buttonEvent: EventEmitter<any> = new EventEmitter();
|
|
713
|
+
// @Output() listButtonEvent: EventEmitter<any> = new EventEmitter();
|
|
714
|
+
// @Output() listComponentEvent: EventEmitter<any> = new EventEmitter();
|
|
715
|
+
// @Output() selectChangeEvent: EventEmitter<any> = new EventEmitter();
|
|
716
|
+
/**
|
|
717
|
+
* 行 - 选中事件
|
|
718
|
+
*/
|
|
719
|
+
selectEvent = new EventEmitter();
|
|
720
|
+
/**
|
|
721
|
+
* 行 - 操作列点击事件
|
|
722
|
+
*/
|
|
723
|
+
operationEvent = new EventEmitter();
|
|
724
|
+
/**
|
|
725
|
+
* 行 - 普通列点击事件
|
|
726
|
+
*/
|
|
727
|
+
componentEvent = new EventEmitter();
|
|
728
|
+
constructor(cdr, basePageSrv) {
|
|
729
|
+
this.cdr = cdr;
|
|
730
|
+
this.basePageSrv = basePageSrv;
|
|
731
|
+
this.basePageSrv.cdr = this.cdr;
|
|
732
|
+
}
|
|
733
|
+
ngOnChanges(changes) {
|
|
734
|
+
if (changes['config']) {
|
|
735
|
+
this.getPageConfig();
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
ngOnInit() { }
|
|
739
|
+
getPageConfig() {
|
|
740
|
+
this.basePageSrv.pageConfig = _.cloneDeep(this.config);
|
|
741
|
+
this.basePageSrv.selectData = _.cloneDeep(this.config.selectData);
|
|
742
|
+
this.getPageData();
|
|
743
|
+
}
|
|
744
|
+
getPageData() {
|
|
745
|
+
this.basePageSrv.getPageData(this, () => { });
|
|
746
|
+
}
|
|
747
|
+
selectDataChange(e) {
|
|
748
|
+
this.basePageSrv.selectData = e;
|
|
749
|
+
this.selectEvent.emit(e);
|
|
750
|
+
}
|
|
751
|
+
/**
|
|
752
|
+
* 列表 - 某一行某一列点击事件
|
|
753
|
+
* @param e
|
|
754
|
+
*/
|
|
755
|
+
componentClick(e) {
|
|
756
|
+
if (this.config?.list?.buttons?.component) {
|
|
757
|
+
let button = this.config?.list?.buttons?.component[e?.columnKey];
|
|
758
|
+
if (button) {
|
|
759
|
+
if (button?.throw == true) {
|
|
760
|
+
this.componentEvent.emit(e);
|
|
761
|
+
}
|
|
762
|
+
else {
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
else {
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
/**
|
|
770
|
+
* 列表 - 某一行的操作列点击事件
|
|
771
|
+
* @param e
|
|
772
|
+
*/
|
|
773
|
+
operationClick(e) {
|
|
774
|
+
if (this.config?.list?.buttons?.operation) {
|
|
775
|
+
let button = this.config?.list?.buttons?.operation[e?.columnKey];
|
|
776
|
+
if (button) {
|
|
777
|
+
if (button?.throw == true) {
|
|
778
|
+
this.operationEvent.emit(e);
|
|
779
|
+
}
|
|
780
|
+
else {
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
else {
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: PageInfoDialogComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i2$2.BasePageService }], target: i0.ɵɵFactoryTarget.Component });
|
|
788
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: PageInfoDialogComponent, isStandalone: true, selector: "page-info-dialog", inputs: { config: "config" }, outputs: { selectEvent: "selectEvent", operationEvent: "operationEvent", componentEvent: "componentEvent" }, providers: [BasePageService], usesOnChanges: true, ngImport: i0, template: "<nz-spin nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\" [nzSpinning]=\"basePageSrv.loading\">\r\n <div class=\"page-info-header\">\r\n <div class=\"quick\" *ngIf=\"config?.quick && config?.quick?.show!=false\">\r\n <gram-quick [data]=\"config?.quick\" (quickQueryClick)=\"basePageSrv.pageQuickClick($event)\"></gram-quick>\r\n </div>\r\n <div class=\"search\">\r\n <label class=\"title\">\u5173\u952E\u5B57</label>\r\n <nz-input-group nzSearch [nzAddOnAfter]=\"suffixButton\">\r\n <input type=\"text\" [(ngModel)]=\"basePageSrv.keyWord\" nz-input placeholder=\"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u67E5\u8BE2\" />\r\n </nz-input-group>\r\n <ng-template #suffixButton>\r\n <button nz-button nzType=\"primary\" type=\"button\" nzSearch (click)=\"basePageSrv.pageQueryClick()\">\r\n <i nz-icon nzType=\"search\"></i>\u67E5\u8BE2\r\n </button>\r\n </ng-template>\r\n </div>\r\n\r\n <div class=\"pagination\" *ngIf=\"config?.pagination && config.pagination?.show!==false\">\r\n <nz-pagination\r\n [nzPageIndex]=\"basePageSrv.pageIndex\"\r\n [nzTotal]=\"basePageSrv.listTotal\"\r\n nzShowSizeChanger\r\n [nzPageSize]=\"config.pagination?.pageSize\"\r\n (nzPageIndexChange)=\"basePageSrv.listPageIndexChange($event)\"\r\n (nzPageSizeChange)=\"basePageSrv.listPageSizeChange($event)\"\r\n >\r\n </nz-pagination>\r\n </div>\r\n </div>\r\n <div class=\"page-info-content\">\r\n <list-content\r\n [config]=\"this.basePageSrv.pageConfig.list\"\r\n (sortClick)=\"basePageSrv.listSortChange($event)\"\r\n (componentClick)=\"componentClick($event)\"\r\n (operationClick)=\"operationClick($event)\"\r\n (selectClick)=\"selectDataChange($event)\"\r\n >\r\n </list-content>\r\n </div>\r\n</nz-spin>\r\n", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .page-info-header{display:flex;flex-direction:row;margin:3px 0 0;padding:0 0 12px}:host ::ng-deep .page-info-header nz-input-group{flex:1;max-width:500px}:host ::ng-deep .page-info-header .search{display:flex;flex:1;align-items:center;padding:0}:host ::ng-deep .page-info-header .search .title:after{padding:0 8px 0 5px;content:\":\"}:host ::ng-deep .page-info-header .quick{padding:0}:host ::ng-deep .page-info-header .quick ul{display:flex;margin:0;padding:0;list-style:none}:host ::ng-deep .page-info-header .quick ul li{padding:0 20px 0 0}:host ::ng-deep .page-info-header .quick gram-quick .title:after{padding:0 8px 0 5px;content:\":\"}:host ::ng-deep .page-info-header .quick gram-quick nz-select{min-width:200px}:host ::ng-deep .page-info-content{display:inline-block;flex:1;min-height:0;padding:0;overflow:auto;overflow-x:overlay;overflow-y:overlay}:host ::ng-deep .page-info-content::-webkit-scrollbar{width:8px}:host ::ng-deep .page-info-content::-webkit-scrollbar-thumb{background-color:#94949475;border-radius:7px}:host ::ng-deep .page-info-content::-webkit-scrollbar-track{background-color:#fff}:host ::ng-deep .page-info-content list-table{display:flex;flex:1;height:100%}:host ::ng-deep .page-info-footer{padding:12px 0 0;text-align:right}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i7$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i7$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i7$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzPaginationModule }, { kind: "component", type: i8$1.NzPaginationComponent, selector: "nz-pagination", inputs: ["nzShowTotal", "nzItemRender", "nzSize", "nzPageSizeOptions", "nzShowSizeChanger", "nzShowQuickJumper", "nzSimple", "nzDisabled", "nzResponsive", "nzHideOnSinglePage", "nzTotal", "nzPageIndex", "nzPageSize"], outputs: ["nzPageSizeChange", "nzPageIndexChange"], exportAs: ["nzPagination"] }, { kind: "ngmodule", type: NzSpinModule }, { kind: "component", type: i5.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i10$1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i10$1.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "ngmodule", type: NzTableModule }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i8.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i9.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i10.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "ngmodule", type: ListContentModule }, { kind: "component", type: i14.ListContentComponent, selector: "list-content", inputs: ["config"], outputs: ["selectChange", "sortClick", "componentClick", "rowRuleClick", "operationClick"] }, { kind: "ngmodule", type: GramDeonQuickModule }, { kind: "component", type: i16.GramDeonQuickComponent, selector: "gram-quick", inputs: ["data"], outputs: ["quickQueryClick"] }] });
|
|
789
|
+
}
|
|
790
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: PageInfoDialogComponent, decorators: [{
|
|
791
|
+
type: Component,
|
|
792
|
+
args: [{ selector: 'page-info-dialog', providers: [BasePageService], imports: [
|
|
793
|
+
CommonModule,
|
|
794
|
+
FormsModule, ReactiveFormsModule,
|
|
795
|
+
NzPaginationModule,
|
|
796
|
+
NzSpinModule,
|
|
797
|
+
NzInputModule,
|
|
798
|
+
NzTableModule,
|
|
799
|
+
NzButtonModule,
|
|
800
|
+
ListContentModule,
|
|
801
|
+
GramDeonQuickModule
|
|
802
|
+
], template: "<nz-spin nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\" [nzSpinning]=\"basePageSrv.loading\">\r\n <div class=\"page-info-header\">\r\n <div class=\"quick\" *ngIf=\"config?.quick && config?.quick?.show!=false\">\r\n <gram-quick [data]=\"config?.quick\" (quickQueryClick)=\"basePageSrv.pageQuickClick($event)\"></gram-quick>\r\n </div>\r\n <div class=\"search\">\r\n <label class=\"title\">\u5173\u952E\u5B57</label>\r\n <nz-input-group nzSearch [nzAddOnAfter]=\"suffixButton\">\r\n <input type=\"text\" [(ngModel)]=\"basePageSrv.keyWord\" nz-input placeholder=\"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u67E5\u8BE2\" />\r\n </nz-input-group>\r\n <ng-template #suffixButton>\r\n <button nz-button nzType=\"primary\" type=\"button\" nzSearch (click)=\"basePageSrv.pageQueryClick()\">\r\n <i nz-icon nzType=\"search\"></i>\u67E5\u8BE2\r\n </button>\r\n </ng-template>\r\n </div>\r\n\r\n <div class=\"pagination\" *ngIf=\"config?.pagination && config.pagination?.show!==false\">\r\n <nz-pagination\r\n [nzPageIndex]=\"basePageSrv.pageIndex\"\r\n [nzTotal]=\"basePageSrv.listTotal\"\r\n nzShowSizeChanger\r\n [nzPageSize]=\"config.pagination?.pageSize\"\r\n (nzPageIndexChange)=\"basePageSrv.listPageIndexChange($event)\"\r\n (nzPageSizeChange)=\"basePageSrv.listPageSizeChange($event)\"\r\n >\r\n </nz-pagination>\r\n </div>\r\n </div>\r\n <div class=\"page-info-content\">\r\n <list-content\r\n [config]=\"this.basePageSrv.pageConfig.list\"\r\n (sortClick)=\"basePageSrv.listSortChange($event)\"\r\n (componentClick)=\"componentClick($event)\"\r\n (operationClick)=\"operationClick($event)\"\r\n (selectClick)=\"selectDataChange($event)\"\r\n >\r\n </list-content>\r\n </div>\r\n</nz-spin>\r\n", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .page-info-header{display:flex;flex-direction:row;margin:3px 0 0;padding:0 0 12px}:host ::ng-deep .page-info-header nz-input-group{flex:1;max-width:500px}:host ::ng-deep .page-info-header .search{display:flex;flex:1;align-items:center;padding:0}:host ::ng-deep .page-info-header .search .title:after{padding:0 8px 0 5px;content:\":\"}:host ::ng-deep .page-info-header .quick{padding:0}:host ::ng-deep .page-info-header .quick ul{display:flex;margin:0;padding:0;list-style:none}:host ::ng-deep .page-info-header .quick ul li{padding:0 20px 0 0}:host ::ng-deep .page-info-header .quick gram-quick .title:after{padding:0 8px 0 5px;content:\":\"}:host ::ng-deep .page-info-header .quick gram-quick nz-select{min-width:200px}:host ::ng-deep .page-info-content{display:inline-block;flex:1;min-height:0;padding:0;overflow:auto;overflow-x:overlay;overflow-y:overlay}:host ::ng-deep .page-info-content::-webkit-scrollbar{width:8px}:host ::ng-deep .page-info-content::-webkit-scrollbar-thumb{background-color:#94949475;border-radius:7px}:host ::ng-deep .page-info-content::-webkit-scrollbar-track{background-color:#fff}:host ::ng-deep .page-info-content list-table{display:flex;flex:1;height:100%}:host ::ng-deep .page-info-footer{padding:12px 0 0;text-align:right}\n"] }]
|
|
803
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i2$2.BasePageService }], propDecorators: { config: [{
|
|
804
|
+
type: Input
|
|
805
|
+
}], selectEvent: [{
|
|
806
|
+
type: Output
|
|
807
|
+
}], operationEvent: [{
|
|
808
|
+
type: Output
|
|
809
|
+
}], componentEvent: [{
|
|
810
|
+
type: Output
|
|
811
|
+
}] } });
|
|
812
|
+
|
|
813
|
+
const components = [PageInfoSingleComponent, PageInfoDialogComponent, DataImportComponent, DataResultComponent];
|
|
814
|
+
class PageInfoSingleModule {
|
|
815
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: PageInfoSingleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
816
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: PageInfoSingleModule, imports: [PageInfoSingleComponent, PageInfoDialogComponent, DataImportComponent, DataResultComponent], exports: [PageInfoSingleComponent, PageInfoDialogComponent, DataImportComponent, DataResultComponent] });
|
|
817
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: PageInfoSingleModule, imports: [components] });
|
|
818
|
+
}
|
|
819
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: PageInfoSingleModule, decorators: [{
|
|
820
|
+
type: NgModule,
|
|
821
|
+
args: [{
|
|
822
|
+
imports: [...components],
|
|
823
|
+
exports: [...components],
|
|
824
|
+
}]
|
|
825
|
+
}] });
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* Generated bundle index. Do not edit.
|
|
829
|
+
*/
|
|
830
|
+
|
|
831
|
+
export { DataImportComponent, DataResultComponent, PageInfoDialogComponent, PageInfoSingleComponent, PageInfoSingleModule };
|
|
832
|
+
//# sourceMappingURL=page.mjs.map
|