super-page-runtime 2.3.49 → 2.3.50-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 (73) hide show
  1. package/dist/es/components/runtime/utils/api/page-expose-util.js +136 -136
  2. package/dist/es/components/runtime/utils/events/event-util.js +129 -127
  3. package/dist/es/components/runtime/utils/events/print-label.js +33 -34
  4. package/dist/es/components/runtime/utils/events/standard-event.d.ts +0 -8
  5. package/dist/es/components/runtime/utils/events/standard-event.js +227 -223
  6. package/dist/es/components/runtime/utils/events/validator-util.js +206 -209
  7. package/dist/es/components/runtime/utils/page-init-util.js +45 -47
  8. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  9. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +3 -3
  10. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +3 -3
  11. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -3
  12. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +1 -1
  13. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +3 -3
  14. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  15. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
  16. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -8
  17. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +1 -1
  18. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +8 -8
  19. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
  20. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  21. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  22. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  23. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +99 -104
  24. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +4 -4
  25. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
  26. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +9 -11
  27. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
  28. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
  29. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +3 -3
  30. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +3 -3
  31. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -2
  32. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +3 -3
  33. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +3 -3
  34. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +5 -5
  35. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +1 -1
  36. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
  37. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +9 -11
  38. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +11 -7
  39. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +1 -1
  40. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +1 -1
  41. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +17 -17
  42. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +3 -3
  43. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +3 -3
  44. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +6 -6
  45. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +22 -22
  46. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +3 -3
  47. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -3
  48. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +6 -8
  49. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue2.js +5 -6
  50. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +3 -3
  51. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +41 -42
  52. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +4 -6
  53. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +7 -9
  54. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +3 -3
  55. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +1 -1
  56. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +141 -124
  57. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +8 -9
  58. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +1 -1
  59. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +3 -3
  60. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +11 -11
  61. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +3 -3
  62. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +3 -3
  63. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +9 -11
  64. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +2 -2
  65. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +3 -3
  66. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +1 -1
  67. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  68. package/dist/es/components/runtime/views/super-page-dialog.vue.js +6 -7
  69. package/dist/es/components/runtime/views/super-page.vue2.js +98 -99
  70. package/dist/es/i18n/langs/cn.js +1 -1
  71. package/dist/es/i18n/langs/en.js +1 -1
  72. package/dist/es/style.css +127 -75
  73. package/package.json +2 -2
@@ -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 C, getRunCurrentRole as b } from "agilebuilder-ui/src/utils/auth";
5
+ import { getCurrentUser as m, getToken as f, getSessionCache as g, setSessionCache as b, getRunCurrentRole as C } 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";
@@ -30,20 +30,20 @@ const z = { save: function(e2) {
30
30
  const t2 = e2.pageContext.code + "_";
31
31
  k.$emit(t2 + "export-pdf-report", e2);
32
32
  }, submit: function(e2) {
33
- return de(e2, false, "submit", "/dsc/commons/submits");
33
+ return me(e2, false, "submit", "/dsc/commons/submits");
34
34
  }, submitList: function(e2) {
35
- return de(e2, true, "submit", "/dsc/commons/batch-submits");
35
+ return me(e2, true, "submit", "/dsc/commons/batch-submits");
36
36
  }, agree: function(e2) {
37
- return de(e2, false, "agree", "/dsc/commons/approves");
37
+ return me(e2, false, "agree", "/dsc/commons/approves");
38
38
  }, agreeList: function(e2) {
39
- return de(e2, true, "agree", "/dsc/commons/batch-approves");
39
+ return me(e2, true, "agree", "/dsc/commons/batch-approves");
40
40
  }, disagree: function(e2) {
41
- return de(e2, false, "disagree", "/dsc/commons/refuses");
41
+ return me(e2, false, "disagree", "/dsc/commons/refuses");
42
42
  }, disagreeList: function(e2) {
43
- return de(e2, true, "disagree", "/dsc/commons/batch-refuses");
43
+ return me(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
- ce(t2, e2.configureObj, n2, o2);
46
+ le(t2, e2.configureObj, n2, o2);
47
47
  }, delete: function(e2) {
48
48
  return function(e3) {
49
49
  return new Promise((s2, i2) => {
@@ -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 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 };
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 };
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));
@@ -66,7 +66,7 @@ const z = { save: function(e2) {
66
66
  const v2 = (_f = (_e2 = l2.runtime) == null ? void 0 : _e2.props) == null ? void 0 : _f.title;
67
67
  v2 && (h2.currentOperation = v2), h2.isMobile = F(), c.delete(g2, { data: h2 }).then((e4) => {
68
68
  const t2 = w(r2, m2);
69
- t2 && (t2.isDeleteChange(true), t2.clearSelections()), ie(r2, l2, e4, "superPageRuntimeMessage.successfulDelete", true), s2(true);
69
+ t2 && (t2.isDeleteChange(true), t2.clearSelections()), ae(r2, l2, e4, ie(l2, "superPageRuntimeMessage.successfulDelete"), true), s2(true);
70
70
  }).catch((e4) => {
71
71
  i2(e4);
72
72
  });
@@ -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 C2 = (_b = o2.props.base) == null ? void 0 : _b.logSetting;
88
- C2 && (m2 += "&logSettingText=" + C2.join(""));
87
+ const b2 = (_b = o2.props.base) == null ? void 0 : _b.logSetting;
88
+ b2 && (m2 += "&logSettingText=" + b2.join(""));
89
89
  u2 && (m2 += "&systemCode=" + u2);
90
- const b2 = e3.listCode;
91
- b2 && (m2 += "&listCode=" + b2);
90
+ const C2 = e3.listCode;
91
+ C2 && (m2 += "&listCode=" + C2);
92
92
  n2.beanName && (m2 += "&beanName=" + n2.beanName);
93
93
  const w2 = S(o2, n2);
94
94
  w2 && (m2 += "&functionCode=" + w2);
@@ -126,7 +126,7 @@ const z = { save: function(e2) {
126
126
  u2 = void 0 !== i2.isAsync && null !== i2.isAsync && i2.isAsync;
127
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;
128
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(() => {
129
- qe(o2);
129
+ He(o2);
130
130
  }, 100);
131
131
  });
132
132
  }(e2);
@@ -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 = ge(e3);
147
+ const m2 = be(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("superPageRuntimeMessage.successfulSave") }), k.$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(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 = ge(e3);
164
+ const m2 = be(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("superPageRuntimeMessage.successfulStart") }), k.$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(ie(e3.configureObj, "superPageRuntimeMessage.successfulStart")) }), k.$emit("clearTableAllEndEditing"), o2(true);
169
169
  }).catch((e4) => {
170
170
  s2(e4);
171
171
  });
@@ -179,31 +179,31 @@ 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 = ge(e3);
182
+ const d2 = be(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("superPageRuntimeMessage.successfulSubmit") }), k.$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(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);
191
191
  });
192
192
  }(e2);
