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