super-page-runtime 2.3.46 → 2.3.47-sit2
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 +136 -136
- package/dist/es/components/runtime/utils/events/event-util.js +145 -137
- package/dist/es/components/runtime/utils/events/print-label.js +33 -34
- package/dist/es/components/runtime/utils/events/standard-event.js +33 -33
- package/dist/es/components/runtime/utils/events/validator-util.js +260 -241
- package/dist/es/components/runtime/utils/page-init-util.js +45 -47
- package/dist/es/components/runtime/utils/table-utils.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button/{button-runtime.vue2.js → button-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button-group/{buttongroup-runtime.vue2.js → buttongroup-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/dropdown/{dropdown-runtime.vue2.js → dropdown-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/{exportpdf-runtime.vue2.js → exportpdf-runtime2.vue.js} +3 -3
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/print-label/{printlabel-runtime.vue2.js → printlabel-runtime2.vue.js} +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/column-line/{column-line-runtime.vue2.js → column-line-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +2 -2
- 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 +7 -9
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/common/{common-homepage-search.vue2.js → common-homepage-search2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +9 -9
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/gauge/{gauge-runtime.vue2.js → gauge-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/pie/{pie-runtime.vue2.js → pie-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/radar/{radar-runtime.vue2.js → radar-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/scatter/{scatter-runtime.vue2.js → scatter-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +99 -104
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/table/{table-runtime.vue2.js → table-runtime2.vue.js} +9 -9
- 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/file-task-notice.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/card/{card-runtime.vue2.js → card-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/collapse/{collapse-runtime.vue2.js → collapse-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/container/{container-runtime.vue2.js → container-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/fixed/{FixedBox.vue2.js → FixedBox2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/fixed/{YxAffix.vue2.js → YxAffix2.vue.js} +2 -4
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/flex/{flex-runtime.vue2.js → flex-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/form/{form-runtime.vue2.js → form-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/iframe/{iframe-runtime.vue2.js → iframe-runtime2.vue.js} +5 -5
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.js +96 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tools/{tools-runtime.vue2.js → tools-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/bar-code/{barcode-runtime.vue2.js → barcode-runtime2.vue.js} +9 -11
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/table/{table-runtime.vue2.js → table-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.js +135 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/checkbox/{checkbox-runtime.vue2.js → checkbox-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/custom/{custom-runtime.vue2.js → custom-runtime2.vue.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.js +102 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/{depttree-runtime.vue2.js → depttree-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/divider/{divider-runtime.vue2.js → divider-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/file-upload/{fileupload-runtime.vue2.js → fileupload-runtime2.vue.js} +5 -7
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/image-upload/{imageupload-runtime.vue2.js → imageupload-runtime2.vue.js} +4 -5
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/input-number/{input-number-runtime.vue2.js → input-number-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.js +80 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/label/{label-runtime.vue2.js → label-runtime2.vue.js} +3 -5
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/link/{link-runtime.vue2.js → link-runtime2.vue.js} +6 -8
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/placeholder/{placeholder-runtime.vue2.js → placeholder-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/radio/{radio-runtime.vue2.js → radio-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.js +218 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/select/{select-runtime.vue2.js → select-runtime2.vue.js} +7 -8
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/{separatelabel-runtime.vue2.js → separatelabel-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/switch/{switch-runtime.vue2.js → switch-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/tag/{tag-runtime.vue2.js → tag-runtime2.vue.js} +3 -3
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/textarea/{textarea-runtime.vue2.js → textarea-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +10 -12
- 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.js +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.js +56 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.js +29 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.js +45 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/{pictureflow-runtime.vue2.js → pictureflow-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/{textflow-runtime.vue2.js → textflow-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/{workflowbutton-runtime.vue2.js → workflowbutton-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/{workflownode-runtime.vue2.js → workflownode-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/home-chart.vue.js +8 -8
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +16 -16
- package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -2
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/{super-page.vue2.js → super-page2.vue.js} +98 -99
- package/dist/es/i18n/langs/cn.js +1 -1
- package/dist/es/i18n/langs/en.js +1 -1
- package/dist/es/style.css +85 -85
- package/package.json +2 -2
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -96
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +0 -134
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -102
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -83
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -218
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +0 -55
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +0 -28
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +0 -45
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-breadcrumb.vue2.js → common-chart-header-breadcrumb2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-group.vue2.js → common-chart-header-group2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header.vue2.js → common-chart-header2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{home-chart-condition-render.vue2.js → home-chart-condition-render2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{group-column-item.vue2.js → group-column-item2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{group-column.vue2.js → group-column2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{normal-column.vue2.js → normal-column2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{table-pageination.vue2.js → table-pageination2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{event-call-component.vue2.js → event-call-component2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{export-form-report-dialog.vue2.js → export-form-report-dialog2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{file-task-notice.vue2.js → file-task-notice2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{format-file-task-notice-message.vue2.js → format-file-task-notice-message2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-dialog.vue2.js → remove-signer-dialog2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-table.vue2.js → remove-signer-table2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{remove-transactor-dialog.vue2.js → remove-transactor-dialog2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{save-chart-condition-dialog.vue2.js → save-chart-condition-dialog2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{task-informition-dialog.vue2.js → task-informition-dialog2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/data/table/{main-table-runtime.vue2.js → main-table-runtime2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/data/table/{sub-table-runtime.vue2.js → sub-table-runtime2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{error-render.vue2.js → error-render2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/form/common/{title-suffix-element.vue2.js → title-suffix-element2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{home-chart-render.vue2.js → home-chart-render2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{object-render.vue2.js → object-render2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{page-bottom.vue2.js → page-bottom2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/{home-chart.vue2.js → home-chart2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/{super-page-dialog.vue3.js → super-page-dialog3.vue.js} +0 -0
|
@@ -10,8 +10,8 @@ import { handleEvent as y, getTableUuid as P, doAfterClickEvent as v } from "./e
|
|
|
10
10
|
import { setStoreInfo as I } from "../store-util.js";
|
|
11
11
|
import { getPermissionCodes as S, getDefaultValue as R, getModelFields as M } from "../page-init-util.js";
|
|
12
12
|
import { caculateShowCondition as x, updateChartDatasources as N, getVariableValue as O, setVariableValue as A } from "../page-helper-util.js";
|
|
13
|
-
import
|
|
14
|
-
import { getTableNameByTableUuid as
|
|
13
|
+
import E from "./print-label.js";
|
|
14
|
+
import { getTableNameByTableUuid as U, getCurrentUserFileTasks as j, setFileTaskRead as _ } from "../table-utils.js";
|
|
15
15
|
import { getWorkflowRules as D, packageCustomRules as W } from "./validator-util.js";
|
|
16
16
|
import { functions as L } from "../api/page-expose-util.js";
|
|
17
17
|
import { usePageContextStore as B } from "../page-store.js";
|
|
@@ -51,7 +51,7 @@ const z = { save: function(e2) {
|
|
|
51
51
|
if (!a2 || 0 === a2.length) return u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.pleaseSelectRecord") }), void s2(true);
|
|
52
52
|
p.confirm(l().t("superPageRuntimeMessage.whetherToConfirmDeletion"), l().t("superPageRuntimeMessage.tips"), { confirmButtonText: l().t("superPageRuntimeMessage.sure"), cancelButtonText: l().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
|
|
53
53
|
var _a, _b, _c, _d, _e2, _f;
|
|
54
|
-
const r2 = e3.pageContext, l2 = e3.configureObj, u2 = l2.props.base, p2 = r2.systemCode, d2 = r2.backendUrl, m2 = l2.props.base.tableUuid ? l2.props.base.tableUuid : e3.tableUuid, f2 =
|
|
54
|
+
const r2 = e3.pageContext, l2 = e3.configureObj, u2 = l2.props.base, p2 = r2.systemCode, d2 = r2.backendUrl, m2 = l2.props.base.tableUuid ? l2.props.base.tableUuid : e3.tableUuid, f2 = U(r2, m2);
|
|
55
55
|
let g2 = t(d2, r2.isTest) + "/dsc/commons/" + f2;
|
|
56
56
|
g2 = n(g2, p2, d2, r2.isTest);
|
|
57
57
|
const C2 = void 0 === u2.isPermission || "true" === u2.isPermission || u2.isPermission, b2 = !!o(r2) || !!r2.isWorkflowEntityOrg, k2 = S(l2, r2), h2 = { ids: a2, functionCode: k2, isPermission: C2 + "", systemCode: p2, isWorkflowEntity: b2, listCodesMap: r2.listCodesMap, pageCode: r2.code, pageVersion: r2.version };
|
|
@@ -255,7 +255,7 @@ const z = { save: function(e2) {
|
|
|
255
255
|
return Se(e3, i2, s2, "superPageRuntimeMessage.successfulRetrieve");
|
|
256
256
|
}(e2);
|
|
257
257
|
}, extractWorkflow: function(e2) {
|
|
258
|
-
return
|
|
258
|
+
return Ee(e2);
|
|
259
259
|
}, extractWorkflowEvent: function(e2) {
|
|
260
260
|
return function(e3) {
|
|
261
261
|
const t2 = e3.pageContext;
|
|
@@ -287,10 +287,9 @@ const z = { save: function(e2) {
|
|
|
287
287
|
let t2 = null;
|
|
288
288
|
try {
|
|
289
289
|
if (t2 = e3.menuItem ? e3.menuItem.templateUuid : e3.configureObj.props.base.template[0].templateUuid, !t2) throw new Error("未找到模板");
|
|
290
|
-
} catch (
|
|
291
|
-
console.error("打印标签失败,未在配置中找到找到模板", t3, e3);
|
|
290
|
+
} catch (e4) {
|
|
292
291
|
}
|
|
293
|
-
|
|
292
|
+
E.printLabel(e3, t2);
|
|
294
293
|
}(e2);
|
|
295
294
|
}, queryCharts: function(e2) {
|
|
296
295
|
K(e2);
|
|
@@ -481,10 +480,11 @@ function ie(t2, n2, o2, s2, i2) {
|
|
|
481
480
|
let i3 = n3.props.base.successOperation;
|
|
482
481
|
const a3 = n3.props.base.isNeedValueMapping, r2 = P(t3, n3);
|
|
483
482
|
i3 || ue.includes(n3.name) || (i3 = "refresh");
|
|
484
|
-
if ("refresh" === i3)
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
483
|
+
if ("refresh" === i3) {
|
|
484
|
+
if (r2) {
|
|
485
|
+
w(t3, r2).refresh();
|
|
486
|
+
}
|
|
487
|
+
} else if ("closeWindow" === i3 || "closeWindowAndRefresh" === i3) {
|
|
488
488
|
const s4 = e(t3.entity.page);
|
|
489
489
|
let i4 = o3;
|
|
490
490
|
i4 || (i4 = {}), Object.assign(s4, i4), ce(t3, n3, s4, a3);
|
|
@@ -518,7 +518,7 @@ function re(e2, t2, n2) {
|
|
|
518
518
|
const o2 = t2.props.base.successOperation;
|
|
519
519
|
if (!o2 || null === o2) return;
|
|
520
520
|
const s2 = t2.props.base.isNeedValueMapping;
|
|
521
|
-
"noOperation" === o2 ? e2.canClick = true : "refresh" === o2 ? n2 && (n2.id || n2.ID) ?
|
|
521
|
+
"noOperation" === o2 ? e2.canClick = true : "refresh" === o2 ? n2 && (n2.id || n2.ID) ? _e(e2, n2.ID ? n2.ID : n2.id) : e2.canClick = true : "closeWindow" !== o2 && "closeWindowAndRefresh" !== o2 || (ce(e2, t2, n2, s2), e2.canClick = true);
|
|
522
522
|
}
|
|
523
523
|
function ce(e2, t2, n2, o2) {
|
|
524
524
|
const s2 = e2.entity && e2.entity.request ? e2.entity.request.jumpMode : null;
|
|
@@ -556,10 +556,10 @@ function pe(e2, t2, n2, o2) {
|
|
|
556
556
|
const n3 = P(e2, t2);
|
|
557
557
|
if (n3) {
|
|
558
558
|
w(e2, n3).refresh();
|
|
559
|
-
}
|
|
559
|
+
}
|
|
560
560
|
} else if (i2 && "form" === i2) {
|
|
561
561
|
const t3 = e2.entity.data;
|
|
562
|
-
|
|
562
|
+
_e(e2, t3.ID ? t3.ID : t3.id);
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
565
|
}
|
|
@@ -573,7 +573,7 @@ function de(e2, o2, s2, i2) {
|
|
|
573
573
|
let T2 = d2.tableName;
|
|
574
574
|
if (o2) {
|
|
575
575
|
const t2 = m2.props.base.tableUuid ? m2.props.base.tableUuid : e2.tableUuid;
|
|
576
|
-
T2 =
|
|
576
|
+
T2 = U(d2, t2);
|
|
577
577
|
} else q(d2.code, d2.entity.data);
|
|
578
578
|
const k2 = function(e3, o3, s3, i3, r3, u3, d3, m3, f3) {
|
|
579
579
|
return new Promise((g3, C3) => {
|
|
@@ -600,8 +600,8 @@ function de(e2, o2, s2, i2) {
|
|
|
600
600
|
});
|
|
601
601
|
}
|
|
602
602
|
function me(e2, s2) {
|
|
603
|
-
var _a, _b, _c, _d;
|
|
604
|
-
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 =
|
|
603
|
+
var _a, _b, _c, _d, _e2;
|
|
604
|
+
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 = U(i2, d2), f2 = new FormData();
|
|
605
605
|
f2.append("multipartFile", s2), m2 && f2.append("tableName", m2);
|
|
606
606
|
const g2 = (_b = (_a = a2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
|
|
607
607
|
g2 && f2.append("currentOperation", g2), f2.append("isMobile", F()), i2.importBeanName && f2.append("importBeanName", i2.importBeanName), i2.beanName && f2.append("beanName", i2.beanName);
|
|
@@ -614,7 +614,7 @@ function me(e2, s2) {
|
|
|
614
614
|
const T2 = i2.formNoRuleCode;
|
|
615
615
|
T2 && f2.append("formNoRuleCode", T2);
|
|
616
616
|
const k2 = e2.listCode;
|
|
617
|
-
k2 && f2.append("listCode", k2);
|
|
617
|
+
k2 && f2.append("listCode", k2), ((_d = p2 == null ? void 0 : p2.conversionCodes) == null ? void 0 : _d.length) > 0 && f2.append("dataConversionRule", p2.conversionCodes.join(","));
|
|
618
618
|
let h2 = false;
|
|
619
619
|
h2 = void 0 !== p2.isAsync && null !== p2.isAsync && p2.isAsync, f2.append("isAsync", h2 + ""), f2.append("pageCode", i2.code);
|
|
620
620
|
const y2 = o(i2);
|
|
@@ -627,7 +627,7 @@ function me(e2, s2) {
|
|
|
627
627
|
f2.append("isPermission", R2 + "");
|
|
628
628
|
const M2 = i2.systemCode;
|
|
629
629
|
M2 && f2.append("systemCode", M2);
|
|
630
|
-
const x2 = (
|
|
630
|
+
const x2 = (_e2 = a2.props.base) == null ? void 0 : _e2.logSetting;
|
|
631
631
|
x2 && f2.append("logSettingText", x2.join(""));
|
|
632
632
|
const N2 = i2.backendUrl;
|
|
633
633
|
let O2 = t(N2, i2.isTest) + "/dsc/commons/import-data";
|
|
@@ -663,7 +663,7 @@ function ge(e2) {
|
|
|
663
663
|
const p2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
|
|
664
664
|
p2 && (c2.logSettingText = p2.join("")), c2.systemCode || (c2.systemCode = i2);
|
|
665
665
|
const d2 = ye(t2);
|
|
666
|
-
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
|
|
666
|
+
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]));
|
|
667
667
|
const m2 = n2.props.base.successOperation;
|
|
668
668
|
m2 && "noOperation" === m2 && (c2.unControlVersion = true), c2.isWorkflowEntity = true;
|
|
669
669
|
const f2 = (_c = (_b = n2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
|
|
@@ -906,7 +906,7 @@ function Ae(e2, o2) {
|
|
|
906
906
|
});
|
|
907
907
|
}
|
|
908
908
|
}
|
|
909
|
-
function
|
|
909
|
+
function Ee(e2) {
|
|
910
910
|
const o2 = e2.pageContext, s2 = o2.backendUrl;
|
|
911
911
|
let i2 = t(s2, o2.isTest) + "/dsc/workflow-commons/initiate-extract";
|
|
912
912
|
const a2 = ge(e2);
|
|
@@ -926,7 +926,7 @@ function Ue(e2) {
|
|
|
926
926
|
});
|
|
927
927
|
});
|
|
928
928
|
}
|
|
929
|
-
function
|
|
929
|
+
function Ue(e2, t2, n2, o2, s2, i2) {
|
|
930
930
|
var _a, _b, _c, _d, _e2, _f, _g, _h;
|
|
931
931
|
let a2 = false;
|
|
932
932
|
if (o2 && o2.archival) return a2;
|
|
@@ -995,7 +995,7 @@ function Ee(e2, t2, n2, o2, s2, i2) {
|
|
|
995
995
|
const o3 = m(), s3 = o3 ? o3.loginName : null;
|
|
996
996
|
if ("EXTRACT" === (e3 == null ? void 0 : e3.processState) && n3 && (n3.creator === s3 || n3.CREATOR === s3)) return true;
|
|
997
997
|
return false;
|
|
998
|
-
}(n2, 0, i2) : "approveExtractWorkflow" === t2 || "refuseExtractWorkflow" === t2 ? a2 =
|
|
998
|
+
}(n2, 0, i2) : "approveExtractWorkflow" === t2 || "refuseExtractWorkflow" === t2 ? a2 = je(n2) : "addTransactor" === t2 || "removeTransactor" === t2 ? a2 = function(e3) {
|
|
999
999
|
if (e3.processState && "SUBMIT" === e3.processState && ("WAIT_TRANSACT" === e3.active || "DRAW_WAIT" === e3.active) && "COUNTERSIGN" !== e3.processingMode) return true;
|
|
1000
1000
|
return false;
|
|
1001
1001
|
}(n2) : function(e3, t3) {
|
|
@@ -1024,12 +1024,12 @@ function Ee(e2, t2, n2, o2, s2, i2) {
|
|
|
1024
1024
|
e2.workflowOpinion.isRequired = t3, t3 && (e2.workflowOpinion.showOpinionBox = true);
|
|
1025
1025
|
}
|
|
1026
1026
|
}
|
|
1027
|
-
return
|
|
1027
|
+
return a2;
|
|
1028
1028
|
}
|
|
1029
|
-
function
|
|
1029
|
+
function je(e2, t2, n2) {
|
|
1030
1030
|
return !(!e2.processState || "EXTRACT" !== e2.processState || "WAIT_TRANSACT" !== e2.active);
|
|
1031
1031
|
}
|
|
1032
|
-
function
|
|
1032
|
+
function _e(e2, t2) {
|
|
1033
1033
|
e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, De(e2, t2).then((t3) => {
|
|
1034
1034
|
e2.isRefresh = true;
|
|
1035
1035
|
});
|
|
@@ -1045,7 +1045,7 @@ function De(e2, n2, s2) {
|
|
|
1045
1045
|
let d2 = n3 || null, m2 = n3 ? [n3] : null;
|
|
1046
1046
|
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);
|
|
1047
1047
|
const f2 = p2 ? p2.taskId : null, C2 = l2, b2 = { pageCode: l2, pageVersion: u2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, isWorkflowEntity: true, systemCode: a2, functionCode: C2 + ".workflowGets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
|
|
1048
|
-
if (
|
|
1048
|
+
if ((!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
|
|
1049
1049
|
const t2 = {};
|
|
1050
1050
|
e3.tableUuids.forEach((e4) => {
|
|
1051
1051
|
const n4 = r(l2, u2, e4);
|
|
@@ -1102,7 +1102,7 @@ function De(e2, n2, s2) {
|
|
|
1102
1102
|
let d2 = n3 || null, m2 = n3 ? [n3] : null;
|
|
1103
1103
|
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);
|
|
1104
1104
|
const f2 = p2 ? p2.taskId : null, C2 = l2, b2 = t(e3.backendUrl, e3.isTest), w2 = { pageCode: l2, pageVersion: u2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: d2, systemCode: a2, functionCode: C2 + ".gets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
|
|
1105
|
-
if (!w2.id && p2 && p2._t_ && g(p2._t_ + "_id") && (w2.id = g(p2._t_ + "_id")), m2 && (w2.ids = Le(m2)), e3.notIdInitializationList && (w2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (w2.additionalParamMap = p2), e3.beanName && (w2.beanName = e3.beanName), f2 && (w2.taskId = f2), ((_a = e3.props) == null ? void 0 : _a.enableFormDataPermission) && (w2.withDataPermission = true),
|
|
1105
|
+
if (!w2.id && p2 && p2._t_ && g(p2._t_ + "_id") && (w2.id = g(p2._t_ + "_id")), m2 && (w2.ids = Le(m2)), e3.notIdInitializationList && (w2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (w2.additionalParamMap = p2), e3.beanName && (w2.beanName = e3.beanName), f2 && (w2.taskId = f2), ((_a = e3.props) == null ? void 0 : _a.enableFormDataPermission) && (w2.withDataPermission = true), (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
|
|
1106
1106
|
const t2 = {};
|
|
1107
1107
|
e3.tableUuids.forEach((e4) => {
|
|
1108
1108
|
const n4 = r(l2, u2, e4);
|
|
@@ -1181,10 +1181,10 @@ function Ge(e2, t2, n2) {
|
|
|
1181
1181
|
}, 3e3));
|
|
1182
1182
|
}
|
|
1183
1183
|
function Je(e2, t2) {
|
|
1184
|
-
return
|
|
1184
|
+
return j(e2, t2);
|
|
1185
1185
|
}
|
|
1186
1186
|
function Ye(e2, t2, n2, o2) {
|
|
1187
|
-
|
|
1187
|
+
_(e2, n2).then(() => {
|
|
1188
1188
|
!function(e3, t3, n3) {
|
|
1189
1189
|
Je(t3, n3).then((o3) => {
|
|
1190
1190
|
e3.lastFileTask = o3, He(e3, t3, n3);
|
|
@@ -1207,7 +1207,7 @@ export {
|
|
|
1207
1207
|
Ae as doRemoveTransactors,
|
|
1208
1208
|
Me as doReturnTaskTo,
|
|
1209
1209
|
X as exportFormReport,
|
|
1210
|
-
|
|
1210
|
+
Ee as extractWorkflowFunc,
|
|
1211
1211
|
ye as getAdditionalParamMap,
|
|
1212
1212
|
De as getFormData,
|
|
1213
1213
|
xe as getRemoveSigner,
|
|
@@ -1215,11 +1215,11 @@ export {
|
|
|
1215
1215
|
oe as getSaveFormRequest,
|
|
1216
1216
|
ne as getSaveFormRequestWithRow,
|
|
1217
1217
|
Re as getTaskInformitions,
|
|
1218
|
-
|
|
1218
|
+
Ue as isVisibleWorkflowButton,
|
|
1219
1219
|
fe as judgeDataNumber,
|
|
1220
1220
|
Ve as listChartConditions,
|
|
1221
1221
|
pe as refreshFormOrListPage,
|
|
1222
|
-
|
|
1222
|
+
_e as refreshPage,
|
|
1223
1223
|
Fe as saveChartConditionBase,
|
|
1224
1224
|
z as standardEvents,
|
|
1225
1225
|
le as updateValuesWhenCloseDialog
|