193
193
  }, submitTask: function(e2) {
194
- return be(e2, "SUBMIT");
194
+ return we(e2, "SUBMIT");
195
195
  }, approve: function(e2) {
196
- return be(e2, "APPROVE");
196
+ return we(e2, "APPROVE");
197
197
  }, refuse: function(e2) {
198
- return be(e2, "REFUSE");
198
+ return we(e2, "REFUSE");
199
199
  }, readed: function(e2) {
200
- return be(e2, "READED");
200
+ return we(e2, "READED");
201
201
  }, agreement: function(e2) {
202
- return be(e2, "AGREEMENT");
202
+ return we(e2, "AGREEMENT");
203
203
  }, oppose: function(e2) {
204
- return be(e2, "OPPOSE");
204
+ return we(e2, "OPPOSE");
205
205
  }, kiken: function(e2) {
206
- return be(e2, "KIKEN");
206
+ return we(e2, "KIKEN");
207
207
  }, assign: function(e2) {
208
208
  return function(e3) {
209
209
  const t2 = e3.pageContext, n2 = t2.code + "_";
@@ -221,23 +221,23 @@ 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 = ge(e3);
225
- return Se(e3, i2, s2, "superPageRuntimeMessage.successfulDrawTask");
224
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/draw-tasks", i2 = be(e3);
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 = ge(e3);
230
- return Se(e3, i2, s2, "superPageRuntimeMessage.successfulAbandonReceive");
229
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/abandon-receives", i2 = be(e3);
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 = ge(e3);
235
- return Se(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 = be(e3);
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 = ge(e3);
240
- return Se(e3, i2, s2, "superPageRuntimeMessage.successfulEndInstance");
239
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/end-instance", i2 = be(e3);
240
+ return Re(e3, i2, s2, "superPageRuntimeMessage.successfulEndInstance");
241
241
  }(e2);
242
242
  }, returnTaskTo: function(e2) {
243
243
  return function(e3) {
@@ -251,8 +251,8 @@ 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 = ge(e3);
255
- return Se(e3, i2, s2, "superPageRuntimeMessage.successfulRetrieve");
254
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/retrieves", i2 = be(e3);
255
+ return Re(e3, i2, s2, "superPageRuntimeMessage.successfulRetrieve");
256
256
  }(e2);
257
257
  }, extractWorkflow: function(e2) {
258
258
  return Ue(e2);
@@ -263,18 +263,18 @@ 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 = ge(e3);
267
- return Se(e3, i2, s2, "superPageRuntimeMessage.successfulCancelExtract");
266
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/cancel-extract", i2 = be(e3);
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 = ge(e3);
272
- return Se(e3, i2, s2, "superPageRuntimeMessage.successfulOperation");
271
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/approve-extract", i2 = be(e3);
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 = ge(e3);
277
- return Se(e3, i2, s2, "superPageRuntimeMessage.successfulOperation");
276
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/refuse-extract", i2 = be(e3);
277
+ return Re(e3, i2, s2, "superPageRuntimeMessage.successfulOperation");
278
278
  }(e2);
279
279
  }, viewDetail: function(e2) {
280
280
  }, lineEditCreate: 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);
@@ -320,7 +319,7 @@ const z = { save: function(e2) {
320
319
  let c2, l2 = n2.label;
321
320
  l2 || (l2 = n2.code);
322
321
  c2 = l2;
323
- const u2 = { reportDataList: r2, beanName: n2.beanName, systemCode: n2.systemCode, pageCode: n2.code }, p2 = ye(n2);
322
+ const u2 = { reportDataList: r2, beanName: n2.beanName, systemCode: n2.systemCode, pageCode: n2.code }, p2 = Pe(n2);
324
323
  u2.additionalParamMap = p2;
325
324
  const d2 = (_b = (_a = s2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
326
325
  d2 && (u2.currentOperation = d2);
@@ -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), 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
+ 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 };
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
- }), b2.subTableColumns = t2;
377
+ }), C2.subTableColumns = t2;
379
378
  }
