super-page-runtime 2.3.37 → 2.3.38-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 +131 -131
- package/dist/es/components/runtime/utils/assemblys-config.js +1 -1
- package/dist/es/components/runtime/utils/events/event-util.js +114 -114
- package/dist/es/components/runtime/utils/events/print-label.js +33 -34
- package/dist/es/components/runtime/utils/events/standard-event.js +37 -37
- package/dist/es/components/runtime/utils/events/validator-util.js +161 -164
- package/dist/es/components/runtime/utils/page-init-util.js +26 -28
- package/dist/es/components/runtime/utils/table-utils.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -8
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +95 -100
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +2 -3
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +9 -11
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -2
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +5 -5
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +61 -61
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +9 -11
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +16 -16
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +33 -33
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +10 -11
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue2.js +90 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +57 -59
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +5 -7
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +4 -6
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +4 -5
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +11 -11
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +8 -10
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +6 -1
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +38 -30
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -1
- package/dist/es/components/runtime/views/super-page.vue2.js +18 -19
- package/dist/es/i18n/langs/cn.js +1 -1
- package/dist/es/i18n/langs/en.js +1 -1
- package/dist/es/style.css +18 -18
- package/package.json +2 -2
|
@@ -8,8 +8,8 @@ import T from "../eventBus.js";
|
|
|
8
8
|
import k from "axios";
|
|
9
9
|
import { handleEvent as h, getTableUuid as y, doAfterClickEvent as P } from "./event-util.js";
|
|
10
10
|
import { setStoreInfo as I } from "../store-util.js";
|
|
11
|
-
import { getPermissionCodes as v, getDefaultValue as R, getModelFields as
|
|
12
|
-
import { caculateShowCondition as
|
|
11
|
+
import { getPermissionCodes as v, getDefaultValue as R, getModelFields as S } from "../page-init-util.js";
|
|
12
|
+
import { caculateShowCondition as M, updateChartDatasources as x, getVariableValue as N, setVariableValue as O } from "../page-helper-util.js";
|
|
13
13
|
import U from "./print-label.js";
|
|
14
14
|
import { getTableNameByTableUuid as A, getCurrentUserFileTasks as E, setFileTaskRead as _ } from "../table-utils.js";
|
|
15
15
|
import { getWorkflowRules as j, packageCustomRules as D } from "./validator-util.js";
|
|
@@ -155,7 +155,7 @@ const Y = { save: function(e2) {
|
|
|
155
155
|
if (a2.fileuploadInfo && a2.fileuploadInfo.length > 0) {
|
|
156
156
|
const e4 = a2.fileuploadInfo[0];
|
|
157
157
|
let t2;
|
|
158
|
-
e4.isTable && e4.tableTitle && void 0 !== e4.rowIndex ?
|
|
158
|
+
t2 = e4.isTable && e4.tableTitle && void 0 !== e4.rowIndex ? l().t("superPageRuntimeMessage.fileUploadUnCompleteTable", { label: e4.label, tableTitle: e4.tableTitle, rowIndex: e4.rowIndex + 1 }) : l().t("superPageRuntimeMessage.fileUploadUnComplete", { label: e4.label }), u({ message: t2, type: "warning", showClose: true }), o2(false);
|
|
159
159
|
} else {
|
|
160
160
|
let d2 = t(p2, a2.isTest) + "/dsc/workflow-commons/start";
|
|
161
161
|
if (d2 = n(d2, r2, p2, a2.isTest), !d2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
@@ -177,7 +177,7 @@ const Y = { save: function(e2) {
|
|
|
177
177
|
if (a2.fileuploadInfo && a2.fileuploadInfo.length > 0) {
|
|
178
178
|
const e4 = a2.fileuploadInfo[0];
|
|
179
179
|
let t2;
|
|
180
|
-
e4.isTable && e4.tableTitle && void 0 !== e4.rowIndex ?
|
|
180
|
+
t2 = e4.isTable && e4.tableTitle && void 0 !== e4.rowIndex ? l().t("superPageRuntimeMessage.fileUploadUnCompleteTable", { label: e4.label, tableTitle: e4.tableTitle, rowIndex: e4.rowIndex + 1 }) : l().t("superPageRuntimeMessage.fileUploadUnComplete", { label: e4.label }), u({ message: t2, type: "warning", showClose: true }), o2(false);
|
|
181
181
|
} else {
|
|
182
182
|
const i2 = a2.systemCode, r2 = a2.backendUrl;
|
|
183
183
|
let p2 = t(r2, a2.isTest) + "/dsc/workflow-commons/submit";
|
|
@@ -291,8 +291,7 @@ const Y = { save: function(e2) {
|
|
|
291
291
|
let t2 = null;
|
|
292
292
|
try {
|
|
293
293
|
if (t2 = e3.menuItem ? e3.menuItem.templateUuid : e3.configureObj.props.base.template[0].templateUuid, !t2) throw new Error("未找到模板");
|
|
294
|
-
} catch (
|
|
295
|
-
console.error("打印标签失败,未在配置中找到找到模板", t3, e3);
|
|
294
|
+
} catch (e4) {
|
|
296
295
|
}
|
|
297
296
|
U.printLabel(e3, t2);
|
|
298
297
|
}(e2);
|
|
@@ -361,7 +360,7 @@ function z(e2) {
|
|
|
361
360
|
let s2 = null;
|
|
362
361
|
o2 && o2.runtime && (s2 = o2.runtime.props);
|
|
363
362
|
const a2 = s2 ? s2.state : void 0;
|
|
364
|
-
s2 && (s2.state = "disabled"),
|
|
363
|
+
s2 && (s2.state = "disabled"), x(t2, n2, void 0, e2.isInitChart).then(() => {
|
|
365
364
|
s2 && (s2.state = a2);
|
|
366
365
|
}).catch(() => {
|
|
367
366
|
s2 && (s2.state = a2);
|
|
@@ -473,10 +472,11 @@ function ne(t2, n2, o2, s2, a2) {
|
|
|
473
472
|
let a3 = n3.props.base.successOperation;
|
|
474
473
|
const i3 = n3.props.base.isNeedValueMapping, r2 = y(t3, n3);
|
|
475
474
|
a3 || re.includes(n3.name) || (a3 = "refresh");
|
|
476
|
-
if ("refresh" === a3)
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
475
|
+
if ("refresh" === a3) {
|
|
476
|
+
if (r2) {
|
|
477
|
+
w(t3, r2).refresh();
|
|
478
|
+
}
|
|
479
|
+
} else if ("closeWindow" === a3 || "closeWindowAndRefresh" === a3) {
|
|
480
480
|
const s4 = e(t3.entity.page);
|
|
481
481
|
let a4 = o3;
|
|
482
482
|
a4 || (a4 = {}), Object.assign(s4, a4), ae(t3, n3, s4, i3);
|
|
@@ -530,7 +530,7 @@ function ie(e2, t2, n2, o2, s2) {
|
|
|
530
530
|
Array.isArray(e3) && e3.length > 0 && (o3 = e3[0]), t3.forEach((e4) => {
|
|
531
531
|
const t4 = e4.source;
|
|
532
532
|
if (!t4) return;
|
|
533
|
-
const s3 = t4.split("."), a3 = N(o3, s3), i2 = e4.target, r2 =
|
|
533
|
+
const s3 = t4.split("."), a3 = N(o3, s3), i2 = e4.target, r2 = S(null, i2);
|
|
534
534
|
O(n3.entity, r2, a3);
|
|
535
535
|
});
|
|
536
536
|
}
|
|
@@ -548,7 +548,7 @@ function ce(e2, t2, n2, o2) {
|
|
|
548
548
|
const n3 = y(e2, t2);
|
|
549
549
|
if (n3) {
|
|
550
550
|
w(e2, n3).refresh();
|
|
551
|
-
}
|
|
551
|
+
}
|
|
552
552
|
} else if (a2 && "form" === a2) {
|
|
553
553
|
const t3 = e2.entity.data;
|
|
554
554
|
Ae(e2, t3.ID ? t3.ID : t3.id);
|
|
@@ -561,7 +561,7 @@ function le(e2, o2, s2, a2) {
|
|
|
561
561
|
if (m2.fileuploadInfo && m2.fileuploadInfo.length > 0) {
|
|
562
562
|
const e3 = m2.fileuploadInfo[0];
|
|
563
563
|
let t2;
|
|
564
|
-
e3.isTable && e3.tableTitle && void 0 !== e3.rowIndex ?
|
|
564
|
+
t2 = e3.isTable && e3.tableTitle && void 0 !== e3.rowIndex ? l().t("superPageRuntimeMessage.fileUploadUnCompleteTable", { label: e3.label, tableTitle: e3.tableTitle, rowIndex: e3.rowIndex + 1 }) : l().t("superPageRuntimeMessage.fileUploadUnComplete", { label: e3.label }), u({ message: t2, type: "warning", showClose: true }), r2(false);
|
|
565
565
|
} else {
|
|
566
566
|
const u2 = e2.mainDefaultValueColumns, g2 = e2.dynamicColumnInfo, b2 = e2.ids, C2 = f2.props.base.successOperation;
|
|
567
567
|
let w2 = false;
|
|
@@ -620,13 +620,13 @@ function ue(e2, s2) {
|
|
|
620
620
|
I2 && f2.append("functionCode", I2);
|
|
621
621
|
const R2 = Te(a2);
|
|
622
622
|
f2.append("additionalParamMapStr", JSON.stringify(R2));
|
|
623
|
-
const
|
|
624
|
-
f2.append("isPermission",
|
|
625
|
-
const
|
|
626
|
-
|
|
627
|
-
const
|
|
628
|
-
let N2 = t(
|
|
629
|
-
N2 = n(N2,
|
|
623
|
+
const S2 = void 0 === p2.isPermission || "true" === p2.isPermission || p2.isPermission;
|
|
624
|
+
f2.append("isPermission", S2 + "");
|
|
625
|
+
const M2 = a2.systemCode;
|
|
626
|
+
M2 && f2.append("systemCode", M2);
|
|
627
|
+
const x2 = a2.backendUrl;
|
|
628
|
+
let N2 = t(x2, a2.isTest) + "/dsc/commons/import-data";
|
|
629
|
+
N2 = n(N2, M2, x2, a2.isTest), c.post(N2, f2).then((e3) => {
|
|
630
630
|
if (h2) u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.asyncImport") }), Fe(a2);
|
|
631
631
|
else {
|
|
632
632
|
let t2 = false;
|
|
@@ -658,7 +658,7 @@ function de(e2) {
|
|
|
658
658
|
const p2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
|
|
659
659
|
p2 && (c2.logSettingText = p2.join("")), c2.systemCode || (c2.systemCode = a2);
|
|
660
660
|
const d2 = Te(t2);
|
|
661
|
-
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
|
|
661
|
+
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]));
|
|
662
662
|
const m2 = n2.props.base.successOperation;
|
|
663
663
|
m2 && "noOperation" === m2 && (c2.unControlVersion = true), c2.isWorkflowEntity = true;
|
|
664
664
|
const f2 = (_c = (_b = n2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
|
|
@@ -696,7 +696,7 @@ async function fe(e2, o2) {
|
|
|
696
696
|
if (r2.fileuploadInfo && r2.fileuploadInfo.length > 0) {
|
|
697
697
|
const e3 = r2.fileuploadInfo[0];
|
|
698
698
|
let t2;
|
|
699
|
-
e3.isTable && e3.tableTitle && void 0 !== e3.rowIndex ?
|
|
699
|
+
t2 = e3.isTable && e3.tableTitle && void 0 !== e3.rowIndex ? l().t("superPageRuntimeMessage.fileUploadUnCompleteTable", { label: e3.label, tableTitle: e3.tableTitle, rowIndex: e3.rowIndex + 1 }) : l().t("superPageRuntimeMessage.fileUploadUnComplete", { label: e3.label }), u({ message: t2, type: "warning", showClose: true }), a2(false);
|
|
700
700
|
} else if (s2) {
|
|
701
701
|
const p2 = r2.systemCode, d2 = r2.backendUrl, m2 = true === s2 ? (_a = r2.completeTaskParam) == null ? void 0 : _a.opinion : s2;
|
|
702
702
|
let f2 = t(d2, r2.isTest) + "/dsc/workflow-commons/complete-tasks";
|
|
@@ -722,7 +722,7 @@ function ge(e2) {
|
|
|
722
722
|
let n3 = false;
|
|
723
723
|
if (((_c = (_b = o2.props) == null ? void 0 : _b.base) == null ? void 0 : _c.isMustOpinion) && (n3 = true), true === n3) {
|
|
724
724
|
const t3 = e2.pageContext, s2 = (_e2 = (_d = o2.props) == null ? void 0 : _d.base) == null ? void 0 : _e2.mustOpinionConditions;
|
|
725
|
-
n3 =
|
|
725
|
+
n3 = M(t3, s2);
|
|
726
726
|
}
|
|
727
727
|
true === n3 ? (u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.pleaseInputOpinion") }), e2.pageContext.workflowOpinion.focusOpinionInput = true, t2(false)) : t2(true);
|
|
728
728
|
} else t2(true);
|
|
@@ -753,7 +753,7 @@ function we(e2) {
|
|
|
753
753
|
t2 = o2.config;
|
|
754
754
|
break;
|
|
755
755
|
}
|
|
756
|
-
if (
|
|
756
|
+
if (M(e2.pageContext, o2.conditions)) {
|
|
757
757
|
t2 = o2.config;
|
|
758
758
|
break;
|
|
759
759
|
}
|
|
@@ -806,7 +806,7 @@ async function ye(e2, o2) {
|
|
|
806
806
|
if (void 0 === n3 || true === n3) {
|
|
807
807
|
n3 = true;
|
|
808
808
|
const t3 = e3.pageContext, s3 = (_d = (_c = o3.props) == null ? void 0 : _c.base) == null ? void 0 : _d.mustRemarkConditions;
|
|
809
|
-
n3 =
|
|
809
|
+
n3 = M(t3, s3);
|
|
810
810
|
}
|
|
811
811
|
true === n3 ? p.prompt(l().t("superPageRuntimeMessage.pleaseInputRemark"), l().t("superPageRuntimeMessage.remark"), { confirmButtonText: l().t("superPageRuntimeMessage.sure"), cancelButtonText: l().t("superPageRuntimeMessage.cancel"), inputType: "textarea", inputValue: null, closeOnClickModal: false, inputValidator: (e4) => !(!e4 || !e4.trim()) || l().t("superPageRuntimeMessage.pleaseInputRemark") }).then(({ value: e4 }) => {
|
|
812
812
|
t2(e4);
|
|
@@ -871,7 +871,7 @@ function Re(e2) {
|
|
|
871
871
|
if (i2 = n(i2, s2, a2, o2.isTest), i2) return c.post(i2, r2);
|
|
872
872
|
u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
873
873
|
}
|
|
874
|
-
function
|
|
874
|
+
function Se(e2, o2) {
|
|
875
875
|
if (o2) {
|
|
876
876
|
const s2 = e2.pageContext, a2 = e2.configureObj, i2 = s2.systemCode, r2 = s2.backendUrl;
|
|
877
877
|
let p2 = t(r2, s2.isTest) + "/dsc/workflow-commons/remove-signers";
|
|
@@ -884,14 +884,14 @@ function xe(e2, o2) {
|
|
|
884
884
|
});
|
|
885
885
|
}
|
|
886
886
|
}
|
|
887
|
-
function
|
|
887
|
+
function Me(e2) {
|
|
888
888
|
const o2 = e2.pageContext, s2 = o2.systemCode, a2 = o2.backendUrl;
|
|
889
889
|
let i2 = t(a2, o2.isTest) + "/dsc/workflow-commons/get-remove-transactors";
|
|
890
890
|
const r2 = de(e2);
|
|
891
891
|
if (i2 = n(i2, s2, a2, o2.isTest), i2) return c.post(i2, r2);
|
|
892
892
|
u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
893
893
|
}
|
|
894
|
-
function
|
|
894
|
+
function xe(e2, o2) {
|
|
895
895
|
if (o2) {
|
|
896
896
|
const s2 = e2.pageContext, a2 = e2.configureObj, i2 = s2.systemCode, r2 = s2.backendUrl;
|
|
897
897
|
let p2 = t(r2, s2.isTest) + "/dsc/workflow-commons/remove-transactors";
|
|
@@ -1011,18 +1011,18 @@ function Oe(e2, t2, n2, o2, s2, a2) {
|
|
|
1011
1011
|
if (e2.workflowOpinion || (e2.workflowOpinion = { showOpinionBox: false }), (_b = (_a = s2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.showOpinionBox) {
|
|
1012
1012
|
e2.workflowOpinion.showOpinionBox = true;
|
|
1013
1013
|
const t4 = (_d = (_c = s2.props) == null ? void 0 : _c.base) == null ? void 0 : _d.showOpinionBoxConditions;
|
|
1014
|
-
t4 && t4.length > 0 && (e2.workflowOpinion.showOpinionBox =
|
|
1014
|
+
t4 && t4.length > 0 && (e2.workflowOpinion.showOpinionBox = M(e2, t4));
|
|
1015
1015
|
}
|
|
1016
1016
|
let t3 = false;
|
|
1017
1017
|
if ((_f = (_e2 = s2.props) == null ? void 0 : _e2.base) == null ? void 0 : _f.isMustOpinion) {
|
|
1018
1018
|
if (t3 = true, true === t3) {
|
|
1019
1019
|
const n3 = (_h = (_g = s2.props) == null ? void 0 : _g.base) == null ? void 0 : _h.mustOpinionConditions;
|
|
1020
|
-
n3 && n3.length > 0 && (t3 =
|
|
1020
|
+
n3 && n3.length > 0 && (t3 = M(e2, n3));
|
|
1021
1021
|
}
|
|
1022
1022
|
e2.workflowOpinion.isRequired = t3, t3 && (e2.workflowOpinion.showOpinionBox = true);
|
|
1023
1023
|
}
|
|
1024
1024
|
}
|
|
1025
|
-
return
|
|
1025
|
+
return i2;
|
|
1026
1026
|
}
|
|
1027
1027
|
function Ue(e2, t2, n2) {
|
|
1028
1028
|
return !(!e2.processState || "EXTRACT" !== e2.processState || "WAIT_TRANSACT" !== e2.active);
|
|
@@ -1042,7 +1042,7 @@ function Ee(e2, n2, s2) {
|
|
|
1042
1042
|
let d2 = n3 || null, m2 = n3 ? [n3] : null;
|
|
1043
1043
|
void 0 === o2 || o2 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), m2 || (m2 = p2 ? p2.ids : null)) : (d2 = null, m2 = null, p2._id = p2.id, p2.id = null);
|
|
1044
1044
|
const f2 = p2 ? p2.taskId : null, b2 = l2, C2 = { pageCode: l2, pageVersion: u2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, isWorkflowEntity: true, systemCode: i2, functionCode: b2 + ".workflowGets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
|
|
1045
|
-
if (
|
|
1045
|
+
if ((!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
|
|
1046
1046
|
const t2 = {};
|
|
1047
1047
|
e3.tableUuids.forEach((e4) => {
|
|
1048
1048
|
const n4 = r(l2, u2, e4);
|
|
@@ -1098,7 +1098,7 @@ function Ee(e2, n2, s2) {
|
|
|
1098
1098
|
let d2 = n3 || null, m2 = n3 ? [n3] : null;
|
|
1099
1099
|
void 0 === o2 || o2 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), m2 || (m2 = p2 ? p2.ids : null)) : (d2 = null, m2 = null, p2._id = p2.id, p2.id = null);
|
|
1100
1100
|
const f2 = p2 ? p2.taskId : null, b2 = l2, C2 = t(e3.backendUrl, e3.isTest), w2 = { pageCode: l2, pageVersion: u2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: d2, systemCode: i2, functionCode: b2 + ".gets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
|
|
1101
|
-
if (!w2.id && p2 && p2._t_ && g(p2._t_ + "_id") && (w2.id = g(p2._t_ + "_id")), m2 && (w2.ids = je(m2)), e3.notIdInitializationList && (w2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (w2.additionalParamMap = p2), e3.beanName && (w2.beanName = e3.beanName), f2 && (w2.taskId = f2),
|
|
1101
|
+
if (!w2.id && p2 && p2._t_ && g(p2._t_ + "_id") && (w2.id = g(p2._t_ + "_id")), m2 && (w2.ids = je(m2)), e3.notIdInitializationList && (w2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (w2.additionalParamMap = p2), e3.beanName && (w2.beanName = e3.beanName), f2 && (w2.taskId = f2), (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
|
|
1102
1102
|
const t2 = {};
|
|
1103
1103
|
e3.tableUuids.forEach((e4) => {
|
|
1104
1104
|
const n4 = r(l2, u2, e4);
|
|
@@ -1198,15 +1198,15 @@ export {
|
|
|
1198
1198
|
ye as doCreateCopyTask,
|
|
1199
1199
|
Fe as doFileTaskFunc,
|
|
1200
1200
|
ue as doImportFinally,
|
|
1201
|
-
|
|
1202
|
-
|
|
1201
|
+
Se as doRemoveSigners,
|
|
1202
|
+
xe as doRemoveTransactors,
|
|
1203
1203
|
ve as doReturnTaskTo,
|
|
1204
1204
|
K as exportFormReport,
|
|
1205
1205
|
Ne as extractWorkflowFunc,
|
|
1206
1206
|
Te as getAdditionalParamMap,
|
|
1207
1207
|
Ee as getFormData,
|
|
1208
1208
|
Re as getRemoveSigner,
|
|
1209
|
-
|
|
1209
|
+
Me as getRemoveTransactor,
|
|
1210
1210
|
te as getSaveFormRequest,
|
|
1211
1211
|
ee as getSaveFormRequestWithRow,
|
|
1212
1212
|
Ie as getTaskInformitions,
|