super-page-runtime 2.3.43-sit2 → 2.3.44-sit1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/runtime/utils/events/standard-event.js +188 -187
- package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +26 -17
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +74 -72
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +167 -165
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +63 -48
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue2.js +11 -11
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +91 -72
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/super-page.vue2.js +130 -138
- package/dist/es/style.css +130 -130
- package/package.json +2 -2
|
@@ -30,20 +30,20 @@ const Y = { save: function(e2) {
|
|
|
30
30
|
const t2 = e2.pageContext.code + "_";
|
|
31
31
|
T.$emit(t2 + "export-pdf-report", e2);
|
|
32
32
|
}, submit: function(e2) {
|
|
33
|
-
return
|
|
33
|
+
return pe(e2, false, "submit", "/dsc/commons/submits");
|
|
34
34
|
}, submitList: function(e2) {
|
|
35
|
-
return
|
|
35
|
+
return pe(e2, true, "submit", "/dsc/commons/batch-submits");
|
|
36
36
|
}, agree: function(e2) {
|
|
37
|
-
return
|
|
37
|
+
return pe(e2, false, "agree", "/dsc/commons/approves");
|
|
38
38
|
}, agreeList: function(e2) {
|
|
39
|
-
return
|
|
39
|
+
return pe(e2, true, "agree", "/dsc/commons/batch-approves");
|
|
40
40
|
}, disagree: function(e2) {
|
|
41
|
-
return
|
|
41
|
+
return pe(e2, false, "disagree", "/dsc/commons/refuses");
|
|
42
42
|
}, disagreeList: function(e2) {
|
|
43
|
-
return
|
|
43
|
+
return pe(e2, true, "disagree", "/dsc/commons/batch-refuses");
|
|
44
44
|
}, back: function(e2) {
|
|
45
45
|
const t2 = e2.pageContext, n2 = t2.entity ? t2.entity.data : {}, o2 = !(!e2.configureObj.props || !e2.configureObj.props.base) && e2.configureObj.props.base.isNeedValueMapping;
|
|
46
|
-
|
|
46
|
+
re(t2, e2.configureObj, n2, o2);
|
|
47
47
|
}, delete: function(e2) {
|
|
48
48
|
return function(e3) {
|
|
49
49
|
return new Promise((s2, i2) => {
|
|
@@ -65,7 +65,7 @@ const Y = { save: function(e2) {
|
|
|
65
65
|
const v2 = (_c = (_b = l2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
|
|
66
66
|
v2 && (k2.currentOperation = v2), k2.isMobile = B(), c.delete(g2, { data: k2 }).then((e4) => {
|
|
67
67
|
const t2 = w(r2, m2);
|
|
68
|
-
t2 && (t2.isDeleteChange(true), t2.clearSelections()),
|
|
68
|
+
t2 && (t2.isDeleteChange(true), t2.clearSelections()), se(r2, l2, e4, "superPageRuntimeMessage.successfulDelete", true), s2(true);
|
|
69
69
|
}).catch((e4) => {
|
|
70
70
|
i2(e4);
|
|
71
71
|
});
|
|
@@ -125,7 +125,7 @@ const Y = { save: function(e2) {
|
|
|
125
125
|
u2 = void 0 !== i2.isAsync && null !== i2.isAsync && i2.isAsync;
|
|
126
126
|
const p2 = void 0 === i2.isPermission || "true" === i2.isPermission || i2.isPermission, d2 = I(s2, o2), m2 = l2, f2 = { backendUrl: o2.backendUrl, pageContext: o2 }, g2 = (_b = (_a = s2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
|
|
127
127
|
g2 && (f2.currentOperation = g2), f2.isShowWatermark = void 0 === ((_d = (_c = s2.props) == null ? void 0 : _c.watermark) == null ? void 0 : _d.isShowWatermark) ? "true" : ((_f = (_e2 = s2.props) == null ? void 0 : _e2.watermark) == null ? void 0 : _f.isShowWatermark) + "", f2.watermarkContent = ((_h = (_g = s2.props) == null ? void 0 : _g.watermark) == null ? void 0 : _h.content) && ((_j = (_i = s2.props) == null ? void 0 : _i.watermark) == null ? void 0 : _j.content.length) > 0 ? (_l = (_k = s2.props) == null ? void 0 : _k.watermark) == null ? void 0 : _l.content.join("-~") : "", window.$vueApp.config.globalProperties.$exportDataNew(c2, m2, a2, d2, null, f2, u2, o2.code, p2), u2 && setTimeout(() => {
|
|
128
|
-
|
|
128
|
+
$e(o2);
|
|
129
129
|
}, 100);
|
|
130
130
|
});
|
|
131
131
|
}(e2);
|
|
@@ -143,11 +143,11 @@ const Y = { save: function(e2) {
|
|
|
143
143
|
const a2 = i2.entity.data, r2 = i2.systemCode, p2 = i2.backendUrl;
|
|
144
144
|
let d2 = t(p2, i2.isTest) + "/dsc/workflow-commons";
|
|
145
145
|
if (d2 = n(d2, r2, p2, i2.isTest), !d2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
146
|
-
const m2 =
|
|
146
|
+
const m2 = fe(e3);
|
|
147
147
|
let f2;
|
|
148
148
|
f2 = a2.id || a2.ID ? c.put(d2, m2) : c.post(d2, m2), $(i2.code, a2), f2.then((t2) => {
|
|
149
149
|
let n2 = true;
|
|
150
|
-
t2 && (q(i2.code, a2), n2 =
|
|
150
|
+
t2 && (q(i2.code, a2), n2 = ge(t2, false, i2, e3, null)), true === n2 && u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulSave") }), T.$emit("clearTableAllEndEditing"), o2(true);
|
|
151
151
|
}).catch((e4) => {
|
|
152
152
|
s2(e4);
|
|
153
153
|
});
|
|
@@ -160,11 +160,11 @@ const Y = { save: function(e2) {
|
|
|
160
160
|
if (Q(i2)) return void o2(false);
|
|
161
161
|
let d2 = t(p2, i2.isTest) + "/dsc/workflow-commons/start";
|
|
162
162
|
if (d2 = n(d2, r2, p2, i2.isTest), !d2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
163
|
-
const m2 =
|
|
163
|
+
const m2 = fe(e3);
|
|
164
164
|
let f2;
|
|
165
165
|
a2.workflow_id || a2.WORKFLOW_ID ? (d2 = t(p2, i2.isTest) + "/dsc/workflow-commons", d2 = n(d2, r2, p2, i2.isTest), f2 = c.put(d2, m2)) : f2 = c.post(d2, m2), $(i2.code, a2), f2.then((t2) => {
|
|
166
166
|
let n2 = true;
|
|
167
|
-
t2 && (q(i2.code, a2), n2 =
|
|
167
|
+
t2 && (q(i2.code, a2), n2 = ge(t2, false, i2, e3, null)), true === n2 && u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulStart") }), T.$emit("clearTableAllEndEditing"), o2(true);
|
|
168
168
|
}).catch((e4) => {
|
|
169
169
|
s2(e4);
|
|
170
170
|
});
|
|
@@ -178,31 +178,31 @@ const Y = { save: function(e2) {
|
|
|
178
178
|
const a2 = i2.systemCode, r2 = i2.backendUrl;
|
|
179
179
|
let p2 = t(r2, i2.isTest) + "/dsc/workflow-commons/submit";
|
|
180
180
|
if (p2 = n(p2, a2, r2, i2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
181
|
-
const d2 =
|
|
181
|
+
const d2 = fe(e3);
|
|
182
182
|
$(i2.code, i2.entity.data);
|
|
183
183
|
const m2 = c.post(p2, d2);
|
|
184
184
|
m2 ? m2.then((t2) => {
|
|
185
185
|
let n2 = true;
|
|
186
|
-
t2 && (q(i2.code, i2.entity.data), n2 =
|
|
186
|
+
t2 && (q(i2.code, i2.entity.data), n2 = ge(t2, false, i2, e3, null)), true === n2 && u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulSubmit") }), T.$emit("clearTableAllEndEditing"), o2(true);
|
|
187
187
|
}).catch((e4) => {
|
|
188
188
|
s2(e4);
|
|
189
189
|
}) : q(i2.code, i2.entity.data);
|
|
190
190
|
});
|
|
191
191
|
}(e2);
|
|
192
192
|
}, submitTask: function(e2) {
|
|
193
|
-
return
|
|
193
|
+
return Ce(e2, "SUBMIT");
|
|
194
194
|
}, approve: function(e2) {
|
|
195
|
-
return
|
|
195
|
+
return Ce(e2, "APPROVE");
|
|
196
196
|
}, refuse: function(e2) {
|
|
197
|
-
return
|
|
197
|
+
return Ce(e2, "REFUSE");
|
|
198
198
|
}, readed: function(e2) {
|
|
199
|
-
return
|
|
199
|
+
return Ce(e2, "READED");
|
|
200
200
|
}, agreement: function(e2) {
|
|
201
|
-
return
|
|
201
|
+
return Ce(e2, "AGREEMENT");
|
|
202
202
|
}, oppose: function(e2) {
|
|
203
|
-
return
|
|
203
|
+
return Ce(e2, "OPPOSE");
|
|
204
204
|
}, kiken: function(e2) {
|
|
205
|
-
return
|
|
205
|
+
return Ce(e2, "KIKEN");
|
|
206
206
|
}, assign: function(e2) {
|
|
207
207
|
return function(e3) {
|
|
208
208
|
const t2 = e3.pageContext, n2 = t2.code + "_";
|
|
@@ -220,23 +220,23 @@ const Y = { save: function(e2) {
|
|
|
220
220
|
}(e2);
|
|
221
221
|
}, drawTask: function(e2) {
|
|
222
222
|
return function(e3) {
|
|
223
|
-
const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/draw-tasks", i2 =
|
|
224
|
-
return
|
|
223
|
+
const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/draw-tasks", i2 = fe(e3);
|
|
224
|
+
return Ie(e3, i2, s2, "superPageRuntimeMessage.successfulDrawTask");
|
|
225
225
|
}(e2);
|
|
226
226
|
}, abandonReceive: function(e2) {
|
|
227
227
|
return function(e3) {
|
|
228
|
-
const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/abandon-receives", i2 =
|
|
229
|
-
return
|
|
228
|
+
const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/abandon-receives", i2 = fe(e3);
|
|
229
|
+
return Ie(e3, i2, s2, "superPageRuntimeMessage.successfulAbandonReceive");
|
|
230
230
|
}(e2);
|
|
231
231
|
}, returnToPreviousTask: function(e2) {
|
|
232
232
|
return function(e3) {
|
|
233
|
-
const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", i2 =
|
|
234
|
-
return
|
|
233
|
+
const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", i2 = fe(e3);
|
|
234
|
+
return Ie(e3, i2, s2, "superPageRuntimeMessage.successfulReturnToPreviousTask");
|
|
235
235
|
}(e2);
|
|
236
236
|
}, endInstance: function(e2) {
|
|
237
237
|
return function(e3) {
|
|
238
|
-
const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/end-instance", i2 =
|
|
239
|
-
return
|
|
238
|
+
const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/end-instance", i2 = fe(e3);
|
|
239
|
+
return Ie(e3, i2, s2, "superPageRuntimeMessage.successfulEndInstance");
|
|
240
240
|
}(e2);
|
|
241
241
|
}, returnTaskTo: function(e2) {
|
|
242
242
|
return function(e3) {
|
|
@@ -250,11 +250,11 @@ const Y = { save: function(e2) {
|
|
|
250
250
|
}(e2);
|
|
251
251
|
}, retrieveTask: function(e2) {
|
|
252
252
|
return function(e3) {
|
|
253
|
-
const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/retrieves", i2 =
|
|
254
|
-
return
|
|
253
|
+
const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/retrieves", i2 = fe(e3);
|
|
254
|
+
return Ie(e3, i2, s2, "superPageRuntimeMessage.successfulRetrieve");
|
|
255
255
|
}(e2);
|
|
256
256
|
}, extractWorkflow: function(e2) {
|
|
257
|
-
return
|
|
257
|
+
return Ae(e2);
|
|
258
258
|
}, extractWorkflowEvent: function(e2) {
|
|
259
259
|
return function(e3) {
|
|
260
260
|
const t2 = e3.pageContext;
|
|
@@ -262,18 +262,18 @@ const Y = { save: function(e2) {
|
|
|
262
262
|
}(e2);
|
|
263
263
|
}, cancelExtractWorkflow: function(e2) {
|
|
264
264
|
return function(e3) {
|
|
265
|
-
const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/cancel-extract", i2 =
|
|
266
|
-
return
|
|
265
|
+
const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/cancel-extract", i2 = fe(e3);
|
|
266
|
+
return Ie(e3, i2, s2, "superPageRuntimeMessage.successfulCancelExtract");
|
|
267
267
|
}(e2);
|
|
268
268
|
}, approveExtractWorkflow: function(e2) {
|
|
269
269
|
return function(e3) {
|
|
270
|
-
const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/approve-extract", i2 =
|
|
271
|
-
return
|
|
270
|
+
const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/approve-extract", i2 = fe(e3);
|
|
271
|
+
return Ie(e3, i2, s2, "superPageRuntimeMessage.successfulOperation");
|
|
272
272
|
}(e2);
|
|
273
273
|
}, refuseExtractWorkflow: function(e2) {
|
|
274
274
|
return function(e3) {
|
|
275
|
-
const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/refuse-extract", i2 =
|
|
276
|
-
return
|
|
275
|
+
const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/refuse-extract", i2 = fe(e3);
|
|
276
|
+
return Ie(e3, i2, s2, "superPageRuntimeMessage.successfulOperation");
|
|
277
277
|
}(e2);
|
|
278
278
|
}, viewDetail: function(e2) {
|
|
279
279
|
}, lineEditCreate: function(e2) {
|
|
@@ -318,7 +318,7 @@ const Y = { save: function(e2) {
|
|
|
318
318
|
let c2, l2 = n2.label;
|
|
319
319
|
l2 || (l2 = n2.code);
|
|
320
320
|
c2 = l2;
|
|
321
|
-
const u2 = { reportDataList: r2, beanName: n2.beanName, systemCode: n2.systemCode, pageCode: n2.code }, p2 =
|
|
321
|
+
const u2 = { reportDataList: r2, beanName: n2.beanName, systemCode: n2.systemCode, pageCode: n2.code }, p2 = he(n2);
|
|
322
322
|
u2.additionalParamMap = p2;
|
|
323
323
|
const d2 = (_b = (_a = s2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
|
|
324
324
|
d2 && (u2.currentOperation = d2);
|
|
@@ -378,7 +378,7 @@ function K(e2, n2, s2, i2) {
|
|
|
378
378
|
l2 && (b2.logSettingText = l2.join(""));
|
|
379
379
|
const T2 = (_c = (_b = n2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
|
|
380
380
|
T2 && (b2.currentOperation = T2), b2.isMobile = B();
|
|
381
|
-
const h2 =
|
|
381
|
+
const h2 = he(e2);
|
|
382
382
|
let y2;
|
|
383
383
|
b2.additionalParamMap = h2, b2.isShowWatermark = void 0 === ((_e2 = (_d = n2.props) == null ? void 0 : _d.watermark) == null ? void 0 : _e2.isShowWatermark) ? "true" : ((_g = (_f = n2.props) == null ? void 0 : _f.watermark) == null ? void 0 : _g.isShowWatermark) + "", b2.watermark = ((_i = (_h = n2.props) == null ? void 0 : _h.watermark) == null ? void 0 : _i.content) && ((_k = (_j = n2.props) == null ? void 0 : _j.watermark) == null ? void 0 : _k.content.length) > 0 ? (_m = (_l = n2.props) == null ? void 0 : _l.watermark) == null ? void 0 : _m.content.join("-~") : "", y2 = i2 ? function(e3, n3, o2, s3) {
|
|
384
384
|
return new Promise((i3, a3) => {
|
|
@@ -436,7 +436,7 @@ function Z(e2, t2) {
|
|
|
436
436
|
$(s2.code, s2.entity.data);
|
|
437
437
|
const u2 = ne(s2, i2, "/dsc/commons", l2, a2, r2);
|
|
438
438
|
u2 ? u2.then((e3) => {
|
|
439
|
-
e3 && q(s2.code, s2.entity.data),
|
|
439
|
+
e3 && q(s2.code, s2.entity.data), se(s2, i2, e3, "superPageRuntimeMessage.successfulSave", t2), n2(e3);
|
|
440
440
|
}).catch((e3) => {
|
|
441
441
|
o2(e3);
|
|
442
442
|
}) : (q(s2.code, s2.entity.data), o2("保存时request不存在"));
|
|
@@ -451,35 +451,34 @@ function ee(e2, t2, n2, i2, a2, r2, c2) {
|
|
|
451
451
|
r2 && (f2.ids = r2), e2.judgeHeavyList && (s(e2.judgeHeavyList) ? f2.judgeHeavyList = JSON.stringify(e2.judgeHeavyList) : f2.judgeHeavyList = e2.judgeHeavyList);
|
|
452
452
|
const g2 = t2.props.base.conversionCodes;
|
|
453
453
|
g2 && (s(g2) ? f2.dataConversionRule = g2.join(",") : "string" == typeof g2 && (f2.dataConversionRule = g2));
|
|
454
|
-
const C2 =
|
|
454
|
+
const C2 = Le(t2);
|
|
455
455
|
C2 && (f2.autoSetValueData = C2);
|
|
456
456
|
const b2 = (_a = t2.props.base) == null ? void 0 : _a.logSetting;
|
|
457
457
|
b2 && (f2.logSettingText = b2.join("")), f2.systemCode || (f2.systemCode = u2);
|
|
458
458
|
const w2 = e2.beanName;
|
|
459
459
|
w2 && (f2.beanName = w2), a2 && (f2.dynamicColumnInfo = a2), i2 && (f2.mainDefaultValueColumns = i2);
|
|
460
|
-
const T2 =
|
|
460
|
+
const T2 = he(e2);
|
|
461
461
|
f2.additionalParamMap = T2, void 0 !== n2 && (f2.unControlVersion = n2);
|
|
462
462
|
const k2 = (_c = (_b = t2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
|
|
463
463
|
return k2 && (f2.currentOperation = k2), f2.isMobile = B(), f2;
|
|
464
464
|
}
|
|
465
|
-
function te(e2, o2, s2, i2, a2, r2,
|
|
466
|
-
const
|
|
467
|
-
return
|
|
468
|
-
const l3 = t(o3, r3);
|
|
469
|
-
let u3, p3 = l3 + i3;
|
|
470
|
-
p3 = n(p3, e3, o3, r3), u3 = a3 && (a3.id || a3.ID) ? c.put(p3, s3) : c.post(p3, s3);
|
|
471
|
-
return u3;
|
|
472
|
-
}(d2, m2, f2, s2, l2, e2.isTest);
|
|
465
|
+
function te(e2, t2, n2, o2, s2, i2, a2, r2, c2) {
|
|
466
|
+
const l2 = e2.systemCode, u2 = e2.backendUrl, p2 = ee(e2, t2, o2, s2, i2, null, a2);
|
|
467
|
+
return r2 && r2.tableName && (p2.tableName = r2.tableName), c2 && (p2.isWorkflowEntity = false), a2 || "form" !== e2.pageType ? oe(l2, u2, p2, n2, a2, e2.isTest) : oe(l2, u2, p2, n2, e2.entity.data, e2.isTest);
|
|
473
468
|
}
|
|
474
469
|
function ne(e2, t2, n2, o2, s2, i2) {
|
|
475
470
|
return te(e2, t2, n2, o2, s2, i2, null, null);
|
|
476
471
|
}
|
|
477
|
-
function oe(
|
|
478
|
-
|
|
472
|
+
function oe(e2, o2, s2, i2, a2, r2) {
|
|
473
|
+
let l2, u2 = t(o2, r2) + i2;
|
|
474
|
+
return u2 = n(u2, e2, o2, r2), l2 = a2 && (a2.id || a2.ID) ? c.put(u2, s2) : c.post(u2, s2), l2;
|
|
475
|
+
}
|
|
476
|
+
function se(t2, n2, o2, s2, i2) {
|
|
477
|
+
const a2 = ie(t2, n2, i2);
|
|
479
478
|
if (a2 && "list" === a2) !function(t3, n3, o3, s3) {
|
|
480
479
|
let i3 = n3.props.base.successOperation;
|
|
481
480
|
const a3 = n3.props.base.isNeedValueMapping, r2 = y(t3, n3);
|
|
482
|
-
i3 ||
|
|
481
|
+
i3 || le.includes(n3.name) || (i3 = "refresh");
|
|
483
482
|
if ("refresh" === i3) {
|
|
484
483
|
if (r2) {
|
|
485
484
|
w(t3, r2).refresh();
|
|
@@ -487,7 +486,7 @@ function oe(t2, n2, o2, s2, i2) {
|
|
|
487
486
|
} else if ("closeWindow" === i3 || "closeWindowAndRefresh" === i3) {
|
|
488
487
|
const s4 = e(t3.entity.page);
|
|
489
488
|
let i4 = o3;
|
|
490
|
-
i4 || (i4 = {}), Object.assign(s4, i4),
|
|
489
|
+
i4 || (i4 = {}), Object.assign(s4, i4), re(t3, n3, s4, a3);
|
|
491
490
|
}
|
|
492
491
|
s3 && u({ message: l().t(s3), type: "success", showClose: true });
|
|
493
492
|
}(t2, n2, o2, s2), t2.canClick = true;
|
|
@@ -496,31 +495,31 @@ function oe(t2, n2, o2, s2, i2) {
|
|
|
496
495
|
const o4 = n3;
|
|
497
496
|
let s3;
|
|
498
497
|
s3 = o4.entity ? o4.entity : o4, o4.formNo && (e2.initFormNo = o4.formNo);
|
|
499
|
-
|
|
498
|
+
ae(e2, t3, { ...s3, ...e2.entity.page });
|
|
500
499
|
} else {
|
|
501
500
|
const n4 = t3.props.base.successOperation;
|
|
502
501
|
if (n4 && null !== n4) {
|
|
503
|
-
|
|
502
|
+
ae(e2, t3, { ...e2.entity.page });
|
|
504
503
|
} else e2.canClick = true;
|
|
505
504
|
}
|
|
506
505
|
o3 && u({ message: l().t(o3), type: "success", showClose: true });
|
|
507
506
|
}(t2, n2, o2, s2);
|
|
508
507
|
else {
|
|
509
508
|
const e2 = n2.props.base.successOperation;
|
|
510
|
-
e2 && null !== e2 ?
|
|
509
|
+
e2 && null !== e2 ? ae(t2, n2, null) : t2.canClick = true;
|
|
511
510
|
}
|
|
512
511
|
}
|
|
513
|
-
function
|
|
512
|
+
function ie(e2, t2, n2) {
|
|
514
513
|
let o2;
|
|
515
514
|
return void 0 === n2 ? o2 = t2.props.base.tableUuid ? "list" : null : false === n2 && (o2 = "form"), o2 || (o2 = e2.pageType), o2;
|
|
516
515
|
}
|
|
517
|
-
function
|
|
516
|
+
function ae(e2, t2, n2) {
|
|
518
517
|
const o2 = t2.props.base.successOperation;
|
|
519
518
|
if (!o2 || null === o2) return;
|
|
520
519
|
const s2 = t2.props.base.isNeedValueMapping;
|
|
521
|
-
"noOperation" === o2 ? e2.canClick = true : "refresh" === o2 ? n2 && (n2.id || n2.ID) ?
|
|
520
|
+
"noOperation" === o2 ? e2.canClick = true : "refresh" === o2 ? n2 && (n2.id || n2.ID) ? _e(e2, n2.ID ? n2.ID : n2.id) : e2.canClick = true : "closeWindow" !== o2 && "closeWindowAndRefresh" !== o2 || (re(e2, t2, n2, s2), e2.canClick = true);
|
|
522
521
|
}
|
|
523
|
-
function
|
|
522
|
+
function re(e2, t2, n2, o2) {
|
|
524
523
|
const s2 = e2.entity && e2.entity.request ? e2.entity.request.jumpMode : null;
|
|
525
524
|
if ("openWindow" === s2 || "newTab" === s2) window.parent ? window.parent.close() : window.close();
|
|
526
525
|
else {
|
|
@@ -528,7 +527,7 @@ function ae(e2, t2, n2, o2) {
|
|
|
528
527
|
T.$has(r2) ? T.$emit(r2, { isNeedValueMapping: a2, dataModel: n2, sourceConfigureObj: t2, sourceTableName: i2, jumpMode: s2 }) : "refresh" === s2 && window.history.back();
|
|
529
528
|
}
|
|
530
529
|
}
|
|
531
|
-
function
|
|
530
|
+
function ce({ parentPageContext: e2, parentEventParams: t2, parentConfigureObj: n2, sourceModel: o2, sourceTableName: s2, valueMappings: i2 }) {
|
|
532
531
|
var _a;
|
|
533
532
|
i2 || (i2 = n2.runtime && n2.runtime.linkPage && n2.runtime.linkPage.valueMappings ? n2.runtime.linkPage.valueMappings : null) || (i2 = (_a = n2.props.linkPage) == null ? void 0 : _a.valueMappings);
|
|
534
533
|
const a2 = e2.tableName;
|
|
@@ -544,13 +543,13 @@ function re({ parentPageContext: e2, parentEventParams: t2, parentConfigureObj:
|
|
|
544
543
|
}
|
|
545
544
|
}(o2, i2, e2), h(null, e2, n2, "setValue", { sourceModel: o2, sourceTableName: s2, entity: e2.entity.data, targetTableName: a2, eventParams: t2 });
|
|
546
545
|
}
|
|
547
|
-
const
|
|
548
|
-
function
|
|
546
|
+
const le = ["dropdown"];
|
|
547
|
+
function ue(e2, t2, n2, o2) {
|
|
549
548
|
var _a;
|
|
550
549
|
t2 && !t2.props.base && (t2.props.base = {});
|
|
551
550
|
let s2 = o2;
|
|
552
551
|
s2 || (s2 = n2 ? "refresh" : (_a = t2.props.base) == null ? void 0 : _a.successOperation);
|
|
553
|
-
const i2 =
|
|
552
|
+
const i2 = ie(e2, t2);
|
|
554
553
|
if (i2 && "list" === i2 && !s2 && (s2 = "refresh"), "refresh" === s2) {
|
|
555
554
|
if (i2 && "list" === i2) {
|
|
556
555
|
const n3 = y(e2, t2);
|
|
@@ -559,11 +558,11 @@ function le(e2, t2, n2, o2) {
|
|
|
559
558
|
}
|
|
560
559
|
} else if (i2 && "form" === i2) {
|
|
561
560
|
const t3 = e2.entity.data;
|
|
562
|
-
|
|
561
|
+
_e(e2, t3.ID ? t3.ID : t3.id);
|
|
563
562
|
}
|
|
564
563
|
}
|
|
565
564
|
}
|
|
566
|
-
function
|
|
565
|
+
function pe(e2, o2, s2, i2) {
|
|
567
566
|
return new Promise((r2, u2) => {
|
|
568
567
|
const d2 = e2.pageContext, m2 = e2.configureObj;
|
|
569
568
|
if (Q(d2)) return void r2(false);
|
|
@@ -593,14 +592,14 @@ function ue(e2, o2, s2, i2) {
|
|
|
593
592
|
});
|
|
594
593
|
}(d2, m2, i2, w2, f2, g2, s2, C2, T2);
|
|
595
594
|
k2 ? k2.then((e3) => {
|
|
596
|
-
!o2 && e3 && q(d2.code, d2.entity.data),
|
|
595
|
+
!o2 && e3 && q(d2.code, d2.entity.data), se(d2, m2, e3, "superPageRuntimeMessage.successfulSave", o2), r2(e3);
|
|
597
596
|
}).catch((e3) => {
|
|
598
597
|
u2(e3);
|
|
599
598
|
}) : (o2 || q(d2.code, d2.entity.data), u2("request不存在"));
|
|
600
599
|
});
|
|
601
600
|
}
|
|
602
|
-
function
|
|
603
|
-
var _a, _b, _c;
|
|
601
|
+
function de(e2, s2) {
|
|
602
|
+
var _a, _b, _c, _d;
|
|
604
603
|
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 = E(i2, d2), f2 = new FormData();
|
|
605
604
|
f2.append("multipartFile", s2), m2 && f2.append("tableName", m2);
|
|
606
605
|
const g2 = (_b = (_a = a2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
|
|
@@ -609,7 +608,7 @@ function pe(e2, s2) {
|
|
|
609
608
|
C2 && f2.append("importDuplicateRule", C2);
|
|
610
609
|
const b2 = i2.judgeHeavyList;
|
|
611
610
|
b2 && f2.append("judgeHeavyList", JSON.stringify(b2));
|
|
612
|
-
const w2 =
|
|
611
|
+
const w2 = Le(a2);
|
|
613
612
|
w2 && f2.append("autoSetValueData", w2);
|
|
614
613
|
const T2 = i2.formNoRuleCode;
|
|
615
614
|
T2 && f2.append("formNoRuleCode", T2);
|
|
@@ -621,24 +620,26 @@ function pe(e2, s2) {
|
|
|
621
620
|
null != y2 && f2.append("isWorkflowEntity", y2 + "");
|
|
622
621
|
const v2 = I(a2, i2);
|
|
623
622
|
v2 && f2.append("functionCode", v2);
|
|
624
|
-
const S2 =
|
|
623
|
+
const S2 = he(i2);
|
|
625
624
|
f2.append("additionalParamMapStr", JSON.stringify(S2));
|
|
626
625
|
const R2 = void 0 === p2.isPermission || "true" === p2.isPermission || p2.isPermission;
|
|
627
626
|
f2.append("isPermission", R2 + "");
|
|
628
627
|
const M2 = i2.systemCode;
|
|
629
628
|
M2 && f2.append("systemCode", M2);
|
|
630
|
-
const x2 =
|
|
631
|
-
|
|
632
|
-
N2 =
|
|
633
|
-
|
|
629
|
+
const x2 = (_d = a2.props.base) == null ? void 0 : _d.logSetting;
|
|
630
|
+
x2 && f2.append("logSettingText", x2.join(""));
|
|
631
|
+
const N2 = i2.backendUrl;
|
|
632
|
+
let O2 = t(N2, i2.isTest) + "/dsc/commons/import-data";
|
|
633
|
+
O2 = n(O2, M2, N2, i2.isTest), c.post(O2, f2).then((e3) => {
|
|
634
|
+
if (h2) u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.asyncImport") }), $e(i2);
|
|
634
635
|
else {
|
|
635
636
|
let t2 = false;
|
|
636
|
-
e3 ? (t2 = false, u({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e3 })) : (u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulImport") }), t2 = true),
|
|
637
|
+
e3 ? (t2 = false, u({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e3 })) : (u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulImport") }), t2 = true), se(i2, a2, e3, null, true), i2.result = t2, P(i2, a2);
|
|
637
638
|
}
|
|
638
639
|
}).catch((e3) => {
|
|
639
640
|
});
|
|
640
641
|
}
|
|
641
|
-
function
|
|
642
|
+
function me(e2, t2) {
|
|
642
643
|
const n2 = e2.props.base;
|
|
643
644
|
if (n2.conditionsForExecution && "" !== n2.conditionsForExecution) {
|
|
644
645
|
if ("one" === n2.conditionsForExecution) {
|
|
@@ -647,7 +648,7 @@ function de(e2, t2) {
|
|
|
647
648
|
}
|
|
648
649
|
return true;
|
|
649
650
|
}
|
|
650
|
-
function
|
|
651
|
+
function fe(e2) {
|
|
651
652
|
var _a, _b, _c;
|
|
652
653
|
const t2 = e2.pageContext, n2 = e2.configureObj, o2 = t2.entity.data, i2 = t2.systemCode, a2 = t2.code;
|
|
653
654
|
let r2 = I(n2, t2);
|
|
@@ -656,23 +657,23 @@ function me(e2) {
|
|
|
656
657
|
t2.dataTypeMaps && Object.keys(t2.dataTypeMaps).length > 0 && (c2.dataTypeMap = t2.dataTypeMaps), 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);
|
|
657
658
|
const l2 = n2.props.base.conversionCodes;
|
|
658
659
|
l2 && (s(l2) ? c2.dataConversionRule = l2.join(",") : "string" == typeof l2 && (c2.dataConversionRule = l2));
|
|
659
|
-
const u2 =
|
|
660
|
+
const u2 = Le(n2);
|
|
660
661
|
u2 && (c2.autoSetValueData = u2), t2.beanName && (c2.beanName = t2.beanName);
|
|
661
662
|
const p2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
|
|
662
663
|
p2 && (c2.logSettingText = p2.join("")), c2.systemCode || (c2.systemCode = i2);
|
|
663
|
-
const d2 =
|
|
664
|
+
const d2 = he(t2);
|
|
664
665
|
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]));
|
|
665
666
|
const m2 = n2.props.base.successOperation;
|
|
666
667
|
m2 && "noOperation" === m2 && (c2.unControlVersion = true), c2.isWorkflowEntity = true;
|
|
667
668
|
const f2 = (_c = (_b = n2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
|
|
668
|
-
return f2 && (c2.currentOperation = f2), c2.isMobile = B(), c2;
|
|
669
|
+
return f2 && (c2.currentOperation = f2), c2.isMobile = B(), c2.taskParamMap = t2.entity.task, c2;
|
|
669
670
|
}
|
|
670
|
-
function
|
|
671
|
+
function ge(e2, t2, n2, o2, s2) {
|
|
671
672
|
const i2 = n2.code, a2 = n2.version;
|
|
672
673
|
let r2;
|
|
673
674
|
if (e2) {
|
|
674
675
|
t2 && (n2.initFormNo = e2.formNo, n2.emailTemplateCode = e2.emailTemplateCode), e2.entity && (n2.entity.data = e2.entity, function(e3, t3) {
|
|
675
|
-
const n3 =
|
|
676
|
+
const n3 = he(t3);
|
|
676
677
|
e3 && n3 && C(n3._t_ + "_id", e3);
|
|
677
678
|
}(e2.entity.id || e2.entity.ID, n2));
|
|
678
679
|
const s3 = e2.completeTaskResult;
|
|
@@ -689,10 +690,10 @@ function fe(e2, t2, n2, o2, s2) {
|
|
|
689
690
|
}
|
|
690
691
|
n2.entity || (n2.entity = {}), n2.entity.task = e2.taskParamMap, v(i2, a2, "_currentActivityName", e2.taskName);
|
|
691
692
|
}
|
|
692
|
-
return o2 && (o2.operationResult = s2), t2 ||
|
|
693
|
+
return o2 && (o2.operationResult = s2), t2 || se(n2, o2.configureObj, e2, null, false), true;
|
|
693
694
|
}
|
|
694
|
-
async function
|
|
695
|
-
const s2 = await
|
|
695
|
+
async function Ce(e2, o2) {
|
|
696
|
+
const s2 = await be(e2);
|
|
696
697
|
return new Promise((i2, a2) => {
|
|
697
698
|
var _a;
|
|
698
699
|
const r2 = e2.pageContext;
|
|
@@ -701,19 +702,19 @@ async function ge(e2, o2) {
|
|
|
701
702
|
const p2 = r2.systemCode, d2 = r2.backendUrl, m2 = true === s2 ? (_a = r2.completeTaskParam) == null ? void 0 : _a.opinion : s2;
|
|
702
703
|
let f2 = t(d2, r2.isTest) + "/dsc/workflow-commons/complete-tasks";
|
|
703
704
|
if (f2 = n(f2, p2, d2, r2.isTest), !f2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
704
|
-
const g2 =
|
|
705
|
+
const g2 = fe(e2);
|
|
705
706
|
g2.completeTaskParam = { operationResult: o2, taskId: r2.completeTaskParam ? r2.completeTaskParam.taskId : null, opinion: m2 || null };
|
|
706
707
|
const C2 = c.post(f2, g2);
|
|
707
708
|
$(r2.code, r2.entity.data), C2.then((t2) => {
|
|
708
709
|
let n2 = true;
|
|
709
|
-
t2 && (q(r2.code, r2.entity.data), n2 =
|
|
710
|
+
t2 && (q(r2.code, r2.entity.data), n2 = ge(t2, false, r2, e2, o2)), true === n2 && u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulCompleteTask") }), i2(true);
|
|
710
711
|
}).catch((e3) => {
|
|
711
712
|
a2(e3);
|
|
712
713
|
});
|
|
713
714
|
} else i2(true);
|
|
714
715
|
});
|
|
715
716
|
}
|
|
716
|
-
function
|
|
717
|
+
function be(e2) {
|
|
717
718
|
return new Promise((t2, n2) => {
|
|
718
719
|
var _a, _b, _c, _d, _e2;
|
|
719
720
|
const o2 = e2.configureObj;
|
|
@@ -728,22 +729,22 @@ function Ce(e2) {
|
|
|
728
729
|
} else t2(true);
|
|
729
730
|
});
|
|
730
731
|
}
|
|
731
|
-
function
|
|
732
|
+
function we(e2, n2) {
|
|
732
733
|
if (n2) {
|
|
733
|
-
const o2 = e2.pageContext, s2 = e2.configureObj, i2 = o2.backendUrl, a2 = t(i2, o2.isTest) + "/dsc/workflow-commons/assigns", r2 = n2.id ? n2.id : n2.ID ? n2.ID : null, c2 =
|
|
734
|
-
c2.assigneeId = r2,
|
|
734
|
+
const o2 = e2.pageContext, s2 = e2.configureObj, i2 = o2.backendUrl, a2 = t(i2, o2.isTest) + "/dsc/workflow-commons/assigns", r2 = n2.id ? n2.id : n2.ID ? n2.ID : null, c2 = fe(e2);
|
|
735
|
+
c2.assigneeId = r2, Ie(e2, c2, a2, "superPageRuntimeMessage.successfulAssign").then((e3) => {
|
|
735
736
|
P(o2, s2);
|
|
736
737
|
});
|
|
737
738
|
}
|
|
738
739
|
}
|
|
739
|
-
function
|
|
740
|
+
function Te(e2) {
|
|
740
741
|
var _a, _b;
|
|
741
|
-
const t2 = e2.pageContext, n2 = t2.entity.data, o2 = t2.systemCode, s2 = t2.code, i2 = e2.configureObj, a2 =
|
|
742
|
-
c2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, systemCode: o2 }, c2.completeTaskParam.customTaskTitle =
|
|
742
|
+
const t2 = e2.pageContext, n2 = t2.entity.data, o2 = t2.systemCode, s2 = t2.code, i2 = e2.configureObj, a2 = he(t2), r2 = void 0 !== n2.ID && null !== n2.ID ? n2.ID : n2.id, c2 = { beanName: t2.beanName, id: r2, entity: n2, additionalParamMap: a2, tableName: t2.tableName, functionCode: s2 + ".xxx", isWorkflowEntity: true, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version, listCodesInitSearchForm: t2.listCodesInitSearchForm };
|
|
743
|
+
c2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, systemCode: o2 }, c2.completeTaskParam.customTaskTitle = ke(e2);
|
|
743
744
|
const l2 = (_b = (_a = i2 == null ? void 0 : i2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
|
|
744
745
|
return l2 && (c2.currentOperation = l2), c2.isMobile = B(), c2;
|
|
745
746
|
}
|
|
746
|
-
function
|
|
747
|
+
function ke(e2) {
|
|
747
748
|
var _a, _b, _c;
|
|
748
749
|
let t2 = null;
|
|
749
750
|
if (((_b = (_a = e2.configureObj.props.task) == null ? void 0 : _a.title) == null ? void 0 : _b.length) > 0) for (let n2 = 0; n2 < e2.configureObj.props.task.title.length; n2++) {
|
|
@@ -761,7 +762,7 @@ function Te(e2) {
|
|
|
761
762
|
}
|
|
762
763
|
return t2;
|
|
763
764
|
}
|
|
764
|
-
function
|
|
765
|
+
function he(t2) {
|
|
765
766
|
if (t2.entity) {
|
|
766
767
|
let n2 = e(t2.entity.page);
|
|
767
768
|
n2 || (n2 = {});
|
|
@@ -769,33 +770,33 @@ function ke(t2) {
|
|
|
769
770
|
return o2 && Object.assign(n2, o2), n2;
|
|
770
771
|
}
|
|
771
772
|
}
|
|
772
|
-
function
|
|
773
|
+
function ye(e2, o2) {
|
|
773
774
|
if (o2) {
|
|
774
775
|
const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
|
|
775
776
|
let p2 = t(r2, s2.isTest) + "/dsc/workflow-commons/add-signers";
|
|
776
777
|
if (p2 = n(p2, a2, r2, s2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
777
|
-
const d2 =
|
|
778
|
+
const d2 = Te(e2);
|
|
778
779
|
d2.completeTaskParam.transactors = o2.loginNames.join(",").split(",");
|
|
779
780
|
const m2 = c.post(p2, d2);
|
|
780
781
|
m2 && m2.then((e3) => {
|
|
781
|
-
u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulOperation") }), e3.entity &&
|
|
782
|
+
u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && se(s2, i2, e3, null, false), P(s2, i2);
|
|
782
783
|
});
|
|
783
784
|
}
|
|
784
785
|
}
|
|
785
|
-
function
|
|
786
|
+
function Pe(e2, o2) {
|
|
786
787
|
if (o2) {
|
|
787
788
|
const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
|
|
788
789
|
let p2 = t(r2, s2.isTest) + "/dsc/workflow-commons/add-transactors";
|
|
789
790
|
if (p2 = n(p2, a2, r2, s2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
790
|
-
const d2 =
|
|
791
|
+
const d2 = Te(e2);
|
|
791
792
|
d2.completeTaskParam.transactors = o2.loginNames.join(",").split(",");
|
|
792
793
|
const m2 = c.post(p2, d2);
|
|
793
794
|
m2 && m2.then((e3) => {
|
|
794
|
-
u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulOperation") }), e3.entity &&
|
|
795
|
+
u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && se(s2, i2, e3, null, false), P(s2, i2);
|
|
795
796
|
});
|
|
796
797
|
}
|
|
797
798
|
}
|
|
798
|
-
async function
|
|
799
|
+
async function ve(e2, o2) {
|
|
799
800
|
if (o2) {
|
|
800
801
|
const s2 = await function(e3) {
|
|
801
802
|
return new Promise((t2, n2) => {
|
|
@@ -820,18 +821,18 @@ async function Pe(e2, o2) {
|
|
|
820
821
|
const i2 = e2.pageContext, a2 = e2.configureObj, r2 = i2.systemCode, p2 = i2.backendUrl;
|
|
821
822
|
let d2 = t(p2, i2.isTest) + "/dsc/workflow-commons/copies";
|
|
822
823
|
if (d2 = n(d2, r2, p2, i2.isTest), !d2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
823
|
-
const m2 =
|
|
824
|
+
const m2 = Te(e2);
|
|
824
825
|
m2.completeTaskParam.transactors = o2.loginNames.join(",").split(","), true !== s2 && (m2.completeTaskParam.remark = s2);
|
|
825
826
|
const f2 = c.post(d2, m2);
|
|
826
827
|
f2 && f2.then((e3) => {
|
|
827
828
|
var _a;
|
|
828
|
-
u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulOperation") }),
|
|
829
|
+
u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulOperation") }), se(i2, a2, { entity: (_a = i2.entity) == null ? void 0 : _a.data }, null), P(i2, a2);
|
|
829
830
|
});
|
|
830
831
|
}
|
|
831
832
|
}
|
|
832
833
|
}
|
|
833
|
-
async function
|
|
834
|
-
const i2 = await
|
|
834
|
+
async function Ie(e2, t2, o2, s2) {
|
|
835
|
+
const i2 = await be(e2);
|
|
835
836
|
return new Promise((a2, r2) => {
|
|
836
837
|
var _a;
|
|
837
838
|
if (i2) {
|
|
@@ -844,73 +845,73 @@ async function ve(e2, t2, o2, s2) {
|
|
|
844
845
|
const f2 = c.post(o2, t2);
|
|
845
846
|
f2 && f2.then((t3) => {
|
|
846
847
|
let n2 = true;
|
|
847
|
-
t3 && (n2 =
|
|
848
|
+
t3 && (n2 = ge(t3, false, p2, e2, null)), true === n2 && u({ showClose: true, type: "success", message: l().t(s2) }), a2(true);
|
|
848
849
|
}).catch((e3) => {
|
|
849
850
|
r2(e3);
|
|
850
851
|
});
|
|
851
852
|
} else a2(true);
|
|
852
853
|
});
|
|
853
854
|
}
|
|
854
|
-
function
|
|
855
|
+
function Se(e2) {
|
|
855
856
|
const o2 = e2.pageContext, s2 = o2.systemCode, i2 = o2.backendUrl, a2 = o2.completeTaskParam;
|
|
856
857
|
let r2 = t(i2, o2.isTest) + "/dsc/workflow-commons/returnable-task/" + a2.taskId;
|
|
857
858
|
if (r2 = n(r2, s2, i2, o2.isTest), !r2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
858
|
-
const p2 = o2.code, d2 =
|
|
859
|
+
const p2 = o2.code, d2 = he(o2), m2 = { beanName: o2.beanName, additionalParamMap: d2, tableName: o2.tableName, functionCode: p2 + ".xxx", pageCode: o2.code };
|
|
859
860
|
return c.post(r2, m2);
|
|
860
861
|
}
|
|
861
|
-
function
|
|
862
|
-
const o2 = e2.pageContext, s2 = e2.configureObj, i2 = o2.backendUrl, a2 = t(i2, o2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 =
|
|
863
|
-
n2.nodeName && (r2.returnToNodeName = n2.nodeName), n2.nodeId && (r2.returnToNodeId = n2.nodeId),
|
|
862
|
+
function Re(e2, n2) {
|
|
863
|
+
const o2 = e2.pageContext, s2 = e2.configureObj, i2 = o2.backendUrl, a2 = t(i2, o2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 = fe(e2);
|
|
864
|
+
n2.nodeName && (r2.returnToNodeName = n2.nodeName), n2.nodeId && (r2.returnToNodeId = n2.nodeId), Ie(e2, r2, a2, "superPageRuntimeMessage.successfulReturnTaskTo").then((e3) => {
|
|
864
865
|
P(o2, s2);
|
|
865
866
|
});
|
|
866
867
|
}
|
|
867
|
-
function
|
|
868
|
+
function Me(e2) {
|
|
868
869
|
const o2 = e2.pageContext, s2 = o2.systemCode, i2 = o2.backendUrl;
|
|
869
870
|
let a2 = t(i2, o2.isTest) + "/dsc/workflow-commons/get-remove-signers";
|
|
870
|
-
const r2 =
|
|
871
|
+
const r2 = fe(e2);
|
|
871
872
|
if (a2 = n(a2, s2, i2, o2.isTest), a2) return c.post(a2, r2);
|
|
872
873
|
u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
873
874
|
}
|
|
874
|
-
function
|
|
875
|
+
function xe(e2, o2) {
|
|
875
876
|
if (o2) {
|
|
876
877
|
const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
|
|
877
878
|
let p2 = t(r2, s2.isTest) + "/dsc/workflow-commons/remove-signers";
|
|
878
879
|
if (p2 = n(p2, a2, r2, s2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
879
|
-
const d2 = o2.map((e3) => e3.id ? e3.id : e3.ID ? e3.ID : null), m2 =
|
|
880
|
+
const d2 = o2.map((e3) => e3.id ? e3.id : e3.ID ? e3.ID : null), m2 = fe(e2);
|
|
880
881
|
m2.ids = d2;
|
|
881
882
|
const f2 = c.post(p2, m2);
|
|
882
883
|
f2 && f2.then((e3) => {
|
|
883
|
-
|
|
884
|
+
se(s2, i2, e3, "superPageRuntimeMessage.successfulOperation", false), P(s2, i2);
|
|
884
885
|
});
|
|
885
886
|
}
|
|
886
887
|
}
|
|
887
|
-
function
|
|
888
|
+
function Ne(e2) {
|
|
888
889
|
const o2 = e2.pageContext, s2 = o2.systemCode, i2 = o2.backendUrl;
|
|
889
890
|
let a2 = t(i2, o2.isTest) + "/dsc/workflow-commons/get-remove-transactors";
|
|
890
|
-
const r2 =
|
|
891
|
+
const r2 = fe(e2);
|
|
891
892
|
if (a2 = n(a2, s2, i2, o2.isTest), a2) return c.post(a2, r2);
|
|
892
893
|
u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
893
894
|
}
|
|
894
|
-
function
|
|
895
|
+
function Oe(e2, o2) {
|
|
895
896
|
if (o2) {
|
|
896
897
|
const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
|
|
897
898
|
let p2 = t(r2, s2.isTest) + "/dsc/workflow-commons/remove-transactors";
|
|
898
899
|
if (p2 = n(p2, a2, r2, s2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
899
|
-
const d2 = o2.map((e3) => e3.taskId), m2 =
|
|
900
|
+
const d2 = o2.map((e3) => e3.taskId), m2 = fe(e2);
|
|
900
901
|
m2.ids = d2;
|
|
901
902
|
const f2 = c.post(p2, m2);
|
|
902
903
|
f2 && f2.then((e3) => {
|
|
903
|
-
|
|
904
|
+
se(s2, i2, e3, "superPageRuntimeMessage.successfulOperation", false), P(s2, i2);
|
|
904
905
|
});
|
|
905
906
|
}
|
|
906
907
|
}
|
|
907
|
-
function
|
|
908
|
+
function Ae(e2) {
|
|
908
909
|
const o2 = e2.pageContext, s2 = o2.backendUrl;
|
|
909
910
|
let i2 = t(s2, o2.isTest) + "/dsc/workflow-commons/initiate-extract";
|
|
910
|
-
const a2 =
|
|
911
|
+
const a2 = fe(e2);
|
|
911
912
|
if (o2.completeTaskParam) {
|
|
912
913
|
const t2 = [];
|
|
913
|
-
e2._value.loginName && t2.push(e2._value.loginName), a2.completeTaskParam = { taskId: o2.completeTaskParam.taskId, opinion: e2._value.opinion, transactors: t2, customTaskTitle:
|
|
914
|
+
e2._value.loginName && t2.push(e2._value.loginName), a2.completeTaskParam = { taskId: o2.completeTaskParam.taskId, opinion: e2._value.opinion, transactors: t2, customTaskTitle: ke(e2) };
|
|
914
915
|
}
|
|
915
916
|
return new Promise((t2, o3) => {
|
|
916
917
|
const s3 = e2.pageContext, r2 = s3.systemCode, p2 = s3.backendUrl;
|
|
@@ -918,13 +919,13 @@ function Oe(e2) {
|
|
|
918
919
|
const d2 = c.post(i2, a2);
|
|
919
920
|
d2 && d2.then((n2) => {
|
|
920
921
|
let o4 = true;
|
|
921
|
-
n2 && (o4 =
|
|
922
|
+
n2 && (o4 = ge(n2, false, s3, e2, null)), true === o4 && u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulInitiateExtract") }), t2(true);
|
|
922
923
|
}).catch((e3) => {
|
|
923
924
|
o3(e3);
|
|
924
925
|
});
|
|
925
926
|
});
|
|
926
927
|
}
|
|
927
|
-
function
|
|
928
|
+
function Ee(e2, t2, n2, o2, s2, i2) {
|
|
928
929
|
var _a, _b, _c, _d, _e2, _f, _g, _h;
|
|
929
930
|
let a2 = false;
|
|
930
931
|
if (o2 && o2.archival) return a2;
|
|
@@ -993,7 +994,7 @@ function Ae(e2, t2, n2, o2, s2, i2) {
|
|
|
993
994
|
const o3 = m(), s3 = o3 ? o3.loginName : null;
|
|
994
995
|
if ("EXTRACT" === (e3 == null ? void 0 : e3.processState) && n3 && (n3.creator === s3 || n3.CREATOR === s3)) return true;
|
|
995
996
|
return false;
|
|
996
|
-
}(n2, 0, i2) : "approveExtractWorkflow" === t2 || "refuseExtractWorkflow" === t2 ? a2 =
|
|
997
|
+
}(n2, 0, i2) : "approveExtractWorkflow" === t2 || "refuseExtractWorkflow" === t2 ? a2 = Ue(n2) : "addTransactor" === t2 || "removeTransactor" === t2 ? a2 = function(e3) {
|
|
997
998
|
if (e3.processState && "SUBMIT" === e3.processState && ("WAIT_TRANSACT" === e3.active || "DRAW_WAIT" === e3.active) && "COUNTERSIGN" !== e3.processingMode) return true;
|
|
998
999
|
return false;
|
|
999
1000
|
}(n2) : function(e3, t3) {
|
|
@@ -1024,22 +1025,22 @@ function Ae(e2, t2, n2, o2, s2, i2) {
|
|
|
1024
1025
|
}
|
|
1025
1026
|
return a2;
|
|
1026
1027
|
}
|
|
1027
|
-
function
|
|
1028
|
+
function Ue(e2, t2, n2) {
|
|
1028
1029
|
return !(!e2.processState || "EXTRACT" !== e2.processState || "WAIT_TRANSACT" !== e2.active);
|
|
1029
1030
|
}
|
|
1030
|
-
function
|
|
1031
|
-
e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true,
|
|
1031
|
+
function _e(e2, t2) {
|
|
1032
|
+
e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, je(e2, t2).then((t3) => {
|
|
1032
1033
|
e2.isRefresh = true;
|
|
1033
1034
|
});
|
|
1034
1035
|
}
|
|
1035
|
-
function
|
|
1036
|
+
function je(e2, n2, s2) {
|
|
1036
1037
|
const i2 = e2.pageType;
|
|
1037
1038
|
if (i2 && "form" === i2) {
|
|
1038
1039
|
e2.canClick = false;
|
|
1039
1040
|
return o(e2) ? function(e3, n3, o2) {
|
|
1040
1041
|
return new Promise((s3, i3) => {
|
|
1041
1042
|
var _a;
|
|
1042
|
-
const a2 = e3.systemCode, l2 = e3.code, u2 = e3.version, p2 =
|
|
1043
|
+
const a2 = e3.systemCode, l2 = e3.code, u2 = e3.version, p2 = he(e3);
|
|
1043
1044
|
let d2 = n3 || null, m2 = n3 ? [n3] : null;
|
|
1044
1045
|
void 0 === o2 || o2 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), m2 || (m2 = p2 ? p2.ids : null)) : (d2 = null, m2 = null, p2._id = p2.id, p2.id = null);
|
|
1045
1046
|
const f2 = p2 ? p2.taskId : null, C2 = l2, b2 = { pageCode: l2, pageVersion: u2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, isWorkflowEntity: true, systemCode: a2, functionCode: C2 + ".workflowGets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
|
|
@@ -1050,12 +1051,12 @@ function _e(e2, n2, s2) {
|
|
|
1050
1051
|
t2[n4] = n4;
|
|
1051
1052
|
}), b2.listCodesMap = t2;
|
|
1052
1053
|
}
|
|
1053
|
-
m2 && (b2.ids =
|
|
1054
|
+
m2 && (b2.ids = We(m2)), f2 ? b2.taskId = f2 : d2 ? b2.id = d2 : (p2 && p2._t_ && g(p2._t_ + "_id") && (b2.id = g(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), ((_a = e3.props) == null ? void 0 : _a.enableFormDataPermission) && (b2.withDataPermission = true), b2.isMobile = B();
|
|
1054
1055
|
const w2 = t(e3.backendUrl, e3.isTest) + "/dsc/workflow-commons/gets", T2 = L();
|
|
1055
1056
|
T2.restorePageLoadState(), h(null, e3, e3, "beforeFormLoadData");
|
|
1056
1057
|
const k2 = H(e3.code, b2.id);
|
|
1057
1058
|
c.post(w2, b2).then(async (t2) => {
|
|
1058
|
-
k2 && await
|
|
1059
|
+
k2 && await De(e3, b2.id, t2), e3.workflowOpinion = { showOpinionBox: false }, e3.definitionId = t2.definitionId, e3.entity.task = t2.taskParamMap, e3.dataTypeMaps = t2.dataTypeMap, ge(t2, true, e3), e3.workflowRules = j(e3);
|
|
1059
1060
|
const n4 = e3.pageType;
|
|
1060
1061
|
n4 && "form" === n4 && function(e4) {
|
|
1061
1062
|
(function(e5) {
|
|
@@ -1096,11 +1097,11 @@ function _e(e2, n2, s2) {
|
|
|
1096
1097
|
}(e2, n2, s2) : function(e3, n3, o2) {
|
|
1097
1098
|
return new Promise((s3, i3) => {
|
|
1098
1099
|
var _a;
|
|
1099
|
-
const a2 = e3.systemCode, l2 = e3.code, u2 = e3.version, p2 =
|
|
1100
|
+
const a2 = e3.systemCode, l2 = e3.code, u2 = e3.version, p2 = he(e3);
|
|
1100
1101
|
let d2 = n3 || null, m2 = n3 ? [n3] : null;
|
|
1101
1102
|
void 0 === o2 || o2 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), m2 || (m2 = p2 ? p2.ids : null)) : (d2 = null, m2 = null, p2._id = p2.id, p2.id = null);
|
|
1102
1103
|
const f2 = p2 ? p2.taskId : null, C2 = l2, b2 = t(e3.backendUrl, e3.isTest), w2 = { pageCode: l2, pageVersion: u2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: d2, systemCode: a2, functionCode: C2 + ".gets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
|
|
1103
|
-
if (!w2.id && p2 && p2._t_ && g(p2._t_ + "_id") && (w2.id = g(p2._t_ + "_id")), m2 && (w2.ids =
|
|
1104
|
+
if (!w2.id && p2 && p2._t_ && g(p2._t_ + "_id") && (w2.id = g(p2._t_ + "_id")), m2 && (w2.ids = We(m2)), e3.notIdInitializationList && (w2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (w2.additionalParamMap = p2), e3.beanName && (w2.beanName = e3.beanName), f2 && (w2.taskId = f2), ((_a = e3.props) == null ? void 0 : _a.enableFormDataPermission) && (w2.withDataPermission = true), (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
|
|
1104
1105
|
const t2 = {};
|
|
1105
1106
|
e3.tableUuids.forEach((e4) => {
|
|
1106
1107
|
const n4 = r(l2, u2, e4);
|
|
@@ -1112,7 +1113,7 @@ function _e(e2, n2, s2) {
|
|
|
1112
1113
|
k2.restorePageLoadState(), h(null, e3, e3, "beforeFormLoadData");
|
|
1113
1114
|
const y2 = H(e3.code, w2.id);
|
|
1114
1115
|
c.post(T2, w2).then(async (t2) => {
|
|
1115
|
-
t2 && (y2 && await
|
|
1116
|
+
t2 && (y2 && await De(e3, w2.id, t2), e3.entity.data = t2.entity, e3.initFormNo = t2.formNo);
|
|
1116
1117
|
const n4 = e3.customRules, o3 = e3.rules, i4 = D(e3, n4, o3);
|
|
1117
1118
|
e3.rules = i4, e3.canClick = true, h(null, e3, e3, "afterFormLoadData"), k2.setFormPageDataLoadState(true), s3(t2);
|
|
1118
1119
|
}).catch((t2) => {
|
|
@@ -1125,17 +1126,17 @@ function _e(e2, n2, s2) {
|
|
|
1125
1126
|
e3(true);
|
|
1126
1127
|
});
|
|
1127
1128
|
}
|
|
1128
|
-
async function
|
|
1129
|
+
async function De(e2, t2, n2) {
|
|
1129
1130
|
try {
|
|
1130
1131
|
await p.confirm("检测到您有未保存的数据,是否继续填写上次未保存的数据?", "提示", { confirmButtonText: "是", cancelButtonText: "否", type: "warning" }), n2.entity = G(e2.code, t2, n2.entity);
|
|
1131
1132
|
} catch (e3) {
|
|
1132
1133
|
}
|
|
1133
1134
|
J(e2.code, t2);
|
|
1134
1135
|
}
|
|
1135
|
-
function
|
|
1136
|
+
function We(e2) {
|
|
1136
1137
|
return e2 && ("string" == typeof e2 ? e2 = e2.split(",") : "number" == typeof e2 && (e2 = [e2])), e2;
|
|
1137
1138
|
}
|
|
1138
|
-
function
|
|
1139
|
+
function Le(e2) {
|
|
1139
1140
|
const t2 = e2.props.setValueList;
|
|
1140
1141
|
if (t2) {
|
|
1141
1142
|
if (s(t2) && t2.length > 0) return JSON.stringify(t2);
|
|
@@ -1143,82 +1144,82 @@ function We(e2) {
|
|
|
1143
1144
|
}
|
|
1144
1145
|
return null;
|
|
1145
1146
|
}
|
|
1146
|
-
function
|
|
1147
|
+
function Be(e2, t2) {
|
|
1147
1148
|
const n2 = e2.entity ? e2.entity : {}, o2 = { data: n2.data, page: n2.page }, s2 = { pageCode: e2.code, queryCondition: JSON.stringify(o2), name: t2 }, i2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition";
|
|
1148
1149
|
return c.post(i2, s2);
|
|
1149
1150
|
}
|
|
1150
|
-
function
|
|
1151
|
+
function Fe(e2) {
|
|
1151
1152
|
const t2 = e2.code, n2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/list/" + t2;
|
|
1152
1153
|
return c.get(n2);
|
|
1153
1154
|
}
|
|
1154
|
-
function
|
|
1155
|
+
function Ve(e2) {
|
|
1155
1156
|
const t2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/" + e2;
|
|
1156
1157
|
return c.delete(t2);
|
|
1157
1158
|
}
|
|
1158
|
-
function
|
|
1159
|
-
e2.exportNoticeInfo && (e2.exportNoticeInfo.noticeInterval && clearInterval(e2.exportNoticeInfo.noticeInterval), e2.exportNoticeInfo.noticeComponent = null, e2.exportNoticeInfo.noticeInterval = null), e2.exportNoticeInfo = {},
|
|
1159
|
+
function $e(e2) {
|
|
1160
|
+
e2.exportNoticeInfo && (e2.exportNoticeInfo.noticeInterval && clearInterval(e2.exportNoticeInfo.noticeInterval), e2.exportNoticeInfo.noticeComponent = null, e2.exportNoticeInfo.noticeInterval = null), e2.exportNoticeInfo = {}, He(e2.exportNoticeInfo, e2.backendUrl, e2.code);
|
|
1160
1161
|
}
|
|
1161
|
-
function
|
|
1162
|
+
function qe(e2, n2, o2) {
|
|
1162
1163
|
e2.lastFileTask && !e2.noticeComponent ? e2.noticeComponent = d({ title: l().t("superPageRuntimeMessage.logTip"), duration: 0, position: "top-right", type: "success", onClose() {
|
|
1163
|
-
"Success" === e2.lastFileTask.taskState || "Fail" === e2.lastFileTask.taskState || "PartSuccess" === e2.lastFileTask.taskState ?
|
|
1164
|
+
"Success" === e2.lastFileTask.taskState || "Fail" === e2.lastFileTask.taskState || "PartSuccess" === e2.lastFileTask.taskState ? Je(n2, o2, e2.lastFileTask.id, e2) : (e2.noticeComponent = null, null == e2.noticeInterval && He(e2, n2, o2));
|
|
1164
1165
|
}, message: () => F(V, { isShow: true, backendUrl: n2, lastFileTask: e2.lastFileTask, onClickMsg(s2) {
|
|
1165
1166
|
s2.serverPath ? function(e3, n3, o3, s3, i2, a2) {
|
|
1166
|
-
|
|
1167
|
+
Je(i2, a2, o3, s3);
|
|
1167
1168
|
const r2 = f(), c2 = t(i2), l2 = c2 + "/common/super-form/downloads?jwt=" + r2 + "&showName=" + encodeURI(e3) + "&serverPath=" + n3;
|
|
1168
1169
|
window.open(l2);
|
|
1169
|
-
}(s2.fileName, s2.serverPath, s2.id, e2, n2, o2) :
|
|
1170
|
+
}(s2.fileName, s2.serverPath, s2.id, e2, n2, o2) : Je(n2, o2, s2.id, e2), e2.noticeComponent.close(), e2.noticeComponent = null;
|
|
1170
1171
|
} }) }) : (null != e2.noticeComponent && (e2.noticeComponent.close(), e2.noticeComponent = null), e2.noticeInterval && (clearInterval(e2.noticeInterval), e2.noticeInterval = null));
|
|
1171
1172
|
}
|
|
1172
|
-
function
|
|
1173
|
+
function He(e2, t2, n2) {
|
|
1173
1174
|
e2.noticeInterval || (e2.noticeInterval = setInterval(() => {
|
|
1174
1175
|
e2.noticeComponent || function(e3, t3, n3) {
|
|
1175
|
-
|
|
1176
|
-
e3.lastFileTask = o2,
|
|
1176
|
+
Ge(t3, n3).then((o2) => {
|
|
1177
|
+
e3.lastFileTask = o2, qe(e3, t3, n3);
|
|
1177
1178
|
});
|
|
1178
1179
|
}(e2, t2, n2);
|
|
1179
1180
|
}, 3e3));
|
|
1180
1181
|
}
|
|
1181
|
-
function
|
|
1182
|
+
function Ge(e2, t2) {
|
|
1182
1183
|
return U(e2, t2);
|
|
1183
1184
|
}
|
|
1184
|
-
function
|
|
1185
|
+
function Je(e2, t2, n2, o2) {
|
|
1185
1186
|
_(e2, n2).then(() => {
|
|
1186
1187
|
!function(e3, t3, n3) {
|
|
1187
|
-
|
|
1188
|
-
e3.lastFileTask = o3,
|
|
1188
|
+
Ge(t3, n3).then((o3) => {
|
|
1189
|
+
e3.lastFileTask = o3, qe(e3, t3, n3);
|
|
1189
1190
|
});
|
|
1190
1191
|
}(o2, e2, t2);
|
|
1191
1192
|
});
|
|
1192
1193
|
}
|
|
1193
1194
|
export {
|
|
1194
1195
|
Q as checkAndTipFileUploading,
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1196
|
+
se as dealAfterOperate,
|
|
1197
|
+
ge as dealCompleteTaskParam,
|
|
1198
|
+
Ve as deleteChartCondition,
|
|
1199
|
+
ye as doAddSigner,
|
|
1200
|
+
Pe as doAddTransactor,
|
|
1201
|
+
we as doAssign,
|
|
1202
|
+
ve as doCreateCopyTask,
|
|
1203
|
+
$e as doFileTaskFunc,
|
|
1204
|
+
de as doImportFinally,
|
|
1205
|
+
xe as doRemoveSigners,
|
|
1206
|
+
Oe as doRemoveTransactors,
|
|
1207
|
+
Re as doReturnTaskTo,
|
|
1207
1208
|
K as exportFormReport,
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1209
|
+
Ae as extractWorkflowFunc,
|
|
1210
|
+
he as getAdditionalParamMap,
|
|
1211
|
+
je as getFormData,
|
|
1212
|
+
Me as getRemoveSigner,
|
|
1213
|
+
Ne as getRemoveTransactor,
|
|
1213
1214
|
ne as getSaveFormRequest,
|
|
1214
1215
|
te as getSaveFormRequestWithRow,
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1216
|
+
Se as getTaskInformitions,
|
|
1217
|
+
Ee as isVisibleWorkflowButton,
|
|
1218
|
+
me as judgeDataNumber,
|
|
1219
|
+
Fe as listChartConditions,
|
|
1220
|
+
ue as refreshFormOrListPage,
|
|
1221
|
+
_e as refreshPage,
|
|
1222
|
+
Be as saveChartConditionBase,
|
|
1222
1223
|
Y as standardEvents,
|
|
1223
|
-
|
|
1224
|
+
ce as updateValuesWhenCloseDialog
|
|
1224
1225
|
};
|