@ebuilding/runtime 2.7.0 → 2.7.1
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/e-web/dynamic.module.d.ts +7 -0
- package/e-web/extend/index.d.ts +1 -0
- package/e-web/form/index-routing.module.d.ts +7 -0
- package/e-web/form/index.d.ts +1 -0
- package/e-web/form/main/index.component.d.ts +32 -0
- package/e-web/index.d.ts +24 -0
- package/e-web/list/index.d.ts +1 -0
- package/e-web/report/index.d.ts +1 -0
- package/e-web/single/index.d.ts +1 -0
- package/e-web/tab/index.d.ts +1 -0
- package/e-web/tree/index.d.ts +1 -0
- package/fesm2022/e-web-extend.mjs +6 -0
- package/fesm2022/e-web-extend.mjs.map +1 -0
- package/fesm2022/e-web-form.mjs +6 -0
- package/fesm2022/e-web-form.mjs.map +1 -0
- package/fesm2022/e-web-list.mjs +6 -0
- package/fesm2022/e-web-list.mjs.map +1 -0
- package/fesm2022/e-web-report.mjs +6 -0
- package/fesm2022/e-web-report.mjs.map +1 -0
- package/fesm2022/e-web-single.mjs +6 -0
- package/fesm2022/e-web-single.mjs.map +1 -0
- package/fesm2022/e-web-tab.mjs +6 -0
- package/fesm2022/e-web-tab.mjs.map +1 -0
- package/fesm2022/e-web-tree.mjs +6 -0
- package/fesm2022/e-web-tree.mjs.map +1 -0
- package/fesm2022/e-web.mjs +1772 -12
- package/fesm2022/e-web.mjs.map +1 -1
- package/package.json +42 -14
- package/fesm2022/e-web-deep.module-CbGhHXVH.mjs +0 -34
- package/fesm2022/e-web-deep.module-CbGhHXVH.mjs.map +0 -1
- package/fesm2022/e-web-index.module-B_Jd2-0M.mjs +0 -30
- package/fesm2022/e-web-index.module-B_Jd2-0M.mjs.map +0 -1
- package/fesm2022/e-web-index.module-Bfxv6KPY.mjs +0 -263
- package/fesm2022/e-web-index.module-Bfxv6KPY.mjs.map +0 -1
- package/fesm2022/e-web-index.module-C0vAaHfh.mjs +0 -84
- package/fesm2022/e-web-index.module-C0vAaHfh.mjs.map +0 -1
- package/fesm2022/e-web-index.module-C7-Zm8xS.mjs +0 -94
- package/fesm2022/e-web-index.module-C7-Zm8xS.mjs.map +0 -1
- package/fesm2022/e-web-index.module-CYZiqC3a.mjs +0 -110
- package/fesm2022/e-web-index.module-CYZiqC3a.mjs.map +0 -1
- package/fesm2022/e-web-index.module-CfC5tqAw.mjs +0 -85
- package/fesm2022/e-web-index.module-CfC5tqAw.mjs.map +0 -1
- package/fesm2022/e-web-index.module-CjF6piLu.mjs +0 -81
- package/fesm2022/e-web-index.module-CjF6piLu.mjs.map +0 -1
- package/fesm2022/e-web-index.module-CuEiH_fT.mjs +0 -180
- package/fesm2022/e-web-index.module-CuEiH_fT.mjs.map +0 -1
- package/fesm2022/e-web-index.module-D43xvefy.mjs +0 -101
- package/fesm2022/e-web-index.module-D43xvefy.mjs.map +0 -1
- package/fesm2022/e-web-index.module-DQmv68kB.mjs +0 -84
- package/fesm2022/e-web-index.module-DQmv68kB.mjs.map +0 -1
- package/fesm2022/e-web-index.module-DVJ8MkSd.mjs +0 -86
- package/fesm2022/e-web-index.module-DVJ8MkSd.mjs.map +0 -1
- package/fesm2022/e-web-index.module-DqW1Wt0J.mjs +0 -157
- package/fesm2022/e-web-index.module-DqW1Wt0J.mjs.map +0 -1
- package/fesm2022/e-web-index.module-Ds5GBsXm.mjs +0 -106
- package/fesm2022/e-web-index.module-Ds5GBsXm.mjs.map +0 -1
- package/fesm2022/e-web-index.module-H56VTQVA.mjs +0 -46
- package/fesm2022/e-web-index.module-H56VTQVA.mjs.map +0 -1
- package/fesm2022/e-web-index.module-cGZ2yMVA.mjs +0 -93
- package/fesm2022/e-web-index.module-cGZ2yMVA.mjs.map +0 -1
- package/fesm2022/e-web-index.module-cKHBIc7d.mjs +0 -30
- package/fesm2022/e-web-index.module-cKHBIc7d.mjs.map +0 -1
- package/fesm2022/e-web-index.module-mKAgb87G.mjs +0 -104
- package/fesm2022/e-web-index.module-mKAgb87G.mjs.map +0 -1
- package/fesm2022/e-web-index.module-qHmobPhQ.mjs +0 -30
- package/fesm2022/e-web-index.module-qHmobPhQ.mjs.map +0 -1
package/fesm2022/e-web.mjs
CHANGED
|
@@ -1,44 +1,1785 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
2
|
+
import { NgModule, Component } from '@angular/core';
|
|
3
3
|
import * as i2 from '@angular/router';
|
|
4
|
-
import { RouterModule } from '@angular/router';
|
|
4
|
+
import { RouterModule, NavigationEnd } from '@angular/router';
|
|
5
|
+
import * as i3 from '@angular/common';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
8
|
+
import * as i4 from '@ebuilding/biz-list/pre-control/single';
|
|
9
|
+
import { PreSingleModule } from '@ebuilding/biz-list/pre-control/single';
|
|
10
|
+
import * as i1 from '@delon/theme';
|
|
11
|
+
import * as i3$1 from '@ebuilding/base/shared.srv/commApi.service';
|
|
12
|
+
import { CommAPIService } from '@ebuilding/base/shared.srv/commApi.service';
|
|
13
|
+
import { RuntimeSharedImportsModule } from '@ebuilding/runtime/shared-imports';
|
|
14
|
+
import * as i5 from '@delon/abc/page-header';
|
|
15
|
+
import * as i6 from 'ng-zorro-antd/breadcrumb';
|
|
16
|
+
import * as i7 from 'ng-zorro-antd/spin';
|
|
17
|
+
import { NzSpinModule } from 'ng-zorro-antd/spin';
|
|
18
|
+
import * as i8 from '@ebuilding/runtime/comm/form';
|
|
19
|
+
import { CommFormModule } from '@ebuilding/runtime/comm/form';
|
|
20
|
+
import * as i8$1 from '@ebuilding/biz-list/pre-control/pre-page';
|
|
21
|
+
import { PrePageModule } from '@ebuilding/biz-list/pre-control/pre-page';
|
|
22
|
+
import * as i4$1 from 'ng-zorro-antd/button';
|
|
23
|
+
import { NzButtonModule } from 'ng-zorro-antd/button';
|
|
24
|
+
import * as i7$1 from 'ng-zorro-antd/icon';
|
|
25
|
+
import { NzIconModule } from 'ng-zorro-antd/icon';
|
|
26
|
+
import { Decrypt } from '@ebuilding/base/shared.util/encryption';
|
|
27
|
+
import * as i5$1 from 'ng-zorro-antd/core/transition-patch';
|
|
28
|
+
import * as i6$1 from 'ng-zorro-antd/core/wave';
|
|
29
|
+
import * as i4$2 from '@ebuilding/biz-list/pre-control/pre-report';
|
|
30
|
+
import { PreReportModule } from '@ebuilding/biz-list/pre-control/pre-report';
|
|
31
|
+
import * as i5$2 from '@ebuilding/abc/header';
|
|
32
|
+
import { GramDeonHeaderModule } from '@ebuilding/abc/header';
|
|
33
|
+
import * as i7$2 from 'ng-zorro-antd/menu';
|
|
34
|
+
import * as _ from 'lodash';
|
|
35
|
+
import * as i6$2 from '@ebuilding/runtime/comm/page';
|
|
36
|
+
import { CommPageModule } from '@ebuilding/runtime/comm/page';
|
|
37
|
+
import * as i8$2 from '@ebuilding/runtime/comm/tree';
|
|
38
|
+
import { CommTreeModule } from '@ebuilding/runtime/comm/tree';
|
|
5
39
|
|
|
6
|
-
const routes = [
|
|
40
|
+
const routes$l = [
|
|
7
41
|
{
|
|
8
42
|
path: 'list',
|
|
9
|
-
loadChildren: () =>
|
|
43
|
+
loadChildren: () => Promise.resolve().then(function () { return index_module$d; }).then((m) => m.EWebListModule),
|
|
10
44
|
},
|
|
11
45
|
{
|
|
12
46
|
path: 'report',
|
|
13
|
-
loadChildren: () =>
|
|
47
|
+
loadChildren: () => Promise.resolve().then(function () { return index_module$9; }).then((m) => m.EWebReportModule),
|
|
14
48
|
},
|
|
15
49
|
{
|
|
16
50
|
path: 'single',
|
|
17
|
-
loadChildren: () =>
|
|
51
|
+
loadChildren: () => Promise.resolve().then(function () { return index_module$5; }).then((m) => m.EWebSingleModule),
|
|
18
52
|
},
|
|
19
53
|
{
|
|
20
54
|
path: 'tab',
|
|
21
|
-
loadChildren: () =>
|
|
55
|
+
loadChildren: () => Promise.resolve().then(function () { return index_module$1; }).then((m) => m.EWebTabModule),
|
|
22
56
|
},
|
|
23
57
|
{
|
|
24
58
|
path: 'form',
|
|
25
|
-
loadChildren: () =>
|
|
59
|
+
loadChildren: () => Promise.resolve().then(function () { return index_module$g; }).then((m) => m.EWebFormModule),
|
|
26
60
|
},
|
|
27
61
|
{
|
|
28
62
|
path: 'tree',
|
|
29
|
-
loadChildren: () =>
|
|
63
|
+
loadChildren: () => Promise.resolve().then(function () { return index_module; }).then((m) => m.EWebTreeModule),
|
|
30
64
|
},
|
|
31
65
|
{
|
|
32
66
|
path: 'extend',
|
|
33
|
-
loadChildren: () =>
|
|
67
|
+
loadChildren: () => Promise.resolve().then(function () { return index_module$h; }).then((m) => m.EWebExtendModule),
|
|
34
68
|
}
|
|
35
69
|
];
|
|
36
70
|
class EWebModule {
|
|
37
71
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
38
72
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
39
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebModule, imports: [RouterModule.forChild(routes), RouterModule] });
|
|
73
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebModule, imports: [RouterModule.forChild(routes$l), RouterModule] });
|
|
40
74
|
}
|
|
41
75
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebModule, decorators: [{
|
|
76
|
+
type: NgModule,
|
|
77
|
+
args: [{
|
|
78
|
+
imports: [RouterModule.forChild(routes$l)],
|
|
79
|
+
exports: [RouterModule],
|
|
80
|
+
}]
|
|
81
|
+
}] });
|
|
82
|
+
|
|
83
|
+
var index_module$i = /*#__PURE__*/Object.freeze({
|
|
84
|
+
__proto__: null,
|
|
85
|
+
EWebModule: EWebModule
|
|
86
|
+
});
|
|
87
|
+
|
|
88
|
+
const routes$k = [
|
|
89
|
+
{
|
|
90
|
+
path: ':moduleCode',
|
|
91
|
+
loadChildren: () => Promise.resolve().then(function () { return index_module$i; }).then((m) => m.EWebModule)
|
|
92
|
+
},
|
|
93
|
+
];
|
|
94
|
+
class DynamicModule {
|
|
95
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DynamicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
96
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DynamicModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
97
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DynamicModule, imports: [RouterModule.forChild(routes$k), RouterModule] });
|
|
98
|
+
}
|
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DynamicModule, decorators: [{
|
|
100
|
+
type: NgModule,
|
|
101
|
+
args: [{
|
|
102
|
+
imports: [RouterModule.forChild(routes$k)],
|
|
103
|
+
exports: [RouterModule],
|
|
104
|
+
}]
|
|
105
|
+
}] });
|
|
106
|
+
|
|
107
|
+
const routes$j = [
|
|
108
|
+
{
|
|
109
|
+
path: "list",
|
|
110
|
+
loadChildren: () => Promise.resolve().then(function () { return index_module$b; }).then((m) => m.EWebListDeepModule),
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
path: "report",
|
|
114
|
+
loadChildren: () => Promise.resolve().then(function () { return index_module$7; }).then((m) => m.EWebReportDeepModule),
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
path: "single",
|
|
118
|
+
loadChildren: () => Promise.resolve().then(function () { return index_module$3; }).then((m) => m.EWebSingleDeepModule),
|
|
119
|
+
}
|
|
120
|
+
];
|
|
121
|
+
class EWebDeepModule {
|
|
122
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebDeepModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
123
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebDeepModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
124
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebDeepModule, imports: [RouterModule.forChild(routes$j), RouterModule] });
|
|
125
|
+
}
|
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebDeepModule, decorators: [{
|
|
127
|
+
type: NgModule,
|
|
128
|
+
args: [{
|
|
129
|
+
imports: [RouterModule.forChild(routes$j)],
|
|
130
|
+
exports: [RouterModule],
|
|
131
|
+
}]
|
|
132
|
+
}] });
|
|
133
|
+
|
|
134
|
+
var deep_module = /*#__PURE__*/Object.freeze({
|
|
135
|
+
__proto__: null,
|
|
136
|
+
EWebDeepModule: EWebDeepModule
|
|
137
|
+
});
|
|
138
|
+
|
|
139
|
+
class EWebExtendReportComponent {
|
|
140
|
+
http;
|
|
141
|
+
activatedRoute;
|
|
142
|
+
config = null;
|
|
143
|
+
response = null;
|
|
144
|
+
constructor(http, activatedRoute) {
|
|
145
|
+
this.http = http;
|
|
146
|
+
this.activatedRoute = activatedRoute;
|
|
147
|
+
}
|
|
148
|
+
ngOnInit() {
|
|
149
|
+
this.activatedRoute.params.subscribe((a) => {
|
|
150
|
+
this.activatedRoute.queryParams.subscribe((b) => {
|
|
151
|
+
if (b && Object.keys(b).length > 0) {
|
|
152
|
+
this.config = {
|
|
153
|
+
id: a.id,
|
|
154
|
+
parameterData: b,
|
|
155
|
+
izHeader: b.response && b.response == "deep"
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
else {
|
|
159
|
+
this.config = {
|
|
160
|
+
id: a.id,
|
|
161
|
+
parameterData: null,
|
|
162
|
+
izHeader: false
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
ngOnDestroy() { }
|
|
169
|
+
btnBack() {
|
|
170
|
+
window.history.go(-1);
|
|
171
|
+
}
|
|
172
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebExtendReportComponent, deps: [{ token: i1._HttpClient }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
173
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebExtendReportComponent, isStandalone: true, selector: "eweb-extend-report", ngImport: i0, template: "<ng-container *ngIf=\"config\">\n <single-main [config]=\"config\" [ngClass]=\"{'eweb-header':config?.izHeader}\"\n (btnBackEvent)=\"btnBack()\"></single-main>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px;overflow:hidden}:host ::ng-deep .eweb-header{padding-left:15px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: PreSingleModule }, { kind: "component", type: i4.PreSingleComponent, selector: "single-main", inputs: ["config"], outputs: ["btnBackEvent", "loadAfter"] }] });
|
|
174
|
+
}
|
|
175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebExtendReportComponent, decorators: [{
|
|
176
|
+
type: Component,
|
|
177
|
+
args: [{ selector: 'eweb-extend-report', imports: [
|
|
178
|
+
CommonModule,
|
|
179
|
+
FormsModule,
|
|
180
|
+
ReactiveFormsModule,
|
|
181
|
+
PreSingleModule
|
|
182
|
+
], template: "<ng-container *ngIf=\"config\">\n <single-main [config]=\"config\" [ngClass]=\"{'eweb-header':config?.izHeader}\"\n (btnBackEvent)=\"btnBack()\"></single-main>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px;overflow:hidden}:host ::ng-deep .eweb-header{padding-left:15px}\n"] }]
|
|
183
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.ActivatedRoute }] });
|
|
184
|
+
|
|
185
|
+
class EWebExtendSingleComponent {
|
|
186
|
+
http;
|
|
187
|
+
router;
|
|
188
|
+
activatedRoute;
|
|
189
|
+
commAPISrv;
|
|
190
|
+
loading = false;
|
|
191
|
+
moduleCode = null;
|
|
192
|
+
layoutId = null;
|
|
193
|
+
layoutData = null;
|
|
194
|
+
pageConfig = null;
|
|
195
|
+
constructor(http, router, activatedRoute, commAPISrv) {
|
|
196
|
+
this.http = http;
|
|
197
|
+
this.router = router;
|
|
198
|
+
this.activatedRoute = activatedRoute;
|
|
199
|
+
this.commAPISrv = commAPISrv;
|
|
200
|
+
}
|
|
201
|
+
ngOnInit() {
|
|
202
|
+
this.activatedRoute.params.subscribe((a) => {
|
|
203
|
+
this.layoutId = a?.id;
|
|
204
|
+
this.moduleCode = a?.moduleCode;
|
|
205
|
+
this.getPageData();
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
ngOnDestroy() { }
|
|
209
|
+
getPageData() {
|
|
210
|
+
if (this.layoutId) {
|
|
211
|
+
this.loading = true;
|
|
212
|
+
let address = this.commAPISrv.getLayoutAddress(this.moduleCode, this.layoutId);
|
|
213
|
+
this.http.post(address).subscribe((res) => {
|
|
214
|
+
if (res.success) {
|
|
215
|
+
this.layoutData = res.result;
|
|
216
|
+
if (this.layoutData && this.layoutData.singlePageId)
|
|
217
|
+
this.pageConfig = {
|
|
218
|
+
id: this.layoutData.singlePageId,
|
|
219
|
+
parameterData: null,
|
|
220
|
+
moduleCode: this.moduleCode
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
this.loading = false;
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebExtendSingleComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }, { token: i3$1.CommAPIService }], target: i0.ɵɵFactoryTarget.Component });
|
|
228
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebExtendSingleComponent, isStandalone: true, selector: "eweb-extend-single", providers: [CommAPIService], ngImport: i0, template: "<ng-container *ngIf=\"pageConfig!! && layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"default-work overflow-hidden\">\n <nz-spin [nzSpinning]=\"loading\" class=\"deon-list-spin\">\n <single-main [config]=\"pageConfig\"></single-main>\n\n </nz-spin>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 0 0 15px;overflow:hidden}:host ::ng-deep .default-work{background:#f8f8fd}:host ::ng-deep single-main single-tabs nz-tabset single-item{background:#f8f8fd;padding:12px 0}:host ::ng-deep single-main single-tabs nz-tabset single-item pre-page{background:#fff}\n"], dependencies: [{ kind: "ngmodule", type: RuntimeSharedImportsModule }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.PageHeaderComponent, selector: "page-header", inputs: ["title", "titleSub", "loading", "wide", "home", "homeLink", "homeI18n", "autoBreadcrumb", "autoTitle", "syncTitle", "fixed", "fixedOffsetTop", "breadcrumb", "recursiveBreadcrumb", "logo", "action", "content", "extra", "tab"], exportAs: ["pageHeader"] }, { kind: "component", type: i6.NzBreadCrumbComponent, selector: "nz-breadcrumb", inputs: ["nzAutoGenerate", "nzSeparator", "nzRouteLabel", "nzRouteLabelFn", "nzRouteFn"], exportAs: ["nzBreadcrumb"] }, { kind: "component", type: i6.NzBreadCrumbItemComponent, selector: "nz-breadcrumb-item", inputs: ["nzOverlay"], exportAs: ["nzBreadcrumbItem"] }, { kind: "component", type: i7.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: PreSingleModule }, { kind: "component", type: i4.PreSingleComponent, selector: "single-main", inputs: ["config"], outputs: ["btnBackEvent", "loadAfter"] }] });
|
|
229
|
+
}
|
|
230
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebExtendSingleComponent, decorators: [{
|
|
231
|
+
type: Component,
|
|
232
|
+
args: [{ selector: 'eweb-extend-single', providers: [CommAPIService], imports: [
|
|
233
|
+
RuntimeSharedImportsModule,
|
|
234
|
+
PreSingleModule
|
|
235
|
+
], template: "<ng-container *ngIf=\"pageConfig!! && layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"default-work overflow-hidden\">\n <nz-spin [nzSpinning]=\"loading\" class=\"deon-list-spin\">\n <single-main [config]=\"pageConfig\"></single-main>\n\n </nz-spin>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 0 0 15px;overflow:hidden}:host ::ng-deep .default-work{background:#f8f8fd}:host ::ng-deep single-main single-tabs nz-tabset single-item{background:#f8f8fd;padding:12px 0}:host ::ng-deep single-main single-tabs nz-tabset single-item pre-page{background:#fff}\n"] }]
|
|
236
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }, { type: i3$1.CommAPIService }] });
|
|
237
|
+
|
|
238
|
+
const routes$i = [
|
|
239
|
+
{
|
|
240
|
+
path: 'report/:id',
|
|
241
|
+
component: EWebExtendReportComponent,
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
path: 'single/:id',
|
|
245
|
+
component: EWebExtendSingleComponent,
|
|
246
|
+
},
|
|
247
|
+
];
|
|
248
|
+
class EWeExtendRoutingModule {
|
|
249
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWeExtendRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
250
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWeExtendRoutingModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
251
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWeExtendRoutingModule, imports: [RouterModule.forChild(routes$i), RouterModule] });
|
|
252
|
+
}
|
|
253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWeExtendRoutingModule, decorators: [{
|
|
254
|
+
type: NgModule,
|
|
255
|
+
args: [{
|
|
256
|
+
imports: [RouterModule.forChild(routes$i)],
|
|
257
|
+
exports: [RouterModule],
|
|
258
|
+
}]
|
|
259
|
+
}] });
|
|
260
|
+
|
|
261
|
+
const COMPONENTS$2 = [EWebExtendSingleComponent, EWebExtendReportComponent];
|
|
262
|
+
class EWebExtendModule {
|
|
263
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebExtendModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
264
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebExtendModule, imports: [EWeExtendRoutingModule, EWebExtendSingleComponent, EWebExtendReportComponent] });
|
|
265
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebExtendModule, imports: [EWeExtendRoutingModule, COMPONENTS$2] });
|
|
266
|
+
}
|
|
267
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebExtendModule, decorators: [{
|
|
268
|
+
type: NgModule,
|
|
269
|
+
args: [{
|
|
270
|
+
imports: [
|
|
271
|
+
EWeExtendRoutingModule,
|
|
272
|
+
...COMPONENTS$2
|
|
273
|
+
]
|
|
274
|
+
}]
|
|
275
|
+
}] });
|
|
276
|
+
|
|
277
|
+
var index_module$h = /*#__PURE__*/Object.freeze({
|
|
278
|
+
__proto__: null,
|
|
279
|
+
EWebExtendModule: EWebExtendModule
|
|
280
|
+
});
|
|
281
|
+
|
|
282
|
+
const routes$h = [
|
|
283
|
+
{
|
|
284
|
+
path: '',
|
|
285
|
+
loadChildren: () => Promise.resolve().then(function () { return index_module$f; }).then((m) => m.EWebFormDefaultModule),
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
path: 'deepform',
|
|
289
|
+
loadChildren: () => Promise.resolve().then(function () { return index_module$e; }).then((m) => m.EWebFormDeepModule),
|
|
290
|
+
}
|
|
291
|
+
];
|
|
292
|
+
class EWebFormModule {
|
|
293
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
294
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebFormModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
295
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormModule, imports: [RouterModule.forChild(routes$h), RouterModule] });
|
|
296
|
+
}
|
|
297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormModule, decorators: [{
|
|
298
|
+
type: NgModule,
|
|
299
|
+
args: [{
|
|
300
|
+
imports: [RouterModule.forChild(routes$h)],
|
|
301
|
+
exports: [RouterModule],
|
|
302
|
+
}]
|
|
303
|
+
}] });
|
|
304
|
+
|
|
305
|
+
var index_module$g = /*#__PURE__*/Object.freeze({
|
|
306
|
+
__proto__: null,
|
|
307
|
+
EWebFormModule: EWebFormModule
|
|
308
|
+
});
|
|
309
|
+
|
|
310
|
+
let EWebFormComponent$1 = class EWebFormComponent {
|
|
311
|
+
http;
|
|
312
|
+
router;
|
|
313
|
+
activatedRoute;
|
|
314
|
+
commAPISrv;
|
|
315
|
+
loading = true;
|
|
316
|
+
/**
|
|
317
|
+
* 模块编码
|
|
318
|
+
*/
|
|
319
|
+
moduleCode = null;
|
|
320
|
+
/**
|
|
321
|
+
* 布局ID
|
|
322
|
+
*/
|
|
323
|
+
layoutId = null;
|
|
324
|
+
/**
|
|
325
|
+
* 布局数据
|
|
326
|
+
*/
|
|
327
|
+
layoutData = null;
|
|
328
|
+
config = null;
|
|
329
|
+
constructor(http, router, activatedRoute, commAPISrv) {
|
|
330
|
+
this.http = http;
|
|
331
|
+
this.router = router;
|
|
332
|
+
this.activatedRoute = activatedRoute;
|
|
333
|
+
this.commAPISrv = commAPISrv;
|
|
334
|
+
this.activatedRoute.params.subscribe((item) => {
|
|
335
|
+
this.moduleCode = item.moduleCode;
|
|
336
|
+
this.layoutId = item.id;
|
|
337
|
+
this.getPageData();
|
|
338
|
+
});
|
|
339
|
+
}
|
|
340
|
+
ngOnInit() { }
|
|
341
|
+
ngOnDestroy() { }
|
|
342
|
+
getPageData() {
|
|
343
|
+
this.layoutData = null;
|
|
344
|
+
this.loading = true;
|
|
345
|
+
let address = this.commAPISrv.getLayoutAddress(this.moduleCode, this.layoutId);
|
|
346
|
+
if (address) {
|
|
347
|
+
this.http.post(address).subscribe((res) => {
|
|
348
|
+
if (res.success) {
|
|
349
|
+
this.layoutData = res.result;
|
|
350
|
+
}
|
|
351
|
+
this.getFormDesign();
|
|
352
|
+
});
|
|
353
|
+
}
|
|
354
|
+
else {
|
|
355
|
+
this.loading = false;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
/*
|
|
359
|
+
获取设计
|
|
360
|
+
*/
|
|
361
|
+
getFormDesign() {
|
|
362
|
+
this.config = {
|
|
363
|
+
formId: this.layoutData.formId,
|
|
364
|
+
formType: 'ADD',
|
|
365
|
+
moduleCode: this.moduleCode,
|
|
366
|
+
};
|
|
367
|
+
this.loading = false;
|
|
368
|
+
}
|
|
369
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }, { token: i3$1.CommAPIService }], target: i0.ɵɵFactoryTarget.Component });
|
|
370
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebFormComponent, isStandalone: true, selector: "eweb-form", providers: [CommAPIService], ngImport: i0, template: "<ng-container *ngIf=\"layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"work-content\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"config!!\">\n <comm-form-onlyone [config]=\"config\"></comm-form-onlyone>\n </ng-container>\n </nz-spin>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .work-content{padding:0}\n"], dependencies: [{ kind: "ngmodule", type: RuntimeSharedImportsModule }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.PageHeaderComponent, selector: "page-header", inputs: ["title", "titleSub", "loading", "wide", "home", "homeLink", "homeI18n", "autoBreadcrumb", "autoTitle", "syncTitle", "fixed", "fixedOffsetTop", "breadcrumb", "recursiveBreadcrumb", "logo", "action", "content", "extra", "tab"], exportAs: ["pageHeader"] }, { kind: "component", type: i6.NzBreadCrumbComponent, selector: "nz-breadcrumb", inputs: ["nzAutoGenerate", "nzSeparator", "nzRouteLabel", "nzRouteLabelFn", "nzRouteFn"], exportAs: ["nzBreadcrumb"] }, { kind: "component", type: i6.NzBreadCrumbItemComponent, selector: "nz-breadcrumb-item", inputs: ["nzOverlay"], exportAs: ["nzBreadcrumbItem"] }, { kind: "component", type: i7.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: CommFormModule }, { kind: "component", type: i8.CommFormOnlyOneComponent, selector: "comm-form-onlyone", inputs: ["config", "setpInfo"], outputs: ["modelThrowEvent"] }] });
|
|
371
|
+
};
|
|
372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormComponent$1, decorators: [{
|
|
373
|
+
type: Component,
|
|
374
|
+
args: [{ selector: 'eweb-form', providers: [CommAPIService], imports: [
|
|
375
|
+
RuntimeSharedImportsModule,
|
|
376
|
+
CommFormModule
|
|
377
|
+
], template: "<ng-container *ngIf=\"layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"work-content\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"config!!\">\n <comm-form-onlyone [config]=\"config\"></comm-form-onlyone>\n </ng-container>\n </nz-spin>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .work-content{padding:0}\n"] }]
|
|
378
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }, { type: i3$1.CommAPIService }] });
|
|
379
|
+
|
|
380
|
+
const routes$g = [
|
|
381
|
+
{
|
|
382
|
+
path: ':id',
|
|
383
|
+
component: EWebFormComponent$1,
|
|
384
|
+
},
|
|
385
|
+
];
|
|
386
|
+
class EWebFormRoutingModule {
|
|
387
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
388
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebFormRoutingModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
389
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormRoutingModule, imports: [RouterModule.forChild(routes$g), RouterModule] });
|
|
390
|
+
}
|
|
391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormRoutingModule, decorators: [{
|
|
392
|
+
type: NgModule,
|
|
393
|
+
args: [{
|
|
394
|
+
imports: [RouterModule.forChild(routes$g)],
|
|
395
|
+
exports: [RouterModule],
|
|
396
|
+
}]
|
|
397
|
+
}] });
|
|
398
|
+
|
|
399
|
+
class EWebFormComponent {
|
|
400
|
+
http;
|
|
401
|
+
router;
|
|
402
|
+
activatedRoute;
|
|
403
|
+
commAPISrv;
|
|
404
|
+
loading = true;
|
|
405
|
+
/**
|
|
406
|
+
* 模块编码
|
|
407
|
+
*/
|
|
408
|
+
moduleCode = null;
|
|
409
|
+
/**
|
|
410
|
+
* 布局ID
|
|
411
|
+
*/
|
|
412
|
+
layoutId = null;
|
|
413
|
+
/**
|
|
414
|
+
* 布局数据
|
|
415
|
+
*/
|
|
416
|
+
layoutData = null;
|
|
417
|
+
config = null;
|
|
418
|
+
constructor(http, router, activatedRoute, commAPISrv) {
|
|
419
|
+
this.http = http;
|
|
420
|
+
this.router = router;
|
|
421
|
+
this.activatedRoute = activatedRoute;
|
|
422
|
+
this.commAPISrv = commAPISrv;
|
|
423
|
+
this.activatedRoute.params.subscribe((item) => {
|
|
424
|
+
this.moduleCode = item?.moduleCode;
|
|
425
|
+
this.layoutId = item.layoutId;
|
|
426
|
+
this.getPageData();
|
|
427
|
+
});
|
|
428
|
+
}
|
|
429
|
+
ngOnInit() { }
|
|
430
|
+
ngOnDestroy() { }
|
|
431
|
+
getPageData() {
|
|
432
|
+
this.layoutData = null;
|
|
433
|
+
this.loading = true;
|
|
434
|
+
let address = this.commAPISrv.getLayoutAddress(this.moduleCode, this.layoutId);
|
|
435
|
+
if (address) {
|
|
436
|
+
this.http.post(address).subscribe((res) => {
|
|
437
|
+
if (res.success) {
|
|
438
|
+
this.layoutData = res.result;
|
|
439
|
+
}
|
|
440
|
+
this.getFormDesign();
|
|
441
|
+
});
|
|
442
|
+
}
|
|
443
|
+
else {
|
|
444
|
+
this.loading = false;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
/*
|
|
448
|
+
获取设计
|
|
449
|
+
*/
|
|
450
|
+
getFormDesign() {
|
|
451
|
+
this.config = {
|
|
452
|
+
formId: this.layoutData.formId,
|
|
453
|
+
formType: 'ADD',
|
|
454
|
+
moduleCode: this.moduleCode,
|
|
455
|
+
};
|
|
456
|
+
this.loading = false;
|
|
457
|
+
}
|
|
458
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }, { token: i3$1.CommAPIService }], target: i0.ɵɵFactoryTarget.Component });
|
|
459
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebFormComponent, isStandalone: true, selector: "eweb-form", providers: [CommAPIService], ngImport: i0, template: "<ng-container *ngIf=\"layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"work-content\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"config!!\">\n <comm-form-onlyone [config]=\"config\"></comm-form-onlyone>\n </ng-container>\n </nz-spin>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 0 5px 15px}:host ::ng-deep .work-content{background-color:#fff;display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:0;border-radius:8px}\n"], dependencies: [{ kind: "ngmodule", type: RuntimeSharedImportsModule }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.PageHeaderComponent, selector: "page-header", inputs: ["title", "titleSub", "loading", "wide", "home", "homeLink", "homeI18n", "autoBreadcrumb", "autoTitle", "syncTitle", "fixed", "fixedOffsetTop", "breadcrumb", "recursiveBreadcrumb", "logo", "action", "content", "extra", "tab"], exportAs: ["pageHeader"] }, { kind: "component", type: i6.NzBreadCrumbComponent, selector: "nz-breadcrumb", inputs: ["nzAutoGenerate", "nzSeparator", "nzRouteLabel", "nzRouteLabelFn", "nzRouteFn"], exportAs: ["nzBreadcrumb"] }, { kind: "component", type: i6.NzBreadCrumbItemComponent, selector: "nz-breadcrumb-item", inputs: ["nzOverlay"], exportAs: ["nzBreadcrumbItem"] }, { kind: "component", type: i7.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: CommFormModule }, { kind: "component", type: i8.CommFormOnlyOneComponent, selector: "comm-form-onlyone", inputs: ["config", "setpInfo"], outputs: ["modelThrowEvent"] }] });
|
|
460
|
+
}
|
|
461
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormComponent, decorators: [{
|
|
462
|
+
type: Component,
|
|
463
|
+
args: [{ selector: 'eweb-form', providers: [CommAPIService], imports: [
|
|
464
|
+
RuntimeSharedImportsModule,
|
|
465
|
+
CommFormModule
|
|
466
|
+
], template: "<ng-container *ngIf=\"layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"work-content\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"config!!\">\n <comm-form-onlyone [config]=\"config\"></comm-form-onlyone>\n </ng-container>\n </nz-spin>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 0 5px 15px}:host ::ng-deep .work-content{background-color:#fff;display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:0;border-radius:8px}\n"] }]
|
|
467
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }, { type: i3$1.CommAPIService }] });
|
|
468
|
+
|
|
469
|
+
const routes$f = [
|
|
470
|
+
{
|
|
471
|
+
path: ':layoutId',
|
|
472
|
+
component: EWebFormComponent,
|
|
473
|
+
}
|
|
474
|
+
];
|
|
475
|
+
class EWebFormDefaultModule {
|
|
476
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormDefaultModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
477
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebFormDefaultModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
478
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormDefaultModule, imports: [RouterModule.forChild(routes$f), RouterModule] });
|
|
479
|
+
}
|
|
480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormDefaultModule, decorators: [{
|
|
481
|
+
type: NgModule,
|
|
482
|
+
args: [{
|
|
483
|
+
imports: [RouterModule.forChild(routes$f)],
|
|
484
|
+
exports: [RouterModule],
|
|
485
|
+
}]
|
|
486
|
+
}] });
|
|
487
|
+
|
|
488
|
+
var index_module$f = /*#__PURE__*/Object.freeze({
|
|
489
|
+
__proto__: null,
|
|
490
|
+
EWebFormDefaultModule: EWebFormDefaultModule
|
|
491
|
+
});
|
|
492
|
+
|
|
493
|
+
class EWebFormDeepComponent {
|
|
494
|
+
http;
|
|
495
|
+
router;
|
|
496
|
+
activatedRoute;
|
|
497
|
+
commAPISrv;
|
|
498
|
+
loading = true;
|
|
499
|
+
/**
|
|
500
|
+
* 模块编码
|
|
501
|
+
*/
|
|
502
|
+
moduleCode = null;
|
|
503
|
+
/**
|
|
504
|
+
* 布局ID
|
|
505
|
+
*/
|
|
506
|
+
layoutId = null;
|
|
507
|
+
/**
|
|
508
|
+
* 布局数据
|
|
509
|
+
*/
|
|
510
|
+
layoutData = null;
|
|
511
|
+
formType = null;
|
|
512
|
+
dataId = null;
|
|
513
|
+
config = null;
|
|
514
|
+
constructor(http, router, activatedRoute, commAPISrv) {
|
|
515
|
+
this.http = http;
|
|
516
|
+
this.router = router;
|
|
517
|
+
this.activatedRoute = activatedRoute;
|
|
518
|
+
this.commAPISrv = commAPISrv;
|
|
519
|
+
this.activatedRoute.params.subscribe((item) => {
|
|
520
|
+
this.moduleCode = item?.moduleCode;
|
|
521
|
+
this.layoutId = item?.layoutId;
|
|
522
|
+
this.formType = item?.type;
|
|
523
|
+
this.dataId = item?.id;
|
|
524
|
+
//this.getPageData();
|
|
525
|
+
});
|
|
526
|
+
}
|
|
527
|
+
ngOnInit() { }
|
|
528
|
+
ngOnDestroy() { }
|
|
529
|
+
getPageData() {
|
|
530
|
+
this.layoutData = null;
|
|
531
|
+
this.loading = true;
|
|
532
|
+
let address = this.commAPISrv.getLayoutAddress(this.moduleCode, this.layoutId);
|
|
533
|
+
if (address) {
|
|
534
|
+
this.http.post(address).subscribe((res) => {
|
|
535
|
+
if (res.success) {
|
|
536
|
+
this.layoutData = res.result;
|
|
537
|
+
}
|
|
538
|
+
this.getFormDesign();
|
|
539
|
+
});
|
|
540
|
+
}
|
|
541
|
+
else {
|
|
542
|
+
this.loading = false;
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
/*
|
|
546
|
+
获取设计
|
|
547
|
+
*/
|
|
548
|
+
getFormDesign() {
|
|
549
|
+
this.config = {
|
|
550
|
+
formId: this.layoutData.formId,
|
|
551
|
+
formType: this.formType,
|
|
552
|
+
moduleCode: this.moduleCode,
|
|
553
|
+
};
|
|
554
|
+
this.loading = false;
|
|
555
|
+
}
|
|
556
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormDeepComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }, { token: i3$1.CommAPIService }], target: i0.ɵɵFactoryTarget.Component });
|
|
557
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebFormDeepComponent, isStandalone: true, selector: "eweb-form-deep", providers: [CommAPIService], ngImport: i0, template: "<ng-container *ngIf=\"layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"work-content\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"config!!\">\n <comm-form-onlyone [config]=\"config\"></comm-form-onlyone>\n </ng-container>\n </nz-spin>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .work-content{padding:0}\n"], dependencies: [{ kind: "ngmodule", type: RuntimeSharedImportsModule }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.PageHeaderComponent, selector: "page-header", inputs: ["title", "titleSub", "loading", "wide", "home", "homeLink", "homeI18n", "autoBreadcrumb", "autoTitle", "syncTitle", "fixed", "fixedOffsetTop", "breadcrumb", "recursiveBreadcrumb", "logo", "action", "content", "extra", "tab"], exportAs: ["pageHeader"] }, { kind: "component", type: i6.NzBreadCrumbComponent, selector: "nz-breadcrumb", inputs: ["nzAutoGenerate", "nzSeparator", "nzRouteLabel", "nzRouteLabelFn", "nzRouteFn"], exportAs: ["nzBreadcrumb"] }, { kind: "component", type: i6.NzBreadCrumbItemComponent, selector: "nz-breadcrumb-item", inputs: ["nzOverlay"], exportAs: ["nzBreadcrumbItem"] }, { kind: "component", type: i7.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: CommFormModule }, { kind: "component", type: i8.CommFormOnlyOneComponent, selector: "comm-form-onlyone", inputs: ["config", "setpInfo"], outputs: ["modelThrowEvent"] }] });
|
|
558
|
+
}
|
|
559
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormDeepComponent, decorators: [{
|
|
560
|
+
type: Component,
|
|
561
|
+
args: [{ selector: 'eweb-form-deep', providers: [CommAPIService], imports: [
|
|
562
|
+
RuntimeSharedImportsModule,
|
|
563
|
+
CommFormModule
|
|
564
|
+
], template: "<ng-container *ngIf=\"layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"work-content\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"config!!\">\n <comm-form-onlyone [config]=\"config\"></comm-form-onlyone>\n </ng-container>\n </nz-spin>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .work-content{padding:0}\n"] }]
|
|
565
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }, { type: i3$1.CommAPIService }] });
|
|
566
|
+
|
|
567
|
+
const routes$e = [
|
|
568
|
+
{
|
|
569
|
+
path: ':layoutId/:type/:id',
|
|
570
|
+
component: EWebFormDeepComponent,
|
|
571
|
+
}
|
|
572
|
+
];
|
|
573
|
+
class EWebFormDeepModule {
|
|
574
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormDeepModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
575
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebFormDeepModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
576
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormDeepModule, imports: [RouterModule.forChild(routes$e), RouterModule] });
|
|
577
|
+
}
|
|
578
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormDeepModule, decorators: [{
|
|
579
|
+
type: NgModule,
|
|
580
|
+
args: [{
|
|
581
|
+
imports: [RouterModule.forChild(routes$e)],
|
|
582
|
+
exports: [RouterModule],
|
|
583
|
+
}]
|
|
584
|
+
}] });
|
|
585
|
+
|
|
586
|
+
var index_module$e = /*#__PURE__*/Object.freeze({
|
|
587
|
+
__proto__: null,
|
|
588
|
+
EWebFormDeepModule: EWebFormDeepModule
|
|
589
|
+
});
|
|
590
|
+
|
|
591
|
+
const routes$d = [
|
|
592
|
+
{
|
|
593
|
+
path: '',
|
|
594
|
+
loadChildren: () => Promise.resolve().then(function () { return index_module$c; }).then((m) => m.EWebListDefaultModule),
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
path: 'new',
|
|
598
|
+
loadChildren: () => Promise.resolve().then(function () { return index_module$a; }).then((m) => m.EWebListNewModule),
|
|
599
|
+
},
|
|
600
|
+
// {
|
|
601
|
+
// path: ':x/deeplist',
|
|
602
|
+
// loadChildren: () => import('./deep/index.module').then((m) => m.EWebListDeepModule),
|
|
603
|
+
// },
|
|
604
|
+
// {
|
|
605
|
+
// path: ':x/deepform',
|
|
606
|
+
// loadChildren: () => import('../form/deep/index.module').then((m) => m.EWebFormDeepModule),
|
|
607
|
+
// },
|
|
608
|
+
// {
|
|
609
|
+
// path: ':x/deepreport',
|
|
610
|
+
// loadChildren: () => import('../report/deep/index.module').then((m) => m.EWebReportDeepModule),
|
|
611
|
+
// },
|
|
612
|
+
// {
|
|
613
|
+
// path: ':x/deepsingle',
|
|
614
|
+
// loadChildren: () => import('../single/deep/index.module').then((m) => m.EWebSingleDeepModule),
|
|
615
|
+
// }
|
|
616
|
+
];
|
|
617
|
+
class EWebListModule {
|
|
618
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
619
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebListModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
620
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListModule, imports: [RouterModule.forChild(routes$d), RouterModule] });
|
|
621
|
+
}
|
|
622
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListModule, decorators: [{
|
|
623
|
+
type: NgModule,
|
|
624
|
+
args: [{
|
|
625
|
+
imports: [RouterModule.forChild(routes$d)],
|
|
626
|
+
exports: [RouterModule],
|
|
627
|
+
}]
|
|
628
|
+
}] });
|
|
629
|
+
|
|
630
|
+
var index_module$d = /*#__PURE__*/Object.freeze({
|
|
631
|
+
__proto__: null,
|
|
632
|
+
EWebListModule: EWebListModule
|
|
633
|
+
});
|
|
634
|
+
|
|
635
|
+
class EWebListComponent {
|
|
636
|
+
http;
|
|
637
|
+
activatedRoute;
|
|
638
|
+
router;
|
|
639
|
+
commAPISrv;
|
|
640
|
+
loading = false;
|
|
641
|
+
/**
|
|
642
|
+
* 模块编码
|
|
643
|
+
*/
|
|
644
|
+
moduleCode = null;
|
|
645
|
+
/**
|
|
646
|
+
* 布局ID
|
|
647
|
+
*/
|
|
648
|
+
layoutId = null;
|
|
649
|
+
/**
|
|
650
|
+
* 布局数据
|
|
651
|
+
*/
|
|
652
|
+
layoutData = null;
|
|
653
|
+
constructor(http, activatedRoute, router, commAPISrv) {
|
|
654
|
+
this.http = http;
|
|
655
|
+
this.activatedRoute = activatedRoute;
|
|
656
|
+
this.router = router;
|
|
657
|
+
this.commAPISrv = commAPISrv;
|
|
658
|
+
}
|
|
659
|
+
ngOnInit() {
|
|
660
|
+
this.activatedRoute.params.subscribe((item) => {
|
|
661
|
+
this.moduleCode = item.moduleCode || this.getModuleCode();
|
|
662
|
+
this.layoutId = item.id;
|
|
663
|
+
if (this.layoutId != '0' && this.layoutId != 0) {
|
|
664
|
+
this.getPageData();
|
|
665
|
+
}
|
|
666
|
+
else {
|
|
667
|
+
this.layoutData = null;
|
|
668
|
+
}
|
|
669
|
+
});
|
|
670
|
+
}
|
|
671
|
+
ngOnDestroy() { }
|
|
672
|
+
getModuleCode() {
|
|
673
|
+
let arr = this.router.url.split('?')[0].split('/').filter((item) => item);
|
|
674
|
+
return arr.length > 1 ? arr[1] : null;
|
|
675
|
+
}
|
|
676
|
+
getPageData() {
|
|
677
|
+
if (this.layoutId) {
|
|
678
|
+
this.loading = true;
|
|
679
|
+
let address = this.commAPISrv.getLayoutAddress(this.moduleCode, this.layoutId);
|
|
680
|
+
this.http.post(address).subscribe((res) => {
|
|
681
|
+
if (res.success) {
|
|
682
|
+
this.layoutData = res.result;
|
|
683
|
+
}
|
|
684
|
+
this.loading = false;
|
|
685
|
+
});
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListComponent, deps: [{ token: i1._HttpClient }, { token: i2.ActivatedRoute }, { token: i2.Router }, { token: i3$1.CommAPIService }], target: i0.ɵɵFactoryTarget.Component });
|
|
689
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebListComponent, isStandalone: true, selector: "eweb-list", providers: [CommAPIService], ngImport: i0, template: "<ng-container *ngIf=\"layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"default-work\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"layoutData!! && layoutData.pageInfo!! && layoutData.pageInfo?.id!!\">\n <pre-page [pageId]=\"layoutData.pageInfo?.id\"></pre-page>\n </ng-container>\n </nz-spin>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 0 5px 15px}\n"], dependencies: [{ kind: "ngmodule", type: RuntimeSharedImportsModule }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.PageHeaderComponent, selector: "page-header", inputs: ["title", "titleSub", "loading", "wide", "home", "homeLink", "homeI18n", "autoBreadcrumb", "autoTitle", "syncTitle", "fixed", "fixedOffsetTop", "breadcrumb", "recursiveBreadcrumb", "logo", "action", "content", "extra", "tab"], exportAs: ["pageHeader"] }, { kind: "component", type: i6.NzBreadCrumbComponent, selector: "nz-breadcrumb", inputs: ["nzAutoGenerate", "nzSeparator", "nzRouteLabel", "nzRouteLabelFn", "nzRouteFn"], exportAs: ["nzBreadcrumb"] }, { kind: "component", type: i6.NzBreadCrumbItemComponent, selector: "nz-breadcrumb-item", inputs: ["nzOverlay"], exportAs: ["nzBreadcrumbItem"] }, { kind: "component", type: i7.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: PrePageModule }, { kind: "component", type: i8$1.PrePageComponent, selector: "pre-page", inputs: ["pageId", "pageCode", "pageConfig", "layoutData", "rd", "parameterArg"], outputs: ["advancedEvent", "buttonEvent", "buttonAfterEvent", "selectEvent", "operationEvent", "componentEvent", "pageLoadAfterEvent", "pageLoadConfigEvent"] }] });
|
|
690
|
+
}
|
|
691
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListComponent, decorators: [{
|
|
692
|
+
type: Component,
|
|
693
|
+
args: [{ selector: 'eweb-list', providers: [CommAPIService], imports: [
|
|
694
|
+
RuntimeSharedImportsModule,
|
|
695
|
+
PrePageModule
|
|
696
|
+
], template: "<ng-container *ngIf=\"layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"default-work\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"layoutData!! && layoutData.pageInfo!! && layoutData.pageInfo?.id!!\">\n <pre-page [pageId]=\"layoutData.pageInfo?.id\"></pre-page>\n </ng-container>\n </nz-spin>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 0 5px 15px}\n"] }]
|
|
697
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.ActivatedRoute }, { type: i2.Router }, { type: i3$1.CommAPIService }] });
|
|
698
|
+
|
|
699
|
+
const routes$c = [
|
|
700
|
+
{
|
|
701
|
+
path: ':id',
|
|
702
|
+
component: EWebListComponent,
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
path: ':id/deep',
|
|
706
|
+
loadChildren: () => Promise.resolve().then(function () { return deep_module; }).then((m) => m.EWebDeepModule),
|
|
707
|
+
}
|
|
708
|
+
];
|
|
709
|
+
class EWebListDefaultModule {
|
|
710
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListDefaultModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
711
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebListDefaultModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
712
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListDefaultModule, imports: [RouterModule.forChild(routes$c), RouterModule] });
|
|
713
|
+
}
|
|
714
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListDefaultModule, decorators: [{
|
|
715
|
+
type: NgModule,
|
|
716
|
+
args: [{
|
|
717
|
+
imports: [RouterModule.forChild(routes$c)],
|
|
718
|
+
exports: [RouterModule],
|
|
719
|
+
}]
|
|
720
|
+
}] });
|
|
721
|
+
|
|
722
|
+
var index_module$c = /*#__PURE__*/Object.freeze({
|
|
723
|
+
__proto__: null,
|
|
724
|
+
EWebListDefaultModule: EWebListDefaultModule
|
|
725
|
+
});
|
|
726
|
+
|
|
727
|
+
class EWebListDeepComponent {
|
|
728
|
+
http;
|
|
729
|
+
router;
|
|
730
|
+
activatedRoute;
|
|
731
|
+
config = null;
|
|
732
|
+
source = null;
|
|
733
|
+
argInfo = null;
|
|
734
|
+
constructor(http, router, activatedRoute) {
|
|
735
|
+
this.http = http;
|
|
736
|
+
this.router = router;
|
|
737
|
+
this.activatedRoute = activatedRoute;
|
|
738
|
+
this.getPageData();
|
|
739
|
+
}
|
|
740
|
+
ngOnInit() {
|
|
741
|
+
}
|
|
742
|
+
getPageData() {
|
|
743
|
+
this.config = null;
|
|
744
|
+
this.source = null;
|
|
745
|
+
this.argInfo = null;
|
|
746
|
+
this.activatedRoute.params.subscribe((a) => {
|
|
747
|
+
this.activatedRoute.queryParams.subscribe((b) => {
|
|
748
|
+
if (b) {
|
|
749
|
+
if (b?.source) {
|
|
750
|
+
this.source = b.source;
|
|
751
|
+
}
|
|
752
|
+
if (b?.argInfo) {
|
|
753
|
+
this.argInfo = Decrypt(b.argInfo);
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
this.config = {
|
|
757
|
+
id: a.id
|
|
758
|
+
};
|
|
759
|
+
});
|
|
760
|
+
});
|
|
761
|
+
}
|
|
762
|
+
btnBack() {
|
|
763
|
+
if (this.source) {
|
|
764
|
+
this.router.navigateByUrl(Decrypt(this.source));
|
|
765
|
+
}
|
|
766
|
+
else {
|
|
767
|
+
window.history.go(-1);
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListDeepComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
771
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebListDeepComponent, isStandalone: true, selector: "eweb-list-deep", providers: [CommAPIService], ngImport: i0, template: "<div class=\"default-work\">\n <ng-container *ngIf=\"config && config?.id\">\n <pre-page [parameterArg]=\"argInfo\" [pageId]=\"config.id\">\n <div name=\"button-after\" class=\"button-after\">\n <button type=\"button\" nz-button nzType=\"default\" (click)=\"btnBack()\">\n <i nz-icon nzType=\"rollback\"></i>\u8FD4\u56DE\n </button>\n </div>\n </pre-page>\n </ng-container>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 0 5px 15px}:host ::ng-deep .button-after{padding:0 0 0 8px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i4$1.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i5$1.ɵ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: i6$1.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i7$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: PrePageModule }, { kind: "component", type: i8$1.PrePageComponent, selector: "pre-page", inputs: ["pageId", "pageCode", "pageConfig", "layoutData", "rd", "parameterArg"], outputs: ["advancedEvent", "buttonEvent", "buttonAfterEvent", "selectEvent", "operationEvent", "componentEvent", "pageLoadAfterEvent", "pageLoadConfigEvent"] }] });
|
|
772
|
+
}
|
|
773
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListDeepComponent, decorators: [{
|
|
774
|
+
type: Component,
|
|
775
|
+
args: [{ selector: 'eweb-list-deep', providers: [CommAPIService], imports: [
|
|
776
|
+
CommonModule,
|
|
777
|
+
FormsModule, ReactiveFormsModule,
|
|
778
|
+
NzButtonModule,
|
|
779
|
+
NzIconModule,
|
|
780
|
+
PrePageModule
|
|
781
|
+
], template: "<div class=\"default-work\">\n <ng-container *ngIf=\"config && config?.id\">\n <pre-page [parameterArg]=\"argInfo\" [pageId]=\"config.id\">\n <div name=\"button-after\" class=\"button-after\">\n <button type=\"button\" nz-button nzType=\"default\" (click)=\"btnBack()\">\n <i nz-icon nzType=\"rollback\"></i>\u8FD4\u56DE\n </button>\n </div>\n </pre-page>\n </ng-container>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 0 5px 15px}:host ::ng-deep .button-after{padding:0 0 0 8px}\n"] }]
|
|
782
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }] });
|
|
783
|
+
|
|
784
|
+
const routes$b = [
|
|
785
|
+
{
|
|
786
|
+
path: ':id',
|
|
787
|
+
component: EWebListDeepComponent,
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
path: ':id/deep',
|
|
791
|
+
loadChildren: () => Promise.resolve().then(function () { return deep_module; }).then((m) => m.EWebDeepModule),
|
|
792
|
+
}
|
|
793
|
+
];
|
|
794
|
+
class EWebListDeepModule {
|
|
795
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListDeepModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
796
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebListDeepModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
797
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListDeepModule, imports: [RouterModule.forChild(routes$b), RouterModule] });
|
|
798
|
+
}
|
|
799
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListDeepModule, decorators: [{
|
|
800
|
+
type: NgModule,
|
|
801
|
+
args: [{
|
|
802
|
+
imports: [RouterModule.forChild(routes$b)],
|
|
803
|
+
exports: [RouterModule],
|
|
804
|
+
}]
|
|
805
|
+
}] });
|
|
806
|
+
|
|
807
|
+
var index_module$b = /*#__PURE__*/Object.freeze({
|
|
808
|
+
__proto__: null,
|
|
809
|
+
EWebListDeepModule: EWebListDeepModule
|
|
810
|
+
});
|
|
811
|
+
|
|
812
|
+
class EWebListNewComponent {
|
|
813
|
+
http;
|
|
814
|
+
router;
|
|
815
|
+
activatedRoute;
|
|
816
|
+
config = null;
|
|
817
|
+
argInfo = null;
|
|
818
|
+
constructor(http, router, activatedRoute) {
|
|
819
|
+
this.http = http;
|
|
820
|
+
this.router = router;
|
|
821
|
+
this.activatedRoute = activatedRoute;
|
|
822
|
+
this.getPageData();
|
|
823
|
+
}
|
|
824
|
+
ngOnInit() {
|
|
825
|
+
}
|
|
826
|
+
getPageData() {
|
|
827
|
+
this.config = null;
|
|
828
|
+
this.argInfo = null;
|
|
829
|
+
this.activatedRoute.params.subscribe((a) => {
|
|
830
|
+
this.activatedRoute.queryParams.subscribe((b) => {
|
|
831
|
+
if (b) {
|
|
832
|
+
if (b?.argInfo) {
|
|
833
|
+
this.argInfo = Decrypt(b.argInfo);
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
this.config = {
|
|
837
|
+
id: a.id
|
|
838
|
+
};
|
|
839
|
+
});
|
|
840
|
+
});
|
|
841
|
+
}
|
|
842
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListNewComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
843
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebListNewComponent, isStandalone: true, selector: "eweb-list-new", providers: [CommAPIService], ngImport: i0, template: "<div class=\"default-work\">\n <ng-container *ngIf=\"config && config?.id\">\n <pre-page [parameterArg]=\"argInfo\" [pageId]=\"config.id\">\n </pre-page>\n </ng-container>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 0 5px 15px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzButtonModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "ngmodule", type: PrePageModule }, { kind: "component", type: i8$1.PrePageComponent, selector: "pre-page", inputs: ["pageId", "pageCode", "pageConfig", "layoutData", "rd", "parameterArg"], outputs: ["advancedEvent", "buttonEvent", "buttonAfterEvent", "selectEvent", "operationEvent", "componentEvent", "pageLoadAfterEvent", "pageLoadConfigEvent"] }] });
|
|
844
|
+
}
|
|
845
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListNewComponent, decorators: [{
|
|
846
|
+
type: Component,
|
|
847
|
+
args: [{ selector: 'eweb-list-new', providers: [CommAPIService], imports: [
|
|
848
|
+
CommonModule,
|
|
849
|
+
FormsModule, ReactiveFormsModule,
|
|
850
|
+
NzButtonModule,
|
|
851
|
+
NzIconModule,
|
|
852
|
+
PrePageModule
|
|
853
|
+
], template: "<div class=\"default-work\">\n <ng-container *ngIf=\"config && config?.id\">\n <pre-page [parameterArg]=\"argInfo\" [pageId]=\"config.id\">\n </pre-page>\n </ng-container>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 0 5px 15px}\n"] }]
|
|
854
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }] });
|
|
855
|
+
|
|
856
|
+
const routes$a = [
|
|
857
|
+
{
|
|
858
|
+
path: ':id',
|
|
859
|
+
component: EWebListNewComponent,
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
path: ':id/deep',
|
|
863
|
+
loadChildren: () => Promise.resolve().then(function () { return deep_module; }).then((m) => m.EWebDeepModule),
|
|
864
|
+
}
|
|
865
|
+
];
|
|
866
|
+
class EWebListNewModule {
|
|
867
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListNewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
868
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebListNewModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
869
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListNewModule, imports: [RouterModule.forChild(routes$a), RouterModule] });
|
|
870
|
+
}
|
|
871
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListNewModule, decorators: [{
|
|
872
|
+
type: NgModule,
|
|
873
|
+
args: [{
|
|
874
|
+
imports: [RouterModule.forChild(routes$a)],
|
|
875
|
+
exports: [RouterModule],
|
|
876
|
+
}]
|
|
877
|
+
}] });
|
|
878
|
+
|
|
879
|
+
var index_module$a = /*#__PURE__*/Object.freeze({
|
|
880
|
+
__proto__: null,
|
|
881
|
+
EWebListNewModule: EWebListNewModule
|
|
882
|
+
});
|
|
883
|
+
|
|
884
|
+
const routes$9 = [
|
|
885
|
+
{
|
|
886
|
+
path: '',
|
|
887
|
+
loadChildren: () => Promise.resolve().then(function () { return index_module$8; }).then((m) => m.EWebReportDefaultModule),
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
path: 'new',
|
|
891
|
+
loadChildren: () => Promise.resolve().then(function () { return index_module$6; }).then((m) => m.EWebReportNewModule),
|
|
892
|
+
}
|
|
893
|
+
];
|
|
894
|
+
class EWebReportModule {
|
|
895
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
896
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebReportModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
897
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportModule, imports: [RouterModule.forChild(routes$9), RouterModule] });
|
|
898
|
+
}
|
|
899
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportModule, decorators: [{
|
|
900
|
+
type: NgModule,
|
|
901
|
+
args: [{
|
|
902
|
+
imports: [RouterModule.forChild(routes$9)],
|
|
903
|
+
exports: [RouterModule],
|
|
904
|
+
}]
|
|
905
|
+
}] });
|
|
906
|
+
|
|
907
|
+
var index_module$9 = /*#__PURE__*/Object.freeze({
|
|
908
|
+
__proto__: null,
|
|
909
|
+
EWebReportModule: EWebReportModule
|
|
910
|
+
});
|
|
911
|
+
|
|
912
|
+
class EWebReportDefaultComponent {
|
|
913
|
+
http;
|
|
914
|
+
router;
|
|
915
|
+
activatedRoute;
|
|
916
|
+
config = null;
|
|
917
|
+
source = null;
|
|
918
|
+
argInfo = null;
|
|
919
|
+
constructor(http, router, activatedRoute) {
|
|
920
|
+
this.http = http;
|
|
921
|
+
this.router = router;
|
|
922
|
+
this.activatedRoute = activatedRoute;
|
|
923
|
+
this.getPageData();
|
|
924
|
+
}
|
|
925
|
+
ngOnInit() {
|
|
926
|
+
}
|
|
927
|
+
getPageData() {
|
|
928
|
+
this.activatedRoute.params.subscribe((a) => {
|
|
929
|
+
this.activatedRoute.queryParams.subscribe((b) => {
|
|
930
|
+
if (b) {
|
|
931
|
+
if (b?.source) {
|
|
932
|
+
this.source = b.source;
|
|
933
|
+
}
|
|
934
|
+
if (b?.argInfo) {
|
|
935
|
+
this.argInfo = Decrypt(b.argInfo);
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
this.config = {
|
|
939
|
+
id: a.id,
|
|
940
|
+
parameterData: this.argInfo
|
|
941
|
+
};
|
|
942
|
+
});
|
|
943
|
+
});
|
|
944
|
+
}
|
|
945
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDefaultComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
946
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebReportDefaultComponent, isStandalone: true, selector: "eweb-report-default", ngImport: i0, template: "<ng-container *ngIf=\"config\">\n <pre-report-page [config]=\"config\"></pre-report-page>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px;overflow:auto}:host ::ng-deep .eweb-header{padding-left:15px}:host ::ng-deep .body-content{flex:1}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzButtonModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "ngmodule", type: PreReportModule }, { kind: "component", type: i4$2.PreReportPageComponent, selector: "pre-report-page", inputs: ["config"], outputs: ["btnBackEvent", "loadAfter"] }] });
|
|
947
|
+
}
|
|
948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDefaultComponent, decorators: [{
|
|
949
|
+
type: Component,
|
|
950
|
+
args: [{ selector: 'eweb-report-default', imports: [
|
|
951
|
+
CommonModule,
|
|
952
|
+
FormsModule, ReactiveFormsModule,
|
|
953
|
+
NzButtonModule,
|
|
954
|
+
NzIconModule,
|
|
955
|
+
PreReportModule
|
|
956
|
+
], template: "<ng-container *ngIf=\"config\">\n <pre-report-page [config]=\"config\"></pre-report-page>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px;overflow:auto}:host ::ng-deep .eweb-header{padding-left:15px}:host ::ng-deep .body-content{flex:1}\n"] }]
|
|
957
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }] });
|
|
958
|
+
|
|
959
|
+
const routes$8 = [
|
|
960
|
+
{
|
|
961
|
+
path: ':id',
|
|
962
|
+
component: EWebReportDefaultComponent,
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
path: ':id/deep',
|
|
966
|
+
loadChildren: () => Promise.resolve().then(function () { return deep_module; }).then((m) => m.EWebDeepModule),
|
|
967
|
+
}
|
|
968
|
+
];
|
|
969
|
+
class EWebReportDefaultModule {
|
|
970
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDefaultModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
971
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDefaultModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
972
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDefaultModule, imports: [RouterModule.forChild(routes$8), RouterModule] });
|
|
973
|
+
}
|
|
974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDefaultModule, decorators: [{
|
|
975
|
+
type: NgModule,
|
|
976
|
+
args: [{
|
|
977
|
+
imports: [RouterModule.forChild(routes$8)],
|
|
978
|
+
exports: [RouterModule],
|
|
979
|
+
}]
|
|
980
|
+
}] });
|
|
981
|
+
|
|
982
|
+
var index_module$8 = /*#__PURE__*/Object.freeze({
|
|
983
|
+
__proto__: null,
|
|
984
|
+
EWebReportDefaultModule: EWebReportDefaultModule
|
|
985
|
+
});
|
|
986
|
+
|
|
987
|
+
class EWebReportDeepComponent {
|
|
988
|
+
http;
|
|
989
|
+
router;
|
|
990
|
+
activatedRoute;
|
|
991
|
+
config = null;
|
|
992
|
+
source = null;
|
|
993
|
+
argInfo = null;
|
|
994
|
+
constructor(http, router, activatedRoute) {
|
|
995
|
+
this.http = http;
|
|
996
|
+
this.router = router;
|
|
997
|
+
this.activatedRoute = activatedRoute;
|
|
998
|
+
this.getPageData();
|
|
999
|
+
}
|
|
1000
|
+
ngOnInit() {
|
|
1001
|
+
}
|
|
1002
|
+
getPageData() {
|
|
1003
|
+
this.activatedRoute.params.subscribe((a) => {
|
|
1004
|
+
this.activatedRoute.queryParams.subscribe((b) => {
|
|
1005
|
+
if (b) {
|
|
1006
|
+
if (b?.source) {
|
|
1007
|
+
this.source = b.source;
|
|
1008
|
+
}
|
|
1009
|
+
if (b?.argInfo) {
|
|
1010
|
+
this.argInfo = Decrypt(b.argInfo);
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
this.config = {
|
|
1014
|
+
id: a.id,
|
|
1015
|
+
parameterData: this.argInfo
|
|
1016
|
+
};
|
|
1017
|
+
});
|
|
1018
|
+
});
|
|
1019
|
+
}
|
|
1020
|
+
btnBack() {
|
|
1021
|
+
if (this.source) {
|
|
1022
|
+
this.router.navigateByUrl(Decrypt(this.source));
|
|
1023
|
+
}
|
|
1024
|
+
else {
|
|
1025
|
+
window.history.go(-1);
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDeepComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
1029
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebReportDeepComponent, isStandalone: true, selector: "eweb-report-deep", ngImport: i0, template: "<gram-header (btnBackClick)=\"btnBack()\"> </gram-header>\n<ng-container *ngIf=\"config\">\n <pre-report-page [config]=\"config\">\n </pre-report-page>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px 15px}:host ::ng-deep gram-header{margin-bottom:12px;border-bottom:0}:host ::ng-deep pre-report-page .default-work{background:unset}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzButtonModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "ngmodule", type: PreReportModule }, { kind: "component", type: i4$2.PreReportPageComponent, selector: "pre-report-page", inputs: ["config"], outputs: ["btnBackEvent", "loadAfter"] }, { kind: "ngmodule", type: GramDeonHeaderModule }, { kind: "component", type: i5$2.GramDeonHeaderComponent, selector: "gram-header", inputs: ["isTitle", "isTitleClick", "isBack", "title"], outputs: ["titleClick", "btnBackClick"] }] });
|
|
1030
|
+
}
|
|
1031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDeepComponent, decorators: [{
|
|
1032
|
+
type: Component,
|
|
1033
|
+
args: [{ selector: 'eweb-report-deep', imports: [
|
|
1034
|
+
CommonModule,
|
|
1035
|
+
FormsModule, ReactiveFormsModule,
|
|
1036
|
+
NzButtonModule,
|
|
1037
|
+
NzIconModule,
|
|
1038
|
+
PreReportModule,
|
|
1039
|
+
GramDeonHeaderModule
|
|
1040
|
+
], template: "<gram-header (btnBackClick)=\"btnBack()\"> </gram-header>\n<ng-container *ngIf=\"config\">\n <pre-report-page [config]=\"config\">\n </pre-report-page>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px 15px}:host ::ng-deep gram-header{margin-bottom:12px;border-bottom:0}:host ::ng-deep pre-report-page .default-work{background:unset}\n"] }]
|
|
1041
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }] });
|
|
1042
|
+
|
|
1043
|
+
const routes$7 = [
|
|
1044
|
+
{
|
|
1045
|
+
path: ':id',
|
|
1046
|
+
component: EWebReportDeepComponent,
|
|
1047
|
+
}
|
|
1048
|
+
];
|
|
1049
|
+
class EWebReportDeepModule {
|
|
1050
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDeepModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1051
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDeepModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
1052
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDeepModule, imports: [RouterModule.forChild(routes$7), RouterModule] });
|
|
1053
|
+
}
|
|
1054
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDeepModule, decorators: [{
|
|
1055
|
+
type: NgModule,
|
|
1056
|
+
args: [{
|
|
1057
|
+
imports: [RouterModule.forChild(routes$7)],
|
|
1058
|
+
exports: [RouterModule],
|
|
1059
|
+
}]
|
|
1060
|
+
}] });
|
|
1061
|
+
|
|
1062
|
+
var index_module$7 = /*#__PURE__*/Object.freeze({
|
|
1063
|
+
__proto__: null,
|
|
1064
|
+
EWebReportDeepModule: EWebReportDeepModule
|
|
1065
|
+
});
|
|
1066
|
+
|
|
1067
|
+
class EWebReportNewComponent {
|
|
1068
|
+
http;
|
|
1069
|
+
router;
|
|
1070
|
+
activatedRoute;
|
|
1071
|
+
config = null;
|
|
1072
|
+
argInfo = null;
|
|
1073
|
+
constructor(http, router, activatedRoute) {
|
|
1074
|
+
this.http = http;
|
|
1075
|
+
this.router = router;
|
|
1076
|
+
this.activatedRoute = activatedRoute;
|
|
1077
|
+
this.getPageData();
|
|
1078
|
+
}
|
|
1079
|
+
ngOnInit() {
|
|
1080
|
+
}
|
|
1081
|
+
getPageData() {
|
|
1082
|
+
this.activatedRoute.params.subscribe((a) => {
|
|
1083
|
+
this.activatedRoute.queryParams.subscribe((b) => {
|
|
1084
|
+
if (b) {
|
|
1085
|
+
if (b?.argInfo) {
|
|
1086
|
+
this.argInfo = Decrypt(b.argInfo);
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
this.config = {
|
|
1090
|
+
id: a.id,
|
|
1091
|
+
parameterData: this.argInfo
|
|
1092
|
+
};
|
|
1093
|
+
});
|
|
1094
|
+
});
|
|
1095
|
+
}
|
|
1096
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportNewComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
1097
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebReportNewComponent, isStandalone: true, selector: "eweb-report-new", ngImport: i0, template: "<ng-container *ngIf=\"config\">\n <pre-report-page [config]=\"config\">\n </pre-report-page>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px 15px}:host ::ng-deep pre-report-page .default-work{background:unset}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzButtonModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "ngmodule", type: PreReportModule }, { kind: "component", type: i4$2.PreReportPageComponent, selector: "pre-report-page", inputs: ["config"], outputs: ["btnBackEvent", "loadAfter"] }, { kind: "ngmodule", type: GramDeonHeaderModule }] });
|
|
1098
|
+
}
|
|
1099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportNewComponent, decorators: [{
|
|
1100
|
+
type: Component,
|
|
1101
|
+
args: [{ selector: 'eweb-report-new', imports: [
|
|
1102
|
+
CommonModule,
|
|
1103
|
+
FormsModule, ReactiveFormsModule,
|
|
1104
|
+
NzButtonModule,
|
|
1105
|
+
NzIconModule,
|
|
1106
|
+
PreReportModule,
|
|
1107
|
+
GramDeonHeaderModule
|
|
1108
|
+
], template: "<ng-container *ngIf=\"config\">\n <pre-report-page [config]=\"config\">\n </pre-report-page>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px 15px}:host ::ng-deep pre-report-page .default-work{background:unset}\n"] }]
|
|
1109
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }] });
|
|
1110
|
+
|
|
1111
|
+
const routes$6 = [
|
|
1112
|
+
{
|
|
1113
|
+
path: ':id',
|
|
1114
|
+
component: EWebReportNewComponent,
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
path: ':id/deep',
|
|
1118
|
+
loadChildren: () => Promise.resolve().then(function () { return deep_module; }).then((m) => m.EWebDeepModule),
|
|
1119
|
+
}
|
|
1120
|
+
];
|
|
1121
|
+
class EWebReportNewModule {
|
|
1122
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportNewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1123
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebReportNewModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
1124
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportNewModule, imports: [RouterModule.forChild(routes$6), RouterModule] });
|
|
1125
|
+
}
|
|
1126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportNewModule, decorators: [{
|
|
1127
|
+
type: NgModule,
|
|
1128
|
+
args: [{
|
|
1129
|
+
imports: [RouterModule.forChild(routes$6)],
|
|
1130
|
+
exports: [RouterModule],
|
|
1131
|
+
}]
|
|
1132
|
+
}] });
|
|
1133
|
+
|
|
1134
|
+
var index_module$6 = /*#__PURE__*/Object.freeze({
|
|
1135
|
+
__proto__: null,
|
|
1136
|
+
EWebReportNewModule: EWebReportNewModule
|
|
1137
|
+
});
|
|
1138
|
+
|
|
1139
|
+
const routes$5 = [
|
|
1140
|
+
{
|
|
1141
|
+
path: '',
|
|
1142
|
+
loadChildren: () => Promise.resolve().then(function () { return index_module$4; }).then((m) => m.EWebSingleDefaultModule),
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
path: 'new',
|
|
1146
|
+
loadChildren: () => Promise.resolve().then(function () { return index_module$2; }).then((m) => m.EWebSingleNewModule),
|
|
1147
|
+
}
|
|
1148
|
+
];
|
|
1149
|
+
class EWebSingleModule {
|
|
1150
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1151
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
1152
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleModule, imports: [RouterModule.forChild(routes$5), RouterModule] });
|
|
1153
|
+
}
|
|
1154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleModule, decorators: [{
|
|
1155
|
+
type: NgModule,
|
|
1156
|
+
args: [{
|
|
1157
|
+
imports: [RouterModule.forChild(routes$5)],
|
|
1158
|
+
exports: [RouterModule],
|
|
1159
|
+
}]
|
|
1160
|
+
}] });
|
|
1161
|
+
|
|
1162
|
+
var index_module$5 = /*#__PURE__*/Object.freeze({
|
|
1163
|
+
__proto__: null,
|
|
1164
|
+
EWebSingleModule: EWebSingleModule
|
|
1165
|
+
});
|
|
1166
|
+
|
|
1167
|
+
class EWebSingleComponent {
|
|
1168
|
+
http;
|
|
1169
|
+
router;
|
|
1170
|
+
activatedRoute;
|
|
1171
|
+
config = null;
|
|
1172
|
+
source = null;
|
|
1173
|
+
constructor(http, router, activatedRoute) {
|
|
1174
|
+
this.http = http;
|
|
1175
|
+
this.router = router;
|
|
1176
|
+
this.activatedRoute = activatedRoute;
|
|
1177
|
+
}
|
|
1178
|
+
ngOnInit() {
|
|
1179
|
+
this.activatedRoute.params.subscribe((a) => {
|
|
1180
|
+
this.activatedRoute.queryParams.subscribe((b) => {
|
|
1181
|
+
if (b) {
|
|
1182
|
+
if (b?.source) {
|
|
1183
|
+
this.source = b.source;
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
this.config = {
|
|
1187
|
+
id: a.id
|
|
1188
|
+
};
|
|
1189
|
+
});
|
|
1190
|
+
});
|
|
1191
|
+
}
|
|
1192
|
+
btnBack() {
|
|
1193
|
+
if (this.source) {
|
|
1194
|
+
this.router.navigateByUrl(Decrypt(this.source));
|
|
1195
|
+
}
|
|
1196
|
+
else {
|
|
1197
|
+
window.history.go(-1);
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
1201
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebSingleComponent, isStandalone: true, selector: "eweb-single", ngImport: i0, template: "<ng-container *ngIf=\"config\">\n <single-main [config]=\"config\"></single-main>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px 15px;overflow:hidden}:host ::ng-deep gram-header{margin-bottom:12px;border-bottom:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: PreSingleModule }, { kind: "component", type: i4.PreSingleComponent, selector: "single-main", inputs: ["config"], outputs: ["btnBackEvent", "loadAfter"] }, { kind: "ngmodule", type: GramDeonHeaderModule }] });
|
|
1202
|
+
}
|
|
1203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleComponent, decorators: [{
|
|
1204
|
+
type: Component,
|
|
1205
|
+
args: [{ selector: 'eweb-single', imports: [
|
|
1206
|
+
CommonModule,
|
|
1207
|
+
FormsModule,
|
|
1208
|
+
ReactiveFormsModule,
|
|
1209
|
+
PreSingleModule,
|
|
1210
|
+
GramDeonHeaderModule
|
|
1211
|
+
], template: "<ng-container *ngIf=\"config\">\n <single-main [config]=\"config\"></single-main>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px 15px;overflow:hidden}:host ::ng-deep gram-header{margin-bottom:12px;border-bottom:0}\n"] }]
|
|
1212
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }] });
|
|
1213
|
+
|
|
1214
|
+
const routes$4 = [
|
|
1215
|
+
{
|
|
1216
|
+
path: ':id',
|
|
1217
|
+
component: EWebSingleComponent,
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
path: ':id/deep',
|
|
1221
|
+
loadChildren: () => Promise.resolve().then(function () { return deep_module; }).then((m) => m.EWebDeepModule),
|
|
1222
|
+
}
|
|
1223
|
+
];
|
|
1224
|
+
class EWebSingleDefaultModule {
|
|
1225
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleDefaultModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1226
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleDefaultModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
1227
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleDefaultModule, imports: [RouterModule.forChild(routes$4), RouterModule] });
|
|
1228
|
+
}
|
|
1229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleDefaultModule, decorators: [{
|
|
1230
|
+
type: NgModule,
|
|
1231
|
+
args: [{
|
|
1232
|
+
imports: [RouterModule.forChild(routes$4)],
|
|
1233
|
+
exports: [RouterModule],
|
|
1234
|
+
}]
|
|
1235
|
+
}] });
|
|
1236
|
+
|
|
1237
|
+
var index_module$4 = /*#__PURE__*/Object.freeze({
|
|
1238
|
+
__proto__: null,
|
|
1239
|
+
EWebSingleDefaultModule: EWebSingleDefaultModule
|
|
1240
|
+
});
|
|
1241
|
+
|
|
1242
|
+
class EWebSingleDeepComponent {
|
|
1243
|
+
http;
|
|
1244
|
+
router;
|
|
1245
|
+
activatedRoute;
|
|
1246
|
+
config = null;
|
|
1247
|
+
source = null;
|
|
1248
|
+
argInfo = null;
|
|
1249
|
+
constructor(http, router, activatedRoute) {
|
|
1250
|
+
this.http = http;
|
|
1251
|
+
this.router = router;
|
|
1252
|
+
this.activatedRoute = activatedRoute;
|
|
1253
|
+
this.getPageData();
|
|
1254
|
+
}
|
|
1255
|
+
ngOnInit() {
|
|
1256
|
+
}
|
|
1257
|
+
getPageData() {
|
|
1258
|
+
this.activatedRoute.params.subscribe((a) => {
|
|
1259
|
+
this.activatedRoute.queryParams.subscribe((b) => {
|
|
1260
|
+
if (b) {
|
|
1261
|
+
if (b?.source) {
|
|
1262
|
+
this.source = b.source;
|
|
1263
|
+
}
|
|
1264
|
+
if (b?.argInfo) {
|
|
1265
|
+
this.argInfo = Decrypt(b.argInfo);
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
this.config = {
|
|
1269
|
+
id: a.id,
|
|
1270
|
+
parameterData: this.argInfo
|
|
1271
|
+
};
|
|
1272
|
+
});
|
|
1273
|
+
});
|
|
1274
|
+
}
|
|
1275
|
+
btnBack() {
|
|
1276
|
+
if (this.source) {
|
|
1277
|
+
this.router.navigateByUrl(Decrypt(this.source));
|
|
1278
|
+
}
|
|
1279
|
+
else {
|
|
1280
|
+
window.history.go(-1);
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleDeepComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
1284
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebSingleDeepComponent, isStandalone: true, selector: "eweb-single-deep", ngImport: i0, template: "<gram-header (btnBackClick)=\"btnBack()\"> </gram-header>\n<ng-container *ngIf=\"config\">\n <single-main [config]=\"config\"></single-main>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px 15px;overflow:hidden}:host ::ng-deep gram-header{margin-bottom:12px;border-bottom:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: PreSingleModule }, { kind: "component", type: i4.PreSingleComponent, selector: "single-main", inputs: ["config"], outputs: ["btnBackEvent", "loadAfter"] }, { kind: "ngmodule", type: GramDeonHeaderModule }, { kind: "component", type: i5$2.GramDeonHeaderComponent, selector: "gram-header", inputs: ["isTitle", "isTitleClick", "isBack", "title"], outputs: ["titleClick", "btnBackClick"] }] });
|
|
1285
|
+
}
|
|
1286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleDeepComponent, decorators: [{
|
|
1287
|
+
type: Component,
|
|
1288
|
+
args: [{ selector: 'eweb-single-deep', imports: [
|
|
1289
|
+
CommonModule,
|
|
1290
|
+
FormsModule,
|
|
1291
|
+
ReactiveFormsModule,
|
|
1292
|
+
PreSingleModule,
|
|
1293
|
+
GramDeonHeaderModule
|
|
1294
|
+
], template: "<gram-header (btnBackClick)=\"btnBack()\"> </gram-header>\n<ng-container *ngIf=\"config\">\n <single-main [config]=\"config\"></single-main>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px 15px;overflow:hidden}:host ::ng-deep gram-header{margin-bottom:12px;border-bottom:0}\n"] }]
|
|
1295
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }] });
|
|
1296
|
+
|
|
1297
|
+
const routes$3 = [
|
|
1298
|
+
{
|
|
1299
|
+
path: ':id',
|
|
1300
|
+
component: EWebSingleDeepComponent,
|
|
1301
|
+
},
|
|
1302
|
+
{
|
|
1303
|
+
path: ':id/deep',
|
|
1304
|
+
loadChildren: () => Promise.resolve().then(function () { return deep_module; }).then((m) => m.EWebDeepModule),
|
|
1305
|
+
}
|
|
1306
|
+
];
|
|
1307
|
+
class EWebSingleDeepModule {
|
|
1308
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleDeepModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1309
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleDeepModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
1310
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleDeepModule, imports: [RouterModule.forChild(routes$3), RouterModule] });
|
|
1311
|
+
}
|
|
1312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleDeepModule, decorators: [{
|
|
1313
|
+
type: NgModule,
|
|
1314
|
+
args: [{
|
|
1315
|
+
imports: [RouterModule.forChild(routes$3)],
|
|
1316
|
+
exports: [RouterModule],
|
|
1317
|
+
}]
|
|
1318
|
+
}] });
|
|
1319
|
+
|
|
1320
|
+
var index_module$3 = /*#__PURE__*/Object.freeze({
|
|
1321
|
+
__proto__: null,
|
|
1322
|
+
EWebSingleDeepModule: EWebSingleDeepModule
|
|
1323
|
+
});
|
|
1324
|
+
|
|
1325
|
+
class EWebSingleNewComponent {
|
|
1326
|
+
http;
|
|
1327
|
+
router;
|
|
1328
|
+
activatedRoute;
|
|
1329
|
+
config = null;
|
|
1330
|
+
argInfo = null;
|
|
1331
|
+
constructor(http, router, activatedRoute) {
|
|
1332
|
+
this.http = http;
|
|
1333
|
+
this.router = router;
|
|
1334
|
+
this.activatedRoute = activatedRoute;
|
|
1335
|
+
this.getPageData();
|
|
1336
|
+
}
|
|
1337
|
+
ngOnInit() {
|
|
1338
|
+
}
|
|
1339
|
+
getPageData() {
|
|
1340
|
+
this.activatedRoute.params.subscribe((a) => {
|
|
1341
|
+
this.activatedRoute.queryParams.subscribe((b) => {
|
|
1342
|
+
if (b) {
|
|
1343
|
+
if (b?.argInfo) {
|
|
1344
|
+
this.argInfo = Decrypt(b.argInfo);
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
1347
|
+
this.config = {
|
|
1348
|
+
id: a.id,
|
|
1349
|
+
parameterData: this.argInfo
|
|
1350
|
+
};
|
|
1351
|
+
});
|
|
1352
|
+
});
|
|
1353
|
+
}
|
|
1354
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleNewComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
1355
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebSingleNewComponent, isStandalone: true, selector: "eweb-single-new", ngImport: i0, template: "<ng-container *ngIf=\"config\">\n <single-main [config]=\"config\"></single-main>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px 15px;overflow:hidden}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: PreSingleModule }, { kind: "component", type: i4.PreSingleComponent, selector: "single-main", inputs: ["config"], outputs: ["btnBackEvent", "loadAfter"] }, { kind: "ngmodule", type: GramDeonHeaderModule }] });
|
|
1356
|
+
}
|
|
1357
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleNewComponent, decorators: [{
|
|
1358
|
+
type: Component,
|
|
1359
|
+
args: [{ selector: 'eweb-single-new', imports: [
|
|
1360
|
+
CommonModule,
|
|
1361
|
+
FormsModule,
|
|
1362
|
+
ReactiveFormsModule,
|
|
1363
|
+
PreSingleModule,
|
|
1364
|
+
GramDeonHeaderModule
|
|
1365
|
+
], template: "<ng-container *ngIf=\"config\">\n <single-main [config]=\"config\"></single-main>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px 15px;overflow:hidden}\n"] }]
|
|
1366
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }] });
|
|
1367
|
+
|
|
1368
|
+
const routes$2 = [
|
|
1369
|
+
{
|
|
1370
|
+
path: ':id',
|
|
1371
|
+
component: EWebSingleNewComponent,
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
path: ':id/deep',
|
|
1375
|
+
loadChildren: () => Promise.resolve().then(function () { return deep_module; }).then((m) => m.EWebDeepModule),
|
|
1376
|
+
}
|
|
1377
|
+
];
|
|
1378
|
+
class EWebSingleNewModule {
|
|
1379
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleNewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1380
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleNewModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
1381
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleNewModule, imports: [RouterModule.forChild(routes$2), RouterModule] });
|
|
1382
|
+
}
|
|
1383
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleNewModule, decorators: [{
|
|
1384
|
+
type: NgModule,
|
|
1385
|
+
args: [{
|
|
1386
|
+
imports: [RouterModule.forChild(routes$2)],
|
|
1387
|
+
exports: [RouterModule],
|
|
1388
|
+
}]
|
|
1389
|
+
}] });
|
|
1390
|
+
|
|
1391
|
+
var index_module$2 = /*#__PURE__*/Object.freeze({
|
|
1392
|
+
__proto__: null,
|
|
1393
|
+
EWebSingleNewModule: EWebSingleNewModule
|
|
1394
|
+
});
|
|
1395
|
+
|
|
1396
|
+
class EWebLayoutTabComponent {
|
|
1397
|
+
http;
|
|
1398
|
+
router;
|
|
1399
|
+
activatedRoute;
|
|
1400
|
+
commAPISrv;
|
|
1401
|
+
loading = false;
|
|
1402
|
+
/**
|
|
1403
|
+
* 模块编码
|
|
1404
|
+
*/
|
|
1405
|
+
moduleCode = null;
|
|
1406
|
+
/**
|
|
1407
|
+
* 布局ID
|
|
1408
|
+
*/
|
|
1409
|
+
layoutId = null;
|
|
1410
|
+
/**
|
|
1411
|
+
* 布局数据
|
|
1412
|
+
*/
|
|
1413
|
+
layoutData = null;
|
|
1414
|
+
subscription = null;
|
|
1415
|
+
subscriptionLoad = false;
|
|
1416
|
+
constructor(http, router, activatedRoute, commAPISrv) {
|
|
1417
|
+
this.http = http;
|
|
1418
|
+
this.router = router;
|
|
1419
|
+
this.activatedRoute = activatedRoute;
|
|
1420
|
+
this.commAPISrv = commAPISrv;
|
|
1421
|
+
/**
|
|
1422
|
+
* 监听路由变化 -- 只为左边菜单点击服务
|
|
1423
|
+
*/
|
|
1424
|
+
this.subscription = this.router.events.subscribe((event) => {
|
|
1425
|
+
if (event instanceof NavigationEnd) {
|
|
1426
|
+
let arr = event.url.split("tab/");
|
|
1427
|
+
if (arr && arr.length == 2) {
|
|
1428
|
+
let parArr = arr[1].split("/");
|
|
1429
|
+
if (parArr && parArr.length == 1) {
|
|
1430
|
+
this.subscriptionLoad = true;
|
|
1431
|
+
this.layoutId = this.activatedRoute.snapshot.params['id'];
|
|
1432
|
+
this.moduleCode = this.getModuleCode();
|
|
1433
|
+
this.getPageData();
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
});
|
|
1438
|
+
/**
|
|
1439
|
+
* 当路页面刷新�?路由地址不会变化,从而需要这里再次处�? */
|
|
1440
|
+
setTimeout(() => {
|
|
1441
|
+
if (!this.subscriptionLoad) {
|
|
1442
|
+
let arr = this.router.url.split("tab/");
|
|
1443
|
+
if (arr && arr.length == 2) {
|
|
1444
|
+
this.layoutId = this.activatedRoute.snapshot.params['id'];
|
|
1445
|
+
this.moduleCode = this.getModuleCode();
|
|
1446
|
+
this.getPageData();
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
}, 0);
|
|
1450
|
+
// this.activatedRoute.params.subscribe((item: any) => {
|
|
1451
|
+
// this.moduleCode = item.moduleCode;
|
|
1452
|
+
// this.layoutId = item.id;
|
|
1453
|
+
// this.getPageData();
|
|
1454
|
+
// });
|
|
1455
|
+
}
|
|
1456
|
+
ngOnInit() { }
|
|
1457
|
+
ngOnDestroy() {
|
|
1458
|
+
this.subscription.unsubscribe();
|
|
1459
|
+
}
|
|
1460
|
+
getModuleCode() {
|
|
1461
|
+
let code = this.activatedRoute.snapshot.params['moduleCode'];
|
|
1462
|
+
if (code) {
|
|
1463
|
+
return code;
|
|
1464
|
+
}
|
|
1465
|
+
let arr = this.router.url.split('?')[0].split('/').filter((item) => item);
|
|
1466
|
+
return arr.length > 1 ? arr[1] : null;
|
|
1467
|
+
}
|
|
1468
|
+
getPageData() {
|
|
1469
|
+
if (this.layoutId) {
|
|
1470
|
+
this.loading = true;
|
|
1471
|
+
let address = this.commAPISrv.getLayoutAddress(this.moduleCode, this.layoutId);
|
|
1472
|
+
this.http.post(address).subscribe((res) => {
|
|
1473
|
+
if (res.success) {
|
|
1474
|
+
this.layoutData = res.result;
|
|
1475
|
+
}
|
|
1476
|
+
this.routerChildren();
|
|
1477
|
+
this.loading = false;
|
|
1478
|
+
});
|
|
1479
|
+
}
|
|
1480
|
+
}
|
|
1481
|
+
routerChildren() {
|
|
1482
|
+
let firstRouter = this.activatedRoute.firstChild;
|
|
1483
|
+
if (firstRouter == null && this.layoutData && this.layoutData.listDetail && this.layoutData.listDetail.length > 0) {
|
|
1484
|
+
this.router.navigateByUrl(this.router.url + '/' + this.layoutData.listDetail[0].id);
|
|
1485
|
+
}
|
|
1486
|
+
}
|
|
1487
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebLayoutTabComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }, { token: i3$1.CommAPIService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1488
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebLayoutTabComponent, isStandalone: true, selector: "eweb-layout-tab", providers: [CommAPIService], ngImport: i0, template: "<ng-container *ngIf=\"layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"default-work overflow-hidden\">\n <nz-spin [nzSpinning]=\"loading\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"layoutData!! && layoutData.listDetail!! && layoutData.listDetail.length > 0\">\n <ul nz-menu nzMode=\"horizontal\" class=\"box-layout\">\n <ng-container *ngFor=\"let item of layoutData.listDetail; let index = index\">\n <li nz-menu-item nzMatchRouter>\n <ng-container *ngIf=\"item.izFixed==true;else tmpLink\">\n <a [routerLink]=\"[item.fixedUrl+'/'+layoutId, item.id]\">{{ item?.name }}</a>\n </ng-container>\n <ng-template #tmpLink>\n <a [routerLink]=\"['./', item.id]\">{{ item?.name }}</a>\n </ng-template>\n </li>\n </ng-container>\n </ul>\n <router-outlet></router-outlet>\n </ng-container>\n </nz-spin>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 0 5px 15px}\n"], dependencies: [{ kind: "ngmodule", type: RuntimeSharedImportsModule }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i2.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: i5.PageHeaderComponent, selector: "page-header", inputs: ["title", "titleSub", "loading", "wide", "home", "homeLink", "homeI18n", "autoBreadcrumb", "autoTitle", "syncTitle", "fixed", "fixedOffsetTop", "breadcrumb", "recursiveBreadcrumb", "logo", "action", "content", "extra", "tab"], exportAs: ["pageHeader"] }, { kind: "directive", type: i5$1.ɵ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: i7$2.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i7$2.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "component", type: i6.NzBreadCrumbComponent, selector: "nz-breadcrumb", inputs: ["nzAutoGenerate", "nzSeparator", "nzRouteLabel", "nzRouteLabelFn", "nzRouteFn"], exportAs: ["nzBreadcrumb"] }, { kind: "component", type: i6.NzBreadCrumbItemComponent, selector: "nz-breadcrumb-item", inputs: ["nzOverlay"], exportAs: ["nzBreadcrumbItem"] }, { kind: "component", type: i7.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }] });
|
|
1489
|
+
}
|
|
1490
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebLayoutTabComponent, decorators: [{
|
|
1491
|
+
type: Component,
|
|
1492
|
+
args: [{ selector: 'eweb-layout-tab', providers: [CommAPIService], imports: [
|
|
1493
|
+
RuntimeSharedImportsModule
|
|
1494
|
+
], template: "<ng-container *ngIf=\"layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"default-work overflow-hidden\">\n <nz-spin [nzSpinning]=\"loading\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"layoutData!! && layoutData.listDetail!! && layoutData.listDetail.length > 0\">\n <ul nz-menu nzMode=\"horizontal\" class=\"box-layout\">\n <ng-container *ngFor=\"let item of layoutData.listDetail; let index = index\">\n <li nz-menu-item nzMatchRouter>\n <ng-container *ngIf=\"item.izFixed==true;else tmpLink\">\n <a [routerLink]=\"[item.fixedUrl+'/'+layoutId, item.id]\">{{ item?.name }}</a>\n </ng-container>\n <ng-template #tmpLink>\n <a [routerLink]=\"['./', item.id]\">{{ item?.name }}</a>\n </ng-template>\n </li>\n </ng-container>\n </ul>\n <router-outlet></router-outlet>\n </ng-container>\n </nz-spin>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 0 5px 15px}\n"] }]
|
|
1495
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }, { type: i3$1.CommAPIService }] });
|
|
1496
|
+
|
|
1497
|
+
const JIAQIN_LEGACY_TAB_PAGE_MAP = {
|
|
1498
|
+
'1697892930899906562': '1673862174221049858',
|
|
1499
|
+
'1697895317689569283': '1673935883854192642',
|
|
1500
|
+
'1678642616019288067': '1678571878077698049',
|
|
1501
|
+
'1678642616019288068': '1678574185532100609',
|
|
1502
|
+
'1678642616019288069': '1678574524788379650',
|
|
1503
|
+
'1684595948471111681': '1706225475903229953',
|
|
1504
|
+
};
|
|
1505
|
+
const JIAQIN_LEGACY_TAB_REDIRECT_MAP = {
|
|
1506
|
+
'1697878490666209281': '/jiaqin/manage/attendance/month-report/1684857404135550977',
|
|
1507
|
+
};
|
|
1508
|
+
class LayoutTabDetailComponent {
|
|
1509
|
+
http;
|
|
1510
|
+
activatedRoute;
|
|
1511
|
+
router;
|
|
1512
|
+
commAPISrv;
|
|
1513
|
+
loading = false;
|
|
1514
|
+
/**
|
|
1515
|
+
* 模块编码
|
|
1516
|
+
*/
|
|
1517
|
+
moduleCode = null;
|
|
1518
|
+
/**
|
|
1519
|
+
* 布局详情ID
|
|
1520
|
+
*/
|
|
1521
|
+
id = null;
|
|
1522
|
+
/**
|
|
1523
|
+
* 布局详情数据
|
|
1524
|
+
*/
|
|
1525
|
+
data = null;
|
|
1526
|
+
constructor(http, activatedRoute, router, commAPISrv) {
|
|
1527
|
+
this.http = http;
|
|
1528
|
+
this.activatedRoute = activatedRoute;
|
|
1529
|
+
this.router = router;
|
|
1530
|
+
this.commAPISrv = commAPISrv;
|
|
1531
|
+
this.activatedRoute.params.subscribe((item) => {
|
|
1532
|
+
this.id = item.id;
|
|
1533
|
+
this.moduleCode = _.get(this.activatedRoute.parent.params, 'value.module') || this.getModuleCode();
|
|
1534
|
+
this.getPageData();
|
|
1535
|
+
});
|
|
1536
|
+
}
|
|
1537
|
+
ngOnInit() {
|
|
1538
|
+
}
|
|
1539
|
+
ngOnDestroy() { }
|
|
1540
|
+
getModuleCode() {
|
|
1541
|
+
let arr = this.router.url.split('?')[0].split('/').filter((item) => item);
|
|
1542
|
+
return arr.length > 1 ? arr[1] : null;
|
|
1543
|
+
}
|
|
1544
|
+
getPageData() {
|
|
1545
|
+
if (JIAQIN_LEGACY_TAB_REDIRECT_MAP[this.id]) {
|
|
1546
|
+
this.router.navigateByUrl(JIAQIN_LEGACY_TAB_REDIRECT_MAP[this.id]);
|
|
1547
|
+
return;
|
|
1548
|
+
}
|
|
1549
|
+
if (JIAQIN_LEGACY_TAB_PAGE_MAP[this.id]) {
|
|
1550
|
+
this.data = this.fallbackListData();
|
|
1551
|
+
this.loading = false;
|
|
1552
|
+
return;
|
|
1553
|
+
}
|
|
1554
|
+
this.loading = true;
|
|
1555
|
+
let address = this.commAPISrv.getLayoutDetailAddress(this.moduleCode, this.id);
|
|
1556
|
+
this.http.post(address).subscribe((res) => {
|
|
1557
|
+
let result = res.result;
|
|
1558
|
+
if (res.success && result) {
|
|
1559
|
+
result.module = this.moduleCode;
|
|
1560
|
+
this.data = result;
|
|
1561
|
+
}
|
|
1562
|
+
else {
|
|
1563
|
+
this.data = this.fallbackListData();
|
|
1564
|
+
}
|
|
1565
|
+
this.loading = false;
|
|
1566
|
+
}, () => {
|
|
1567
|
+
this.data = this.fallbackListData();
|
|
1568
|
+
this.loading = false;
|
|
1569
|
+
});
|
|
1570
|
+
}
|
|
1571
|
+
fallbackListData() {
|
|
1572
|
+
const pageId = JIAQIN_LEGACY_TAB_PAGE_MAP[this.id] || this.id;
|
|
1573
|
+
return {
|
|
1574
|
+
module: this.moduleCode,
|
|
1575
|
+
pageType: 'LIST',
|
|
1576
|
+
pageId,
|
|
1577
|
+
rd: Math.random()
|
|
1578
|
+
};
|
|
1579
|
+
}
|
|
1580
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LayoutTabDetailComponent, deps: [{ token: i1._HttpClient }, { token: i2.ActivatedRoute }, { token: i2.Router }, { token: i3$1.CommAPIService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1581
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: LayoutTabDetailComponent, isStandalone: true, selector: "layout-tab-detail", ngImport: i0, template: "<nz-spin [nzSpinning]=\"loading\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"data\">\n <comm-page [data]=\"data\"></comm-page>\n </ng-container>\n</nz-spin>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;overflow:auto}:host ::ng-deep comm-page{padding:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzSpinModule }, { kind: "component", type: i7.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: CommPageModule }, { kind: "component", type: i6$2.CommPageMainComponent, selector: "comm-page", inputs: ["data"], outputs: ["selectEvent", "buttonEvent", "operationEvent", "componentEvent", "buttonAfterEvent", "pageLoadAfterEvent"] }] });
|
|
1582
|
+
}
|
|
1583
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LayoutTabDetailComponent, decorators: [{
|
|
1584
|
+
type: Component,
|
|
1585
|
+
args: [{ selector: 'layout-tab-detail', imports: [
|
|
1586
|
+
CommonModule,
|
|
1587
|
+
FormsModule,
|
|
1588
|
+
ReactiveFormsModule,
|
|
1589
|
+
NzSpinModule,
|
|
1590
|
+
CommPageModule
|
|
1591
|
+
], template: "<nz-spin [nzSpinning]=\"loading\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"data\">\n <comm-page [data]=\"data\"></comm-page>\n </ng-container>\n</nz-spin>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;overflow:auto}:host ::ng-deep comm-page{padding:0}\n"] }]
|
|
1592
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.ActivatedRoute }, { type: i2.Router }, { type: i3$1.CommAPIService }] });
|
|
1593
|
+
|
|
1594
|
+
const routes$1 = [
|
|
1595
|
+
{
|
|
1596
|
+
path: ':id',
|
|
1597
|
+
component: EWebLayoutTabComponent,
|
|
1598
|
+
children: [
|
|
1599
|
+
{
|
|
1600
|
+
path: ':id',
|
|
1601
|
+
component: LayoutTabDetailComponent,
|
|
1602
|
+
},
|
|
1603
|
+
]
|
|
1604
|
+
},
|
|
1605
|
+
{
|
|
1606
|
+
path: ":id", component: LayoutTabDetailComponent,
|
|
1607
|
+
}
|
|
1608
|
+
];
|
|
1609
|
+
class EWebTabRoutingModule {
|
|
1610
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTabRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1611
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebTabRoutingModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
1612
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTabRoutingModule, imports: [RouterModule.forChild(routes$1), RouterModule] });
|
|
1613
|
+
}
|
|
1614
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTabRoutingModule, decorators: [{
|
|
1615
|
+
type: NgModule,
|
|
1616
|
+
args: [{
|
|
1617
|
+
imports: [RouterModule.forChild(routes$1)],
|
|
1618
|
+
exports: [RouterModule],
|
|
1619
|
+
}]
|
|
1620
|
+
}] });
|
|
1621
|
+
|
|
1622
|
+
const COMPONENTS$1 = [EWebLayoutTabComponent, LayoutTabDetailComponent];
|
|
1623
|
+
const COMPONENTS_NOROUNT$1 = [];
|
|
1624
|
+
class EWebTabModule {
|
|
1625
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTabModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1626
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebTabModule, imports: [EWebTabRoutingModule, EWebLayoutTabComponent, LayoutTabDetailComponent] });
|
|
1627
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTabModule, imports: [EWebTabRoutingModule, COMPONENTS$1] });
|
|
1628
|
+
}
|
|
1629
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTabModule, decorators: [{
|
|
1630
|
+
type: NgModule,
|
|
1631
|
+
args: [{
|
|
1632
|
+
imports: [EWebTabRoutingModule, ...COMPONENTS$1]
|
|
1633
|
+
}]
|
|
1634
|
+
}] });
|
|
1635
|
+
|
|
1636
|
+
var index_module$1 = /*#__PURE__*/Object.freeze({
|
|
1637
|
+
__proto__: null,
|
|
1638
|
+
EWebTabModule: EWebTabModule
|
|
1639
|
+
});
|
|
1640
|
+
|
|
1641
|
+
class EWebTreeFormComponent {
|
|
1642
|
+
http;
|
|
1643
|
+
router;
|
|
1644
|
+
activatedRoute;
|
|
1645
|
+
commAPISrv;
|
|
1646
|
+
loading = true;
|
|
1647
|
+
config = null;
|
|
1648
|
+
/**
|
|
1649
|
+
* 模块编码
|
|
1650
|
+
*/
|
|
1651
|
+
moduleCode = null;
|
|
1652
|
+
/**
|
|
1653
|
+
* 布局ID
|
|
1654
|
+
*/
|
|
1655
|
+
layoutId = null;
|
|
1656
|
+
/**
|
|
1657
|
+
* 布局数据
|
|
1658
|
+
*/
|
|
1659
|
+
layoutData;
|
|
1660
|
+
constructor(http, router, activatedRoute, commAPISrv) {
|
|
1661
|
+
this.http = http;
|
|
1662
|
+
this.router = router;
|
|
1663
|
+
this.activatedRoute = activatedRoute;
|
|
1664
|
+
this.commAPISrv = commAPISrv;
|
|
1665
|
+
this.activatedRoute.params.subscribe((item) => {
|
|
1666
|
+
this.moduleCode = item.type;
|
|
1667
|
+
this.layoutId = item.id;
|
|
1668
|
+
this.getPageData();
|
|
1669
|
+
});
|
|
1670
|
+
}
|
|
1671
|
+
ngOnInit() { }
|
|
1672
|
+
ngOnDestroy() { }
|
|
1673
|
+
getPageData() {
|
|
1674
|
+
this.layoutData = null;
|
|
1675
|
+
this.loading = true;
|
|
1676
|
+
let address = this.commAPISrv.getLayoutAddress(this.moduleCode, this.layoutId);
|
|
1677
|
+
if (address) {
|
|
1678
|
+
this.http.post(address).subscribe((res) => {
|
|
1679
|
+
if (res.success) {
|
|
1680
|
+
this.layoutData = res.result;
|
|
1681
|
+
}
|
|
1682
|
+
this.config = {
|
|
1683
|
+
moduleCode: this.moduleCode,
|
|
1684
|
+
layoutData: this.layoutData,
|
|
1685
|
+
};
|
|
1686
|
+
this.loading = false;
|
|
1687
|
+
});
|
|
1688
|
+
}
|
|
1689
|
+
else {
|
|
1690
|
+
this.loading = false;
|
|
1691
|
+
}
|
|
1692
|
+
}
|
|
1693
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeFormComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }, { token: i3$1.CommAPIService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1694
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebTreeFormComponent, isStandalone: true, selector: "eweb-tree-form", providers: [CommAPIService], ngImport: i0, template: "<ng-container *ngIf=\"layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"work-content\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"config!!\">\n <comm-tree-form [data]=\"config\"></comm-tree-form>\n </ng-container>\n </nz-spin>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .work-content{padding:0}:host ::ng-deep .tree-content{display:flex;flex-direction:row;width:100%;height:100%;padding:6px 0 0}:host ::ng-deep .tree-content .tree-left{display:flex;flex-direction:column;width:460px;height:100%;border-right:1px solid #eaeaea}:host ::ng-deep .tree-content .tree-right{display:flex;flex:1;height:100%;overflow:auto}\n"], dependencies: [{ kind: "ngmodule", type: RuntimeSharedImportsModule }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.PageHeaderComponent, selector: "page-header", inputs: ["title", "titleSub", "loading", "wide", "home", "homeLink", "homeI18n", "autoBreadcrumb", "autoTitle", "syncTitle", "fixed", "fixedOffsetTop", "breadcrumb", "recursiveBreadcrumb", "logo", "action", "content", "extra", "tab"], exportAs: ["pageHeader"] }, { kind: "component", type: i6.NzBreadCrumbComponent, selector: "nz-breadcrumb", inputs: ["nzAutoGenerate", "nzSeparator", "nzRouteLabel", "nzRouteLabelFn", "nzRouteFn"], exportAs: ["nzBreadcrumb"] }, { kind: "component", type: i6.NzBreadCrumbItemComponent, selector: "nz-breadcrumb-item", inputs: ["nzOverlay"], exportAs: ["nzBreadcrumbItem"] }, { kind: "component", type: i7.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: CommTreeModule }, { kind: "component", type: i8$2.CommTreeFormComponent, selector: "comm-tree-form", inputs: ["data"] }] });
|
|
1695
|
+
}
|
|
1696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeFormComponent, decorators: [{
|
|
1697
|
+
type: Component,
|
|
1698
|
+
args: [{ selector: 'eweb-tree-form', providers: [CommAPIService], imports: [
|
|
1699
|
+
RuntimeSharedImportsModule,
|
|
1700
|
+
CommTreeModule
|
|
1701
|
+
], template: "<ng-container *ngIf=\"layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"work-content\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"config!!\">\n <comm-tree-form [data]=\"config\"></comm-tree-form>\n </ng-container>\n </nz-spin>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .work-content{padding:0}:host ::ng-deep .tree-content{display:flex;flex-direction:row;width:100%;height:100%;padding:6px 0 0}:host ::ng-deep .tree-content .tree-left{display:flex;flex-direction:column;width:460px;height:100%;border-right:1px solid #eaeaea}:host ::ng-deep .tree-content .tree-right{display:flex;flex:1;height:100%;overflow:auto}\n"] }]
|
|
1702
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }, { type: i3$1.CommAPIService }] });
|
|
1703
|
+
|
|
1704
|
+
class EWebTreeListComponent {
|
|
1705
|
+
http;
|
|
1706
|
+
router;
|
|
1707
|
+
activatedRoute;
|
|
1708
|
+
commAPISrv;
|
|
1709
|
+
loading = true;
|
|
1710
|
+
config = null;
|
|
1711
|
+
/**
|
|
1712
|
+
* 模块编码
|
|
1713
|
+
*/
|
|
1714
|
+
moduleCode = null;
|
|
1715
|
+
/**
|
|
1716
|
+
* 布局ID
|
|
1717
|
+
*/
|
|
1718
|
+
layoutId = null;
|
|
1719
|
+
/**
|
|
1720
|
+
* 布局数据
|
|
1721
|
+
*/
|
|
1722
|
+
layoutData = null;
|
|
1723
|
+
constructor(http, router, activatedRoute, commAPISrv) {
|
|
1724
|
+
this.http = http;
|
|
1725
|
+
this.router = router;
|
|
1726
|
+
this.activatedRoute = activatedRoute;
|
|
1727
|
+
this.commAPISrv = commAPISrv;
|
|
1728
|
+
this.activatedRoute.params.subscribe((item) => {
|
|
1729
|
+
this.moduleCode = item.type;
|
|
1730
|
+
this.layoutId = item.id;
|
|
1731
|
+
this.getPageData();
|
|
1732
|
+
});
|
|
1733
|
+
}
|
|
1734
|
+
ngOnInit() { }
|
|
1735
|
+
ngOnDestroy() { }
|
|
1736
|
+
getPageData() {
|
|
1737
|
+
this.layoutData = null;
|
|
1738
|
+
this.loading = true;
|
|
1739
|
+
let address = this.commAPISrv.getLayoutAddress(this.moduleCode, this.layoutId);
|
|
1740
|
+
if (address) {
|
|
1741
|
+
this.http.post(address).subscribe((res) => {
|
|
1742
|
+
if (res.success) {
|
|
1743
|
+
this.layoutData = res.result;
|
|
1744
|
+
}
|
|
1745
|
+
this.config = {
|
|
1746
|
+
moduleCode: this.moduleCode,
|
|
1747
|
+
layoutData: this.layoutData,
|
|
1748
|
+
};
|
|
1749
|
+
this.loading = false;
|
|
1750
|
+
});
|
|
1751
|
+
}
|
|
1752
|
+
else {
|
|
1753
|
+
this.loading = false;
|
|
1754
|
+
}
|
|
1755
|
+
}
|
|
1756
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeListComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }, { token: i3$1.CommAPIService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1757
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebTreeListComponent, isStandalone: true, selector: "eweb-tree-list", providers: [CommAPIService], ngImport: i0, template: "<ng-container *ngIf=\"layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"work-content\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"config!!\">\n <comm-tree-list [data]=\"config\"></comm-tree-list>\n </ng-container>\n </nz-spin>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px;overflow:auto}:host ::ng-deep .work-content{padding:0;overflow:auto}:host ::ng-deep .tree-content{display:flex;flex-direction:row;width:100%;height:100%;padding:6px 0 0}:host ::ng-deep .tree-content .tree-left{display:flex;flex-direction:column;width:460px;height:100%;border-right:0;background:#fff}:host ::ng-deep .tree-content .tree-right{flex:1;padding:0 0 0 12px}:host ::ng-deep .tree-content .tree-right tree-list-right{background:#fff}\n"], dependencies: [{ kind: "ngmodule", type: RuntimeSharedImportsModule }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.PageHeaderComponent, selector: "page-header", inputs: ["title", "titleSub", "loading", "wide", "home", "homeLink", "homeI18n", "autoBreadcrumb", "autoTitle", "syncTitle", "fixed", "fixedOffsetTop", "breadcrumb", "recursiveBreadcrumb", "logo", "action", "content", "extra", "tab"], exportAs: ["pageHeader"] }, { kind: "component", type: i6.NzBreadCrumbComponent, selector: "nz-breadcrumb", inputs: ["nzAutoGenerate", "nzSeparator", "nzRouteLabel", "nzRouteLabelFn", "nzRouteFn"], exportAs: ["nzBreadcrumb"] }, { kind: "component", type: i6.NzBreadCrumbItemComponent, selector: "nz-breadcrumb-item", inputs: ["nzOverlay"], exportAs: ["nzBreadcrumbItem"] }, { kind: "component", type: i7.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: CommTreeModule }, { kind: "component", type: i8$2.CommTreeListComponent, selector: "comm-tree-list", inputs: ["data"], outputs: ["buttonEvent", "operationEvent", "componentEvent"] }] });
|
|
1758
|
+
}
|
|
1759
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeListComponent, decorators: [{
|
|
1760
|
+
type: Component,
|
|
1761
|
+
args: [{ selector: 'eweb-tree-list', providers: [CommAPIService], imports: [
|
|
1762
|
+
RuntimeSharedImportsModule,
|
|
1763
|
+
CommTreeModule,
|
|
1764
|
+
], template: "<ng-container *ngIf=\"layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"work-content\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"config!!\">\n <comm-tree-list [data]=\"config\"></comm-tree-list>\n </ng-container>\n </nz-spin>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px;overflow:auto}:host ::ng-deep .work-content{padding:0;overflow:auto}:host ::ng-deep .tree-content{display:flex;flex-direction:row;width:100%;height:100%;padding:6px 0 0}:host ::ng-deep .tree-content .tree-left{display:flex;flex-direction:column;width:460px;height:100%;border-right:0;background:#fff}:host ::ng-deep .tree-content .tree-right{flex:1;padding:0 0 0 12px}:host ::ng-deep .tree-content .tree-right tree-list-right{background:#fff}\n"] }]
|
|
1765
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }, { type: i3$1.CommAPIService }] });
|
|
1766
|
+
|
|
1767
|
+
const routes = [
|
|
1768
|
+
{
|
|
1769
|
+
path: 'form/:id',
|
|
1770
|
+
component: EWebTreeFormComponent,
|
|
1771
|
+
},
|
|
1772
|
+
{
|
|
1773
|
+
path: 'list/:id',
|
|
1774
|
+
component: EWebTreeListComponent,
|
|
1775
|
+
},
|
|
1776
|
+
];
|
|
1777
|
+
class EWebTreeRoutingModule {
|
|
1778
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1779
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeRoutingModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
1780
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] });
|
|
1781
|
+
}
|
|
1782
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeRoutingModule, decorators: [{
|
|
42
1783
|
type: NgModule,
|
|
43
1784
|
args: [{
|
|
44
1785
|
imports: [RouterModule.forChild(routes)],
|
|
@@ -46,9 +1787,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
46
1787
|
}]
|
|
47
1788
|
}] });
|
|
48
1789
|
|
|
1790
|
+
const COMPONENTS = [EWebTreeFormComponent, EWebTreeListComponent];
|
|
1791
|
+
const COMPONENTS_NOROUNT = [];
|
|
1792
|
+
class EWebTreeModule {
|
|
1793
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1794
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeModule, imports: [EWebTreeRoutingModule, EWebTreeFormComponent, EWebTreeListComponent] });
|
|
1795
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeModule, imports: [EWebTreeRoutingModule, COMPONENTS] });
|
|
1796
|
+
}
|
|
1797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeModule, decorators: [{
|
|
1798
|
+
type: NgModule,
|
|
1799
|
+
args: [{
|
|
1800
|
+
imports: [EWebTreeRoutingModule, ...COMPONENTS]
|
|
1801
|
+
}]
|
|
1802
|
+
}] });
|
|
1803
|
+
|
|
1804
|
+
var index_module = /*#__PURE__*/Object.freeze({
|
|
1805
|
+
__proto__: null,
|
|
1806
|
+
EWebTreeModule: EWebTreeModule
|
|
1807
|
+
});
|
|
1808
|
+
|
|
49
1809
|
/**
|
|
50
1810
|
* Generated bundle index. Do not edit.
|
|
51
1811
|
*/
|
|
52
1812
|
|
|
53
|
-
export { EWebModule };
|
|
1813
|
+
export { DynamicModule, EWeExtendRoutingModule, EWebDeepModule, EWebExtendModule, EWebFormDeepModule, EWebFormDefaultModule, EWebFormModule, EWebFormRoutingModule, EWebListDeepModule, EWebListDefaultModule, EWebListModule, EWebListNewModule, EWebModule, EWebReportDeepModule, EWebReportDefaultModule, EWebReportModule, EWebReportNewModule, EWebSingleDeepModule, EWebSingleDefaultModule, EWebSingleModule, EWebSingleNewModule, EWebTabModule, EWebTabRoutingModule, EWebTreeModule, EWebTreeRoutingModule };
|
|
54
1814
|
//# sourceMappingURL=e-web.mjs.map
|