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