super-page-runtime 2.3.50 → 2.3.51-sit1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/dist/es/components/runtime/utils/api/page-expose-util.js +136 -136
  2. package/dist/es/components/runtime/utils/charts/chart-util.d.ts +0 -5
  3. package/dist/es/components/runtime/utils/charts/chart-util.js +121 -90
  4. package/dist/es/components/runtime/utils/events/event-util.js +123 -122
  5. package/dist/es/components/runtime/utils/events/print-label.js +33 -34
  6. package/dist/es/components/runtime/utils/events/standard-event.js +92 -92
  7. package/dist/es/components/runtime/utils/events/validator-util.js +206 -209
  8. package/dist/es/components/runtime/utils/page-init-util.js +45 -47
  9. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  10. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +8 -7
  11. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +1 -1
  12. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +26 -14
  13. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -3
  14. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +1 -1
  15. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +3 -3
  16. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  17. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
  18. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -8
  19. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +1 -1
  20. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +8 -8
  21. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
  22. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  23. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  24. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  25. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +99 -104
  26. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +2 -3
  27. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
  28. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +9 -11
  29. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
  30. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
  31. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +3 -3
  32. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +3 -3
  33. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -2
  34. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +3 -3
  35. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +3 -3
  36. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +5 -5
  37. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +1 -1
  38. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
  39. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +9 -11
  40. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +4 -4
  41. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +3 -3
  42. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +1 -1
  43. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +16 -16
  44. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +3 -3
  45. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +3 -3
  46. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +6 -6
  47. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +97 -55
  48. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +3 -3
  49. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -3
  50. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +6 -8
  51. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue2.js +5 -6
  52. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +3 -3
  53. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +48 -49
  54. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +1 -1
  55. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +49 -29
  56. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +7 -9
  57. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +3 -3
  58. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +1 -1
  59. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +2 -1
  60. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +61 -62
  61. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +1 -1
  62. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +3 -3
  63. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +11 -11
  64. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +1 -1
  65. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +14 -14
  66. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +3 -3
  67. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +9 -11
  68. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +2 -2
  69. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +3 -3
  70. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +1 -1
  71. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +27 -23
  72. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  73. package/dist/es/components/runtime/views/super-page-dialog.vue.js +6 -7
  74. package/dist/es/components/runtime/views/super-page.vue2.js +98 -99
  75. package/dist/es/style.css +41 -34
  76. package/package.json +3 -3
