super-page-runtime 2.3.19-sit3 → 2.3.20-sit1

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