super-page-runtime 2.3.14-sit4 → 2.3.15-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/event-util.js +26 -26
- package/dist/es/components/runtime/utils/events/standard-event.d.ts +5 -0
- package/dist/es/components/runtime/utils/events/standard-event.js +140 -91
- package/dist/es/components/runtime/utils/page-permission-util.js +1 -1
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +11 -18
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +26 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +23 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +35 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +18 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +64 -55
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/super-page.vue2.js +164 -152
- package/dist/es/i18n/langs/cn.js +1 -1
- package/dist/es/i18n/langs/en.js +1 -1
- package/dist/es/style.css +76 -76
- package/package.json +3 -2
|
@@ -6,10 +6,10 @@ import { getCurrentUser as d, getToken as m, getSessionCache as f, getRunCurrent
|
|
|
6
6
|
import { getComponentRef as b } from "../global-refs.js";
|
|
7
7
|
import T from "../eventBus.js";
|
|
8
8
|
import w from "axios";
|
|
9
|
-
import { handleEvent as k, getTableUuid as
|
|
9
|
+
import { handleEvent as k, getTableUuid as y, doAfterClickEvent as h } from "./event-util.js";
|
|
10
10
|
import { setStoreInfo as P } from "../store-util.js";
|
|
11
|
-
import { getPermissionCodes as S, getDefaultValue as R, getModelFields as
|
|
12
|
-
import { updateChartDatasources as
|
|
11
|
+
import { getPermissionCodes as S, getDefaultValue as R, getModelFields as v } from "../page-init-util.js";
|
|
12
|
+
import { updateChartDatasources as M, caculateShowCondition as I, getVariableValue as N, setVariableValue as x } from "../page-helper-util.js";
|
|
13
13
|
import A from "./print-label.js";
|
|
14
14
|
import { getTableNameByTableUuid as E } from "../table-utils.js";
|
|
15
15
|
import { getWorkflowRules as O, packageCustomRules as U } from "./validator-util.js";
|
|
@@ -52,10 +52,10 @@ const D = { save: function(e2) {
|
|
|
52
52
|
g2 = o(g2, p2, d2, r2.isTest);
|
|
53
53
|
const C2 = void 0 === l2.isPermission || "true" === l2.isPermission || l2.isPermission, T2 = t(r2), w2 = S(u2, r2), k2 = { ids: i2, functionCode: w2, isPermission: C2 + "", systemCode: p2, isWorkflowEntity: T2, listCodesMap: r2.listCodesMap, pageCode: r2.code, pageVersion: r2.version };
|
|
54
54
|
r2.beanName && (k2.beanName = r2.beanName);
|
|
55
|
-
const
|
|
56
|
-
|
|
57
|
-
const
|
|
58
|
-
|
|
55
|
+
const y2 = u2.props.deleteLogicSetting;
|
|
56
|
+
y2 && ("object" == typeof y2 ? k2.deleteLogicSetting = JSON.stringify(y2) : "string" == typeof y2 && (k2.deleteLogicSetting = y2));
|
|
57
|
+
const h2 = (_a = u2.props.base) == null ? void 0 : _a.logSetting;
|
|
58
|
+
h2 && (k2.logSettingText = h2.join(""));
|
|
59
59
|
const P2 = u2.props.base.isSafeDelete;
|
|
60
60
|
P2 && (k2.isSafeDelete = P2), c.delete(g2, { data: k2 }).then((e4) => {
|
|
61
61
|
const t2 = b(r2, m2);
|
|
@@ -95,8 +95,8 @@ const D = { save: function(e2) {
|
|
|
95
95
|
if (o2) {
|
|
96
96
|
d2 += "&isPermission=" + (void 0 === o2.isPermission || "true" === o2.isPermission || o2.isPermission);
|
|
97
97
|
}
|
|
98
|
-
const
|
|
99
|
-
window.open(
|
|
98
|
+
const y2 = n(l2, t2.isTest);
|
|
99
|
+
window.open(y2 + "/dsc/commons/download-files" + d2);
|
|
100
100
|
}(e2);
|
|
101
101
|
}, import: function(e2) {
|
|
102
102
|
const t2 = e2.pageContext.code + "_";
|
|
@@ -200,22 +200,22 @@ const D = { save: function(e2) {
|
|
|
200
200
|
}, drawTask: function(e2) {
|
|
201
201
|
return function(e3) {
|
|
202
202
|
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/draw-tasks", a2 = te(e3);
|
|
203
|
-
return
|
|
203
|
+
return de(e3, a2, o2, "superPageRuntimeMessage.successfulDrawTask");
|
|
204
204
|
}(e2);
|
|
205
205
|
}, abandonReceive: function(e2) {
|
|
206
206
|
return function(e3) {
|
|
207
207
|
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/abandon-receives", a2 = te(e3);
|
|
208
|
-
return
|
|
208
|
+
return de(e3, a2, o2, "superPageRuntimeMessage.successfulAbandonReceive");
|
|
209
209
|
}(e2);
|
|
210
210
|
}, returnToPreviousTask: function(e2) {
|
|
211
211
|
return function(e3) {
|
|
212
212
|
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", a2 = te(e3);
|
|
213
|
-
return
|
|
213
|
+
return de(e3, a2, o2, "superPageRuntimeMessage.successfulReturnToPreviousTask");
|
|
214
214
|
}(e2);
|
|
215
215
|
}, endInstance: function(e2) {
|
|
216
216
|
return function(e3) {
|
|
217
217
|
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/end-instance", a2 = te(e3);
|
|
218
|
-
return
|
|
218
|
+
return de(e3, a2, o2, "superPageRuntimeMessage.successfulEndInstance");
|
|
219
219
|
}(e2);
|
|
220
220
|
}, returnTaskTo: function(e2) {
|
|
221
221
|
return function(e3) {
|
|
@@ -230,7 +230,7 @@ const D = { save: function(e2) {
|
|
|
230
230
|
}, retrieveTask: function(e2) {
|
|
231
231
|
return function(e3) {
|
|
232
232
|
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/retrieves", a2 = te(e3);
|
|
233
|
-
return
|
|
233
|
+
return de(e3, a2, o2, "superPageRuntimeMessage.successfulRetrieve");
|
|
234
234
|
}(e2);
|
|
235
235
|
}, extractWorkflow: function(e2) {
|
|
236
236
|
return function(e3) {
|
|
@@ -256,17 +256,17 @@ const D = { save: function(e2) {
|
|
|
256
256
|
}, cancelExtractWorkflow: function(e2) {
|
|
257
257
|
return function(e3) {
|
|
258
258
|
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/cancel-extract", a2 = te(e3);
|
|
259
|
-
return
|
|
259
|
+
return de(e3, a2, o2, "superPageRuntimeMessage.successfulCancelExtract");
|
|
260
260
|
}(e2);
|
|
261
261
|
}, approveExtractWorkflow: function(e2) {
|
|
262
262
|
return function(e3) {
|
|
263
263
|
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/approve-extract", a2 = te(e3);
|
|
264
|
-
return
|
|
264
|
+
return de(e3, a2, o2, "superPageRuntimeMessage.successfulOperation");
|
|
265
265
|
}(e2);
|
|
266
266
|
}, refuseExtractWorkflow: function(e2) {
|
|
267
267
|
return function(e3) {
|
|
268
268
|
const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/refuse-extract", a2 = te(e3);
|
|
269
|
-
return
|
|
269
|
+
return de(e3, a2, o2, "superPageRuntimeMessage.successfulOperation");
|
|
270
270
|
}(e2);
|
|
271
271
|
}, viewDetail: function(e2) {
|
|
272
272
|
}, lineEditCreate: function(e2) {
|
|
@@ -327,6 +327,16 @@ const D = { save: function(e2) {
|
|
|
327
327
|
const t2 = e3.pageContext, s2 = e3.configureObj, n2 = t2.code + "_";
|
|
328
328
|
T.$emit(n2 + "save-chart-condition", { pageContext: t2, configureObj: s2 });
|
|
329
329
|
}(e2);
|
|
330
|
+
}, addTransactor: function(e2) {
|
|
331
|
+
return function(e3) {
|
|
332
|
+
const t2 = e3.pageContext, s2 = t2.code + "_";
|
|
333
|
+
T.$emit(s2 + "add-transactor", e3);
|
|
334
|
+
}(e2);
|
|
335
|
+
}, removeTransactor: function(e2) {
|
|
336
|
+
return function(e3) {
|
|
337
|
+
const t2 = e3.pageContext, s2 = t2.code + "_";
|
|
338
|
+
T.$emit(s2 + "remove-transactor", e3);
|
|
339
|
+
}(e2);
|
|
330
340
|
} };
|
|
331
341
|
function W(e2) {
|
|
332
342
|
const t2 = e2.pageContext, s2 = t2.initChartServiceConfigs;
|
|
@@ -335,7 +345,7 @@ function W(e2) {
|
|
|
335
345
|
let o2 = null;
|
|
336
346
|
n2 && n2.runtime && (o2 = n2.runtime.props);
|
|
337
347
|
const a2 = o2 ? o2.state : void 0;
|
|
338
|
-
o2 && (o2.state = "disabled"),
|
|
348
|
+
o2 && (o2.state = "disabled"), M(t2, s2, void 0, e2.isInitChart).then(() => {
|
|
339
349
|
o2 && (o2.state = a2);
|
|
340
350
|
}).catch(() => {
|
|
341
351
|
o2 && (o2.state = a2);
|
|
@@ -374,7 +384,7 @@ function L(e2, s2, o2, a2) {
|
|
|
374
384
|
});
|
|
375
385
|
});
|
|
376
386
|
}(r2, f2, b2, e2.isTest), k2 && k2.then(() => {
|
|
377
|
-
|
|
387
|
+
h(e2, s2);
|
|
378
388
|
}).catch((e3) => {
|
|
379
389
|
});
|
|
380
390
|
}
|
|
@@ -391,7 +401,7 @@ function F(e2, t2) {
|
|
|
391
401
|
const o2 = e2.pageContext, a2 = e2.configureObj, i2 = e2.mainDefaultValueColumns, r2 = e2.dynamicColumnInfo, c2 = a2.props.base.successOperation;
|
|
392
402
|
let u2 = false;
|
|
393
403
|
c2 && "noOperation" === c2 && (u2 = true);
|
|
394
|
-
const l2 =
|
|
404
|
+
const l2 = $(o2, a2, "/dsc/commons", u2, i2, r2);
|
|
395
405
|
l2 ? l2.then((e3) => {
|
|
396
406
|
H(o2, a2, e3, "superPageRuntimeMessage.successfulSave", t2), s2(e3);
|
|
397
407
|
}).catch((e3) => {
|
|
@@ -408,7 +418,7 @@ function V(e2, n2, o2, a2, i2, r2, c2) {
|
|
|
408
418
|
r2 && (f2.ids = r2), e2.judgeHeavyList && (s(e2.judgeHeavyList) ? f2.judgeHeavyList = JSON.stringify(e2.judgeHeavyList) : f2.judgeHeavyList = e2.judgeHeavyList);
|
|
409
419
|
const g2 = n2.props.base.conversionCodes;
|
|
410
420
|
g2 && (s(g2) ? f2.dataConversionRule = g2.join(",") : "string" == typeof g2 && (f2.dataConversionRule = g2));
|
|
411
|
-
const C2 =
|
|
421
|
+
const C2 = Se(n2);
|
|
412
422
|
C2 && (f2.autoSetValueData = C2);
|
|
413
423
|
const b2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
|
|
414
424
|
b2 && (f2.logSettingText = b2.join("")), f2.systemCode || (f2.systemCode = l2);
|
|
@@ -417,7 +427,7 @@ function V(e2, n2, o2, a2, i2, r2, c2) {
|
|
|
417
427
|
const w2 = ce(e2);
|
|
418
428
|
return f2.additionalParamMap = w2, void 0 !== o2 && (f2.unControlVersion = o2), f2;
|
|
419
429
|
}
|
|
420
|
-
function
|
|
430
|
+
function q(e2, t2, s2, a2, i2, r2, u2, l2) {
|
|
421
431
|
const p2 = e2.systemCode, d2 = e2.backendUrl, m2 = V(e2, t2, a2, i2, r2, null, u2);
|
|
422
432
|
return l2 && l2.tableName && (m2.tableName = l2.tableName), function(e3, t3, s3, a3, i3, r3) {
|
|
423
433
|
const u3 = n(t3, r3);
|
|
@@ -426,14 +436,14 @@ function $(e2, t2, s2, a2, i2, r2, u2, l2) {
|
|
|
426
436
|
return l3;
|
|
427
437
|
}(p2, d2, m2, s2, e2.entity.data, e2.isTest);
|
|
428
438
|
}
|
|
429
|
-
function
|
|
430
|
-
return
|
|
439
|
+
function $(e2, t2, s2, n2, o2, a2) {
|
|
440
|
+
return q(e2, t2, s2, n2, o2, a2, null, null);
|
|
431
441
|
}
|
|
432
442
|
function H(t2, s2, n2, o2, a2) {
|
|
433
|
-
const i2 =
|
|
443
|
+
const i2 = J(t2, s2, a2);
|
|
434
444
|
if (i2 && "list" === i2) !function(t3, s3, n3, o3) {
|
|
435
445
|
let a3 = s3.props.base.successOperation;
|
|
436
|
-
const i3 = s3.props.base.isNeedValueMapping, r2 =
|
|
446
|
+
const i3 = s3.props.base.isNeedValueMapping, r2 = y(t3, s3);
|
|
437
447
|
a3 || K.includes(s3.name) || (a3 = "refresh");
|
|
438
448
|
if ("refresh" === a3) {
|
|
439
449
|
if (r2) {
|
|
@@ -451,29 +461,29 @@ function H(t2, s2, n2, o2, a2) {
|
|
|
451
461
|
const n4 = s3;
|
|
452
462
|
let o3;
|
|
453
463
|
o3 = n4.entity ? n4.entity : n4, n4.formNo && (e2.initFormNo = n4.formNo);
|
|
454
|
-
|
|
464
|
+
G(e2, t3, { ...o3, ...e2.entity.page });
|
|
455
465
|
} else {
|
|
456
466
|
const s4 = t3.props.base.successOperation;
|
|
457
467
|
if (s4 && null !== s4) {
|
|
458
|
-
|
|
468
|
+
G(e2, t3, { ...e2.entity.page });
|
|
459
469
|
} else e2.canClick = true;
|
|
460
470
|
}
|
|
461
471
|
n3 && l({ message: u().t(n3), type: "success", showClose: true });
|
|
462
472
|
}(t2, s2, n2, o2);
|
|
463
473
|
else {
|
|
464
474
|
const e2 = s2.props.base.successOperation;
|
|
465
|
-
e2 && null !== e2 ?
|
|
475
|
+
e2 && null !== e2 ? G(t2, s2, null) : t2.canClick = true;
|
|
466
476
|
}
|
|
467
477
|
}
|
|
468
|
-
function
|
|
478
|
+
function J(e2, t2, s2) {
|
|
469
479
|
let n2;
|
|
470
480
|
return void 0 === s2 ? n2 = t2.props.base.tableUuid ? "list" : null : false === s2 && (n2 = "form"), n2 || (n2 = e2.pageType), n2;
|
|
471
481
|
}
|
|
472
|
-
function
|
|
482
|
+
function G(e2, t2, s2) {
|
|
473
483
|
const n2 = t2.props.base.successOperation;
|
|
474
484
|
if (!n2 || null === n2) return;
|
|
475
485
|
const o2 = t2.props.base.isNeedValueMapping;
|
|
476
|
-
"noOperation" === n2 ? e2.canClick = true : "refresh" === n2 ? s2 && (s2.id || s2.ID) ?
|
|
486
|
+
"noOperation" === n2 ? e2.canClick = true : "refresh" === n2 ? s2 && (s2.id || s2.ID) ? ye(e2, s2.ID ? s2.ID : s2.id) : e2.canClick = true : "closeWindow" !== n2 && "closeWindowAndRefresh" !== n2 || (Y(e2, t2, s2, o2), e2.canClick = true);
|
|
477
487
|
}
|
|
478
488
|
function Y(e2, t2, s2, n2) {
|
|
479
489
|
const o2 = e2.entity && e2.entity.request ? e2.entity.request.jumpMode : null;
|
|
@@ -493,7 +503,7 @@ function z(e2, t2, s2, n2, o2) {
|
|
|
493
503
|
Array.isArray(e3) && e3.length > 0 && (n3 = e3[0]), t3.forEach((e4) => {
|
|
494
504
|
const t4 = e4.source;
|
|
495
505
|
if (!t4) return;
|
|
496
|
-
const o3 = t4.split("."), a3 =
|
|
506
|
+
const o3 = t4.split("."), a3 = N(n3, o3), i2 = e4.target, r2 = v(null, i2);
|
|
497
507
|
x(s3.entity, r2, a3);
|
|
498
508
|
});
|
|
499
509
|
}
|
|
@@ -505,16 +515,16 @@ function X(e2, t2, s2, n2) {
|
|
|
505
515
|
t2 && !t2.props.base && (t2.props.base = {});
|
|
506
516
|
let o2 = n2;
|
|
507
517
|
o2 || (o2 = s2 ? "refresh" : (_a = t2.props.base) == null ? void 0 : _a.successOperation);
|
|
508
|
-
const a2 =
|
|
518
|
+
const a2 = J(e2, t2);
|
|
509
519
|
if (a2 && "list" === a2 && !o2 && (o2 = "refresh"), "refresh" === o2) {
|
|
510
520
|
if (a2 && "list" === a2) {
|
|
511
|
-
const s3 =
|
|
521
|
+
const s3 = y(e2, t2);
|
|
512
522
|
if (s3) {
|
|
513
523
|
b(e2, s3).refresh();
|
|
514
524
|
}
|
|
515
525
|
} else if (a2 && "form" === a2) {
|
|
516
526
|
const t3 = e2.entity.data;
|
|
517
|
-
|
|
527
|
+
ye(e2, t3.ID ? t3.ID : t3.id);
|
|
518
528
|
}
|
|
519
529
|
}
|
|
520
530
|
}
|
|
@@ -560,7 +570,7 @@ function Z(e2, s2) {
|
|
|
560
570
|
g2 && f2.append("importDuplicateRule", g2);
|
|
561
571
|
const C2 = a2.judgeHeavyList;
|
|
562
572
|
C2 && f2.append("judgeHeavyList", JSON.stringify(C2));
|
|
563
|
-
const b2 =
|
|
573
|
+
const b2 = Se(i2);
|
|
564
574
|
b2 && f2.append("autoSetValueData", b2);
|
|
565
575
|
const T2 = a2.formNoRuleCode;
|
|
566
576
|
T2 && f2.append("formNoRuleCode", T2);
|
|
@@ -568,23 +578,23 @@ function Z(e2, s2) {
|
|
|
568
578
|
w2 && f2.append("listCode", w2);
|
|
569
579
|
let k2 = false;
|
|
570
580
|
k2 = void 0 !== p2.isAsync && null !== p2.isAsync && p2.isAsync, f2.append("isAsync", k2 + ""), f2.append("pageCode", a2.code);
|
|
571
|
-
const
|
|
572
|
-
null !=
|
|
581
|
+
const y2 = t(a2);
|
|
582
|
+
null != y2 && f2.append("isWorkflowEntity", y2 + "");
|
|
573
583
|
const P2 = S(i2, a2);
|
|
574
584
|
P2 && f2.append("functionCode", P2);
|
|
575
585
|
const R2 = ce(a2);
|
|
576
586
|
f2.append("additionalParamMapStr", JSON.stringify(R2));
|
|
577
|
-
const
|
|
578
|
-
f2.append("isPermission",
|
|
579
|
-
const
|
|
580
|
-
|
|
587
|
+
const v2 = void 0 === p2.isPermission || "true" === p2.isPermission || p2.isPermission;
|
|
588
|
+
f2.append("isPermission", v2 + "");
|
|
589
|
+
const M2 = a2.systemCode;
|
|
590
|
+
M2 && f2.append("systemCode", M2);
|
|
581
591
|
const I2 = a2.backendUrl;
|
|
582
|
-
let
|
|
583
|
-
|
|
592
|
+
let N2 = n(I2, a2.isTest) + "/dsc/commons/import-data";
|
|
593
|
+
N2 = o(N2, M2, I2, a2.isTest), c.post(N2, f2).then((e3) => {
|
|
584
594
|
if (k2) l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.asyncImport") });
|
|
585
595
|
else {
|
|
586
596
|
let t2 = false;
|
|
587
|
-
e3 ? (t2 = false, l({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e3 })) : (l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulImport") }), t2 = true), H(a2, i2, e3, null, true), a2.result = t2,
|
|
597
|
+
e3 ? (t2 = false, l({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e3 })) : (l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulImport") }), t2 = true), H(a2, i2, e3, null, true), a2.result = t2, h(a2, i2);
|
|
588
598
|
}
|
|
589
599
|
}).catch((e3) => {
|
|
590
600
|
});
|
|
@@ -607,7 +617,7 @@ function te(e2) {
|
|
|
607
617
|
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);
|
|
608
618
|
const u2 = n2.props.base.conversionCodes;
|
|
609
619
|
u2 && (s(u2) ? c2.dataConversionRule = u2.join(",") : "string" == typeof u2 && (c2.dataConversionRule = u2));
|
|
610
|
-
const l2 =
|
|
620
|
+
const l2 = Se(n2);
|
|
611
621
|
l2 && (c2.autoSetValueData = l2), t2.beanName && (c2.beanName = t2.beanName);
|
|
612
622
|
const p2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
|
|
613
623
|
p2 && (c2.logSettingText = p2.join("")), c2.systemCode || (c2.systemCode = a2);
|
|
@@ -680,8 +690,8 @@ function oe(e2) {
|
|
|
680
690
|
function ae(e2, t2) {
|
|
681
691
|
if (t2) {
|
|
682
692
|
const s2 = e2.pageContext, o2 = e2.configureObj, a2 = s2.backendUrl, i2 = n(a2, s2.isTest) + "/dsc/workflow-commons/assigns", r2 = t2.id ? t2.id : t2.ID ? t2.ID : null, c2 = te(e2);
|
|
683
|
-
c2.assigneeId = r2,
|
|
684
|
-
|
|
693
|
+
c2.assigneeId = r2, de(e2, c2, i2, "superPageRuntimeMessage.successfulAssign").then((e3) => {
|
|
694
|
+
h(s2, o2);
|
|
685
695
|
});
|
|
686
696
|
}
|
|
687
697
|
}
|
|
@@ -724,11 +734,24 @@ function ue(e2, t2) {
|
|
|
724
734
|
d2.completeTaskParam.transactors = t2.loginNames.join(",").split(",");
|
|
725
735
|
const m2 = c.post(p2, d2);
|
|
726
736
|
m2 && m2.then((e3) => {
|
|
727
|
-
l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && H(s2, a2, e3, null, false),
|
|
737
|
+
l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && H(s2, a2, e3, null, false), h(s2, a2);
|
|
738
|
+
});
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
function le(e2, t2) {
|
|
742
|
+
if (t2) {
|
|
743
|
+
const s2 = e2.pageContext, a2 = e2.configureObj, i2 = s2.systemCode, r2 = s2.backendUrl;
|
|
744
|
+
let p2 = n(r2, s2.isTest) + "/dsc/workflow-commons/add-transactors";
|
|
745
|
+
if (p2 = o(p2, i2, r2, s2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
746
|
+
const d2 = ie(e2);
|
|
747
|
+
d2.completeTaskParam.transactors = t2.loginNames.join(",").split(",");
|
|
748
|
+
const m2 = c.post(p2, d2);
|
|
749
|
+
m2 && m2.then((e3) => {
|
|
750
|
+
l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && H(s2, a2, e3, null, false), h(s2, a2);
|
|
728
751
|
});
|
|
729
752
|
}
|
|
730
753
|
}
|
|
731
|
-
async function
|
|
754
|
+
async function pe(e2, t2) {
|
|
732
755
|
if (t2) {
|
|
733
756
|
const s2 = await function(e3) {
|
|
734
757
|
return new Promise((t3, s3) => {
|
|
@@ -757,12 +780,12 @@ async function le(e2, t2) {
|
|
|
757
780
|
m2.completeTaskParam.transactors = t2.loginNames.join(",").split(","), true !== s2 && (m2.completeTaskParam.remark = s2);
|
|
758
781
|
const f2 = c.post(d2, m2);
|
|
759
782
|
f2 && f2.then((e3) => {
|
|
760
|
-
l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }),
|
|
783
|
+
l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), h(a2, i2);
|
|
761
784
|
});
|
|
762
785
|
}
|
|
763
786
|
}
|
|
764
787
|
}
|
|
765
|
-
async function
|
|
788
|
+
async function de(e2, t2, s2, n2) {
|
|
766
789
|
const a2 = await oe(e2);
|
|
767
790
|
return new Promise((i2, r2) => {
|
|
768
791
|
var _a;
|
|
@@ -783,27 +806,27 @@ async function pe(e2, t2, s2, n2) {
|
|
|
783
806
|
} else i2(true);
|
|
784
807
|
});
|
|
785
808
|
}
|
|
786
|
-
function
|
|
809
|
+
function me(e2) {
|
|
787
810
|
const t2 = e2.pageContext, s2 = t2.systemCode, a2 = t2.backendUrl, i2 = t2.completeTaskParam;
|
|
788
811
|
let r2 = n(a2, t2.isTest) + "/dsc/workflow-commons/returnable-task/" + i2.taskId;
|
|
789
812
|
if (r2 = o(r2, s2, a2, t2.isTest), !r2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
790
813
|
const p2 = t2.code, d2 = ce(t2), m2 = { beanName: t2.beanName, additionalParamMap: d2, tableName: t2.tableName, functionCode: p2 + ".xxx" };
|
|
791
814
|
return c.post(r2, m2);
|
|
792
815
|
}
|
|
793
|
-
function
|
|
816
|
+
function fe(e2, t2) {
|
|
794
817
|
const s2 = e2.pageContext, o2 = e2.configureObj, a2 = s2.backendUrl, i2 = n(a2, s2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 = te(e2);
|
|
795
|
-
t2.nodeName && (r2.returnToNodeName = t2.nodeName), t2.nodeId && (r2.returnToNodeId = t2.nodeId),
|
|
796
|
-
|
|
818
|
+
t2.nodeName && (r2.returnToNodeName = t2.nodeName), t2.nodeId && (r2.returnToNodeId = t2.nodeId), de(e2, r2, i2, "superPageRuntimeMessage.successfulReturnTaskTo").then((e3) => {
|
|
819
|
+
h(s2, o2);
|
|
797
820
|
});
|
|
798
821
|
}
|
|
799
|
-
function
|
|
822
|
+
function ge(e2) {
|
|
800
823
|
const t2 = e2.pageContext, s2 = t2.systemCode, a2 = t2.backendUrl;
|
|
801
824
|
let i2 = n(a2, t2.isTest) + "/dsc/workflow-commons/get-remove-signers";
|
|
802
825
|
const r2 = te(e2);
|
|
803
826
|
if (i2 = o(i2, s2, a2, t2.isTest), i2) return c.post(i2, r2);
|
|
804
827
|
l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
805
828
|
}
|
|
806
|
-
function
|
|
829
|
+
function Ce(e2, t2) {
|
|
807
830
|
if (t2) {
|
|
808
831
|
const s2 = e2.pageContext, a2 = e2.configureObj, i2 = s2.systemCode, r2 = s2.backendUrl;
|
|
809
832
|
let p2 = n(r2, s2.isTest) + "/dsc/workflow-commons/remove-signers";
|
|
@@ -812,11 +835,31 @@ function ge(e2, t2) {
|
|
|
812
835
|
m2.ids = d2;
|
|
813
836
|
const f2 = c.post(p2, m2);
|
|
814
837
|
f2 && f2.then((e3) => {
|
|
815
|
-
H(s2, a2, e3, "superPageRuntimeMessage.successfulOperation", false),
|
|
838
|
+
H(s2, a2, e3, "superPageRuntimeMessage.successfulOperation", false), h(s2, a2);
|
|
816
839
|
});
|
|
817
840
|
}
|
|
818
841
|
}
|
|
819
|
-
function
|
|
842
|
+
function be(e2) {
|
|
843
|
+
const t2 = e2.pageContext, s2 = t2.systemCode, a2 = t2.backendUrl;
|
|
844
|
+
let i2 = n(a2, t2.isTest) + "/dsc/workflow-commons/get-remove-transactors";
|
|
845
|
+
const r2 = te(e2);
|
|
846
|
+
if (i2 = o(i2, s2, a2, t2.isTest), i2) return c.post(i2, r2);
|
|
847
|
+
l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
848
|
+
}
|
|
849
|
+
function Te(e2, t2) {
|
|
850
|
+
if (t2) {
|
|
851
|
+
const s2 = e2.pageContext, a2 = e2.configureObj, i2 = s2.systemCode, r2 = s2.backendUrl;
|
|
852
|
+
let p2 = n(r2, s2.isTest) + "/dsc/workflow-commons/remove-transactors";
|
|
853
|
+
if (p2 = o(p2, i2, r2, s2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
854
|
+
const d2 = t2.map((e3) => e3.taskId), m2 = te(e2);
|
|
855
|
+
m2.ids = d2;
|
|
856
|
+
const f2 = c.post(p2, m2);
|
|
857
|
+
f2 && f2.then((e3) => {
|
|
858
|
+
H(s2, a2, e3, "superPageRuntimeMessage.successfulOperation", false), h(s2, a2);
|
|
859
|
+
});
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
function we(e2, t2, s2, n2, o2) {
|
|
820
863
|
let a2 = false;
|
|
821
864
|
return e2 && t2 && ("workflowSave" === e2 ? a2 = function(e3) {
|
|
822
865
|
if ((void 0 === e3.processState || null === e3.processState || "UNSUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active) && (void 0 === e3.processState || true === e3.showButtonSave)) return true;
|
|
@@ -852,10 +895,10 @@ function Ce(e2, t2, s2, n2, o2) {
|
|
|
852
895
|
t3 && (t3.props.base.state = s3 ? "" : "hidden");
|
|
853
896
|
return true;
|
|
854
897
|
}(t2, n2) : "addSigner" === e2 ? a2 = function(e3) {
|
|
855
|
-
if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active &&
|
|
898
|
+
if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "COUNTERSIGN" === e3.processingMode && e3.showButtonAddCounter) return true;
|
|
856
899
|
return false;
|
|
857
900
|
}(t2) : "removeSigner" === e2 ? a2 = function(e3) {
|
|
858
|
-
if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active &&
|
|
901
|
+
if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "COUNTERSIGN" === e3.processingMode && e3.showButtonDelCounter) return true;
|
|
859
902
|
return false;
|
|
860
903
|
}(t2) : "retrieveTask" === e2 ? a2 = function(e3) {
|
|
861
904
|
if (e3.processState && "SUBMIT" === e3.processState && function(e4) {
|
|
@@ -883,7 +926,10 @@ function Ce(e2, t2, s2, n2, o2) {
|
|
|
883
926
|
const n3 = d(), o3 = n3 ? n3.loginName : null;
|
|
884
927
|
if ("EXTRACT" === (e3 == null ? void 0 : e3.processState) && s3 && (s3.creator === o3 || s3.CREATOR === o3)) return true;
|
|
885
928
|
return false;
|
|
886
|
-
}(t2, 0, o2) : "approveExtractWorkflow" === e2 || "refuseExtractWorkflow" === e2 ? a2 =
|
|
929
|
+
}(t2, 0, o2) : "approveExtractWorkflow" === e2 || "refuseExtractWorkflow" === e2 ? a2 = ke(t2) : "addTransactor" === e2 || "removeTransactor" === e2 ? a2 = function(e3) {
|
|
930
|
+
if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "COUNTERSIGN" !== e3.processingMode) return true;
|
|
931
|
+
return false;
|
|
932
|
+
}(t2) : function(e3, t3) {
|
|
887
933
|
return e3.processState && "SUBMIT" === e3.processState && "TYPE_READ" !== e3.processingMode && !function(e4) {
|
|
888
934
|
const t4 = e4;
|
|
889
935
|
let s3 = true;
|
|
@@ -895,15 +941,15 @@ function Ce(e2, t2, s2, n2, o2) {
|
|
|
895
941
|
return false;
|
|
896
942
|
}(t2))), a2;
|
|
897
943
|
}
|
|
898
|
-
function
|
|
944
|
+
function ke(e2, t2, s2) {
|
|
899
945
|
return !(!e2.processState || "EXTRACT" !== e2.processState || "WAIT_TRANSACT" !== e2.active);
|
|
900
946
|
}
|
|
901
|
-
function
|
|
902
|
-
e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true,
|
|
947
|
+
function ye(e2, t2) {
|
|
948
|
+
e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, he(e2, t2).then((t3) => {
|
|
903
949
|
e2.isRefresh = true;
|
|
904
950
|
});
|
|
905
951
|
}
|
|
906
|
-
function
|
|
952
|
+
function he(e2, s2, o2) {
|
|
907
953
|
const a2 = e2.pageType;
|
|
908
954
|
if (a2 && "form" === a2) {
|
|
909
955
|
e2.canClick = false;
|
|
@@ -920,7 +966,7 @@ function we(e2, s2, o2) {
|
|
|
920
966
|
t3[s4] = s4;
|
|
921
967
|
}), b2.listCodesMap = t3;
|
|
922
968
|
}
|
|
923
|
-
m2 && (b2.ids =
|
|
969
|
+
m2 && (b2.ids = Pe(m2)), g2 ? b2.taskId = g2 : d2 ? b2.id = d2 : (p2 && p2._t_ && f(p2._t_ + "_id") && (b2.id = f(p2._t_ + "_id")), e3.notIdInitializationList && (b2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList))), p2 && (b2.additionalParamMap = p2), e3.beanName && (b2.beanName = e3.beanName), e3.refercePropMap && (b2.refercePropMap = e3.refercePropMap);
|
|
924
970
|
const T2 = n(e3.backendUrl, e3.isTest) + "/dsc/workflow-commons/gets", w2 = j();
|
|
925
971
|
w2.restorePageLoadState(), k(null, e3, e3, "beforeFormLoadData"), c.post(T2, b2).then((t3) => {
|
|
926
972
|
e3.definitionId = t3.definitionId, e3.entity.task = t3.taskParamMap, e3.dataTypeMaps = t3.dataTypeMap, se(t3, true, e3), e3.workflowRules = O(e3);
|
|
@@ -967,7 +1013,7 @@ function we(e2, s2, o2) {
|
|
|
967
1013
|
let d2 = t2 || null, m2 = t2 ? [t2] : null;
|
|
968
1014
|
void 0 === s3 || s3 ? (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);
|
|
969
1015
|
const g2 = p2 ? p2.taskId : null, C2 = u2, b2 = n(e3.backendUrl, e3.isTest), T2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: d2, systemCode: i2, functionCode: C2 + ".gets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
|
|
970
|
-
if (!T2.id && p2 && p2._t_ && f(p2._t_ + "_id") && (T2.id = f(p2._t_ + "_id")), m2 && (T2.ids =
|
|
1016
|
+
if (!T2.id && p2 && p2._t_ && f(p2._t_ + "_id") && (T2.id = f(p2._t_ + "_id")), m2 && (T2.ids = Pe(m2)), e3.notIdInitializationList && (T2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (T2.additionalParamMap = p2), e3.beanName && (T2.beanName = e3.beanName), g2 && (T2.taskId = g2), (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
|
|
971
1017
|
const t3 = {};
|
|
972
1018
|
e3.tableUuids.forEach((e4) => {
|
|
973
1019
|
const s4 = r(u2, l2, e4);
|
|
@@ -975,11 +1021,11 @@ function we(e2, s2, o2) {
|
|
|
975
1021
|
}), T2.listCodesMap = t3;
|
|
976
1022
|
}
|
|
977
1023
|
e3.refercePropMap && (T2.refercePropMap = e3.refercePropMap);
|
|
978
|
-
const w2 = b2 + "/dsc/commons/gets",
|
|
979
|
-
|
|
1024
|
+
const w2 = b2 + "/dsc/commons/gets", y2 = j();
|
|
1025
|
+
y2.restorePageLoadState(), k(null, e3, e3, "beforeFormLoadData"), c.post(w2, T2).then((t3) => {
|
|
980
1026
|
t3 && (e3.entity.data = t3.entity, e3.initFormNo = t3.formNo);
|
|
981
1027
|
const s4 = e3.customRules, n2 = e3.rules, a4 = U(s4, n2);
|
|
982
|
-
e3.rules = a4, e3.canClick = true, k(null, e3, e3, "afterFormLoadData"),
|
|
1028
|
+
e3.rules = a4, e3.canClick = true, k(null, e3, e3, "afterFormLoadData"), y2.setFormPageDataLoadState(true), o3(t3);
|
|
983
1029
|
}).catch((t3) => {
|
|
984
1030
|
e3.canClick = true, a3(t3);
|
|
985
1031
|
});
|
|
@@ -990,10 +1036,10 @@ function we(e2, s2, o2) {
|
|
|
990
1036
|
e3(true);
|
|
991
1037
|
});
|
|
992
1038
|
}
|
|
993
|
-
function
|
|
1039
|
+
function Pe(e2) {
|
|
994
1040
|
return e2 && ("string" == typeof e2 ? e2 = e2.split(",") : "number" == typeof e2 && (e2 = [e2])), e2;
|
|
995
1041
|
}
|
|
996
|
-
function
|
|
1042
|
+
function Se(e2) {
|
|
997
1043
|
const t2 = e2.props.setValueList;
|
|
998
1044
|
if (t2) {
|
|
999
1045
|
if (s(t2) && t2.length > 0) return JSON.stringify(t2);
|
|
@@ -1001,41 +1047,44 @@ function he(e2) {
|
|
|
1001
1047
|
}
|
|
1002
1048
|
return null;
|
|
1003
1049
|
}
|
|
1004
|
-
function
|
|
1050
|
+
function Re(e2, t2) {
|
|
1005
1051
|
const s2 = e2.entity ? e2.entity : {}, n2 = { data: s2.data, page: s2.page }, o2 = { pageCode: e2.code, queryCondition: JSON.stringify(n2), name: t2 }, a2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition";
|
|
1006
1052
|
return c.post(a2, o2);
|
|
1007
1053
|
}
|
|
1008
|
-
function
|
|
1054
|
+
function ve(e2) {
|
|
1009
1055
|
const t2 = e2.code, s2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/list/" + t2;
|
|
1010
1056
|
return c.get(s2);
|
|
1011
1057
|
}
|
|
1012
|
-
function
|
|
1058
|
+
function Me(e2) {
|
|
1013
1059
|
const t2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/" + e2;
|
|
1014
1060
|
return c.delete(t2);
|
|
1015
1061
|
}
|
|
1016
1062
|
export {
|
|
1017
1063
|
H as dealAfterOperate,
|
|
1018
1064
|
se as dealCompleteTaskParam,
|
|
1019
|
-
|
|
1065
|
+
Me as deleteChartCondition,
|
|
1020
1066
|
ue as doAddSigner,
|
|
1067
|
+
le as doAddTransactor,
|
|
1021
1068
|
ae as doAssign,
|
|
1022
|
-
|
|
1069
|
+
pe as doCreateCopyTask,
|
|
1023
1070
|
Z as doImportFinally,
|
|
1024
|
-
|
|
1025
|
-
|
|
1071
|
+
Ce as doRemoveSigners,
|
|
1072
|
+
Te as doRemoveTransactors,
|
|
1073
|
+
fe as doReturnTaskTo,
|
|
1026
1074
|
L as exportFormReport,
|
|
1027
1075
|
ce as getAdditionalParamMap,
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
$ as
|
|
1032
|
-
|
|
1033
|
-
|
|
1076
|
+
he as getFormData,
|
|
1077
|
+
ge as getRemoveSigner,
|
|
1078
|
+
be as getRemoveTransactor,
|
|
1079
|
+
$ as getSaveFormRequest,
|
|
1080
|
+
q as getSaveFormRequestWithRow,
|
|
1081
|
+
me as getTaskInformitions,
|
|
1082
|
+
we as isVisibleWorkflowButton,
|
|
1034
1083
|
ee as judgeDataNumber,
|
|
1035
|
-
|
|
1084
|
+
ve as listChartConditions,
|
|
1036
1085
|
X as refreshFormOrListPage,
|
|
1037
|
-
|
|
1038
|
-
|
|
1086
|
+
ye as refreshPage,
|
|
1087
|
+
Re as saveChartConditionBase,
|
|
1039
1088
|
D as standardEvents,
|
|
1040
1089
|
z as updateValuesWhenCloseDialog
|
|
1041
1090
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var o = ((o2) => (o2.AUTHENTICATED = "AUTHENTICATED", o2.ANONYMOUS = "ANONYMOUS", o2.AUTHORIZED = "AUTHORIZED", o2))(o || {});
|
|
2
|
-
const e = { page: { label: "页面", functions: [{ label: "页面", path: "temp" }] }, gets: { group: "表单标准功能", label: "获取表单数据", functions: [{ funcType: "AUTHENTICATED", path: "/commons/gets$POST" }] }, workflowGets: { group: "标准流程", label: "获取表单及流程数据", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/gets$POST" }] }, save: { group: "表单标准功能", label: "暂存", functions: [{ code: "create", label: "暂存", path: "/commons$POST" }, { code: "update", label: "修改", path: "/commons$POST" }] }, submit: { group: "表单标准功能", label: "提交", functions: [{ path: "/commons/submits$POST" }] }, exportForm: { group: "表单标准功能", label: "导出报告", functions: [{ path: "/commons/export-reports$POST" }] }, exportPDF: { group: "表单标准功能", label: "导出PDF", functions: [{ path: "/commons/exportPDF$POST" }] }, agree: { group: "表单标准功能", label: "同意", functions: [{ path: "/commons/approves$POST" }] }, disagree: { group: "表单标准功能", label: "不同意", functions: [{ path: "/commons/refuses$POST" }] }, back: { group: "表单标准功能", label: "返回", functions: [] }, workflowSave: { group: "流程表单功能", label: "暂存", functions: [{ label: "暂存", code: "save", funcType: "AUTHENTICATED", path: "/workflow-commons$POST" }, { label: "修改", code: "update", funcType: "AUTHENTICATED", path: "/workflow-commons$PUT" }] }, workflowStart: { group: "流程表单功能", label: "起草", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/start$POST" }] }, submitProcess: { group: "流程表单功能", label: "提交流程", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/submit$POST" }] }, submitTask: { group: "流程表单功能", label: "提交任务", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.submit", path: "/workflow-commons/complete-tasks$POST" }] }, approve: { group: "流程表单功能", label: "同意", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.approve", path: "/workflow-commons/complete-tasks$POST" }] }, refuse: { group: "流程表单功能", label: "不同意", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.refuse", path: "/workflow-commons/complete-tasks$POST" }] }, assign: { group: "流程表单功能", label: "指派", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/assigns$POST" }] }, drawTask: { group: "流程表单功能", label: "领取", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/draw-tasks$POST" }] }, abandonReceive: { group: "流程表单功能", label: "放弃领取", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/abandon-receives$POST" }] }, readed: { group: "流程表单功能", label: "已阅", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.readed", path: "/workflow-commons/complete-tasks$POST" }] }, agreement: { group: "流程表单功能", label: "赞成", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.agreement", path: "/workflow-commons/complete-tasks$POST" }] }, oppose: { group: "流程表单功能", label: "反对", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.oppose", path: "/workflow-commons/complete-tasks$POST" }] }, kiken: { group: "流程表单功能", label: "弃权", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.kiken", path: "/workflow-commons/complete-tasks$POST" }] }, addSigner: { group: "流程表单功能", label: "加签", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/add-signers$POST" }] }, removeSigner: { group: "流程表单功能", label: "减签", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/
|
|
2
|
+
const e = { page: { label: "页面", functions: [{ label: "页面", path: "temp" }] }, gets: { group: "表单标准功能", label: "获取表单数据", functions: [{ funcType: "AUTHENTICATED", path: "/commons/gets$POST" }] }, workflowGets: { group: "标准流程", label: "获取表单及流程数据", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/gets$POST" }] }, save: { group: "表单标准功能", label: "暂存", functions: [{ code: "create", label: "暂存", path: "/commons$POST" }, { code: "update", label: "修改", path: "/commons$POST" }] }, submit: { group: "表单标准功能", label: "提交", functions: [{ path: "/commons/submits$POST" }] }, exportForm: { group: "表单标准功能", label: "导出报告", functions: [{ path: "/commons/export-reports$POST" }] }, exportPDF: { group: "表单标准功能", label: "导出PDF", functions: [{ path: "/commons/exportPDF$POST" }] }, agree: { group: "表单标准功能", label: "同意", functions: [{ path: "/commons/approves$POST" }] }, disagree: { group: "表单标准功能", label: "不同意", functions: [{ path: "/commons/refuses$POST" }] }, back: { group: "表单标准功能", label: "返回", functions: [] }, workflowSave: { group: "流程表单功能", label: "暂存", functions: [{ label: "暂存", code: "save", funcType: "AUTHENTICATED", path: "/workflow-commons$POST" }, { label: "修改", code: "update", funcType: "AUTHENTICATED", path: "/workflow-commons$PUT" }] }, workflowStart: { group: "流程表单功能", label: "起草", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/start$POST" }] }, submitProcess: { group: "流程表单功能", label: "提交流程", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/submit$POST" }] }, submitTask: { group: "流程表单功能", label: "提交任务", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.submit", path: "/workflow-commons/complete-tasks$POST" }] }, approve: { group: "流程表单功能", label: "同意", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.approve", path: "/workflow-commons/complete-tasks$POST" }] }, refuse: { group: "流程表单功能", label: "不同意", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.refuse", path: "/workflow-commons/complete-tasks$POST" }] }, assign: { group: "流程表单功能", label: "指派", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/assigns$POST" }] }, drawTask: { group: "流程表单功能", label: "领取", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/draw-tasks$POST" }] }, abandonReceive: { group: "流程表单功能", label: "放弃领取", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/abandon-receives$POST" }] }, readed: { group: "流程表单功能", label: "已阅", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.readed", path: "/workflow-commons/complete-tasks$POST" }] }, agreement: { group: "流程表单功能", label: "赞成", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.agreement", path: "/workflow-commons/complete-tasks$POST" }] }, oppose: { group: "流程表单功能", label: "反对", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.oppose", path: "/workflow-commons/complete-tasks$POST" }] }, kiken: { group: "流程表单功能", label: "弃权", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.kiken", path: "/workflow-commons/complete-tasks$POST" }] }, addSigner: { group: "流程表单功能", label: "加签", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/add-signers$POST" }] }, removeSigner: { group: "流程表单功能", label: "减签", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/remove-signers$POST" }, { code: "getRemoveSigners", label: "获取可减签人员", funcType: "AUTHENTICATED", path: "/workflow-commons/get-remove-signers$POST" }] }, copyTask: { group: "流程表单功能", label: "抄送", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/copies$POST" }] }, retrieveTask: { group: "流程表单功能", label: "取回", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/retrieves$POST" }] }, returnToPreviousTask: { group: "流程表单功能", label: "驳回", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/return-to-previous-tasks$POST" }] }, returnTaskTo: { group: "流程表单功能", label: "退回", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/returnTaskTo$POST" }, { code: "returnableTaskInformation", label: "获取可退回环节信息", funcType: "AUTHENTICATED", path: "/workflow-commons/returnable-task/{taskId}$POST" }] }, endInstance: { group: "流程表单功能", label: "强制结束", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/end-instance$POST" }] }, extractWorkflow: { group: "流程表单功能", label: "抽单", functions: [{ label: "发起抽单", code: "initiateExtract", funcType: "AUTHENTICATED", path: "/workflow-commons/initiate-extract$POST" }] }, cancelExtractWorkflow: { group: "流程表单功能", label: "取消抽单", functions: [{ label: "取消抽单", code: "cancelExtract", funcType: "AUTHENTICATED", path: "/workflow-commons/cancel-extract$POST" }] }, approveExtractWorkflow: { group: "流程表单功能", label: "同意抽单", functions: [{ label: "同意抽单", code: "approveExtract", funcType: "AUTHENTICATED", path: "/workflow-commons/approve-extract$POST" }] }, refuseExtractWorkflow: { group: "流程表单功能", label: "不同意抽单", functions: [{ label: "不同意抽单", code: "refuseExtract", funcType: "AUTHENTICATED", path: "/workflow-commons/refuse-extract$POST" }] }, listData: { group: "列表功能", label: "列表数据", functions: [{ funcType: "AUTHENTICATED", path: "/commons/list$POST" }] }, listSubData: { group: "列表功能", label: "列表子级", functions: [{ funcType: "AUTHENTICATED", path: "/commons/list-subs$POST" }] }, saveList: { group: "列表功能", label: "暂存", props: { base: { type: "info", plain: true } }, functions: [{ code: "create", label: "暂存", path: "/commons$POST" }, { funcType: "AUTHENTICATED", code: "update", label: "修改", path: "/commons$POST" }] }, delete: { group: "列表功能", label: "删除", props: { base: { type: "danger", plain: true } }, functions: [{ path: "/commons/{tableName}$DELETE" }] }, submitList: { group: "列表功能", label: "提交", props: { base: { type: "primary" } }, functions: [{ path: "/commons/batch-submits$POST" }] }, agreeList: { group: "列表功能", label: "同意", props: { base: { type: "success", plain: true } }, functions: [{ path: "/commons/batch-approves$POST" }] }, disagreeList: { group: "列表功能", label: "不同意", props: { base: { type: "danger", plain: true } }, functions: [{ path: "/commons/batch-refuses$POST" }] }, import: { group: "列表功能", label: "导入", props: { base: { type: "primary", plain: true } }, functions: [{ path: "/commons/import-data$POST" }] }, export: { group: "列表功能", label: "导出", props: { base: { type: "success", plain: true } }, functions: [{ path: "/commons/export-list-data$POST" }] }, search: { group: "列表功能", label: "查询", functions: [] }, showMobileSearch: { group: "列表功能", label: "显示移动端查询区域", functions: [] }, downloadTemplate: { group: "列表功能", label: "下载导入模板", functions: [{ path: "/commons/download-files$GET" }] }, lineEditCreate: { group: "列表行编辑功能", label: "新建", props: { base: { type: "primary" } }, functions: [{ code: "create", label: "暂存", path: "/commons$POST" }] }, lineEditSave: { group: "列表行编辑功能", label: "保存", props: { base: { type: "success", text: true } }, functions: [{ code: "create", label: "保存", path: "/commons$POST" }, { code: "update", label: "修改", path: "/commons$POST" }] }, lineEditDelete: { group: "列表行编辑功能", label: "删除", props: { base: { type: "danger", text: true } }, functions: [{ code: "delete", path: "/commons/{tableName}$DELETE" }] }, lineEditUpdate: { group: "列表行编辑功能", label: "修改", props: { base: { type: "primary", text: true } }, functions: [{ code: "update", label: "修改", path: "/commons$POST" }] }, restoreEdit: { group: "列表行编辑功能", label: "取消", props: { base: { type: "info", text: true } }, functions: [] }, addTransactor: { group: "流程表单功能", label: "增加办理人", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/add-transactors$POST" }] }, removeTransactor: { group: "流程表单功能", label: "减少办理人", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/remove-transactors$POST" }, { code: "getRemoveTransactors", label: "获取可减少办理人员", funcType: "AUTHENTICATED", path: "/workflow-commons/get-remove-transactors$POST" }] } }, t = {};
|
|
3
3
|
function a(o2) {
|
|
4
4
|
return o2 ? e[o2] : void 0;
|
|
5
5
|
}
|