@@ -2,7 +2,7 @@ import { deepCopy as e, getBaseUrl as t, getRealRestApiPath as n, isWorkflowPage
2
2
  import c from "agilebuilder-ui/src/utils/request";
3
3
  import { getI18n as l } from "agilebuilder-ui/src/utils/util";
4
4
  import { ElMessage as u, ElMessageBox as p, ElNotification as d } from "element-plus";
5
- import { getCurrentUser as m, getToken as f, getSessionCache as g, setSessionCache as b, getRunCurrentRole as C } from "agilebuilder-ui/src/utils/auth";
5
+ import { getCurrentUser as m, getToken as f, getSessionCache as g, setSessionCache as C, getRunCurrentRole as b } from "agilebuilder-ui/src/utils/auth";
6
6
  import { getComponentRef as w, getComponentRefByCode as T } from "../global-refs.js";
7
7
  import k from "../eventBus.js";
8
8
  import h from "axios";
@@ -10,8 +10,8 @@ import { handleEvent as y, getTableUuid as P, doAfterClickEvent as v } from "./e
10
10
  import { setStoreInfo as I } from "../store-util.js";
11
11
  import { getPermissionCodes as S, getDefaultValue as R, getModelFields as M } from "../page-init-util.js";
12
12
  import { caculateShowCondition as x, updateChartDatasources as N, getVariableValue as O, setVariableValue as A } from "../page-helper-util.js";
13
- import U from "./print-label.js";
14
- import { getTableNameByTableUuid as E, getCurrentUserFileTasks as j, setFileTaskRead as _ } from "../table-utils.js";
13
+ import E from "./print-label.js";
14
+ import { getTableNameByTableUuid as U, getCurrentUserFileTasks as j, setFileTaskRead as _ } from "../table-utils.js";
15
15
  import { getWorkflowRules as D, packageCustomRules as W } from "./validator-util.js";
16
16
  import { functions as L } from "../api/page-expose-util.js";
17
17
  import { usePageContextStore as B } from "../page-store.js";
@@ -51,10 +51,10 @@ const z = { save: function(e2) {
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
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 = E(r2, m2);
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 b2 = void 0 === u2.isPermission || "true" === u2.isPermission || u2.isPermission, C2 = !!o(r2) || !!r2.isWorkflowEntityOrg, k2 = S(l2, r2), h2 = { ids: a2, functionCode: k2, isPermission: b2 + "", systemCode: p2, isWorkflowEntity: C2, listCodesMap: r2.listCodesMap, pageCode: r2.code, pageVersion: r2.version };
57
+ const C2 = void 0 === u2.isPermission || "true" === u2.isPermission || u2.isPermission, b2 = !!o(r2) || !!r2.isWorkflowEntityOrg, 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
58
  if (r2.beanName && (h2.beanName = r2.beanName), m2) {
59
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
60
  t2 && t2 && ("object" == typeof t2 ? h2.deleteLogicSetting = JSON.stringify(t2) : "string" == typeof t2 && (h2.deleteLogicSetting = t2));
@@ -84,11 +84,11 @@ const z = { save: function(e2) {
84
84
  const u2 = n2.systemCode, p2 = n2.backendUrl;
85
85
  let d2 = c2, m2 = "?1=1";
86
86
  r2 && d2 && "undefined" !== r2 && "undefined" !== d2 && "null" !== r2 && "null" !== d2 ? m2 += "&fileName=" + encodeURI(r2) + "&showName=" + encodeURI(d2) : d2 ? m2 += "&showName=" + encodeURI(d2) : n2.label && (((_a = e3.tableConfigure) == null ? void 0 : _a.title) ? (m2 += "&showName=" + encodeURI(l().t(e3.tableConfigure.title)) + ".xlsx", d2 = l().t(e3.tableConfigure.title) + ".xlsx") : (m2 += "&showName=" + encodeURI(n2.label) + ".xlsx", d2 = n2.label + ".xlsx"));
87
- const b2 = (_b = o2.props.base) == null ? void 0 : _b.logSetting;
88
- b2 && (m2 += "&logSettingText=" + b2.join(""));
87
+ const C2 = (_b = o2.props.base) == null ? void 0 : _b.logSetting;
88
+ C2 && (m2 += "&logSettingText=" + C2.join(""));
89
89
  u2 && (m2 += "&systemCode=" + u2);
90
- const C2 = e3.listCode;
91
- C2 && (m2 += "&listCode=" + C2);
90
+ const b2 = e3.listCode;
91
+ b2 && (m2 += "&listCode=" + b2);
92
92
  n2.beanName && (m2 += "&beanName=" + n2.beanName);
93
93
  const w2 = S(o2, n2);
94
94
  w2 && (m2 += "&functionCode=" + w2);
@@ -144,11 +144,11 @@ const z = { save: function(e2) {
144
144
  const a2 = i2.entity.data, r2 = i2.systemCode, p2 = i2.backendUrl;
145
145
  let d2 = t(p2, i2.isTest) + "/dsc/workflow-commons";
146
146
  if (d2 = n(d2, r2, p2, i2.isTest), !d2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
147
- const m2 = be(e3);
147
+ const m2 = Ce(e3);
148
148
  let f2;
149
149
  f2 = a2.id || a2.ID ? c.put(d2, m2) : c.post(d2, m2), q(i2.code, a2), f2.then((t2) => {
150
150
  let n2 = true;
151
- t2 && (H(i2.code, a2), n2 = Ce(t2, false, i2, e3, null)), true === n2 && u({ showClose: true, type: "success", message: l().t(ie(e3.configureObj, "superPageRuntimeMessage.successfulSave")) }), k.$emit("clearTableAllEndEditing"), o2(true);
151
+ t2 && (H(i2.code, a2), n2 = be(t2, false, i2, e3, null)), true === n2 && u({ showClose: true, type: "success", message: l().t(ie(e3.configureObj, "superPageRuntimeMessage.successfulSave")) }), k.$emit("clearTableAllEndEditing"), o2(true);
152
152
  }).catch((e4) => {
153
153
  s2(e4);
154
154
  });
@@ -161,11 +161,11 @@ const z = { save: function(e2) {
161
161
  if (Z(i2)) return void o2(false);
162
162
  let d2 = t(p2, i2.isTest) + "/dsc/workflow-commons/start";
163
163
  if (d2 = n(d2, r2, p2, i2.isTest), !d2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
164
- const m2 = be(e3);
164
+ const m2 = Ce(e3);
165
165
  let f2;
166
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) => {
167
167
  let n2 = true;
168
- t2 && (H(i2.code, a2), n2 = Ce(t2, false, i2, e3, null)), true === n2 && u({ showClose: true, type: "success", message: l().t(ie(e3.configureObj, "superPageRuntimeMessage.successfulStart")) }), k.$emit("clearTableAllEndEditing"), o2(true);
168
+ t2 && (H(i2.code, a2), n2 = be(t2, false, i2, e3, null)), true === n2 && u({ showClose: true, type: "success", message: l().t(ie(e3.configureObj, "superPageRuntimeMessage.successfulStart")) }), k.$emit("clearTableAllEndEditing"), o2(true);
169
169
  }).catch((e4) => {
170
170
  s2(e4);
171
171
  });
@@ -179,12 +179,12 @@ const z = { save: function(e2) {
179
179
  const a2 = i2.systemCode, r2 = i2.backendUrl;
180
180
  let p2 = t(r2, i2.isTest) + "/dsc/workflow-commons/submit";
181
181
  if (p2 = n(p2, a2, r2, i2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
182
- const d2 = be(e3);
182
+ const d2 = Ce(e3);
183
183
  q(i2.code, i2.entity.data);
184
184
  const m2 = c.post(p2, d2);
185
185
  m2 ? m2.then((t2) => {
186
186
  let n2 = 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(ie(e3.configureObj, "superPageRuntimeMessage.successfulSubmit")) }), k.$emit("clearTableAllEndEditing"), o2(true);
187
+ t2 && (H(i2.code, i2.entity.data), n2 = be(t2, false, i2, e3, null)), true === n2 && u({ showClose: true, type: "success", message: l().t(ie(e3.configureObj, "superPageRuntimeMessage.successfulSubmit")) }), k.$emit("clearTableAllEndEditing"), o2(true);
188
188
  }).catch((e4) => {
189
189
  s2(e4);
190
190
  }) : H(i2.code, i2.entity.data);
@@ -221,22 +221,22 @@ const z = { save: function(e2) {
221
221
  }(e2);
222
222
  }, drawTask: function(e2) {
223
223
  return function(e3) {
224
- const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/draw-tasks", i2 = be(e3);
224
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/draw-tasks", i2 = Ce(e3);
225
225
  return Re(e3, i2, s2, "superPageRuntimeMessage.successfulDrawTask");
226
226
  }(e2);
227
227
  }, abandonReceive: function(e2) {
228
228
  return function(e3) {
229
- const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/abandon-receives", i2 = be(e3);
229
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/abandon-receives", i2 = Ce(e3);
230
230
  return Re(e3, i2, s2, "superPageRuntimeMessage.successfulAbandonReceive");
231
231
  }(e2);
232
232
  }, returnToPreviousTask: function(e2) {
233
233
  return function(e3) {
234
- const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", i2 = be(e3);
234
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", i2 = Ce(e3);
235
235
  return Re(e3, i2, s2, "superPageRuntimeMessage.successfulReturnToPreviousTask");
236
236
  }(e2);
237
237
  }, endInstance: function(e2) {
238
238
  return function(e3) {
239
- const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/end-instance", i2 = be(e3);
239
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/end-instance", i2 = Ce(e3);
240
240
  return Re(e3, i2, s2, "superPageRuntimeMessage.successfulEndInstance");
241
241
  }(e2);
242
242
  }, returnTaskTo: function(e2) {
@@ -251,11 +251,11 @@ const z = { save: function(e2) {
251
251
  }(e2);
252
252
  }, retrieveTask: function(e2) {
253
253
  return function(e3) {
254
- const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/retrieves", i2 = be(e3);
254
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/retrieves", i2 = Ce(e3);
255
255
  return Re(e3, i2, s2, "superPageRuntimeMessage.successfulRetrieve");
256
256
  }(e2);
257
257
  }, extractWorkflow: function(e2) {
258
- return Ee(e2);
258
+ return Ue(e2);
259
259
  }, extractWorkflowEvent: function(e2) {
260
260
  return function(e3) {
261
261
  const t2 = e3.pageContext;
@@ -263,17 +263,17 @@ const z = { save: function(e2) {
263
263
  }(e2);
264
264
  }, cancelExtractWorkflow: function(e2) {
265
265
  return function(e3) {
266
- const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/cancel-extract", i2 = be(e3);
266
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/cancel-extract", i2 = Ce(e3);
267
267
  return Re(e3, i2, s2, "superPageRuntimeMessage.successfulCancelExtract");
268
268
  }(e2);
269
269
  }, approveExtractWorkflow: function(e2) {
270
270
  return function(e3) {
271
- const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/approve-extract", i2 = be(e3);
271
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/approve-extract", i2 = Ce(e3);
272
272
  return Re(e3, i2, s2, "superPageRuntimeMessage.successfulOperation");
273
273
  }(e2);
274
274
  }, refuseExtractWorkflow: function(e2) {
275
275
  return function(e3) {
276
- const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/refuse-extract", i2 = be(e3);
276
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/refuse-extract", i2 = Ce(e3);
277
277
  return Re(e3, i2, s2, "superPageRuntimeMessage.successfulOperation");
278
278
  }(e2);
279
279
  }, viewDetail: function(e2) {
@@ -287,10 +287,9 @@ const z = { save: function(e2) {
287
287
  let t2 = null;
288
288
  try {
289
289
  if (t2 = e3.menuItem ? e3.menuItem.templateUuid : e3.configureObj.props.base.template[0].templateUuid, !t2) throw new Error("未找到模板");
290
- } catch (t3) {
291
- console.error("打印标签失败,未在配置中找到找到模板", t3, e3);
290
+ } catch (e4) {
292
291
  }
293
- U.printLabel(e3, t2);
292
+ E.printLabel(e3, t2);
294
293
  }(e2);
295
294
  }, queryCharts: function(e2) {
296
295
  K(e2);
@@ -366,7 +365,7 @@ function K(e2) {
366
365
  function X(e2, n2, s2, i2) {
367
366
  var _a, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l, _m;
368
367
  e2.clickUuid = n2.uuid, e2.canClick = false;
369
- 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), b2 = void 0 === d2.isPermission || "true" === d2.isPermission || d2.isPermission, C2 = { entity: g2, fileName: a2, showName: r2, beanName: p2, isWorkflowForm: u2, functionCode: S(n2, e2), tableName: m2, isPermission: b2 + "", 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 };
370
369
  if (e2.tableUuids && e2.tableUuids.length > 0) {
371
370
  const t2 = {};
372
371
  e2.tableUuids.forEach((n3) => {
@@ -375,14 +374,14 @@ function X(e2, n2, s2, i2) {
375
374
  const e3 = o2.getConfigure().code, n4 = o2.getSuperGridRef().columns;
376
375
  n4 && n4.length > 0 && (t2[e3] = n4);
377
376
  }
378
- }), C2.subTableColumns = t2;
377
+ }), b2.subTableColumns = t2;
379
378
  }
380
- l2 && (C2.logSettingText = l2.join(""));
379
+ l2 && (b2.logSettingText = l2.join(""));
381
380
  const T2 = (_c = (_b = n2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
382
- T2 && (C2.currentOperation = T2), C2.isMobile = F();
381
+ T2 && (b2.currentOperation = T2), b2.isMobile = F();
383
382
  const k2 = Pe(e2);
384
383
  let y2;
385
- C2.additionalParamMap = k2, C2.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) + "", C2.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) {
386
385
  return new Promise((i3, a3) => {
387
386
  const r3 = t(n3, s3) + "/dsc/commons/export-pdf";
388
387
  Q();
@@ -394,7 +393,7 @@ function X(e2, n2, s2, i2) {
394
393
  a3(e4);
395
394
  });
396
395
  });
397
- }(r2, f2, C2, e2.isTest) : function(e3, n3, o2, s3) {
396
+ }(r2, f2, b2, e2.isTest) : function(e3, n3, o2, s3) {
398
397
  return new Promise((i3, a3) => {
399
398
  const r3 = t(n3, s3) + "/dsc/commons/export-reports";
400
399
  Q();
@@ -408,7 +407,7 @@ function X(e2, n2, s2, i2) {
408
407
  a3(e4);
409
408
  });
410
409
  });
411
- }(r2, f2, C2, e2.isTest), y2 && y2.then(() => {
410
+ }(r2, f2, b2, e2.isTest), y2 && y2.then(() => {
412
411
  v(e2, n2);
413
412
  }).catch((t2) => {
414
413
  window.$message.error("导出失败..."), v(e2, n2);
@@ -416,7 +415,7 @@ function X(e2, n2, s2, i2) {
416
415
  }
417
416
  function Q() {
418
417
  h.defaults.headers.common.Authorization = f();
419
- const e2 = C();
418
+ const e2 = b();
420
419
  if (e2) {
421
420
  const t2 = "_RUN_CURRENT_ROLE";
422
421
  h.defaults.headers.common[t2] = e2;
@@ -453,10 +452,10 @@ function te(e2, t2, n2, i2, a2, r2, c2) {
453
452
  r2 && (f2.ids = r2), e2.judgeHeavyList && (s(e2.judgeHeavyList) ? f2.judgeHeavyList = JSON.stringify(e2.judgeHeavyList) : f2.judgeHeavyList = e2.judgeHeavyList);
454
453
  const g2 = t2.props.base.conversionCodes;
455
454
  g2 && (s(g2) ? f2.dataConversionRule = g2.join(",") : "string" == typeof g2 && (f2.dataConversionRule = g2));
456
- const b2 = Fe(t2);
457
- b2 && (f2.autoSetValueData = b2);
458
- const C2 = (_a = t2.props.base) == null ? void 0 : _a.logSetting;
459
- C2 && (f2.logSettingText = C2.join("")), f2.systemCode || (f2.systemCode = u2);
455
+ const C2 = Fe(t2);
456
+ C2 && (f2.autoSetValueData = C2);
457
+ const b2 = (_a = t2.props.base) == null ? void 0 : _a.logSetting;
458
+ b2 && (f2.logSettingText = b2.join("")), f2.systemCode || (f2.systemCode = u2);
460
459
  const w2 = e2.beanName;
461
460
  w2 && (f2.beanName = w2), a2 && (f2.dynamicColumnInfo = a2), i2 && (f2.mainDefaultValueColumns = i2);
462
461
  const T2 = Pe(e2);
@@ -485,10 +484,11 @@ function ae(t2, n2, o2, s2, i2) {
485
484
  let i3 = n3.props.base.successOperation;
486
485
  const a3 = n3.props.base.isNeedValueMapping, r2 = P(t3, n3);
487
486
  i3 || pe.includes(n3.name) || (i3 = "refresh");
488
- if ("refresh" === i3) if (r2) {
489
- w(t3, r2).refresh();
490
- } else console.error("tableUuid is empty");
491
- else if ("closeWindow" === i3 || "closeWindowAndRefresh" === i3) {
487
+ if ("refresh" === i3) {
488
+ if (r2) {
489
+ w(t3, r2).refresh();
490
+ }
491
+ } else if ("closeWindow" === i3 || "closeWindowAndRefresh" === i3) {
492
492
  const s4 = e(t3.entity.page);
493
493
  let i4 = o3;
494
494
  i4 || (i4 = {}), Object.assign(s4, i4), le(t3, n3, s4, a3);
@@ -560,7 +560,7 @@ function de(e2, t2, n2, o2) {
560
560
  const n3 = P(e2, t2);
561
561
  if (n3) {
562
562
  w(e2, n3).refresh();
563
- } else console.error("tableUuid is empty");
563
+ }
564
564
  } else if (i2 && "form" === i2) {
565
565
  const t3 = e2.entity.data;
566
566
  De(e2, t3.ID ? t3.ID : t3.id);
@@ -571,31 +571,31 @@ function me(e2, o2, s2, i2) {
571
571
  return new Promise((r2, u2) => {
572
572
  const d2 = e2.pageContext, m2 = e2.configureObj;
573
573
  if (Z(d2)) return void r2(false);
574
- const f2 = e2.mainDefaultValueColumns, g2 = e2.dynamicColumnInfo, b2 = e2.ids, C2 = m2.props.base.successOperation;
574
+ const f2 = e2.mainDefaultValueColumns, g2 = e2.dynamicColumnInfo, C2 = e2.ids, b2 = m2.props.base.successOperation;
575
575
  let w2 = false;
576
- C2 && "noOperation" === C2 && (w2 = true);
576
+ b2 && "noOperation" === b2 && (w2 = true);
577
577
  let T2 = d2.tableName;
578
578
  if (o2) {
579
579
  const t2 = m2.props.base.tableUuid ? m2.props.base.tableUuid : e2.tableUuid;
580
- T2 = E(d2, t2);
580
+ T2 = U(d2, t2);
581
581
  } else q(d2.code, d2.entity.data);
582
582
  const k2 = function(e3, o3, s3, i3, r3, u3, d3, m3, f3) {
583
- return new Promise((g3, b3) => {
584
- const C3 = o3.props.base.title, w3 = "superPageRuntimeMessage.whetherToConfirm" + a(d3);
585
- p.confirm(l().t(w3, { name: C3 }), l().t("superPageRuntimeMessage.tips"), { confirmButtonText: l().t("superPageRuntimeMessage.sure"), cancelButtonText: l().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
583
+ return new Promise((g3, C3) => {
584
+ const b3 = o3.props.base.title, w3 = "superPageRuntimeMessage.whetherToConfirm" + a(d3);
585
+ p.confirm(l().t(w3, { name: b3 }), l().t("superPageRuntimeMessage.tips"), { confirmButtonText: l().t("superPageRuntimeMessage.sure"), cancelButtonText: l().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
586
586
  const a2 = e3.systemCode, l2 = e3.backendUrl, p2 = te(e3, o3, i3, r3, u3, m3, null);
587
587
  p2.tableName = f3;
588
588
  let d4 = t(l2, e3.isTest) + s3;
589
589
  d4 = n(d4, a2, l2, e3.isTest), c.post(d4, p2).then((e4) => {
590
590
  g3(e4);
591
591
  }).catch((e4) => {
592
- b3(e4);
592
+ C3(e4);
593
593
  });
594
594
  }).catch(() => {
595
- b3("点击了取消按钮");
595
+ C3("点击了取消按钮");
596
596
  });
597
597
  });
598
- }(d2, m2, i2, w2, f2, g2, s2, b2, T2);
598
+ }(d2, m2, i2, w2, f2, g2, s2, C2, T2);
599
599
  k2 ? k2.then((e3) => {
600
600
  !o2 && e3 && H(d2.code, d2.entity.data), ae(d2, m2, e3, ie(m2, "superPageRuntimeMessage.successfulSave"), o2), r2(e3);
601
601
  }).catch((e3) => {
@@ -605,14 +605,14 @@ function me(e2, o2, s2, i2) {
605
605
  }
606
606
  function fe(e2, s2) {
607
607
  var _a, _b, _c, _d, _e2;
608
- 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();
608
+ 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();
609
609
  f2.append("multipartFile", s2), m2 && f2.append("tableName", m2);
610
610
  const g2 = (_b = (_a = a2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
611
611
  g2 && f2.append("currentOperation", g2), f2.append("isMobile", F()), i2.importBeanName && f2.append("importBeanName", i2.importBeanName), i2.beanName && f2.append("beanName", i2.beanName);
612
- const b2 = (_c = r2.props.importSetting) == null ? void 0 : _c.listViewImportDuplicate;
613
- b2 && f2.append("importDuplicateRule", b2);
614
- const C2 = i2.judgeHeavyList;
615
- C2 && f2.append("judgeHeavyList", JSON.stringify(C2));
612
+ const C2 = (_c = r2.props.importSetting) == null ? void 0 : _c.listViewImportDuplicate;
613
+ C2 && f2.append("importDuplicateRule", C2);
614
+ const b2 = i2.judgeHeavyList;
615
+ b2 && f2.append("judgeHeavyList", JSON.stringify(b2));
616
616
  const w2 = Fe(a2);
617
617
  w2 && f2.append("autoSetValueData", w2);
618
618
  const T2 = i2.formNoRuleCode;
@@ -653,7 +653,7 @@ function ge(e2, t2) {
653
653
  }
654
654
  return true;
655
655
  }
656
- function be(e2) {
656
+ function Ce(e2) {
657
657
  var _a, _b, _c;
658
658
  const t2 = e2.pageContext, n2 = e2.configureObj, o2 = t2.entity.data, i2 = t2.systemCode, a2 = t2.code;
659
659
  let r2 = S(n2, t2);
@@ -667,19 +667,19 @@ function be(e2) {
667
667
  const p2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
668
668
  p2 && (c2.logSettingText = p2.join("")), c2.systemCode || (c2.systemCode = i2);
669
669
  const d2 = Pe(t2);
670
- c2.additionalParamMap = d2, d2.ids && d2.ids.length > 0 && ("string" == typeof d2.ids ? c2.ids = d2.ids.split(",") : Array.isArray(d2.ids) ? c2.ids = d2.ids : "number" == typeof ids ? c2.ids = [d2.ids] : console.error("ids参数类型错误"));
670
+ 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]));
671
671
  const m2 = n2.props.base.successOperation;
672
672
  m2 && "noOperation" === m2 && (c2.unControlVersion = true), c2.isWorkflowEntity = true;
673
673
  const f2 = (_c = (_b = n2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
674
674
  return f2 && (c2.currentOperation = f2), c2.isMobile = F(), c2.taskParamMap = t2.entity.task, c2;
675
675
  }
676
- function Ce(e2, t2, n2, o2, s2) {
676
+ function be(e2, t2, n2, o2, s2) {
677
677
  const i2 = n2.code, a2 = n2.version;
678
678
  let r2;
679
679
  if (e2) {
680
680
  t2 && (n2.initFormNo = e2.formNo, n2.emailTemplateCode = e2.emailTemplateCode), e2.entity && (n2.entity.data = e2.entity, function(e3, t3) {
681
681
  const n3 = Pe(t3);
682
- e3 && n3 && b(n3._t_ + "_id", e3);
682
+ e3 && n3 && C(n3._t_ + "_id", e3);
683
683
  }(e2.entity.id || e2.entity.ID, n2));
684
684
  const s3 = e2.completeTaskResult;
685
685
  if (s3) {
@@ -707,12 +707,12 @@ async function we(e2, o2) {
707
707
  const p2 = r2.systemCode, d2 = r2.backendUrl, m2 = true === s2 ? (_a = r2.completeTaskParam) == null ? void 0 : _a.opinion : s2;
708
708
  let f2 = t(d2, r2.isTest) + "/dsc/workflow-commons/complete-tasks";
709
709
  if (f2 = n(f2, p2, d2, r2.isTest), !f2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
710
- const g2 = be(e2);
710
+ const g2 = Ce(e2);
711
711
  g2.completeTaskParam = { operationResult: o2, taskId: r2.completeTaskParam ? r2.completeTaskParam.taskId : null, opinion: m2 || null };
712
- const b2 = c.post(f2, g2);
713
- q(r2.code, r2.entity.data), b2.then((t2) => {
712
+ const C2 = c.post(f2, g2);
713
+ q(r2.code, r2.entity.data), C2.then((t2) => {
714
714
  let n2 = true;
715
- t2 && (H(r2.code, r2.entity.data), n2 = Ce(t2, false, r2, e2, o2)), true === n2 && u({ showClose: true, type: "success", message: l().t(ie(e2.configureObj, "superPageRuntimeMessage.successfulCompleteTask")) }), i2(true);
715
+ t2 && (H(r2.code, r2.entity.data), n2 = be(t2, false, r2, e2, o2)), true === n2 && u({ showClose: true, type: "success", message: l().t(ie(e2.configureObj, "superPageRuntimeMessage.successfulCompleteTask")) }), i2(true);
716
716
  }).catch((e3) => {
717
717
  a2(e3);
718
718
  });
@@ -736,7 +736,7 @@ function Te(e2) {
736
736
  }
737
737
  function ke(e2, n2) {
738
738
  if (n2) {
739
- 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 = be(e2);
739
+ 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 = Ce(e2);
740
740
  c2.assigneeId = r2, Re(e2, c2, a2, "superPageRuntimeMessage.successfulAssign").then((e3) => {
741
741
  v(o2, s2);
742
742
  });
@@ -850,7 +850,7 @@ async function Re(e2, t2, o2, s2) {
850
850
  const f2 = c.post(o2, t2);
851
851
  f2 && f2.then((t3) => {
852
852
  let n2 = true;
853
- t3 && (n2 = Ce(t3, false, p2, e2, null)), true === n2 && u({ showClose: true, type: "success", message: l().t(ie(e2.configureObj, s2)) }), a2(true);
853
+ t3 && (n2 = be(t3, false, p2, e2, null)), true === n2 && u({ showClose: true, type: "success", message: l().t(ie(e2.configureObj, s2)) }), a2(true);
854
854
  }).catch((e3) => {
855
855
  r2(e3);
856
856
  });
@@ -865,7 +865,7 @@ function Me(e2) {
865
865
  return c.post(r2, m2);
866
866
  }
867
867
  function xe(e2, n2) {
868
- const o2 = e2.pageContext, s2 = e2.configureObj, i2 = o2.backendUrl, a2 = t(i2, o2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 = be(e2);
868
+ const o2 = e2.pageContext, s2 = e2.configureObj, i2 = o2.backendUrl, a2 = t(i2, o2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 = Ce(e2);
869
869
  n2.nodeName && (r2.returnToNodeName = n2.nodeName), n2.nodeId && (r2.returnToNodeId = n2.nodeId), Re(e2, r2, a2, "superPageRuntimeMessage.successfulReturnTaskTo").then((e3) => {
870
870
  v(o2, s2);
871
871
  });
@@ -873,7 +873,7 @@ function xe(e2, n2) {
873
873
  function Ne(e2) {
874
874
  const o2 = e2.pageContext, s2 = o2.systemCode, i2 = o2.backendUrl;
875
875
  let a2 = t(i2, o2.isTest) + "/dsc/workflow-commons/get-remove-signers";
876
- const r2 = be(e2);
876
+ const r2 = Ce(e2);
877
877
  if (a2 = n(a2, s2, i2, o2.isTest), a2) return c.post(a2, r2);
878
878
  u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
879
879
  }
@@ -882,7 +882,7 @@ function Oe(e2, o2) {
882
882
  const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
883
883
  let p2 = t(r2, s2.isTest) + "/dsc/workflow-commons/remove-signers";
884
884
  if (p2 = n(p2, a2, r2, s2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
885
- const d2 = o2.map((e3) => e3.id ? e3.id : e3.ID ? e3.ID : null), m2 = be(e2);
885
+ const d2 = o2.map((e3) => e3.id ? e3.id : e3.ID ? e3.ID : null), m2 = Ce(e2);
886
886
  m2.ids = d2;
887
887
  const f2 = c.post(p2, m2);
888
888
  f2 && f2.then((e3) => {
@@ -893,16 +893,16 @@ function Oe(e2, o2) {
893
893
  function Ae(e2) {
894
894
  const o2 = e2.pageContext, s2 = o2.systemCode, i2 = o2.backendUrl;
895
895
  let a2 = t(i2, o2.isTest) + "/dsc/workflow-commons/get-remove-transactors";
896
- const r2 = be(e2);
896
+ const r2 = Ce(e2);
897
897
  if (a2 = n(a2, s2, i2, o2.isTest), a2) return c.post(a2, r2);
898
898
  u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
899
899
  }
900
- function Ue(e2, o2) {
900
+ function Ee(e2, o2) {
901
901
  if (o2) {
902
902
  const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
903
903
  let p2 = t(r2, s2.isTest) + "/dsc/workflow-commons/remove-transactors";
904
904
  if (p2 = n(p2, a2, r2, s2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
905
- const d2 = o2.map((e3) => e3.taskId), m2 = be(e2);
905
+ const d2 = o2.map((e3) => e3.taskId), m2 = Ce(e2);
906
906
  m2.ids = d2;
907
907
  const f2 = c.post(p2, m2);
908
908
  f2 && f2.then((e3) => {
@@ -910,10 +910,10 @@ function Ue(e2, o2) {
910
910
  });
911
911
  }
912
912
  }
913
- function Ee(e2) {
913
+ function Ue(e2) {
914
914
  const o2 = e2.pageContext, s2 = o2.backendUrl;
915
915
  let i2 = t(s2, o2.isTest) + "/dsc/workflow-commons/initiate-extract";
916
- const a2 = be(e2);
916
+ const a2 = Ce(e2);
917
917
  if (o2.completeTaskParam) {
918
918
  const t2 = [];
919
919
  e2._value.loginName && t2.push(e2._value.loginName), a2.completeTaskParam = { taskId: o2.completeTaskParam.taskId, opinion: e2._value.opinion, transactors: t2, customTaskTitle: ye(e2) };
@@ -924,7 +924,7 @@ function Ee(e2) {
924
924
  const d2 = c.post(i2, a2);
925
925
  d2 && d2.then((n2) => {
926
926
  let o4 = true;
927
- n2 && (o4 = Ce(n2, false, s3, e2, null)), true === o4 && u({ showClose: true, type: "success", message: l().t(ie(e2.configureObj, "superPageRuntimeMessage.successfulInitiateExtract")) }), t2(true);
927
+ n2 && (o4 = be(n2, false, s3, e2, null)), true === o4 && u({ showClose: true, type: "success", message: l().t(ie(e2.configureObj, "superPageRuntimeMessage.successfulInitiateExtract")) }), t2(true);
928
928
  }).catch((e3) => {
929
929
  o3(e3);
930
930
  });
@@ -991,7 +991,7 @@ function je(e2, t2, n2, o2, s2, i2) {
991
991
  var _a2;
992
992
  const o3 = m(), s3 = o3 ? o3.loginName : null;
993
993
  if (e3 == null ? void 0 : e3.processState) {
994
- if (((_a2 = t3 == null ? void 0 : t3.firstNodeInfo) == null ? void 0 : _a2.nodeId) === (n3 == null ? void 0 : n3.CURRENT_ACTIVITY_ID)) return false;
994
+ if (((_a2 = t3 == null ? void 0 : t3.firstNodeInfo) == null ? void 0 : _a2.nodeId) === (n3 == null ? void 0 : n3.CURRENT_ACTIVITY_ID) && n3 && (n3.creator === s3 || n3.CREATOR === s3)) return true;
995
995
  if ("END" !== (e3 == null ? void 0 : e3.processState) && "EXTRACT" !== (e3 == null ? void 0 : e3.processState) && "MANUAL_END" !== (e3 == null ? void 0 : e3.processState) && n3 && (n3.creator === s3 || n3.CREATOR === s3)) return true;
996
996
  }
997
997
  return false;
@@ -1028,7 +1028,7 @@ function je(e2, t2, n2, o2, s2, i2) {
1028
1028
  e2.workflowOpinion.isRequired = t3, t3 && (e2.workflowOpinion.showOpinionBox = true);
1029
1029
  }
1030
1030
  }
1031
- return e2.workflowOpinion, a2;
1031
+ return a2;
1032
1032
  }
1033
1033
  function _e(e2, t2, n2) {
1034
1034
  return !(!e2.processState || "EXTRACT" !== e2.processState || "WAIT_TRANSACT" !== e2.active);
@@ -1048,20 +1048,20 @@ function We(e2, n2, s2) {
1048
1048
  const a2 = e3.systemCode, l2 = e3.code, u2 = e3.version, p2 = Pe(e3);
1049
1049
  let d2 = n3 || null, m2 = n3 ? [n3] : null;
1050
1050
  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);
1051
- const f2 = p2 ? p2.taskId : null, b2 = l2, C2 = { pageCode: l2, pageVersion: u2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, isWorkflowEntity: true, systemCode: a2, functionCode: b2 + ".workflowGets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
1052
- if (e3.listCodesMap, (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1051
+ 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 };
1052
+ if ((!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1053
1053
  const t2 = {};
1054
1054
  e3.tableUuids.forEach((e4) => {
1055
1055
  const n4 = r(l2, u2, e4);
1056
1056
  t2[n4] = n4;
1057
- }), C2.listCodesMap = t2;
1057
+ }), b2.listCodesMap = t2;
1058
1058
  }
1059
- m2 && (C2.ids = Be(m2)), f2 ? C2.taskId = f2 : d2 ? C2.id = d2 : (p2 && p2._t_ && g(p2._t_ + "_id") && (C2.id = g(p2._t_ + "_id")), e3.notIdInitializationList && (C2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList))), p2 && (C2.additionalParamMap = p2), e3.beanName && (C2.beanName = e3.beanName), e3.refercePropMap && (C2.refercePropMap = e3.refercePropMap), ((_a = e3.props) == null ? void 0 : _a.enableFormDataPermission) && (C2.withDataPermission = true), C2.isMobile = F();
1059
+ m2 && (b2.ids = Be(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();
1060
1060
  const w2 = t(e3.backendUrl, e3.isTest) + "/dsc/workflow-commons/gets", T2 = B();
1061
1061
  T2.restorePageLoadState(), y(null, e3, e3, "beforeFormLoadData");
1062
- const k2 = G(e3.code, C2.id);
1063
- c.post(w2, C2).then(async (t2) => {
1064
- k2 && await Le(e3, C2.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);
1062
+ const k2 = G(e3.code, b2.id);
1063
+ c.post(w2, b2).then(async (t2) => {
1064
+ k2 && await Le(e3, b2.id, t2), e3.workflowOpinion = { showOpinionBox: false }, e3.definitionId = t2.definitionId, e3.entity.task = t2.taskParamMap, e3.dataTypeMaps = t2.dataTypeMap, be(t2, true, e3), e3.workflowRules = D(e3);
1065
1065
  const n4 = e3.pageType;
1066
1066
  n4 && "form" === n4 && function(e4) {
1067
1067
  (function(e5) {
@@ -1105,8 +1105,8 @@ function We(e2, n2, s2) {
1105
1105
  const a2 = e3.systemCode, l2 = e3.code, u2 = e3.version, p2 = Pe(e3);
1106
1106
  let d2 = n3 || null, m2 = n3 ? [n3] : null;
1107
1107
  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);
1108
- const f2 = p2 ? p2.taskId : null, b2 = l2, C2 = t(e3.backendUrl, e3.isTest), w2 = { pageCode: l2, pageVersion: u2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: d2, systemCode: a2, functionCode: b2 + ".gets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
1109
- if (!w2.id && p2 && p2._t_ && g(p2._t_ + "_id") && (w2.id = g(p2._t_ + "_id")), m2 && (w2.ids = Be(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, (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1108
+ 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 };
1109
+ if (!w2.id && p2 && p2._t_ && g(p2._t_ + "_id") && (w2.id = g(p2._t_ + "_id")), m2 && (w2.ids = Be(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) {
1110
1110
  const t2 = {};
1111
1111
  e3.tableUuids.forEach((e4) => {
1112
1112
  const n4 = r(l2, u2, e4);
@@ -1114,7 +1114,7 @@ function We(e2, n2, s2) {
1114
1114
  }), w2.listCodesMap = t2;
1115
1115
  }
1116
1116
  e3.refercePropMap && (w2.refercePropMap = e3.refercePropMap), w2.isMobile = F();
1117
- const T2 = C2 + "/dsc/commons/gets", k2 = B();
1117
+ const T2 = b2 + "/dsc/commons/gets", k2 = B();
1118
1118
  k2.restorePageLoadState(), y(null, e3, e3, "beforeFormLoadData");
1119
1119
  const h2 = G(e3.code, w2.id);
1120
1120
  c.post(T2, w2).then(async (t2) => {
@@ -1199,7 +1199,7 @@ function ze(e2, t2, n2, o2) {
1199
1199
  export {
1200
1200
  Z as checkAndTipFileUploading,
1201
1201
  ae as dealAfterOperate,
1202
- Ce as dealCompleteTaskParam,
1202
+ be as dealCompleteTaskParam,
1203
1203
  qe as deleteChartCondition,
1204
1204
  ve as doAddSigner,
1205
1205
  Ie as doAddTransactor,
@@ -1208,10 +1208,10 @@ export {
1208
1208
  He as doFileTaskFunc,
1209
1209
  fe as doImportFinally,
1210
1210
  Oe as doRemoveSigners,
1211
- Ue as doRemoveTransactors,
1211
+ Ee as doRemoveTransactors,
1212
1212
  xe as doReturnTaskTo,
1213
1213
  X as exportFormReport,
1214
- Ee as extractWorkflowFunc,
1214
+ Ue as extractWorkflowFunc,
1215
1215
  Pe as getAdditionalParamMap,
1216
1216
  We as getFormData,
1217
1217
  Ne as getRemoveSigner,