super-page-runtime 2.3.19-sit3 → 2.3.19
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 +70 -70
- package/dist/es/components/runtime/utils/events/event-util.js +3 -3
- package/dist/es/components/runtime/utils/events/print-label.js +26 -25
- package/dist/es/components/runtime/utils/events/standard-event.js +375 -403
- package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
- package/dist/es/components/runtime/utils/page-init-util.js +11 -9
- package/dist/es/components/runtime/utils/page-store.js +10 -10
- 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 +10 -6
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +8 -6
- 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 +98 -93
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +3 -2
- 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 +11 -9
- 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 +2 -0
- 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 +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +12 -10
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +8 -8
- 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 +34 -34
- 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 +4 -4
- 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 +38 -37
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +7 -5
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +4 -3
- 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 +5 -4
- 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 +13 -11
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +4 -4
- 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/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +13 -22
- package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +1 -0
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/super-page.vue2.js +165 -164
- package/dist/es/i18n/langs/cn.js +1 -1
- package/dist/es/i18n/langs/en.js +1 -1
- package/dist/es/style.css +76 -76
- package/package.json +2 -2
- package/dist/es/components/runtime/utils/events/data-backfill-util.d.ts +0 -27
- package/dist/es/components/runtime/utils/events/data-backfill-util.js +0 -39
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { deepCopy as e, getBaseUrl as t, getRealRestApiPath as s, isWorkflowPage as n, isArrayFn as o, packageTemplateFiles as
|
|
1
|
+
import { deepCopy as e, getBaseUrl as t, getRealRestApiPath as s, isWorkflowPage as n, isArrayFn as o, packageTemplateFiles as i, upperFirstCase as a, getListCode as r } from "../common-util.js";
|
|
2
2
|
import c from "agilebuilder-ui/src/utils/request";
|
|
3
3
|
import { getI18n as u } from "agilebuilder-ui/src/utils/util";
|
|
4
4
|
import { ElMessage as l, ElMessageBox as p } from "element-plus";
|
|
@@ -6,7 +6,7 @@ import { getCurrentUser as d, getToken as m, getSessionCache as f, setSessionCac
|
|
|
6
6
|
import { getComponentRef as b } from "../global-refs.js";
|
|
7
7
|
import w from "../eventBus.js";
|
|
8
8
|
import T from "axios";
|
|
9
|
-
import { handleEvent as k, getTableUuid as
|
|
9
|
+
import { handleEvent as k, getTableUuid as h, doAfterClickEvent as y } from "./event-util.js";
|
|
10
10
|
import { setStoreInfo as P } from "../store-util.js";
|
|
11
11
|
import { getPermissionCodes as S, getDefaultValue as R, getModelFields as v } from "../page-init-util.js";
|
|
12
12
|
import { caculateShowCondition as M, updateChartDatasources as I, getVariableValue as N, setVariableValue as x } from "../page-helper-util.js";
|
|
@@ -16,11 +16,10 @@ import { getWorkflowRules as E, packageCustomRules as U } from "./validator-util
|
|
|
16
16
|
import { functions as _ } from "../api/page-expose-util.js";
|
|
17
17
|
import { usePageContextStore as j } from "../page-store.js";
|
|
18
18
|
import { isMobileBrowser as D } from "agilebuilder-ui/src/utils/common-util";
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
return J(e2, false);
|
|
19
|
+
const W = { save: function(e2) {
|
|
20
|
+
return V(e2, false);
|
|
22
21
|
}, saveList: function(e2) {
|
|
23
|
-
return
|
|
22
|
+
return V(e2, true);
|
|
24
23
|
}, exportForm: function(e2) {
|
|
25
24
|
const t2 = e2.pageContext.code + "_";
|
|
26
25
|
w.$emit(t2 + "export-form-report", e2);
|
|
@@ -28,56 +27,56 @@ const $ = { save: function(e2) {
|
|
|
28
27
|
const t2 = e2.pageContext.code + "_";
|
|
29
28
|
w.$emit(t2 + "export-pdf-report", e2);
|
|
30
29
|
}, submit: function(e2) {
|
|
31
|
-
return
|
|
30
|
+
return Z(e2, false, "submit", "/dsc/commons/submits");
|
|
32
31
|
}, submitList: function(e2) {
|
|
33
|
-
return
|
|
32
|
+
return Z(e2, true, "submit", "/dsc/commons/batch-submits");
|
|
34
33
|
}, agree: function(e2) {
|
|
35
|
-
return
|
|
34
|
+
return Z(e2, false, "agree", "/dsc/commons/approves");
|
|
36
35
|
}, agreeList: function(e2) {
|
|
37
|
-
return
|
|
36
|
+
return Z(e2, true, "agree", "/dsc/commons/batch-approves");
|
|
38
37
|
}, disagree: function(e2) {
|
|
39
|
-
return
|
|
38
|
+
return Z(e2, false, "disagree", "/dsc/commons/refuses");
|
|
40
39
|
}, disagreeList: function(e2) {
|
|
41
|
-
return
|
|
40
|
+
return Z(e2, true, "disagree", "/dsc/commons/batch-refuses");
|
|
42
41
|
}, back: function(e2) {
|
|
43
42
|
const t2 = e2.pageContext, s2 = t2.entity ? t2.entity.data : {}, n2 = !(!e2.configureObj.props || !e2.configureObj.props.base) && e2.configureObj.props.base.isNeedValueMapping;
|
|
44
|
-
|
|
43
|
+
z(t2, e2.configureObj, s2, n2);
|
|
45
44
|
}, delete: function(e2) {
|
|
46
45
|
return function(e3) {
|
|
47
|
-
return new Promise((o2,
|
|
48
|
-
const
|
|
49
|
-
if (!
|
|
46
|
+
return new Promise((o2, i2) => {
|
|
47
|
+
const a2 = e3.ids;
|
|
48
|
+
if (!a2 || 0 === a2.length) return l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.pleaseSelectRecord") }), void o2(true);
|
|
50
49
|
p.confirm(u().t("superPageRuntimeMessage.whetherToConfirmDeletion"), u().t("superPageRuntimeMessage.tips"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
|
|
51
50
|
var _a, _b, _c;
|
|
52
51
|
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 = A(r2, m2);
|
|
53
52
|
let g2 = t(d2, r2.isTest) + "/dsc/commons/" + f2;
|
|
54
53
|
g2 = s(g2, p2, d2, r2.isTest);
|
|
55
|
-
const C2 = void 0 === l2.isPermission || "true" === l2.isPermission || l2.isPermission, w2 = n(r2), T2 = S(u2, r2), k2 = { ids:
|
|
54
|
+
const C2 = void 0 === l2.isPermission || "true" === l2.isPermission || l2.isPermission, w2 = n(r2), T2 = S(u2, r2), k2 = { ids: a2, functionCode: T2, isPermission: C2 + "", systemCode: p2, isWorkflowEntity: w2, listCodesMap: r2.listCodesMap, pageCode: r2.code, pageVersion: r2.version };
|
|
56
55
|
r2.beanName && (k2.beanName = r2.beanName);
|
|
57
|
-
const
|
|
58
|
-
|
|
59
|
-
const
|
|
60
|
-
|
|
56
|
+
const h2 = u2.props.deleteLogicSetting;
|
|
57
|
+
h2 && ("object" == typeof h2 ? k2.deleteLogicSetting = JSON.stringify(h2) : "string" == typeof h2 && (k2.deleteLogicSetting = h2));
|
|
58
|
+
const y2 = (_a = u2.props.base) == null ? void 0 : _a.logSetting;
|
|
59
|
+
y2 && (k2.logSettingText = y2.join(""));
|
|
61
60
|
const P2 = u2.props.base.isSafeDelete;
|
|
62
61
|
P2 && (k2.isSafeDelete = P2);
|
|
63
62
|
const R2 = (_c = (_b = u2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
|
|
64
63
|
R2 && (k2.currentOperation = R2), k2.isMobile = D(), c.delete(g2, { data: k2 }).then((e4) => {
|
|
65
64
|
const t2 = b(r2, m2);
|
|
66
|
-
t2 && (t2.isDeleteChange(true), t2.clearSelections()),
|
|
65
|
+
t2 && (t2.isDeleteChange(true), t2.clearSelections()), G(r2, u2, e4, "superPageRuntimeMessage.successfulDelete", true), o2(true);
|
|
67
66
|
}).catch((e4) => {
|
|
68
|
-
|
|
67
|
+
i2(e4);
|
|
69
68
|
});
|
|
70
69
|
}).catch(() => {
|
|
71
|
-
|
|
70
|
+
i2();
|
|
72
71
|
});
|
|
73
72
|
});
|
|
74
73
|
}(e2);
|
|
75
74
|
}, downloadTemplate: function(e2) {
|
|
76
75
|
!function(e3) {
|
|
77
76
|
var _a, _b, _c;
|
|
78
|
-
const s2 = e3.pageContext, n2 = e3.configureObj, o2 = n2.props.base,
|
|
77
|
+
const s2 = e3.pageContext, n2 = e3.configureObj, o2 = n2.props.base, a2 = i(o2.templateFiles, s2, n2);
|
|
79
78
|
let r2, c2;
|
|
80
|
-
|
|
79
|
+
a2 && a2.length > 0 && (r2 = a2[0].templateUuid, c2 = a2[0].templateName);
|
|
81
80
|
const u2 = s2.systemCode, l2 = s2.backendUrl, p2 = c2;
|
|
82
81
|
let d2 = "?1=1";
|
|
83
82
|
r2 && p2 && "undefined" !== r2 && "undefined" !== p2 && "null" !== r2 && "null" !== p2 ? d2 += "&fileName=" + encodeURI(r2) + "&showName=" + encodeURI(p2) : p2 ? d2 += "&showName=" + encodeURI(p2) : s2.label && (d2 += "&showName=" + encodeURI(s2.label) + ".xlsx");
|
|
@@ -97,13 +96,13 @@ const $ = { save: function(e2) {
|
|
|
97
96
|
const T2 = (_c = (_b = n2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
|
|
98
97
|
T2 && (d2 += "¤tOperation=" + encodeURI(T2));
|
|
99
98
|
d2 += "&isMobile=" + D();
|
|
100
|
-
const k2 = "_RUN_CURRENT_ROLE",
|
|
101
|
-
|
|
99
|
+
const k2 = "_RUN_CURRENT_ROLE", h2 = f(k2);
|
|
100
|
+
h2 && (d2 += "&" + k2 + "=" + h2);
|
|
102
101
|
if (o2) {
|
|
103
102
|
d2 += "&isPermission=" + (void 0 === o2.isPermission || "true" === o2.isPermission || o2.isPermission);
|
|
104
103
|
}
|
|
105
|
-
const
|
|
106
|
-
window.open(
|
|
104
|
+
const y2 = t(l2, s2.isTest);
|
|
105
|
+
window.open(y2 + "/dsc/commons/download-files" + d2);
|
|
107
106
|
}(e2);
|
|
108
107
|
}, import: function(e2) {
|
|
109
108
|
const t2 = e2.pageContext.code + "_";
|
|
@@ -111,15 +110,15 @@ const $ = { save: function(e2) {
|
|
|
111
110
|
}, export: function(e2) {
|
|
112
111
|
return function(e3) {
|
|
113
112
|
return new Promise((t2, s2) => {
|
|
114
|
-
var _a, _b, _c, _d,
|
|
115
|
-
const n2 = e3.pageContext, o2 = e3.configureObj,
|
|
113
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
114
|
+
const n2 = e3.pageContext, o2 = e3.configureObj, i2 = o2.props.base, a2 = e3.listCode, r2 = e3.selections, c2 = {};
|
|
116
115
|
r2 && r2.length > 0 && (c2.data = r2);
|
|
117
116
|
let u2 = n2.label;
|
|
118
117
|
u2 || (u2 = n2.code);
|
|
119
118
|
let l2 = false;
|
|
120
|
-
l2 = void 0 !==
|
|
121
|
-
const p2 = void 0 ===
|
|
122
|
-
g2 && (f2.currentOperation = g2), f2.isShowWatermark = void 0 === ((_d = (_c = o2.props) == null ? void 0 : _c.watermark) == null ? void 0 : _d.isShowWatermark) ? "true" : ((_f = (
|
|
119
|
+
l2 = void 0 !== i2.isAsync && null !== i2.isAsync && i2.isAsync;
|
|
120
|
+
const p2 = void 0 === i2.isPermission || "true" === i2.isPermission || i2.isPermission, d2 = S(o2, n2), m2 = u2, f2 = { backendUrl: n2.backendUrl, pageContext: n2 }, g2 = (_b = (_a = o2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
|
|
121
|
+
g2 && (f2.currentOperation = g2), f2.isShowWatermark = void 0 === ((_d = (_c = o2.props) == null ? void 0 : _c.watermark) == null ? void 0 : _d.isShowWatermark) ? "true" : ((_f = (_e = o2.props) == null ? void 0 : _e.watermark) == null ? void 0 : _f.isShowWatermark) + "", f2.watermarkContent = ((_h = (_g = o2.props) == null ? void 0 : _g.watermark) == null ? void 0 : _h.content) && ((_j = (_i = o2.props) == null ? void 0 : _i.watermark) == null ? void 0 : _j.content.length) > 0 ? (_l = (_k = o2.props) == null ? void 0 : _k.watermark) == null ? void 0 : _l.content.join("-~") : "", window.$vueApp.config.globalProperties.$exportDataNew(c2, m2, a2, d2, null, f2, l2, n2.code, p2);
|
|
123
122
|
});
|
|
124
123
|
}(e2);
|
|
125
124
|
}, search: function(e2) {
|
|
@@ -131,72 +130,64 @@ const $ = { save: function(e2) {
|
|
|
131
130
|
}, workflowSave: function(e2) {
|
|
132
131
|
return w.$emit("clearTableAllStartEditing"), async function(e3) {
|
|
133
132
|
return new Promise((n2, o2) => {
|
|
134
|
-
const
|
|
135
|
-
let d2 = t(p2,
|
|
136
|
-
if (d2 = s(d2, r2, p2,
|
|
137
|
-
const m2 =
|
|
133
|
+
const i2 = e3.pageContext, a2 = i2.entity.data, r2 = i2.systemCode, p2 = i2.backendUrl;
|
|
134
|
+
let d2 = t(p2, i2.isTest) + "/dsc/workflow-commons";
|
|
135
|
+
if (d2 = s(d2, r2, p2, i2.isTest), !d2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
136
|
+
const m2 = se(e3);
|
|
138
137
|
let f2;
|
|
139
|
-
f2 =
|
|
138
|
+
f2 = a2.id || a2.ID ? c.put(d2, m2) : c.post(d2, m2), f2.then((t2) => {
|
|
140
139
|
let s2 = true;
|
|
141
|
-
t2 && (s2 =
|
|
140
|
+
t2 && (s2 = ne(t2, false, i2, e3, null)), true === s2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulSave") }), w.$emit("clearTableAllEndEditing"), n2(true);
|
|
142
141
|
}).catch((e4) => {
|
|
143
142
|
o2(e4);
|
|
144
|
-
}).finally(() => {
|
|
145
|
-
L(a2.code, i2);
|
|
146
143
|
});
|
|
147
144
|
});
|
|
148
145
|
}(e2);
|
|
149
146
|
}, workflowStart: function(e2) {
|
|
150
147
|
return w.$emit("clearTableAllStartEditing"), async function(e3) {
|
|
151
148
|
return new Promise((n2, o2) => {
|
|
152
|
-
const
|
|
153
|
-
let d2 = t(p2,
|
|
154
|
-
if (d2 = s(d2, r2, p2,
|
|
155
|
-
const m2 =
|
|
149
|
+
const i2 = e3.pageContext, a2 = i2.entity.data, r2 = i2.systemCode, p2 = i2.backendUrl;
|
|
150
|
+
let d2 = t(p2, i2.isTest) + "/dsc/workflow-commons/start";
|
|
151
|
+
if (d2 = s(d2, r2, p2, i2.isTest), !d2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
152
|
+
const m2 = se(e3);
|
|
156
153
|
let f2;
|
|
157
|
-
|
|
154
|
+
a2.workflow_id || a2.WORKFLOW_ID ? (d2 = t(p2, i2.isTest) + "/dsc/workflow-commons", d2 = s(d2, r2, p2, i2.isTest), f2 = c.put(d2, m2)) : f2 = c.post(d2, m2), f2.then((t2) => {
|
|
158
155
|
let s2 = true;
|
|
159
|
-
t2 && (s2 =
|
|
156
|
+
t2 && (s2 = ne(t2, false, i2, e3, null)), true === s2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulStart") }), w.$emit("clearTableAllEndEditing"), n2(true);
|
|
160
157
|
}).catch((e4) => {
|
|
161
158
|
o2(e4);
|
|
162
|
-
}).finally(() => {
|
|
163
|
-
L(a2.code, i2);
|
|
164
159
|
});
|
|
165
160
|
});
|
|
166
161
|
}(e2);
|
|
167
162
|
}, submitProcess: function(e2) {
|
|
168
163
|
return w.$emit("clearTableAllStartEditing"), function(e3) {
|
|
169
164
|
return new Promise((n2, o2) => {
|
|
170
|
-
const
|
|
171
|
-
let p2 = t(r2,
|
|
172
|
-
if (p2 = s(p2,
|
|
173
|
-
const d2 =
|
|
174
|
-
|
|
175
|
-
const m2 = c.post(p2, d2);
|
|
176
|
-
m2 ? m2.then((t2) => {
|
|
165
|
+
const i2 = e3.pageContext, a2 = i2.systemCode, r2 = i2.backendUrl;
|
|
166
|
+
let p2 = t(r2, i2.isTest) + "/dsc/workflow-commons/submit";
|
|
167
|
+
if (p2 = s(p2, a2, r2, i2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
168
|
+
const d2 = se(e3), m2 = c.post(p2, d2);
|
|
169
|
+
m2 && m2.then((t2) => {
|
|
177
170
|
let s2 = true;
|
|
178
|
-
t2 && (s2 =
|
|
171
|
+
t2 && (s2 = ne(t2, false, i2, e3, null)), true === s2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulSubmit") }), w.$emit("clearTableAllEndEditing"), n2(true);
|
|
179
172
|
}).catch((e4) => {
|
|
180
173
|
o2(e4);
|
|
181
|
-
})
|
|
182
|
-
L(a2.code, a2.entity.data);
|
|
183
|
-
}) : L(a2.code, a2.entity.data);
|
|
174
|
+
});
|
|
184
175
|
});
|
|
185
176
|
}(e2);
|
|
186
177
|
}, submitTask: function(e2) {
|
|
187
|
-
return
|
|
178
|
+
return oe(e2, "SUBMIT");
|
|
188
179
|
}, approve: function(e2) {
|
|
189
|
-
return
|
|
180
|
+
return oe(e2, "APPROVE");
|
|
190
181
|
}, refuse: function(e2) {
|
|
191
|
-
return
|
|
182
|
+
return oe(e2, "REFUSE");
|
|
192
183
|
}, readed: function(e2) {
|
|
193
|
-
return
|
|
184
|
+
return oe(e2, "READED");
|
|
194
185
|
}, agreement: function(e2) {
|
|
195
|
-
return
|
|
186
|
+
return oe(e2, "AGREEMENT");
|
|
196
187
|
}, oppose: function(e2) {
|
|
197
|
-
return
|
|
188
|
+
return oe(e2, "OPPOSE");
|
|
198
189
|
}, kiken: function(e2) {
|
|
199
|
-
return
|
|
190
|
+
return oe(e2, "KIKEN");
|
|
200
191
|
}, assign: function(e2) {
|
|
201
192
|
return function(e3) {
|
|
202
193
|
const t2 = e3.pageContext, s2 = t2.code + "_";
|
|
@@ -214,23 +205,23 @@ const $ = { save: function(e2) {
|
|
|
214
205
|
}(e2);
|
|
215
206
|
}, drawTask: function(e2) {
|
|
216
207
|
return function(e3) {
|
|
217
|
-
const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/draw-tasks",
|
|
218
|
-
return
|
|
208
|
+
const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/draw-tasks", i2 = se(e3);
|
|
209
|
+
return me(e3, i2, o2, "superPageRuntimeMessage.successfulDrawTask");
|
|
219
210
|
}(e2);
|
|
220
211
|
}, abandonReceive: function(e2) {
|
|
221
212
|
return function(e3) {
|
|
222
|
-
const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/abandon-receives",
|
|
223
|
-
return
|
|
213
|
+
const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/abandon-receives", i2 = se(e3);
|
|
214
|
+
return me(e3, i2, o2, "superPageRuntimeMessage.successfulAbandonReceive");
|
|
224
215
|
}(e2);
|
|
225
216
|
}, returnToPreviousTask: function(e2) {
|
|
226
217
|
return function(e3) {
|
|
227
|
-
const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks",
|
|
228
|
-
return
|
|
218
|
+
const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", i2 = se(e3);
|
|
219
|
+
return me(e3, i2, o2, "superPageRuntimeMessage.successfulReturnToPreviousTask");
|
|
229
220
|
}(e2);
|
|
230
221
|
}, endInstance: function(e2) {
|
|
231
222
|
return function(e3) {
|
|
232
|
-
const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/end-instance",
|
|
233
|
-
return
|
|
223
|
+
const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/end-instance", i2 = se(e3);
|
|
224
|
+
return me(e3, i2, o2, "superPageRuntimeMessage.successfulEndInstance");
|
|
234
225
|
}(e2);
|
|
235
226
|
}, returnTaskTo: function(e2) {
|
|
236
227
|
return function(e3) {
|
|
@@ -244,11 +235,11 @@ const $ = { save: function(e2) {
|
|
|
244
235
|
}(e2);
|
|
245
236
|
}, retrieveTask: function(e2) {
|
|
246
237
|
return function(e3) {
|
|
247
|
-
const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/retrieves",
|
|
248
|
-
return
|
|
238
|
+
const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/retrieves", i2 = se(e3);
|
|
239
|
+
return me(e3, i2, o2, "superPageRuntimeMessage.successfulRetrieve");
|
|
249
240
|
}(e2);
|
|
250
241
|
}, extractWorkflow: function(e2) {
|
|
251
|
-
return
|
|
242
|
+
return ke(e2);
|
|
252
243
|
}, extractWorkflowEvent: function(e2) {
|
|
253
244
|
return function(e3) {
|
|
254
245
|
const t2 = e3.pageContext;
|
|
@@ -256,18 +247,18 @@ const $ = { save: function(e2) {
|
|
|
256
247
|
}(e2);
|
|
257
248
|
}, cancelExtractWorkflow: function(e2) {
|
|
258
249
|
return function(e3) {
|
|
259
|
-
const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/cancel-extract",
|
|
260
|
-
return
|
|
250
|
+
const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/cancel-extract", i2 = se(e3);
|
|
251
|
+
return me(e3, i2, o2, "superPageRuntimeMessage.successfulCancelExtract");
|
|
261
252
|
}(e2);
|
|
262
253
|
}, approveExtractWorkflow: function(e2) {
|
|
263
254
|
return function(e3) {
|
|
264
|
-
const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/approve-extract",
|
|
265
|
-
return
|
|
255
|
+
const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/approve-extract", i2 = se(e3);
|
|
256
|
+
return me(e3, i2, o2, "superPageRuntimeMessage.successfulOperation");
|
|
266
257
|
}(e2);
|
|
267
258
|
}, refuseExtractWorkflow: function(e2) {
|
|
268
259
|
return function(e3) {
|
|
269
|
-
const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/refuse-extract",
|
|
270
|
-
return
|
|
260
|
+
const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/refuse-extract", i2 = se(e3);
|
|
261
|
+
return me(e3, i2, o2, "superPageRuntimeMessage.successfulOperation");
|
|
271
262
|
}(e2);
|
|
272
263
|
}, viewDetail: function(e2) {
|
|
273
264
|
}, lineEditCreate: function(e2) {
|
|
@@ -280,26 +271,27 @@ const $ = { save: function(e2) {
|
|
|
280
271
|
let t2 = null;
|
|
281
272
|
try {
|
|
282
273
|
if (t2 = e3.menuItem ? e3.menuItem.templateUuid : e3.configureObj.props.base.template[0].templateUuid, !t2) throw new Error("未找到模板");
|
|
283
|
-
} catch (
|
|
274
|
+
} catch (t3) {
|
|
275
|
+
console.error("打印标签失败,未在配置中找到找到模板", t3, e3);
|
|
284
276
|
}
|
|
285
277
|
O.printLabel(e3, t2);
|
|
286
278
|
}(e2);
|
|
287
279
|
}, queryCharts: function(e2) {
|
|
288
|
-
|
|
280
|
+
L(e2);
|
|
289
281
|
}, resetCharts: function(t2) {
|
|
290
282
|
var _a, _b;
|
|
291
283
|
const s2 = t2.pageContext;
|
|
292
|
-
Object.assign(s2.entity.data, e((_a = s2.initChartData) == null ? void 0 : _a.data)), Object.assign(s2.entity.page, e((_b = s2.initChartData) == null ? void 0 : _b.page)), t2.isInitChart = true,
|
|
284
|
+
Object.assign(s2.entity.data, e((_a = s2.initChartData) == null ? void 0 : _a.data)), Object.assign(s2.entity.page, e((_b = s2.initChartData) == null ? void 0 : _b.page)), t2.isInitChart = true, L(t2);
|
|
293
285
|
}, exportCharts: function(e2) {
|
|
294
286
|
!function(e3) {
|
|
295
|
-
var _a, _b, _c, _d,
|
|
287
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
296
288
|
const s2 = e3.pageContext, n2 = s2.allChartUuids;
|
|
297
289
|
if (!n2 || 0 == n2.length) return;
|
|
298
290
|
const o2 = e3.configureObj;
|
|
299
|
-
let
|
|
300
|
-
o2 && o2.runtime && (
|
|
301
|
-
const
|
|
302
|
-
|
|
291
|
+
let i2 = null;
|
|
292
|
+
o2 && o2.runtime && (i2 = o2.runtime.props);
|
|
293
|
+
const a2 = i2 ? i2.state : void 0;
|
|
294
|
+
i2 && (i2.state = "disabled");
|
|
303
295
|
const r2 = [];
|
|
304
296
|
for (let e4 = 0; e4 < n2.length; e4++) {
|
|
305
297
|
const t2 = n2[e4], o3 = b(s2, t2);
|
|
@@ -312,18 +304,18 @@ const $ = { save: function(e2) {
|
|
|
312
304
|
let c2, u2 = s2.label;
|
|
313
305
|
u2 || (u2 = s2.code);
|
|
314
306
|
c2 = u2;
|
|
315
|
-
const l2 = { reportDataList: r2, beanName: s2.beanName, systemCode: s2.systemCode, pageCode: s2.code }, p2 =
|
|
307
|
+
const l2 = { reportDataList: r2, beanName: s2.beanName, systemCode: s2.systemCode, pageCode: s2.code }, p2 = ue(s2);
|
|
316
308
|
l2.additionalParamMap = p2;
|
|
317
309
|
const d2 = (_b = (_a = o2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
|
|
318
310
|
d2 && (l2.currentOperation = d2);
|
|
319
|
-
l2.isMobile = D(), l2.isShowWatermark = void 0 === ((_d = (_c = o2.props) == null ? void 0 : _c.watermark) == null ? void 0 : _d.isShowWatermark) ? "true" : ((_f = (
|
|
311
|
+
l2.isMobile = D(), l2.isShowWatermark = void 0 === ((_d = (_c = o2.props) == null ? void 0 : _c.watermark) == null ? void 0 : _d.isShowWatermark) ? "true" : ((_f = (_e = o2.props) == null ? void 0 : _e.watermark) == null ? void 0 : _f.isShowWatermark) + "", l2.watermark = ((_h = (_g = o2.props) == null ? void 0 : _g.watermark) == null ? void 0 : _h.content) && ((_j = (_i = o2.props) == null ? void 0 : _i.watermark) == null ? void 0 : _j.content.length) > 0 ? (_l = (_k = o2.props) == null ? void 0 : _k.watermark) == null ? void 0 : _l.content.join("-~") : "";
|
|
320
312
|
const m2 = s2.backendUrl, f2 = t(m2, s2.isTest) + "/dsc/commons/exportChart";
|
|
321
|
-
|
|
313
|
+
F();
|
|
322
314
|
T.post(f2, l2, { responseType: "blob" }).then((e4) => {
|
|
323
315
|
const t2 = document.createElement("a");
|
|
324
316
|
t2.style.display = "none", t2.href = URL.createObjectURL(e4.data), t2.setAttribute("download", c2 + ".xlsx"), document.body.appendChild(t2), t2.click(), document.body.removeChild(t2);
|
|
325
317
|
}).finally(() => {
|
|
326
|
-
|
|
318
|
+
i2 && (i2.state = a2);
|
|
327
319
|
});
|
|
328
320
|
}(e2);
|
|
329
321
|
}, saveQueryCharts: function(e2) {
|
|
@@ -342,61 +334,61 @@ const $ = { save: function(e2) {
|
|
|
342
334
|
w.$emit(s2 + "remove-transactor", e3);
|
|
343
335
|
}(e2);
|
|
344
336
|
} };
|
|
345
|
-
function
|
|
337
|
+
function L(e2) {
|
|
346
338
|
const t2 = e2.pageContext, s2 = t2.initChartServiceConfigs;
|
|
347
339
|
if (!s2 || 0 == s2.length) return;
|
|
348
340
|
const n2 = e2.configureObj;
|
|
349
341
|
let o2 = null;
|
|
350
342
|
n2 && n2.runtime && (o2 = n2.runtime.props);
|
|
351
|
-
const
|
|
343
|
+
const i2 = o2 ? o2.state : void 0;
|
|
352
344
|
o2 && (o2.state = "disabled"), I(t2, s2, void 0, e2.isInitChart).then(() => {
|
|
353
|
-
o2 && (o2.state =
|
|
345
|
+
o2 && (o2.state = i2);
|
|
354
346
|
}).catch(() => {
|
|
355
|
-
o2 && (o2.state =
|
|
347
|
+
o2 && (o2.state = i2);
|
|
356
348
|
});
|
|
357
349
|
}
|
|
358
|
-
function
|
|
359
|
-
var _a, _b, _c, _d,
|
|
350
|
+
function B(e2, s2, o2, i2) {
|
|
351
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
|
|
360
352
|
e2.clickUuid = s2.uuid, e2.canClick = false;
|
|
361
|
-
const
|
|
353
|
+
const a2 = o2.templateUuid, r2 = o2.templateName, c2 = e2.systemCode, u2 = (_a = s2.props.base) == null ? void 0 : _a.logSetting, l2 = n(e2), p2 = e2.beanName, d2 = s2.props.base, m2 = s2.tableName ? s2.tableName : e2.tableName, f2 = e2.backendUrl, g2 = _.getFormViewData(e2), C2 = void 0 === d2.isPermission || "true" === d2.isPermission || d2.isPermission, b2 = { entity: g2, fileName: a2, showName: r2, beanName: p2, isWorkflowForm: l2, functionCode: S(s2, e2), tableName: m2, isPermission: C2 + "", systemCode: c2, listCodesMap: e2.listCodesMap, pageCode: e2.code, pageVersion: e2.version, listCodesInitSearchForm: e2.listCodesInitSearchForm };
|
|
362
354
|
u2 && (b2.logSettingText = u2.join(""));
|
|
363
355
|
const w2 = (_c = (_b = s2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
|
|
364
356
|
w2 && (b2.currentOperation = w2), b2.isMobile = D();
|
|
365
|
-
const k2 =
|
|
366
|
-
let
|
|
367
|
-
b2.additionalParamMap = k2, b2.isShowWatermark = void 0 === ((
|
|
368
|
-
return new Promise((
|
|
357
|
+
const k2 = ue(e2);
|
|
358
|
+
let h2;
|
|
359
|
+
b2.additionalParamMap = k2, b2.isShowWatermark = void 0 === ((_e = (_d = s2.props) == null ? void 0 : _d.watermark) == null ? void 0 : _e.isShowWatermark) ? "true" : ((_g = (_f = s2.props) == null ? void 0 : _f.watermark) == null ? void 0 : _g.isShowWatermark) + "", b2.watermark = ((_i = (_h = s2.props) == null ? void 0 : _h.watermark) == null ? void 0 : _i.content) && ((_k = (_j = s2.props) == null ? void 0 : _j.watermark) == null ? void 0 : _k.content.length) > 0 ? (_m = (_l = s2.props) == null ? void 0 : _l.watermark) == null ? void 0 : _m.content.join("-~") : "", h2 = i2 ? function(e3, s3, n2, o3) {
|
|
360
|
+
return new Promise((i3, a3) => {
|
|
369
361
|
const r3 = t(s3, o3) + "/dsc/commons/export-pdf";
|
|
370
|
-
|
|
362
|
+
F();
|
|
371
363
|
const c3 = T.post(r3, n2, { headers: { "content-type": "application/json" }, responseType: "blob" });
|
|
372
364
|
window.$message.info("正在导出中..."), c3.then((t2) => {
|
|
373
365
|
const s4 = new Blob([t2.data]), n3 = document.createElement("a");
|
|
374
|
-
n3.download = e3.substring(0, e3.lastIndexOf(".")) + ".pdf", n3.style.display = "none", n3.target = "_blank", n3.href = URL.createObjectURL(s4), document.body.appendChild(n3), n3.click(), URL.revokeObjectURL(n3.href), document.body.removeChild(n3),
|
|
366
|
+
n3.download = e3.substring(0, e3.lastIndexOf(".")) + ".pdf", n3.style.display = "none", n3.target = "_blank", n3.href = URL.createObjectURL(s4), document.body.appendChild(n3), n3.click(), URL.revokeObjectURL(n3.href), document.body.removeChild(n3), i3(true);
|
|
375
367
|
}).catch((e4) => {
|
|
376
|
-
|
|
368
|
+
a3(e4);
|
|
377
369
|
});
|
|
378
370
|
});
|
|
379
371
|
}(r2, f2, b2, e2.isTest) : function(e3, s3, n2, o3) {
|
|
380
|
-
return new Promise((
|
|
372
|
+
return new Promise((i3, a3) => {
|
|
381
373
|
const r3 = t(s3, o3) + "/dsc/commons/export-reports";
|
|
382
|
-
|
|
374
|
+
F();
|
|
383
375
|
T.post(r3, n2, { responseType: "blob" }).then((t2) => {
|
|
384
376
|
const s4 = new Blob([t2.data]);
|
|
385
377
|
let n3 = "报告.xlsx";
|
|
386
378
|
e3 && (n3 = e3);
|
|
387
379
|
const o4 = document.createElement("a");
|
|
388
|
-
o4.download = n3, o4.style.display = "none", o4.target = "_blank", o4.href = URL.createObjectURL(s4), document.body.appendChild(o4), o4.click(), URL.revokeObjectURL(o4.href), document.body.removeChild(o4),
|
|
380
|
+
o4.download = n3, o4.style.display = "none", o4.target = "_blank", o4.href = URL.createObjectURL(s4), document.body.appendChild(o4), o4.click(), URL.revokeObjectURL(o4.href), document.body.removeChild(o4), i3(true);
|
|
389
381
|
}).catch((e4) => {
|
|
390
|
-
|
|
382
|
+
a3(e4);
|
|
391
383
|
});
|
|
392
384
|
});
|
|
393
|
-
}(r2, f2, b2, e2.isTest),
|
|
394
|
-
|
|
385
|
+
}(r2, f2, b2, e2.isTest), h2 && h2.then(() => {
|
|
386
|
+
y(e2, s2);
|
|
395
387
|
}).catch((t2) => {
|
|
396
|
-
window.$message.error("导出失败..."),
|
|
388
|
+
window.$message.error("导出失败..."), y(e2, s2);
|
|
397
389
|
});
|
|
398
390
|
}
|
|
399
|
-
function
|
|
391
|
+
function F() {
|
|
400
392
|
T.defaults.headers.common.Authorization = m();
|
|
401
393
|
const e2 = C();
|
|
402
394
|
if (e2) {
|
|
@@ -404,22 +396,20 @@ function G() {
|
|
|
404
396
|
T.defaults.headers.common[t2] = e2;
|
|
405
397
|
}
|
|
406
398
|
}
|
|
407
|
-
function
|
|
399
|
+
function V(e2, t2) {
|
|
408
400
|
return new Promise((s2, n2) => {
|
|
409
|
-
const o2 = e2.pageContext,
|
|
401
|
+
const o2 = e2.pageContext, i2 = e2.configureObj, a2 = e2.mainDefaultValueColumns, r2 = e2.dynamicColumnInfo, c2 = i2.props.base.successOperation;
|
|
410
402
|
let u2 = false;
|
|
411
|
-
c2 && "noOperation" === c2 && (u2 = true)
|
|
412
|
-
const l2 =
|
|
403
|
+
c2 && "noOperation" === c2 && (u2 = true);
|
|
404
|
+
const l2 = H(o2, i2, "/dsc/commons", u2, a2, r2);
|
|
413
405
|
l2 ? l2.then((e3) => {
|
|
414
|
-
|
|
406
|
+
G(o2, i2, e3, "superPageRuntimeMessage.successfulSave", t2), s2(e3);
|
|
415
407
|
}).catch((e3) => {
|
|
416
408
|
n2(e3);
|
|
417
|
-
})
|
|
418
|
-
L(o2.code, o2.entity.data);
|
|
419
|
-
}) : (L(o2.code, o2.entity.data), n2("保存时request不存在"));
|
|
409
|
+
}) : n2("保存时request不存在");
|
|
420
410
|
});
|
|
421
411
|
}
|
|
422
|
-
function
|
|
412
|
+
function $(e2, t2, s2, i2, a2, r2, c2) {
|
|
423
413
|
var _a, _b, _c;
|
|
424
414
|
const u2 = n(e2), l2 = e2.systemCode, p2 = void 0 === t2.props.base.isPermission || "true" === t2.props.base.isPermission || t2.props.base.isPermission, d2 = S(t2, e2);
|
|
425
415
|
let m2 = c2;
|
|
@@ -428,119 +418,118 @@ function Y(e2, t2, s2, a2, i2, r2, c2) {
|
|
|
428
418
|
r2 && (f2.ids = r2), e2.judgeHeavyList && (o(e2.judgeHeavyList) ? f2.judgeHeavyList = JSON.stringify(e2.judgeHeavyList) : f2.judgeHeavyList = e2.judgeHeavyList);
|
|
429
419
|
const g2 = t2.props.base.conversionCodes;
|
|
430
420
|
g2 && (o(g2) ? f2.dataConversionRule = g2.join(",") : "string" == typeof g2 && (f2.dataConversionRule = g2));
|
|
431
|
-
const C2 =
|
|
421
|
+
const C2 = ve(t2);
|
|
432
422
|
C2 && (f2.autoSetValueData = C2);
|
|
433
423
|
const b2 = (_a = t2.props.base) == null ? void 0 : _a.logSetting;
|
|
434
424
|
b2 && (f2.logSettingText = b2.join("")), f2.systemCode || (f2.systemCode = l2);
|
|
435
425
|
const w2 = e2.beanName;
|
|
436
|
-
w2 && (f2.beanName = w2),
|
|
437
|
-
const T2 =
|
|
426
|
+
w2 && (f2.beanName = w2), a2 && (f2.dynamicColumnInfo = a2), i2 && (f2.mainDefaultValueColumns = i2);
|
|
427
|
+
const T2 = ue(e2);
|
|
438
428
|
f2.additionalParamMap = T2, void 0 !== s2 && (f2.unControlVersion = s2);
|
|
439
429
|
const k2 = (_c = (_b = t2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
|
|
440
430
|
return k2 && (f2.currentOperation = k2), f2.isMobile = D(), f2;
|
|
441
431
|
}
|
|
442
|
-
function
|
|
443
|
-
const p2 = e2.systemCode, d2 = e2.backendUrl, m2 =
|
|
444
|
-
return l2 && l2.tableName && (m2.tableName = l2.tableName), function(e3, n3, o3,
|
|
432
|
+
function q(e2, n2, o2, i2, a2, r2, u2, l2) {
|
|
433
|
+
const p2 = e2.systemCode, d2 = e2.backendUrl, m2 = $(e2, n2, i2, a2, r2, null, u2);
|
|
434
|
+
return l2 && l2.tableName && (m2.tableName = l2.tableName), function(e3, n3, o3, i3, a3, r3) {
|
|
445
435
|
const u3 = t(n3, r3);
|
|
446
|
-
let l3, p3 = u3 +
|
|
447
|
-
p3 = s(p3, e3, n3, r3), l3 =
|
|
436
|
+
let l3, p3 = u3 + i3;
|
|
437
|
+
p3 = s(p3, e3, n3, r3), l3 = a3 && (a3.id || a3.ID) ? c.put(p3, o3) : c.post(p3, o3);
|
|
448
438
|
return l3;
|
|
449
439
|
}(p2, d2, m2, o2, e2.entity.data, e2.isTest);
|
|
450
440
|
}
|
|
451
|
-
function
|
|
452
|
-
return
|
|
441
|
+
function H(e2, t2, s2, n2, o2, i2) {
|
|
442
|
+
return q(e2, t2, s2, n2, o2, i2, null, null);
|
|
453
443
|
}
|
|
454
|
-
function
|
|
455
|
-
const
|
|
456
|
-
if (
|
|
457
|
-
let
|
|
458
|
-
const
|
|
459
|
-
|
|
460
|
-
if ("refresh" ===
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
} else if ("closeWindow" === a3 || "closeWindowAndRefresh" === a3) {
|
|
444
|
+
function G(t2, s2, n2, o2, i2) {
|
|
445
|
+
const a2 = J(t2, s2, i2);
|
|
446
|
+
if (a2 && "list" === a2) !function(t3, s3, n3, o3) {
|
|
447
|
+
let i3 = s3.props.base.successOperation;
|
|
448
|
+
const a3 = s3.props.base.isNeedValueMapping, r2 = h(t3, s3);
|
|
449
|
+
i3 || X.includes(s3.name) || (i3 = "refresh");
|
|
450
|
+
if ("refresh" === i3) if (r2) {
|
|
451
|
+
b(t3, r2).refresh();
|
|
452
|
+
} else console.error("tableUuid is empty");
|
|
453
|
+
else if ("closeWindow" === i3 || "closeWindowAndRefresh" === i3) {
|
|
465
454
|
const o4 = e(t3.entity.page);
|
|
466
|
-
let
|
|
467
|
-
|
|
455
|
+
let i4 = n3;
|
|
456
|
+
i4 || (i4 = {}), Object.assign(o4, i4), z(t3, s3, o4, a3);
|
|
468
457
|
}
|
|
469
458
|
o3 && l({ message: u().t(o3), type: "success", showClose: true });
|
|
470
459
|
}(t2, s2, n2, o2), t2.canClick = true;
|
|
471
|
-
else if (
|
|
460
|
+
else if (a2 && "form" === a2) !function(e2, t3, s3, n3) {
|
|
472
461
|
if (s3) {
|
|
473
462
|
const n4 = s3;
|
|
474
463
|
let o3;
|
|
475
464
|
o3 = n4.entity ? n4.entity : n4, n4.formNo && (e2.initFormNo = n4.formNo);
|
|
476
|
-
|
|
465
|
+
Y(e2, t3, { ...o3, ...e2.entity.page });
|
|
477
466
|
} else {
|
|
478
467
|
const s4 = t3.props.base.successOperation;
|
|
479
468
|
if (s4 && null !== s4) {
|
|
480
|
-
|
|
469
|
+
Y(e2, t3, { ...e2.entity.page });
|
|
481
470
|
} else e2.canClick = true;
|
|
482
471
|
}
|
|
483
472
|
n3 && l({ message: u().t(n3), type: "success", showClose: true });
|
|
484
473
|
}(t2, s2, n2, o2);
|
|
485
474
|
else {
|
|
486
475
|
const e2 = s2.props.base.successOperation;
|
|
487
|
-
e2 && null !== e2 ?
|
|
476
|
+
e2 && null !== e2 ? Y(t2, s2, null) : t2.canClick = true;
|
|
488
477
|
}
|
|
489
478
|
}
|
|
490
|
-
function
|
|
479
|
+
function J(e2, t2, s2) {
|
|
491
480
|
let n2;
|
|
492
481
|
return void 0 === s2 ? n2 = t2.props.base.tableUuid ? "list" : null : false === s2 && (n2 = "form"), n2 || (n2 = e2.pageType), n2;
|
|
493
482
|
}
|
|
494
|
-
function
|
|
483
|
+
function Y(e2, t2, s2) {
|
|
495
484
|
const n2 = t2.props.base.successOperation;
|
|
496
485
|
if (!n2 || null === n2) return;
|
|
497
486
|
const o2 = t2.props.base.isNeedValueMapping;
|
|
498
|
-
"noOperation" === n2 ? e2.canClick = true : "refresh" === n2 ? s2 && (s2.id || s2.ID) ?
|
|
487
|
+
"noOperation" === n2 ? e2.canClick = true : "refresh" === n2 ? s2 && (s2.id || s2.ID) ? Pe(e2, s2.ID ? s2.ID : s2.id) : e2.canClick = true : "closeWindow" !== n2 && "closeWindowAndRefresh" !== n2 || (z(e2, t2, s2, o2), e2.canClick = true);
|
|
499
488
|
}
|
|
500
|
-
function
|
|
489
|
+
function z(e2, t2, s2, n2) {
|
|
501
490
|
const o2 = e2.entity && e2.entity.request ? e2.entity.request.jumpMode : null;
|
|
502
491
|
if ("openWindow" === o2 || "newTab" === o2) window.parent ? window.parent.close() : window.close();
|
|
503
492
|
else {
|
|
504
|
-
const
|
|
505
|
-
w.$emit(r2 + "close-dialog", { isNeedValueMapping:
|
|
493
|
+
const i2 = e2.tableName, a2 = void 0 !== n2 && true === n2 && s2 && void 0 !== s2, r2 = (e2.entity && e2.entity.request ? e2.entity.request.parentPageCode : null) + "_";
|
|
494
|
+
w.$emit(r2 + "close-dialog", { isNeedValueMapping: a2, dataModel: s2, sourceConfigureObj: t2, sourceTableName: i2, jumpMode: o2 });
|
|
506
495
|
}
|
|
507
496
|
}
|
|
508
|
-
function
|
|
497
|
+
function K(e2, t2, s2, n2, o2) {
|
|
509
498
|
var _a;
|
|
510
499
|
o2 || (o2 = t2.runtime && t2.runtime.linkPage && t2.runtime.linkPage.valueMappings ? t2.runtime.linkPage.valueMappings : null) || (o2 = (_a = t2.props.linkPage) == null ? void 0 : _a.valueMappings);
|
|
511
|
-
const
|
|
500
|
+
const i2 = e2.tableName;
|
|
512
501
|
!function(e3, t3, s3) {
|
|
513
502
|
if (e3 && null !== e3 && t3) {
|
|
514
503
|
let n3 = e3;
|
|
515
504
|
Array.isArray(e3) && e3.length > 0 && (n3 = e3[0]), t3.forEach((e4) => {
|
|
516
505
|
const t4 = e4.source;
|
|
517
506
|
if (!t4) return;
|
|
518
|
-
const o3 = t4.split("."),
|
|
519
|
-
x(s3.entity, r2,
|
|
507
|
+
const o3 = t4.split("."), i3 = N(n3, o3), a2 = e4.target, r2 = v(null, a2);
|
|
508
|
+
x(s3.entity, r2, i3);
|
|
520
509
|
});
|
|
521
510
|
}
|
|
522
|
-
}(s2, o2, e2), k(null, e2, t2, "setValue", { sourceModel: s2, sourceTableName: n2, entity: e2.entity.data, targetTableName:
|
|
511
|
+
}(s2, o2, e2), k(null, e2, t2, "setValue", { sourceModel: s2, sourceTableName: n2, entity: e2.entity.data, targetTableName: i2 });
|
|
523
512
|
}
|
|
524
|
-
const
|
|
525
|
-
function
|
|
513
|
+
const X = ["dropdown"];
|
|
514
|
+
function Q(e2, t2, s2, n2) {
|
|
526
515
|
var _a;
|
|
527
516
|
t2 && !t2.props.base && (t2.props.base = {});
|
|
528
517
|
let o2 = n2;
|
|
529
518
|
o2 || (o2 = s2 ? "refresh" : (_a = t2.props.base) == null ? void 0 : _a.successOperation);
|
|
530
|
-
const
|
|
531
|
-
if (
|
|
532
|
-
if (
|
|
533
|
-
const s3 =
|
|
519
|
+
const i2 = J(e2, t2);
|
|
520
|
+
if (i2 && "list" === i2 && !o2 && (o2 = "refresh"), "refresh" === o2) {
|
|
521
|
+
if (i2 && "list" === i2) {
|
|
522
|
+
const s3 = h(e2, t2);
|
|
534
523
|
if (s3) {
|
|
535
524
|
b(e2, s3).refresh();
|
|
536
|
-
}
|
|
537
|
-
} else if (
|
|
525
|
+
} else console.error("tableUuid is empty");
|
|
526
|
+
} else if (i2 && "form" === i2) {
|
|
538
527
|
const t3 = e2.entity.data;
|
|
539
|
-
|
|
528
|
+
Pe(e2, t3.ID ? t3.ID : t3.id);
|
|
540
529
|
}
|
|
541
530
|
}
|
|
542
531
|
}
|
|
543
|
-
function
|
|
532
|
+
function Z(e2, n2, o2, i2) {
|
|
544
533
|
return new Promise((r2, l2) => {
|
|
545
534
|
const d2 = e2.pageContext, m2 = e2.configureObj, f2 = e2.mainDefaultValueColumns, g2 = e2.dynamicColumnInfo, C2 = e2.ids, b2 = m2.props.base.successOperation;
|
|
546
535
|
let w2 = false;
|
|
@@ -549,15 +538,15 @@ function oe(e2, n2, o2, a2) {
|
|
|
549
538
|
if (n2) {
|
|
550
539
|
const t2 = m2.props.base.tableUuid ? m2.props.base.tableUuid : e2.tableUuid;
|
|
551
540
|
T2 = A(d2, t2);
|
|
552
|
-
}
|
|
553
|
-
const k2 = function(e3, n3, o3,
|
|
541
|
+
}
|
|
542
|
+
const k2 = function(e3, n3, o3, i3, r3, l3, d3, m3, f3) {
|
|
554
543
|
return new Promise((g3, C3) => {
|
|
555
|
-
const b3 = n3.props.base.title, w3 = "superPageRuntimeMessage.whetherToConfirm" +
|
|
544
|
+
const b3 = n3.props.base.title, w3 = "superPageRuntimeMessage.whetherToConfirm" + a(d3);
|
|
556
545
|
p.confirm(u().t(w3, { name: b3 }), u().t("superPageRuntimeMessage.tips"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
|
|
557
|
-
const
|
|
546
|
+
const a2 = e3.systemCode, u2 = e3.backendUrl, p2 = $(e3, n3, i3, r3, l3, m3, null);
|
|
558
547
|
p2.tableName = f3;
|
|
559
548
|
let d4 = t(u2, e3.isTest) + o3;
|
|
560
|
-
d4 = s(d4,
|
|
549
|
+
d4 = s(d4, a2, u2, e3.isTest), c.post(d4, p2).then((e4) => {
|
|
561
550
|
g3(e4);
|
|
562
551
|
}).catch((e4) => {
|
|
563
552
|
C3(e4);
|
|
@@ -566,56 +555,54 @@ function oe(e2, n2, o2, a2) {
|
|
|
566
555
|
C3("点击了取消按钮");
|
|
567
556
|
});
|
|
568
557
|
});
|
|
569
|
-
}(d2, m2,
|
|
558
|
+
}(d2, m2, i2, w2, f2, g2, o2, C2, T2);
|
|
570
559
|
k2 ? k2.then((e3) => {
|
|
571
|
-
|
|
560
|
+
G(d2, m2, e3, "superPageRuntimeMessage.successfulSave", n2), r2(e3);
|
|
572
561
|
}).catch((e3) => {
|
|
573
562
|
l2(e3);
|
|
574
|
-
})
|
|
575
|
-
n2 || L(d2.code, d2.entity.data);
|
|
576
|
-
}) : (n2 || L(d2.code, d2.entity.data), l2("request不存在"));
|
|
563
|
+
}) : l2("request不存在");
|
|
577
564
|
});
|
|
578
565
|
}
|
|
579
|
-
function
|
|
566
|
+
function ee(e2, o2) {
|
|
580
567
|
var _a, _b, _c;
|
|
581
|
-
const
|
|
568
|
+
const i2 = e2.pageContext, a2 = e2.configureObj, r2 = e2.tableConfigure, p2 = a2.props.base, d2 = a2.props.base.tableUuid ? a2.props.base.tableUuid : e2.tableUuid, m2 = A(i2, d2), f2 = new FormData();
|
|
582
569
|
f2.append("multipartFile", o2), m2 && f2.append("tableName", m2);
|
|
583
|
-
const g2 = (_b = (_a =
|
|
584
|
-
g2 && f2.append("currentOperation", g2), f2.append("isMobile", D()),
|
|
570
|
+
const g2 = (_b = (_a = a2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
|
|
571
|
+
g2 && f2.append("currentOperation", g2), f2.append("isMobile", D()), i2.importBeanName && f2.append("importBeanName", i2.importBeanName), i2.beanName && f2.append("beanName", i2.beanName);
|
|
585
572
|
const C2 = (_c = r2.props.importSetting) == null ? void 0 : _c.listViewImportDuplicate;
|
|
586
573
|
C2 && f2.append("importDuplicateRule", C2);
|
|
587
|
-
const b2 =
|
|
574
|
+
const b2 = i2.judgeHeavyList;
|
|
588
575
|
b2 && f2.append("judgeHeavyList", JSON.stringify(b2));
|
|
589
|
-
const w2 =
|
|
576
|
+
const w2 = ve(a2);
|
|
590
577
|
w2 && f2.append("autoSetValueData", w2);
|
|
591
|
-
const T2 =
|
|
578
|
+
const T2 = i2.formNoRuleCode;
|
|
592
579
|
T2 && f2.append("formNoRuleCode", T2);
|
|
593
580
|
const k2 = e2.listCode;
|
|
594
581
|
k2 && f2.append("listCode", k2);
|
|
595
|
-
let
|
|
596
|
-
|
|
597
|
-
const P2 = n(
|
|
582
|
+
let h2 = false;
|
|
583
|
+
h2 = void 0 !== p2.isAsync && null !== p2.isAsync && p2.isAsync, f2.append("isAsync", h2 + ""), f2.append("pageCode", i2.code);
|
|
584
|
+
const P2 = n(i2);
|
|
598
585
|
null != P2 && f2.append("isWorkflowEntity", P2 + "");
|
|
599
|
-
const R2 = S(
|
|
586
|
+
const R2 = S(a2, i2);
|
|
600
587
|
R2 && f2.append("functionCode", R2);
|
|
601
|
-
const v2 =
|
|
588
|
+
const v2 = ue(i2);
|
|
602
589
|
f2.append("additionalParamMapStr", JSON.stringify(v2));
|
|
603
590
|
const M2 = void 0 === p2.isPermission || "true" === p2.isPermission || p2.isPermission;
|
|
604
591
|
f2.append("isPermission", M2 + "");
|
|
605
|
-
const I2 =
|
|
592
|
+
const I2 = i2.systemCode;
|
|
606
593
|
I2 && f2.append("systemCode", I2);
|
|
607
|
-
const N2 =
|
|
608
|
-
let x2 = t(N2,
|
|
609
|
-
x2 = s(x2, I2, N2,
|
|
610
|
-
if (
|
|
594
|
+
const N2 = i2.backendUrl;
|
|
595
|
+
let x2 = t(N2, i2.isTest) + "/dsc/commons/import-data";
|
|
596
|
+
x2 = s(x2, I2, N2, i2.isTest), c.post(x2, f2).then((e3) => {
|
|
597
|
+
if (h2) l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.asyncImport") });
|
|
611
598
|
else {
|
|
612
599
|
let t2 = false;
|
|
613
|
-
e3 ? (t2 = false, l({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e3 })) : (l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulImport") }), t2 = true),
|
|
600
|
+
e3 ? (t2 = false, l({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e3 })) : (l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulImport") }), t2 = true), G(i2, a2, e3, null, true), i2.result = t2, y(i2, a2);
|
|
614
601
|
}
|
|
615
602
|
}).catch((e3) => {
|
|
616
603
|
});
|
|
617
604
|
}
|
|
618
|
-
function
|
|
605
|
+
function te(e2, t2) {
|
|
619
606
|
const s2 = e2.props.base;
|
|
620
607
|
if (s2.conditionsForExecution && "" !== s2.conditionsForExecution) {
|
|
621
608
|
if ("one" === s2.conditionsForExecution) {
|
|
@@ -624,32 +611,32 @@ function ie(e2, t2) {
|
|
|
624
611
|
}
|
|
625
612
|
return true;
|
|
626
613
|
}
|
|
627
|
-
function
|
|
614
|
+
function se(e2) {
|
|
628
615
|
var _a, _b, _c;
|
|
629
|
-
const t2 = e2.pageContext, s2 = e2.configureObj, n2 = t2.entity.data,
|
|
616
|
+
const t2 = e2.pageContext, s2 = e2.configureObj, n2 = t2.entity.data, i2 = t2.systemCode, a2 = t2.code;
|
|
630
617
|
let r2 = S(s2, t2);
|
|
631
|
-
r2 || (r2 =
|
|
632
|
-
const c2 = { entity: n2, pageMoel: t2.entity.page, formNoRuleCode: t2.formNoRuleCode, tableName: t2.tableName, emailTemplateCode: t2.emailTemplateCode, definitionId: t2.definitionId, functionCode: r2, systemCode:
|
|
618
|
+
r2 || (r2 = a2 + ".xxx"), n2.id || n2.ID || (n2.PAGE_CODE = t2.code, n2.PAGE_VERSION = t2.version);
|
|
619
|
+
const c2 = { entity: n2, pageMoel: t2.entity.page, formNoRuleCode: t2.formNoRuleCode, tableName: t2.tableName, emailTemplateCode: t2.emailTemplateCode, definitionId: t2.definitionId, functionCode: r2, systemCode: i2, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version, listCodesInitSearchForm: t2.listCodesInitSearchForm };
|
|
633
620
|
t2.completeTaskParam && (c2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, opinion: t2.completeTaskParam.opinion }), t2.judgeHeavyList && (o(t2.judgeHeavyList) ? c2.judgeHeavyList = JSON.stringify(t2.judgeHeavyList) : c2.judgeHeavyList = t2.judgeHeavyList);
|
|
634
621
|
const u2 = s2.props.base.conversionCodes;
|
|
635
622
|
u2 && (o(u2) ? c2.dataConversionRule = u2.join(",") : "string" == typeof u2 && (c2.dataConversionRule = u2));
|
|
636
|
-
const l2 =
|
|
623
|
+
const l2 = ve(s2);
|
|
637
624
|
l2 && (c2.autoSetValueData = l2), t2.beanName && (c2.beanName = t2.beanName);
|
|
638
625
|
const p2 = (_a = s2.props.base) == null ? void 0 : _a.logSetting;
|
|
639
|
-
p2 && (c2.logSettingText = p2.join("")), c2.systemCode || (c2.systemCode =
|
|
640
|
-
const d2 =
|
|
641
|
-
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
|
|
626
|
+
p2 && (c2.logSettingText = p2.join("")), c2.systemCode || (c2.systemCode = i2);
|
|
627
|
+
const d2 = ue(t2);
|
|
628
|
+
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] : console.error("ids参数类型错误"));
|
|
642
629
|
const m2 = s2.props.base.successOperation;
|
|
643
630
|
m2 && "noOperation" === m2 && (c2.unControlVersion = true), c2.isWorkflowEntity = true;
|
|
644
631
|
const f2 = (_c = (_b = s2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
|
|
645
632
|
return f2 && (c2.currentOperation = f2), c2.isMobile = D(), c2;
|
|
646
633
|
}
|
|
647
|
-
function
|
|
648
|
-
const
|
|
634
|
+
function ne(e2, t2, s2, n2, o2) {
|
|
635
|
+
const i2 = s2.code, a2 = s2.version;
|
|
649
636
|
let r2;
|
|
650
637
|
if (e2) {
|
|
651
638
|
t2 && (s2.initFormNo = e2.formNo, s2.emailTemplateCode = e2.emailTemplateCode), e2.entity && (s2.entity.data = e2.entity, function(e3, t3) {
|
|
652
|
-
const s3 =
|
|
639
|
+
const s3 = ue(t3);
|
|
653
640
|
e3 && s3 && g(s3._t_ + "_id", e3);
|
|
654
641
|
}(e2.entity.id || e2.entity.ID, s2));
|
|
655
642
|
const o3 = e2.completeTaskResult;
|
|
@@ -662,65 +649,62 @@ function ce(e2, t2, s2, n2, o2) {
|
|
|
662
649
|
}
|
|
663
650
|
if (e2.completeTaskParam) {
|
|
664
651
|
const t3 = e2.completeTaskParam;
|
|
665
|
-
r2 = t3.taskId, n2 && (n2.taskId = r2), P(
|
|
652
|
+
r2 = t3.taskId, n2 && (n2.taskId = r2), P(i2, a2, "_completeTaskParam", t3), s2.fieldPermissions = t3.fieldPermissions, s2.actionPermissions = t3.actionPermissions, s2.workflowButtonComponent = t3.buttonComponent, s2.completeTaskParam = t3, s2.completeTaskParam.opinion = null;
|
|
666
653
|
}
|
|
667
|
-
s2.entity || (s2.entity = {}), s2.entity.task = e2.taskParamMap, P(
|
|
654
|
+
s2.entity || (s2.entity = {}), s2.entity.task = e2.taskParamMap, P(i2, a2, "_currentActivityName", e2.taskName);
|
|
668
655
|
}
|
|
669
|
-
return n2 && (n2.operationResult = o2), t2 ||
|
|
656
|
+
return n2 && (n2.operationResult = o2), t2 || G(s2, n2.configureObj, e2, null, false), true;
|
|
670
657
|
}
|
|
671
|
-
async function
|
|
672
|
-
const o2 = await
|
|
673
|
-
return new Promise((
|
|
658
|
+
async function oe(e2, n2) {
|
|
659
|
+
const o2 = await ie(e2);
|
|
660
|
+
return new Promise((i2, a2) => {
|
|
674
661
|
var _a;
|
|
675
662
|
if (o2) {
|
|
676
663
|
const r2 = e2.pageContext, p2 = r2.systemCode, d2 = r2.backendUrl, m2 = true === o2 ? (_a = r2.completeTaskParam) == null ? void 0 : _a.opinion : o2;
|
|
677
664
|
let f2 = t(d2, r2.isTest) + "/dsc/workflow-commons/complete-tasks";
|
|
678
665
|
if (f2 = s(f2, p2, d2, r2.isTest), !f2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
679
|
-
const g2 =
|
|
666
|
+
const g2 = se(e2);
|
|
680
667
|
g2.completeTaskParam = { operationResult: n2, taskId: r2.completeTaskParam ? r2.completeTaskParam.taskId : null, opinion: m2 || null };
|
|
681
|
-
|
|
682
|
-
W(r2.code, r2.entity.data), C2.then((t2) => {
|
|
668
|
+
c.post(f2, g2).then((t2) => {
|
|
683
669
|
let s2 = true;
|
|
684
|
-
t2 && (s2 =
|
|
670
|
+
t2 && (s2 = ne(t2, false, r2, e2, n2)), true === s2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulCompleteTask") }), i2(true);
|
|
685
671
|
}).catch((e3) => {
|
|
686
|
-
|
|
687
|
-
}).finally(() => {
|
|
688
|
-
L(r2.code, r2.entity.data);
|
|
672
|
+
a2(e3);
|
|
689
673
|
});
|
|
690
|
-
} else
|
|
674
|
+
} else i2(true);
|
|
691
675
|
});
|
|
692
676
|
}
|
|
693
|
-
function
|
|
677
|
+
function ie(e2) {
|
|
694
678
|
return new Promise((t2, s2) => {
|
|
695
|
-
var _a, _b, _c, _d,
|
|
679
|
+
var _a, _b, _c, _d, _e;
|
|
696
680
|
const n2 = e2.configureObj;
|
|
697
681
|
if (n2) {
|
|
698
682
|
if ((_a = e2.pageContext.workflowOpinion) == null ? void 0 : _a.opinion) return void t2(e2.pageContext.workflowOpinion.opinion);
|
|
699
683
|
let s3 = false;
|
|
700
684
|
if (((_c = (_b = n2.props) == null ? void 0 : _b.base) == null ? void 0 : _c.isMustOpinion) && (s3 = true), true === s3) {
|
|
701
|
-
const t3 = e2.pageContext, o2 = (
|
|
685
|
+
const t3 = e2.pageContext, o2 = (_e = (_d = n2.props) == null ? void 0 : _d.base) == null ? void 0 : _e.mustOpinionConditions;
|
|
702
686
|
s3 = M(t3, o2);
|
|
703
687
|
}
|
|
704
688
|
true === s3 ? (l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.pleaseInputOpinion") }), e2.pageContext.workflowOpinion.focusOpinionInput = true, t2(false)) : t2(true);
|
|
705
689
|
} else t2(true);
|
|
706
690
|
});
|
|
707
691
|
}
|
|
708
|
-
function
|
|
692
|
+
function ae(e2, s2) {
|
|
709
693
|
if (s2) {
|
|
710
|
-
const n2 = e2.pageContext, o2 = e2.configureObj,
|
|
711
|
-
c2.assigneeId = r2,
|
|
712
|
-
|
|
694
|
+
const n2 = e2.pageContext, o2 = e2.configureObj, i2 = n2.backendUrl, a2 = t(i2, n2.isTest) + "/dsc/workflow-commons/assigns", r2 = s2.id ? s2.id : s2.ID ? s2.ID : null, c2 = se(e2);
|
|
695
|
+
c2.assigneeId = r2, me(e2, c2, a2, "superPageRuntimeMessage.successfulAssign").then((e3) => {
|
|
696
|
+
y(n2, o2);
|
|
713
697
|
});
|
|
714
698
|
}
|
|
715
699
|
}
|
|
716
|
-
function
|
|
700
|
+
function re(e2) {
|
|
717
701
|
var _a, _b;
|
|
718
|
-
const t2 = e2.pageContext, s2 = t2.entity.data, n2 = t2.systemCode, o2 = t2.code,
|
|
719
|
-
c2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, systemCode: n2 }, c2.completeTaskParam.customTaskTitle =
|
|
720
|
-
const u2 = (_b = (_a =
|
|
702
|
+
const t2 = e2.pageContext, s2 = t2.entity.data, n2 = t2.systemCode, o2 = t2.code, i2 = e2.configureObj, a2 = ue(t2), r2 = void 0 !== s2.ID && null !== s2.ID ? s2.ID : s2.id, c2 = { beanName: t2.beanName, id: r2, entity: s2, additionalParamMap: a2, tableName: t2.tableName, functionCode: o2 + ".xxx", isWorkflowEntity: true, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version, listCodesInitSearchForm: t2.listCodesInitSearchForm };
|
|
703
|
+
c2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, systemCode: n2 }, c2.completeTaskParam.customTaskTitle = ce(e2);
|
|
704
|
+
const u2 = (_b = (_a = i2 == null ? void 0 : i2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
|
|
721
705
|
return u2 && (c2.currentOperation = u2), c2.isMobile = D(), c2;
|
|
722
706
|
}
|
|
723
|
-
function
|
|
707
|
+
function ce(e2) {
|
|
724
708
|
var _a, _b, _c;
|
|
725
709
|
let t2 = null;
|
|
726
710
|
if (((_b = (_a = e2.configureObj.props.task) == null ? void 0 : _a.title) == null ? void 0 : _b.length) > 0) for (let s2 = 0; s2 < e2.configureObj.props.task.title.length; s2++) {
|
|
@@ -738,7 +722,7 @@ function me(e2) {
|
|
|
738
722
|
}
|
|
739
723
|
return t2;
|
|
740
724
|
}
|
|
741
|
-
function
|
|
725
|
+
function ue(t2) {
|
|
742
726
|
if (t2.entity) {
|
|
743
727
|
let s2 = e(t2.entity.page);
|
|
744
728
|
s2 || (s2 = {});
|
|
@@ -746,33 +730,33 @@ function fe(t2) {
|
|
|
746
730
|
return n2 && Object.assign(s2, n2), s2;
|
|
747
731
|
}
|
|
748
732
|
}
|
|
749
|
-
function
|
|
733
|
+
function le(e2, n2) {
|
|
750
734
|
if (n2) {
|
|
751
|
-
const o2 = e2.pageContext,
|
|
735
|
+
const o2 = e2.pageContext, i2 = e2.configureObj, a2 = o2.systemCode, r2 = o2.backendUrl;
|
|
752
736
|
let p2 = t(r2, o2.isTest) + "/dsc/workflow-commons/add-signers";
|
|
753
|
-
if (p2 = s(p2,
|
|
754
|
-
const d2 =
|
|
737
|
+
if (p2 = s(p2, a2, r2, o2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
738
|
+
const d2 = re(e2);
|
|
755
739
|
d2.completeTaskParam.transactors = n2.loginNames.join(",").split(",");
|
|
756
740
|
const m2 = c.post(p2, d2);
|
|
757
741
|
m2 && m2.then((e3) => {
|
|
758
|
-
l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), e3.entity &&
|
|
742
|
+
l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && G(o2, i2, e3, null, false), y(o2, i2);
|
|
759
743
|
});
|
|
760
744
|
}
|
|
761
745
|
}
|
|
762
|
-
function
|
|
746
|
+
function pe(e2, n2) {
|
|
763
747
|
if (n2) {
|
|
764
|
-
const o2 = e2.pageContext,
|
|
748
|
+
const o2 = e2.pageContext, i2 = e2.configureObj, a2 = o2.systemCode, r2 = o2.backendUrl;
|
|
765
749
|
let p2 = t(r2, o2.isTest) + "/dsc/workflow-commons/add-transactors";
|
|
766
|
-
if (p2 = s(p2,
|
|
767
|
-
const d2 =
|
|
750
|
+
if (p2 = s(p2, a2, r2, o2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
751
|
+
const d2 = re(e2);
|
|
768
752
|
d2.completeTaskParam.transactors = n2.loginNames.join(",").split(",");
|
|
769
753
|
const m2 = c.post(p2, d2);
|
|
770
754
|
m2 && m2.then((e3) => {
|
|
771
|
-
l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), e3.entity &&
|
|
755
|
+
l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && G(o2, i2, e3, null, false), y(o2, i2);
|
|
772
756
|
});
|
|
773
757
|
}
|
|
774
758
|
}
|
|
775
|
-
async function
|
|
759
|
+
async function de(e2, n2) {
|
|
776
760
|
if (n2) {
|
|
777
761
|
const o2 = await function(e3) {
|
|
778
762
|
return new Promise((t2, s2) => {
|
|
@@ -794,156 +778,155 @@ async function be(e2, n2) {
|
|
|
794
778
|
});
|
|
795
779
|
}(e2);
|
|
796
780
|
if (o2) {
|
|
797
|
-
const
|
|
798
|
-
let d2 = t(p2,
|
|
799
|
-
if (d2 = s(d2, r2, p2,
|
|
800
|
-
const m2 =
|
|
781
|
+
const i2 = e2.pageContext, a2 = e2.configureObj, r2 = i2.systemCode, p2 = i2.backendUrl;
|
|
782
|
+
let d2 = t(p2, i2.isTest) + "/dsc/workflow-commons/copies";
|
|
783
|
+
if (d2 = s(d2, r2, p2, i2.isTest), !d2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
784
|
+
const m2 = re(e2);
|
|
801
785
|
m2.completeTaskParam.transactors = n2.loginNames.join(",").split(","), true !== o2 && (m2.completeTaskParam.remark = o2);
|
|
802
786
|
const f2 = c.post(d2, m2);
|
|
803
787
|
f2 && f2.then((e3) => {
|
|
804
|
-
l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }),
|
|
788
|
+
l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), y(i2, a2);
|
|
805
789
|
});
|
|
806
790
|
}
|
|
807
791
|
}
|
|
808
792
|
}
|
|
809
|
-
async function
|
|
810
|
-
const
|
|
811
|
-
return new Promise((
|
|
793
|
+
async function me(e2, t2, n2, o2) {
|
|
794
|
+
const i2 = await ie(e2);
|
|
795
|
+
return new Promise((a2, r2) => {
|
|
812
796
|
var _a;
|
|
813
|
-
if (
|
|
797
|
+
if (i2) {
|
|
814
798
|
const p2 = e2.pageContext, d2 = p2.systemCode, m2 = p2.backendUrl;
|
|
815
799
|
if (p2.completeTaskParam) {
|
|
816
|
-
const e3 = true ===
|
|
800
|
+
const e3 = true === i2 ? (_a = p2.completeTaskParam) == null ? void 0 : _a.opinion : i2;
|
|
817
801
|
t2.completeTaskParam = { taskId: p2.completeTaskParam.taskId, opinion: e3 };
|
|
818
802
|
}
|
|
819
803
|
if (!(n2 = s(n2, d2, m2, p2.isTest))) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
820
804
|
const f2 = c.post(n2, t2);
|
|
821
805
|
f2 && f2.then((t3) => {
|
|
822
806
|
let s2 = true;
|
|
823
|
-
t3 && (s2 =
|
|
807
|
+
t3 && (s2 = ne(t3, false, p2, e2, null)), true === s2 && l({ showClose: true, type: "success", message: u().t(o2) }), a2(true);
|
|
824
808
|
}).catch((e3) => {
|
|
825
809
|
r2(e3);
|
|
826
810
|
});
|
|
827
|
-
} else
|
|
811
|
+
} else a2(true);
|
|
828
812
|
});
|
|
829
813
|
}
|
|
830
|
-
function
|
|
831
|
-
const n2 = e2.pageContext, o2 = n2.systemCode,
|
|
832
|
-
let r2 = t(
|
|
833
|
-
if (r2 = s(r2, o2,
|
|
834
|
-
const p2 = n2.code, d2 =
|
|
814
|
+
function fe(e2) {
|
|
815
|
+
const n2 = e2.pageContext, o2 = n2.systemCode, i2 = n2.backendUrl, a2 = n2.completeTaskParam;
|
|
816
|
+
let r2 = t(i2, n2.isTest) + "/dsc/workflow-commons/returnable-task/" + a2.taskId;
|
|
817
|
+
if (r2 = s(r2, o2, i2, n2.isTest), !r2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
818
|
+
const p2 = n2.code, d2 = ue(n2), m2 = { beanName: n2.beanName, additionalParamMap: d2, tableName: n2.tableName, functionCode: p2 + ".xxx", pageCode: n2.code };
|
|
835
819
|
return c.post(r2, m2);
|
|
836
820
|
}
|
|
837
|
-
function
|
|
838
|
-
const n2 = e2.pageContext, o2 = e2.configureObj,
|
|
839
|
-
s2.nodeName && (r2.returnToNodeName = s2.nodeName), s2.nodeId && (r2.returnToNodeId = s2.nodeId),
|
|
840
|
-
|
|
821
|
+
function ge(e2, s2) {
|
|
822
|
+
const n2 = e2.pageContext, o2 = e2.configureObj, i2 = n2.backendUrl, a2 = t(i2, n2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 = se(e2);
|
|
823
|
+
s2.nodeName && (r2.returnToNodeName = s2.nodeName), s2.nodeId && (r2.returnToNodeId = s2.nodeId), me(e2, r2, a2, "superPageRuntimeMessage.successfulReturnTaskTo").then((e3) => {
|
|
824
|
+
y(n2, o2);
|
|
841
825
|
});
|
|
842
826
|
}
|
|
843
|
-
function
|
|
844
|
-
const n2 = e2.pageContext, o2 = n2.systemCode,
|
|
845
|
-
let
|
|
846
|
-
const r2 =
|
|
847
|
-
if (
|
|
827
|
+
function Ce(e2) {
|
|
828
|
+
const n2 = e2.pageContext, o2 = n2.systemCode, i2 = n2.backendUrl;
|
|
829
|
+
let a2 = t(i2, n2.isTest) + "/dsc/workflow-commons/get-remove-signers";
|
|
830
|
+
const r2 = se(e2);
|
|
831
|
+
if (a2 = s(a2, o2, i2, n2.isTest), a2) return c.post(a2, r2);
|
|
848
832
|
l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
849
833
|
}
|
|
850
|
-
function
|
|
834
|
+
function be(e2, n2) {
|
|
851
835
|
if (n2) {
|
|
852
|
-
const o2 = e2.pageContext,
|
|
836
|
+
const o2 = e2.pageContext, i2 = e2.configureObj, a2 = o2.systemCode, r2 = o2.backendUrl;
|
|
853
837
|
let p2 = t(r2, o2.isTest) + "/dsc/workflow-commons/remove-signers";
|
|
854
|
-
if (p2 = s(p2,
|
|
855
|
-
const d2 = n2.map((e3) => e3.id ? e3.id : e3.ID ? e3.ID : null), m2 =
|
|
838
|
+
if (p2 = s(p2, a2, r2, o2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
839
|
+
const d2 = n2.map((e3) => e3.id ? e3.id : e3.ID ? e3.ID : null), m2 = se(e2);
|
|
856
840
|
m2.ids = d2;
|
|
857
841
|
const f2 = c.post(p2, m2);
|
|
858
842
|
f2 && f2.then((e3) => {
|
|
859
|
-
|
|
843
|
+
G(o2, i2, e3, "superPageRuntimeMessage.successfulOperation", false), y(o2, i2);
|
|
860
844
|
});
|
|
861
845
|
}
|
|
862
846
|
}
|
|
863
|
-
function
|
|
864
|
-
const n2 = e2.pageContext, o2 = n2.systemCode,
|
|
865
|
-
let
|
|
866
|
-
const r2 =
|
|
867
|
-
if (
|
|
847
|
+
function we(e2) {
|
|
848
|
+
const n2 = e2.pageContext, o2 = n2.systemCode, i2 = n2.backendUrl;
|
|
849
|
+
let a2 = t(i2, n2.isTest) + "/dsc/workflow-commons/get-remove-transactors";
|
|
850
|
+
const r2 = se(e2);
|
|
851
|
+
if (a2 = s(a2, o2, i2, n2.isTest), a2) return c.post(a2, r2);
|
|
868
852
|
l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
869
853
|
}
|
|
870
|
-
function
|
|
854
|
+
function Te(e2, n2) {
|
|
871
855
|
if (n2) {
|
|
872
|
-
const o2 = e2.pageContext,
|
|
856
|
+
const o2 = e2.pageContext, i2 = e2.configureObj, a2 = o2.systemCode, r2 = o2.backendUrl;
|
|
873
857
|
let p2 = t(r2, o2.isTest) + "/dsc/workflow-commons/remove-transactors";
|
|
874
|
-
if (p2 = s(p2,
|
|
875
|
-
const d2 = n2.map((e3) => e3.taskId), m2 =
|
|
858
|
+
if (p2 = s(p2, a2, r2, o2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
859
|
+
const d2 = n2.map((e3) => e3.taskId), m2 = se(e2);
|
|
876
860
|
m2.ids = d2;
|
|
877
861
|
const f2 = c.post(p2, m2);
|
|
878
862
|
f2 && f2.then((e3) => {
|
|
879
|
-
|
|
863
|
+
G(o2, i2, e3, "superPageRuntimeMessage.successfulOperation", false), y(o2, i2);
|
|
880
864
|
});
|
|
881
865
|
}
|
|
882
866
|
}
|
|
883
|
-
function
|
|
867
|
+
function ke(e2) {
|
|
884
868
|
const n2 = e2.pageContext, o2 = n2.backendUrl;
|
|
885
|
-
let
|
|
886
|
-
const
|
|
869
|
+
let i2 = t(o2, n2.isTest) + "/dsc/workflow-commons/initiate-extract";
|
|
870
|
+
const a2 = se(e2);
|
|
887
871
|
if (n2.completeTaskParam) {
|
|
888
872
|
const t2 = [];
|
|
889
|
-
e2._value.loginName && t2.push(e2._value.loginName),
|
|
873
|
+
e2._value.loginName && t2.push(e2._value.loginName), a2.completeTaskParam = { taskId: n2.completeTaskParam.taskId, opinion: e2._value.opinion, transactors: t2, customTaskTitle: ce(e2) };
|
|
890
874
|
}
|
|
891
875
|
return new Promise((t2, n3) => {
|
|
892
876
|
const o3 = e2.pageContext, r2 = o3.systemCode, p2 = o3.backendUrl;
|
|
893
|
-
if (
|
|
894
|
-
const d2 = c.post(
|
|
877
|
+
if (i2 = s(i2, r2, p2, o3.isTest), !i2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
878
|
+
const d2 = c.post(i2, a2);
|
|
895
879
|
d2 && d2.then((s2) => {
|
|
896
880
|
let n4 = true;
|
|
897
|
-
s2 && (n4 =
|
|
881
|
+
s2 && (n4 = ne(s2, false, o3, e2, null)), true === n4 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulInitiateExtract") }), t2(true);
|
|
898
882
|
}).catch((e3) => {
|
|
899
883
|
n3(e3);
|
|
900
884
|
});
|
|
901
885
|
});
|
|
902
886
|
}
|
|
903
|
-
function
|
|
887
|
+
function he(e2, t2, s2, n2, o2, i2) {
|
|
904
888
|
var _a, _b, _c, _d;
|
|
905
|
-
let
|
|
906
|
-
|
|
907
|
-
t2 && s2 && ("workflowSave" === t2 ? i2 = function(e3) {
|
|
889
|
+
let a2 = false;
|
|
890
|
+
t2 && s2 && ("workflowSave" === t2 ? a2 = function(e3) {
|
|
908
891
|
if ((void 0 === e3.processState || null === e3.processState || "UNSUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && true === e3.theTransactor) && (void 0 === e3.processState || true === e3.showButtonSave)) return true;
|
|
909
892
|
if (e3.processState && "SUBMIT" === e3.processState && true === e3.theTransactor && "TYPE_READ" !== e3.processingMode && e3.showButtonSave && ("WAIT_TRANSACT" === e3.active || "WAIT_DESIGNATE_TRANSACTOR" === e3.active || "WAIT_CHOICE_TACHE" === e3.active || "DRAW_WAIT" === e3.active)) return true;
|
|
910
893
|
return false;
|
|
911
|
-
}(s2) : "workflowStart" === t2 ?
|
|
894
|
+
}(s2) : "workflowStart" === t2 ? a2 = function(e3, t3) {
|
|
912
895
|
if (void 0 === e3.processState || null === e3.processState || t3 && !t3.workflow_id && !t3.WORKFLOW_ID) return true;
|
|
913
896
|
return false;
|
|
914
|
-
}(s2,
|
|
897
|
+
}(s2, i2) : "submitProcess" === t2 ? a2 = function(e3) {
|
|
915
898
|
if ((void 0 === e3.processState || null === e3.processState || "UNSUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && true === e3.theTransactor) && (void 0 === e3.processState || true === e3.showButtonSave)) return true;
|
|
916
899
|
return false;
|
|
917
|
-
}(s2) : "submitTask" === t2 ?
|
|
900
|
+
}(s2) : "submitTask" === t2 ? a2 = function(e3) {
|
|
918
901
|
if (e3.processState && "SUBMIT" === e3.processState && true === e3.theTransactor && "WAIT_TRANSACT" === e3.active && "EDIT" === e3.processingMode) return true;
|
|
919
902
|
return false;
|
|
920
|
-
}(s2) : "drawTask" === t2 ?
|
|
903
|
+
}(s2) : "drawTask" === t2 ? a2 = function(e3) {
|
|
921
904
|
if (e3.processState && "SUBMIT" === e3.processState && e3.active && ("DRAW_WAIT" === e3.active || "DEPT_DRAW_WAIT" === e3.active) && e3.showButtonDraw) return true;
|
|
922
905
|
return false;
|
|
923
|
-
}(s2) : "abandonReceive" === t2 ?
|
|
906
|
+
}(s2) : "abandonReceive" === t2 ? a2 = function(e3) {
|
|
924
907
|
if (e3.processState && "SUBMIT" === e3.processState && (e3.drawTask && "WAIT_TRANSACT" === e3.active || e3.canAbandonDeptTask && "WAIT_TRANSACT" === e3.active) && e3.showButtonAbandon) return true;
|
|
925
908
|
return false;
|
|
926
|
-
}(s2) : "approve" === t2 || "refuse" === t2 ?
|
|
909
|
+
}(s2) : "approve" === t2 || "refuse" === t2 ? a2 = function(e3) {
|
|
927
910
|
if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && ("APPROVE" === e3.processingMode || "COUNTERSIGN" === e3.processingMode)) return true;
|
|
928
911
|
return false;
|
|
929
|
-
}(s2) : "readed" === t2 ?
|
|
912
|
+
}(s2) : "readed" === t2 ? a2 = function(e3) {
|
|
930
913
|
if ("WAIT_TRANSACT" === e3.active && "TYPE_READ" === e3.processingMode) return true;
|
|
931
914
|
return false;
|
|
932
|
-
}(s2) : "assign" === t2 ?
|
|
915
|
+
}(s2) : "assign" === t2 ? a2 = function(e3) {
|
|
933
916
|
if (e3.processState && "SUBMIT" === e3.processState && "TYPE_READ" !== e3.processingMode && ("WAIT_TRANSACT" === e3.active || "DRAW_WAIT" === e3.active)) return true;
|
|
934
917
|
return false;
|
|
935
|
-
}(s2) : "copyTask" === t2 ?
|
|
918
|
+
}(s2) : "copyTask" === t2 ? a2 = function(e3, t3) {
|
|
936
919
|
let s3 = false;
|
|
937
920
|
e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "TYPE_READ" !== e3.processingMode && e3.showButtonCopy && (s3 = true);
|
|
938
921
|
t3 && (t3.props.base.state = s3 ? "" : "hidden");
|
|
939
922
|
return true;
|
|
940
|
-
}(s2, o2) : "addSigner" === t2 ?
|
|
923
|
+
}(s2, o2) : "addSigner" === t2 ? a2 = function(e3) {
|
|
941
924
|
if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "COUNTERSIGN" === e3.processingMode && e3.showButtonAddCounter) return true;
|
|
942
925
|
return false;
|
|
943
|
-
}(s2) : "removeSigner" === t2 ?
|
|
926
|
+
}(s2) : "removeSigner" === t2 ? a2 = function(e3) {
|
|
944
927
|
if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "COUNTERSIGN" === e3.processingMode && e3.showButtonDelCounter) return true;
|
|
945
928
|
return false;
|
|
946
|
-
}(s2) : "retrieveTask" === t2 ?
|
|
929
|
+
}(s2) : "retrieveTask" === t2 ? a2 = function(e3) {
|
|
947
930
|
if (e3.processState && "END" !== e3.processState && "SUBMIT" === e3.processState && true === e3.showButtonGetBack && function(e4) {
|
|
948
931
|
if ("COMPLETED" !== e4.active) return false;
|
|
949
932
|
if ("TYPE_READ" === e4.processingMode) return false;
|
|
@@ -951,13 +934,13 @@ function ve(e2, t2, s2, n2, o2, a2) {
|
|
|
951
934
|
return true;
|
|
952
935
|
}(e3)) return true;
|
|
953
936
|
return false;
|
|
954
|
-
}(s2) : "agreement" === t2 || "oppose" === t2 ?
|
|
937
|
+
}(s2) : "agreement" === t2 || "oppose" === t2 ? a2 = function(e3) {
|
|
955
938
|
if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "VOTE" === e3.processingMode) return true;
|
|
956
939
|
return false;
|
|
957
|
-
}(s2) : "kiken" === t2 ?
|
|
940
|
+
}(s2) : "kiken" === t2 ? a2 = function(e3) {
|
|
958
941
|
if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "VOTE" === e3.processingMode && e3.showButtonKiken) return true;
|
|
959
942
|
return false;
|
|
960
|
-
}(s2) : "extractWorkflow" === t2 ?
|
|
943
|
+
}(s2) : "extractWorkflow" === t2 ? a2 = function(e3, t3, s3) {
|
|
961
944
|
var _a2;
|
|
962
945
|
const n3 = d(), o3 = n3 ? n3.loginName : null;
|
|
963
946
|
if (e3 == null ? void 0 : e3.processState) {
|
|
@@ -965,11 +948,11 @@ function ve(e2, t2, s2, n2, o2, a2) {
|
|
|
965
948
|
if ("END" !== (e3 == null ? void 0 : e3.processState) && "EXTRACT" !== (e3 == null ? void 0 : e3.processState) && "MANUAL_END" !== (e3 == null ? void 0 : e3.processState) && s3 && (s3.creator === o3 || s3.CREATOR === o3)) return true;
|
|
966
949
|
}
|
|
967
950
|
return false;
|
|
968
|
-
}(s2, n2,
|
|
951
|
+
}(s2, n2, i2) : "cancelExtractWorkflow" === t2 ? a2 = function(e3, t3, s3) {
|
|
969
952
|
const n3 = d(), o3 = n3 ? n3.loginName : null;
|
|
970
953
|
if ("EXTRACT" === (e3 == null ? void 0 : e3.processState) && s3 && (s3.creator === o3 || s3.CREATOR === o3)) return true;
|
|
971
954
|
return false;
|
|
972
|
-
}(s2, 0,
|
|
955
|
+
}(s2, 0, i2) : "approveExtractWorkflow" === t2 || "refuseExtractWorkflow" === t2 ? a2 = ye(s2) : "addTransactor" === t2 || "removeTransactor" === t2 ? a2 = function(e3) {
|
|
973
956
|
if (e3.processState && "SUBMIT" === e3.processState && ("WAIT_TRANSACT" === e3.active || "DRAW_WAIT" === e3.active) && "COUNTERSIGN" !== e3.processingMode) return true;
|
|
974
957
|
return false;
|
|
975
958
|
}(s2) : function(e3, t3) {
|
|
@@ -979,11 +962,11 @@ function ve(e2, t2, s2, n2, o2, a2) {
|
|
|
979
962
|
t4 && (s3 = t4.taskComplete);
|
|
980
963
|
return s3;
|
|
981
964
|
}(t3);
|
|
982
|
-
}(s2, n2) && (
|
|
965
|
+
}(s2, n2) && (a2 = "returnToPreviousTask" !== t2 || function(e3) {
|
|
983
966
|
if (e3.rebuttable) return true;
|
|
984
967
|
return false;
|
|
985
968
|
}(s2)));
|
|
986
|
-
if ((o2 == null ? void 0 : o2.check) && -1 !== ["submitTask", "approve", "refuse", "agreement", "oppose", "kiken", "extractWorkflow", "cancelExtractWorkflow", "approveExtractWorkflow", "refuseExtractWorkflow", "returnToPreviousTask"].indexOf(t2) &&
|
|
969
|
+
if ((o2 == null ? void 0 : o2.check) && -1 !== ["submitTask", "approve", "refuse", "agreement", "oppose", "kiken", "extractWorkflow", "cancelExtractWorkflow", "approveExtractWorkflow", "refuseExtractWorkflow", "returnToPreviousTask"].indexOf(t2) && a2 && e2) {
|
|
987
970
|
e2.workflowOpinion ? e2.workflowOpinion.showOpinionBox = true : e2.workflowOpinion = { showOpinionBox: true };
|
|
988
971
|
let t3 = false;
|
|
989
972
|
if ((_b = (_a = o2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isMustOpinion) {
|
|
@@ -994,39 +977,37 @@ function ve(e2, t2, s2, n2, o2, a2) {
|
|
|
994
977
|
e2.workflowOpinion.isRequired = t3;
|
|
995
978
|
}
|
|
996
979
|
}
|
|
997
|
-
return
|
|
980
|
+
return a2;
|
|
998
981
|
}
|
|
999
|
-
function
|
|
982
|
+
function ye(e2, t2, s2) {
|
|
1000
983
|
return !(!e2.processState || "EXTRACT" !== e2.processState || "WAIT_TRANSACT" !== e2.active);
|
|
1001
984
|
}
|
|
1002
|
-
function
|
|
1003
|
-
e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true,
|
|
985
|
+
function Pe(e2, t2) {
|
|
986
|
+
e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, Se(e2, t2).then((t3) => {
|
|
1004
987
|
e2.isRefresh = true;
|
|
1005
988
|
});
|
|
1006
989
|
}
|
|
1007
|
-
function
|
|
1008
|
-
const
|
|
1009
|
-
if (
|
|
990
|
+
function Se(e2, s2, o2) {
|
|
991
|
+
const i2 = e2.pageType;
|
|
992
|
+
if (i2 && "form" === i2) {
|
|
1010
993
|
e2.canClick = false;
|
|
1011
994
|
return n(e2) ? function(e3, s3, n2) {
|
|
1012
|
-
return new Promise((o3,
|
|
1013
|
-
const
|
|
995
|
+
return new Promise((o3, i3) => {
|
|
996
|
+
const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = ue(e3);
|
|
1014
997
|
let d2 = s3 || null, m2 = s3 ? [s3] : null;
|
|
1015
998
|
void 0 === n2 || n2 ? (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);
|
|
1016
|
-
const g2 = p2 ? p2.taskId : null, C2 = u2, b2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, isWorkflowEntity: true, systemCode:
|
|
1017
|
-
if ((!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
|
|
999
|
+
const g2 = p2 ? p2.taskId : null, C2 = u2, b2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, isWorkflowEntity: true, systemCode: a2, functionCode: C2 + ".workflowGets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
|
|
1000
|
+
if (e3.listCodesMap, (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
|
|
1018
1001
|
const t2 = {};
|
|
1019
1002
|
e3.tableUuids.forEach((e4) => {
|
|
1020
1003
|
const s4 = r(u2, l2, e4);
|
|
1021
1004
|
t2[s4] = s4;
|
|
1022
1005
|
}), b2.listCodesMap = t2;
|
|
1023
1006
|
}
|
|
1024
|
-
m2 && (b2.ids =
|
|
1007
|
+
m2 && (b2.ids = Re(m2)), g2 ? b2.taskId = g2 : d2 ? b2.id = d2 : (p2 && p2._t_ && f(p2._t_ + "_id") && (b2.id = f(p2._t_ + "_id")), e3.notIdInitializationList && (b2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList))), p2 && (b2.additionalParamMap = p2), e3.beanName && (b2.beanName = e3.beanName), e3.refercePropMap && (b2.refercePropMap = e3.refercePropMap);
|
|
1025
1008
|
const w2 = t(e3.backendUrl, e3.isTest) + "/dsc/workflow-commons/gets", T2 = j();
|
|
1026
|
-
T2.restorePageLoadState(), k(null, e3, e3, "beforeFormLoadData")
|
|
1027
|
-
|
|
1028
|
-
c.post(w2, b2).then(async (t2) => {
|
|
1029
|
-
y2 && await xe(e3, b2.id, t2), e3.workflowOpinion = { showOpinionBox: false }, e3.definitionId = t2.definitionId, e3.entity.task = t2.taskParamMap, e3.dataTypeMaps = t2.dataTypeMap, ce(t2, true, e3), e3.workflowRules = E(e3);
|
|
1009
|
+
T2.restorePageLoadState(), k(null, e3, e3, "beforeFormLoadData"), c.post(w2, b2).then((t2) => {
|
|
1010
|
+
e3.workflowOpinion = { showOpinionBox: false }, e3.definitionId = t2.definitionId, e3.entity.task = t2.taskParamMap, e3.dataTypeMaps = t2.dataTypeMap, ne(t2, true, e3), e3.workflowRules = E(e3);
|
|
1030
1011
|
const s4 = e3.pageType;
|
|
1031
1012
|
s4 && "form" === s4 && function(e4) {
|
|
1032
1013
|
(function(e5) {
|
|
@@ -1034,11 +1015,11 @@ function Ne(e2, s2, o2) {
|
|
|
1034
1015
|
if (void 0 !== s5) for (let e6 = 0; e6 < s5.length; e6++) {
|
|
1035
1016
|
const n3 = s5[e6].name;
|
|
1036
1017
|
if (n3) if (0 === n3.indexOf("$") && n3.indexOf(".") > 0) {
|
|
1037
|
-
const o4 = s5[e6],
|
|
1038
|
-
if (
|
|
1018
|
+
const o4 = s5[e6], i4 = JSON.parse(JSON.stringify(o4)), a3 = n3.substring(1, n3.indexOf(".")), r2 = n3.substring(n3.indexOf(".") + 1);
|
|
1019
|
+
if (i4.name = r2, i4 && "all_fields" === i4.name) false === i4.canEdit ? i4.rowIndexes ? t3.set(a3, [{ name: "all_fields", canEdit: false, rowIndexes: i4.rowIndexes }]) : t3.set(a3, [{ name: "all_fields", canEdit: false }]) : i4.rowIndexes ? t3.set(a3, [{ name: "all_fields", canEdit: true, rowIndexes: i4.rowIndexes }]) : t3.set(a3, [{ name: "all_fields", canEdit: true }]);
|
|
1039
1020
|
else {
|
|
1040
|
-
let e7 = t3.get(
|
|
1041
|
-
e7 || (e7 = []), e7.push(
|
|
1021
|
+
let e7 = t3.get(a3);
|
|
1022
|
+
e7 || (e7 = []), e7.push(i4), t3.set(a3, e7);
|
|
1042
1023
|
}
|
|
1043
1024
|
} else t3.set(n3, s5[e6]);
|
|
1044
1025
|
}
|
|
@@ -1047,8 +1028,8 @@ function Ne(e2, s2, o2) {
|
|
|
1047
1028
|
const t3 = e5.fieldPermissionMap, s5 = /* @__PURE__ */ new Map(), n3 = e5.actionPermissions;
|
|
1048
1029
|
if (null != n3) {
|
|
1049
1030
|
Object.keys(n3).forEach((e6) => {
|
|
1050
|
-
const o4 = n3[e6],
|
|
1051
|
-
if (
|
|
1031
|
+
const o4 = n3[e6], i4 = t3.get(e6);
|
|
1032
|
+
if (i4 && i4.length > 0 && "all_fields" === i4[0].name && false === i4[0].canEdit) o4.canUpdate = false, o4.canAdd = false;
|
|
1052
1033
|
else {
|
|
1053
1034
|
o4 && 0 !== Object.keys(o4.deleteCondition).length || (o4.deleteCondition = null), o4 && 0 !== Object.keys(o4.updateCondition).length || (o4.updateCondition = null);
|
|
1054
1035
|
const s6 = o4.canUpdate, n4 = o4.updateRowIndexes;
|
|
@@ -1061,16 +1042,16 @@ function Ne(e2, s2, o2) {
|
|
|
1061
1042
|
}(e4);
|
|
1062
1043
|
}(e3), e3.canClick = true, k(null, e3, e3, "afterFormLoadData"), T2.setFormPageDataLoadState(true), o3(t2);
|
|
1063
1044
|
}).catch((t2) => {
|
|
1064
|
-
e3.canClick = true,
|
|
1045
|
+
e3.canClick = true, i3(t2);
|
|
1065
1046
|
});
|
|
1066
1047
|
});
|
|
1067
1048
|
}(e2, s2, o2) : function(e3, s3, n2) {
|
|
1068
|
-
return new Promise((o3,
|
|
1069
|
-
const
|
|
1049
|
+
return new Promise((o3, i3) => {
|
|
1050
|
+
const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = ue(e3);
|
|
1070
1051
|
let d2 = s3 || null, m2 = s3 ? [s3] : null;
|
|
1071
1052
|
void 0 === n2 || n2 ? (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);
|
|
1072
|
-
const g2 = p2 ? p2.taskId : null, C2 = u2, b2 = t(e3.backendUrl, e3.isTest), w2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: d2, systemCode:
|
|
1073
|
-
if (!w2.id && p2 && p2._t_ && f(p2._t_ + "_id") && (w2.id = f(p2._t_ + "_id")), m2 && (w2.ids =
|
|
1053
|
+
const g2 = p2 ? p2.taskId : null, C2 = u2, b2 = t(e3.backendUrl, e3.isTest), w2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: d2, systemCode: a2, functionCode: C2 + ".gets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
|
|
1054
|
+
if (!w2.id && p2 && p2._t_ && f(p2._t_ + "_id") && (w2.id = f(p2._t_ + "_id")), m2 && (w2.ids = Re(m2)), e3.notIdInitializationList && (w2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (w2.additionalParamMap = p2), e3.beanName && (w2.beanName = e3.beanName), g2 && (w2.taskId = g2), e3.listCodesMap, (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
|
|
1074
1055
|
const t2 = {};
|
|
1075
1056
|
e3.tableUuids.forEach((e4) => {
|
|
1076
1057
|
const s4 = r(u2, l2, e4);
|
|
@@ -1078,15 +1059,13 @@ function Ne(e2, s2, o2) {
|
|
|
1078
1059
|
}), w2.listCodesMap = t2;
|
|
1079
1060
|
}
|
|
1080
1061
|
e3.refercePropMap && (w2.refercePropMap = e3.refercePropMap);
|
|
1081
|
-
const T2 = b2 + "/dsc/commons/gets",
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
const s4 = e3.customRules, n3 = e3.rules, a4 = U(e3, s4, n3);
|
|
1087
|
-
e3.rules = a4, e3.canClick = true, k(null, e3, e3, "afterFormLoadData"), y2.setFormPageDataLoadState(true), o3(t2);
|
|
1062
|
+
const T2 = b2 + "/dsc/commons/gets", h2 = j();
|
|
1063
|
+
h2.restorePageLoadState(), k(null, e3, e3, "beforeFormLoadData"), c.post(T2, w2).then((t2) => {
|
|
1064
|
+
t2 && (e3.entity.data = t2.entity, e3.initFormNo = t2.formNo);
|
|
1065
|
+
const s4 = e3.customRules, n3 = e3.rules, i4 = U(e3, s4, n3);
|
|
1066
|
+
e3.rules = i4, e3.canClick = true, k(null, e3, e3, "afterFormLoadData"), h2.setFormPageDataLoadState(true), o3(t2);
|
|
1088
1067
|
}).catch((t2) => {
|
|
1089
|
-
e3.canClick = true,
|
|
1068
|
+
e3.canClick = true, i3(t2);
|
|
1090
1069
|
});
|
|
1091
1070
|
});
|
|
1092
1071
|
}(e2, s2, o2);
|
|
@@ -1095,17 +1074,10 @@ function Ne(e2, s2, o2) {
|
|
|
1095
1074
|
e3(true);
|
|
1096
1075
|
});
|
|
1097
1076
|
}
|
|
1098
|
-
|
|
1099
|
-
try {
|
|
1100
|
-
await p.confirm("检测到您有未保存的数据,是否继续填写上次未保存的数据?", "提示", { confirmButtonText: "是", cancelButtonText: "否", type: "warning" }), s2.entity = F(e2.code, t2, s2.entity);
|
|
1101
|
-
} catch (e3) {
|
|
1102
|
-
}
|
|
1103
|
-
V(e2.code, t2);
|
|
1104
|
-
}
|
|
1105
|
-
function Oe(e2) {
|
|
1077
|
+
function Re(e2) {
|
|
1106
1078
|
return e2 && ("string" == typeof e2 ? e2 = e2.split(",") : "number" == typeof e2 && (e2 = [e2])), e2;
|
|
1107
1079
|
}
|
|
1108
|
-
function
|
|
1080
|
+
function ve(e2) {
|
|
1109
1081
|
const t2 = e2.props.setValueList;
|
|
1110
1082
|
if (t2) {
|
|
1111
1083
|
if (o(t2) && t2.length > 0) return JSON.stringify(t2);
|
|
@@ -1113,45 +1085,45 @@ function Ae(e2) {
|
|
|
1113
1085
|
}
|
|
1114
1086
|
return null;
|
|
1115
1087
|
}
|
|
1116
|
-
function
|
|
1117
|
-
const s2 = e2.entity ? e2.entity : {}, n2 = { data: s2.data, page: s2.page }, o2 = { pageCode: e2.code, queryCondition: JSON.stringify(n2), name: t2 },
|
|
1118
|
-
return c.post(
|
|
1088
|
+
function Me(e2, t2) {
|
|
1089
|
+
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";
|
|
1090
|
+
return c.post(i2, o2);
|
|
1119
1091
|
}
|
|
1120
|
-
function
|
|
1092
|
+
function Ie(e2) {
|
|
1121
1093
|
const t2 = e2.code, s2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/list/" + t2;
|
|
1122
1094
|
return c.get(s2);
|
|
1123
1095
|
}
|
|
1124
|
-
function
|
|
1096
|
+
function Ne(e2) {
|
|
1125
1097
|
const t2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/" + e2;
|
|
1126
1098
|
return c.delete(t2);
|
|
1127
1099
|
}
|
|
1128
1100
|
export {
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1101
|
+
G as dealAfterOperate,
|
|
1102
|
+
ne as dealCompleteTaskParam,
|
|
1103
|
+
Ne as deleteChartCondition,
|
|
1104
|
+
le as doAddSigner,
|
|
1105
|
+
pe as doAddTransactor,
|
|
1106
|
+
ae as doAssign,
|
|
1107
|
+
de as doCreateCopyTask,
|
|
1108
|
+
ee as doImportFinally,
|
|
1109
|
+
be as doRemoveSigners,
|
|
1110
|
+
Te as doRemoveTransactors,
|
|
1111
|
+
ge as doReturnTaskTo,
|
|
1112
|
+
B as exportFormReport,
|
|
1113
|
+
ke as extractWorkflowFunc,
|
|
1114
|
+
ue as getAdditionalParamMap,
|
|
1115
|
+
Se as getFormData,
|
|
1116
|
+
Ce as getRemoveSigner,
|
|
1117
|
+
we as getRemoveTransactor,
|
|
1118
|
+
H as getSaveFormRequest,
|
|
1119
|
+
q as getSaveFormRequestWithRow,
|
|
1120
|
+
fe as getTaskInformitions,
|
|
1121
|
+
he as isVisibleWorkflowButton,
|
|
1122
|
+
te as judgeDataNumber,
|
|
1123
|
+
Ie as listChartConditions,
|
|
1124
|
+
Q as refreshFormOrListPage,
|
|
1125
|
+
Pe as refreshPage,
|
|
1126
|
+
Me as saveChartConditionBase,
|
|
1127
|
+
W as standardEvents,
|
|
1128
|
+
K as updateValuesWhenCloseDialog
|
|
1157
1129
|
};
|