super-page-runtime 2.2.92 → 2.3.0-sit1
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/dist/es/components/runtime/utils/api/page-expose-util.js +25 -25
- package/dist/es/components/runtime/utils/events/event-util.js +109 -108
- package/dist/es/components/runtime/utils/events/print-label.js +53 -40
- package/dist/es/components/runtime/utils/events/standard-event.js +127 -115
- package/dist/es/components/runtime/utils/page-helper-util.d.ts +13 -2
- package/dist/es/components/runtime/utils/page-helper-util.js +169 -162
- package/dist/es/components/runtime/utils/page-init-util.js +10 -7
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +22 -22
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +16 -16
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +21 -21
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +18 -18
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +17 -17
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +53 -54
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +206 -175
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +111 -91
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +31 -10
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +46 -38
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +39 -24
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +21 -21
- package/dist/es/index.d.ts +2 -2
- package/dist/es/index.js +2 -1
- package/package.json +2 -2
|
@@ -26,20 +26,20 @@ const j = { save: function(e2) {
|
|
|
26
26
|
const t2 = e2.pageContext.code + "_";
|
|
27
27
|
C.$emit(t2 + "export-pdf-report", e2);
|
|
28
28
|
}, submit: function(e2) {
|
|
29
|
-
return
|
|
29
|
+
return Q(e2, false, "submit", "/dsc/commons/submits");
|
|
30
30
|
}, submitList: function(e2) {
|
|
31
|
-
return
|
|
31
|
+
return Q(e2, true, "submit", "/dsc/commons/batch-submits");
|
|
32
32
|
}, agree: function(e2) {
|
|
33
|
-
return
|
|
33
|
+
return Q(e2, false, "agree", "/dsc/commons/approves");
|
|
34
34
|
}, agreeList: function(e2) {
|
|
35
|
-
return
|
|
35
|
+
return Q(e2, true, "agree", "/dsc/commons/batch-approves");
|
|
36
36
|
}, disagree: function(e2) {
|
|
37
|
-
return
|
|
37
|
+
return Q(e2, false, "disagree", "/dsc/commons/refuses");
|
|
38
38
|
}, disagreeList: function(e2) {
|
|
39
|
-
return
|
|
39
|
+
return Q(e2, true, "disagree", "/dsc/commons/batch-refuses");
|
|
40
40
|
}, back: function(e2) {
|
|
41
41
|
const t2 = e2.pageContext, s2 = t2.entity ? t2.entity.data : {}, n2 = !(!e2.configureObj.props || !e2.configureObj.props.base) && e2.configureObj.props.base.isNeedValueMapping;
|
|
42
|
-
|
|
42
|
+
J(t2, e2.configureObj, s2, n2);
|
|
43
43
|
}, delete: function(e2) {
|
|
44
44
|
return function(e3) {
|
|
45
45
|
return new Promise((s2, i2) => {
|
|
@@ -126,11 +126,11 @@ const j = { save: function(e2) {
|
|
|
126
126
|
const i2 = e3.pageContext, a2 = i2.entity.data, r2 = i2.systemCode, p2 = i2.backendUrl;
|
|
127
127
|
let d2 = n(p2, i2.isTest) + "/dsc/workflow-commons";
|
|
128
128
|
if (d2 = o(d2, r2, p2, i2.isTest), !d2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
129
|
-
const m2 =
|
|
129
|
+
const m2 = ee(e3);
|
|
130
130
|
let f2;
|
|
131
131
|
f2 = a2.id || a2.ID ? c.put(d2, m2) : c.post(d2, m2), f2.then((s3) => {
|
|
132
132
|
let n2 = true;
|
|
133
|
-
s3 && (n2 =
|
|
133
|
+
s3 && (n2 = te(s3, false, i2, e3, null)), true === n2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulSave") }), C.$emit("clearTableAllEndEditing"), t2(true);
|
|
134
134
|
}).catch((e4) => {
|
|
135
135
|
s2(e4);
|
|
136
136
|
});
|
|
@@ -142,29 +142,29 @@ const j = { save: function(e2) {
|
|
|
142
142
|
const i2 = e3.pageContext, a2 = i2.systemCode, r2 = i2.backendUrl;
|
|
143
143
|
let p2 = n(r2, i2.isTest) + "/dsc/workflow-commons/submit";
|
|
144
144
|
if (p2 = o(p2, a2, r2, i2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
145
|
-
const d2 =
|
|
145
|
+
const d2 = ee(e3), m2 = c.post(p2, d2);
|
|
146
146
|
m2 && m2.then((s3) => {
|
|
147
147
|
let n2 = true;
|
|
148
|
-
s3 && (n2 =
|
|
148
|
+
s3 && (n2 = te(s3, false, i2, e3, null)), true === n2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulSubmit") }), C.$emit("clearTableAllEndEditing"), t2(true);
|
|
149
149
|
}).catch((e4) => {
|
|
150
150
|
s2(e4);
|
|
151
151
|
});
|
|
152
152
|
});
|
|
153
153
|
}(e2);
|
|
154
154
|
}, submitTask: function(e2) {
|
|
155
|
-
return
|
|
155
|
+
return se(e2, "SUBMIT");
|
|
156
156
|
}, approve: function(e2) {
|
|
157
|
-
return
|
|
157
|
+
return se(e2, "APPROVE");
|
|
158
158
|
}, refuse: function(e2) {
|
|
159
|
-
return
|
|
159
|
+
return se(e2, "REFUSE");
|
|
160
160
|
}, readed: function(e2) {
|
|
161
|
-
return
|
|
161
|
+
return se(e2, "READED");
|
|
162
162
|
}, agreement: function(e2) {
|
|
163
|
-
return
|
|
163
|
+
return se(e2, "AGREEMENT");
|
|
164
164
|
}, oppose: function(e2) {
|
|
165
|
-
return
|
|
165
|
+
return se(e2, "OPPOSE");
|
|
166
166
|
}, kiken: function(e2) {
|
|
167
|
-
return
|
|
167
|
+
return se(e2, "KIKEN");
|
|
168
168
|
}, assign: function(e2) {
|
|
169
169
|
return function(e3) {
|
|
170
170
|
const t2 = e3.pageContext, s2 = t2.code + "_";
|
|
@@ -182,23 +182,23 @@ const j = { save: function(e2) {
|
|
|
182
182
|
}(e2);
|
|
183
183
|
}, drawTask: function(e2) {
|
|
184
184
|
return function(e3) {
|
|
185
|
-
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/draw-tasks", i2 =
|
|
186
|
-
return
|
|
185
|
+
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/draw-tasks", i2 = ee(e3);
|
|
186
|
+
return ce(e3, i2, o2, "superPageRuntimeMessage.successfulDrawTask");
|
|
187
187
|
}(e2);
|
|
188
188
|
}, abandonReceive: function(e2) {
|
|
189
189
|
return function(e3) {
|
|
190
|
-
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/abandon-receives", i2 =
|
|
191
|
-
return
|
|
190
|
+
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/abandon-receives", i2 = ee(e3);
|
|
191
|
+
return ce(e3, i2, o2, "superPageRuntimeMessage.successfulAbandonReceive");
|
|
192
192
|
}(e2);
|
|
193
193
|
}, returnToPreviousTask: function(e2) {
|
|
194
194
|
return function(e3) {
|
|
195
|
-
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", i2 =
|
|
196
|
-
return
|
|
195
|
+
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", i2 = ee(e3);
|
|
196
|
+
return ce(e3, i2, o2, "superPageRuntimeMessage.successfulReturnToPreviousTask");
|
|
197
197
|
}(e2);
|
|
198
198
|
}, endInstance: function(e2) {
|
|
199
199
|
return function(e3) {
|
|
200
|
-
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/end-instance", i2 =
|
|
201
|
-
return
|
|
200
|
+
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/end-instance", i2 = ee(e3);
|
|
201
|
+
return ce(e3, i2, o2, "superPageRuntimeMessage.successfulEndInstance");
|
|
202
202
|
}(e2);
|
|
203
203
|
}, returnTaskTo: function(e2) {
|
|
204
204
|
return function(e3) {
|
|
@@ -212,8 +212,8 @@ const j = { save: function(e2) {
|
|
|
212
212
|
}(e2);
|
|
213
213
|
}, retrieveTask: function(e2) {
|
|
214
214
|
return function(e3) {
|
|
215
|
-
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/retrieves", i2 =
|
|
216
|
-
return
|
|
215
|
+
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/retrieves", i2 = ee(e3);
|
|
216
|
+
return ce(e3, i2, o2, "superPageRuntimeMessage.successfulRetrieve");
|
|
217
217
|
}(e2);
|
|
218
218
|
}, viewDetail: function(e2) {
|
|
219
219
|
}, lineEditCreate: function(e2) {
|
|
@@ -235,7 +235,7 @@ const j = { save: function(e2) {
|
|
|
235
235
|
}, resetCharts: function(t2) {
|
|
236
236
|
var _a, _b;
|
|
237
237
|
const s2 = t2.pageContext;
|
|
238
|
-
s2.entity.data
|
|
238
|
+
Object.assign(s2.entity.data, e((_a = s2.initChartData) == null ? void 0 : _a.data)), Object.assign(s2.entity.page, e((_b = s2.initChartData) == null ? void 0 : _b.page)), t2.isInitChart = true, D(t2);
|
|
239
239
|
}, exportCharts: function(e2) {
|
|
240
240
|
!function(e3) {
|
|
241
241
|
const t2 = e3.pageContext, s2 = t2.allChartUuids;
|
|
@@ -289,7 +289,7 @@ function L(e2, s2, o2, i2) {
|
|
|
289
289
|
var _a;
|
|
290
290
|
const a2 = o2.templateUuid, r2 = o2.templateName, c2 = e2.systemCode, u2 = (_a = s2.props.base) == null ? void 0 : _a.logSetting, l2 = t(e2), p2 = e2.beanName, d2 = s2.props.base, m2 = s2.tableName ? s2.tableName : e2.tableName, f2 = e2.backendUrl, g2 = E.getFormViewData(e2), b2 = void 0 === d2.isPermission || "true" === d2.isPermission || d2.isPermission, C2 = { entity: g2, fileName: a2, showName: r2, beanName: p2, isWorkflowForm: l2, functionCode: k(s2, e2), tableName: m2, isPermission: b2 + "", systemCode: c2, listCodesMap: e2.listCodesMap, pageCode: e2.code, pageVersion: e2.version };
|
|
291
291
|
u2 && (C2.logSettingText = u2.join(""));
|
|
292
|
-
const y2 =
|
|
292
|
+
const y2 = ie(e2);
|
|
293
293
|
let h2;
|
|
294
294
|
C2.additionalParamMap = y2, h2 = i2 ? function(e3, t2, s3, o3) {
|
|
295
295
|
return new Promise((i3, a3) => {
|
|
@@ -350,13 +350,13 @@ function V(e2, n2, o2, i2, a2, r2, c2) {
|
|
|
350
350
|
r2 && (f2.ids = r2), e2.judgeHeavyList && (s(e2.judgeHeavyList) ? f2.judgeHeavyList = JSON.stringify(e2.judgeHeavyList) : f2.judgeHeavyList = e2.judgeHeavyList);
|
|
351
351
|
const g2 = n2.props.base.conversionCodes;
|
|
352
352
|
g2 && (s(g2) ? f2.dataConversionRule = g2.join(",") : "string" == typeof g2 && (f2.dataConversionRule = g2));
|
|
353
|
-
const b2 =
|
|
353
|
+
const b2 = Ce(n2);
|
|
354
354
|
b2 && (f2.autoSetValueData = b2);
|
|
355
355
|
const C2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
|
|
356
356
|
C2 && (f2.logSettingText = C2.join("")), f2.systemCode || (f2.systemCode = l2);
|
|
357
357
|
const T2 = e2.beanName;
|
|
358
358
|
T2 && (f2.beanName = T2), a2 && (f2.dynamicColumnInfo = a2), i2 && (f2.mainDefaultValueColumns = i2);
|
|
359
|
-
const y2 =
|
|
359
|
+
const y2 = ie(e2);
|
|
360
360
|
return f2.additionalParamMap = y2, void 0 !== o2 && (f2.unControlVersion = o2), f2;
|
|
361
361
|
}
|
|
362
362
|
function F(e2, t2, s2, i2, a2, r2, u2, l2) {
|
|
@@ -373,10 +373,10 @@ function $(e2, t2, s2, n2, o2, i2) {
|
|
|
373
373
|
}
|
|
374
374
|
function q(t2, s2, n2, o2, i2) {
|
|
375
375
|
const a2 = H(t2, s2, i2);
|
|
376
|
-
a2 && "list" === a2
|
|
376
|
+
if (a2 && "list" === a2) !function(t3, s3, n3, o3) {
|
|
377
377
|
let i3 = s3.props.base.successOperation;
|
|
378
378
|
const a3 = s3.props.base.isNeedValueMapping, r2 = h(t3, s3);
|
|
379
|
-
i3 || (i3 = "refresh");
|
|
379
|
+
i3 || z.includes(s3.name) || (i3 = "refresh");
|
|
380
380
|
if ("refresh" === i3) {
|
|
381
381
|
if (r2) {
|
|
382
382
|
b(t3, r2).refresh();
|
|
@@ -384,29 +384,40 @@ function q(t2, s2, n2, o2, i2) {
|
|
|
384
384
|
} else if ("closeWindow" === i3 || "closeWindowAndRefresh" === i3) {
|
|
385
385
|
const o4 = e(t3.entity.page);
|
|
386
386
|
let i4 = n3;
|
|
387
|
-
i4 || (i4 = {}), Object.assign(o4, i4),
|
|
387
|
+
i4 || (i4 = {}), Object.assign(o4, i4), J(t3, s3, o4, a3);
|
|
388
388
|
}
|
|
389
389
|
o3 && l({ message: u().t(o3), type: "success", showClose: true });
|
|
390
|
-
}(t2, s2, n2, o2), t2.canClick = true
|
|
390
|
+
}(t2, s2, n2, o2), t2.canClick = true;
|
|
391
|
+
else if (a2 && "form" === a2) !function(e2, t3, s3, n3) {
|
|
391
392
|
if (s3) {
|
|
392
393
|
const n4 = s3;
|
|
393
394
|
let o3;
|
|
394
395
|
o3 = n4.entity ? n4.entity : n4, n4.formNo && (e2.initFormNo = n4.formNo);
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
}
|
|
401
|
-
}
|
|
396
|
+
G(e2, t3, { ...o3, ...e2.entity.page });
|
|
397
|
+
} else {
|
|
398
|
+
const s4 = t3.props.base.successOperation;
|
|
399
|
+
if (s4 && null !== s4) {
|
|
400
|
+
G(e2, t3, { ...e2.entity.page });
|
|
401
|
+
} else e2.canClick = true;
|
|
402
|
+
}
|
|
402
403
|
n3 && l({ message: u().t(n3), type: "success", showClose: true });
|
|
403
|
-
}(t2, s2, n2, o2)
|
|
404
|
+
}(t2, s2, n2, o2);
|
|
405
|
+
else {
|
|
406
|
+
const e2 = s2.props.base.successOperation;
|
|
407
|
+
e2 && null !== e2 ? G(t2, s2, null) : t2.canClick = true;
|
|
408
|
+
}
|
|
404
409
|
}
|
|
405
410
|
function H(e2, t2, s2) {
|
|
406
411
|
let n2;
|
|
407
412
|
return void 0 === s2 ? n2 = t2.props.base.tableUuid ? "list" : null : false === s2 && (n2 = "form"), n2 || (n2 = e2.pageType), n2;
|
|
408
413
|
}
|
|
409
|
-
function G(e2, t2, s2
|
|
414
|
+
function G(e2, t2, s2) {
|
|
415
|
+
const n2 = t2.props.base.successOperation;
|
|
416
|
+
if (!n2 || null === n2) return;
|
|
417
|
+
const o2 = t2.props.base.isNeedValueMapping;
|
|
418
|
+
"noOperation" === n2 ? (s2 && (e2.entity.data = s2), e2.canClick = true) : "refresh" === n2 ? s2 && (s2.id || s2.ID) ? fe(e2, s2.ID ? s2.ID : s2.id) : e2.canClick = true : "closeWindow" !== n2 && "closeWindowAndRefresh" !== n2 || (J(e2, t2, s2, o2), e2.canClick = true);
|
|
419
|
+
}
|
|
420
|
+
function J(e2, t2, s2, n2) {
|
|
410
421
|
const o2 = e2.entity && e2.entity.request ? e2.entity.request.jumpMode : null;
|
|
411
422
|
if ("openWindow" === o2 || "newTab" === o2) window.parent ? window.parent.close() : window.close();
|
|
412
423
|
else {
|
|
@@ -414,7 +425,7 @@ function G(e2, t2, s2, n2) {
|
|
|
414
425
|
C.$emit(r2 + "close-dialog", { isNeedValueMapping: a2, dataModel: s2, sourceConfigureObj: t2, sourceTableName: i2, jumpMode: o2 });
|
|
415
426
|
}
|
|
416
427
|
}
|
|
417
|
-
function
|
|
428
|
+
function Y(e2, t2, s2, n2, o2) {
|
|
418
429
|
var _a;
|
|
419
430
|
o2 || (o2 = t2.runtime && t2.runtime.linkPage && t2.runtime.linkPage.valueMappings ? t2.runtime.linkPage.valueMappings : null) || (o2 = (_a = t2.props.linkPage) == null ? void 0 : _a.valueMappings);
|
|
420
431
|
const i2 = e2.tableName;
|
|
@@ -430,7 +441,8 @@ function J(e2, t2, s2, n2, o2) {
|
|
|
430
441
|
}
|
|
431
442
|
}(s2, o2, e2), y(null, e2, t2, "setValue", { sourceModel: s2, sourceTableName: n2, entity: e2.entity.data, targetTableName: i2 });
|
|
432
443
|
}
|
|
433
|
-
|
|
444
|
+
const z = ["dropdown"];
|
|
445
|
+
function K(e2, t2, s2, n2) {
|
|
434
446
|
var _a;
|
|
435
447
|
t2 && !t2.props.base && (t2.props.base = {});
|
|
436
448
|
let o2 = n2;
|
|
@@ -444,11 +456,11 @@ function Y(e2, t2, s2, n2) {
|
|
|
444
456
|
}
|
|
445
457
|
} else if (i2 && "form" === i2) {
|
|
446
458
|
const t3 = e2.entity.data;
|
|
447
|
-
|
|
459
|
+
fe(e2, t3.ID ? t3.ID : t3.id);
|
|
448
460
|
}
|
|
449
461
|
}
|
|
450
462
|
}
|
|
451
|
-
function
|
|
463
|
+
function Q(e2, t2, s2, i2) {
|
|
452
464
|
return new Promise((r2, l2) => {
|
|
453
465
|
const d2 = e2.pageContext, m2 = e2.configureObj, f2 = e2.mainDefaultValueColumns, g2 = e2.dynamicColumnInfo, b2 = e2.ids, C2 = m2.props.base.successOperation;
|
|
454
466
|
let T2 = false;
|
|
@@ -482,7 +494,7 @@ function z(e2, t2, s2, i2) {
|
|
|
482
494
|
}) : l2("request不存在");
|
|
483
495
|
});
|
|
484
496
|
}
|
|
485
|
-
function
|
|
497
|
+
function X(e2, s2) {
|
|
486
498
|
var _a;
|
|
487
499
|
const i2 = e2.pageContext, a2 = e2.configureObj, r2 = e2.tableConfigure, p2 = a2.props.base, d2 = a2.props.base.tableUuid ? a2.props.base.tableUuid : e2.tableUuid, m2 = A(i2, d2), f2 = new FormData();
|
|
488
500
|
f2.append("multipartFile", s2), m2 && f2.append("tableName", m2), i2.importBeanName && f2.append("importBeanName", i2.importBeanName), i2.beanName && f2.append("beanName", i2.beanName);
|
|
@@ -490,7 +502,7 @@ function K(e2, s2) {
|
|
|
490
502
|
g2 && f2.append("importDuplicateRule", g2);
|
|
491
503
|
const b2 = i2.judgeHeavyList;
|
|
492
504
|
b2 && f2.append("judgeHeavyList", JSON.stringify(b2));
|
|
493
|
-
const C2 =
|
|
505
|
+
const C2 = Ce(a2);
|
|
494
506
|
C2 && f2.append("autoSetValueData", C2);
|
|
495
507
|
const T2 = i2.formNoRuleCode;
|
|
496
508
|
T2 && f2.append("formNoRuleCode", T2);
|
|
@@ -502,7 +514,7 @@ function K(e2, s2) {
|
|
|
502
514
|
null != w2 && f2.append("isWorkflowEntity", w2 + "");
|
|
503
515
|
const R2 = k(a2, i2);
|
|
504
516
|
R2 && f2.append("functionCode", R2);
|
|
505
|
-
const N2 =
|
|
517
|
+
const N2 = ie(i2);
|
|
506
518
|
f2.append("additionalParamMapStr", JSON.stringify(N2));
|
|
507
519
|
const M2 = void 0 === p2.isPermission || "true" === p2.isPermission || p2.isPermission;
|
|
508
520
|
f2.append("isPermission", M2 + "");
|
|
@@ -519,7 +531,7 @@ function K(e2, s2) {
|
|
|
519
531
|
}).catch((e3) => {
|
|
520
532
|
});
|
|
521
533
|
}
|
|
522
|
-
function
|
|
534
|
+
function Z(e2, t2) {
|
|
523
535
|
const s2 = e2.props.base;
|
|
524
536
|
if (s2.conditionsForExecution && "" !== s2.conditionsForExecution) {
|
|
525
537
|
if ("one" === s2.conditionsForExecution) {
|
|
@@ -528,7 +540,7 @@ function Q(e2, t2) {
|
|
|
528
540
|
}
|
|
529
541
|
return true;
|
|
530
542
|
}
|
|
531
|
-
function
|
|
543
|
+
function ee(e2) {
|
|
532
544
|
var _a;
|
|
533
545
|
const t2 = e2.pageContext, n2 = e2.configureObj, o2 = t2.entity.data, i2 = t2.systemCode, a2 = t2.code;
|
|
534
546
|
let r2 = k(n2, t2);
|
|
@@ -537,21 +549,21 @@ function X(e2) {
|
|
|
537
549
|
t2.completeTaskParam && (c2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, opinion: t2.completeTaskParam.opinion }), t2.judgeHeavyList && (s(t2.judgeHeavyList) ? c2.judgeHeavyList = JSON.stringify(t2.judgeHeavyList) : c2.judgeHeavyList = t2.judgeHeavyList);
|
|
538
550
|
const u2 = n2.props.base.conversionCodes;
|
|
539
551
|
u2 && (s(u2) ? c2.dataConversionRule = u2.join(",") : "string" == typeof u2 && (c2.dataConversionRule = u2));
|
|
540
|
-
const l2 =
|
|
552
|
+
const l2 = Ce(n2);
|
|
541
553
|
l2 && (c2.autoSetValueData = l2), t2.beanName && (c2.beanName = t2.beanName);
|
|
542
554
|
const p2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
|
|
543
555
|
p2 && (c2.logSettingText = p2.join("")), c2.systemCode || (c2.systemCode = i2);
|
|
544
|
-
const d2 =
|
|
556
|
+
const d2 = ie(t2);
|
|
545
557
|
c2.additionalParamMap = d2, d2.ids && d2.ids.length > 0 && ("string" == typeof d2.ids ? c2.ids = d2.ids.split(",") : Array.isArray(d2.ids) ? c2.ids = d2.ids : "number" == typeof ids && (c2.ids = [d2.ids]));
|
|
546
558
|
const m2 = n2.props.base.successOperation;
|
|
547
559
|
return m2 && "noOperation" === m2 && (c2.unControlVersion = true), c2.isWorkflowEntity = true, c2;
|
|
548
560
|
}
|
|
549
|
-
function
|
|
561
|
+
function te(e2, t2, s2, n2, o2) {
|
|
550
562
|
const i2 = s2.code, a2 = s2.version;
|
|
551
563
|
let r2;
|
|
552
564
|
if (e2) {
|
|
553
565
|
t2 && (s2.initFormNo = e2.formNo, s2.emailTemplateCode = e2.emailTemplateCode), e2.entity && (s2.entity.data = e2.entity, function(e3, t3) {
|
|
554
|
-
const s3 =
|
|
566
|
+
const s3 = ie(t3);
|
|
555
567
|
e3 && s3 && g(s3._t_ + "_id", e3);
|
|
556
568
|
}(e2.entity.id || e2.entity.ID, s2));
|
|
557
569
|
const o3 = e2.completeTaskResult;
|
|
@@ -570,7 +582,7 @@ function Z(e2, t2, s2, n2, o2) {
|
|
|
570
582
|
}
|
|
571
583
|
return n2 && (n2.operationResult = o2), t2 || q(s2, n2.configureObj, e2, null, false), true;
|
|
572
584
|
}
|
|
573
|
-
async function
|
|
585
|
+
async function se(e2, t2) {
|
|
574
586
|
const s2 = await function(e3) {
|
|
575
587
|
return new Promise((t3, s3) => {
|
|
576
588
|
var _a, _b, _c, _d;
|
|
@@ -595,30 +607,30 @@ async function ee(e2, t2) {
|
|
|
595
607
|
const r2 = e2.pageContext, p2 = r2.systemCode, d2 = r2.backendUrl, m2 = true === s2 ? (_a = r2.completeTaskParam) == null ? void 0 : _a.opinion : s2;
|
|
596
608
|
let f2 = n(d2, r2.isTest) + "/dsc/workflow-commons/complete-tasks";
|
|
597
609
|
if (f2 = o(f2, p2, d2, r2.isTest), !f2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
598
|
-
const g2 =
|
|
610
|
+
const g2 = ee(e2);
|
|
599
611
|
g2.completeTaskParam = { operationResult: t2, taskId: r2.completeTaskParam ? r2.completeTaskParam.taskId : null, opinion: m2 || null };
|
|
600
612
|
c.post(f2, g2).then((s3) => {
|
|
601
613
|
let n2 = true;
|
|
602
|
-
s3 && (n2 =
|
|
614
|
+
s3 && (n2 = te(s3, false, r2, e2, t2)), true === n2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulCompleteTask") }), i2(true);
|
|
603
615
|
}).catch((e3) => {
|
|
604
616
|
a2(e3);
|
|
605
617
|
});
|
|
606
618
|
} else i2(true);
|
|
607
619
|
});
|
|
608
620
|
}
|
|
609
|
-
function
|
|
621
|
+
function ne(e2, t2) {
|
|
610
622
|
if (t2) {
|
|
611
|
-
const s2 = e2.pageContext, o2 = e2.configureObj, i2 = s2.backendUrl, a2 = n(i2, s2.isTest) + "/dsc/workflow-commons/assigns", r2 = t2.id ? t2.id : t2.ID ? t2.ID : null, c2 =
|
|
612
|
-
c2.assigneeId = r2,
|
|
623
|
+
const s2 = e2.pageContext, o2 = e2.configureObj, i2 = s2.backendUrl, a2 = n(i2, s2.isTest) + "/dsc/workflow-commons/assigns", r2 = t2.id ? t2.id : t2.ID ? t2.ID : null, c2 = ee(e2);
|
|
624
|
+
c2.assigneeId = r2, ce(e2, c2, a2, "superPageRuntimeMessage.successfulAssign").then((e3) => {
|
|
613
625
|
P(s2, o2);
|
|
614
626
|
});
|
|
615
627
|
}
|
|
616
628
|
}
|
|
617
|
-
function
|
|
618
|
-
const t2 = e2.pageContext, s2 = t2.entity.data, n2 = t2.systemCode, o2 = t2.code, i2 =
|
|
629
|
+
function oe(e2) {
|
|
630
|
+
const t2 = e2.pageContext, s2 = t2.entity.data, n2 = t2.systemCode, o2 = t2.code, i2 = ie(t2), a2 = void 0 !== s2.ID && null !== s2.ID ? s2.ID : s2.id, r2 = { beanName: t2.beanName, id: a2, entity: s2, additionalParamMap: i2, tableName: t2.tableName, functionCode: o2 + ".xxx", isWorkflowEntity: true, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version };
|
|
619
631
|
return r2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, systemCode: n2 }, r2;
|
|
620
632
|
}
|
|
621
|
-
function
|
|
633
|
+
function ie(t2) {
|
|
622
634
|
if (t2.entity) {
|
|
623
635
|
let s2 = e(t2.entity.page);
|
|
624
636
|
s2 || (s2 = {});
|
|
@@ -626,12 +638,12 @@ function ne(t2) {
|
|
|
626
638
|
return n2 && Object.assign(s2, n2), s2;
|
|
627
639
|
}
|
|
628
640
|
}
|
|
629
|
-
function
|
|
641
|
+
function ae(e2, t2) {
|
|
630
642
|
if (t2) {
|
|
631
643
|
const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
|
|
632
644
|
let p2 = n(r2, s2.isTest) + "/dsc/workflow-commons/add-signers";
|
|
633
645
|
if (p2 = o(p2, a2, r2, s2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
634
|
-
const d2 =
|
|
646
|
+
const d2 = oe(e2);
|
|
635
647
|
d2.completeTaskParam.transactors = t2.loginNames.join(",").split(",");
|
|
636
648
|
const m2 = c.post(p2, d2);
|
|
637
649
|
m2 && m2.then((e3) => {
|
|
@@ -639,7 +651,7 @@ function oe(e2, t2) {
|
|
|
639
651
|
});
|
|
640
652
|
}
|
|
641
653
|
}
|
|
642
|
-
async function
|
|
654
|
+
async function re(e2, t2) {
|
|
643
655
|
if (t2) {
|
|
644
656
|
const s2 = await function(e3) {
|
|
645
657
|
return new Promise((t3, s3) => {
|
|
@@ -663,7 +675,7 @@ async function ie(e2, t2) {
|
|
|
663
675
|
const i2 = e2.pageContext, a2 = e2.configureObj, r2 = i2.systemCode, p2 = i2.backendUrl;
|
|
664
676
|
let d2 = n(p2, i2.isTest) + "/dsc/workflow-commons/copies";
|
|
665
677
|
if (d2 = o(d2, r2, p2, i2.isTest), !d2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
666
|
-
const m2 =
|
|
678
|
+
const m2 = oe(e2);
|
|
667
679
|
m2.completeTaskParam.transactors = t2.loginNames.join(",").split(","), true !== s2 && (m2.completeTaskParam.remark = s2);
|
|
668
680
|
const f2 = c.post(d2, m2);
|
|
669
681
|
f2 && f2.then((e3) => {
|
|
@@ -672,45 +684,45 @@ async function ie(e2, t2) {
|
|
|
672
684
|
}
|
|
673
685
|
}
|
|
674
686
|
}
|
|
675
|
-
function
|
|
687
|
+
function ce(e2, t2, s2, n2) {
|
|
676
688
|
return new Promise((i2, a2) => {
|
|
677
689
|
const r2 = e2.pageContext, p2 = r2.systemCode, d2 = r2.backendUrl;
|
|
678
690
|
if (!(s2 = o(s2, p2, d2, r2.isTest))) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
679
691
|
const m2 = c.post(s2, t2);
|
|
680
692
|
m2 && m2.then((t3) => {
|
|
681
693
|
let s3 = true;
|
|
682
|
-
t3 && (s3 =
|
|
694
|
+
t3 && (s3 = te(t3, false, r2, e2, null)), true === s3 && l({ showClose: true, type: "success", message: u().t(n2) }), i2(true);
|
|
683
695
|
}).catch((e3) => {
|
|
684
696
|
a2(e3);
|
|
685
697
|
});
|
|
686
698
|
});
|
|
687
699
|
}
|
|
688
|
-
function
|
|
700
|
+
function ue(e2) {
|
|
689
701
|
const t2 = e2.pageContext, s2 = t2.systemCode, i2 = t2.backendUrl, a2 = t2.completeTaskParam;
|
|
690
702
|
let r2 = n(i2, t2.isTest) + "/dsc/workflow-commons/returnable-task/" + a2.taskId;
|
|
691
703
|
if (r2 = o(r2, s2, i2, t2.isTest), !r2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
692
|
-
const p2 = t2.code, d2 =
|
|
704
|
+
const p2 = t2.code, d2 = ie(t2), m2 = { beanName: t2.beanName, additionalParamMap: d2, tableName: t2.tableName, functionCode: p2 + ".xxx" };
|
|
693
705
|
return c.post(r2, m2);
|
|
694
706
|
}
|
|
695
|
-
function
|
|
696
|
-
const s2 = e2.pageContext, o2 = e2.configureObj, i2 = s2.backendUrl, a2 = n(i2, s2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 =
|
|
697
|
-
t2.nodeName && (r2.returnToNodeName = t2.nodeName), t2.nodeId && (r2.returnToNodeId = t2.nodeId),
|
|
707
|
+
function le(e2, t2) {
|
|
708
|
+
const s2 = e2.pageContext, o2 = e2.configureObj, i2 = s2.backendUrl, a2 = n(i2, s2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 = ee(e2);
|
|
709
|
+
t2.nodeName && (r2.returnToNodeName = t2.nodeName), t2.nodeId && (r2.returnToNodeId = t2.nodeId), ce(e2, r2, a2, "superPageRuntimeMessage.successfulReturnTaskTo").then((e3) => {
|
|
698
710
|
P(s2, o2);
|
|
699
711
|
});
|
|
700
712
|
}
|
|
701
|
-
function
|
|
713
|
+
function pe(e2) {
|
|
702
714
|
const t2 = e2.pageContext, s2 = t2.systemCode, i2 = t2.backendUrl;
|
|
703
715
|
let a2 = n(i2, t2.isTest) + "/dsc/workflow-commons/get-remove-signers";
|
|
704
|
-
const r2 =
|
|
716
|
+
const r2 = ee(e2);
|
|
705
717
|
if (a2 = o(a2, s2, i2, t2.isTest), a2) return c.post(a2, r2);
|
|
706
718
|
l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
707
719
|
}
|
|
708
|
-
function
|
|
720
|
+
function de(e2, t2) {
|
|
709
721
|
if (t2) {
|
|
710
722
|
const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
|
|
711
723
|
let p2 = n(r2, s2.isTest) + "/dsc/workflow-commons/remove-signers";
|
|
712
724
|
if (p2 = o(p2, a2, r2, s2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
713
|
-
const d2 = t2.map((e3) => e3.id ? e3.id : e3.ID ? e3.ID : null), m2 =
|
|
725
|
+
const d2 = t2.map((e3) => e3.id ? e3.id : e3.ID ? e3.ID : null), m2 = ee(e2);
|
|
714
726
|
m2.ids = d2;
|
|
715
727
|
const f2 = c.post(p2, m2);
|
|
716
728
|
f2 && f2.then((e3) => {
|
|
@@ -718,7 +730,7 @@ function le(e2, t2) {
|
|
|
718
730
|
});
|
|
719
731
|
}
|
|
720
732
|
}
|
|
721
|
-
function
|
|
733
|
+
function me(e2, t2, s2) {
|
|
722
734
|
let n2 = false;
|
|
723
735
|
return e2 && t2 && ("workflowSave" === e2 ? n2 = function(e3) {
|
|
724
736
|
if ((void 0 === e3.processState || null === e3.processState || "UNSUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active) && (void 0 === e3.processState || true === e3.showButtonSave)) return true;
|
|
@@ -780,18 +792,18 @@ function pe(e2, t2, s2) {
|
|
|
780
792
|
return false;
|
|
781
793
|
}(t2))), n2;
|
|
782
794
|
}
|
|
783
|
-
function
|
|
784
|
-
e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true,
|
|
795
|
+
function fe(e2, t2) {
|
|
796
|
+
e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, ge(e2, t2).then((t3) => {
|
|
785
797
|
e2.isRefresh = true;
|
|
786
798
|
});
|
|
787
799
|
}
|
|
788
|
-
function
|
|
800
|
+
function ge(e2, s2, o2) {
|
|
789
801
|
const i2 = e2.pageType;
|
|
790
802
|
if (i2 && "form" === i2) {
|
|
791
803
|
e2.canClick = false;
|
|
792
804
|
return t(e2) ? function(e3, t2, s3) {
|
|
793
805
|
return new Promise((o3, i3) => {
|
|
794
|
-
const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 =
|
|
806
|
+
const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = ie(e3);
|
|
795
807
|
let d2 = t2 || null, f2 = t2 ? [t2] : null;
|
|
796
808
|
void 0 === s3 || s3 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), f2 || (f2 = p2 ? p2.ids : null)) : (d2 = null, f2 = null, p2._id = p2.id, p2.id = null);
|
|
797
809
|
const g2 = p2 ? p2.taskId : null, b2 = u2, C2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, isWorkflowEntity: true, systemCode: a2, functionCode: b2 + ".workflowGets", listCodesMap: e3.listCodesMap };
|
|
@@ -802,10 +814,10 @@ function me(e2, s2, o2) {
|
|
|
802
814
|
t3[s4] = s4;
|
|
803
815
|
}), C2.listCodesMap = t3;
|
|
804
816
|
}
|
|
805
|
-
f2 && (C2.ids =
|
|
817
|
+
f2 && (C2.ids = be(f2)), g2 ? C2.taskId = g2 : d2 ? C2.id = d2 : (p2 && p2._t_ && m(p2._t_ + "_id") && (C2.id = m(p2._t_ + "_id")), e3.notIdInitializationList && (C2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList))), p2 && (C2.additionalParamMap = p2), e3.beanName && (C2.beanName = e3.beanName), e3.refercePropMap && (C2.refercePropMap = e3.refercePropMap);
|
|
806
818
|
const T2 = n(e3.backendUrl, e3.isTest) + "/dsc/workflow-commons/gets", h2 = _();
|
|
807
819
|
h2.restorePageLoadState(), y(null, e3, e3, "beforeFormLoadData"), c.post(T2, C2).then((t3) => {
|
|
808
|
-
e3.definitionId = t3.definitionId, e3.entity.task = t3.taskParamMap,
|
|
820
|
+
e3.definitionId = t3.definitionId, e3.entity.task = t3.taskParamMap, te(t3, true, e3), e3.workflowRules = O(e3);
|
|
809
821
|
const s4 = e3.pageType;
|
|
810
822
|
s4 && "form" === s4 && function(e4) {
|
|
811
823
|
(function(e5) {
|
|
@@ -844,11 +856,11 @@ function me(e2, s2, o2) {
|
|
|
844
856
|
});
|
|
845
857
|
}(e2, s2, o2) : function(e3, t2, s3) {
|
|
846
858
|
return new Promise((o3, i3) => {
|
|
847
|
-
const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 =
|
|
859
|
+
const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = ie(e3);
|
|
848
860
|
let d2 = t2 || null, f2 = t2 ? [t2] : null;
|
|
849
861
|
void 0 === s3 || s3 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), f2 || (f2 = p2 ? p2.ids : null)) : (d2 = null, f2 = null, p2._id = p2.id, p2.id = null);
|
|
850
862
|
const g2 = p2 ? p2.taskId : null, b2 = u2, C2 = n(e3.backendUrl, e3.isTest), T2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: d2, systemCode: a2, functionCode: b2 + ".gets", listCodesMap: e3.listCodesMap };
|
|
851
|
-
if (!T2.id && p2 && p2._t_ && m(p2._t_ + "_id") && (T2.id = m(p2._t_ + "_id")), f2 && (T2.ids =
|
|
863
|
+
if (!T2.id && p2 && p2._t_ && m(p2._t_ + "_id") && (T2.id = m(p2._t_ + "_id")), f2 && (T2.ids = be(f2)), e3.notIdInitializationList && (T2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (T2.additionalParamMap = p2), e3.beanName && (T2.beanName = e3.beanName), g2 && (T2.taskId = g2), (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
|
|
852
864
|
const t3 = {};
|
|
853
865
|
e3.tableUuids.forEach((e4) => {
|
|
854
866
|
const s4 = r(u2, l2, e4);
|
|
@@ -871,10 +883,10 @@ function me(e2, s2, o2) {
|
|
|
871
883
|
e3(true);
|
|
872
884
|
});
|
|
873
885
|
}
|
|
874
|
-
function
|
|
886
|
+
function be(e2) {
|
|
875
887
|
return e2 && ("string" == typeof e2 ? e2 = e2.split(",") : "number" == typeof e2 && (e2 = [e2])), e2;
|
|
876
888
|
}
|
|
877
|
-
function
|
|
889
|
+
function Ce(e2) {
|
|
878
890
|
const t2 = e2.props.setValueList;
|
|
879
891
|
if (t2) {
|
|
880
892
|
if (s(t2) && t2.length > 0) return JSON.stringify(t2);
|
|
@@ -882,41 +894,41 @@ function ge(e2) {
|
|
|
882
894
|
}
|
|
883
895
|
return null;
|
|
884
896
|
}
|
|
885
|
-
function
|
|
897
|
+
function Te(e2, t2) {
|
|
886
898
|
const s2 = e2.entity ? e2.entity : {}, n2 = { data: s2.data, page: s2.page }, o2 = { pageCode: e2.code, queryCondition: JSON.stringify(n2), name: t2 }, i2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition";
|
|
887
899
|
return c.post(i2, o2);
|
|
888
900
|
}
|
|
889
|
-
function
|
|
901
|
+
function ye(e2) {
|
|
890
902
|
const t2 = e2.code, s2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/list/" + t2;
|
|
891
903
|
return c.get(s2);
|
|
892
904
|
}
|
|
893
|
-
function
|
|
905
|
+
function he(e2) {
|
|
894
906
|
const t2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/" + e2;
|
|
895
907
|
return c.delete(t2);
|
|
896
908
|
}
|
|
897
909
|
export {
|
|
898
910
|
q as dealAfterOperate,
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
911
|
+
te as dealCompleteTaskParam,
|
|
912
|
+
he as deleteChartCondition,
|
|
913
|
+
ae as doAddSigner,
|
|
914
|
+
ne as doAssign,
|
|
915
|
+
re as doCreateCopyTask,
|
|
916
|
+
X as doImportFinally,
|
|
917
|
+
de as doRemoveSigners,
|
|
918
|
+
le as doReturnTaskTo,
|
|
907
919
|
L as exportFormReport,
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
920
|
+
ie as getAdditionalParamMap,
|
|
921
|
+
ge as getFormData,
|
|
922
|
+
pe as getRemoveSigner,
|
|
911
923
|
$ as getSaveFormRequest,
|
|
912
924
|
F as getSaveFormRequestWithRow,
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
925
|
+
ue as getTaskInformitions,
|
|
926
|
+
me as isVisibleWorkflowButton,
|
|
927
|
+
Z as judgeDataNumber,
|
|
928
|
+
ye as listChartConditions,
|
|
929
|
+
K as refreshFormOrListPage,
|
|
930
|
+
fe as refreshPage,
|
|
931
|
+
Te as saveChartConditionBase,
|
|
920
932
|
j as standardEvents,
|
|
921
|
-
|
|
933
|
+
Y as updateValuesWhenCloseDialog
|
|
922
934
|
};
|
|
@@ -6,7 +6,14 @@ import { PageContext, Component } from './interfaces/page-design-types';
|
|
|
6
6
|
* @param pageContext
|
|
7
7
|
* @returns
|
|
8
8
|
*/
|
|
9
|
-
export declare function getComponentOptionConfigs(component: Component, pageContext: PageContext): any;
|
|
9
|
+
export declare function getComponentOptionConfigs(component: Component, pageContext: PageContext, systemCode: any, systemVersion: any): any;
|
|
10
|
+
/**
|
|
11
|
+
* 获取选项组类需要查询的配置信息
|
|
12
|
+
* @param component
|
|
13
|
+
* @param pageContext
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
export declare function getComponentOptionConfigsBase(component: Component, systemCode: any, systemVersion: any): any;
|
|
10
17
|
/**
|
|
11
18
|
* 初始化需要查询数据的信息
|
|
12
19
|
* @param component
|
|
@@ -73,8 +80,11 @@ export declare function queryOptions(component: Component, pageContext: PageCont
|
|
|
73
80
|
* 根据查询条件远程查询
|
|
74
81
|
* @param component
|
|
75
82
|
* @param query 模糊查询内容
|
|
83
|
+
* @param skipProps 自动赋值映射字段跳过字段,因为当前组件set方法内已经被赋值了,
|
|
84
|
+
* 如果是筛选,之前选择的值可能不在筛选后的结果内,这里再给当前组件变量赋值一遍就会导致之前选择的值被覆盖消失
|
|
85
|
+
*
|
|
76
86
|
*/
|
|
77
|
-
export declare function autoSetAfterSelect(component: Component, pageContext: PageContext, autoSets: any[], selItems: any[]): void;
|
|
87
|
+
export declare function autoSetAfterSelect(component: Component, pageContext: PageContext, autoSets: any[], selItems: any[], skipProps?: string[]): void;
|
|
78
88
|
/**
|
|
79
89
|
*
|
|
80
90
|
* @param entity
|
|
@@ -161,3 +171,4 @@ export declare function isPromise(p: any): boolean;
|
|
|
161
171
|
export declare function decomposeVariable(variable: string): string[];
|
|
162
172
|
export declare function getModelFieldFromPageContext(fields: string[], pageContext: PageContext): any;
|
|
163
173
|
export declare function isNumberDataType(dataType: string): boolean;
|
|
174
|
+
export declare function isDateDataType(dataType: string): boolean;
|