380
- l2 && (b2.logSettingText = l2.join(""));
379
+ l2 && (C2.logSettingText = l2.join(""));
381
380
  const T2 = (_c = (_b = n2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
382
- T2 && (b2.currentOperation = T2), b2.isMobile = F();
383
- const k2 = ye(e2);
381
+ T2 && (C2.currentOperation = T2), C2.isMobile = F();
382
+ const k2 = Pe(e2);
384
383
  let y2;
385
- 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
+ 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) {
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, b2, e2.isTest) : function(e3, n3, o2, s3) {
396
+ }(r2, f2, C2, 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, b2, e2.isTest), y2 && y2.then(() => {
410
+ }(r2, f2, C2, 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 = b();
418
+ const e2 = C();
420
419
  if (e2) {
421
420
  const t2 = "_RUN_CURRENT_ROLE";
422
421
  h.defaults.headers.common[t2] = e2;
@@ -438,7 +437,7 @@ function ee(e2, t2) {
438
437
  q(s2.code, s2.entity.data);
439
438
  const u2 = oe(s2, i2, "/dsc/commons", l2, a2, r2);
440
439
  u2 ? u2.then((e3) => {
441
- e3 && H(s2.code, s2.entity.data), ie(s2, i2, e3, "superPageRuntimeMessage.successfulSave", t2), n2(e3);
440
+ e3 && H(s2.code, s2.entity.data), ae(s2, i2, e3, ie(i2, "superPageRuntimeMessage.successfulSave"), t2), n2(e3);
442
441
  }).catch((e3) => {
443
442
  o2(e3);
444
443
  }) : (H(s2.code, s2.entity.data), o2("保存时request不存在"));
@@ -453,13 +452,13 @@ 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 C2 = Be(t2);
457
- C2 && (f2.autoSetValueData = C2);
458
- const b2 = (_a = t2.props.base) == null ? void 0 : _a.logSetting;
459
- b2 && (f2.logSettingText = b2.join("")), f2.systemCode || (f2.systemCode = u2);
455
+ const b2 = Fe(t2);
456
+ b2 && (f2.autoSetValueData = b2);
457
+ const C2 = (_a = t2.props.base) == null ? void 0 : _a.logSetting;
458
+ C2 && (f2.logSettingText = C2.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
- const T2 = ye(e2);
461
+ const T2 = Pe(e2);
463
462
  f2.additionalParamMap = T2, void 0 !== n2 && (f2.unControlVersion = n2);
464
463
  const k2 = (_c = (_b = t2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
465
464
  return k2 && (f2.currentOperation = k2), f2.isMobile = F(), f2;
@@ -475,19 +474,24 @@ function se(e2, o2, s2, i2, a2, r2) {
475
474
  let l2, u2 = t(o2, r2) + i2;
476
475
  return u2 = n(u2, e2, o2, r2), l2 = a2 && (a2.id || a2.ID) ? c.put(u2, s2) : c.post(u2, s2), l2;
477
476
  }
478
- function ie(t2, n2, o2, s2, i2) {
479
- const a2 = ae(t2, n2, i2);
477
+ function ie(e2, t2) {
478
+ const n2 = e2 && e2.props && e2.props.base ? e2.props.base.successMessage : "";
479
+ return n2 && String(n2).trim() ? String(n2) : t2;
480
+ }
481
+ function ae(t2, n2, o2, s2, i2) {
482
+ const a2 = re(t2, n2, i2);
480
483
  if (a2 && "list" === a2) !function(t3, n3, o3, s3) {
481
484
  let i3 = n3.props.base.successOperation;
482
485
  const a3 = n3.props.base.isNeedValueMapping, r2 = P(t3, n3);
483
- i3 || ue.includes(n3.name) || (i3 = "refresh");
484
- if ("refresh" === i3) if (r2) {
485
- w(t3, r2).refresh();
486
- } else console.error("tableUuid is empty");
487
- else if ("closeWindow" === i3 || "closeWindowAndRefresh" === i3) {
486
+ i3 || pe.includes(n3.name) || (i3 = "refresh");
487
+ if ("refresh" === i3) {
488
+ if (r2) {
489
+ w(t3, r2).refresh();
490
+ }
491
+ } else if ("closeWindow" === i3 || "closeWindowAndRefresh" === i3) {
488
492
  const s4 = e(t3.entity.page);
489
493
  let i4 = o3;
490
- i4 || (i4 = {}), Object.assign(s4, i4), ce(t3, n3, s4, a3);
494
+ i4 || (i4 = {}), Object.assign(s4, i4), le(t3, n3, s4, a3);
491
495
  }
492
496
  s3 && u({ message: l().t(s3), type: "success", showClose: true });
493
497
  }(t2, n2, o2, s2), t2.canClick = true;
@@ -496,31 +500,31 @@ function ie(t2, n2, o2, s2, i2) {
496
500
  const o4 = n3;
497
501
  let s3;
498
502
  s3 = o4.entity ? o4.entity : o4, o4.formNo && (e2.initFormNo = o4.formNo);
499
- re(e2, t3, { ...s3, ...e2.entity.page });
503
+ ce(e2, t3, { ...s3, ...e2.entity.page });
500
504
  } else {
501
505
  const n4 = t3.props.base.successOperation;
502
506
  if (n4 && null !== n4) {
503
- re(e2, t3, { ...e2.entity.page });
507
+ ce(e2, t3, { ...e2.entity.page });
504
508
  } else e2.canClick = true;
505
509
  }
506
510
  o3 && u({ message: l().t(o3), type: "success", showClose: true });
507
511
  }(t2, n2, o2, s2);
508
512
  else {
509
513
  const e2 = n2.props.base.successOperation;
510
- e2 && null !== e2 ? re(t2, n2, null) : t2.canClick = true;
514
+ e2 && null !== e2 ? ce(t2, n2, null) : t2.canClick = true;
511
515
  }
512
516
  }
513
- function ae(e2, t2, n2) {
517
+ function re(e2, t2, n2) {
514
518
  let o2;
515
519
  return void 0 === n2 ? o2 = t2.props.base.tableUuid ? "list" : null : false === n2 && (o2 = "form"), o2 || (o2 = e2.pageType), o2;
516
520
  }
517
- function re(e2, t2, n2) {
521
+ function ce(e2, t2, n2) {
518
522
  const o2 = t2.props.base.successOperation;
519
523
  if (!o2 || null === o2) return;
520
524
  const s2 = t2.props.base.isNeedValueMapping;
521
- "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 || (ce(e2, t2, n2, s2), e2.canClick = true);
525
+ "noOperation" === o2 ? e2.canClick = true : "refresh" === o2 ? n2 && (n2.id || n2.ID) ? De(e2, n2.ID ? n2.ID : n2.id) : e2.canClick = true : "closeWindow" !== o2 && "closeWindowAndRefresh" !== o2 || (le(e2, t2, n2, s2), e2.canClick = true);
522
526
  }
523
- function ce(e2, t2, n2, o2) {
527
+ function le(e2, t2, n2, o2) {
524
528
  const s2 = e2.entity && e2.entity.request ? e2.entity.request.jumpMode : null;
525
529
  if ("openWindow" === s2 || "newTab" === s2) window.parent ? window.parent.close() : window.close();
526
530
  else {
@@ -528,7 +532,7 @@ function ce(e2, t2, n2, o2) {
528
532
  k.$has(r2) ? k.$emit(r2, { isNeedValueMapping: a2, dataModel: n2, sourceConfigureObj: t2, sourceTableName: i2, jumpMode: s2 }) : "refresh" === s2 && window.history.back();
529
533
  }
530
534
  }
531
- function le({ parentPageContext: e2, parentEventParams: t2, parentConfigureObj: n2, sourceModel: o2, sourceTableName: s2, valueMappings: i2 }) {
535
+ function ue({ parentPageContext: e2, parentEventParams: t2, parentConfigureObj: n2, sourceModel: o2, sourceTableName: s2, valueMappings: i2 }) {
532
536
  var _a;
533
537
  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);
534
538
  const a2 = e2.tableName;
@@ -544,72 +548,72 @@ function le({ parentPageContext: e2, parentEventParams: t2, parentConfigureObj:
544
548
  }
545
549
  }(o2, i2, e2), y(null, e2, n2, "setValue", { sourceModel: o2, sourceTableName: s2, entity: e2.entity.data, targetTableName: a2, eventParams: t2 });
546
550
  }
547
- const ue = ["dropdown"];
548
- function pe(e2, t2, n2, o2) {
551
+ const pe = ["dropdown"];
552
+ function de(e2, t2, n2, o2) {
549
553
  var _a;
550
554
  t2 && !t2.props.base && (t2.props.base = {});
551
555
  let s2 = o2;
552
556
  s2 || (s2 = n2 ? "refresh" : (_a = t2.props.base) == null ? void 0 : _a.successOperation);
553
- const i2 = ae(e2, t2);
557
+ const i2 = re(e2, t2);
554
558
  if (i2 && "list" === i2 && !s2 && (s2 = "refresh"), "refresh" === s2) {
555
559
  if (i2 && "list" === i2) {
556
560
  const n3 = P(e2, t2);
557
561
  if (n3) {
558
562
  w(e2, n3).refresh();
559
- } else console.error("tableUuid is empty");
563
+ }
560
564
  } else if (i2 && "form" === i2) {
561
565
  const t3 = e2.entity.data;
562
- _e(e2, t3.ID ? t3.ID : t3.id);
566
+ De(e2, t3.ID ? t3.ID : t3.id);
563
567
  }
564
568
  }
565
569
  }
566
- function de(e2, o2, s2, i2) {
570
+ function me(e2, o2, s2, i2) {
567
571
  return new Promise((r2, u2) => {
568
572
  const d2 = e2.pageContext, m2 = e2.configureObj;
569
573
  if (Z(d2)) return void r2(false);
570
- const f2 = e2.mainDefaultValueColumns, g2 = e2.dynamicColumnInfo, C2 = e2.ids, b2 = m2.props.base.successOperation;
574
+ const f2 = e2.mainDefaultValueColumns, g2 = e2.dynamicColumnInfo, b2 = e2.ids, C2 = m2.props.base.successOperation;
571
575
  let w2 = false;
572
- b2 && "noOperation" === b2 && (w2 = true);
576
+ C2 && "noOperation" === C2 && (w2 = true);
573
577
  let T2 = d2.tableName;
574
578
  if (o2) {
575
579
  const t2 = m2.props.base.tableUuid ? m2.props.base.tableUuid : e2.tableUuid;
576
- T2 = E(d2, t2);
580
+ T2 = U(d2, t2);
577
581
  } else q(d2.code, d2.entity.data);
578
582
  const k2 = function(e3, o3, s3, i3, r3, u3, d3, m3, f3) {
579
- return new Promise((g3, C3) => {
580
- const b3 = o3.props.base.title, w3 = "superPageRuntimeMessage.whetherToConfirm" + a(d3);
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(() => {
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(() => {
582
586
  const a2 = e3.systemCode, l2 = e3.backendUrl, p2 = te(e3, o3, i3, r3, u3, m3, null);
583
587
  p2.tableName = f3;
584
588
  let d4 = t(l2, e3.isTest) + s3;
585
589
  d4 = n(d4, a2, l2, e3.isTest), c.post(d4, p2).then((e4) => {
586
590
  g3(e4);
587
591
  }).catch((e4) => {
588
- C3(e4);
592
+ b3(e4);
589
593
  });
590
594
  }).catch(() => {
591
- C3("点击了取消按钮");
595
+ b3("点击了取消按钮");
592
596
  });
593
597
  });
594
- }(d2, m2, i2, w2, f2, g2, s2, C2, T2);
598
+ }(d2, m2, i2, w2, f2, g2, s2, b2, T2);
595
599
  k2 ? k2.then((e3) => {
596
- !o2 && e3 && H(d2.code, d2.entity.data), ie(d2, m2, e3, "superPageRuntimeMessage.successfulSave", o2), r2(e3);
600
+ !o2 && e3 && H(d2.code, d2.entity.data), ae(d2, m2, e3, ie(m2, "superPageRuntimeMessage.successfulSave"), o2), r2(e3);
597
601
  }).catch((e3) => {
598
602
  u2(e3);
599
603
  }) : (o2 || H(d2.code, d2.entity.data), u2("request不存在"));
600
604
  });
601
605
  }
602
- function me(e2, s2) {
606
+ function fe(e2, s2) {
603
607
  var _a, _b, _c, _d, _e2;
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 = 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();
605
609
  f2.append("multipartFile", s2), m2 && f2.append("tableName", m2);
606
610
  const g2 = (_b = (_a = a2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
607
611
  g2 && f2.append("currentOperation", g2), f2.append("isMobile", F()), i2.importBeanName && f2.append("importBeanName", i2.importBeanName), i2.beanName && f2.append("beanName", i2.beanName);
608
- const C2 = (_c = r2.props.importSetting) == null ? void 0 : _c.listViewImportDuplicate;
609
- C2 && f2.append("importDuplicateRule", C2);
610
- const b2 = i2.judgeHeavyList;
611
- b2 && f2.append("judgeHeavyList", JSON.stringify(b2));
612
- const w2 = Be(a2);
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));
616
+ const w2 = Fe(a2);
613
617
  w2 && f2.append("autoSetValueData", w2);
614
618
  const T2 = i2.formNoRuleCode;
615
619
  T2 && f2.append("formNoRuleCode", T2);
@@ -621,7 +625,7 @@ function me(e2, s2) {
621
625
  null != y2 && f2.append("isWorkflowEntity", y2 + "");
622
626
  const P2 = S(a2, i2);
623
627
  P2 && f2.append("functionCode", P2);
624
- const I2 = ye(i2);
628
+ const I2 = Pe(i2);
625
629
  f2.append("additionalParamMapStr", JSON.stringify(I2));
626
630
  const R2 = void 0 === p2.isPermission || "true" === p2.isPermission || p2.isPermission;
627
631
  f2.append("isPermission", R2 + "");
@@ -632,15 +636,15 @@ function me(e2, s2) {
632
636
  const N2 = i2.backendUrl;
633
637
  let O2 = t(N2, i2.isTest) + "/dsc/commons/import-data";
634
638
  O2 = n(O2, M2, N2, i2.isTest), c.post(O2, f2).then((e3) => {
635
- if (h2) u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.asyncImport") }), qe(i2);
639
+ if (h2) u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.asyncImport") }), He(i2);
636
640
  else {
637
641
  let t2 = false;
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);
642
+ e3 ? (t2 = false, u({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e3 })) : (u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulImport") }), t2 = true), ae(i2, a2, e3, null, true), i2.result = t2, v(i2, a2);
639
643
  }
640
644
  }).catch((e3) => {
641
645
  });
642
646
  }
643
- function fe(e2, t2) {
647
+ function ge(e2, t2) {
644
648
  const n2 = e2.props.base;
645
649
  if (n2.conditionsForExecution && "" !== n2.conditionsForExecution) {
646
650
  if ("one" === n2.conditionsForExecution) {
@@ -649,7 +653,7 @@ function fe(e2, t2) {
649
653
  }
650
654
  return true;
651
655
  }
652
- function ge(e2) {
656
+ function be(e2) {
653
657
  var _a, _b, _c;
654
658
  const t2 = e2.pageContext, n2 = e2.configureObj, o2 = t2.entity.data, i2 = t2.systemCode, a2 = t2.code;
655
659
  let r2 = S(n2, t2);
@@ -658,12 +662,12 @@ function ge(e2) {
658
662
  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);
659
663
  const l2 = n2.props.base.conversionCodes;
660
664
  l2 && (s(l2) ? c2.dataConversionRule = l2.join(",") : "string" == typeof l2 && (c2.dataConversionRule = l2));
661
- const u2 = Be(n2);
665
+ const u2 = Fe(n2);
662
666
  u2 && (c2.autoSetValueData = u2), t2.beanName && (c2.beanName = t2.beanName);
663
667
  const p2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
664
668
  p2 && (c2.logSettingText = p2.join("")), c2.systemCode || (c2.systemCode = i2);
665
- const d2 = ye(t2);
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] : console.error("ids参数类型错误"));
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]));
667
671
  const m2 = n2.props.base.successOperation;
668
672
  m2 && "noOperation" === m2 && (c2.unControlVersion = true), c2.isWorkflowEntity = true;
669
673
  const f2 = (_c = (_b = n2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
@@ -674,8 +678,8 @@ function Ce(e2, t2, n2, o2, s2) {
674
678
  let r2;
675
679
  if (e2) {
676
680
  t2 && (n2.initFormNo = e2.formNo, n2.emailTemplateCode = e2.emailTemplateCode), e2.entity && (n2.entity.data = e2.entity, function(e3, t3) {
677
- const n3 = ye(t3);
678
- e3 && n3 && C(n3._t_ + "_id", e3);
681
+ const n3 = Pe(t3);
682
+ e3 && n3 && b(n3._t_ + "_id", e3);
679
683
  }(e2.entity.id || e2.entity.ID, n2));
680
684
  const s3 = e2.completeTaskResult;
681
685
  if (s3) {
@@ -691,10 +695,10 @@ function Ce(e2, t2, n2, o2, s2) {
691
695
  }
692
696
  n2.entity || (n2.entity = {}), n2.entity.task = e2.taskParamMap, I(i2, a2, "_currentActivityName", e2.taskName);
693
697
  }
694
- return o2 && (o2.operationResult = s2), t2 || ie(n2, o2.configureObj, e2, null, false), true;
698
+ return o2 && (o2.operationResult = s2), t2 || ae(n2, o2.configureObj, e2, null, false), true;
695
699
  }
696
- async function be(e2, o2) {
697
- const s2 = await we(e2);
700
+ async function we(e2, o2) {
701
+ const s2 = await Te(e2);
698
702
  return new Promise((i2, a2) => {
699
703
  var _a;
700
704
  const r2 = e2.pageContext;
@@ -703,19 +707,19 @@ async function be(e2, o2) {
703
707
  const p2 = r2.systemCode, d2 = r2.backendUrl, m2 = true === s2 ? (_a = r2.completeTaskParam) == null ? void 0 : _a.opinion : s2;
704
708
  let f2 = t(d2, r2.isTest) + "/dsc/workflow-commons/complete-tasks";
705
709
  if (f2 = n(f2, p2, d2, r2.isTest), !f2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
706
- const g2 = ge(e2);
710
+ const g2 = be(e2);
707
711
  g2.completeTaskParam = { operationResult: o2, taskId: r2.completeTaskParam ? r2.completeTaskParam.taskId : null, opinion: m2 || null };
708
- const C2 = c.post(f2, g2);
709
- q(r2.code, r2.entity.data), C2.then((t2) => {
712
+ const b2 = c.post(f2, g2);
713
+ q(r2.code, r2.entity.data), b2.then((t2) => {
710
714
  let n2 = 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);
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);
712
716
  }).catch((e3) => {
713
717
  a2(e3);
714
718
  });
715
719
  } else i2(true);
716
720
  });
717
721
  }
718
- function we(e2) {
722
+ function Te(e2) {
719
723
  return new Promise((t2, n2) => {
720
724
  var _a, _b, _c, _d, _e2;
721
725
  const o2 = e2.configureObj;
@@ -730,22 +734,22 @@ function we(e2) {
730
734
  } else t2(true);
731
735
  });
732
736
  }
733
- function Te(e2, n2) {
737
+ function ke(e2, n2) {
734
738
  if (n2) {
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) => {
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);
740
+ c2.assigneeId = r2, Re(e2, c2, a2, "superPageRuntimeMessage.successfulAssign").then((e3) => {
737
741
  v(o2, s2);
738
742
  });
739
743
  }
740
744
  }
741
- function ke(e2) {
745
+ function he(e2) {
742
746
  var _a, _b;
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);
747
+ const t2 = e2.pageContext, n2 = t2.entity.data, o2 = t2.systemCode, s2 = t2.code, i2 = e2.configureObj, a2 = Pe(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 };
748
+ c2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, systemCode: o2 }, c2.completeTaskParam.customTaskTitle = ye(e2);
745
749
  const l2 = (_b = (_a = i2 == null ? void 0 : i2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
746
750
  return l2 && (c2.currentOperation = l2), c2.isMobile = F(), c2;
747
751
  }
748
- function he(e2) {
752
+ function ye(e2) {
749
753
  var _a, _b, _c;
750
754
  let t2 = null;
751
755
  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++) {
@@ -763,7 +767,7 @@ function he(e2) {
763
767
  }
764
768
  return t2;
765
769
  }
766
- function ye(t2) {
770
+ function Pe(t2) {
767
771
  if (t2.entity) {
768
772
  let n2 = e(t2.entity.page);
769
773
  n2 || (n2 = {});
@@ -771,33 +775,33 @@ function ye(t2) {
771
775
  return o2 && Object.assign(n2, o2), n2;
772
776
  }
773
777
  }
774
- function Pe(e2, o2) {
778
+ function ve(e2, o2) {
775
779
  if (o2) {
776
780
  const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
777
781
  let p2 = t(r2, s2.isTest) + "/dsc/workflow-commons/add-signers";
778
782
  if (p2 = n(p2, a2, r2, s2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
779
- const d2 = ke(e2);
783
+ const d2 = he(e2);
780
784
  d2.completeTaskParam.transactors = o2.loginNames.join(",").split(",");
781
785
  const m2 = c.post(p2, d2);
782
786
  m2 && m2.then((e3) => {
783
- u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && ie(s2, i2, e3, null, false), v(s2, i2);
787
+ u({ showClose: true, type: "success", message: l().t(ie(i2, "superPageRuntimeMessage.successfulOperation")) }), e3.entity && ae(s2, i2, e3, null, false), v(s2, i2);
784
788
  });
785
789
  }
786
790
  }
787
- function ve(e2, o2) {
791
+ function Ie(e2, o2) {
788
792
  if (o2) {
789
793
  const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
790
794
  let p2 = t(r2, s2.isTest) + "/dsc/workflow-commons/add-transactors";
791
795
  if (p2 = n(p2, a2, r2, s2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
792
- const d2 = ke(e2);
796
+ const d2 = he(e2);
793
797
  d2.completeTaskParam.transactors = o2.loginNames.join(",").split(",");
794
798
  const m2 = c.post(p2, d2);
795
799
  m2 && m2.then((e3) => {
796
- u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && ie(s2, i2, e3, null, false), v(s2, i2);
800
+ u({ showClose: true, type: "success", message: l().t(ie(i2, "superPageRuntimeMessage.successfulOperation")) }), e3.entity && ae(s2, i2, e3, null, false), v(s2, i2);
797
801
  });
798
802
  }
799
803
  }
800
- async function Ie(e2, o2) {
804
+ async function Se(e2, o2) {
801
805
  if (o2) {
802
806
  const s2 = await function(e3) {
803
807
  return new Promise((t2, n2) => {
@@ -822,18 +826,18 @@ async function Ie(e2, o2) {
822
826
  const i2 = e2.pageContext, a2 = e2.configureObj, r2 = i2.systemCode, p2 = i2.backendUrl;
823
827
  let d2 = t(p2, i2.isTest) + "/dsc/workflow-commons/copies";
824
828
  if (d2 = n(d2, r2, p2, i2.isTest), !d2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
825
- const m2 = ke(e2);
829
+ const m2 = he(e2);
826
830
  m2.completeTaskParam.transactors = o2.loginNames.join(",").split(","), true !== s2 && (m2.completeTaskParam.remark = s2);
827
831
  const f2 = c.post(d2, m2);
828
832
  f2 && f2.then((e3) => {
829
833
  var _a;
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);
834
+ u({ showClose: true, type: "success", message: l().t(ie(a2, "superPageRuntimeMessage.successfulOperation")) }), ae(i2, a2, { entity: (_a = i2.entity) == null ? void 0 : _a.data }, null), v(i2, a2);
831
835
  });
832
836
  }
833
837
  }
834
838
  }
835
- async function Se(e2, t2, o2, s2) {
836
- const i2 = await we(e2);
839
+ async function Re(e2, t2, o2, s2) {
840
+ const i2 = await Te(e2);
837
841
  return new Promise((a2, r2) => {
838
842
  var _a;
839
843
  if (i2) {
@@ -846,73 +850,73 @@ async function Se(e2, t2, o2, s2) {
846
850
  const f2 = c.post(o2, t2);
847
851
  f2 && f2.then((t3) => {
848
852
  let n2 = true;
849
- t3 && (n2 = Ce(t3, false, p2, e2, null)), true === n2 && u({ showClose: true, type: "success", message: l().t(s2) }), a2(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);
850
854
  }).catch((e3) => {
851
855
  r2(e3);
852
856
  });
853
857
  } else a2(true);
854
858
  });
855
859
  }
856
- function Re(e2) {
860
+ function Me(e2) {
857
861
  const o2 = e2.pageContext, s2 = o2.systemCode, i2 = o2.backendUrl, a2 = o2.completeTaskParam;
858
862
  let r2 = t(i2, o2.isTest) + "/dsc/workflow-commons/returnable-task/" + a2.taskId;
859
863
  if (r2 = n(r2, s2, i2, o2.isTest), !r2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
860
- const p2 = o2.code, d2 = ye(o2), m2 = { beanName: o2.beanName, additionalParamMap: d2, tableName: o2.tableName, functionCode: p2 + ".xxx", pageCode: o2.code };
864
+ const p2 = o2.code, d2 = Pe(o2), m2 = { beanName: o2.beanName, additionalParamMap: d2, tableName: o2.tableName, functionCode: p2 + ".xxx", pageCode: o2.code };
861
865
  return c.post(r2, m2);
862
866
  }
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) => {
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);
869
+ n2.nodeName && (r2.returnToNodeName = n2.nodeName), n2.nodeId && (r2.returnToNodeId = n2.nodeId), Re(e2, r2, a2, "superPageRuntimeMessage.successfulReturnTaskTo").then((e3) => {
866
870
  v(o2, s2);
867
871
  });
868
872
  }
869
- function xe(e2) {
873
+ function Ne(e2) {
870
874
  const o2 = e2.pageContext, s2 = o2.systemCode, i2 = o2.backendUrl;
871
875
  let a2 = t(i2, o2.isTest) + "/dsc/workflow-commons/get-remove-signers";
872
- const r2 = ge(e2);
876
+ const r2 = be(e2);
873
877
  if (a2 = n(a2, s2, i2, o2.isTest), a2) return c.post(a2, r2);
874
878
  u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
875
879
  }
876
- function Ne(e2, o2) {
880
+ function Oe(e2, o2) {
877
881
  if (o2) {
878
882
  const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
879
883
  let p2 = t(r2, s2.isTest) + "/dsc/workflow-commons/remove-signers";
880
884
  if (p2 = n(p2, a2, r2, s2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
881
- const d2 = o2.map((e3) => e3.id ? e3.id : e3.ID ? e3.ID : null), m2 = ge(e2);
885
+ const d2 = o2.map((e3) => e3.id ? e3.id : e3.ID ? e3.ID : null), m2 = be(e2);
882
886
  m2.ids = d2;
883
887
  const f2 = c.post(p2, m2);
884
888
  f2 && f2.then((e3) => {
885
- ie(s2, i2, e3, "superPageRuntimeMessage.successfulOperation", false), v(s2, i2);
889
+ ae(s2, i2, e3, ie(i2, "superPageRuntimeMessage.successfulOperation"), false), v(s2, i2);
886
890
  });
887
891
  }
888
892
  }
889
- function Oe(e2) {
893
+ function Ae(e2) {
890
894
  const o2 = e2.pageContext, s2 = o2.systemCode, i2 = o2.backendUrl;
891
895
  let a2 = t(i2, o2.isTest) + "/dsc/workflow-commons/get-remove-transactors";
892
- const r2 = ge(e2);
896
+ const r2 = be(e2);
893
897
  if (a2 = n(a2, s2, i2, o2.isTest), a2) return c.post(a2, r2);
894
898
  u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
895
899
  }
896
- function Ae(e2, o2) {
900
+ function Ee(e2, o2) {
897
901
  if (o2) {
898
902
  const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
899
903
  let p2 = t(r2, s2.isTest) + "/dsc/workflow-commons/remove-transactors";
900
904
  if (p2 = n(p2, a2, r2, s2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
901
- const d2 = o2.map((e3) => e3.taskId), m2 = ge(e2);
905
+ const d2 = o2.map((e3) => e3.taskId), m2 = be(e2);
902
906
  m2.ids = d2;
903
907
  const f2 = c.post(p2, m2);
904
908
  f2 && f2.then((e3) => {
905
- ie(s2, i2, e3, "superPageRuntimeMessage.successfulOperation", false), v(s2, i2);
909
+ ae(s2, i2, e3, ie(i2, "superPageRuntimeMessage.successfulOperation"), false), v(s2, i2);
906
910
  });
907
911
  }
908
912
  }
909
913
  function Ue(e2) {
910
914
  const o2 = e2.pageContext, s2 = o2.backendUrl;
911
915
  let i2 = t(s2, o2.isTest) + "/dsc/workflow-commons/initiate-extract";
912
- const a2 = ge(e2);
916
+ const a2 = be(e2);
913
917
  if (o2.completeTaskParam) {
914
918
  const t2 = [];
915
- e2._value.loginName && t2.push(e2._value.loginName), a2.completeTaskParam = { taskId: o2.completeTaskParam.taskId, opinion: e2._value.opinion, transactors: t2, customTaskTitle: he(e2) };
919
+ e2._value.loginName && t2.push(e2._value.loginName), a2.completeTaskParam = { taskId: o2.completeTaskParam.taskId, opinion: e2._value.opinion, transactors: t2, customTaskTitle: ye(e2) };
916
920
  }
917
921
  return new Promise((t2, o3) => {
918
922
  const s3 = e2.pageContext, r2 = s3.systemCode, p2 = s3.backendUrl;
@@ -920,13 +924,13 @@ function Ue(e2) {
920
924
  const d2 = c.post(i2, a2);
921
925
  d2 && d2.then((n2) => {
922
926
  let o4 = true;
923
- n2 && (o4 = Ce(n2, false, s3, e2, null)), true === o4 && u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulInitiateExtract") }), t2(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);
924
928
  }).catch((e3) => {
925
929
  o3(e3);
926
930
  });
927
931
  });
928
932
  }
929
- function Ee(e2, t2, n2, o2, s2, i2) {
933
+ function je(e2, t2, n2, o2, s2, i2) {
930
934
  var _a, _b, _c, _d, _e2, _f, _g, _h;
931
935
  let a2 = false;
932
936
  if (o2 && o2.archival) return a2;
@@ -995,7 +999,7 @@ function Ee(e2, t2, n2, o2, s2, i2) {
995
999
  const o3 = m(), s3 = o3 ? o3.loginName : null;
996
1000
  if ("EXTRACT" === (e3 == null ? void 0 : e3.processState) && n3 && (n3.creator === s3 || n3.CREATOR === s3)) return true;
997
1001
  return false;
998
- }(n2, 0, i2) : "approveExtractWorkflow" === t2 || "refuseExtractWorkflow" === t2 ? a2 = je(n2) : "addTransactor" === t2 || "removeTransactor" === t2 ? a2 = function(e3) {
1002
+ }(n2, 0, i2) : "approveExtractWorkflow" === t2 || "refuseExtractWorkflow" === t2 ? a2 = _e(n2) : "addTransactor" === t2 || "removeTransactor" === t2 ? a2 = function(e3) {
999
1003
  if (e3.processState && "SUBMIT" === e3.processState && ("WAIT_TRANSACT" === e3.active || "DRAW_WAIT" === e3.active) && "COUNTERSIGN" !== e3.processingMode) return true;
1000
1004
  return false;
1001
1005
  }(n2) : function(e3, t3) {
@@ -1024,40 +1028,40 @@ function Ee(e2, t2, n2, o2, s2, i2) {
1024
1028
  e2.workflowOpinion.isRequired = t3, t3 && (e2.workflowOpinion.showOpinionBox = true);
1025
1029
  }
1026
1030
  }
1027
- return e2.workflowOpinion, a2;
1031
+ return a2;
1028
1032
  }
1029
- function je(e2, t2, n2) {
1033
+ function _e(e2, t2, n2) {
1030
1034
  return !(!e2.processState || "EXTRACT" !== e2.processState || "WAIT_TRANSACT" !== e2.active);
1031
1035
  }
1032
- function _e(e2, t2) {
1033
- e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, De(e2, t2).then((t3) => {
1036
+ function De(e2, t2) {
1037
+ e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, We(e2, t2).then((t3) => {
1034
1038
  e2.isRefresh = true;
1035
1039
  });
1036
1040
  }
1037
- function De(e2, n2, s2) {
1041
+ function We(e2, n2, s2) {
1038
1042
  const i2 = e2.pageType;
1039
1043
  if (i2 && "form" === i2) {
1040
1044
  e2.canClick = false;
1041
1045
  return o(e2) ? function(e3, n3, o2) {
1042
1046
  return new Promise((s3, i3) => {
1043
1047
  var _a;
1044
- const a2 = e3.systemCode, l2 = e3.code, u2 = e3.version, p2 = ye(e3);
1048
+ const a2 = e3.systemCode, l2 = e3.code, u2 = e3.version, p2 = Pe(e3);
1045
1049
  let d2 = n3 || null, m2 = n3 ? [n3] : null;
1046
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);
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 };
1048
- if (e3.listCodesMap, (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
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 || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1049
1053
  const t2 = {};
1050
1054
  e3.tableUuids.forEach((e4) => {
1051
1055
  const n4 = r(l2, u2, e4);
1052
1056
  t2[n4] = n4;
1053
- }), b2.listCodesMap = t2;
1057
+ }), C2.listCodesMap = t2;
1054
1058
  }
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();
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();
1056
1060
  const w2 = t(e3.backendUrl, e3.isTest) + "/dsc/workflow-commons/gets", T2 = B();
1057
1061
  T2.restorePageLoadState(), y(null, e3, e3, "beforeFormLoadData");
1058
- const k2 = G(e3.code, b2.id);
1059
- c.post(w2, b2).then(async (t2) => {
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);
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);
1061
1065
  const n4 = e3.pageType;
1062
1066
  n4 && "form" === n4 && function(e4) {
1063
1067
  (function(e5) {
@@ -1098,11 +1102,11 @@ function De(e2, n2, s2) {
1098
1102
  }(e2, n2, s2) : function(e3, n3, o2) {
1099
1103
  return new Promise((s3, i3) => {
1100
1104
  var _a;
1101
- const a2 = e3.systemCode, l2 = e3.code, u2 = e3.version, p2 = ye(e3);
1105
+ const a2 = e3.systemCode, l2 = e3.code, u2 = e3.version, p2 = Pe(e3);
1102
1106
  let d2 = n3 || null, m2 = n3 ? [n3] : null;
1103
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);
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 };
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, (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
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 || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1106
1110
  const t2 = {};
1107
1111
  e3.tableUuids.forEach((e4) => {
1108
1112
  const n4 = r(l2, u2, e4);
@@ -1110,11 +1114,11 @@ function De(e2, n2, s2) {
1110
1114
  }), w2.listCodesMap = t2;
1111
1115
  }
1112
1116
  e3.refercePropMap && (w2.refercePropMap = e3.refercePropMap), w2.isMobile = F();
1113
- const T2 = b2 + "/dsc/commons/gets", k2 = B();
1117
+ const T2 = C2 + "/dsc/commons/gets", k2 = B();
1114
1118
  k2.restorePageLoadState(), y(null, e3, e3, "beforeFormLoadData");
1115
1119
  const h2 = G(e3.code, w2.id);
1116
1120
  c.post(T2, w2).then(async (t2) => {
1117
- t2 && (h2 && await We(e3, w2.id, t2), e3.entity.data = t2.entity, e3.initFormNo = t2.formNo);
1121
+ t2 && (h2 && await Le(e3, w2.id, t2), e3.entity.data = t2.entity, e3.initFormNo = t2.formNo);
1118
1122
  const n4 = e3.customRules, o3 = e3.rules, i4 = W(e3, n4, o3);
1119
1123
  e3.rules = i4, e3.canClick = true, y(null, e3, e3, "afterFormLoadData"), k2.setFormPageDataLoadState(true), s3(t2);
1120
1124
  }).catch((t2) => {
@@ -1127,17 +1131,17 @@ function De(e2, n2, s2) {
1127
1131
  e3(true);
1128
1132
  });
1129
1133
  }
1130
- async function We(e2, t2, n2) {
1134
+ async function Le(e2, t2, n2) {
1131
1135
  try {
1132
1136
  await p.confirm("检测到您有未保存的数据,是否继续填写上次未保存的数据?", "提示", { confirmButtonText: "是", cancelButtonText: "否", type: "warning" }), n2.entity = J(e2.code, t2, n2.entity);
1133
1137
  } catch (e3) {
1134
1138
  }
1135
1139
  Y(e2.code, t2);
1136
1140
  }
1137
- function Le(e2) {
1141
+ function Be(e2) {
1138
1142
  return e2 && ("string" == typeof e2 ? e2 = e2.split(",") : "number" == typeof e2 && (e2 = [e2])), e2;
1139
1143
  }
1140
- function Be(e2) {
1144
+ function Fe(e2) {
1141
1145
  const t2 = e2.props.setValueList;
1142
1146
  if (t2) {
1143
1147
  if (s(t2) && t2.length > 0) return JSON.stringify(t2);
@@ -1145,82 +1149,82 @@ function Be(e2) {
1145
1149
  }
1146
1150
  return null;
1147
1151
  }
1148
- function Fe(e2, t2) {
1152
+ function Ve(e2, t2) {
1149
1153
  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";
1150
1154
  return c.post(i2, s2);
1151
1155
  }
1152
- function Ve(e2) {
1156
+ function $e(e2) {
1153
1157
  const t2 = e2.code, n2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/list/" + t2;
1154
1158
  return c.get(n2);
1155
1159
  }
1156
- function $e(e2) {
1160
+ function qe(e2) {
1157
1161
  const t2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/" + e2;
1158
1162
  return c.delete(t2);
1159
1163
  }
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);
1164
+ function He(e2) {
1165
+ e2.exportNoticeInfo && (e2.exportNoticeInfo.noticeInterval && clearInterval(e2.exportNoticeInfo.noticeInterval), e2.exportNoticeInfo.noticeComponent = null, e2.exportNoticeInfo.noticeInterval = null), e2.exportNoticeInfo = {}, Je(e2.exportNoticeInfo, e2.backendUrl, e2.code);
1162
1166
  }
1163
- function He(e2, n2, o2) {
1167
+ function Ge(e2, n2, o2) {
1164
1168
  e2.lastFileTask && !e2.noticeComponent ? e2.noticeComponent = d({ title: l().t("superPageRuntimeMessage.logTip"), duration: 0, position: "top-right", type: "success", onClose() {
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));
1169
+ "Success" === e2.lastFileTask.taskState || "Fail" === e2.lastFileTask.taskState || "PartSuccess" === e2.lastFileTask.taskState ? ze(n2, o2, e2.lastFileTask.id, e2) : (e2.noticeComponent = null, null == e2.noticeInterval && Je(e2, n2, o2));
1166
1170
  }, message: V($, { isShow: true, backendUrl: n2, lastFileTask: e2.lastFileTask, onClickMsg(s2) {
1167
1171
  s2.serverPath ? function(e3, n3, o3, s3, i2, a2) {
1168
- Ye(i2, a2, o3, s3);
1172
+ ze(i2, a2, o3, s3);
1169
1173
  const r2 = f(), c2 = t(i2), l2 = c2 + "/common/super-form/downloads?jwt=" + r2 + "&showName=" + encodeURI(e3) + "&serverPath=" + n3;
1170
1174
  window.open(l2);
1171
- }(s2.fileName, s2.serverPath, s2.id, e2, n2, o2) : Ye(n2, o2, s2.id, e2), e2.noticeComponent.close(), e2.noticeComponent = null;
1175
+ }(s2.fileName, s2.serverPath, s2.id, e2, n2, o2) : ze(n2, o2, s2.id, e2), e2.noticeComponent.close(), e2.noticeComponent = null;
1172
1176
  } }) }) : (null != e2.noticeComponent && (e2.noticeComponent.close(), e2.noticeComponent = null), e2.noticeInterval && (clearInterval(e2.noticeInterval), e2.noticeInterval = null));
1173
1177
  }
1174
- function Ge(e2, t2, n2) {
1178
+ function Je(e2, t2, n2) {
1175
1179
  e2.noticeInterval || (e2.noticeInterval = setInterval(() => {
1176
1180
  e2.noticeComponent || function(e3, t3, n3) {
1177
- Je(t3, n3).then((o2) => {
1178
- e3.lastFileTask = o2, He(e3, t3, n3);
1181
+ Ye(t3, n3).then((o2) => {
1182
+ e3.lastFileTask = o2, Ge(e3, t3, n3);
1179
1183
  });
1180
1184
  }(e2, t2, n2);
1181
1185
  }, 3e3));
1182
1186
  }
1183
- function Je(e2, t2) {
1187
+ function Ye(e2, t2) {
1184
1188
  return j(e2, t2);
1185
1189
  }
1186
- function Ye(e2, t2, n2, o2) {
1190
+ function ze(e2, t2, n2, o2) {
1187
1191
  _(e2, n2).then(() => {
1188
1192
  !function(e3, t3, n3) {
1189
- Je(t3, n3).then((o3) => {
1190
- e3.lastFileTask = o3, He(e3, t3, n3);
1193
+ Ye(t3, n3).then((o3) => {
1194
+ e3.lastFileTask = o3, Ge(e3, t3, n3);
1191
1195
  });
1192
1196
  }(o2, e2, t2);
1193
1197
  });
1194
1198
  }
1195
1199
  export {
1196
1200
  Z as checkAndTipFileUploading,
1197
- ie as dealAfterOperate,
1201
+ ae as dealAfterOperate,
1198
1202
  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,
1203
+ qe as deleteChartCondition,
1204
+ ve as doAddSigner,
1205
+ Ie as doAddTransactor,
1206
+ ke as doAssign,
1207
+ Se as doCreateCopyTask,
1208
+ He as doFileTaskFunc,
1209
+ fe as doImportFinally,
1210
+ Oe as doRemoveSigners,
1211
+ Ee as doRemoveTransactors,
1212
+ xe as doReturnTaskTo,
1209
1213
  X as exportFormReport,
1210
1214
  Ue as extractWorkflowFunc,
1211
- ye as getAdditionalParamMap,
1212
- De as getFormData,
1213
- xe as getRemoveSigner,
1214
- Oe as getRemoveTransactor,
1215
+ Pe as getAdditionalParamMap,
1216
+ We as getFormData,
1217
+ Ne as getRemoveSigner,
1218
+ Ae as getRemoveTransactor,
1215
1219
  oe as getSaveFormRequest,
1216
1220
  ne as getSaveFormRequestWithRow,
1217
- Re as getTaskInformitions,
1218
- Ee as isVisibleWorkflowButton,
1219
- fe as judgeDataNumber,
1220
- Ve as listChartConditions,
1221
- pe as refreshFormOrListPage,
1222
- _e as refreshPage,
1223
- Fe as saveChartConditionBase,
1221
+ Me as getTaskInformitions,
1222
+ je as isVisibleWorkflowButton,
1223
+ ge as judgeDataNumber,
1224
+ $e as listChartConditions,
1225
+ de as refreshFormOrListPage,
1226
+ De as refreshPage,
1227
+ Ve as saveChartConditionBase,
1224
1228
  z as standardEvents,
1225
- le as updateValuesWhenCloseDialog
1229
+ ue as updateValuesWhenCloseDialog
1226
1230
  };