super-page-runtime 2.3.14-sit3 → 2.3.14-sit4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
- import { getValueFromSource as e, formatVariableValue as i, setValueForVariableName as t } from "../page-helper-util.js";
1
+ import { getValueFromSource as e, formatVariableValue as t, setValueForVariableName as i } from "../page-helper-util.js";
2
2
  import { deepCopy as s } from "../common-util.js";
3
3
  import { setDefaultGrid as o, CommonName as a, caculateFormulaValue as l, sortDatas as n, limitDatas as r, executeChartFormula as u } from "./chart-util.js";
4
4
  import { handleChartEvent as c } from "../events/event-util.js";
5
5
  function d(d2, f, p, m) {
6
6
  if (!m || !m.result) return;
7
- o(p), c(d2, f, "beforeUpdateChart", p, { resultData: m });
7
+ o(p), p.tooltip || (p.tooltip = {}), c(d2, f, "beforeUpdateChart", p, { resultData: m });
8
8
  const h = m && m.result ? m.result : {};
9
9
  let y = m && m.groupValue ? m.groupValue : void 0;
10
10
  const g = f.serviceDataField;
@@ -19,39 +19,39 @@ function d(d2, f, p, m) {
19
19
  for (const e2 of F) S[e2.group] = e2.target, e2.target && !D.includes(e2.target) && (D.push(e2.target), y.includes(e2.group) && x.push(e2.target));
20
20
  let N = f.props ? f.props.mulGroupShow : "";
21
21
  N = "break" == N ? "\r\n" : " ";
22
- for (const i2 of v) {
23
- if (!i2) continue;
24
- const t2 = [];
22
+ for (const t2 of v) {
23
+ if (!t2) continue;
24
+ const i2 = [];
25
25
  for (const s3 of y) {
26
- const o2 = S[s3], a2 = e(i2, o2, void 0);
27
- a2 && t2.push(a2);
26
+ const o2 = S[s3], a2 = e(t2, o2, void 0);
27
+ a2 && i2.push(a2);
28
28
  }
29
- const s2 = t2.join(N);
30
- i2[a.X_FIELD_NAME] = s2;
29
+ const s2 = i2.join(N);
30
+ t2[a.X_FIELD_NAME] = s2;
31
31
  }
32
32
  const E = f.items ? f.items : [], A = [], _ = {}, b = [], w = {}, C = [], I = [], X = /* @__PURE__ */ new Set(), L = l(E, v, X);
33
33
  for (const e2 of X) C.push(e2);
34
34
  for (const e2 of E) {
35
- const i2 = e2.props ? e2.props : {}, t2 = i2.yaxisSource, s2 = i2.yaxisField, o2 = i2.isCumulative;
35
+ const t2 = e2.props ? e2.props : {}, i2 = t2.yaxisSource, s2 = t2.yaxisField, o2 = t2.isCumulative;
36
36
  let a2 = null;
37
- if (!s2 || t2 && "variable" != t2) if ("formula" == t2) {
38
- let t3 = i2.formula ? i2.formula : "";
39
- for (const e3 in L) t3 = t3.replace(new RegExp(e3.replace("$", "\\$"), "g"), L[e3]);
40
- a2 = { uuid: e2.uuid, type: "formula", formula: t3, data: [], dynamicDatas: [] };
41
- } else a2 = { uuid: e2.uuid, type: "fixed", field: i2.yaxisFix, data: [], dynamicDatas: [] };
37
+ if (!s2 || i2 && "variable" != i2) if ("formula" == i2) {
38
+ let i3 = t2.formula ? t2.formula : "";
39
+ for (const e3 in L) i3 = i3.replace(new RegExp(e3.replace("$", "\\$"), "g"), L[e3]);
40
+ a2 = { uuid: e2.uuid, type: "formula", formula: i3, data: [], dynamicDatas: [] };
41
+ } else a2 = { uuid: e2.uuid, type: "fixed", field: t2.yaxisFix, data: [], dynamicDatas: [] };
42
42
  else a2 = { uuid: e2.uuid, type: "variable", field: s2, isCumulative: o2, data: [], dynamicDatas: [] }, s2 && !C.includes(s2) && C.push(s2), s2 && !I.includes(s2) && I.push(s2), o2 && !X.has(s2) && X.add(s2);
43
- null != a2 && (A.push(a2), _[e2.uuid] = a2), i2.dynamicSeriesField && !b.includes(i2.dynamicSeriesField) && a2 && (a2.dynamicField = i2.dynamicSeriesField, a2.dynamicSeriesTitle = i2.dynamicSeriesTitle, a2.dynamicShowStack = i2.dynamicShowStack, b.push(i2.dynamicSeriesField), w[i2.dynamicSeriesField] = s2);
43
+ null != a2 && (A.push(a2), _[e2.uuid] = a2), t2.dynamicSeriesField && !b.includes(t2.dynamicSeriesField) && a2 && (a2.dynamicField = t2.dynamicSeriesField, a2.dynamicSeriesTitle = t2.dynamicSeriesTitle, a2.dynamicShowStack = t2.dynamicShowStack, b.push(t2.dynamicSeriesField), w[t2.dynamicSeriesField] = s2);
44
44
  }
45
45
  const M = {};
46
46
  if (b.length > 0) {
47
- const i2 = [], t2 = {};
47
+ const t2 = [], i2 = {};
48
48
  for (const s2 of v) if (s2) for (const o2 of C) {
49
49
  const l2 = s2[a.X_FIELD_NAME];
50
- let n2 = t2[l2];
50
+ let n2 = i2[l2];
51
51
  if (!n2) {
52
52
  n2 = {};
53
53
  for (const e2 of D) n2[e2] = s2[e2];
54
- n2[a.X_FIELD_NAME] = s2[a.X_FIELD_NAME], t2[l2] = n2, i2.push(n2);
54
+ n2[a.X_FIELD_NAME] = s2[a.X_FIELD_NAME], i2[l2] = n2, t2.push(n2);
55
55
  }
56
56
  let r2 = e(s2, o2, void 0);
57
57
  if (!isNaN(r2)) {
@@ -59,72 +59,72 @@ function d(d2, f, p, m) {
59
59
  isNaN || (r2 += e2), n2[o2] = r2;
60
60
  }
61
61
  }
62
- for (const i3 of b) {
62
+ for (const t3 of b) {
63
63
  const s2 = [];
64
64
  for (const o2 of v) {
65
65
  if (!o2) continue;
66
- const l2 = t2[o2[a.X_FIELD_NAME]];
66
+ const l2 = i2[o2[a.X_FIELD_NAME]];
67
67
  if (!l2) continue;
68
- let n2 = e(o2, i3, void 0);
68
+ let n2 = e(o2, t3, void 0);
69
69
  n2 = null == n2 || null == n2 ? "" : n2, s2.includes(n2) || (s2.push(n2), I.push(n2), X.add(n2));
70
- const r2 = w[i3];
70
+ const r2 = w[t3];
71
71
  if (void 0 !== r2) {
72
- const i4 = e(o2, r2, void 0);
73
- let t3 = l2[n2];
74
- void 0 === t3 ? t3 = i4 : isNaN(i4) || (t3 += i4), l2[n2] = t3;
72
+ const t4 = e(o2, r2, void 0);
73
+ let i3 = l2[n2];
74
+ void 0 === i3 ? i3 = t4 : isNaN(t4) || (i3 += t4), l2[n2] = i3;
75
75
  }
76
76
  }
77
- M[i3] = s2;
77
+ M[t3] = s2;
78
78
  }
79
- v = i2;
79
+ v = t2;
80
80
  }
81
81
  n(d2, f, v), v = r(d2, f, v, D, I);
82
82
  const j = [], k = {};
83
- for (const i2 of v) if (i2) {
84
- for (const t2 of X) {
85
- const s2 = e(i2, t2, void 0);
86
- let o2 = k[t2];
87
- void 0 === s2 || isNaN(s2) || (void 0 === o2 ? o2 = s2 : o2 += s2), k[t2] = o2;
83
+ for (const t2 of v) if (t2) {
84
+ for (const i2 of X) {
85
+ const s2 = e(t2, i2, void 0);
86
+ let o2 = k[i2];
87
+ void 0 === s2 || isNaN(s2) || (void 0 === o2 ? o2 = s2 : o2 += s2), k[i2] = o2;
88
88
  }
89
- j.push(i2[a.X_FIELD_NAME]);
90
- for (const t2 of A) {
91
- let s2 = t2.data;
92
- const o2 = t2.dynamicDatas;
93
- if (t2.dynamicField) {
94
- let a2 = M[t2.dynamicField];
89
+ j.push(t2[a.X_FIELD_NAME]);
90
+ for (const i2 of A) {
91
+ let s2 = i2.data;
92
+ const o2 = i2.dynamicDatas;
93
+ if (i2.dynamicField) {
94
+ let a2 = M[i2.dynamicField];
95
95
  a2 = a2 || [];
96
96
  for (let l2 = 0; l2 < a2.length; l2++) {
97
97
  l2 >= o2.length && o2.push([]), s2 = o2[l2];
98
98
  const n2 = a2[l2];
99
- let r2 = e(i2, n2, void 0);
100
- t2.isCumulative && (r2 = k[n2]), s2.push(r2);
99
+ let r2 = e(t2, n2, void 0);
100
+ i2.isCumulative && (r2 = k[n2]), s2.push(r2);
101
101
  }
102
- } else if ("fixed" === t2.type) s2.push(t2.field);
103
- else if ("variable" === t2.type) {
104
- let o3 = e(i2, t2.field, void 0);
105
- t2.isCumulative && (o3 = k[t2.field]), s2.push(o3);
106
- } else if ("formula" === t2.type) {
107
- const e2 = u(t2.formula, k, i2, d2);
102
+ } else if ("fixed" === i2.type) s2.push(i2.field);
103
+ else if ("variable" === i2.type) {
104
+ let o3 = e(t2, i2.field, void 0);
105
+ i2.isCumulative && (o3 = k[i2.field]), s2.push(o3);
106
+ } else if ("formula" === i2.type) {
107
+ const e2 = u(i2.formula, k, t2, d2);
108
108
  s2.push(e2);
109
109
  } else s2.push(void 0);
110
110
  }
111
111
  }
112
112
  const T = f.defaultSeries, V = s(null == T ? [] : T), $ = [];
113
113
  for (const e2 of V) {
114
- const t2 = _[e2.uuid];
115
- if (t2.dynamicField) {
116
- let o2 = M[t2.dynamicField];
114
+ const i2 = _[e2.uuid];
115
+ if (i2.dynamicField) {
116
+ let o2 = M[i2.dynamicField];
117
117
  o2 = o2 || [];
118
- const a2 = t2.dynamicDatas ? t2.dynamicDatas : [];
118
+ const a2 = i2.dynamicDatas ? i2.dynamicDatas : [];
119
119
  for (let l2 = 0; l2 < o2.length; l2++) {
120
120
  const n2 = o2[l2], r2 = s(e2);
121
- if (t2.dynamicSeriesTitle) {
122
- const e3 = t2.dynamicSeriesTitle.replace("${name}", n2);
123
- r2.name = i(d2, e3);
121
+ if (i2.dynamicSeriesTitle) {
122
+ const e3 = i2.dynamicSeriesTitle.replace("${name}", n2);
123
+ r2.name = t(d2, e3);
124
124
  } else r2.name = n2;
125
- r2.data = l2 < a2.length ? a2[l2] : [], "bar" == e2.type && t2.dynamicShowStack && (r2.stack = e2.uuid), $.push(r2);
125
+ r2.data = l2 < a2.length ? a2[l2] : [], "bar" == e2.type && i2.dynamicShowStack && (r2.stack = e2.uuid), $.push(r2);
126
126
  }
127
- } else e2.data = t2 ? t2.data : [], $.push(e2);
127
+ } else e2.data = i2 ? i2.data : [], $.push(e2);
128
128
  }
129
129
  p.series = $;
130
130
  const G = f.defaultXaxis, R = f.defaultYaxis;
@@ -133,7 +133,7 @@ function d(d2, f, p, m) {
133
133
  p.xAxis = G, p.yAxis = R;
134
134
  } else G && G.length > 0 && (G[0].data = j), p.xAxis = G, p.yAxis = R;
135
135
  const U = f.props ? f.props.selGroupVariable : null;
136
- !(f.props ? f.props.enableDrill : null) && U && (f.highlightInfos = [], t(d2.entity, U, null)), c(d2, f, "afterUpdateChart", p, { resultData: m }), f.groupFields = x, f.cacheDatas = v, f.rawResult = m;
136
+ !(f.props ? f.props.enableDrill : null) && U && (f.highlightInfos = [], i(d2.entity, U, null)), c(d2, f, "afterUpdateChart", p, { resultData: m }), f.groupFields = x, f.cacheDatas = v, f.rawResult = m;
137
137
  }
138
138
  export {
139
139
  d as updateChartOption
@@ -6,7 +6,7 @@ import { getCurrentUser as d, getToken as m, getSessionCache as f, getRunCurrent
6
6
  import { getComponentRef as b } from "../global-refs.js";
7
7
  import T from "../eventBus.js";
8
8
  import w from "axios";
9
- import { handleEvent as k, getTableUuid as y, doAfterClickEvent as h } from "./event-util.js";
9
+ import { handleEvent as k, getTableUuid as h, doAfterClickEvent as y } from "./event-util.js";
10
10
  import { setStoreInfo as P } from "../store-util.js";
11
11
  import { getPermissionCodes as S, getDefaultValue as R, getModelFields as M } from "../page-init-util.js";
12
12
  import { updateChartDatasources as N, caculateShowCondition as I, getVariableValue as v, setVariableValue as x } from "../page-helper-util.js";
@@ -52,10 +52,10 @@ const D = { save: function(e2) {
52
52
  g2 = o(g2, p2, d2, r2.isTest);
53
53
  const C2 = void 0 === l2.isPermission || "true" === l2.isPermission || l2.isPermission, T2 = t(r2), w2 = S(u2, r2), k2 = { ids: i2, functionCode: w2, isPermission: C2 + "", systemCode: p2, isWorkflowEntity: T2, listCodesMap: r2.listCodesMap, pageCode: r2.code, pageVersion: r2.version };
54
54
  r2.beanName && (k2.beanName = r2.beanName);
55
- const y2 = u2.props.deleteLogicSetting;
56
- y2 && ("object" == typeof y2 ? k2.deleteLogicSetting = JSON.stringify(y2) : "string" == typeof y2 && (k2.deleteLogicSetting = y2));
57
- const h2 = (_a = u2.props.base) == null ? void 0 : _a.logSetting;
58
- h2 && (k2.logSettingText = h2.join(""));
55
+ const h2 = u2.props.deleteLogicSetting;
56
+ h2 && ("object" == typeof h2 ? k2.deleteLogicSetting = JSON.stringify(h2) : "string" == typeof h2 && (k2.deleteLogicSetting = h2));
57
+ const y2 = (_a = u2.props.base) == null ? void 0 : _a.logSetting;
58
+ y2 && (k2.logSettingText = y2.join(""));
59
59
  const P2 = u2.props.base.isSafeDelete;
60
60
  P2 && (k2.isSafeDelete = P2), c.delete(g2, { data: k2 }).then((e4) => {
61
61
  const t2 = b(r2, m2);
@@ -95,8 +95,8 @@ const D = { save: function(e2) {
95
95
  if (o2) {
96
96
  d2 += "&isPermission=" + (void 0 === o2.isPermission || "true" === o2.isPermission || o2.isPermission);
97
97
  }
98
- const y2 = n(l2, t2.isTest);
99
- window.open(y2 + "/dsc/commons/download-files" + d2);
98
+ const h2 = n(l2, t2.isTest);
99
+ window.open(h2 + "/dsc/commons/download-files" + d2);
100
100
  }(e2);
101
101
  }, import: function(e2) {
102
102
  const t2 = e2.pageContext.code + "_";
@@ -200,22 +200,22 @@ const D = { save: function(e2) {
200
200
  }, drawTask: function(e2) {
201
201
  return function(e3) {
202
202
  const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/draw-tasks", a2 = te(e3);
203
- return le(e3, a2, o2, "superPageRuntimeMessage.successfulDrawTask");
203
+ return pe(e3, a2, o2, "superPageRuntimeMessage.successfulDrawTask");
204
204
  }(e2);
205
205
  }, abandonReceive: function(e2) {
206
206
  return function(e3) {
207
207
  const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/abandon-receives", a2 = te(e3);
208
- return le(e3, a2, o2, "superPageRuntimeMessage.successfulAbandonReceive");
208
+ return pe(e3, a2, o2, "superPageRuntimeMessage.successfulAbandonReceive");
209
209
  }(e2);
210
210
  }, returnToPreviousTask: function(e2) {
211
211
  return function(e3) {
212
212
  const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", a2 = te(e3);
213
- return le(e3, a2, o2, "superPageRuntimeMessage.successfulReturnToPreviousTask");
213
+ return pe(e3, a2, o2, "superPageRuntimeMessage.successfulReturnToPreviousTask");
214
214
  }(e2);
215
215
  }, endInstance: function(e2) {
216
216
  return function(e3) {
217
217
  const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/end-instance", a2 = te(e3);
218
- return le(e3, a2, o2, "superPageRuntimeMessage.successfulEndInstance");
218
+ return pe(e3, a2, o2, "superPageRuntimeMessage.successfulEndInstance");
219
219
  }(e2);
220
220
  }, returnTaskTo: function(e2) {
221
221
  return function(e3) {
@@ -230,7 +230,7 @@ const D = { save: function(e2) {
230
230
  }, retrieveTask: function(e2) {
231
231
  return function(e3) {
232
232
  const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/retrieves", a2 = te(e3);
233
- return le(e3, a2, o2, "superPageRuntimeMessage.successfulRetrieve");
233
+ return pe(e3, a2, o2, "superPageRuntimeMessage.successfulRetrieve");
234
234
  }(e2);
235
235
  }, extractWorkflow: function(e2) {
236
236
  return function(e3) {
@@ -239,7 +239,7 @@ const D = { save: function(e2) {
239
239
  const i2 = te(e3);
240
240
  if (t2.completeTaskParam) {
241
241
  const s3 = [];
242
- e3._value.loginName && s3.push(e3._value.loginName), i2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, opinion: e3._value.opinion, transactors: s3 };
242
+ e3._value.loginName && s3.push(e3._value.loginName), i2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, opinion: e3._value.opinion, transactors: s3, customTaskTitle: re(e3) };
243
243
  }
244
244
  return new Promise((t3, s3) => {
245
245
  const n2 = e3.pageContext, r2 = n2.systemCode, p2 = n2.backendUrl;
@@ -256,17 +256,17 @@ const D = { save: function(e2) {
256
256
  }, cancelExtractWorkflow: function(e2) {
257
257
  return function(e3) {
258
258
  const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/cancel-extract", a2 = te(e3);
259
- return le(e3, a2, o2, "superPageRuntimeMessage.successfulCancelExtract");
259
+ return pe(e3, a2, o2, "superPageRuntimeMessage.successfulCancelExtract");
260
260
  }(e2);
261
261
  }, approveExtractWorkflow: function(e2) {
262
262
  return function(e3) {
263
263
  const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/approve-extract", a2 = te(e3);
264
- return le(e3, a2, o2, "superPageRuntimeMessage.successfulOperation");
264
+ return pe(e3, a2, o2, "superPageRuntimeMessage.successfulOperation");
265
265
  }(e2);
266
266
  }, refuseExtractWorkflow: function(e2) {
267
267
  return function(e3) {
268
268
  const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/refuse-extract", a2 = te(e3);
269
- return le(e3, a2, o2, "superPageRuntimeMessage.successfulOperation");
269
+ return pe(e3, a2, o2, "superPageRuntimeMessage.successfulOperation");
270
270
  }(e2);
271
271
  }, viewDetail: function(e2) {
272
272
  }, lineEditCreate: function(e2) {
@@ -311,7 +311,7 @@ const D = { save: function(e2) {
311
311
  let c2, u2 = t2.label;
312
312
  u2 || (u2 = t2.code);
313
313
  c2 = u2;
314
- const l2 = { reportDataList: r2, beanName: t2.beanName }, p2 = re(t2);
314
+ const l2 = { reportDataList: r2, beanName: t2.beanName }, p2 = ce(t2);
315
315
  l2.additionalParamMap = p2, l2.isShowWatermark = void 0 === ((_b = (_a = o2.props) == null ? void 0 : _a.watermark) == null ? void 0 : _b.isShowWatermark) ? "true" : ((_d = (_c = o2.props) == null ? void 0 : _c.watermark) == null ? void 0 : _d.isShowWatermark) + "", l2.watermark = ((_f = (_e = o2.props) == null ? void 0 : _e.watermark) == null ? void 0 : _f.content) && ((_h = (_g = o2.props) == null ? void 0 : _g.watermark) == null ? void 0 : _h.content.length) > 0 ? (_j = (_i = o2.props) == null ? void 0 : _i.watermark) == null ? void 0 : _j.content.join("-~") : "";
316
316
  const d2 = t2.backendUrl, m2 = n(d2, t2.isTest) + "/dsc/commons/exportChart";
317
317
  B();
@@ -346,7 +346,7 @@ function L(e2, s2, o2, a2) {
346
346
  e2.clickUuid = s2.uuid;
347
347
  const i2 = o2.templateUuid, r2 = o2.templateName, c2 = e2.systemCode, u2 = (_a = s2.props.base) == null ? void 0 : _a.logSetting, l2 = t(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 };
348
348
  u2 && (b2.logSettingText = u2.join(""));
349
- const T2 = re(e2);
349
+ const T2 = ce(e2);
350
350
  let k2;
351
351
  b2.additionalParamMap = T2, b2.isShowWatermark = void 0 === ((_c = (_b = s2.props) == null ? void 0 : _b.watermark) == null ? void 0 : _c.isShowWatermark) ? "true" : ((_e = (_d = s2.props) == null ? void 0 : _d.watermark) == null ? void 0 : _e.isShowWatermark) + "", b2.watermark = ((_g = (_f = s2.props) == null ? void 0 : _f.watermark) == null ? void 0 : _g.content) && ((_i = (_h = s2.props) == null ? void 0 : _h.watermark) == null ? void 0 : _i.content.length) > 0 ? (_k = (_j = s2.props) == null ? void 0 : _j.watermark) == null ? void 0 : _k.content.join("-~") : "", k2 = a2 ? function(e3, t2, s3, o3) {
352
352
  return new Promise((a3, i3) => {
@@ -374,7 +374,7 @@ function L(e2, s2, o2, a2) {
374
374
  });
375
375
  });
376
376
  }(r2, f2, b2, e2.isTest), k2 && k2.then(() => {
377
- h(e2, s2);
377
+ y(e2, s2);
378
378
  }).catch((e3) => {
379
379
  });
380
380
  }
@@ -408,13 +408,13 @@ function V(e2, n2, o2, a2, i2, r2, c2) {
408
408
  r2 && (f2.ids = r2), e2.judgeHeavyList && (s(e2.judgeHeavyList) ? f2.judgeHeavyList = JSON.stringify(e2.judgeHeavyList) : f2.judgeHeavyList = e2.judgeHeavyList);
409
409
  const g2 = n2.props.base.conversionCodes;
410
410
  g2 && (s(g2) ? f2.dataConversionRule = g2.join(",") : "string" == typeof g2 && (f2.dataConversionRule = g2));
411
- const C2 = ke(n2);
411
+ const C2 = he(n2);
412
412
  C2 && (f2.autoSetValueData = C2);
413
413
  const b2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
414
414
  b2 && (f2.logSettingText = b2.join("")), f2.systemCode || (f2.systemCode = l2);
415
415
  const T2 = e2.beanName;
416
416
  T2 && (f2.beanName = T2), i2 && (f2.dynamicColumnInfo = i2), a2 && (f2.mainDefaultValueColumns = a2);
417
- const w2 = re(e2);
417
+ const w2 = ce(e2);
418
418
  return f2.additionalParamMap = w2, void 0 !== o2 && (f2.unControlVersion = o2), f2;
419
419
  }
420
420
  function $(e2, t2, s2, a2, i2, r2, u2, l2) {
@@ -433,7 +433,7 @@ function H(t2, s2, n2, o2, a2) {
433
433
  const i2 = G(t2, s2, a2);
434
434
  if (i2 && "list" === i2) !function(t3, s3, n3, o3) {
435
435
  let a3 = s3.props.base.successOperation;
436
- const i3 = s3.props.base.isNeedValueMapping, r2 = y(t3, s3);
436
+ const i3 = s3.props.base.isNeedValueMapping, r2 = h(t3, s3);
437
437
  a3 || K.includes(s3.name) || (a3 = "refresh");
438
438
  if ("refresh" === a3) {
439
439
  if (r2) {
@@ -473,7 +473,7 @@ function J(e2, t2, s2) {
473
473
  const n2 = t2.props.base.successOperation;
474
474
  if (!n2 || null === n2) return;
475
475
  const o2 = t2.props.base.isNeedValueMapping;
476
- "noOperation" === n2 ? e2.canClick = true : "refresh" === n2 ? s2 && (s2.id || s2.ID) ? be(e2, s2.ID ? s2.ID : s2.id) : e2.canClick = true : "closeWindow" !== n2 && "closeWindowAndRefresh" !== n2 || (Y(e2, t2, s2, o2), e2.canClick = true);
476
+ "noOperation" === n2 ? e2.canClick = true : "refresh" === n2 ? s2 && (s2.id || s2.ID) ? Te(e2, s2.ID ? s2.ID : s2.id) : e2.canClick = true : "closeWindow" !== n2 && "closeWindowAndRefresh" !== n2 || (Y(e2, t2, s2, o2), e2.canClick = true);
477
477
  }
478
478
  function Y(e2, t2, s2, n2) {
479
479
  const o2 = e2.entity && e2.entity.request ? e2.entity.request.jumpMode : null;
@@ -508,13 +508,13 @@ function X(e2, t2, s2, n2) {
508
508
  const a2 = G(e2, t2);
509
509
  if (a2 && "list" === a2 && !o2 && (o2 = "refresh"), "refresh" === o2) {
510
510
  if (a2 && "list" === a2) {
511
- const s3 = y(e2, t2);
511
+ const s3 = h(e2, t2);
512
512
  if (s3) {
513
513
  b(e2, s3).refresh();
514
514
  }
515
515
  } else if (a2 && "form" === a2) {
516
516
  const t3 = e2.entity.data;
517
- be(e2, t3.ID ? t3.ID : t3.id);
517
+ Te(e2, t3.ID ? t3.ID : t3.id);
518
518
  }
519
519
  }
520
520
  }
@@ -560,7 +560,7 @@ function Z(e2, s2) {
560
560
  g2 && f2.append("importDuplicateRule", g2);
561
561
  const C2 = a2.judgeHeavyList;
562
562
  C2 && f2.append("judgeHeavyList", JSON.stringify(C2));
563
- const b2 = ke(i2);
563
+ const b2 = he(i2);
564
564
  b2 && f2.append("autoSetValueData", b2);
565
565
  const T2 = a2.formNoRuleCode;
566
566
  T2 && f2.append("formNoRuleCode", T2);
@@ -568,11 +568,11 @@ function Z(e2, s2) {
568
568
  w2 && f2.append("listCode", w2);
569
569
  let k2 = false;
570
570
  k2 = void 0 !== p2.isAsync && null !== p2.isAsync && p2.isAsync, f2.append("isAsync", k2 + ""), f2.append("pageCode", a2.code);
571
- const y2 = t(a2);
572
- null != y2 && f2.append("isWorkflowEntity", y2 + "");
571
+ const h2 = t(a2);
572
+ null != h2 && f2.append("isWorkflowEntity", h2 + "");
573
573
  const P2 = S(i2, a2);
574
574
  P2 && f2.append("functionCode", P2);
575
- const R2 = re(a2);
575
+ const R2 = ce(a2);
576
576
  f2.append("additionalParamMapStr", JSON.stringify(R2));
577
577
  const M2 = void 0 === p2.isPermission || "true" === p2.isPermission || p2.isPermission;
578
578
  f2.append("isPermission", M2 + "");
@@ -584,7 +584,7 @@ function Z(e2, s2) {
584
584
  if (k2) l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.asyncImport") });
585
585
  else {
586
586
  let t2 = false;
587
- e3 ? (t2 = false, l({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e3 })) : (l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulImport") }), t2 = true), H(a2, i2, e3, null, true), a2.result = t2, h(a2, i2);
587
+ e3 ? (t2 = false, l({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e3 })) : (l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulImport") }), t2 = true), H(a2, i2, e3, null, true), a2.result = t2, y(a2, i2);
588
588
  }
589
589
  }).catch((e3) => {
590
590
  });
@@ -607,11 +607,11 @@ function te(e2) {
607
607
  t2.completeTaskParam && (c2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, opinion: t2.completeTaskParam.opinion }), t2.judgeHeavyList && (s(t2.judgeHeavyList) ? c2.judgeHeavyList = JSON.stringify(t2.judgeHeavyList) : c2.judgeHeavyList = t2.judgeHeavyList);
608
608
  const u2 = n2.props.base.conversionCodes;
609
609
  u2 && (s(u2) ? c2.dataConversionRule = u2.join(",") : "string" == typeof u2 && (c2.dataConversionRule = u2));
610
- const l2 = ke(n2);
610
+ const l2 = he(n2);
611
611
  l2 && (c2.autoSetValueData = l2), t2.beanName && (c2.beanName = t2.beanName);
612
612
  const p2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
613
613
  p2 && (c2.logSettingText = p2.join("")), c2.systemCode || (c2.systemCode = a2);
614
- const d2 = re(t2);
614
+ const d2 = ce(t2);
615
615
  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]));
616
616
  const m2 = n2.props.base.successOperation;
617
617
  return m2 && "noOperation" === m2 && (c2.unControlVersion = true), c2.isWorkflowEntity = true, c2;
@@ -621,7 +621,7 @@ function se(e2, t2, s2, n2, o2) {
621
621
  let r2;
622
622
  if (e2) {
623
623
  t2 && (s2.initFormNo = e2.formNo, s2.emailTemplateCode = e2.emailTemplateCode), e2.entity && (s2.entity.data = e2.entity, function(e3, t3) {
624
- const s3 = re(t3);
624
+ const s3 = ce(t3);
625
625
  e3 && s3 && C(s3._t_ + "_id", e3);
626
626
  }(e2.entity.id || e2.entity.ID, s2));
627
627
  const o3 = e2.completeTaskResult;
@@ -680,16 +680,34 @@ function oe(e2) {
680
680
  function ae(e2, t2) {
681
681
  if (t2) {
682
682
  const s2 = e2.pageContext, o2 = e2.configureObj, a2 = s2.backendUrl, i2 = n(a2, s2.isTest) + "/dsc/workflow-commons/assigns", r2 = t2.id ? t2.id : t2.ID ? t2.ID : null, c2 = te(e2);
683
- c2.assigneeId = r2, le(e2, c2, i2, "superPageRuntimeMessage.successfulAssign").then((e3) => {
684
- h(s2, o2);
683
+ c2.assigneeId = r2, pe(e2, c2, i2, "superPageRuntimeMessage.successfulAssign").then((e3) => {
684
+ y(s2, o2);
685
685
  });
686
686
  }
687
687
  }
688
688
  function ie(e2) {
689
- const t2 = e2.pageContext, s2 = t2.entity.data, n2 = t2.systemCode, o2 = t2.code, a2 = re(t2), i2 = void 0 !== s2.ID && null !== s2.ID ? s2.ID : s2.id, r2 = { beanName: t2.beanName, id: i2, entity: s2, additionalParamMap: a2, tableName: t2.tableName, functionCode: o2 + ".xxx", isWorkflowEntity: true, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version, listCodesInitSearchForm: t2.listCodesInitSearchForm };
690
- return r2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, systemCode: n2 }, r2;
689
+ const t2 = e2.pageContext, s2 = t2.entity.data, n2 = t2.systemCode, o2 = t2.code, a2 = ce(t2), i2 = void 0 !== s2.ID && null !== s2.ID ? s2.ID : s2.id, r2 = { beanName: t2.beanName, id: i2, entity: s2, additionalParamMap: a2, tableName: t2.tableName, functionCode: o2 + ".xxx", isWorkflowEntity: true, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version, listCodesInitSearchForm: t2.listCodesInitSearchForm };
690
+ return r2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, systemCode: n2 }, r2.completeTaskParam.customTaskTitle = re(e2), r2;
691
691
  }
692
- function re(t2) {
692
+ function re(e2) {
693
+ var _a, _b, _c;
694
+ let t2 = null;
695
+ 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++) {
696
+ const n2 = e2.configureObj.props.task.title[s2];
697
+ if (n2.config) {
698
+ if (!(((_c = n2.conditions) == null ? void 0 : _c.length) > 0)) {
699
+ t2 = n2.config;
700
+ break;
701
+ }
702
+ if (I(e2.pageContext, n2.conditions)) {
703
+ t2 = n2.config;
704
+ break;
705
+ }
706
+ }
707
+ }
708
+ return t2;
709
+ }
710
+ function ce(t2) {
693
711
  if (t2.entity) {
694
712
  let s2 = e(t2.entity.page);
695
713
  s2 || (s2 = {});
@@ -697,7 +715,7 @@ function re(t2) {
697
715
  return n2 && Object.assign(s2, n2), s2;
698
716
  }
699
717
  }
700
- function ce(e2, t2) {
718
+ function ue(e2, t2) {
701
719
  if (t2) {
702
720
  const s2 = e2.pageContext, a2 = e2.configureObj, i2 = s2.systemCode, r2 = s2.backendUrl;
703
721
  let p2 = n(r2, s2.isTest) + "/dsc/workflow-commons/add-signers";
@@ -706,11 +724,11 @@ function ce(e2, t2) {
706
724
  d2.completeTaskParam.transactors = t2.loginNames.join(",").split(",");
707
725
  const m2 = c.post(p2, d2);
708
726
  m2 && m2.then((e3) => {
709
- l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && H(s2, a2, e3, null, false), h(s2, a2);
727
+ l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && H(s2, a2, e3, null, false), y(s2, a2);
710
728
  });
711
729
  }
712
730
  }
713
- async function ue(e2, t2) {
731
+ async function le(e2, t2) {
714
732
  if (t2) {
715
733
  const s2 = await function(e3) {
716
734
  return new Promise((t3, s3) => {
@@ -739,12 +757,12 @@ async function ue(e2, t2) {
739
757
  m2.completeTaskParam.transactors = t2.loginNames.join(",").split(","), true !== s2 && (m2.completeTaskParam.remark = s2);
740
758
  const f2 = c.post(d2, m2);
741
759
  f2 && f2.then((e3) => {
742
- l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), h(a2, i2);
760
+ l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), y(a2, i2);
743
761
  });
744
762
  }
745
763
  }
746
764
  }
747
- async function le(e2, t2, s2, n2) {
765
+ async function pe(e2, t2, s2, n2) {
748
766
  const a2 = await oe(e2);
749
767
  return new Promise((i2, r2) => {
750
768
  var _a;
@@ -765,27 +783,27 @@ async function le(e2, t2, s2, n2) {
765
783
  } else i2(true);
766
784
  });
767
785
  }
768
- function pe(e2) {
786
+ function de(e2) {
769
787
  const t2 = e2.pageContext, s2 = t2.systemCode, a2 = t2.backendUrl, i2 = t2.completeTaskParam;
770
788
  let r2 = n(a2, t2.isTest) + "/dsc/workflow-commons/returnable-task/" + i2.taskId;
771
789
  if (r2 = o(r2, s2, a2, t2.isTest), !r2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
772
- const p2 = t2.code, d2 = re(t2), m2 = { beanName: t2.beanName, additionalParamMap: d2, tableName: t2.tableName, functionCode: p2 + ".xxx" };
790
+ const p2 = t2.code, d2 = ce(t2), m2 = { beanName: t2.beanName, additionalParamMap: d2, tableName: t2.tableName, functionCode: p2 + ".xxx" };
773
791
  return c.post(r2, m2);
774
792
  }
775
- function de(e2, t2) {
793
+ function me(e2, t2) {
776
794
  const s2 = e2.pageContext, o2 = e2.configureObj, a2 = s2.backendUrl, i2 = n(a2, s2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 = te(e2);
777
- t2.nodeName && (r2.returnToNodeName = t2.nodeName), t2.nodeId && (r2.returnToNodeId = t2.nodeId), le(e2, r2, i2, "superPageRuntimeMessage.successfulReturnTaskTo").then((e3) => {
778
- h(s2, o2);
795
+ t2.nodeName && (r2.returnToNodeName = t2.nodeName), t2.nodeId && (r2.returnToNodeId = t2.nodeId), pe(e2, r2, i2, "superPageRuntimeMessage.successfulReturnTaskTo").then((e3) => {
796
+ y(s2, o2);
779
797
  });
780
798
  }
781
- function me(e2) {
799
+ function fe(e2) {
782
800
  const t2 = e2.pageContext, s2 = t2.systemCode, a2 = t2.backendUrl;
783
801
  let i2 = n(a2, t2.isTest) + "/dsc/workflow-commons/get-remove-signers";
784
802
  const r2 = te(e2);
785
803
  if (i2 = o(i2, s2, a2, t2.isTest), i2) return c.post(i2, r2);
786
804
  l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
787
805
  }
788
- function fe(e2, t2) {
806
+ function ge(e2, t2) {
789
807
  if (t2) {
790
808
  const s2 = e2.pageContext, a2 = e2.configureObj, i2 = s2.systemCode, r2 = s2.backendUrl;
791
809
  let p2 = n(r2, s2.isTest) + "/dsc/workflow-commons/remove-signers";
@@ -794,11 +812,11 @@ function fe(e2, t2) {
794
812
  m2.ids = d2;
795
813
  const f2 = c.post(p2, m2);
796
814
  f2 && f2.then((e3) => {
797
- H(s2, a2, e3, "superPageRuntimeMessage.successfulOperation", false), h(s2, a2);
815
+ H(s2, a2, e3, "superPageRuntimeMessage.successfulOperation", false), y(s2, a2);
798
816
  });
799
817
  }
800
818
  }
801
- function ge(e2, t2, s2, n2, o2) {
819
+ function Ce(e2, t2, s2, n2, o2) {
802
820
  let a2 = false;
803
821
  return e2 && t2 && ("workflowSave" === e2 ? a2 = function(e3) {
804
822
  if ((void 0 === e3.processState || null === e3.processState || "UNSUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active) && (void 0 === e3.processState || true === e3.showButtonSave)) return true;
@@ -855,8 +873,7 @@ function ge(e2, t2, s2, n2, o2) {
855
873
  return false;
856
874
  }(t2) : "extractWorkflow" === e2 ? a2 = function(e3, t3, s3) {
857
875
  var _a;
858
- const n3 = d();
859
- const o3 = n3 ? n3.loginName : null;
876
+ const n3 = d(), o3 = n3 ? n3.loginName : null;
860
877
  if (e3 == null ? void 0 : e3.processState) {
861
878
  if (((_a = t3 == null ? void 0 : t3.firstNodeInfo) == null ? void 0 : _a.nodeId) === (s3 == null ? void 0 : s3.CURRENT_ACTIVITY_ID)) return false;
862
879
  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;
@@ -866,7 +883,7 @@ function ge(e2, t2, s2, n2, o2) {
866
883
  const n3 = d(), o3 = n3 ? n3.loginName : null;
867
884
  if ("EXTRACT" === (e3 == null ? void 0 : e3.processState) && s3 && (s3.creator === o3 || s3.CREATOR === o3)) return true;
868
885
  return false;
869
- }(t2, 0, o2) : "approveExtractWorkflow" === e2 || "refuseExtractWorkflow" === e2 ? a2 = Ce(t2) : function(e3, t3) {
886
+ }(t2, 0, o2) : "approveExtractWorkflow" === e2 || "refuseExtractWorkflow" === e2 ? a2 = be(t2) : function(e3, t3) {
870
887
  return e3.processState && "SUBMIT" === e3.processState && "TYPE_READ" !== e3.processingMode && !function(e4) {
871
888
  const t4 = e4;
872
889
  let s3 = true;
@@ -878,21 +895,21 @@ function ge(e2, t2, s2, n2, o2) {
878
895
  return false;
879
896
  }(t2))), a2;
880
897
  }
881
- function Ce(e2, t2, s2) {
898
+ function be(e2, t2, s2) {
882
899
  return !(!e2.processState || "EXTRACT" !== e2.processState || "WAIT_TRANSACT" !== e2.active);
883
900
  }
884
- function be(e2, t2) {
885
- e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, Te(e2, t2).then((t3) => {
901
+ function Te(e2, t2) {
902
+ e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, we(e2, t2).then((t3) => {
886
903
  e2.isRefresh = true;
887
904
  });
888
905
  }
889
- function Te(e2, s2, o2) {
906
+ function we(e2, s2, o2) {
890
907
  const a2 = e2.pageType;
891
908
  if (a2 && "form" === a2) {
892
909
  e2.canClick = false;
893
910
  return t(e2) ? function(e3, t2, s3) {
894
911
  return new Promise((o3, a3) => {
895
- const i2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = re(e3);
912
+ const i2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = ce(e3);
896
913
  let d2 = t2 || null, m2 = t2 ? [t2] : null;
897
914
  void 0 === s3 || s3 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), m2 || (m2 = p2 ? p2.ids : null)) : (d2 = null, m2 = null, p2._id = p2.id, p2.id = null);
898
915
  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 };
@@ -903,7 +920,7 @@ function Te(e2, s2, o2) {
903
920
  t3[s4] = s4;
904
921
  }), b2.listCodesMap = t3;
905
922
  }
906
- m2 && (b2.ids = we(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);
923
+ m2 && (b2.ids = ke(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);
907
924
  const T2 = n(e3.backendUrl, e3.isTest) + "/dsc/workflow-commons/gets", w2 = j();
908
925
  w2.restorePageLoadState(), k(null, e3, e3, "beforeFormLoadData"), c.post(T2, b2).then((t3) => {
909
926
  e3.definitionId = t3.definitionId, e3.entity.task = t3.taskParamMap, e3.dataTypeMaps = t3.dataTypeMap, se(t3, true, e3), e3.workflowRules = O(e3);
@@ -946,11 +963,11 @@ function Te(e2, s2, o2) {
946
963
  });
947
964
  }(e2, s2, o2) : function(e3, t2, s3) {
948
965
  return new Promise((o3, a3) => {
949
- const i2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = re(e3);
966
+ const i2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = ce(e3);
950
967
  let d2 = t2 || null, m2 = t2 ? [t2] : null;
951
968
  void 0 === s3 || s3 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), m2 || (m2 = p2 ? p2.ids : null)) : (d2 = null, m2 = null, p2._id = p2.id, p2.id = null);
952
969
  const g2 = p2 ? p2.taskId : null, C2 = u2, b2 = n(e3.backendUrl, e3.isTest), T2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: d2, systemCode: i2, functionCode: C2 + ".gets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
953
- if (!T2.id && p2 && p2._t_ && f(p2._t_ + "_id") && (T2.id = f(p2._t_ + "_id")), m2 && (T2.ids = we(m2)), e3.notIdInitializationList && (T2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (T2.additionalParamMap = p2), e3.beanName && (T2.beanName = e3.beanName), g2 && (T2.taskId = g2), (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
970
+ if (!T2.id && p2 && p2._t_ && f(p2._t_ + "_id") && (T2.id = f(p2._t_ + "_id")), m2 && (T2.ids = ke(m2)), e3.notIdInitializationList && (T2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (T2.additionalParamMap = p2), e3.beanName && (T2.beanName = e3.beanName), g2 && (T2.taskId = g2), (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
954
971
  const t3 = {};
955
972
  e3.tableUuids.forEach((e4) => {
956
973
  const s4 = r(u2, l2, e4);
@@ -958,11 +975,11 @@ function Te(e2, s2, o2) {
958
975
  }), T2.listCodesMap = t3;
959
976
  }
960
977
  e3.refercePropMap && (T2.refercePropMap = e3.refercePropMap);
961
- const w2 = b2 + "/dsc/commons/gets", y2 = j();
962
- y2.restorePageLoadState(), k(null, e3, e3, "beforeFormLoadData"), c.post(w2, T2).then((t3) => {
978
+ const w2 = b2 + "/dsc/commons/gets", h2 = j();
979
+ h2.restorePageLoadState(), k(null, e3, e3, "beforeFormLoadData"), c.post(w2, T2).then((t3) => {
963
980
  t3 && (e3.entity.data = t3.entity, e3.initFormNo = t3.formNo);
964
981
  const s4 = e3.customRules, n2 = e3.rules, a4 = U(s4, n2);
965
- e3.rules = a4, e3.canClick = true, k(null, e3, e3, "afterFormLoadData"), y2.setFormPageDataLoadState(true), o3(t3);
982
+ e3.rules = a4, e3.canClick = true, k(null, e3, e3, "afterFormLoadData"), h2.setFormPageDataLoadState(true), o3(t3);
966
983
  }).catch((t3) => {
967
984
  e3.canClick = true, a3(t3);
968
985
  });
@@ -973,10 +990,10 @@ function Te(e2, s2, o2) {
973
990
  e3(true);
974
991
  });
975
992
  }
976
- function we(e2) {
993
+ function ke(e2) {
977
994
  return e2 && ("string" == typeof e2 ? e2 = e2.split(",") : "number" == typeof e2 && (e2 = [e2])), e2;
978
995
  }
979
- function ke(e2) {
996
+ function he(e2) {
980
997
  const t2 = e2.props.setValueList;
981
998
  if (t2) {
982
999
  if (s(t2) && t2.length > 0) return JSON.stringify(t2);
@@ -988,36 +1005,36 @@ function ye(e2, t2) {
988
1005
  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";
989
1006
  return c.post(a2, o2);
990
1007
  }
991
- function he(e2) {
1008
+ function Pe(e2) {
992
1009
  const t2 = e2.code, s2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/list/" + t2;
993
1010
  return c.get(s2);
994
1011
  }
995
- function Pe(e2) {
1012
+ function Se(e2) {
996
1013
  const t2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/" + e2;
997
1014
  return c.delete(t2);
998
1015
  }
999
1016
  export {
1000
1017
  H as dealAfterOperate,
1001
1018
  se as dealCompleteTaskParam,
1002
- Pe as deleteChartCondition,
1003
- ce as doAddSigner,
1019
+ Se as deleteChartCondition,
1020
+ ue as doAddSigner,
1004
1021
  ae as doAssign,
1005
- ue as doCreateCopyTask,
1022
+ le as doCreateCopyTask,
1006
1023
  Z as doImportFinally,
1007
- fe as doRemoveSigners,
1008
- de as doReturnTaskTo,
1024
+ ge as doRemoveSigners,
1025
+ me as doReturnTaskTo,
1009
1026
  L as exportFormReport,
1010
- re as getAdditionalParamMap,
1011
- Te as getFormData,
1012
- me as getRemoveSigner,
1027
+ ce as getAdditionalParamMap,
1028
+ we as getFormData,
1029
+ fe as getRemoveSigner,
1013
1030
  q as getSaveFormRequest,
1014
1031
  $ as getSaveFormRequestWithRow,
1015
- pe as getTaskInformitions,
1016
- ge as isVisibleWorkflowButton,
1032
+ de as getTaskInformitions,
1033
+ Ce as isVisibleWorkflowButton,
1017
1034
  ee as judgeDataNumber,
1018
- he as listChartConditions,
1035
+ Pe as listChartConditions,
1019
1036
  X as refreshFormOrListPage,
1020
- be as refreshPage,
1037
+ Te as refreshPage,
1021
1038
  ye as saveChartConditionBase,
1022
1039
  D as standardEvents,
1023
1040
  z as updateValuesWhenCloseDialog
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-runtime",
3
- "version": "2.3.14-sit3",
3
+ "version": "2.3.14-sit4",
4
4
  "description": "AgileBuilder super page runtime",
5
5
  "license": "ISC",
6
6
  "main": "dist/es/index.js",
@@ -48,7 +48,7 @@
48
48
  "@vitejs/plugin-vue-jsx": "^3.1.0",
49
49
  "@vue/eslint-config-prettier": "^8.0.0",
50
50
  "@vue/test-utils": "^2.4.4",
51
- "agilebuilder-ui": "1.1.54-sit2",
51
+ "agilebuilder-ui": "1.1.54-sit5",
52
52
  "axios": "^1.6.8",
53
53
  "cypress": "^13.6.6",
54
54
  "element-plus": "^2.6.1",