@baosight/er4j 0.0.14 → 0.0.16
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/er4j-dist/er4j.css +1 -1
- package/er4j-dist/er4j.es.js +7351 -6395
- package/er4j-dist/er4j.es.js.map +1 -1
- package/er4j-dist/er4j.umd.js +18 -18
- package/er4j-dist/er4j.umd.js.map +1 -1
- package/er4j-dist/iconfont-BmUTCH6X.js +36 -0
- package/er4j-dist/iconfont-BmUTCH6X.js.map +1 -0
- package/er4j-dist/types/assets/iconfont/iconfont.json.d.ts +119 -0
- package/er4j-dist/types/components/ErDialog/ErDialog.vue.d.ts +1 -1
- package/er4j-dist/types/components/ErGrid/HeaderGroup.vue.d.ts +6 -0
- package/er4j-dist/types/components/ErGridStatusBar/ToolbarPanel.vue.d.ts +1 -1
- package/er4j-dist/types/components/ErLayout/ErLayout.vue.d.ts +1 -1
- package/er4j-dist/types/components/ErPopFree/ErPopFree.vue.d.ts +3 -3
- package/er4j-dist/types/components/ErPopQuery/ErPopQuery.vue.d.ts +3 -3
- package/er4j-dist/types/components/ErPopRichEditor/ErPopRichEditor.vue.d.ts +4787 -122
- package/er4j-dist/types/components/ErPopTree/ErPopTree.vue.d.ts +3 -3
- package/er4j-dist/types/locales/erLocale/locale.ar.d.ts +121 -0
- package/er4j-dist/types/locales/erLocale/locale.en.d.ts +121 -0
- package/er4j-dist/types/locales/erLocale/locale.id.d.ts +121 -0
- package/er4j-dist/types/locales/erLocale/locale.zh_Hans.d.ts +122 -0
- package/er4j-dist/types/locales/erLocale/locale.zh_Hant.d.ts +121 -0
- package/er4j-dist/types/type/er-type.d.ts +1 -0
- package/er4j-dist/types/utils/er.d.ts +86 -10
- package/package.json +1 -1
- package/src/views/JA/ER/JAER02.vue +0 -4
- package/er4j-dist/iconfont-CV-ODMQE.js +0 -36
- package/er4j-dist/iconfont-CV-ODMQE.js.map +0 -1
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
ERX: {
|
|
3
|
+
Null: string;
|
|
4
|
+
Reset: string;
|
|
5
|
+
Visible: string;
|
|
6
|
+
Display: string;
|
|
7
|
+
Layout: string;
|
|
8
|
+
Valid: string;
|
|
9
|
+
Invalid: string;
|
|
3
10
|
OperateSuccess: string;
|
|
4
11
|
ConfirmMessage: string;
|
|
5
12
|
CancelMessage: string;
|
|
@@ -30,15 +37,36 @@ declare const _default: {
|
|
|
30
37
|
UploadMaxCount: string;
|
|
31
38
|
UploadFileExist: string;
|
|
32
39
|
UploadMaxCountMessage: string;
|
|
40
|
+
UpdateConfigConfirmMessage: string;
|
|
41
|
+
UpdateConfigSuccessMessage: string;
|
|
42
|
+
UpdateConfigFailedMessage: string;
|
|
43
|
+
NoServiceConfig: string;
|
|
33
44
|
ShowDetails: string;
|
|
34
45
|
HideDetails: string;
|
|
35
46
|
ShowTemplate: string;
|
|
47
|
+
DeleteTemplate: string;
|
|
48
|
+
ShareTemplate: string;
|
|
36
49
|
HideTemplate: string;
|
|
37
50
|
TemplateList: string;
|
|
51
|
+
TemplateDetail: string;
|
|
52
|
+
TemplateEmptyMessage: string;
|
|
53
|
+
TemplateNameEmptyMessage: string;
|
|
54
|
+
TemplateSaveSuccessMessage: string;
|
|
55
|
+
TemplateSaveFailedMessage: string;
|
|
56
|
+
TemplateDeleteSuccessMessage: string;
|
|
57
|
+
TemplateDeleteFailedMessage: string;
|
|
58
|
+
TemplateDeleteConfirmMessage: string;
|
|
59
|
+
TemplateNotAllowOperateOtherPersonMessage: string;
|
|
60
|
+
TemplateShareSuccessMessage: string;
|
|
61
|
+
TemplateShareFailedMessage: string;
|
|
62
|
+
TemplateShareConfirmMessage: string;
|
|
38
63
|
GroupedData: string;
|
|
39
64
|
Horizontal: string;
|
|
40
65
|
Vertical: string;
|
|
66
|
+
Default: string;
|
|
67
|
+
Public: string;
|
|
41
68
|
SetAsDefault: string;
|
|
69
|
+
SetAsPublic: string;
|
|
42
70
|
List: string;
|
|
43
71
|
Details: string;
|
|
44
72
|
Query: string;
|
|
@@ -72,15 +100,60 @@ declare const _default: {
|
|
|
72
100
|
Max: string;
|
|
73
101
|
Min: string;
|
|
74
102
|
Sum: string;
|
|
103
|
+
Field: string;
|
|
104
|
+
FieldDuplicated: string;
|
|
105
|
+
Sort: string;
|
|
75
106
|
SortAsc: string;
|
|
76
107
|
SortDesc: string;
|
|
77
108
|
Sorted: string;
|
|
109
|
+
AdvanceFilter: string;
|
|
110
|
+
BracketNotMatch: string;
|
|
78
111
|
Filter: string;
|
|
112
|
+
FilterValue: string;
|
|
113
|
+
FilterOperator: string;
|
|
79
114
|
Filtered: string;
|
|
80
115
|
FilterClear: string;
|
|
81
116
|
FilterAnd: string;
|
|
82
117
|
FilterOr: string;
|
|
118
|
+
FilterAndOrCaption: string;
|
|
119
|
+
FilterIsNull: string;
|
|
120
|
+
FilterIsNotNull: string;
|
|
121
|
+
FilterIsZero: string;
|
|
122
|
+
FilterIsNotZero: string;
|
|
123
|
+
FilterIsTrue: string;
|
|
124
|
+
FilterIsFalse: string;
|
|
125
|
+
FilterEqual: string;
|
|
126
|
+
FilterNotEqual: string;
|
|
127
|
+
FilterGreaterThan: string;
|
|
128
|
+
FilterLessThan: string;
|
|
129
|
+
FilterGreaterThanOrEqual: string;
|
|
130
|
+
FilterLessThanOrEqual: string;
|
|
131
|
+
FilterBeginWith: string;
|
|
132
|
+
FilterNotBeginWith: string;
|
|
133
|
+
FilterEndWith: string;
|
|
134
|
+
FilterNotEndWith: string;
|
|
135
|
+
FilterContains: string;
|
|
136
|
+
FilterNotContains: string;
|
|
137
|
+
FilterIn: string;
|
|
138
|
+
FilterNotIn: string;
|
|
139
|
+
FilterToday: string;
|
|
140
|
+
FilterYesterday: string;
|
|
141
|
+
FilterCurrentWeek: string;
|
|
142
|
+
FilterRecentWeek: string;
|
|
143
|
+
FilterLastWeek: string;
|
|
144
|
+
FilterCurrentMonth: string;
|
|
145
|
+
FilterRecentMonth: string;
|
|
146
|
+
FilterLastMonth: string;
|
|
147
|
+
FilterCurrentYear: string;
|
|
148
|
+
FilterRecentYear: string;
|
|
149
|
+
FilterLastYear: string;
|
|
150
|
+
FilterCurrentQuarter: string;
|
|
151
|
+
FilterRecentQuarter: string;
|
|
152
|
+
FilterLastQuarter: string;
|
|
153
|
+
FilterRecentHalfYear: string;
|
|
154
|
+
FilterEmptyMessage: string;
|
|
83
155
|
ErGrid: {
|
|
156
|
+
StyleDesc: string;
|
|
84
157
|
ShowQuickFilter: string;
|
|
85
158
|
HideQuickFilter: string;
|
|
86
159
|
ClearColumnFilter: string;
|
|
@@ -91,6 +164,54 @@ declare const _default: {
|
|
|
91
164
|
HideFilterRow: string;
|
|
92
165
|
ShowDetailForm: string;
|
|
93
166
|
QuickFilterPlaceHoder: string;
|
|
167
|
+
AddColumn: string;
|
|
168
|
+
AddCustomColumn: string;
|
|
169
|
+
AddColumnSuccess: string;
|
|
170
|
+
AddColumnFailed: string;
|
|
171
|
+
RemoveColumn: string;
|
|
172
|
+
RemoveColumnSuccess: string;
|
|
173
|
+
RemoveColumnFailed: string;
|
|
174
|
+
CustomColumnTitle: string;
|
|
175
|
+
SaveUserConfig: string;
|
|
176
|
+
SaveUserConfigSuccess: string;
|
|
177
|
+
SaveUserConfigFailed: string;
|
|
178
|
+
ResetUserConfig: string;
|
|
179
|
+
ResetUserConfigSuccess: string;
|
|
180
|
+
ResetUserConfigFailed: string;
|
|
181
|
+
SaveUserConfigConfirmMessage: string;
|
|
182
|
+
ResetUserConfigConfirmMessage: string;
|
|
183
|
+
ResetAllUserConfig: string;
|
|
184
|
+
ResetAllUserConfigSuccess: string;
|
|
185
|
+
ResetAllUserConfigFailed: string;
|
|
186
|
+
ResetAllUserConfigConfirmMessage: string;
|
|
187
|
+
SaveColumnWidth: string;
|
|
188
|
+
SaveColumnWidthSuccess: string;
|
|
189
|
+
SaveColumnWidthFailed: string;
|
|
190
|
+
SaveColumnWidthConfirmMessage: string;
|
|
191
|
+
SaveAllColumnWidth: string;
|
|
192
|
+
SaveAllColumnWidthSuccess: string;
|
|
193
|
+
SaveAllColumnWidthFailed: string;
|
|
194
|
+
SaveAllColumnWidthConfirmMessage: string;
|
|
195
|
+
SaveColumnOrder: string;
|
|
196
|
+
SaveColumnOrderSuccess: string;
|
|
197
|
+
SaveColumnOrderFailed: string;
|
|
198
|
+
SaveColumnOrderConfirmMessage: string;
|
|
199
|
+
SaveAllColumnOrder: string;
|
|
200
|
+
SaveAllColumnOrderSuccess: string;
|
|
201
|
+
SaveAllColumnOrderFailed: string;
|
|
202
|
+
HorizontalAlign: string;
|
|
203
|
+
HorizontalAlignCenter: string;
|
|
204
|
+
HorizontalAlignLeft: string;
|
|
205
|
+
HorizontalAlignRight: string;
|
|
206
|
+
VerticalAlign: string;
|
|
207
|
+
VerticalAlignTop: string;
|
|
208
|
+
VerticalAlignMiddle: string;
|
|
209
|
+
VerticalAlignBottom: string;
|
|
210
|
+
GridPropertiesConfig: string;
|
|
211
|
+
ColumnPropertiesConfig: string;
|
|
212
|
+
ExportOptions: string;
|
|
213
|
+
ExportOptionsNumberAsText: string;
|
|
214
|
+
ExportOptionsSelectedRows: string;
|
|
94
215
|
};
|
|
95
216
|
ErApprovalSteps: {
|
|
96
217
|
ApprovalTitle: string;
|
|
@@ -116,6 +237,7 @@ declare const _default: {
|
|
|
116
237
|
ToolbarPanel: {
|
|
117
238
|
Refresh: string;
|
|
118
239
|
AddRow: string;
|
|
240
|
+
InsertRow: string;
|
|
119
241
|
CopyRow: string;
|
|
120
242
|
Delete: string;
|
|
121
243
|
Save: string;
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
ERX: {
|
|
3
|
+
Null: string;
|
|
4
|
+
Reset: string;
|
|
5
|
+
Visible: string;
|
|
6
|
+
Display: string;
|
|
7
|
+
Layout: string;
|
|
8
|
+
Valid: string;
|
|
9
|
+
Invalid: string;
|
|
3
10
|
OperateSuccess: string;
|
|
4
11
|
ConfirmMessage: string;
|
|
5
12
|
CancelMessage: string;
|
|
@@ -30,15 +37,36 @@ declare const _default: {
|
|
|
30
37
|
UploadMaxCount: string;
|
|
31
38
|
UploadFileExist: string;
|
|
32
39
|
UploadMaxCountMessage: string;
|
|
40
|
+
UpdateConfigConfirmMessage: string;
|
|
41
|
+
UpdateConfigSuccessMessage: string;
|
|
42
|
+
UpdateConfigFailedMessage: string;
|
|
43
|
+
NoServiceConfig: string;
|
|
33
44
|
ShowDetails: string;
|
|
34
45
|
HideDetails: string;
|
|
35
46
|
ShowTemplate: string;
|
|
47
|
+
DeleteTemplate: string;
|
|
48
|
+
ShareTemplate: string;
|
|
36
49
|
HideTemplate: string;
|
|
37
50
|
TemplateList: string;
|
|
51
|
+
TemplateDetail: string;
|
|
52
|
+
TemplateEmptyMessage: string;
|
|
53
|
+
TemplateNameEmptyMessage: string;
|
|
54
|
+
TemplateSaveSuccessMessage: string;
|
|
55
|
+
TemplateSaveFailedMessage: string;
|
|
56
|
+
TemplateDeleteSuccessMessage: string;
|
|
57
|
+
TemplateDeleteFailedMessage: string;
|
|
58
|
+
TemplateDeleteConfirmMessage: string;
|
|
59
|
+
TemplateNotAllowOperateOtherPersonMessage: string;
|
|
60
|
+
TemplateShareSuccessMessage: string;
|
|
61
|
+
TemplateShareFailedMessage: string;
|
|
62
|
+
TemplateShareConfirmMessage: string;
|
|
38
63
|
GroupedData: string;
|
|
39
64
|
Horizontal: string;
|
|
40
65
|
Vertical: string;
|
|
66
|
+
Default: string;
|
|
67
|
+
Public: string;
|
|
41
68
|
SetAsDefault: string;
|
|
69
|
+
SetAsPublic: string;
|
|
42
70
|
List: string;
|
|
43
71
|
Details: string;
|
|
44
72
|
Query: string;
|
|
@@ -72,16 +100,60 @@ declare const _default: {
|
|
|
72
100
|
Max: string;
|
|
73
101
|
Min: string;
|
|
74
102
|
Sum: string;
|
|
103
|
+
Field: string;
|
|
104
|
+
FieldDuplicated: string;
|
|
75
105
|
Sort: string;
|
|
76
106
|
SortAsc: string;
|
|
77
107
|
SortDesc: string;
|
|
78
108
|
Sorted: string;
|
|
109
|
+
AdvanceFilter: string;
|
|
110
|
+
BracketNotMatch: string;
|
|
79
111
|
Filter: string;
|
|
112
|
+
FilterValue: string;
|
|
113
|
+
FilterOperator: string;
|
|
80
114
|
Filtered: string;
|
|
81
115
|
FilterClear: string;
|
|
82
116
|
FilterAnd: string;
|
|
83
117
|
FilterOr: string;
|
|
118
|
+
FilterAndOrCaption: string;
|
|
119
|
+
FilterIsNull: string;
|
|
120
|
+
FilterIsNotNull: string;
|
|
121
|
+
FilterIsZero: string;
|
|
122
|
+
FilterIsNotZero: string;
|
|
123
|
+
FilterIsTrue: string;
|
|
124
|
+
FilterIsFalse: string;
|
|
125
|
+
FilterEqual: string;
|
|
126
|
+
FilterNotEqual: string;
|
|
127
|
+
FilterGreaterThan: string;
|
|
128
|
+
FilterLessThan: string;
|
|
129
|
+
FilterGreaterThanOrEqual: string;
|
|
130
|
+
FilterLessThanOrEqual: string;
|
|
131
|
+
FilterBeginWith: string;
|
|
132
|
+
FilterNotBeginWith: string;
|
|
133
|
+
FilterEndWith: string;
|
|
134
|
+
FilterNotEndWith: string;
|
|
135
|
+
FilterContains: string;
|
|
136
|
+
FilterNotContains: string;
|
|
137
|
+
FilterIn: string;
|
|
138
|
+
FilterNotIn: string;
|
|
139
|
+
FilterToday: string;
|
|
140
|
+
FilterYesterday: string;
|
|
141
|
+
FilterCurrentWeek: string;
|
|
142
|
+
FilterRecentWeek: string;
|
|
143
|
+
FilterLastWeek: string;
|
|
144
|
+
FilterCurrentMonth: string;
|
|
145
|
+
FilterRecentMonth: string;
|
|
146
|
+
FilterLastMonth: string;
|
|
147
|
+
FilterCurrentYear: string;
|
|
148
|
+
FilterRecentYear: string;
|
|
149
|
+
FilterLastYear: string;
|
|
150
|
+
FilterCurrentQuarter: string;
|
|
151
|
+
FilterRecentQuarter: string;
|
|
152
|
+
FilterLastQuarter: string;
|
|
153
|
+
FilterRecentHalfYear: string;
|
|
154
|
+
FilterEmptyMessage: string;
|
|
84
155
|
ErGrid: {
|
|
156
|
+
StyleDesc: string;
|
|
85
157
|
ShowQuickFilter: string;
|
|
86
158
|
HideQuickFilter: string;
|
|
87
159
|
ClearColumnFilter: string;
|
|
@@ -92,6 +164,54 @@ declare const _default: {
|
|
|
92
164
|
HideFilterRow: string;
|
|
93
165
|
ShowDetailForm: string;
|
|
94
166
|
QuickFilterPlaceHoder: string;
|
|
167
|
+
AddColumn: string;
|
|
168
|
+
AddCustomColumn: string;
|
|
169
|
+
AddColumnSuccess: string;
|
|
170
|
+
AddColumnFailed: string;
|
|
171
|
+
RemoveColumn: string;
|
|
172
|
+
RemoveColumnSuccess: string;
|
|
173
|
+
RemoveColumnFailed: string;
|
|
174
|
+
CustomColumnTitle: string;
|
|
175
|
+
SaveUserConfig: string;
|
|
176
|
+
SaveUserConfigSuccess: string;
|
|
177
|
+
SaveUserConfigFailed: string;
|
|
178
|
+
ResetUserConfig: string;
|
|
179
|
+
ResetUserConfigSuccess: string;
|
|
180
|
+
ResetUserConfigFailed: string;
|
|
181
|
+
SaveUserConfigConfirmMessage: string;
|
|
182
|
+
ResetUserConfigConfirmMessage: string;
|
|
183
|
+
ResetAllUserConfig: string;
|
|
184
|
+
ResetAllUserConfigSuccess: string;
|
|
185
|
+
ResetAllUserConfigFailed: string;
|
|
186
|
+
ResetAllUserConfigConfirmMessage: string;
|
|
187
|
+
SaveColumnWidth: string;
|
|
188
|
+
SaveColumnWidthSuccess: string;
|
|
189
|
+
SaveColumnWidthFailed: string;
|
|
190
|
+
SaveColumnWidthConfirmMessage: string;
|
|
191
|
+
SaveAllColumnWidth: string;
|
|
192
|
+
SaveAllColumnWidthSuccess: string;
|
|
193
|
+
SaveAllColumnWidthFailed: string;
|
|
194
|
+
SaveAllColumnWidthConfirmMessage: string;
|
|
195
|
+
SaveColumnOrder: string;
|
|
196
|
+
SaveColumnOrderSuccess: string;
|
|
197
|
+
SaveColumnOrderFailed: string;
|
|
198
|
+
SaveColumnOrderConfirmMessage: string;
|
|
199
|
+
SaveAllColumnOrder: string;
|
|
200
|
+
SaveAllColumnOrderSuccess: string;
|
|
201
|
+
SaveAllColumnOrderFailed: string;
|
|
202
|
+
HorizontalAlign: string;
|
|
203
|
+
HorizontalAlignCenter: string;
|
|
204
|
+
HorizontalAlignLeft: string;
|
|
205
|
+
HorizontalAlignRight: string;
|
|
206
|
+
VerticalAlign: string;
|
|
207
|
+
VerticalAlignTop: string;
|
|
208
|
+
VerticalAlignMiddle: string;
|
|
209
|
+
VerticalAlignBottom: string;
|
|
210
|
+
GridPropertiesConfig: string;
|
|
211
|
+
ColumnPropertiesConfig: string;
|
|
212
|
+
ExportOptions: string;
|
|
213
|
+
ExportOptionsNumberAsText: string;
|
|
214
|
+
ExportOptionsSelectedRows: string;
|
|
95
215
|
};
|
|
96
216
|
ErApprovalSteps: {
|
|
97
217
|
ApprovalTitle: string;
|
|
@@ -117,6 +237,7 @@ declare const _default: {
|
|
|
117
237
|
ToolbarPanel: {
|
|
118
238
|
Refresh: string;
|
|
119
239
|
AddRow: string;
|
|
240
|
+
InsertRow: string;
|
|
120
241
|
CopyRow: string;
|
|
121
242
|
Delete: string;
|
|
122
243
|
Save: string;
|
|
@@ -10,7 +10,21 @@ export declare namespace ER {
|
|
|
10
10
|
interface Culture {
|
|
11
11
|
ar: string;
|
|
12
12
|
en: string;
|
|
13
|
+
id: string;
|
|
13
14
|
zh_Hans: string;
|
|
15
|
+
zh_Hant: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* 调用服务选项
|
|
19
|
+
* @interface CallServiceOptions
|
|
20
|
+
* @property {boolean | 'modal'} [messageError] - 是否显示错误消息
|
|
21
|
+
* @property {boolean} [toCamelCase] - 是否将元数据转换为驼峰命名
|
|
22
|
+
* @property {string} [partition] - 分区
|
|
23
|
+
*/
|
|
24
|
+
interface CallServiceOptions {
|
|
25
|
+
messageError?: boolean | 'modal';
|
|
26
|
+
toCamelCase?: boolean;
|
|
27
|
+
partition?: string;
|
|
14
28
|
}
|
|
15
29
|
interface ErLayoutOptions {
|
|
16
30
|
context?: {
|
|
@@ -477,6 +491,23 @@ export declare namespace ER {
|
|
|
477
491
|
beforePreview?: (file: File) => boolean;
|
|
478
492
|
afterPreview?: (file: File) => void;
|
|
479
493
|
}
|
|
494
|
+
interface CheckboxOption {
|
|
495
|
+
label: string;
|
|
496
|
+
value: string;
|
|
497
|
+
}
|
|
498
|
+
interface RadioGroupOption {
|
|
499
|
+
title: string;
|
|
500
|
+
key: string;
|
|
501
|
+
options: CheckboxOption[];
|
|
502
|
+
}
|
|
503
|
+
interface SelectModalOptions {
|
|
504
|
+
checkboxOptions?: CheckboxOption[];
|
|
505
|
+
radioGroups?: RadioGroupOption[];
|
|
506
|
+
title?: string;
|
|
507
|
+
width?: number;
|
|
508
|
+
okText?: string;
|
|
509
|
+
cancelText?: string;
|
|
510
|
+
}
|
|
480
511
|
class Class {
|
|
481
512
|
#private;
|
|
482
513
|
protected _events: {};
|
|
@@ -498,7 +529,27 @@ export declare namespace ER {
|
|
|
498
529
|
* @returns jQuery
|
|
499
530
|
*/
|
|
500
531
|
static jQuery(selector: any): any;
|
|
532
|
+
/**
|
|
533
|
+
* 将下划线命名转换为驼峰命名
|
|
534
|
+
* @param str 下划线命名
|
|
535
|
+
* @returns 驼峰命名
|
|
536
|
+
*/
|
|
537
|
+
static camelCase(str: string): string;
|
|
538
|
+
/**
|
|
539
|
+
* 加密数据
|
|
540
|
+
* @param plaintext 明文
|
|
541
|
+
* @param key 密钥
|
|
542
|
+
* @param iv 初始化向量
|
|
543
|
+
* @returns 加密后的数据
|
|
544
|
+
*/
|
|
501
545
|
static encryptData(plaintext: string, key: string, iv: string): string;
|
|
546
|
+
/**
|
|
547
|
+
* 解密数据
|
|
548
|
+
* @param ciphertext 密文
|
|
549
|
+
* @param key 密钥
|
|
550
|
+
* @param iv 初始化向量
|
|
551
|
+
* @returns 解密后的数据
|
|
552
|
+
*/
|
|
502
553
|
static decryptData(ciphertext: string, key: string, iv: string): string;
|
|
503
554
|
/**
|
|
504
555
|
* 获取系统支持的语言列表
|
|
@@ -674,6 +725,15 @@ export declare namespace ER {
|
|
|
674
725
|
* @returns 列头模版
|
|
675
726
|
*/
|
|
676
727
|
static getGridHeaderTemplate(header: any): string;
|
|
728
|
+
/**
|
|
729
|
+
* 弹出一个包含 checkbox + 多个 radiogroup 的 modal
|
|
730
|
+
* @param config 弹窗内容配置
|
|
731
|
+
* @param onConfirm 用户点击“确认”后的回调,返回 { checkboxes, radios }
|
|
732
|
+
*/
|
|
733
|
+
static openSelectOptionsModal(config: SelectModalOptions, onConfirm: (result: {
|
|
734
|
+
checkboxes: string[];
|
|
735
|
+
radios: Record<string, string>;
|
|
736
|
+
}) => void): void;
|
|
677
737
|
/**
|
|
678
738
|
* 暂停当前线程一段时间
|
|
679
739
|
* @param seconds 暂停时间(毫秒)
|
|
@@ -681,11 +741,11 @@ export declare namespace ER {
|
|
|
681
741
|
*/
|
|
682
742
|
static sleep(seconds: number): Promise<void>;
|
|
683
743
|
/**
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
744
|
+
* 根据数据及表达式脚本判断是否满足
|
|
745
|
+
* @param data 数据
|
|
746
|
+
* @param expression 脚本
|
|
747
|
+
* @returns 是否满足
|
|
748
|
+
*/
|
|
689
749
|
static checkExpressionValid(data: {
|
|
690
750
|
[key: string]: any;
|
|
691
751
|
}, expression: string): boolean;
|
|
@@ -1272,11 +1332,11 @@ export declare namespace ER {
|
|
|
1272
1332
|
* @param serviceTransformer 请求/响应数据处理回调函数
|
|
1273
1333
|
* @returns Promise EiInfo
|
|
1274
1334
|
*/
|
|
1275
|
-
static callService(
|
|
1335
|
+
static callService(svcName: string, data: EiInfo, loadingOptions?: {
|
|
1276
1336
|
show?: boolean;
|
|
1277
1337
|
tip?: string;
|
|
1278
1338
|
delay?: number;
|
|
1279
|
-
},
|
|
1339
|
+
}, options?: CallServiceOptions): Promise<EiInfo>;
|
|
1280
1340
|
}
|
|
1281
1341
|
class SysInfo {
|
|
1282
1342
|
/**
|
|
@@ -2757,6 +2817,12 @@ export declare namespace ER {
|
|
|
2757
2817
|
* @returns 属性值
|
|
2758
2818
|
*/
|
|
2759
2819
|
getGridOptions(configId: string, key: string, isReactive?: boolean): any;
|
|
2820
|
+
/**
|
|
2821
|
+
* 获取Layout的配置扩展属性(包括系统全局默认Layout属性)
|
|
2822
|
+
* @param configId 配置代码
|
|
2823
|
+
* @returns options
|
|
2824
|
+
*/
|
|
2825
|
+
getLayoutExtentedOptions(configId: string): any;
|
|
2760
2826
|
/**
|
|
2761
2827
|
* 获取Grid的配置扩展属性(包括系统全局默认Grid属性)
|
|
2762
2828
|
* @param configId 配置代码
|
|
@@ -2972,7 +3038,7 @@ export declare namespace ER {
|
|
|
2972
3038
|
*/
|
|
2973
3039
|
getAllControlValueAsEiBlock(configId: string | Array<string>, extendJson?: {
|
|
2974
3040
|
[key: string]: any;
|
|
2975
|
-
}): EiBlock;
|
|
3041
|
+
}, blockName?: string): EiBlock;
|
|
2976
3042
|
/**
|
|
2977
3043
|
* 获取配置区域内所有控件的值,并以此生成查询条件的结构[后台服务需支持]
|
|
2978
3044
|
* @param configId 配置区域代码
|
|
@@ -3118,6 +3184,7 @@ export declare namespace ER {
|
|
|
3118
3184
|
*/
|
|
3119
3185
|
private setGridInitialEvent;
|
|
3120
3186
|
private processRowSelectedEvent;
|
|
3187
|
+
private getGridContextMenuItems;
|
|
3121
3188
|
private setGridContextMenu;
|
|
3122
3189
|
/**
|
|
3123
3190
|
* 维护配置的扩展信息
|
|
@@ -3221,6 +3288,7 @@ export declare namespace ER {
|
|
|
3221
3288
|
* @returns this
|
|
3222
3289
|
*/
|
|
3223
3290
|
private setGridColumnNumberEditor;
|
|
3291
|
+
private setGridColumnImageUpload;
|
|
3224
3292
|
getGridMenuItems(params: any): any;
|
|
3225
3293
|
/**
|
|
3226
3294
|
* 设置Grid的列头菜单信息
|
|
@@ -3504,7 +3572,7 @@ export declare namespace ER {
|
|
|
3504
3572
|
show?: boolean;
|
|
3505
3573
|
tip?: string;
|
|
3506
3574
|
delay?: number;
|
|
3507
|
-
},
|
|
3575
|
+
}, options?: CallServiceOptions): Promise<EiInfo>;
|
|
3508
3576
|
/**
|
|
3509
3577
|
* 动态SQL查询
|
|
3510
3578
|
* @param svcName 自定义服务名称,传空时默认系统服务
|
|
@@ -3627,6 +3695,14 @@ export declare namespace ER {
|
|
|
3627
3695
|
* @returns DataTable | undefined
|
|
3628
3696
|
*/
|
|
3629
3697
|
getGridBindingTable(grid: any): DataTable | undefined;
|
|
3698
|
+
/**
|
|
3699
|
+
* 获取Grid的结构
|
|
3700
|
+
* @param grid Grid
|
|
3701
|
+
* @param onlyGridColumns 是否仅获取Grid中存在的字段
|
|
3702
|
+
* @param blockName 块名
|
|
3703
|
+
* @returns EiBlock
|
|
3704
|
+
*/
|
|
3705
|
+
getGridStructureAsBlock(grid: any, onlyGridColumns?: boolean, blockName?: string): EiBlock;
|
|
3630
3706
|
/**
|
|
3631
3707
|
* 获取Grid的选中行[无勾选框时为当前行]
|
|
3632
3708
|
* @param grid
|
|
@@ -4216,7 +4292,7 @@ export declare namespace ER {
|
|
|
4216
4292
|
* 关闭弹出画面
|
|
4217
4293
|
*/
|
|
4218
4294
|
CloseDialog(): void;
|
|
4219
|
-
queryMainGridInfo: () => void;
|
|
4295
|
+
queryMainGridInfo: (showMsg?: boolean) => void;
|
|
4220
4296
|
/**
|
|
4221
4297
|
* 自动勾选记录
|
|
4222
4298
|
*/
|
package/package.json
CHANGED
|
@@ -14,10 +14,6 @@
|
|
|
14
14
|
|
|
15
15
|
<script lang="ts" setup name="JAER02">
|
|
16
16
|
import { getCurrentInstance } from "vue";
|
|
17
|
-
// import { ER } from '@/utils/er';
|
|
18
|
-
// import ErPanel from '@/components/ErPanel/ErPanel.vue';
|
|
19
|
-
// import ErLayout from '@/components/ErLayout/ErLayout.vue';
|
|
20
|
-
// import ErGrid from '@/components/ErGrid/ErGrid.vue';
|
|
21
17
|
|
|
22
18
|
import { ER, ErPanel, ErGrid, ErLayout } from "@baosight/er4j";
|
|
23
19
|
|