super-page-runtime 2.2.11 → 2.2.17
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/assemblys-config.js +12 -9
- package/dist/es/components/runtime/utils/events/standard-event.js +252 -258
- package/dist/es/components/runtime/utils/events/validator-util.js +42 -39
- package/dist/es/components/runtime/utils/page-helper-util.js +1 -0
- package/dist/es/components/runtime/utils/page-init-util.js +50 -47
- package/dist/es/components/runtime/utils/page-store.d.ts +38 -2
- package/dist/es/components/runtime/utils/page-store.js +22 -7
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +15 -13
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +5 -42
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +58 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +1 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +22 -22
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +4 -2
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +11 -7
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +73 -69
- package/dist/es/components/runtime/views/super-page.vue.js +55 -52
- package/dist/es/style.css +4 -1
- package/package.json +2 -2
|
@@ -4,41 +4,42 @@ import { getI18n as u } from "agilebuilder-ui/src/utils/util";
|
|
|
4
4
|
import { ElMessage as l, ElMessageBox as p } from "element-plus";
|
|
5
5
|
import { getToken as d, getSessionCache as m, setSessionCache as f } from "agilebuilder-ui/src/utils/auth";
|
|
6
6
|
import { getComponentRef as g } from "../global-refs.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { handleEvent as
|
|
10
|
-
import { setStoreInfo as
|
|
7
|
+
import b from "../eventBus.js";
|
|
8
|
+
import C from "axios";
|
|
9
|
+
import { handleEvent as T, getTableUuid as y, doAfterClickEvent as h } from "./event-util.js";
|
|
10
|
+
import { setStoreInfo as w } from "../store-util.js";
|
|
11
11
|
import { getPermissionCodes as P, getDefaultValue as k, getModelFields as N } from "../page-init-util.js";
|
|
12
|
-
import { updateChartDatasources as
|
|
12
|
+
import { updateChartDatasources as M, caculateShowCondition as R, getVariableValue as v, setVariableValue as S } from "../page-helper-util.js";
|
|
13
13
|
import I from "./print-label.js";
|
|
14
14
|
import { getTableNameByTableUuid as x } from "../table-utils.js";
|
|
15
15
|
import { getWorkflowRules as A, packageCustomRules as U } from "./validator-util.js";
|
|
16
16
|
import { functions as O } from "../api/page-expose-util.js";
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
import { usePageContextStore as E } from "../page-store.js";
|
|
18
|
+
const _ = { save: function(e2) {
|
|
19
|
+
return L(e2, false);
|
|
19
20
|
}, saveList: function(e2) {
|
|
20
|
-
return
|
|
21
|
+
return L(e2, true);
|
|
21
22
|
}, exportForm: function(e2) {
|
|
22
23
|
const t2 = e2.pageContext.code + "_";
|
|
23
|
-
|
|
24
|
+
b.$emit(t2 + "export-form-report", e2);
|
|
24
25
|
}, exportPDF: function(e2) {
|
|
25
26
|
const t2 = e2.pageContext.code + "_";
|
|
26
|
-
|
|
27
|
+
b.$emit(t2 + "export-pdf-report", e2);
|
|
27
28
|
}, submit: function(e2) {
|
|
28
|
-
return
|
|
29
|
+
return G(e2, false, "submit", "/dsc/commons/submits");
|
|
29
30
|
}, submitList: function(e2) {
|
|
30
|
-
return
|
|
31
|
+
return G(e2, true, "submit", "/dsc/commons/batch-submits");
|
|
31
32
|
}, agree: function(e2) {
|
|
32
|
-
return
|
|
33
|
+
return G(e2, false, "agree", "/dsc/commons/approves");
|
|
33
34
|
}, agreeList: function(e2) {
|
|
34
|
-
return
|
|
35
|
+
return G(e2, true, "agree", "/dsc/commons/batch-approves");
|
|
35
36
|
}, disagree: function(e2) {
|
|
36
|
-
return
|
|
37
|
+
return G(e2, false, "disagree", "/dsc/commons/refuses");
|
|
37
38
|
}, disagreeList: function(e2) {
|
|
38
|
-
return
|
|
39
|
+
return G(e2, true, "disagree", "/dsc/commons/batch-refuses");
|
|
39
40
|
}, back: function(e2) {
|
|
40
41
|
const t2 = e2.pageContext;
|
|
41
|
-
|
|
42
|
+
H(t2, t2.entity ? t2.entity.data : {}, !(!e2.configureObj.props || !e2.configureObj.props.base) && e2.configureObj.props.base.isNeedValueMapping);
|
|
42
43
|
}, delete: function(e2) {
|
|
43
44
|
return function(e3) {
|
|
44
45
|
return new Promise((s2, i2) => {
|
|
@@ -47,18 +48,18 @@ const E = { save: function(e2) {
|
|
|
47
48
|
p.confirm(u().t("superPageRuntimeMessage.whetherToConfirmDeletion"), u().t("superPageRuntimeMessage.tips"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
|
|
48
49
|
var _a;
|
|
49
50
|
const r2 = e3.pageContext, u2 = e3.configureObj, l2 = u2.props.base, p2 = r2.systemCode, d2 = r2.backendUrl, m2 = u2.props.base.tableUuid ? u2.props.base.tableUuid : e3.tableUuid, f2 = x(r2, m2);
|
|
50
|
-
let
|
|
51
|
-
|
|
52
|
-
const
|
|
53
|
-
r2.beanName && (
|
|
54
|
-
const
|
|
55
|
-
|
|
51
|
+
let b2 = n(d2, r2.isTest) + "/dsc/commons/" + f2;
|
|
52
|
+
b2 = o(b2, p2, d2, r2.isTest);
|
|
53
|
+
const C2 = void 0 === l2.isPermission || "true" === l2.isPermission || l2.isPermission, T2 = t(r2), y2 = P(u2, r2), h2 = { ids: a2, functionCode: y2, isPermission: C2 + "", systemCode: p2, isWorkflowEntity: T2, listCodesMap: r2.listCodesMap, pageCode: r2.code, pageVersion: r2.version };
|
|
54
|
+
r2.beanName && (h2.beanName = r2.beanName);
|
|
55
|
+
const w2 = u2.props.deleteLogicSetting;
|
|
56
|
+
w2 && ("object" == typeof w2 ? h2.deleteLogicSetting = JSON.stringify(w2) : "string" == typeof w2 && (h2.deleteLogicSetting = w2));
|
|
56
57
|
const k2 = (_a = u2.props.base) == null ? void 0 : _a.logSetting;
|
|
57
|
-
k2 && (
|
|
58
|
+
k2 && (h2.logSettingText = k2.join(""));
|
|
58
59
|
const N2 = u2.props.base.isSafeDelete;
|
|
59
|
-
N2 && (
|
|
60
|
+
N2 && (h2.isSafeDelete = N2), c.delete(b2, { data: h2 }).then((e4) => {
|
|
60
61
|
const t2 = g(r2, m2);
|
|
61
|
-
t2 && (t2.isDeleteChange(true), t2.clearSelections()),
|
|
62
|
+
t2 && (t2.isDeleteChange(true), t2.clearSelections()), F(r2, u2, e4, "superPageRuntimeMessage.successfulDelete", true), s2(true);
|
|
62
63
|
}).catch((e4) => {
|
|
63
64
|
i2(e4);
|
|
64
65
|
});
|
|
@@ -79,27 +80,27 @@ const E = { save: function(e2) {
|
|
|
79
80
|
const g2 = (_a = s2.props.base) == null ? void 0 : _a.logSetting;
|
|
80
81
|
g2 && (f2 += "&logSettingText=" + g2.join(""));
|
|
81
82
|
u2 && (f2 += "&systemCode=" + u2);
|
|
82
|
-
const
|
|
83
|
-
|
|
83
|
+
const b2 = e3.listCode;
|
|
84
|
+
b2 && (f2 += "&listCode=" + b2);
|
|
84
85
|
t2.beanName && (f2 += "&beanName=" + t2.beanName);
|
|
85
|
-
const
|
|
86
|
-
|
|
86
|
+
const C2 = P(s2, t2);
|
|
87
|
+
C2 && (f2 += "&functionCode=" + C2);
|
|
87
88
|
t2.tableName && (f2 += "&tableName=" + t2.tableName);
|
|
88
89
|
t2.code && (f2 += "&pageCode=" + t2.code);
|
|
89
90
|
t2.version && (f2 += "&pageVersion=" + t2.version);
|
|
90
|
-
const
|
|
91
|
-
|
|
92
|
-
const
|
|
93
|
-
|
|
91
|
+
const T2 = d();
|
|
92
|
+
T2 && (f2 += "&JWT=" + T2);
|
|
93
|
+
const y2 = "_RUN_CURRENT_ROLE", h2 = m(y2);
|
|
94
|
+
h2 && (f2 += "&" + y2 + "=" + h2);
|
|
94
95
|
if (o2) {
|
|
95
96
|
f2 += "&isPermission=" + (void 0 === o2.isPermission || "true" === o2.isPermission || o2.isPermission);
|
|
96
97
|
}
|
|
97
|
-
const
|
|
98
|
-
window.open(
|
|
98
|
+
const w2 = n(l2, t2.isTest);
|
|
99
|
+
window.open(w2 + "/dsc/commons/download-files" + f2);
|
|
99
100
|
}(e2);
|
|
100
101
|
}, import: function(e2) {
|
|
101
102
|
const t2 = e2.pageContext.code + "_";
|
|
102
|
-
|
|
103
|
+
b.$emit(t2 + "import-file", e2);
|
|
103
104
|
}, export: function(e2) {
|
|
104
105
|
return function(e3) {
|
|
105
106
|
return new Promise((t2, s2) => {
|
|
@@ -125,11 +126,11 @@ const E = { save: function(e2) {
|
|
|
125
126
|
const i2 = e3.pageContext, a2 = i2.entity.data, r2 = i2.systemCode, p2 = i2.backendUrl;
|
|
126
127
|
let d2 = n(p2, i2.isTest) + "/dsc/workflow-commons";
|
|
127
128
|
if (d2 = o(d2, r2, p2, i2.isTest), !d2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
128
|
-
const m2 =
|
|
129
|
+
const m2 = K(e3);
|
|
129
130
|
let f2;
|
|
130
131
|
f2 = a2.id || a2.ID ? c.put(d2, m2) : c.post(d2, m2), f2.then((s3) => {
|
|
131
132
|
let n2 = true;
|
|
132
|
-
s3 && (n2 =
|
|
133
|
+
s3 && (n2 = Q(s3, false, i2, e3, null)), true === n2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulSave") }), t2(true);
|
|
133
134
|
}).catch((e4) => {
|
|
134
135
|
s2(e4);
|
|
135
136
|
});
|
|
@@ -141,78 +142,78 @@ const E = { save: function(e2) {
|
|
|
141
142
|
const i2 = e3.pageContext, a2 = i2.systemCode, r2 = i2.backendUrl;
|
|
142
143
|
let p2 = n(r2, i2.isTest) + "/dsc/workflow-commons/submit";
|
|
143
144
|
if (p2 = o(p2, a2, r2, i2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
144
|
-
const d2 =
|
|
145
|
+
const d2 = K(e3), m2 = c.post(p2, d2);
|
|
145
146
|
m2 && m2.then((s3) => {
|
|
146
147
|
let n2 = true;
|
|
147
|
-
s3 && (n2 =
|
|
148
|
+
s3 && (n2 = Q(s3, false, i2, e3, null)), true === n2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulSubmit") }), t2(true);
|
|
148
149
|
}).catch((e4) => {
|
|
149
150
|
s2(e4);
|
|
150
151
|
});
|
|
151
152
|
});
|
|
152
153
|
}(e2);
|
|
153
154
|
}, submitTask: function(e2) {
|
|
154
|
-
return
|
|
155
|
+
return X(e2, "SUBMIT");
|
|
155
156
|
}, approve: function(e2) {
|
|
156
|
-
return
|
|
157
|
+
return X(e2, "APPROVE");
|
|
157
158
|
}, refuse: function(e2) {
|
|
158
|
-
return
|
|
159
|
+
return X(e2, "REFUSE");
|
|
159
160
|
}, readed: function(e2) {
|
|
160
|
-
return
|
|
161
|
+
return X(e2, "READED");
|
|
161
162
|
}, agreement: function(e2) {
|
|
162
|
-
return
|
|
163
|
+
return X(e2, "AGREEMENT");
|
|
163
164
|
}, oppose: function(e2) {
|
|
164
|
-
return
|
|
165
|
+
return X(e2, "OPPOSE");
|
|
165
166
|
}, kiken: function(e2) {
|
|
166
|
-
return
|
|
167
|
+
return X(e2, "KIKEN");
|
|
167
168
|
}, assign: function(e2) {
|
|
168
169
|
return function(e3) {
|
|
169
170
|
const t2 = e3.pageContext, s2 = t2.code + "_";
|
|
170
|
-
|
|
171
|
+
b.$emit(s2 + "assign-task", e3);
|
|
171
172
|
}(e2);
|
|
172
173
|
}, copyTask: function(e2) {
|
|
173
174
|
return function(e3) {
|
|
174
175
|
const t2 = e3.pageContext, s2 = t2.code + "_";
|
|
175
|
-
|
|
176
|
+
b.$emit(s2 + "copy-task", e3);
|
|
176
177
|
}(e2);
|
|
177
178
|
}, addSigner: function(e2) {
|
|
178
179
|
return function(e3) {
|
|
179
180
|
const t2 = e3.pageContext, s2 = t2.code + "_";
|
|
180
|
-
|
|
181
|
+
b.$emit(s2 + "add-signer", e3);
|
|
181
182
|
}(e2);
|
|
182
183
|
}, drawTask: function(e2) {
|
|
183
184
|
return function(e3) {
|
|
184
|
-
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/draw-tasks", i2 =
|
|
185
|
-
return
|
|
185
|
+
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/draw-tasks", i2 = K(e3);
|
|
186
|
+
return oe(e3, i2, o2, "superPageRuntimeMessage.successfulDrawTask");
|
|
186
187
|
}(e2);
|
|
187
188
|
}, abandonReceive: function(e2) {
|
|
188
189
|
return function(e3) {
|
|
189
|
-
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/abandon-receives", i2 =
|
|
190
|
-
return
|
|
190
|
+
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/abandon-receives", i2 = K(e3);
|
|
191
|
+
return oe(e3, i2, o2, "superPageRuntimeMessage.successfulAbandonReceive");
|
|
191
192
|
}(e2);
|
|
192
193
|
}, returnToPreviousTask: function(e2) {
|
|
193
194
|
return function(e3) {
|
|
194
|
-
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", i2 =
|
|
195
|
-
return
|
|
195
|
+
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", i2 = K(e3);
|
|
196
|
+
return oe(e3, i2, o2, "superPageRuntimeMessage.successfulReturnToPreviousTask");
|
|
196
197
|
}(e2);
|
|
197
198
|
}, endInstance: function(e2) {
|
|
198
199
|
return function(e3) {
|
|
199
|
-
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/end-instance", i2 =
|
|
200
|
-
return
|
|
200
|
+
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/end-instance", i2 = K(e3);
|
|
201
|
+
return oe(e3, i2, o2, "superPageRuntimeMessage.successfulEndInstance");
|
|
201
202
|
}(e2);
|
|
202
203
|
}, returnTaskTo: function(e2) {
|
|
203
204
|
return function(e3) {
|
|
204
205
|
const t2 = e3.pageContext, s2 = t2.code + "_";
|
|
205
|
-
|
|
206
|
+
b.$emit(s2 + "choose-return-node", e3);
|
|
206
207
|
}(e2);
|
|
207
208
|
}, removeSigner: function(e2) {
|
|
208
209
|
return function(e3) {
|
|
209
210
|
const t2 = e3.pageContext, s2 = t2.code + "_";
|
|
210
|
-
|
|
211
|
+
b.$emit(s2 + "remove-signer", e3);
|
|
211
212
|
}(e2);
|
|
212
213
|
}, retrieveTask: function(e2) {
|
|
213
214
|
return function(e3) {
|
|
214
|
-
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/retrieves", i2 =
|
|
215
|
-
return
|
|
215
|
+
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/retrieves", i2 = K(e3);
|
|
216
|
+
return oe(e3, i2, o2, "superPageRuntimeMessage.successfulRetrieve");
|
|
216
217
|
}(e2);
|
|
217
218
|
}, viewDetail: function(e2) {
|
|
218
219
|
}, lineEditCreate: function(e2) {
|
|
@@ -230,11 +231,11 @@ const E = { save: function(e2) {
|
|
|
230
231
|
I.printLabel(e3, t2);
|
|
231
232
|
}(e2);
|
|
232
233
|
}, queryCharts: function(e2) {
|
|
233
|
-
|
|
234
|
+
j(e2);
|
|
234
235
|
}, resetCharts: function(t2) {
|
|
235
236
|
var _a, _b;
|
|
236
237
|
const s2 = t2.pageContext;
|
|
237
|
-
s2.entity.data = e((_a = s2.initChartData) == null ? void 0 : _a.data), s2.entity.page = e((_b = s2.initChartData) == null ? void 0 : _b.page), t2.isInitChart = true,
|
|
238
|
+
s2.entity.data = e((_a = s2.initChartData) == null ? void 0 : _a.data), s2.entity.page = e((_b = s2.initChartData) == null ? void 0 : _b.page), t2.isInitChart = true, j(t2);
|
|
238
239
|
}, exportCharts: function(e2) {
|
|
239
240
|
!function(e3) {
|
|
240
241
|
const t2 = e3.pageContext, s2 = t2.allChartUuids;
|
|
@@ -259,7 +260,7 @@ const E = { save: function(e2) {
|
|
|
259
260
|
const l2 = { reportDataList: r2, beanName: t2.beanName }, p2 = t2.backendUrl;
|
|
260
261
|
let m2;
|
|
261
262
|
const f2 = n(p2, t2.isTest) + "/dsc/commons/exportChart";
|
|
262
|
-
|
|
263
|
+
C.defaults.headers.common.Authorization = d(), m2 = C.post(f2, l2, { responseType: "blob" }), m2.then((e4) => {
|
|
263
264
|
const t3 = document.createElement("a");
|
|
264
265
|
t3.style.display = "none", t3.href = URL.createObjectURL(e4.data), t3.setAttribute("download", c2 + ".xlsx"), document.body.appendChild(t3), t3.click(), document.body.removeChild(t3);
|
|
265
266
|
}).finally(() => {
|
|
@@ -267,41 +268,41 @@ const E = { save: function(e2) {
|
|
|
267
268
|
});
|
|
268
269
|
}(e2);
|
|
269
270
|
} };
|
|
270
|
-
function
|
|
271
|
+
function j(e2) {
|
|
271
272
|
const t2 = e2.pageContext, s2 = t2.initChartServiceConfigs;
|
|
272
273
|
if (!s2 || 0 == s2.length) return;
|
|
273
274
|
const n2 = e2.configureObj;
|
|
274
275
|
let o2 = null;
|
|
275
276
|
n2 && n2.runtime && (o2 = n2.runtime.props);
|
|
276
277
|
const i2 = o2 ? o2.state : void 0;
|
|
277
|
-
o2 && (o2.state = "disabled"),
|
|
278
|
+
o2 && (o2.state = "disabled"), M(t2, s2, void 0, e2.isInitChart).then(() => {
|
|
278
279
|
o2 && (o2.state = i2);
|
|
279
280
|
}).catch(() => {
|
|
280
281
|
o2 && (o2.state = i2);
|
|
281
282
|
});
|
|
282
283
|
}
|
|
283
|
-
function
|
|
284
|
+
function D(e2, s2, o2, i2) {
|
|
284
285
|
var _a;
|
|
285
|
-
const a2 = o2.templateUuid, r2 = o2.templateName, c2 = e2.systemCode, u2 = (_a = s2.props.base) == null ? void 0 : _a.logSetting, l2 = t(e2), p2 = e2.beanName, m2 = s2.props.base, f2 = s2.tableName ? s2.tableName : e2.tableName, g2 = e2.backendUrl,
|
|
286
|
-
u2 && (
|
|
287
|
-
const
|
|
286
|
+
const a2 = o2.templateUuid, r2 = o2.templateName, c2 = e2.systemCode, u2 = (_a = s2.props.base) == null ? void 0 : _a.logSetting, l2 = t(e2), p2 = e2.beanName, m2 = s2.props.base, f2 = s2.tableName ? s2.tableName : e2.tableName, g2 = e2.backendUrl, b2 = O.getFormViewData(e2), T2 = void 0 === m2.isPermission || "true" === m2.isPermission || m2.isPermission, y2 = { entity: b2, fileName: a2, showName: r2, beanName: p2, isWorkflowForm: l2, functionCode: P(s2, e2), tableName: f2, isPermission: T2 + "", systemCode: c2, listCodesMap: e2.listCodesMap, pageCode: e2.code, pageVersion: e2.version };
|
|
287
|
+
u2 && (y2.logSettingText = u2.join(""));
|
|
288
|
+
const w2 = te(e2);
|
|
288
289
|
let k2;
|
|
289
|
-
|
|
290
|
+
y2.additionalParamMap = w2, k2 = i2 ? function(e3, t2, s3, o3) {
|
|
290
291
|
return new Promise((i3, a3) => {
|
|
291
292
|
const r3 = n(t2, o3) + "/dsc/commons/export-pdf";
|
|
292
|
-
|
|
293
|
-
|
|
293
|
+
C.defaults.headers.common.Authorization = d();
|
|
294
|
+
C.post(r3, s3, { headers: { "content-type": "application/json" }, responseType: "blob" }).then((t3) => {
|
|
294
295
|
const s4 = new Blob([t3.data]), n2 = document.createElement("a");
|
|
295
296
|
n2.download = e3.substring(0, e3.lastIndexOf(".")) + ".pdf", n2.style.display = "none", n2.target = "_blank", n2.href = URL.createObjectURL(s4), document.body.appendChild(n2), n2.click(), URL.revokeObjectURL(n2.href), document.body.removeChild(n2), i3(true);
|
|
296
297
|
}).catch((e4) => {
|
|
297
298
|
a3(e4);
|
|
298
299
|
});
|
|
299
300
|
});
|
|
300
|
-
}(r2, g2,
|
|
301
|
+
}(r2, g2, y2, e2.isTest) : function(e3, t2, s3, o3) {
|
|
301
302
|
return new Promise((i3, a3) => {
|
|
302
303
|
const r3 = n(t2, o3) + "/dsc/commons/export-reports";
|
|
303
|
-
|
|
304
|
-
|
|
304
|
+
C.defaults.headers.common.Authorization = d();
|
|
305
|
+
C.post(r3, s3, { responseType: "blob" }).then((t3) => {
|
|
305
306
|
const s4 = new Blob([t3.data]);
|
|
306
307
|
let n2 = "报告.xlsx";
|
|
307
308
|
e3 && (n2 = e3);
|
|
@@ -311,18 +312,18 @@ function j(e2, s2, o2, i2) {
|
|
|
311
312
|
a3(e4);
|
|
312
313
|
});
|
|
313
314
|
});
|
|
314
|
-
}(r2, g2,
|
|
315
|
-
|
|
315
|
+
}(r2, g2, y2, e2.isTest), k2 && k2.then(() => {
|
|
316
|
+
h(e2, s2);
|
|
316
317
|
});
|
|
317
318
|
}
|
|
318
|
-
function
|
|
319
|
+
function L(e2, t2) {
|
|
319
320
|
return new Promise((s2, n2) => {
|
|
320
321
|
const o2 = e2.pageContext, i2 = e2.configureObj, a2 = e2.mainDefaultValueColumns, r2 = e2.dynamicColumnInfo, c2 = i2.props.base.successOperation;
|
|
321
322
|
let u2 = false;
|
|
322
323
|
c2 && "noOperation" === c2 && (u2 = true);
|
|
323
324
|
const l2 = V(o2, i2, "/dsc/commons", u2, a2, r2);
|
|
324
325
|
l2 ? l2.then((e3) => {
|
|
325
|
-
|
|
326
|
+
F(o2, i2, e3, "superPageRuntimeMessage.successfulSave", t2), s2(e3);
|
|
326
327
|
}).catch((e3) => {
|
|
327
328
|
n2(e3);
|
|
328
329
|
}) : n2("保存时request不存在");
|
|
@@ -337,16 +338,16 @@ function B(e2, n2, o2, i2, a2, r2, c2) {
|
|
|
337
338
|
r2 && (f2.ids = r2), e2.judgeHeavyList && (s(e2.judgeHeavyList) ? f2.judgeHeavyList = JSON.stringify(e2.judgeHeavyList) : f2.judgeHeavyList = e2.judgeHeavyList);
|
|
338
339
|
const g2 = n2.props.base.conversionCodes;
|
|
339
340
|
g2 && (s(g2) ? f2.dataConversionRule = g2.join(",") : "string" == typeof g2 && (f2.dataConversionRule = g2));
|
|
340
|
-
const
|
|
341
|
-
|
|
342
|
-
const
|
|
343
|
-
|
|
344
|
-
const
|
|
345
|
-
|
|
346
|
-
const
|
|
347
|
-
return f2.additionalParamMap =
|
|
348
|
-
}
|
|
349
|
-
function
|
|
341
|
+
const b2 = me(n2);
|
|
342
|
+
b2 && (f2.autoSetValueData = b2);
|
|
343
|
+
const C2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
|
|
344
|
+
C2 && (f2.logSettingText = C2.join("")), f2.systemCode || (f2.systemCode = l2);
|
|
345
|
+
const T2 = e2.beanName;
|
|
346
|
+
T2 && (f2.beanName = T2), a2 && (f2.dynamicColumnInfo = a2), i2 && (f2.mainDefaultValueColumns = i2);
|
|
347
|
+
const y2 = te(e2);
|
|
348
|
+
return f2.additionalParamMap = y2, void 0 !== o2 && (f2.unControlVersion = o2), f2;
|
|
349
|
+
}
|
|
350
|
+
function W(e2, t2, s2, i2, a2, r2, u2, l2) {
|
|
350
351
|
const p2 = e2.systemCode, d2 = e2.backendUrl, m2 = B(e2, t2, i2, a2, r2, null, u2);
|
|
351
352
|
return l2 && l2.tableName && (m2.tableName = l2.tableName), function(e3, t3, s3, i3, a3, r3) {
|
|
352
353
|
const u3 = n(t3, r3);
|
|
@@ -356,13 +357,13 @@ function L(e2, t2, s2, i2, a2, r2, u2, l2) {
|
|
|
356
357
|
}(p2, d2, m2, s2, e2.entity.data, e2.isTest);
|
|
357
358
|
}
|
|
358
359
|
function V(e2, t2, s2, n2, o2, i2) {
|
|
359
|
-
return
|
|
360
|
+
return W(e2, t2, s2, n2, o2, i2, null, null);
|
|
360
361
|
}
|
|
361
|
-
function
|
|
362
|
+
function F(t2, s2, n2, o2, i2) {
|
|
362
363
|
const a2 = q(t2, s2, i2);
|
|
363
364
|
a2 && "list" === a2 ? (!function(t3, s3, n3, o3) {
|
|
364
365
|
let i3 = s3.props.base.successOperation;
|
|
365
|
-
const a3 = s3.props.base.isNeedValueMapping, r2 =
|
|
366
|
+
const a3 = s3.props.base.isNeedValueMapping, r2 = y(t3, s3);
|
|
366
367
|
i3 || (i3 = "refresh");
|
|
367
368
|
if ("refresh" === i3) {
|
|
368
369
|
if (r2) {
|
|
@@ -371,7 +372,7 @@ function W(t2, s2, n2, o2, i2) {
|
|
|
371
372
|
} else if ("closeWindow" === i3 || "closeWindowAndRefresh" === i3) {
|
|
372
373
|
const s4 = e(t3.entity.page);
|
|
373
374
|
let o4 = n3;
|
|
374
|
-
o4 || (o4 = {}), Object.assign(s4, o4),
|
|
375
|
+
o4 || (o4 = {}), Object.assign(s4, o4), H(t3, s4, a3);
|
|
375
376
|
}
|
|
376
377
|
o3 && l({ message: u().t(o3), type: "success", showClose: true });
|
|
377
378
|
}(t2, s2, n2, o2), t2.canClick = true) : a2 && "form" === a2 ? function(e2, t3, s3, n3) {
|
|
@@ -383,7 +384,7 @@ function W(t2, s2, n2, o2, i2) {
|
|
|
383
384
|
const n5 = t4.props.base.successOperation;
|
|
384
385
|
if (!n5 || null === n5) return;
|
|
385
386
|
const o4 = t4.props.base.isNeedValueMapping;
|
|
386
|
-
"noOperation" === n5 ? (s4 && (e3.entity.data = s4), e3.canClick = true) : "refresh" === n5 ? s4 && (s4.id || s4.ID) ?
|
|
387
|
+
"noOperation" === n5 ? (s4 && (e3.entity.data = s4), e3.canClick = true) : "refresh" === n5 ? s4 && (s4.id || s4.ID) ? le(e3, s4.ID ? s4.ID : s4.id) : e3.canClick = true : "closeWindow" !== n5 && "closeWindowAndRefresh" !== n5 || (H(e3, s4, o4), e3.canClick = true);
|
|
387
388
|
}(e2, t3, { ...o3, ...e2.entity.page });
|
|
388
389
|
} else e2.canClick = true;
|
|
389
390
|
n3 && l({ message: u().t(n3), type: "success", showClose: true });
|
|
@@ -393,15 +394,15 @@ function q(e2, t2, s2) {
|
|
|
393
394
|
let n2;
|
|
394
395
|
return void 0 === s2 ? n2 = t2.props.base.tableUuid ? "list" : null : false === s2 && (n2 = "form"), n2 || (n2 = e2.pageType), n2;
|
|
395
396
|
}
|
|
396
|
-
function
|
|
397
|
+
function H(e2, t2, s2) {
|
|
397
398
|
const n2 = e2.entity && e2.entity.request ? e2.entity.request.jumpMode : null;
|
|
398
399
|
if ("openWindow" === n2 || "newTab" === n2) window.parent ? window.parent.close() : window.close();
|
|
399
400
|
else {
|
|
400
401
|
const o2 = e2.tableName, i2 = void 0 !== s2 && true === s2 && t2 && void 0 !== t2, a2 = (e2.entity && e2.entity.request ? e2.entity.request.parentPageCode : null) + "_";
|
|
401
|
-
|
|
402
|
+
b.$emit(a2 + "close-dialog", { isNeedValueMapping: i2, dataModel: t2, sourceTableName: o2, jumpMode: n2 });
|
|
402
403
|
}
|
|
403
404
|
}
|
|
404
|
-
function
|
|
405
|
+
function $(e2, t2, s2, n2) {
|
|
405
406
|
var _a;
|
|
406
407
|
let o2 = t2.runtime && t2.runtime.linkPage && t2.runtime.linkPage.valueMappings ? t2.runtime.linkPage.valueMappings : null;
|
|
407
408
|
o2 || (o2 = (_a = t2.props.linkPage) == null ? void 0 : _a.valueMappings);
|
|
@@ -412,13 +413,13 @@ function H(e2, t2, s2, n2) {
|
|
|
412
413
|
Array.isArray(e3) && e3.length > 0 && (n3 = e3[0]), t3.forEach((e4) => {
|
|
413
414
|
const t4 = e4.source;
|
|
414
415
|
if (!t4) return;
|
|
415
|
-
const o3 = t4.split("."), i3 =
|
|
416
|
+
const o3 = t4.split("."), i3 = v(n3, o3), a2 = e4.target, r2 = N(null, a2);
|
|
416
417
|
S(s3.entity, r2, i3);
|
|
417
418
|
});
|
|
418
419
|
}
|
|
419
|
-
}(s2, o2, e2),
|
|
420
|
+
}(s2, o2, e2), T(null, e2, t2, "setValue", { sourceModel: s2, sourceTableName: n2, entity: e2.entity.data, targetTableName: i2 });
|
|
420
421
|
}
|
|
421
|
-
function
|
|
422
|
+
function J(e2, t2, s2, n2) {
|
|
422
423
|
var _a;
|
|
423
424
|
t2 && !t2.props.base && (t2.props.base = {});
|
|
424
425
|
let o2 = n2;
|
|
@@ -426,88 +427,88 @@ function $(e2, t2, s2, n2) {
|
|
|
426
427
|
const i2 = q(e2, t2);
|
|
427
428
|
if (i2 && "list" === i2 && !o2 && (o2 = "refresh"), "refresh" === o2) {
|
|
428
429
|
if (i2 && "list" === i2) {
|
|
429
|
-
const s3 =
|
|
430
|
+
const s3 = y(e2, t2);
|
|
430
431
|
if (s3) {
|
|
431
432
|
g(e2, s3).refresh();
|
|
432
433
|
}
|
|
433
434
|
} else if (i2 && "form" === i2) {
|
|
434
435
|
const t3 = e2.entity.data;
|
|
435
|
-
|
|
436
|
+
le(e2, t3.ID ? t3.ID : t3.id);
|
|
436
437
|
}
|
|
437
438
|
}
|
|
438
439
|
}
|
|
439
|
-
function
|
|
440
|
+
function G(e2, t2, s2, i2) {
|
|
440
441
|
return new Promise((r2, l2) => {
|
|
441
|
-
const d2 = e2.pageContext, m2 = e2.configureObj, f2 = e2.mainDefaultValueColumns, g2 = e2.dynamicColumnInfo,
|
|
442
|
-
let
|
|
443
|
-
|
|
444
|
-
let
|
|
442
|
+
const d2 = e2.pageContext, m2 = e2.configureObj, f2 = e2.mainDefaultValueColumns, g2 = e2.dynamicColumnInfo, b2 = e2.ids, C2 = m2.props.base.successOperation;
|
|
443
|
+
let T2 = false;
|
|
444
|
+
C2 && "noOperation" === C2 && (T2 = true);
|
|
445
|
+
let y2 = d2.tableName;
|
|
445
446
|
if (t2) {
|
|
446
447
|
const t3 = m2.props.base.tableUuid ? m2.props.base.tableUuid : e2.tableUuid;
|
|
447
|
-
|
|
448
|
+
y2 = x(d2, t3);
|
|
448
449
|
}
|
|
449
|
-
const
|
|
450
|
-
return new Promise((g3,
|
|
451
|
-
const
|
|
452
|
-
p.confirm(u().t(
|
|
450
|
+
const h2 = function(e3, t3, s3, i3, r3, l3, d3, m3, f3) {
|
|
451
|
+
return new Promise((g3, b3) => {
|
|
452
|
+
const C3 = t3.props.base.title, T3 = "superPageRuntimeMessage.whetherToConfirm" + a(d3);
|
|
453
|
+
p.confirm(u().t(T3, { name: C3 }), u().t("superPageRuntimeMessage.tips"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
|
|
453
454
|
const a2 = e3.systemCode, u2 = e3.backendUrl, p2 = B(e3, t3, i3, r3, l3, m3, null);
|
|
454
455
|
p2.tableName = f3;
|
|
455
456
|
let d4 = n(u2, e3.isTest) + s3;
|
|
456
457
|
d4 = o(d4, a2, u2, e3.isTest), c.post(d4, p2).then((e4) => {
|
|
457
458
|
g3(e4);
|
|
458
459
|
}).catch((e4) => {
|
|
459
|
-
|
|
460
|
+
b3(e4);
|
|
460
461
|
});
|
|
461
462
|
}).catch(() => {
|
|
462
|
-
|
|
463
|
+
b3("点击了取消按钮");
|
|
463
464
|
});
|
|
464
465
|
});
|
|
465
|
-
}(d2, m2, i2,
|
|
466
|
-
|
|
467
|
-
|
|
466
|
+
}(d2, m2, i2, T2, f2, g2, s2, b2, y2);
|
|
467
|
+
h2 ? h2.then((e3) => {
|
|
468
|
+
F(d2, m2, e3, "superPageRuntimeMessage.successfulSave", t2), r2(e3);
|
|
468
469
|
}).catch((e3) => {
|
|
469
470
|
l2(e3);
|
|
470
471
|
}) : l2("request不存在");
|
|
471
472
|
});
|
|
472
473
|
}
|
|
473
|
-
function
|
|
474
|
+
function z(e2, s2) {
|
|
474
475
|
var _a;
|
|
475
476
|
const i2 = e2.pageContext, a2 = e2.configureObj, r2 = e2.tableConfigure, p2 = a2.props.base, d2 = a2.props.base.tableUuid ? a2.props.base.tableUuid : e2.tableUuid, m2 = x(i2, d2), f2 = new FormData();
|
|
476
477
|
f2.append("multipartFile", s2), m2 && f2.append("tableName", m2), i2.importBeanName && f2.append("importBeanName", i2.importBeanName), i2.beanName && f2.append("beanName", i2.beanName);
|
|
477
478
|
const g2 = (_a = r2.props.importSetting) == null ? void 0 : _a.listViewImportDuplicate;
|
|
478
479
|
g2 && f2.append("importDuplicateRule", g2);
|
|
479
|
-
const
|
|
480
|
-
|
|
481
|
-
const
|
|
482
|
-
|
|
483
|
-
const
|
|
484
|
-
|
|
485
|
-
const
|
|
486
|
-
|
|
487
|
-
let
|
|
488
|
-
|
|
480
|
+
const b2 = i2.judgeHeavyList;
|
|
481
|
+
b2 && f2.append("judgeHeavyList", JSON.stringify(b2));
|
|
482
|
+
const C2 = me(a2);
|
|
483
|
+
C2 && f2.append("autoSetValueData", C2);
|
|
484
|
+
const T2 = i2.formNoRuleCode;
|
|
485
|
+
T2 && f2.append("formNoRuleCode", T2);
|
|
486
|
+
const y2 = e2.listCode;
|
|
487
|
+
y2 && f2.append("listCode", y2);
|
|
488
|
+
let w2 = false;
|
|
489
|
+
w2 = void 0 !== p2.isAsync && null !== p2.isAsync && p2.isAsync, f2.append("isAsync", w2 + ""), f2.append("pageCode", i2.code);
|
|
489
490
|
const k2 = t(i2);
|
|
490
491
|
null != k2 && f2.append("isWorkflowEntity", k2 + "");
|
|
491
492
|
const N2 = P(a2, i2);
|
|
492
493
|
N2 && f2.append("functionCode", N2);
|
|
493
|
-
const
|
|
494
|
-
f2.append("additionalParamMapStr", JSON.stringify(
|
|
495
|
-
const
|
|
496
|
-
f2.append("isPermission",
|
|
497
|
-
const
|
|
498
|
-
|
|
494
|
+
const M2 = te(i2);
|
|
495
|
+
f2.append("additionalParamMapStr", JSON.stringify(M2));
|
|
496
|
+
const R2 = void 0 === p2.isPermission || "true" === p2.isPermission || p2.isPermission;
|
|
497
|
+
f2.append("isPermission", R2 + "");
|
|
498
|
+
const v2 = i2.systemCode;
|
|
499
|
+
v2 && f2.append("systemCode", v2);
|
|
499
500
|
const S2 = i2.backendUrl;
|
|
500
501
|
let I2 = n(S2, i2.isTest) + "/dsc/commons/import-data";
|
|
501
|
-
I2 = o(I2,
|
|
502
|
-
if (
|
|
502
|
+
I2 = o(I2, v2, S2, i2.isTest), c.post(I2, f2).then((e3) => {
|
|
503
|
+
if (w2) l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.asyncImport") });
|
|
503
504
|
else {
|
|
504
505
|
let t2 = false;
|
|
505
|
-
e3 ? (t2 = false, l({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e3 })) : (l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulImport") }), t2 = true),
|
|
506
|
+
e3 ? (t2 = false, l({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e3 })) : (l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulImport") }), t2 = true), F(i2, a2, e3, null, true), i2.result = t2, h(i2, a2);
|
|
506
507
|
}
|
|
507
508
|
}).catch((e3) => {
|
|
508
509
|
});
|
|
509
510
|
}
|
|
510
|
-
function
|
|
511
|
+
function Y(e2, t2) {
|
|
511
512
|
const s2 = e2.props.base;
|
|
512
513
|
if (s2.conditionsForExecution && "" !== s2.conditionsForExecution) {
|
|
513
514
|
if ("one" === s2.conditionsForExecution) {
|
|
@@ -516,7 +517,7 @@ function z(e2, t2) {
|
|
|
516
517
|
}
|
|
517
518
|
return true;
|
|
518
519
|
}
|
|
519
|
-
function
|
|
520
|
+
function K(e2) {
|
|
520
521
|
var _a;
|
|
521
522
|
const t2 = e2.pageContext, n2 = e2.configureObj, o2 = t2.entity.data, i2 = t2.systemCode, a2 = t2.code;
|
|
522
523
|
let r2 = P(n2, t2);
|
|
@@ -525,21 +526,21 @@ function Y(e2) {
|
|
|
525
526
|
t2.completeTaskParam && (c2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, opinion: t2.completeTaskParam.opinion }), t2.judgeHeavyList && (s(t2.judgeHeavyList) ? c2.judgeHeavyList = JSON.stringify(t2.judgeHeavyList) : c2.judgeHeavyList = t2.judgeHeavyList);
|
|
526
527
|
const u2 = n2.props.base.conversionCodes;
|
|
527
528
|
u2 && (s(u2) ? c2.dataConversionRule = u2.join(",") : "string" == typeof u2 && (c2.dataConversionRule = u2));
|
|
528
|
-
const l2 =
|
|
529
|
+
const l2 = me(n2);
|
|
529
530
|
l2 && (c2.autoSetValueData = l2), t2.beanName && (c2.beanName = t2.beanName);
|
|
530
531
|
const p2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
|
|
531
532
|
p2 && (c2.logSettingText = p2.join("")), c2.systemCode || (c2.systemCode = i2);
|
|
532
|
-
const d2 =
|
|
533
|
+
const d2 = te(t2);
|
|
533
534
|
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]));
|
|
534
535
|
const m2 = n2.props.base.successOperation;
|
|
535
536
|
return m2 && "noOperation" === m2 && (c2.unControlVersion = true), c2.isWorkflowEntity = true, c2;
|
|
536
537
|
}
|
|
537
|
-
function
|
|
538
|
+
function Q(e2, t2, s2, n2, o2) {
|
|
538
539
|
const i2 = s2.code, a2 = s2.version;
|
|
539
540
|
let r2;
|
|
540
541
|
if (e2) {
|
|
541
542
|
t2 && (s2.initFormNo = e2.formNo, s2.emailTemplateCode = e2.emailTemplateCode), e2.entity && (s2.entity.data = e2.entity, function(e3, t3) {
|
|
542
|
-
const s3 =
|
|
543
|
+
const s3 = te(t3);
|
|
543
544
|
e3 && s3 && f(s3._t_ + "_id", e3);
|
|
544
545
|
}(e2.entity.id || e2.entity.ID, s2));
|
|
545
546
|
const o3 = e2.completeTaskResult;
|
|
@@ -552,13 +553,13 @@ function K(e2, t2, s2, n2, o2) {
|
|
|
552
553
|
}
|
|
553
554
|
if (e2.completeTaskParam) {
|
|
554
555
|
const t3 = e2.completeTaskParam;
|
|
555
|
-
r2 = t3.taskId, n2 && (n2.taskId = r2),
|
|
556
|
+
r2 = t3.taskId, n2 && (n2.taskId = r2), w(i2, a2, "_completeTaskParam", t3), s2.fieldPermissions = t3.fieldPermissions, s2.actionPermissions = t3.actionPermissions, s2.workflowButtonComponent = t3.buttonComponent, s2.completeTaskParam = t3;
|
|
556
557
|
}
|
|
557
|
-
s2.entity || (s2.entity = {}), s2.entity.task = e2.taskParamMap,
|
|
558
|
+
s2.entity || (s2.entity = {}), s2.entity.task = e2.taskParamMap, w(i2, a2, "_currentActivityName", e2.taskName);
|
|
558
559
|
}
|
|
559
|
-
return n2 && (n2.operationResult = o2), t2 ||
|
|
560
|
+
return n2 && (n2.operationResult = o2), t2 || F(s2, n2.configureObj, e2, null, false), true;
|
|
560
561
|
}
|
|
561
|
-
async function
|
|
562
|
+
async function X(e2, t2) {
|
|
562
563
|
const s2 = await function(e3) {
|
|
563
564
|
return new Promise((t3, s3) => {
|
|
564
565
|
var _a, _b, _c, _d;
|
|
@@ -567,7 +568,7 @@ async function Q(e2, t2) {
|
|
|
567
568
|
let s4 = false;
|
|
568
569
|
if (((_b = (_a = n2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isMustOpinion) && (s4 = true), true === s4) {
|
|
569
570
|
const t4 = e3.pageContext, o2 = (_d = (_c = n2.props) == null ? void 0 : _c.base) == null ? void 0 : _d.mustOpinionConditions;
|
|
570
|
-
s4 =
|
|
571
|
+
s4 = R(t4, n2, o2);
|
|
571
572
|
}
|
|
572
573
|
true === s4 ? p.prompt(u().t("superPageRuntimeMessage.pleaseInputOpinion"), u().t("superPageRuntimeMessage.opinion"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), inputType: "textarea", inputValue: null, closeOnClickModal: false, inputValidator: (e4) => !(!e4 || !e4.trim()) || u().t("superPageRuntimeMessage.pleaseInputOpinion") }).then(({ value: e4 }) => {
|
|
573
574
|
t3(e4);
|
|
@@ -583,30 +584,30 @@ async function Q(e2, t2) {
|
|
|
583
584
|
const r2 = e2.pageContext, p2 = r2.systemCode, d2 = r2.backendUrl, m2 = true === s2 ? (_a = r2.completeTaskParam) == null ? void 0 : _a.opinion : s2;
|
|
584
585
|
let f2 = n(d2, r2.isTest) + "/dsc/workflow-commons/complete-tasks";
|
|
585
586
|
if (f2 = o(f2, p2, d2, r2.isTest), !f2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
586
|
-
const g2 =
|
|
587
|
+
const g2 = K(e2);
|
|
587
588
|
g2.completeTaskParam = { operationResult: t2, taskId: r2.completeTaskParam ? r2.completeTaskParam.taskId : null, opinion: m2 || null };
|
|
588
589
|
c.post(f2, g2).then((s3) => {
|
|
589
590
|
let n2 = true;
|
|
590
|
-
s3 && (n2 =
|
|
591
|
+
s3 && (n2 = Q(s3, false, r2, e2, t2)), true === n2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulCompleteTask") }), i2(true);
|
|
591
592
|
}).catch((e3) => {
|
|
592
593
|
a2(e3);
|
|
593
594
|
});
|
|
594
595
|
} else i2(true);
|
|
595
596
|
});
|
|
596
597
|
}
|
|
597
|
-
function
|
|
598
|
+
function Z(e2, t2) {
|
|
598
599
|
if (t2) {
|
|
599
|
-
const s2 = e2.pageContext, o2 = e2.configureObj, i2 = s2.backendUrl, a2 = n(i2, s2.isTest) + "/dsc/workflow-commons/assigns", r2 = t2.id ? t2.id : t2.ID ? t2.ID : null, c2 =
|
|
600
|
-
c2.assigneeId = r2,
|
|
601
|
-
|
|
600
|
+
const s2 = e2.pageContext, o2 = e2.configureObj, i2 = s2.backendUrl, a2 = n(i2, s2.isTest) + "/dsc/workflow-commons/assigns", r2 = t2.id ? t2.id : t2.ID ? t2.ID : null, c2 = K(e2);
|
|
601
|
+
c2.assigneeId = r2, oe(e2, c2, a2, "superPageRuntimeMessage.successfulAssign").then((e3) => {
|
|
602
|
+
h(s2, o2);
|
|
602
603
|
});
|
|
603
604
|
}
|
|
604
605
|
}
|
|
605
|
-
function
|
|
606
|
-
const t2 = e2.pageContext, s2 = t2.entity.data, n2 = t2.systemCode, o2 = t2.code, i2 =
|
|
606
|
+
function ee(e2) {
|
|
607
|
+
const t2 = e2.pageContext, s2 = t2.entity.data, n2 = t2.systemCode, o2 = t2.code, i2 = te(t2), a2 = void 0 !== s2.ID && null !== s2.ID ? s2.ID : s2.id, r2 = { beanName: t2.beanName, id: a2, entity: s2, additionalParamMap: i2, tableName: t2.tableName, functionCode: o2 + ".xxx", isWorkflowEntity: true, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version };
|
|
607
608
|
return r2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, systemCode: n2 }, r2;
|
|
608
609
|
}
|
|
609
|
-
function
|
|
610
|
+
function te(t2) {
|
|
610
611
|
if (t2.entity) {
|
|
611
612
|
let s2 = e(t2.entity.page);
|
|
612
613
|
s2 || (s2 = {});
|
|
@@ -614,79 +615,79 @@ function ee(t2) {
|
|
|
614
615
|
return n2 && Object.assign(s2, n2), s2;
|
|
615
616
|
}
|
|
616
617
|
}
|
|
617
|
-
function
|
|
618
|
+
function se(e2, t2) {
|
|
618
619
|
if (t2) {
|
|
619
620
|
const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
|
|
620
621
|
let p2 = n(r2, s2.isTest) + "/dsc/workflow-commons/add-signers";
|
|
621
622
|
if (p2 = o(p2, a2, r2, s2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
622
|
-
const d2 =
|
|
623
|
+
const d2 = ee(e2);
|
|
623
624
|
d2.completeTaskParam.transactors = t2.loginNames.join(",").split(",");
|
|
624
625
|
const m2 = c.post(p2, d2);
|
|
625
626
|
m2 && m2.then((e3) => {
|
|
626
|
-
l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), e3.entity &&
|
|
627
|
+
l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && F(s2, i2, e3, null, false), h(s2, i2);
|
|
627
628
|
});
|
|
628
629
|
}
|
|
629
630
|
}
|
|
630
|
-
function
|
|
631
|
+
function ne(e2, t2) {
|
|
631
632
|
if (t2) {
|
|
632
633
|
const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
|
|
633
634
|
let p2 = n(r2, s2.isTest) + "/dsc/workflow-commons/add-signers";
|
|
634
635
|
if (p2 = o(p2, a2, r2, s2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
635
|
-
const d2 =
|
|
636
|
+
const d2 = ee(e2);
|
|
636
637
|
d2.completeTaskParam.transactors = t2.userIds.join(",").split(",");
|
|
637
638
|
const m2 = c.post(p2, d2);
|
|
638
639
|
m2 && m2.then((e3) => {
|
|
639
|
-
l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }),
|
|
640
|
+
l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), h(s2, i2);
|
|
640
641
|
});
|
|
641
642
|
}
|
|
642
643
|
}
|
|
643
|
-
function
|
|
644
|
+
function oe(e2, t2, s2, n2) {
|
|
644
645
|
return new Promise((i2, a2) => {
|
|
645
646
|
const r2 = e2.pageContext, p2 = r2.systemCode, d2 = r2.backendUrl;
|
|
646
647
|
if (!(s2 = o(s2, p2, d2, r2.isTest))) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
647
648
|
const m2 = c.post(s2, t2);
|
|
648
649
|
m2 && m2.then((t3) => {
|
|
649
650
|
let s3 = true;
|
|
650
|
-
t3 && (s3 =
|
|
651
|
+
t3 && (s3 = Q(t3, false, r2, e2, null)), true === s3 && l({ showClose: true, type: "success", message: u().t(n2) }), i2(true);
|
|
651
652
|
}).catch((e3) => {
|
|
652
653
|
a2(e3);
|
|
653
654
|
});
|
|
654
655
|
});
|
|
655
656
|
}
|
|
656
|
-
function
|
|
657
|
+
function ie(e2) {
|
|
657
658
|
const t2 = e2.pageContext, s2 = t2.systemCode, i2 = t2.backendUrl, a2 = t2.completeTaskParam;
|
|
658
659
|
let r2 = n(i2, t2.isTest) + "/dsc/workflow-commons/returnable-task/" + a2.taskId;
|
|
659
660
|
if (r2 = o(r2, s2, i2, t2.isTest), !r2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
660
|
-
const p2 = t2.code, d2 =
|
|
661
|
+
const p2 = t2.code, d2 = te(t2), m2 = { beanName: t2.beanName, additionalParamMap: d2, tableName: t2.tableName, functionCode: p2 + ".xxx" };
|
|
661
662
|
return c.post(r2, m2);
|
|
662
663
|
}
|
|
663
|
-
function
|
|
664
|
-
const s2 = e2.pageContext, o2 = e2.configureObj, i2 = s2.backendUrl, a2 = n(i2, s2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 =
|
|
665
|
-
t2.nodeName && (r2.returnToNodeName = t2.nodeName), t2.nodeId && (r2.returnToNodeId = t2.nodeId),
|
|
666
|
-
|
|
664
|
+
function ae(e2, t2) {
|
|
665
|
+
const s2 = e2.pageContext, o2 = e2.configureObj, i2 = s2.backendUrl, a2 = n(i2, s2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 = K(e2);
|
|
666
|
+
t2.nodeName && (r2.returnToNodeName = t2.nodeName), t2.nodeId && (r2.returnToNodeId = t2.nodeId), oe(e2, r2, a2, "superPageRuntimeMessage.successfulReturnTaskTo").then((e3) => {
|
|
667
|
+
h(s2, o2);
|
|
667
668
|
});
|
|
668
669
|
}
|
|
669
|
-
function
|
|
670
|
+
function re(e2) {
|
|
670
671
|
const t2 = e2.pageContext, s2 = t2.systemCode, i2 = t2.backendUrl;
|
|
671
672
|
let a2 = n(i2, t2.isTest) + "/dsc/workflow-commons/get-remove-signers";
|
|
672
|
-
const r2 =
|
|
673
|
+
const r2 = K(e2);
|
|
673
674
|
if (a2 = o(a2, s2, i2, t2.isTest), a2) return c.post(a2, r2);
|
|
674
675
|
l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
675
676
|
}
|
|
676
|
-
function
|
|
677
|
+
function ce(e2, t2) {
|
|
677
678
|
if (t2) {
|
|
678
679
|
const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
|
|
679
680
|
let p2 = n(r2, s2.isTest) + "/dsc/workflow-commons/remove-signers";
|
|
680
681
|
if (p2 = o(p2, a2, r2, s2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
681
|
-
const d2 = t2.map((e3) => e3.id ? e3.id : e3.ID ? e3.ID : null), m2 =
|
|
682
|
+
const d2 = t2.map((e3) => e3.id ? e3.id : e3.ID ? e3.ID : null), m2 = K(e2);
|
|
682
683
|
m2.ids = d2;
|
|
683
684
|
const f2 = c.post(p2, m2);
|
|
684
685
|
f2 && f2.then((e3) => {
|
|
685
|
-
|
|
686
|
+
F(s2, i2, e3, "superPageRuntimeMessage.successfulOperation", false), h(s2, i2);
|
|
686
687
|
});
|
|
687
688
|
}
|
|
688
689
|
}
|
|
689
|
-
function
|
|
690
|
+
function ue(e2, t2, s2) {
|
|
690
691
|
let n2 = false;
|
|
691
692
|
return e2 && t2 && ("workflowSave" === e2 ? n2 = function(e3) {
|
|
692
693
|
if ((void 0 === e3.processState || null === e3.processState || "UNSUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active) && (void 0 === e3.processState || true === e3.showButtonSave)) return true;
|
|
@@ -748,94 +749,87 @@ function ce(e2, t2, s2) {
|
|
|
748
749
|
return false;
|
|
749
750
|
}(t2))), n2;
|
|
750
751
|
}
|
|
751
|
-
function
|
|
752
|
-
e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true,
|
|
752
|
+
function le(e2, t2) {
|
|
753
|
+
e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, pe(e2, t2).then((t3) => {
|
|
753
754
|
e2.isRefresh = true;
|
|
754
755
|
});
|
|
755
756
|
}
|
|
756
|
-
function
|
|
757
|
+
function pe(e2, s2, o2) {
|
|
757
758
|
const i2 = e2.pageType;
|
|
758
759
|
if (i2 && "form" === i2) {
|
|
759
760
|
e2.canClick = false;
|
|
760
761
|
return t(e2) ? function(e3, t2, s3) {
|
|
761
762
|
return new Promise((o3, i3) => {
|
|
762
|
-
const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 =
|
|
763
|
+
const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = te(e3);
|
|
763
764
|
let d2 = t2 || null, f2 = t2 ? [t2] : null;
|
|
764
765
|
void 0 === s3 || s3 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), f2 || (f2 = p2 ? p2.ids : null)) : (d2 = null, f2 = null, p2._id = p2.id, p2.id = null);
|
|
765
|
-
const g2 = p2 ? p2.taskId : null,
|
|
766
|
+
const g2 = p2 ? p2.taskId : null, b2 = u2, C2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, isWorkflowEntity: true, systemCode: a2, functionCode: b2 + ".workflowGets", listCodesMap: e3.listCodesMap };
|
|
766
767
|
if ((!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
|
|
767
768
|
const t3 = {};
|
|
768
769
|
e3.tableUuids.forEach((e4) => {
|
|
769
770
|
const s4 = r(u2, l2, e4);
|
|
770
771
|
t3[s4] = s4;
|
|
771
|
-
}),
|
|
772
|
+
}), C2.listCodesMap = t3;
|
|
772
773
|
}
|
|
773
|
-
f2 && (
|
|
774
|
-
const
|
|
775
|
-
c.post(
|
|
776
|
-
e3.definitionId = t3.definitionId, e3.entity.task = t3.taskParamMap,
|
|
774
|
+
f2 && (C2.ids = de(f2)), g2 ? C2.taskId = g2 : d2 ? C2.id = d2 : (p2 && p2._t_ && m(p2._t_ + "_id") && (C2.id = m(p2._t_ + "_id")), e3.notIdInitializationList && (C2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList))), p2 && (C2.additionalParamMap = p2), e3.beanName && (C2.beanName = e3.beanName), e3.refercePropMap && (C2.refercePropMap = e3.refercePropMap);
|
|
775
|
+
const y2 = n(e3.backendUrl, e3.isTest) + "/dsc/workflow-commons/gets", h2 = E();
|
|
776
|
+
h2.restorePageLoadState(), T(null, e3, e3, "beforeFormLoadData"), c.post(y2, C2).then((t3) => {
|
|
777
|
+
e3.definitionId = t3.definitionId, e3.entity.task = t3.taskParamMap, Q(t3, true, e3), e3.workflowRules = A(e3);
|
|
777
778
|
const s4 = e3.pageType;
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
(
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
}(e3);
|
|
810
|
-
const t4 = { runtime: { events: e3.events }, systemCode: "", systemVersion: 0, code: "", version: 0, workflowCode: "", workflowVersion: 0, name: "", uuid: "", label: "" };
|
|
811
|
-
y(null, e3, t4, "load");
|
|
812
|
-
}
|
|
813
|
-
e3.canClick = true, o3(t3);
|
|
779
|
+
s4 && "form" === s4 && function(e4) {
|
|
780
|
+
(function(e5) {
|
|
781
|
+
const t4 = /* @__PURE__ */ new Map(), s5 = e5.fieldPermissions;
|
|
782
|
+
if (void 0 !== s5) for (let e6 = 0; e6 < s5.length; e6++) {
|
|
783
|
+
const n2 = s5[e6].name;
|
|
784
|
+
if (n2) if (0 === n2.indexOf("$") && n2.indexOf(".") > 0) {
|
|
785
|
+
const o4 = s5[e6], i4 = JSON.parse(JSON.stringify(o4)), a3 = n2.substring(1, n2.indexOf(".")), r2 = n2.substring(n2.indexOf(".") + 1);
|
|
786
|
+
if (i4.name = r2, i4 && "all_fields" === i4.name) false === i4.canEdit ? i4.rowIndexes ? t4.set(a3, [{ name: "all_fields", canEdit: false, rowIndexes: i4.rowIndexes }]) : t4.set(a3, [{ name: "all_fields", canEdit: false }]) : i4.rowIndexes ? t4.set(a3, [{ name: "all_fields", canEdit: true, rowIndexes: i4.rowIndexes }]) : t4.set(a3, [{ name: "all_fields", canEdit: true }]);
|
|
787
|
+
else {
|
|
788
|
+
let e7 = t4.get(a3);
|
|
789
|
+
e7 || (e7 = []), e7.push(i4), t4.set(a3, e7);
|
|
790
|
+
}
|
|
791
|
+
} else t4.set(n2, s5[e6]);
|
|
792
|
+
}
|
|
793
|
+
e5.fieldPermissionMap = t4;
|
|
794
|
+
})(e4), function(e5) {
|
|
795
|
+
const t4 = e5.fieldPermissionMap, s5 = /* @__PURE__ */ new Map(), n2 = e5.actionPermissions;
|
|
796
|
+
if (null != n2) {
|
|
797
|
+
Object.keys(n2).forEach((e6) => {
|
|
798
|
+
const o4 = n2[e6], i4 = t4.get(e6);
|
|
799
|
+
if (i4 && i4.length > 0 && "all_fields" === i4[0].name && false === i4[0].canEdit) o4.canUpdate = false, o4.canAdd = false;
|
|
800
|
+
else {
|
|
801
|
+
const s6 = o4.canUpdate, n3 = o4.updateRowIndexes;
|
|
802
|
+
void 0 !== s6 && false === s6 && null != n3 && n3.length > 0 && t4.set(e6, [{ name: "all_fields", canEdit: false, rowIndexes: n3 }]);
|
|
803
|
+
}
|
|
804
|
+
s5.set(e6, o4);
|
|
805
|
+
});
|
|
806
|
+
}
|
|
807
|
+
e5.actionPermissionMap = s5;
|
|
808
|
+
}(e4);
|
|
809
|
+
}(e3), e3.canClick = true, T(null, e3, e3, "afterFormLoadData"), h2.setFormPageDataLoadState(true), o3(t3);
|
|
814
810
|
}).catch((t3) => {
|
|
815
811
|
e3.canClick = true, i3(t3);
|
|
816
812
|
});
|
|
817
813
|
});
|
|
818
814
|
}(e2, s2, o2) : function(e3, t2, s3) {
|
|
819
815
|
return new Promise((o3, i3) => {
|
|
820
|
-
const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 =
|
|
816
|
+
const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = te(e3);
|
|
821
817
|
let d2 = t2 || null, f2 = t2 ? [t2] : null;
|
|
822
818
|
void 0 === s3 || s3 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), f2 || (f2 = p2 ? p2.ids : null)) : (d2 = null, f2 = null, p2._id = p2.id, p2.id = null);
|
|
823
|
-
const g2 = p2 ? p2.taskId : null,
|
|
824
|
-
if (!
|
|
819
|
+
const g2 = p2 ? p2.taskId : null, b2 = u2, C2 = n(e3.backendUrl, e3.isTest), y2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: d2, systemCode: a2, functionCode: b2 + ".gets", listCodesMap: e3.listCodesMap };
|
|
820
|
+
if (!y2.id && p2 && p2._t_ && m(p2._t_ + "_id") && (y2.id = m(p2._t_ + "_id")), f2 && (y2.ids = de(f2)), e3.notIdInitializationList && (y2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (y2.additionalParamMap = p2), e3.beanName && (y2.beanName = e3.beanName), g2 && (y2.taskId = g2), (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
|
|
825
821
|
const t3 = {};
|
|
826
822
|
e3.tableUuids.forEach((e4) => {
|
|
827
823
|
const s4 = r(u2, l2, e4);
|
|
828
824
|
t3[s4] = s4;
|
|
829
|
-
}),
|
|
825
|
+
}), y2.listCodesMap = t3;
|
|
830
826
|
}
|
|
831
|
-
e3.refercePropMap && (
|
|
832
|
-
const
|
|
833
|
-
c.post(
|
|
827
|
+
e3.refercePropMap && (y2.refercePropMap = e3.refercePropMap);
|
|
828
|
+
const h2 = C2 + "/dsc/commons/gets", w2 = E();
|
|
829
|
+
w2.restorePageLoadState(), T(null, e3, e3, "beforeFormLoadData"), c.post(h2, y2).then((t3) => {
|
|
834
830
|
t3 && (e3.entity.data = t3.entity, e3.initFormNo = t3.formNo);
|
|
835
831
|
const s4 = e3.customRules, n2 = e3.rules, i4 = U(s4, n2);
|
|
836
|
-
e3.rules = i4;
|
|
837
|
-
const a3 = { runtime: { events: e3.events }, systemCode: "", systemVersion: 0, code: "", version: 0, workflowCode: "", workflowVersion: 0, name: "", uuid: "", label: "" };
|
|
838
|
-
y(null, e3, a3, "load"), e3.canClick = true, o3(t3);
|
|
832
|
+
e3.rules = i4, e3.canClick = true, T(null, e3, e3, "afterFormLoadData"), w2.setFormPageDataLoadState(true), o3(t3);
|
|
839
833
|
}).catch((t3) => {
|
|
840
834
|
e3.canClick = true, i3(t3);
|
|
841
835
|
});
|
|
@@ -846,10 +840,10 @@ function le(e2, s2, o2) {
|
|
|
846
840
|
e3(true);
|
|
847
841
|
});
|
|
848
842
|
}
|
|
849
|
-
function
|
|
843
|
+
function de(e2) {
|
|
850
844
|
return e2 && ("string" == typeof e2 ? e2 = e2.split(",") : "number" == typeof e2 && (e2 = [e2])), e2;
|
|
851
845
|
}
|
|
852
|
-
function
|
|
846
|
+
function me(e2) {
|
|
853
847
|
const t2 = e2.props.setValueList;
|
|
854
848
|
if (t2) {
|
|
855
849
|
if (s(t2) && t2.length > 0) return JSON.stringify(t2);
|
|
@@ -858,25 +852,25 @@ function de(e2) {
|
|
|
858
852
|
return null;
|
|
859
853
|
}
|
|
860
854
|
export {
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
855
|
+
F as dealAfterOperate,
|
|
856
|
+
Q as dealCompleteTaskParam,
|
|
857
|
+
se as doAddSigner,
|
|
858
|
+
Z as doAssign,
|
|
859
|
+
ne as doCreateCopyTask,
|
|
860
|
+
z as doImportFinally,
|
|
861
|
+
ce as doRemoveSigners,
|
|
862
|
+
ae as doReturnTaskTo,
|
|
863
|
+
D as exportFormReport,
|
|
864
|
+
te as getAdditionalParamMap,
|
|
865
|
+
pe as getFormData,
|
|
866
|
+
re as getRemoveSigner,
|
|
873
867
|
V as getSaveFormRequest,
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
868
|
+
W as getSaveFormRequestWithRow,
|
|
869
|
+
ie as getTaskInformitions,
|
|
870
|
+
ue as isVisibleWorkflowButton,
|
|
871
|
+
Y as judgeDataNumber,
|
|
872
|
+
J as refreshFormOrListPage,
|
|
873
|
+
le as refreshPage,
|
|
874
|
+
_ as standardEvents,
|
|
875
|
+
$ as updateValuesWhenCloseDialog
|
|
882
876
|
};
|