super-page-runtime 2.2.56 → 2.2.62
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.
|
@@ -8,12 +8,12 @@ import b from "../eventBus.js";
|
|
|
8
8
|
import C from "axios";
|
|
9
9
|
import { handleEvent as y, getTableUuid as T, doAfterClickEvent as h } from "./event-util.js";
|
|
10
10
|
import { setStoreInfo as P } from "../store-util.js";
|
|
11
|
-
import { getPermissionCodes as w, getDefaultValue as k, getModelFields as
|
|
12
|
-
import { updateChartDatasources as
|
|
11
|
+
import { getPermissionCodes as w, getDefaultValue as k, getModelFields as R } from "../page-init-util.js";
|
|
12
|
+
import { updateChartDatasources as M, caculateShowCondition as N, getVariableValue as v, setVariableValue as S } from "../page-helper-util.js";
|
|
13
13
|
import I from "./print-label.js";
|
|
14
|
-
import { getTableNameByTableUuid as
|
|
15
|
-
import { getWorkflowRules as
|
|
16
|
-
import { functions as
|
|
14
|
+
import { getTableNameByTableUuid as x } from "../table-utils.js";
|
|
15
|
+
import { getWorkflowRules as A, packageCustomRules as O } from "./validator-util.js";
|
|
16
|
+
import { functions as U } from "../api/page-expose-util.js";
|
|
17
17
|
import { usePageContextStore as E } from "../page-store.js";
|
|
18
18
|
const _ = { save: function(e2) {
|
|
19
19
|
return L(e2, false);
|
|
@@ -47,7 +47,7 @@ const _ = { save: function(e2) {
|
|
|
47
47
|
if (!a2 || 0 === a2.length) return l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.pleaseSelectRecord") }), void s2(true);
|
|
48
48
|
p.confirm(u().t("superPageRuntimeMessage.whetherToConfirmDeletion"), u().t("superPageRuntimeMessage.tips"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
|
|
49
49
|
var _a;
|
|
50
|
-
const r2 = e3.pageContext, u2 = e3.configureObj, l2 = u2.props.base, p2 = r2.systemCode, d2 = r2.backendUrl, m2 = u2.props.base.tableUuid ? u2.props.base.tableUuid : e3.tableUuid, f2 =
|
|
50
|
+
const r2 = e3.pageContext, u2 = e3.configureObj, l2 = u2.props.base, p2 = r2.systemCode, d2 = r2.backendUrl, m2 = u2.props.base.tableUuid ? u2.props.base.tableUuid : e3.tableUuid, f2 = x(r2, m2);
|
|
51
51
|
let b2 = n(d2, r2.isTest) + "/dsc/commons/" + f2;
|
|
52
52
|
b2 = o(b2, p2, d2, r2.isTest);
|
|
53
53
|
const C2 = void 0 === l2.isPermission || "true" === l2.isPermission || l2.isPermission, y2 = t(r2), T2 = w(u2, r2), h2 = { ids: a2, functionCode: T2, isPermission: C2 + "", systemCode: p2, isWorkflowEntity: y2, listCodesMap: r2.listCodesMap, pageCode: r2.code, pageVersion: r2.version };
|
|
@@ -56,8 +56,8 @@ const _ = { save: function(e2) {
|
|
|
56
56
|
P2 && ("object" == typeof P2 ? h2.deleteLogicSetting = JSON.stringify(P2) : "string" == typeof P2 && (h2.deleteLogicSetting = P2));
|
|
57
57
|
const k2 = (_a = u2.props.base) == null ? void 0 : _a.logSetting;
|
|
58
58
|
k2 && (h2.logSettingText = k2.join(""));
|
|
59
|
-
const
|
|
60
|
-
|
|
59
|
+
const R2 = u2.props.base.isSafeDelete;
|
|
60
|
+
R2 && (h2.isSafeDelete = R2), c.delete(b2, { data: h2 }).then((e4) => {
|
|
61
61
|
const t2 = g(r2, m2);
|
|
62
62
|
t2 && (t2.isDeleteChange(true), t2.clearSelections()), F(r2, u2, e4, "superPageRuntimeMessage.successfulDelete", true), s2(true);
|
|
63
63
|
}).catch((e4) => {
|
|
@@ -183,22 +183,22 @@ const _ = { save: function(e2) {
|
|
|
183
183
|
}, drawTask: function(e2) {
|
|
184
184
|
return function(e3) {
|
|
185
185
|
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/draw-tasks", i2 = K(e3);
|
|
186
|
-
return
|
|
186
|
+
return oe(e3, i2, o2, "superPageRuntimeMessage.successfulDrawTask");
|
|
187
187
|
}(e2);
|
|
188
188
|
}, abandonReceive: function(e2) {
|
|
189
189
|
return function(e3) {
|
|
190
190
|
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/abandon-receives", i2 = K(e3);
|
|
191
|
-
return
|
|
191
|
+
return oe(e3, i2, o2, "superPageRuntimeMessage.successfulAbandonReceive");
|
|
192
192
|
}(e2);
|
|
193
193
|
}, returnToPreviousTask: function(e2) {
|
|
194
194
|
return function(e3) {
|
|
195
195
|
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", i2 = K(e3);
|
|
196
|
-
return
|
|
196
|
+
return oe(e3, i2, o2, "superPageRuntimeMessage.successfulReturnToPreviousTask");
|
|
197
197
|
}(e2);
|
|
198
198
|
}, endInstance: function(e2) {
|
|
199
199
|
return function(e3) {
|
|
200
200
|
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/end-instance", i2 = K(e3);
|
|
201
|
-
return
|
|
201
|
+
return oe(e3, i2, o2, "superPageRuntimeMessage.successfulEndInstance");
|
|
202
202
|
}(e2);
|
|
203
203
|
}, returnTaskTo: function(e2) {
|
|
204
204
|
return function(e3) {
|
|
@@ -213,7 +213,7 @@ const _ = { save: function(e2) {
|
|
|
213
213
|
}, retrieveTask: function(e2) {
|
|
214
214
|
return function(e3) {
|
|
215
215
|
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/retrieves", i2 = K(e3);
|
|
216
|
-
return
|
|
216
|
+
return oe(e3, i2, o2, "superPageRuntimeMessage.successfulRetrieve");
|
|
217
217
|
}(e2);
|
|
218
218
|
}, viewDetail: function(e2) {
|
|
219
219
|
}, lineEditCreate: function(e2) {
|
|
@@ -280,7 +280,7 @@ function j(e2) {
|
|
|
280
280
|
let o2 = null;
|
|
281
281
|
n2 && n2.runtime && (o2 = n2.runtime.props);
|
|
282
282
|
const i2 = o2 ? o2.state : void 0;
|
|
283
|
-
o2 && (o2.state = "disabled"),
|
|
283
|
+
o2 && (o2.state = "disabled"), M(t2, s2, void 0, e2.isInitChart).then(() => {
|
|
284
284
|
o2 && (o2.state = i2);
|
|
285
285
|
}).catch(() => {
|
|
286
286
|
o2 && (o2.state = i2);
|
|
@@ -288,9 +288,9 @@ function j(e2) {
|
|
|
288
288
|
}
|
|
289
289
|
function D(e2, s2, o2, i2) {
|
|
290
290
|
var _a;
|
|
291
|
-
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, m2 = s2.props.base, f2 = s2.tableName ? s2.tableName : e2.tableName, g2 = e2.backendUrl, b2 =
|
|
291
|
+
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, m2 = s2.props.base, f2 = s2.tableName ? s2.tableName : e2.tableName, g2 = e2.backendUrl, b2 = U.getFormViewData(e2), y2 = void 0 === m2.isPermission || "true" === m2.isPermission || m2.isPermission, T2 = { entity: b2, fileName: a2, showName: r2, beanName: p2, isWorkflowForm: l2, functionCode: w(s2, e2), tableName: f2, isPermission: y2 + "", systemCode: c2, listCodesMap: e2.listCodesMap, pageCode: e2.code, pageVersion: e2.version };
|
|
292
292
|
u2 && (T2.logSettingText = u2.join(""));
|
|
293
|
-
const P2 =
|
|
293
|
+
const P2 = te(e2);
|
|
294
294
|
let k2;
|
|
295
295
|
T2.additionalParamMap = P2, k2 = i2 ? function(e3, t2, s3, o3) {
|
|
296
296
|
return new Promise((i3, a3) => {
|
|
@@ -343,13 +343,13 @@ function B(e2, n2, o2, i2, a2, r2, c2) {
|
|
|
343
343
|
r2 && (f2.ids = r2), e2.judgeHeavyList && (s(e2.judgeHeavyList) ? f2.judgeHeavyList = JSON.stringify(e2.judgeHeavyList) : f2.judgeHeavyList = e2.judgeHeavyList);
|
|
344
344
|
const g2 = n2.props.base.conversionCodes;
|
|
345
345
|
g2 && (s(g2) ? f2.dataConversionRule = g2.join(",") : "string" == typeof g2 && (f2.dataConversionRule = g2));
|
|
346
|
-
const b2 =
|
|
346
|
+
const b2 = me(n2);
|
|
347
347
|
b2 && (f2.autoSetValueData = b2);
|
|
348
348
|
const C2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
|
|
349
349
|
C2 && (f2.logSettingText = C2.join("")), f2.systemCode || (f2.systemCode = l2);
|
|
350
350
|
const y2 = e2.beanName;
|
|
351
351
|
y2 && (f2.beanName = y2), a2 && (f2.dynamicColumnInfo = a2), i2 && (f2.mainDefaultValueColumns = i2);
|
|
352
|
-
const T2 =
|
|
352
|
+
const T2 = te(e2);
|
|
353
353
|
return f2.additionalParamMap = T2, void 0 !== o2 && (f2.unControlVersion = o2), f2;
|
|
354
354
|
}
|
|
355
355
|
function W(e2, t2, s2, i2, a2, r2, u2, l2) {
|
|
@@ -389,7 +389,7 @@ function F(t2, s2, n2, o2, i2) {
|
|
|
389
389
|
const n5 = t4.props.base.successOperation;
|
|
390
390
|
if (!n5 || null === n5) return;
|
|
391
391
|
const o4 = t4.props.base.isNeedValueMapping;
|
|
392
|
-
"noOperation" === n5 ? (s4 && (e3.entity.data = s4), e3.canClick = true) : "refresh" === n5 ? s4 && (s4.id || s4.ID) ?
|
|
392
|
+
"noOperation" === n5 ? (s4 && (e3.entity.data = s4), e3.canClick = true) : "refresh" === n5 ? s4 && (s4.id || s4.ID) ? le(e3, s4.ID ? s4.ID : s4.id) : e3.canClick = true : "closeWindow" !== n5 && "closeWindowAndRefresh" !== n5 || (H(e3, s4, o4), e3.canClick = true);
|
|
393
393
|
}(e2, t3, { ...o3, ...e2.entity.page });
|
|
394
394
|
} else e2.canClick = true;
|
|
395
395
|
n3 && l({ message: u().t(n3), type: "success", showClose: true });
|
|
@@ -417,7 +417,7 @@ function $(e2, t2, s2, n2, o2) {
|
|
|
417
417
|
Array.isArray(e3) && e3.length > 0 && (n3 = e3[0]), t3.forEach((e4) => {
|
|
418
418
|
const t4 = e4.source;
|
|
419
419
|
if (!t4) return;
|
|
420
|
-
const o3 = t4.split("."), i3 =
|
|
420
|
+
const o3 = t4.split("."), i3 = v(n3, o3), a2 = e4.target, r2 = R(null, a2);
|
|
421
421
|
S(s3.entity, r2, i3);
|
|
422
422
|
});
|
|
423
423
|
}
|
|
@@ -437,7 +437,7 @@ function G(e2, t2, s2, n2) {
|
|
|
437
437
|
}
|
|
438
438
|
} else if (i2 && "form" === i2) {
|
|
439
439
|
const t3 = e2.entity.data;
|
|
440
|
-
|
|
440
|
+
le(e2, t3.ID ? t3.ID : t3.id);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
443
|
}
|
|
@@ -449,7 +449,7 @@ function J(e2, t2, s2, i2) {
|
|
|
449
449
|
let T2 = d2.tableName;
|
|
450
450
|
if (t2) {
|
|
451
451
|
const t3 = m2.props.base.tableUuid ? m2.props.base.tableUuid : e2.tableUuid;
|
|
452
|
-
T2 =
|
|
452
|
+
T2 = x(d2, t3);
|
|
453
453
|
}
|
|
454
454
|
const h2 = function(e3, t3, s3, i3, r3, l3, d3, m3, f3) {
|
|
455
455
|
return new Promise((g3, b3) => {
|
|
@@ -477,13 +477,13 @@ function J(e2, t2, s2, i2) {
|
|
|
477
477
|
}
|
|
478
478
|
function z(e2, s2) {
|
|
479
479
|
var _a;
|
|
480
|
-
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 =
|
|
480
|
+
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 = x(i2, d2), f2 = new FormData();
|
|
481
481
|
f2.append("multipartFile", s2), m2 && f2.append("tableName", m2), i2.importBeanName && f2.append("importBeanName", i2.importBeanName), i2.beanName && f2.append("beanName", i2.beanName);
|
|
482
482
|
const g2 = (_a = r2.props.importSetting) == null ? void 0 : _a.listViewImportDuplicate;
|
|
483
483
|
g2 && f2.append("importDuplicateRule", g2);
|
|
484
484
|
const b2 = i2.judgeHeavyList;
|
|
485
485
|
b2 && f2.append("judgeHeavyList", JSON.stringify(b2));
|
|
486
|
-
const C2 =
|
|
486
|
+
const C2 = me(a2);
|
|
487
487
|
C2 && f2.append("autoSetValueData", C2);
|
|
488
488
|
const y2 = i2.formNoRuleCode;
|
|
489
489
|
y2 && f2.append("formNoRuleCode", y2);
|
|
@@ -493,17 +493,17 @@ function z(e2, s2) {
|
|
|
493
493
|
P2 = void 0 !== p2.isAsync && null !== p2.isAsync && p2.isAsync, f2.append("isAsync", P2 + ""), f2.append("pageCode", i2.code);
|
|
494
494
|
const k2 = t(i2);
|
|
495
495
|
null != k2 && f2.append("isWorkflowEntity", k2 + "");
|
|
496
|
-
const
|
|
497
|
-
|
|
498
|
-
const
|
|
499
|
-
f2.append("additionalParamMapStr", JSON.stringify(
|
|
500
|
-
const
|
|
501
|
-
f2.append("isPermission",
|
|
502
|
-
const
|
|
503
|
-
|
|
496
|
+
const R2 = w(a2, i2);
|
|
497
|
+
R2 && f2.append("functionCode", R2);
|
|
498
|
+
const M2 = te(i2);
|
|
499
|
+
f2.append("additionalParamMapStr", JSON.stringify(M2));
|
|
500
|
+
const N2 = void 0 === p2.isPermission || "true" === p2.isPermission || p2.isPermission;
|
|
501
|
+
f2.append("isPermission", N2 + "");
|
|
502
|
+
const v2 = i2.systemCode;
|
|
503
|
+
v2 && f2.append("systemCode", v2);
|
|
504
504
|
const S2 = i2.backendUrl;
|
|
505
505
|
let I2 = n(S2, i2.isTest) + "/dsc/commons/import-data";
|
|
506
|
-
I2 = o(I2,
|
|
506
|
+
I2 = o(I2, v2, S2, i2.isTest), c.post(I2, f2).then((e3) => {
|
|
507
507
|
if (P2) l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.asyncImport") });
|
|
508
508
|
else {
|
|
509
509
|
let t2 = false;
|
|
@@ -530,11 +530,11 @@ function K(e2) {
|
|
|
530
530
|
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);
|
|
531
531
|
const u2 = n2.props.base.conversionCodes;
|
|
532
532
|
u2 && (s(u2) ? c2.dataConversionRule = u2.join(",") : "string" == typeof u2 && (c2.dataConversionRule = u2));
|
|
533
|
-
const l2 =
|
|
533
|
+
const l2 = me(n2);
|
|
534
534
|
l2 && (c2.autoSetValueData = l2), t2.beanName && (c2.beanName = t2.beanName);
|
|
535
535
|
const p2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
|
|
536
536
|
p2 && (c2.logSettingText = p2.join("")), c2.systemCode || (c2.systemCode = i2);
|
|
537
|
-
const d2 =
|
|
537
|
+
const d2 = te(t2);
|
|
538
538
|
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]));
|
|
539
539
|
const m2 = n2.props.base.successOperation;
|
|
540
540
|
return m2 && "noOperation" === m2 && (c2.unControlVersion = true), c2.isWorkflowEntity = true, c2;
|
|
@@ -544,7 +544,7 @@ function Q(e2, t2, s2, n2, o2) {
|
|
|
544
544
|
let r2;
|
|
545
545
|
if (e2) {
|
|
546
546
|
t2 && (s2.initFormNo = e2.formNo, s2.emailTemplateCode = e2.emailTemplateCode), e2.entity && (s2.entity.data = e2.entity, function(e3, t3) {
|
|
547
|
-
const s3 =
|
|
547
|
+
const s3 = te(t3);
|
|
548
548
|
e3 && s3 && f(s3._t_ + "_id", e3);
|
|
549
549
|
}(e2.entity.id || e2.entity.ID, s2));
|
|
550
550
|
const o3 = e2.completeTaskResult;
|
|
@@ -564,7 +564,24 @@ function Q(e2, t2, s2, n2, o2) {
|
|
|
564
564
|
return n2 && (n2.operationResult = o2), t2 || F(s2, n2.configureObj, e2, null, false), true;
|
|
565
565
|
}
|
|
566
566
|
async function X(e2, t2) {
|
|
567
|
-
const s2 = await
|
|
567
|
+
const s2 = await function(e3) {
|
|
568
|
+
return new Promise((t3, s3) => {
|
|
569
|
+
var _a, _b, _c, _d;
|
|
570
|
+
const n2 = e3.configureObj;
|
|
571
|
+
if (n2) {
|
|
572
|
+
let s4 = false;
|
|
573
|
+
if (((_b = (_a = n2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isMustOpinion) && (s4 = true), true === s4) {
|
|
574
|
+
const t4 = e3.pageContext, o2 = (_d = (_c = n2.props) == null ? void 0 : _c.base) == null ? void 0 : _d.mustOpinionConditions;
|
|
575
|
+
s4 = N(t4, n2, o2);
|
|
576
|
+
}
|
|
577
|
+
true === s4 ? p.prompt(u().t("superPageRuntimeMessage.pleaseInputOpinion"), u().t("superPageRuntimeMessage.opinion"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), inputType: "textarea", inputValue: null, closeOnClickModal: false, inputValidator: (e4) => !(!e4 || !e4.trim()) || u().t("superPageRuntimeMessage.pleaseInputOpinion") }).then(({ value: e4 }) => {
|
|
578
|
+
t3(e4);
|
|
579
|
+
}).catch(() => {
|
|
580
|
+
t3(false);
|
|
581
|
+
}) : t3(true);
|
|
582
|
+
} else t3(true);
|
|
583
|
+
});
|
|
584
|
+
}(e2);
|
|
568
585
|
return new Promise((i2, a2) => {
|
|
569
586
|
var _a;
|
|
570
587
|
if (s2) {
|
|
@@ -582,37 +599,19 @@ async function X(e2, t2) {
|
|
|
582
599
|
} else i2(true);
|
|
583
600
|
});
|
|
584
601
|
}
|
|
585
|
-
function Z(e2) {
|
|
586
|
-
return new Promise((t2, s2) => {
|
|
587
|
-
var _a, _b, _c, _d;
|
|
588
|
-
const n2 = e2.configureObj;
|
|
589
|
-
if (n2) {
|
|
590
|
-
let s3 = false;
|
|
591
|
-
if (((_b = (_a = n2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isMustOpinion) && (s3 = true), true === s3) {
|
|
592
|
-
const t3 = e2.pageContext, o2 = (_d = (_c = n2.props) == null ? void 0 : _c.base) == null ? void 0 : _d.mustOpinionConditions;
|
|
593
|
-
s3 = M(t3, n2, o2);
|
|
594
|
-
}
|
|
595
|
-
true === s3 ? p.prompt(u().t("superPageRuntimeMessage.pleaseInputOpinion"), u().t("superPageRuntimeMessage.opinion"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), inputType: "textarea", inputValue: null, closeOnClickModal: false, inputValidator: (e3) => !(!e3 || !e3.trim()) || u().t("superPageRuntimeMessage.pleaseInputOpinion") }).then(({ value: e3 }) => {
|
|
596
|
-
t2(e3);
|
|
597
|
-
}).catch(() => {
|
|
598
|
-
t2(false);
|
|
599
|
-
}) : t2(true);
|
|
600
|
-
} else t2(true);
|
|
601
|
-
});
|
|
602
|
-
}
|
|
603
|
-
function ee(e2, t2) {
|
|
602
|
+
function Z(e2, t2) {
|
|
604
603
|
if (t2) {
|
|
605
604
|
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 = K(e2);
|
|
606
|
-
c2.assigneeId = r2,
|
|
605
|
+
c2.assigneeId = r2, oe(e2, c2, a2, "superPageRuntimeMessage.successfulAssign").then((e3) => {
|
|
607
606
|
h(s2, o2);
|
|
608
607
|
});
|
|
609
608
|
}
|
|
610
609
|
}
|
|
611
|
-
function
|
|
612
|
-
const t2 = e2.pageContext, s2 = t2.entity.data, n2 = t2.systemCode, o2 = t2.code, i2 =
|
|
610
|
+
function ee(e2) {
|
|
611
|
+
const t2 = e2.pageContext, s2 = t2.entity.data, n2 = t2.systemCode, o2 = t2.code, i2 = te(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 };
|
|
613
612
|
return r2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, systemCode: n2 }, r2;
|
|
614
613
|
}
|
|
615
|
-
function
|
|
614
|
+
function te(t2) {
|
|
616
615
|
if (t2.entity) {
|
|
617
616
|
let s2 = e(t2.entity.page);
|
|
618
617
|
s2 || (s2 = {});
|
|
@@ -620,12 +619,12 @@ function se(t2) {
|
|
|
620
619
|
return n2 && Object.assign(s2, n2), s2;
|
|
621
620
|
}
|
|
622
621
|
}
|
|
623
|
-
function
|
|
622
|
+
function se(e2, t2) {
|
|
624
623
|
if (t2) {
|
|
625
624
|
const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
|
|
626
625
|
let p2 = n(r2, s2.isTest) + "/dsc/workflow-commons/add-signers";
|
|
627
626
|
if (p2 = o(p2, a2, r2, s2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
628
|
-
const d2 =
|
|
627
|
+
const d2 = ee(e2);
|
|
629
628
|
d2.completeTaskParam.transactors = t2.loginNames.join(",").split(",");
|
|
630
629
|
const m2 = c.post(p2, d2);
|
|
631
630
|
m2 && m2.then((e3) => {
|
|
@@ -633,15 +632,32 @@ function ne(e2, t2) {
|
|
|
633
632
|
});
|
|
634
633
|
}
|
|
635
634
|
}
|
|
636
|
-
async function
|
|
635
|
+
async function ne(e2, t2) {
|
|
637
636
|
if (t2) {
|
|
638
|
-
const s2 = await
|
|
637
|
+
const s2 = await function(e3) {
|
|
638
|
+
return new Promise((t3, s3) => {
|
|
639
|
+
var _a, _b, _c, _d;
|
|
640
|
+
const n2 = e3.configureObj;
|
|
641
|
+
if (n2) {
|
|
642
|
+
let s4 = (_b = (_a = n2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isMustRemark;
|
|
643
|
+
if (true === s4) {
|
|
644
|
+
const t4 = e3.pageContext, o2 = (_d = (_c = n2.props) == null ? void 0 : _c.base) == null ? void 0 : _d.mustRemarkConditions;
|
|
645
|
+
s4 = N(t4, n2, o2);
|
|
646
|
+
}
|
|
647
|
+
true === s4 ? p.prompt(u().t("superPageRuntimeMessage.pleaseInputRemark"), u().t("superPageRuntimeMessage.remark"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), inputType: "textarea", inputValue: null, closeOnClickModal: false, inputValidator: (e4) => !(!e4 || !e4.trim()) || u().t("superPageRuntimeMessage.pleaseInputRemark") }).then(({ value: e4 }) => {
|
|
648
|
+
t3(e4);
|
|
649
|
+
}).catch(() => {
|
|
650
|
+
t3(false);
|
|
651
|
+
}) : t3(true);
|
|
652
|
+
} else t3(true);
|
|
653
|
+
});
|
|
654
|
+
}(e2);
|
|
639
655
|
if (s2) {
|
|
640
656
|
const i2 = e2.pageContext, a2 = e2.configureObj, r2 = i2.systemCode, p2 = i2.backendUrl;
|
|
641
657
|
let d2 = n(p2, i2.isTest) + "/dsc/workflow-commons/copies";
|
|
642
658
|
if (d2 = o(d2, r2, p2, i2.isTest), !d2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
643
|
-
const m2 =
|
|
644
|
-
m2.completeTaskParam.transactors = t2.loginNames.join(",").split(","), true !== s2 && (m2.completeTaskParam.
|
|
659
|
+
const m2 = ee(e2);
|
|
660
|
+
m2.completeTaskParam.transactors = t2.loginNames.join(",").split(","), true !== s2 && (m2.completeTaskParam.remark = s2);
|
|
645
661
|
const f2 = c.post(d2, m2);
|
|
646
662
|
f2 && f2.then((e3) => {
|
|
647
663
|
l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), h(i2, a2);
|
|
@@ -649,7 +665,7 @@ async function oe(e2, t2) {
|
|
|
649
665
|
}
|
|
650
666
|
}
|
|
651
667
|
}
|
|
652
|
-
function
|
|
668
|
+
function oe(e2, t2, s2, n2) {
|
|
653
669
|
return new Promise((i2, a2) => {
|
|
654
670
|
const r2 = e2.pageContext, p2 = r2.systemCode, d2 = r2.backendUrl;
|
|
655
671
|
if (!(s2 = o(s2, p2, d2, r2.isTest))) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
@@ -662,27 +678,27 @@ function ie(e2, t2, s2, n2) {
|
|
|
662
678
|
});
|
|
663
679
|
});
|
|
664
680
|
}
|
|
665
|
-
function
|
|
681
|
+
function ie(e2) {
|
|
666
682
|
const t2 = e2.pageContext, s2 = t2.systemCode, i2 = t2.backendUrl, a2 = t2.completeTaskParam;
|
|
667
683
|
let r2 = n(i2, t2.isTest) + "/dsc/workflow-commons/returnable-task/" + a2.taskId;
|
|
668
684
|
if (r2 = o(r2, s2, i2, t2.isTest), !r2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
669
|
-
const p2 = t2.code, d2 =
|
|
685
|
+
const p2 = t2.code, d2 = te(t2), m2 = { beanName: t2.beanName, additionalParamMap: d2, tableName: t2.tableName, functionCode: p2 + ".xxx" };
|
|
670
686
|
return c.post(r2, m2);
|
|
671
687
|
}
|
|
672
|
-
function
|
|
688
|
+
function ae(e2, t2) {
|
|
673
689
|
const s2 = e2.pageContext, o2 = e2.configureObj, i2 = s2.backendUrl, a2 = n(i2, s2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 = K(e2);
|
|
674
|
-
t2.nodeName && (r2.returnToNodeName = t2.nodeName), t2.nodeId && (r2.returnToNodeId = t2.nodeId),
|
|
690
|
+
t2.nodeName && (r2.returnToNodeName = t2.nodeName), t2.nodeId && (r2.returnToNodeId = t2.nodeId), oe(e2, r2, a2, "superPageRuntimeMessage.successfulReturnTaskTo").then((e3) => {
|
|
675
691
|
h(s2, o2);
|
|
676
692
|
});
|
|
677
693
|
}
|
|
678
|
-
function
|
|
694
|
+
function re(e2) {
|
|
679
695
|
const t2 = e2.pageContext, s2 = t2.systemCode, i2 = t2.backendUrl;
|
|
680
696
|
let a2 = n(i2, t2.isTest) + "/dsc/workflow-commons/get-remove-signers";
|
|
681
697
|
const r2 = K(e2);
|
|
682
698
|
if (a2 = o(a2, s2, i2, t2.isTest), a2) return c.post(a2, r2);
|
|
683
699
|
l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
684
700
|
}
|
|
685
|
-
function
|
|
701
|
+
function ce(e2, t2) {
|
|
686
702
|
if (t2) {
|
|
687
703
|
const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
|
|
688
704
|
let p2 = n(r2, s2.isTest) + "/dsc/workflow-commons/remove-signers";
|
|
@@ -695,7 +711,7 @@ function ue(e2, t2) {
|
|
|
695
711
|
});
|
|
696
712
|
}
|
|
697
713
|
}
|
|
698
|
-
function
|
|
714
|
+
function ue(e2, t2, s2) {
|
|
699
715
|
let n2 = false;
|
|
700
716
|
return e2 && t2 && ("workflowSave" === e2 ? n2 = function(e3) {
|
|
701
717
|
if ((void 0 === e3.processState || null === e3.processState || "UNSUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active) && (void 0 === e3.processState || true === e3.showButtonSave)) return true;
|
|
@@ -757,18 +773,18 @@ function le(e2, t2, s2) {
|
|
|
757
773
|
return false;
|
|
758
774
|
}(t2))), n2;
|
|
759
775
|
}
|
|
760
|
-
function
|
|
761
|
-
e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true,
|
|
776
|
+
function le(e2, t2) {
|
|
777
|
+
e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, pe(e2, t2).then((t3) => {
|
|
762
778
|
e2.isRefresh = true;
|
|
763
779
|
});
|
|
764
780
|
}
|
|
765
|
-
function
|
|
781
|
+
function pe(e2, s2, o2) {
|
|
766
782
|
const i2 = e2.pageType;
|
|
767
783
|
if (i2 && "form" === i2) {
|
|
768
784
|
e2.canClick = false;
|
|
769
785
|
return t(e2) ? function(e3, t2, s3) {
|
|
770
786
|
return new Promise((o3, i3) => {
|
|
771
|
-
const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 =
|
|
787
|
+
const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = te(e3);
|
|
772
788
|
let d2 = t2 || null, f2 = t2 ? [t2] : null;
|
|
773
789
|
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);
|
|
774
790
|
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 };
|
|
@@ -779,10 +795,10 @@ function de(e2, s2, o2) {
|
|
|
779
795
|
t3[s4] = s4;
|
|
780
796
|
}), C2.listCodesMap = t3;
|
|
781
797
|
}
|
|
782
|
-
f2 && (C2.ids =
|
|
798
|
+
f2 && (C2.ids = de(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);
|
|
783
799
|
const T2 = n(e3.backendUrl, e3.isTest) + "/dsc/workflow-commons/gets", h2 = E();
|
|
784
800
|
h2.restorePageLoadState(), y(null, e3, e3, "beforeFormLoadData"), c.post(T2, C2).then((t3) => {
|
|
785
|
-
e3.definitionId = t3.definitionId, e3.entity.task = t3.taskParamMap, Q(t3, true, e3), e3.workflowRules =
|
|
801
|
+
e3.definitionId = t3.definitionId, e3.entity.task = t3.taskParamMap, Q(t3, true, e3), e3.workflowRules = A(e3);
|
|
786
802
|
const s4 = e3.pageType;
|
|
787
803
|
s4 && "form" === s4 && function(e4) {
|
|
788
804
|
(function(e5) {
|
|
@@ -821,11 +837,11 @@ function de(e2, s2, o2) {
|
|
|
821
837
|
});
|
|
822
838
|
}(e2, s2, o2) : function(e3, t2, s3) {
|
|
823
839
|
return new Promise((o3, i3) => {
|
|
824
|
-
const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 =
|
|
840
|
+
const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = te(e3);
|
|
825
841
|
let d2 = t2 || null, f2 = t2 ? [t2] : null;
|
|
826
842
|
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);
|
|
827
843
|
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 };
|
|
828
|
-
if (!T2.id && p2 && p2._t_ && m(p2._t_ + "_id") && (T2.id = m(p2._t_ + "_id")), f2 && (T2.ids =
|
|
844
|
+
if (!T2.id && p2 && p2._t_ && m(p2._t_ + "_id") && (T2.id = m(p2._t_ + "_id")), f2 && (T2.ids = de(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) {
|
|
829
845
|
const t3 = {};
|
|
830
846
|
e3.tableUuids.forEach((e4) => {
|
|
831
847
|
const s4 = r(u2, l2, e4);
|
|
@@ -836,7 +852,7 @@ function de(e2, s2, o2) {
|
|
|
836
852
|
const h2 = C2 + "/dsc/commons/gets", P2 = E();
|
|
837
853
|
P2.restorePageLoadState(), y(null, e3, e3, "beforeFormLoadData"), c.post(h2, T2).then((t3) => {
|
|
838
854
|
t3 && (e3.entity.data = t3.entity, e3.initFormNo = t3.formNo);
|
|
839
|
-
const s4 = e3.customRules, n2 = e3.rules, i4 =
|
|
855
|
+
const s4 = e3.customRules, n2 = e3.rules, i4 = O(s4, n2);
|
|
840
856
|
e3.rules = i4, e3.canClick = true, y(null, e3, e3, "afterFormLoadData"), P2.setFormPageDataLoadState(true), o3(t3);
|
|
841
857
|
}).catch((t3) => {
|
|
842
858
|
e3.canClick = true, i3(t3);
|
|
@@ -848,10 +864,10 @@ function de(e2, s2, o2) {
|
|
|
848
864
|
e3(true);
|
|
849
865
|
});
|
|
850
866
|
}
|
|
851
|
-
function
|
|
867
|
+
function de(e2) {
|
|
852
868
|
return e2 && ("string" == typeof e2 ? e2 = e2.split(",") : "number" == typeof e2 && (e2 = [e2])), e2;
|
|
853
869
|
}
|
|
854
|
-
function
|
|
870
|
+
function me(e2) {
|
|
855
871
|
const t2 = e2.props.setValueList;
|
|
856
872
|
if (t2) {
|
|
857
873
|
if (s(t2) && t2.length > 0) return JSON.stringify(t2);
|
|
@@ -859,41 +875,41 @@ function fe(e2) {
|
|
|
859
875
|
}
|
|
860
876
|
return null;
|
|
861
877
|
}
|
|
862
|
-
function
|
|
878
|
+
function fe(e2, t2) {
|
|
863
879
|
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";
|
|
864
880
|
return c.post(i2, o2);
|
|
865
881
|
}
|
|
866
|
-
function
|
|
882
|
+
function ge(e2) {
|
|
867
883
|
const t2 = e2.code, s2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/list/" + t2;
|
|
868
884
|
return c.get(s2);
|
|
869
885
|
}
|
|
870
|
-
function
|
|
886
|
+
function be(e2) {
|
|
871
887
|
const t2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/" + e2;
|
|
872
888
|
return c.delete(t2);
|
|
873
889
|
}
|
|
874
890
|
export {
|
|
875
891
|
F as dealAfterOperate,
|
|
876
892
|
Q as dealCompleteTaskParam,
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
893
|
+
be as deleteChartCondition,
|
|
894
|
+
se as doAddSigner,
|
|
895
|
+
Z as doAssign,
|
|
896
|
+
ne as doCreateCopyTask,
|
|
881
897
|
z as doImportFinally,
|
|
882
|
-
|
|
883
|
-
|
|
898
|
+
ce as doRemoveSigners,
|
|
899
|
+
ae as doReturnTaskTo,
|
|
884
900
|
D as exportFormReport,
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
901
|
+
te as getAdditionalParamMap,
|
|
902
|
+
pe as getFormData,
|
|
903
|
+
re as getRemoveSigner,
|
|
888
904
|
V as getSaveFormRequest,
|
|
889
905
|
W as getSaveFormRequestWithRow,
|
|
890
|
-
|
|
891
|
-
|
|
906
|
+
ie as getTaskInformitions,
|
|
907
|
+
ue as isVisibleWorkflowButton,
|
|
892
908
|
Y as judgeDataNumber,
|
|
893
|
-
|
|
909
|
+
ge as listChartConditions,
|
|
894
910
|
G as refreshFormOrListPage,
|
|
895
|
-
|
|
896
|
-
|
|
911
|
+
le as refreshPage,
|
|
912
|
+
fe as saveChartConditionBase,
|
|
897
913
|
_ as standardEvents,
|
|
898
914
|
$ as updateValuesWhenCloseDialog
|
|
899
915
|
};
|
package/dist/es/i18n/langs/cn.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = { superPageRuntimeMessage: { successfulSave: "保存成功", recordLine: "第 {row} 行记录", tableListSubTableDataVerificationFailed: "表单子表数据校验失败", formDataVerificationFailed: "表单数据校验失败", successfulOperation: "操作成功", selectTemplate: "选择模板", temlpate: "模板", operating: "操作", export: "导出", tips: "提示", sure: "确定", cancel: "取消", whetherToConfirmSubmit: "确定{name}吗?", whetherToConfirmAgree: "确定{name}吗?", whetherToConfirmDisagree: "确定{name}吗?", pleaseSelectRecord: "请选择记录", whetherToConfirmDeletion: "确定删除吗?", successfulDelete: "删除成功", noFileSelected: "请选择一个文件", asyncImport: "正在异步导入,请等待消息通知!", successfulImport: "导入成功", thePreconditionOfTheButtonTo: "该按钮前置条件为[{message}]", onlyOneRecordCanBeselected: "只能选择一条记录", selectAtLeastOneRecord: "请至少选择一条记录", requestPathEmpty: "后台请求路径为空", successfulSubmit: "提交成功", successfulCompleteTask: "任务办理成功", successfulAssign: "指派任务成功", successfulRetrieve: "取回任务成功", successfulDrawTask: "领取任务成功", successfulAbandonReceive: "放弃任务成功", successfulReturnToPreviousTask: "退回上一环节成功", successfulEndInstance: "强制结束流程成功", selectNode: "选择环节", nodeName: "环节名称", nodeId: "环节编码", pleaseSelectNode: "请选择环节", successfulReturnTaskTo: "退回成功", selectRemoveUsers: "选择减签任务", transactorName: "办理人姓名", transactor: "办理人登录名", trustorName: "委托人姓名", pleaseSelectRemoverUsers: "请选择减签用户", required: "{label}必填", formatMismatch: "{label}格式不匹配", overMaxLength: "{label}最多只能输入{value}字符", limitMinLength: "{label}至少输入{value}字符", flowNotStart: "流程未提交", pleaseInputOpinion: "请输入意见", opinion: "意见", pleaseSelectCondition: "请选择条件", pleaseInputConditionName: "请输入条件名称", conditionName: "名称", save: "保存", saveCondition: "保存条件" } };
|
|
1
|
+
const e = { superPageRuntimeMessage: { successfulSave: "保存成功", recordLine: "第 {row} 行记录", tableListSubTableDataVerificationFailed: "表单子表数据校验失败", formDataVerificationFailed: "表单数据校验失败", successfulOperation: "操作成功", selectTemplate: "选择模板", temlpate: "模板", operating: "操作", export: "导出", tips: "提示", sure: "确定", cancel: "取消", whetherToConfirmSubmit: "确定{name}吗?", whetherToConfirmAgree: "确定{name}吗?", whetherToConfirmDisagree: "确定{name}吗?", pleaseSelectRecord: "请选择记录", whetherToConfirmDeletion: "确定删除吗?", successfulDelete: "删除成功", noFileSelected: "请选择一个文件", asyncImport: "正在异步导入,请等待消息通知!", successfulImport: "导入成功", thePreconditionOfTheButtonTo: "该按钮前置条件为[{message}]", onlyOneRecordCanBeselected: "只能选择一条记录", selectAtLeastOneRecord: "请至少选择一条记录", requestPathEmpty: "后台请求路径为空", successfulSubmit: "提交成功", successfulCompleteTask: "任务办理成功", successfulAssign: "指派任务成功", successfulRetrieve: "取回任务成功", successfulDrawTask: "领取任务成功", successfulAbandonReceive: "放弃任务成功", successfulReturnToPreviousTask: "退回上一环节成功", successfulEndInstance: "强制结束流程成功", selectNode: "选择环节", nodeName: "环节名称", nodeId: "环节编码", pleaseSelectNode: "请选择环节", successfulReturnTaskTo: "退回成功", selectRemoveUsers: "选择减签任务", transactorName: "办理人姓名", transactor: "办理人登录名", trustorName: "委托人姓名", pleaseSelectRemoverUsers: "请选择减签用户", required: "{label}必填", formatMismatch: "{label}格式不匹配", overMaxLength: "{label}最多只能输入{value}字符", limitMinLength: "{label}至少输入{value}字符", flowNotStart: "流程未提交", pleaseInputOpinion: "请输入意见", opinion: "意见", pleaseInputRemark: "请输入备注", remark: "备注", pleaseSelectCondition: "请选择条件", pleaseInputConditionName: "请输入条件名称", conditionName: "名称", save: "保存", saveCondition: "保存条件" } };
|
|
2
2
|
export {
|
|
3
3
|
e as default
|
|
4
4
|
};
|
package/dist/es/i18n/langs/en.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = { superPageRuntimeMessage: { successfulSave: "Save succeeded", recordLine: "Record line {row}", tableListSubTableDataVerificationFailed: "Table List Sub Table Data Verification Failed", formDataVerificationFailed: "Form Data Verification Failed", successfulOperation: "Operation successful", selectTemplate: "Select Template", temlpate: "Template", operating: "Operate", export: "Export", tips: "Tip", sure: "Sure", cancel: "Cancel", whetherToConfirmSubmit: "Are you sure to {name}?", whetherToConfirmAgree: "Are you sure to {name}?", whetherToConfirmDisagree: "Are you sure to {name}?", pleaseSelectRecord: "Please select the record", whetherToConfirmDeletion: "Are you sure to delete?", successfulDelete: "Delete succeeded", noFileSelected: "Please select a file", asyncImport: "Asynchronous import, please wait for message notification!", successfulImport: "Import succeeded", thePreconditionOfTheButtonTo: "The Precondition Of The Button To [{message}]", onlyOneRecordCanBeselected: "Only One Record Can Be Selected", selectAtLeastOneRecord: "Please Select At Least One Record", requestPathEmpty: "Backend request path is empty", successfulSubmit: "Submit succeeded", successfulCompleteTask: "Task handled successfully", successfulAssign: "Task assigned successfully", successfulRetrieve: "Retrieve task succeeded", successfulDrawTask: "Task received successfully", successfulAbandonReceive: "The task was abandoned successfully", successfulReturnToPreviousTask: "Successfully returned to the previous phase", successfulEndInstance: "Forced to end the process successfully", selectNode: "Select Node", nodeName: "Node Name", nodeId: "Node Code", pleaseSelectNode: "Please
|
|
1
|
+
const e = { superPageRuntimeMessage: { successfulSave: "Save succeeded", recordLine: "Record line {row}", tableListSubTableDataVerificationFailed: "Table List Sub Table Data Verification Failed", formDataVerificationFailed: "Form Data Verification Failed", successfulOperation: "Operation successful", selectTemplate: "Select Template", temlpate: "Template", operating: "Operate", export: "Export", tips: "Tip", sure: "Sure", cancel: "Cancel", whetherToConfirmSubmit: "Are you sure to {name}?", whetherToConfirmAgree: "Are you sure to {name}?", whetherToConfirmDisagree: "Are you sure to {name}?", pleaseSelectRecord: "Please select the record", whetherToConfirmDeletion: "Are you sure to delete?", successfulDelete: "Delete succeeded", noFileSelected: "Please select a file", asyncImport: "Asynchronous import, please wait for message notification!", successfulImport: "Import succeeded", thePreconditionOfTheButtonTo: "The Precondition Of The Button To [{message}]", onlyOneRecordCanBeselected: "Only One Record Can Be Selected", selectAtLeastOneRecord: "Please Select At Least One Record", requestPathEmpty: "Backend request path is empty", successfulSubmit: "Submit succeeded", successfulCompleteTask: "Task handled successfully", successfulAssign: "Task assigned successfully", successfulRetrieve: "Retrieve task succeeded", successfulDrawTask: "Task received successfully", successfulAbandonReceive: "The task was abandoned successfully", successfulReturnToPreviousTask: "Successfully returned to the previous phase", successfulEndInstance: "Forced to end the process successfully", selectNode: "Select Node", nodeName: "Node Name", nodeId: "Node Code", pleaseSelectNode: "Please Select Node", successfulReturnTaskTo: "Returned successfully", selectRemoveUsers: "Select Remove Task", transactorName: "Transactor Name", transactor: "Transactor Loginname", trustorName: "Trustor Name", pleaseSelectRemoverUsers: "Please select remove task", required: "{label} is required", formatMismatch: "{label} Format mismatch", overMaxLength: "{label} can only input a maximum of {value} characters", limitMinLength: "Enter at least {value} characters for {label}", flowNotStart: "Workflow Not Started", pleaseInputOpinion: "Please input opinion", opinion: "Opinion", pleaseInputRemark: "Please input remark", remark: "Remark", pleaseSelectCondition: "Please select condition", pleaseInputConditionName: "Please input condition name", conditionName: "Name", save: "Save", saveCondition: "Save Condition" } };
|
|
2
2
|
export {
|
|
3
3
|
e as default
|
|
4
4
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-runtime",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.62",
|
|
4
4
|
"description": "AgileBuilder super page runtime",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/es/index.js",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
49
49
|
"@vue/eslint-config-prettier": "^8.0.0",
|
|
50
50
|
"@vue/test-utils": "^2.4.4",
|
|
51
|
-
"agilebuilder-ui": "1.1.
|
|
51
|
+
"agilebuilder-ui": "1.1.23",
|
|
52
52
|
"axios": "^1.6.8",
|
|
53
53
|
"cypress": "^13.6.6",
|
|
54
54
|
"element-plus": "^2.6.1",
|