super-page-runtime 2.3.38-sit4 → 2.3.38

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 +131 -131
  2. package/dist/es/components/runtime/utils/events/event-util.js +114 -114
  3. package/dist/es/components/runtime/utils/events/print-label.js +34 -33
  4. package/dist/es/components/runtime/utils/events/standard-event.d.ts +1 -1
  5. package/dist/es/components/runtime/utils/events/standard-event.js +257 -257
  6. package/dist/es/components/runtime/utils/events/validator-util.js +164 -161
  7. package/dist/es/components/runtime/utils/page-init-util.js +28 -26
  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 +10 -6
  16. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +8 -6
  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 +100 -95
  24. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +3 -2
  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 +11 -9
  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 +2 -0
  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.vue2.js +3 -3
  36. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +11 -9
  37. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +2 -2
  38. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +1 -1
  39. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +16 -16
  40. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +3 -3
  41. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +3 -3
  42. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +6 -6
  43. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +33 -33
  44. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +3 -3
  45. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -3
  46. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +7 -6
  47. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue2.js +6 -5
  48. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +3 -3
  49. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +43 -42
  50. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +7 -5
  51. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +6 -4
  52. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +3 -3
  53. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +2 -2
  54. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +5 -4
  55. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +1 -1
  56. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +3 -3
  57. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +11 -11
  58. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +3 -3
  59. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +3 -3
  60. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +10 -8
  61. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +2 -2
  62. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +3 -3
  63. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +1 -1
  64. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +1 -1
  65. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +1 -1
  66. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  67. package/dist/es/components/runtime/views/super-page-dialog.vue.js +1 -0
  68. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  69. package/dist/es/components/runtime/views/super-page.vue2.js +18 -17
  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 +76 -76
  73. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { deepCopy as e, getBaseUrl as t, getRealRestApiPath as n, isWorkflowPage as o, isArrayFn as s, packageTemplateFiles as a, upperFirstCase as i, getListCode as r } from "../common-util.js";
1
+ import { deepCopy as e, getBaseUrl as t, getRealRestApiPath as n, isWorkflowPage as o, isArrayFn as s, packageTemplateFiles as i, upperFirstCase as a, getListCode as r } from "../common-util.js";
2
2
  import c from "agilebuilder-ui/src/utils/request";
3
3
  import { getI18n as l } from "agilebuilder-ui/src/utils/util";
4
4
  import { ElMessage as u, ElMessageBox as p, ElNotification as d } from "element-plus";
@@ -8,8 +8,8 @@ import T from "../eventBus.js";
8
8
  import k from "axios";
9
9
  import { handleEvent as h, getTableUuid as y, doAfterClickEvent as P } from "./event-util.js";
10
10
  import { setStoreInfo as I } from "../store-util.js";
11
- import { getPermissionCodes as v, getDefaultValue as R, getModelFields as S } from "../page-init-util.js";
12
- import { caculateShowCondition as M, updateChartDatasources as x, getVariableValue as N, setVariableValue as O } from "../page-helper-util.js";
11
+ import { getPermissionCodes as v, getDefaultValue as R, getModelFields as x } from "../page-init-util.js";
12
+ import { caculateShowCondition as S, updateChartDatasources as M, getVariableValue as N, setVariableValue as O } from "../page-helper-util.js";
13
13
  import U from "./print-label.js";
14
14
  import { getTableNameByTableUuid as A, getCurrentUserFileTasks as E, setFileTaskRead as _ } from "../table-utils.js";
15
15
  import { getWorkflowRules as j, packageCustomRules as D } from "./validator-util.js";
@@ -43,18 +43,18 @@ const Y = { save: function(e2) {
43
43
  return le(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
- ae(t2, e2.configureObj, n2, o2);
46
+ ie(t2, e2.configureObj, n2, o2);
47
47
  }, delete: function(e2) {
48
48
  return function(e3) {
49
- return new Promise((s2, a2) => {
50
- const i2 = e3.ids;
51
- if (!i2 || 0 === i2.length) return u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.pleaseSelectRecord") }), void s2(true);
49
+ return new Promise((s2, i2) => {
50
+ const a2 = e3.ids;
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;
54
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 = A(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), T2 = v(l2, r2), k2 = { ids: i2, functionCode: T2, isPermission: b2 + "", systemCode: p2, isWorkflowEntity: C2, listCodesMap: r2.listCodesMap, pageCode: r2.code, pageVersion: r2.version };
57
+ const b2 = void 0 === u2.isPermission || "true" === u2.isPermission || u2.isPermission, C2 = o(r2), T2 = v(l2, r2), k2 = { ids: a2, functionCode: T2, isPermission: b2 + "", systemCode: p2, isWorkflowEntity: C2, listCodesMap: r2.listCodesMap, pageCode: r2.code, pageVersion: r2.version };
58
58
  r2.beanName && (k2.beanName = r2.beanName);
59
59
  const h2 = l2.props.deleteLogicSetting;
60
60
  h2 && ("object" == typeof h2 ? k2.deleteLogicSetting = JSON.stringify(h2) : "string" == typeof h2 && (k2.deleteLogicSetting = h2));
@@ -67,19 +67,19 @@ const Y = { save: function(e2) {
67
67
  const t2 = w(r2, m2);
68
68
  t2 && (t2.isDeleteChange(true), t2.clearSelections()), ne(r2, l2, e4, "superPageRuntimeMessage.successfulDelete", true), s2(true);
69
69
  }).catch((e4) => {
70
- a2(e4);
70
+ i2(e4);
71
71
  });
72
72
  }).catch(() => {
73
- a2();
73
+ i2();
74
74
  });
75
75
  });
76
76
  }(e2);
77
77
  }, downloadTemplate: function(e2) {
78
78
  !function(e3) {
79
79
  var _a, _b, _c;
80
- const n2 = e3.pageContext, o2 = e3.configureObj, s2 = o2.props.base, i2 = a(s2.templateFiles, n2, o2);
80
+ const n2 = e3.pageContext, o2 = e3.configureObj, s2 = o2.props.base, a2 = i(s2.templateFiles, n2, o2);
81
81
  let r2, c2;
82
- i2 && i2.length > 0 && (r2 = i2[0].templateUuid, c2 = i2[0].templateName);
82
+ a2 && a2.length > 0 && (r2 = a2[0].templateUuid, c2 = a2[0].templateName);
83
83
  const l2 = n2.systemCode, u2 = n2.backendUrl, p2 = c2;
84
84
  let d2 = "?1=1";
85
85
  r2 && p2 && "undefined" !== r2 && "undefined" !== p2 && "null" !== r2 && "null" !== p2 ? d2 += "&fileName=" + encodeURI(r2) + "&showName=" + encodeURI(p2) : p2 ? d2 += "&showName=" + encodeURI(p2) : n2.label && (d2 += "&showName=" + encodeURI(n2.label) + ".xlsx");
@@ -114,14 +114,14 @@ const Y = { save: function(e2) {
114
114
  return function(e3) {
115
115
  return new Promise((t2, n2) => {
116
116
  var _a, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l;
117
- const o2 = e3.pageContext, s2 = e3.configureObj, a2 = s2.props.base, i2 = e3.listCode, r2 = e3.selections, c2 = {};
117
+ const o2 = e3.pageContext, s2 = e3.configureObj, i2 = s2.props.base, a2 = e3.listCode, r2 = e3.selections, c2 = {};
118
118
  r2 && r2.length > 0 && (c2.data = r2);
119
119
  let l2 = o2.label;
120
120
  l2 || (l2 = o2.code);
121
121
  let u2 = false;
122
- u2 = void 0 !== a2.isAsync && null !== a2.isAsync && a2.isAsync;
123
- const p2 = void 0 === a2.isPermission || "true" === a2.isPermission || a2.isPermission, d2 = v(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;
124
- 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, i2, d2, null, f2, u2, o2.code, p2), u2 && setTimeout(() => {
122
+ u2 = void 0 !== i2.isAsync && null !== i2.isAsync && i2.isAsync;
123
+ const p2 = void 0 === i2.isPermission || "true" === i2.isPermission || i2.isPermission, d2 = v(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;
124
+ 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(() => {
125
125
  Fe(o2);
126
126
  }, 100);
127
127
  });
@@ -135,14 +135,14 @@ const Y = { save: function(e2) {
135
135
  }, workflowSave: function(e2) {
136
136
  return T.$emit("clearTableAllStartEditing"), async function(e3) {
137
137
  return new Promise((o2, s2) => {
138
- const a2 = e3.pageContext, i2 = a2.entity.data, r2 = a2.systemCode, p2 = a2.backendUrl;
139
- let d2 = t(p2, a2.isTest) + "/dsc/workflow-commons";
140
- if (d2 = n(d2, r2, p2, a2.isTest), !d2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
138
+ const i2 = e3.pageContext, a2 = i2.entity.data, r2 = i2.systemCode, p2 = i2.backendUrl;
139
+ let d2 = t(p2, i2.isTest) + "/dsc/workflow-commons";
140
+ if (d2 = n(d2, r2, p2, i2.isTest), !d2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
141
141
  const m2 = de(e3);
142
142
  let f2;
143
- f2 = i2.id || i2.ID ? c.put(d2, m2) : c.post(d2, m2), $(a2.code, i2), f2.then((t2) => {
143
+ f2 = a2.id || a2.ID ? c.put(d2, m2) : c.post(d2, m2), $(i2.code, a2), f2.then((t2) => {
144
144
  let n2 = true;
145
- t2 && (q(a2.code, i2), n2 = me(t2, false, a2, e3, null)), true === n2 && u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulSave") }), T.$emit("clearTableAllEndEditing"), o2(true);
145
+ t2 && (q(i2.code, a2), n2 = me(t2, false, i2, e3, null)), true === n2 && u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulSave") }), T.$emit("clearTableAllEndEditing"), o2(true);
146
146
  }).catch((e4) => {
147
147
  s2(e4);
148
148
  });
@@ -151,19 +151,19 @@ const Y = { save: function(e2) {
151
151
  }, workflowStart: function(e2) {
152
152
  return T.$emit("clearTableAllStartEditing"), async function(e3) {
153
153
  return new Promise((o2, s2) => {
154
- const a2 = e3.pageContext, i2 = a2.entity.data, r2 = a2.systemCode, p2 = a2.backendUrl;
155
- if (a2.fileuploadInfo && a2.fileuploadInfo.length > 0) {
156
- const e4 = a2.fileuploadInfo[0];
154
+ const i2 = e3.pageContext, a2 = i2.entity.data, r2 = i2.systemCode, p2 = i2.backendUrl;
155
+ if (i2.fileuploadInfo && i2.fileuploadInfo.length > 0) {
156
+ const e4 = i2.fileuploadInfo[0];
157
157
  let t2;
158
- t2 = e4.isTable && e4.tableTitle && void 0 !== e4.rowIndex ? l().t("superPageRuntimeMessage.fileUploadUnCompleteTable", { label: e4.label, tableTitle: e4.tableTitle, rowIndex: e4.rowIndex + 1 }) : l().t("superPageRuntimeMessage.fileUploadUnComplete", { label: e4.label }), u({ message: t2, type: "warning", showClose: true }), o2(false);
158
+ e4.isTable && e4.tableTitle && void 0 !== e4.rowIndex ? (e4.rowIndex, e4.rowIndex, t2 = l().t("superPageRuntimeMessage.fileUploadUnCompleteTable", { label: e4.label, tableTitle: e4.tableTitle, rowIndex: e4.rowIndex + 1 })) : t2 = l().t("superPageRuntimeMessage.fileUploadUnComplete", { label: e4.label }), u({ message: t2, type: "warning", showClose: true }), o2(false);
159
159
  } else {
160
- let d2 = t(p2, a2.isTest) + "/dsc/workflow-commons/start";
161
- if (d2 = n(d2, r2, p2, a2.isTest), !d2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
160
+ let d2 = t(p2, i2.isTest) + "/dsc/workflow-commons/start";
161
+ if (d2 = n(d2, r2, p2, i2.isTest), !d2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
162
162
  const m2 = de(e3);
163
163
  let f2;
164
- i2.workflow_id || i2.WORKFLOW_ID ? (d2 = t(p2, a2.isTest) + "/dsc/workflow-commons", d2 = n(d2, r2, p2, a2.isTest), f2 = c.put(d2, m2)) : f2 = c.post(d2, m2), $(a2.code, i2), f2.then((t2) => {
164
+ a2.workflow_id || a2.WORKFLOW_ID ? (d2 = t(p2, i2.isTest) + "/dsc/workflow-commons", d2 = n(d2, r2, p2, i2.isTest), f2 = c.put(d2, m2)) : f2 = c.post(d2, m2), $(i2.code, a2), f2.then((t2) => {
165
165
  let n2 = true;
166
- t2 && (q(a2.code, i2), n2 = me(t2, false, a2, e3, null)), true === n2 && u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulStart") }), T.$emit("clearTableAllEndEditing"), o2(true);
166
+ t2 && (q(i2.code, a2), n2 = me(t2, false, i2, e3, null)), true === n2 && u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulStart") }), T.$emit("clearTableAllEndEditing"), o2(true);
167
167
  }).catch((e4) => {
168
168
  s2(e4);
169
169
  });
@@ -173,24 +173,24 @@ const Y = { save: function(e2) {
173
173
  }, submitProcess: function(e2) {
174
174
  return T.$emit("clearTableAllStartEditing"), function(e3) {
175
175
  return new Promise((o2, s2) => {
176
- const a2 = e3.pageContext;
177
- if (a2.fileuploadInfo && a2.fileuploadInfo.length > 0) {
178
- const e4 = a2.fileuploadInfo[0];
176
+ const i2 = e3.pageContext;
177
+ if (i2.fileuploadInfo && i2.fileuploadInfo.length > 0) {
178
+ const e4 = i2.fileuploadInfo[0];
179
179
  let t2;
180
- t2 = e4.isTable && e4.tableTitle && void 0 !== e4.rowIndex ? l().t("superPageRuntimeMessage.fileUploadUnCompleteTable", { label: e4.label, tableTitle: e4.tableTitle, rowIndex: e4.rowIndex + 1 }) : l().t("superPageRuntimeMessage.fileUploadUnComplete", { label: e4.label }), u({ message: t2, type: "warning", showClose: true }), o2(false);
180
+ e4.isTable && e4.tableTitle && void 0 !== e4.rowIndex ? (e4.rowIndex, e4.rowIndex, t2 = l().t("superPageRuntimeMessage.fileUploadUnCompleteTable", { label: e4.label, tableTitle: e4.tableTitle, rowIndex: e4.rowIndex + 1 })) : t2 = l().t("superPageRuntimeMessage.fileUploadUnComplete", { label: e4.label }), u({ message: t2, type: "warning", showClose: true }), o2(false);
181
181
  } else {
182
- const i2 = a2.systemCode, r2 = a2.backendUrl;
183
- let p2 = t(r2, a2.isTest) + "/dsc/workflow-commons/submit";
184
- if (p2 = n(p2, i2, r2, a2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
182
+ const a2 = i2.systemCode, r2 = i2.backendUrl;
183
+ let p2 = t(r2, i2.isTest) + "/dsc/workflow-commons/submit";
184
+ if (p2 = n(p2, a2, r2, i2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
185
185
  const d2 = de(e3);
186
- $(a2.code, a2.entity.data);
186
+ $(i2.code, i2.entity.data);
187
187
  const m2 = c.post(p2, d2);
188
188
  m2 ? m2.then((t2) => {
189
189
  let n2 = true;
190
- t2 && (q(a2.code, a2.entity.data), n2 = me(t2, false, a2, e3, null)), true === n2 && u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulSubmit") }), T.$emit("clearTableAllEndEditing"), o2(true);
190
+ t2 && (q(i2.code, i2.entity.data), n2 = me(t2, false, i2, e3, null)), true === n2 && u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulSubmit") }), T.$emit("clearTableAllEndEditing"), o2(true);
191
191
  }).catch((e4) => {
192
192
  s2(e4);
193
- }) : q(a2.code, a2.entity.data);
193
+ }) : q(i2.code, i2.entity.data);
194
194
  }
195
195
  });
196
196
  }(e2);
@@ -225,23 +225,23 @@ const Y = { save: function(e2) {
225
225
  }(e2);
226
226
  }, drawTask: function(e2) {
227
227
  return function(e3) {
228
- const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/draw-tasks", a2 = de(e3);
229
- return Pe(e3, a2, s2, "superPageRuntimeMessage.successfulDrawTask");
228
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/draw-tasks", i2 = de(e3);
229
+ return Pe(e3, i2, s2, "superPageRuntimeMessage.successfulDrawTask");
230
230
  }(e2);
231
231
  }, abandonReceive: function(e2) {
232
232
  return function(e3) {
233
- const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/abandon-receives", a2 = de(e3);
234
- return Pe(e3, a2, s2, "superPageRuntimeMessage.successfulAbandonReceive");
233
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/abandon-receives", i2 = de(e3);
234
+ return Pe(e3, i2, s2, "superPageRuntimeMessage.successfulAbandonReceive");
235
235
  }(e2);
236
236
  }, returnToPreviousTask: function(e2) {
237
237
  return function(e3) {
238
- const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", a2 = de(e3);
239
- return Pe(e3, a2, s2, "superPageRuntimeMessage.successfulReturnToPreviousTask");
238
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", i2 = de(e3);
239
+ return Pe(e3, i2, s2, "superPageRuntimeMessage.successfulReturnToPreviousTask");
240
240
  }(e2);
241
241
  }, endInstance: function(e2) {
242
242
  return function(e3) {
243
- const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/end-instance", a2 = de(e3);
244
- return Pe(e3, a2, s2, "superPageRuntimeMessage.successfulEndInstance");
243
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/end-instance", i2 = de(e3);
244
+ return Pe(e3, i2, s2, "superPageRuntimeMessage.successfulEndInstance");
245
245
  }(e2);
246
246
  }, returnTaskTo: function(e2) {
247
247
  return function(e3) {
@@ -255,8 +255,8 @@ const Y = { save: function(e2) {
255
255
  }(e2);
256
256
  }, retrieveTask: function(e2) {
257
257
  return function(e3) {
258
- const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/retrieves", a2 = de(e3);
259
- return Pe(e3, a2, s2, "superPageRuntimeMessage.successfulRetrieve");
258
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/retrieves", i2 = de(e3);
259
+ return Pe(e3, i2, s2, "superPageRuntimeMessage.successfulRetrieve");
260
260
  }(e2);
261
261
  }, extractWorkflow: function(e2) {
262
262
  return Ne(e2);
@@ -267,18 +267,18 @@ const Y = { save: function(e2) {
267
267
  }(e2);
268
268
  }, cancelExtractWorkflow: function(e2) {
269
269
  return function(e3) {
270
- const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/cancel-extract", a2 = de(e3);
271
- return Pe(e3, a2, s2, "superPageRuntimeMessage.successfulCancelExtract");
270
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/cancel-extract", i2 = de(e3);
271
+ return Pe(e3, i2, s2, "superPageRuntimeMessage.successfulCancelExtract");
272
272
  }(e2);
273
273
  }, approveExtractWorkflow: function(e2) {
274
274
  return function(e3) {
275
- const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/approve-extract", a2 = de(e3);
276
- return Pe(e3, a2, s2, "superPageRuntimeMessage.successfulOperation");
275
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/approve-extract", i2 = de(e3);
276
+ return Pe(e3, i2, s2, "superPageRuntimeMessage.successfulOperation");
277
277
  }(e2);
278
278
  }, refuseExtractWorkflow: function(e2) {
279
279
  return function(e3) {
280
- const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/refuse-extract", a2 = de(e3);
281
- return Pe(e3, a2, s2, "superPageRuntimeMessage.successfulOperation");
280
+ const n2 = e3.pageContext, o2 = n2.backendUrl, s2 = t(o2, n2.isTest) + "/dsc/workflow-commons/refuse-extract", i2 = de(e3);
281
+ return Pe(e3, i2, s2, "superPageRuntimeMessage.successfulOperation");
282
282
  }(e2);
283
283
  }, viewDetail: function(e2) {
284
284
  }, lineEditCreate: function(e2) {
@@ -291,7 +291,8 @@ const Y = { save: function(e2) {
291
291
  let t2 = null;
292
292
  try {
293
293
  if (t2 = e3.menuItem ? e3.menuItem.templateUuid : e3.configureObj.props.base.template[0].templateUuid, !t2) throw new Error("未找到模板");
294
- } catch (e4) {
294
+ } catch (t3) {
295
+ console.error("打印标签失败,未在配置中找到找到模板", t3, e3);
295
296
  }
296
297
  U.printLabel(e3, t2);
297
298
  }(e2);
@@ -307,10 +308,10 @@ const Y = { save: function(e2) {
307
308
  const n2 = e3.pageContext, o2 = n2.allChartUuids;
308
309
  if (!o2 || 0 == o2.length) return;
309
310
  const s2 = e3.configureObj;
310
- let a2 = null;
311
- s2 && s2.runtime && (a2 = s2.runtime.props);
312
- const i2 = a2 ? a2.state : void 0;
313
- a2 && (a2.state = "disabled");
311
+ let i2 = null;
312
+ s2 && s2.runtime && (i2 = s2.runtime.props);
313
+ const a2 = i2 ? i2.state : void 0;
314
+ i2 && (i2.state = "disabled");
314
315
  const r2 = [];
315
316
  for (let e4 = 0; e4 < o2.length; e4++) {
316
317
  const t2 = o2[e4], s3 = w(n2, t2);
@@ -334,7 +335,7 @@ const Y = { save: function(e2) {
334
335
  const t2 = document.createElement("a");
335
336
  t2.style.display = "none", t2.href = URL.createObjectURL(e4.data), t2.setAttribute("download", c2 + ".xlsx"), document.body.appendChild(t2), t2.click(), document.body.removeChild(t2);
336
337
  }).finally(() => {
337
- a2 && (a2.state = i2);
338
+ i2 && (i2.state = a2);
338
339
  });
339
340
  }(e2);
340
341
  }, saveQueryCharts: function(e2) {
@@ -359,36 +360,36 @@ function z(e2) {
359
360
  const o2 = e2.configureObj;
360
361
  let s2 = null;
361
362
  o2 && o2.runtime && (s2 = o2.runtime.props);
362
- const a2 = s2 ? s2.state : void 0;
363
- s2 && (s2.state = "disabled"), x(t2, n2, void 0, e2.isInitChart).then(() => {
364
- s2 && (s2.state = a2);
363
+ const i2 = s2 ? s2.state : void 0;
364
+ s2 && (s2.state = "disabled"), M(t2, n2, void 0, e2.isInitChart).then(() => {
365
+ s2 && (s2.state = i2);
365
366
  }).catch(() => {
366
- s2 && (s2.state = a2);
367
+ s2 && (s2.state = i2);
367
368
  });
368
369
  }
369
- function K(e2, n2, s2, a2) {
370
+ function K(e2, n2, s2, i2) {
370
371
  var _a, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l, _m;
371
372
  e2.clickUuid = n2.uuid, e2.canClick = false;
372
- const i2 = s2.templateUuid, r2 = s2.templateName, c2 = e2.systemCode, l2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting, u2 = o(e2), p2 = e2.beanName, d2 = n2.props.base, m2 = n2.tableName ? n2.tableName : e2.tableName, f2 = e2.backendUrl, g2 = W.getFormViewData(e2), b2 = void 0 === d2.isPermission || "true" === d2.isPermission || d2.isPermission, C2 = { entity: g2, fileName: i2, showName: r2, beanName: p2, isWorkflowForm: u2, functionCode: v(n2, e2), tableName: m2, isPermission: b2 + "", systemCode: c2, listCodesMap: e2.listCodesMap, pageCode: e2.code, pageVersion: e2.version, listCodesInitSearchForm: e2.listCodesInitSearchForm };
373
+ const a2 = s2.templateUuid, r2 = s2.templateName, c2 = e2.systemCode, l2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting, u2 = o(e2), p2 = e2.beanName, d2 = n2.props.base, m2 = n2.tableName ? n2.tableName : e2.tableName, f2 = e2.backendUrl, g2 = W.getFormViewData(e2), b2 = void 0 === d2.isPermission || "true" === d2.isPermission || d2.isPermission, C2 = { entity: g2, fileName: a2, showName: r2, beanName: p2, isWorkflowForm: u2, functionCode: v(n2, e2), tableName: m2, isPermission: b2 + "", systemCode: c2, listCodesMap: e2.listCodesMap, pageCode: e2.code, pageVersion: e2.version, listCodesInitSearchForm: e2.listCodesInitSearchForm };
373
374
  l2 && (C2.logSettingText = l2.join(""));
374
375
  const w2 = (_c = (_b = n2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
375
376
  w2 && (C2.currentOperation = w2), C2.isMobile = L();
376
377
  const T2 = Te(e2);
377
378
  let h2;
378
- C2.additionalParamMap = T2, 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("-~") : "", h2 = a2 ? function(e3, n3, o2, s3) {
379
- return new Promise((a3, i3) => {
379
+ C2.additionalParamMap = T2, 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("-~") : "", h2 = i2 ? function(e3, n3, o2, s3) {
380
+ return new Promise((i3, a3) => {
380
381
  const r3 = t(n3, s3) + "/dsc/commons/export-pdf";
381
382
  X();
382
383
  const c3 = k.post(r3, o2, { headers: { "content-type": "application/json" }, responseType: "blob" });
383
384
  window.$message.info("正在导出中..."), c3.then((t2) => {
384
385
  const n4 = new Blob([t2.data]), o3 = document.createElement("a");
385
- o3.download = e3.substring(0, e3.lastIndexOf(".")) + ".pdf", o3.style.display = "none", o3.target = "_blank", o3.href = URL.createObjectURL(n4), document.body.appendChild(o3), o3.click(), URL.revokeObjectURL(o3.href), document.body.removeChild(o3), a3(true);
386
+ o3.download = e3.substring(0, e3.lastIndexOf(".")) + ".pdf", o3.style.display = "none", o3.target = "_blank", o3.href = URL.createObjectURL(n4), document.body.appendChild(o3), o3.click(), URL.revokeObjectURL(o3.href), document.body.removeChild(o3), i3(true);
386
387
  }).catch((e4) => {
387
- i3(e4);
388
+ a3(e4);
388
389
  });
389
390
  });
390
391
  }(r2, f2, C2, e2.isTest) : function(e3, n3, o2, s3) {
391
- return new Promise((a3, i3) => {
392
+ return new Promise((i3, a3) => {
392
393
  const r3 = t(n3, s3) + "/dsc/commons/export-reports";
393
394
  X();
394
395
  k.post(r3, o2, { responseType: "blob" }).then((t2) => {
@@ -396,9 +397,9 @@ function K(e2, n2, s2, a2) {
396
397
  let o3 = "报告.xlsx";
397
398
  e3 && (o3 = e3);
398
399
  const s4 = document.createElement("a");
399
- s4.download = o3, s4.style.display = "none", s4.target = "_blank", s4.href = URL.createObjectURL(n4), document.body.appendChild(s4), s4.click(), URL.revokeObjectURL(s4.href), document.body.removeChild(s4), a3(true);
400
+ s4.download = o3, s4.style.display = "none", s4.target = "_blank", s4.href = URL.createObjectURL(n4), document.body.appendChild(s4), s4.click(), URL.revokeObjectURL(s4.href), document.body.removeChild(s4), i3(true);
400
401
  }).catch((e4) => {
401
- i3(e4);
402
+ a3(e4);
402
403
  });
403
404
  });
404
405
  }(r2, f2, C2, e2.isTest), h2 && h2.then(() => {
@@ -417,7 +418,7 @@ function X() {
417
418
  }
418
419
  function Q(e2, t2) {
419
420
  return new Promise((n2, o2) => {
420
- const s2 = e2.pageContext, a2 = e2.configureObj, i2 = e2.mainDefaultValueColumns, r2 = e2.dynamicColumnInfo, c2 = a2.props.base.successOperation;
421
+ const s2 = e2.pageContext, i2 = e2.configureObj, a2 = e2.mainDefaultValueColumns, r2 = e2.dynamicColumnInfo, c2 = i2.props.base.successOperation;
421
422
  let p2 = false;
422
423
  if (c2 && "noOperation" === c2 && (p2 = true), s2.fileuploadInfo && s2.fileuploadInfo.length > 0) {
423
424
  const e3 = s2.fileuploadInfo[0];
@@ -425,16 +426,16 @@ function Q(e2, t2) {
425
426
  t3 = e3.isTable && e3.tableTitle && void 0 !== e3.rowIndex ? l().t("superPageRuntimeMessage.fileUploadUnCompleteTable", { label: e3.label, tableTitle: e3.tableTitle, rowIndex: e3.rowIndex + 1 }) : l().t("superPageRuntimeMessage.fileUploadUnComplete", { label: e3.label }), u({ message: t3, type: "warning", showClose: true }), n2(false);
426
427
  } else {
427
428
  $(s2.code, s2.entity.data);
428
- const e3 = te(s2, a2, "/dsc/commons", p2, i2, r2);
429
+ const e3 = te(s2, i2, "/dsc/commons", p2, a2, r2);
429
430
  e3 ? e3.then((e4) => {
430
- e4 && q(s2.code, s2.entity.data), ne(s2, a2, e4, "superPageRuntimeMessage.successfulSave", t2), n2(e4);
431
+ e4 && q(s2.code, s2.entity.data), ne(s2, i2, e4, "superPageRuntimeMessage.successfulSave", t2), n2(e4);
431
432
  }).catch((e4) => {
432
433
  o2(e4);
433
434
  }) : (q(s2.code, s2.entity.data), o2("保存时request不存在"));
434
435
  }
435
436
  });
436
437
  }
437
- function Z(e2, t2, n2, a2, i2, r2, c2) {
438
+ function Z(e2, t2, n2, i2, a2, r2, c2) {
438
439
  var _a, _b, _c;
439
440
  const l2 = o(e2), u2 = e2.systemCode, p2 = void 0 === t2.props.base.isPermission || "true" === t2.props.base.isPermission || t2.props.base.isPermission, d2 = v(t2, e2);
440
441
  let m2 = c2;
@@ -448,42 +449,41 @@ function Z(e2, t2, n2, a2, i2, r2, c2) {
448
449
  const C2 = (_a = t2.props.base) == null ? void 0 : _a.logSetting;
449
450
  C2 && (f2.logSettingText = C2.join("")), f2.systemCode || (f2.systemCode = u2);
450
451
  const w2 = e2.beanName;
451
- w2 && (f2.beanName = w2), i2 && (f2.dynamicColumnInfo = i2), a2 && (f2.mainDefaultValueColumns = a2);
452
+ w2 && (f2.beanName = w2), a2 && (f2.dynamicColumnInfo = a2), i2 && (f2.mainDefaultValueColumns = i2);
452
453
  const T2 = Te(e2);
453
454
  f2.additionalParamMap = T2, void 0 !== n2 && (f2.unControlVersion = n2);
454
455
  const k2 = (_c = (_b = t2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
455
456
  return k2 && (f2.currentOperation = k2), f2.isMobile = L(), f2;
456
457
  }
457
- function ee(e2, o2, s2, a2, i2, r2, l2, u2) {
458
- const p2 = e2.systemCode, d2 = e2.backendUrl, m2 = Z(e2, o2, a2, i2, r2, null, l2);
459
- return u2 && u2.tableName && (m2.tableName = u2.tableName), function(e3, o3, s3, a3, i3, r3) {
458
+ function ee(e2, o2, s2, i2, a2, r2, l2, u2, p2) {
459
+ const d2 = e2.systemCode, m2 = e2.backendUrl, f2 = Z(e2, o2, i2, a2, r2, null, l2);
460
+ return u2 && u2.tableName && (f2.tableName = u2.tableName), p2 && (f2.isWorkflowEntity = false), function(e3, o3, s3, i3, a3, r3) {
460
461
  const l3 = t(o3, r3);
461
- let u3, p3 = l3 + a3;
462
- p3 = n(p3, e3, o3, r3), u3 = i3 && (i3.id || i3.ID) ? c.put(p3, s3) : c.post(p3, s3);
462
+ let u3, p3 = l3 + i3;
463
+ p3 = n(p3, e3, o3, r3), u3 = a3 && (a3.id || a3.ID) ? c.put(p3, s3) : c.post(p3, s3);
463
464
  return u3;
464
- }(p2, d2, m2, s2, l2, e2.isTest);
465
+ }(d2, m2, f2, s2, l2, e2.isTest);
465
466
  }
466
- function te(e2, t2, n2, o2, s2, a2) {
467
- return ee(e2, t2, n2, o2, s2, a2, null, null);
467
+ function te(e2, t2, n2, o2, s2, i2) {
468
+ return ee(e2, t2, n2, o2, s2, i2, null, null);
468
469
  }
469
- function ne(t2, n2, o2, s2, a2) {
470
- const i2 = oe(t2, n2, a2);
471
- if (i2 && "list" === i2) !function(t3, n3, o3, s3) {
472
- let a3 = n3.props.base.successOperation;
473
- const i3 = n3.props.base.isNeedValueMapping, r2 = y(t3, n3);
474
- a3 || re.includes(n3.name) || (a3 = "refresh");
475
- if ("refresh" === a3) {
476
- if (r2) {
477
- w(t3, r2).refresh();
478
- }
479
- } else if ("closeWindow" === a3 || "closeWindowAndRefresh" === a3) {
470
+ function ne(t2, n2, o2, s2, i2) {
471
+ const a2 = oe(t2, n2, i2);
472
+ if (a2 && "list" === a2) !function(t3, n3, o3, s3) {
473
+ let i3 = n3.props.base.successOperation;
474
+ const a3 = n3.props.base.isNeedValueMapping, r2 = y(t3, n3);
475
+ i3 || re.includes(n3.name) || (i3 = "refresh");
476
+ if ("refresh" === i3) if (r2) {
477
+ w(t3, r2).refresh();
478
+ } else console.error("tableUuid is empty");
479
+ else if ("closeWindow" === i3 || "closeWindowAndRefresh" === i3) {
480
480
  const s4 = e(t3.entity.page);
481
- let a4 = o3;
482
- a4 || (a4 = {}), Object.assign(s4, a4), ae(t3, n3, s4, i3);
481
+ let i4 = o3;
482
+ i4 || (i4 = {}), Object.assign(s4, i4), ie(t3, n3, s4, a3);
483
483
  }
484
484
  s3 && u({ message: l().t(s3), type: "success", showClose: true });
485
485
  }(t2, n2, o2, s2), t2.canClick = true;
486
- else if (i2 && "form" === i2) !function(e2, t3, n3, o3) {
486
+ else if (a2 && "form" === a2) !function(e2, t3, n3, o3) {
487
487
  if (n3) {
488
488
  const o4 = n3;
489
489
  let s3;
@@ -510,31 +510,31 @@ function se(e2, t2, n2) {
510
510
  const o2 = t2.props.base.successOperation;
511
511
  if (!o2 || null === o2) return;
512
512
  const s2 = t2.props.base.isNeedValueMapping;
513
- "noOperation" === o2 ? e2.canClick = true : "refresh" === o2 ? n2 && (n2.id || n2.ID) ? Ae(e2, n2.ID ? n2.ID : n2.id) : e2.canClick = true : "closeWindow" !== o2 && "closeWindowAndRefresh" !== o2 || (ae(e2, t2, n2, s2), e2.canClick = true);
513
+ "noOperation" === o2 ? e2.canClick = true : "refresh" === o2 ? n2 && (n2.id || n2.ID) ? Ae(e2, n2.ID ? n2.ID : n2.id) : e2.canClick = true : "closeWindow" !== o2 && "closeWindowAndRefresh" !== o2 || (ie(e2, t2, n2, s2), e2.canClick = true);
514
514
  }
515
- function ae(e2, t2, n2, o2) {
515
+ function ie(e2, t2, n2, o2) {
516
516
  const s2 = e2.entity && e2.entity.request ? e2.entity.request.jumpMode : null;
517
517
  if ("openWindow" === s2 || "newTab" === s2) window.parent ? window.parent.close() : window.close();
518
518
  else {
519
- const a2 = e2.tableName, i2 = void 0 !== o2 && true === o2 && n2 && void 0 !== n2, r2 = (e2.entity && e2.entity.request ? e2.entity.request.parentPageCode : null) + "_";
520
- T.$emit(r2 + "close-dialog", { isNeedValueMapping: i2, dataModel: n2, sourceConfigureObj: t2, sourceTableName: a2, jumpMode: s2 });
519
+ const i2 = e2.tableName, a2 = void 0 !== o2 && true === o2 && n2 && void 0 !== n2, r2 = (e2.entity && e2.entity.request ? e2.entity.request.parentPageCode : null) + "_";
520
+ T.$emit(r2 + "close-dialog", { isNeedValueMapping: a2, dataModel: n2, sourceConfigureObj: t2, sourceTableName: i2, jumpMode: s2 });
521
521
  }
522
522
  }
523
- function ie(e2, t2, n2, o2, s2) {
523
+ function ae(e2, t2, n2, o2, s2) {
524
524
  var _a;
525
525
  s2 || (s2 = t2.runtime && t2.runtime.linkPage && t2.runtime.linkPage.valueMappings ? t2.runtime.linkPage.valueMappings : null) || (s2 = (_a = t2.props.linkPage) == null ? void 0 : _a.valueMappings);
526
- const a2 = e2.tableName;
526
+ const i2 = e2.tableName;
527
527
  !function(e3, t3, n3) {
528
528
  if (e3 && null !== e3 && t3) {
529
529
  let o3 = e3;
530
530
  Array.isArray(e3) && e3.length > 0 && (o3 = e3[0]), t3.forEach((e4) => {
531
531
  const t4 = e4.source;
532
532
  if (!t4) return;
533
- const s3 = t4.split("."), a3 = N(o3, s3), i2 = e4.target, r2 = S(null, i2);
534
- O(n3.entity, r2, a3);
533
+ const s3 = t4.split("."), i3 = N(o3, s3), a2 = e4.target, r2 = x(null, a2);
534
+ O(n3.entity, r2, i3);
535
535
  });
536
536
  }
537
- }(n2, s2, e2), h(null, e2, t2, "setValue", { sourceModel: n2, sourceTableName: o2, entity: e2.entity.data, targetTableName: a2 });
537
+ }(n2, s2, e2), h(null, e2, t2, "setValue", { sourceModel: n2, sourceTableName: o2, entity: e2.entity.data, targetTableName: i2 });
538
538
  }
539
539
  const re = ["dropdown"];
540
540
  function ce(e2, t2, n2, o2) {
@@ -542,26 +542,26 @@ function ce(e2, t2, n2, o2) {
542
542
  t2 && !t2.props.base && (t2.props.base = {});
543
543
  let s2 = o2;
544
544
  s2 || (s2 = n2 ? "refresh" : (_a = t2.props.base) == null ? void 0 : _a.successOperation);
545
- const a2 = oe(e2, t2);
546
- if (a2 && "list" === a2 && !s2 && (s2 = "refresh"), "refresh" === s2) {
547
- if (a2 && "list" === a2) {
545
+ const i2 = oe(e2, t2);
546
+ if (i2 && "list" === i2 && !s2 && (s2 = "refresh"), "refresh" === s2) {
547
+ if (i2 && "list" === i2) {
548
548
  const n3 = y(e2, t2);
549
549
  if (n3) {
550
550
  w(e2, n3).refresh();
551
- }
552
- } else if (a2 && "form" === a2) {
551
+ } else console.error("tableUuid is empty");
552
+ } else if (i2 && "form" === i2) {
553
553
  const t3 = e2.entity.data;
554
554
  Ae(e2, t3.ID ? t3.ID : t3.id);
555
555
  }
556
556
  }
557
557
  }
558
- function le(e2, o2, s2, a2) {
558
+ function le(e2, o2, s2, i2) {
559
559
  return new Promise((r2, d2) => {
560
560
  const m2 = e2.pageContext, f2 = e2.configureObj;
561
561
  if (m2.fileuploadInfo && m2.fileuploadInfo.length > 0) {
562
562
  const e3 = m2.fileuploadInfo[0];
563
563
  let t2;
564
- t2 = e3.isTable && e3.tableTitle && void 0 !== e3.rowIndex ? l().t("superPageRuntimeMessage.fileUploadUnCompleteTable", { label: e3.label, tableTitle: e3.tableTitle, rowIndex: e3.rowIndex + 1 }) : l().t("superPageRuntimeMessage.fileUploadUnComplete", { label: e3.label }), u({ message: t2, type: "warning", showClose: true }), r2(false);
564
+ e3.isTable && e3.tableTitle && void 0 !== e3.rowIndex ? (e3.rowIndex, e3.rowIndex, t2 = l().t("superPageRuntimeMessage.fileUploadUnCompleteTable", { label: e3.label, tableTitle: e3.tableTitle, rowIndex: e3.rowIndex + 1 })) : t2 = l().t("superPageRuntimeMessage.fileUploadUnComplete", { label: e3.label }), u({ message: t2, type: "warning", showClose: true }), r2(false);
565
565
  } else {
566
566
  const u2 = e2.mainDefaultValueColumns, g2 = e2.dynamicColumnInfo, b2 = e2.ids, C2 = f2.props.base.successOperation;
567
567
  let w2 = false;
@@ -571,14 +571,14 @@ function le(e2, o2, s2, a2) {
571
571
  const t2 = f2.props.base.tableUuid ? f2.props.base.tableUuid : e2.tableUuid;
572
572
  T2 = A(m2, t2);
573
573
  } else $(m2.code, m2.entity.data);
574
- const k2 = function(e3, o3, s3, a3, r3, u3, d3, m3, f3) {
574
+ const k2 = function(e3, o3, s3, i3, r3, u3, d3, m3, f3) {
575
575
  return new Promise((g3, b3) => {
576
- const C3 = o3.props.base.title, w3 = "superPageRuntimeMessage.whetherToConfirm" + i(d3);
576
+ const C3 = o3.props.base.title, w3 = "superPageRuntimeMessage.whetherToConfirm" + a(d3);
577
577
  p.confirm(l().t(w3, { name: C3 }), l().t("superPageRuntimeMessage.tips"), { confirmButtonText: l().t("superPageRuntimeMessage.sure"), cancelButtonText: l().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
578
- const i2 = e3.systemCode, l2 = e3.backendUrl, p2 = Z(e3, o3, a3, r3, u3, m3, null);
578
+ const a2 = e3.systemCode, l2 = e3.backendUrl, p2 = Z(e3, o3, i3, r3, u3, m3, null);
579
579
  p2.tableName = f3;
580
580
  let d4 = t(l2, e3.isTest) + s3;
581
- d4 = n(d4, i2, l2, e3.isTest), c.post(d4, p2).then((e4) => {
581
+ d4 = n(d4, a2, l2, e3.isTest), c.post(d4, p2).then((e4) => {
582
582
  g3(e4);
583
583
  }).catch((e4) => {
584
584
  b3(e4);
@@ -587,7 +587,7 @@ function le(e2, o2, s2, a2) {
587
587
  b3("点击了取消按钮");
588
588
  });
589
589
  });
590
- }(m2, f2, a2, w2, u2, g2, s2, b2, T2);
590
+ }(m2, f2, i2, w2, u2, g2, s2, b2, T2);
591
591
  k2 ? k2.then((e3) => {
592
592
  !o2 && e3 && q(m2.code, m2.entity.data), ne(m2, f2, e3, "superPageRuntimeMessage.successfulSave", o2), r2(e3);
593
593
  }).catch((e3) => {
@@ -598,39 +598,39 @@ function le(e2, o2, s2, a2) {
598
598
  }
599
599
  function ue(e2, s2) {
600
600
  var _a, _b, _c;
601
- const a2 = e2.pageContext, i2 = e2.configureObj, r2 = e2.tableConfigure, p2 = i2.props.base, d2 = i2.props.base.tableUuid ? i2.props.base.tableUuid : e2.tableUuid, m2 = A(a2, d2), f2 = new FormData();
601
+ 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 = A(i2, d2), f2 = new FormData();
602
602
  f2.append("multipartFile", s2), m2 && f2.append("tableName", m2);
603
- const g2 = (_b = (_a = i2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
604
- g2 && f2.append("currentOperation", g2), f2.append("isMobile", L()), a2.importBeanName && f2.append("importBeanName", a2.importBeanName), a2.beanName && f2.append("beanName", a2.beanName);
603
+ const g2 = (_b = (_a = a2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
604
+ g2 && f2.append("currentOperation", g2), f2.append("isMobile", L()), i2.importBeanName && f2.append("importBeanName", i2.importBeanName), i2.beanName && f2.append("beanName", i2.beanName);
605
605
  const b2 = (_c = r2.props.importSetting) == null ? void 0 : _c.listViewImportDuplicate;
606
606
  b2 && f2.append("importDuplicateRule", b2);
607
- const C2 = a2.judgeHeavyList;
607
+ const C2 = i2.judgeHeavyList;
608
608
  C2 && f2.append("judgeHeavyList", JSON.stringify(C2));
609
- const w2 = De(i2);
609
+ const w2 = De(a2);
610
610
  w2 && f2.append("autoSetValueData", w2);
611
- const T2 = a2.formNoRuleCode;
611
+ const T2 = i2.formNoRuleCode;
612
612
  T2 && f2.append("formNoRuleCode", T2);
613
613
  const k2 = e2.listCode;
614
614
  k2 && f2.append("listCode", k2);
615
615
  let h2 = false;
616
- h2 = void 0 !== p2.isAsync && null !== p2.isAsync && p2.isAsync, f2.append("isAsync", h2 + ""), f2.append("pageCode", a2.code);
617
- const y2 = o(a2);
616
+ h2 = void 0 !== p2.isAsync && null !== p2.isAsync && p2.isAsync, f2.append("isAsync", h2 + ""), f2.append("pageCode", i2.code);
617
+ const y2 = o(i2);
618
618
  null != y2 && f2.append("isWorkflowEntity", y2 + "");
619
- const I2 = v(i2, a2);
619
+ const I2 = v(a2, i2);
620
620
  I2 && f2.append("functionCode", I2);
621
- const R2 = Te(a2);
621
+ const R2 = Te(i2);
622
622
  f2.append("additionalParamMapStr", JSON.stringify(R2));
623
- const S2 = void 0 === p2.isPermission || "true" === p2.isPermission || p2.isPermission;
624
- f2.append("isPermission", S2 + "");
625
- const M2 = a2.systemCode;
626
- M2 && f2.append("systemCode", M2);
627
- const x2 = a2.backendUrl;
628
- let N2 = t(x2, a2.isTest) + "/dsc/commons/import-data";
629
- N2 = n(N2, M2, x2, a2.isTest), c.post(N2, f2).then((e3) => {
630
- if (h2) u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.asyncImport") }), Fe(a2);
623
+ const x2 = void 0 === p2.isPermission || "true" === p2.isPermission || p2.isPermission;
624
+ f2.append("isPermission", x2 + "");
625
+ const S2 = i2.systemCode;
626
+ S2 && f2.append("systemCode", S2);
627
+ const M2 = i2.backendUrl;
628
+ let N2 = t(M2, i2.isTest) + "/dsc/commons/import-data";
629
+ N2 = n(N2, S2, M2, i2.isTest), c.post(N2, f2).then((e3) => {
630
+ if (h2) u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.asyncImport") }), Fe(i2);
631
631
  else {
632
632
  let t2 = false;
633
- e3 ? (t2 = false, u({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e3 })) : (u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulImport") }), t2 = true), ne(a2, i2, e3, null, true), a2.result = t2, P(a2, i2);
633
+ e3 ? (t2 = false, u({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e3 })) : (u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulImport") }), t2 = true), ne(i2, a2, e3, null, true), i2.result = t2, P(i2, a2);
634
634
  }
635
635
  }).catch((e3) => {
636
636
  });
@@ -646,26 +646,26 @@ function pe(e2, t2) {
646
646
  }
647
647
  function de(e2) {
648
648
  var _a, _b, _c;
649
- const t2 = e2.pageContext, n2 = e2.configureObj, o2 = t2.entity.data, a2 = t2.systemCode, i2 = t2.code;
649
+ const t2 = e2.pageContext, n2 = e2.configureObj, o2 = t2.entity.data, i2 = t2.systemCode, a2 = t2.code;
650
650
  let r2 = v(n2, t2);
651
- r2 || (r2 = i2 + ".xxx"), o2.id || o2.ID || (o2.PAGE_CODE = t2.code, o2.PAGE_VERSION = t2.version);
652
- const c2 = { entity: o2, pageMoel: t2.entity.page, formNoRuleCode: t2.formNoRuleCode, tableName: t2.tableName, emailTemplateCode: t2.emailTemplateCode, definitionId: t2.definitionId, functionCode: r2, systemCode: a2, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version, listCodesInitSearchForm: t2.listCodesInitSearchForm };
651
+ r2 || (r2 = a2 + ".xxx"), o2.id || o2.ID || (o2.PAGE_CODE = t2.code, o2.PAGE_VERSION = t2.version);
652
+ const c2 = { entity: o2, pageMoel: t2.entity.page, formNoRuleCode: t2.formNoRuleCode, tableName: t2.tableName, emailTemplateCode: t2.emailTemplateCode, definitionId: t2.definitionId, functionCode: r2, systemCode: i2, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version, listCodesInitSearchForm: t2.listCodesInitSearchForm };
653
653
  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);
654
654
  const l2 = n2.props.base.conversionCodes;
655
655
  l2 && (s(l2) ? c2.dataConversionRule = l2.join(",") : "string" == typeof l2 && (c2.dataConversionRule = l2));
656
656
  const u2 = De(n2);
657
657
  u2 && (c2.autoSetValueData = u2), t2.beanName && (c2.beanName = t2.beanName);
658
658
  const p2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
659
- p2 && (c2.logSettingText = p2.join("")), c2.systemCode || (c2.systemCode = a2);
659
+ p2 && (c2.logSettingText = p2.join("")), c2.systemCode || (c2.systemCode = i2);
660
660
  const d2 = Te(t2);
661
- 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]));
661
+ 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参数类型错误"));
662
662
  const m2 = n2.props.base.successOperation;
663
663
  m2 && "noOperation" === m2 && (c2.unControlVersion = true), c2.isWorkflowEntity = true;
664
664
  const f2 = (_c = (_b = n2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
665
665
  return f2 && (c2.currentOperation = f2), c2.isMobile = L(), c2;
666
666
  }
667
667
  function me(e2, t2, n2, o2, s2) {
668
- const a2 = n2.code, i2 = n2.version;
668
+ const i2 = n2.code, a2 = n2.version;
669
669
  let r2;
670
670
  if (e2) {
671
671
  t2 && (n2.initFormNo = e2.formNo, n2.emailTemplateCode = e2.emailTemplateCode), e2.entity && (n2.entity.data = e2.entity, function(e3, t3) {
@@ -682,21 +682,21 @@ function me(e2, t2, n2, o2, s2) {
682
682
  }
683
683
  if (e2.completeTaskParam) {
684
684
  const t3 = e2.completeTaskParam;
685
- r2 = t3.taskId, o2 && (o2.taskId = r2), I(a2, i2, "_completeTaskParam", t3), n2.fieldPermissions = t3.fieldPermissions, n2.actionPermissions = t3.actionPermissions, n2.workflowButtonComponent = t3.buttonComponent, n2.completeTaskParam = t3, n2.completeTaskParam.opinion = null;
685
+ r2 = t3.taskId, o2 && (o2.taskId = r2), I(i2, a2, "_completeTaskParam", t3), n2.fieldPermissions = t3.fieldPermissions, n2.actionPermissions = t3.actionPermissions, n2.workflowButtonComponent = t3.buttonComponent, n2.completeTaskParam = t3, n2.completeTaskParam.opinion = null;
686
686
  }
687
- n2.entity || (n2.entity = {}), n2.entity.task = e2.taskParamMap, I(a2, i2, "_currentActivityName", e2.taskName);
687
+ n2.entity || (n2.entity = {}), n2.entity.task = e2.taskParamMap, I(i2, a2, "_currentActivityName", e2.taskName);
688
688
  }
689
689
  return o2 && (o2.operationResult = s2), t2 || ne(n2, o2.configureObj, e2, null, false), true;
690
690
  }
691
691
  async function fe(e2, o2) {
692
692
  const s2 = await ge(e2);
693
- return new Promise((a2, i2) => {
693
+ return new Promise((i2, a2) => {
694
694
  var _a;
695
695
  const r2 = e2.pageContext;
696
696
  if (r2.fileuploadInfo && r2.fileuploadInfo.length > 0) {
697
697
  const e3 = r2.fileuploadInfo[0];
698
698
  let t2;
699
- t2 = e3.isTable && e3.tableTitle && void 0 !== e3.rowIndex ? l().t("superPageRuntimeMessage.fileUploadUnCompleteTable", { label: e3.label, tableTitle: e3.tableTitle, rowIndex: e3.rowIndex + 1 }) : l().t("superPageRuntimeMessage.fileUploadUnComplete", { label: e3.label }), u({ message: t2, type: "warning", showClose: true }), a2(false);
699
+ e3.isTable && e3.tableTitle && void 0 !== e3.rowIndex ? (e3.rowIndex, e3.rowIndex, t2 = l().t("superPageRuntimeMessage.fileUploadUnCompleteTable", { label: e3.label, tableTitle: e3.tableTitle, rowIndex: e3.rowIndex + 1 })) : t2 = l().t("superPageRuntimeMessage.fileUploadUnComplete", { label: e3.label }), u({ message: t2, type: "warning", showClose: true }), i2(false);
700
700
  } else if (s2) {
701
701
  const p2 = r2.systemCode, d2 = r2.backendUrl, m2 = true === s2 ? (_a = r2.completeTaskParam) == null ? void 0 : _a.opinion : s2;
702
702
  let f2 = t(d2, r2.isTest) + "/dsc/workflow-commons/complete-tasks";
@@ -706,11 +706,11 @@ async function fe(e2, o2) {
706
706
  const b2 = c.post(f2, g2);
707
707
  $(r2.code, r2.entity.data), b2.then((t2) => {
708
708
  let n2 = true;
709
- t2 && (q(r2.code, r2.entity.data), n2 = me(t2, false, r2, e2, o2)), true === n2 && u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulCompleteTask") }), a2(true);
709
+ t2 && (q(r2.code, r2.entity.data), n2 = me(t2, false, r2, e2, o2)), true === n2 && u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulCompleteTask") }), i2(true);
710
710
  }).catch((e3) => {
711
- i2(e3);
711
+ a2(e3);
712
712
  });
713
- } else a2(true);
713
+ } else i2(true);
714
714
  });
715
715
  }
716
716
  function ge(e2) {
@@ -722,7 +722,7 @@ function ge(e2) {
722
722
  let n3 = false;
723
723
  if (((_c = (_b = o2.props) == null ? void 0 : _b.base) == null ? void 0 : _c.isMustOpinion) && (n3 = true), true === n3) {
724
724
  const t3 = e2.pageContext, s2 = (_e2 = (_d = o2.props) == null ? void 0 : _d.base) == null ? void 0 : _e2.mustOpinionConditions;
725
- n3 = M(t3, s2);
725
+ n3 = S(t3, s2);
726
726
  }
727
727
  true === n3 ? (u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.pleaseInputOpinion") }), e2.pageContext.workflowOpinion.focusOpinionInput = true, t2(false)) : t2(true);
728
728
  } else t2(true);
@@ -730,17 +730,17 @@ function ge(e2) {
730
730
  }
731
731
  function be(e2, n2) {
732
732
  if (n2) {
733
- const o2 = e2.pageContext, s2 = e2.configureObj, a2 = o2.backendUrl, i2 = t(a2, o2.isTest) + "/dsc/workflow-commons/assigns", r2 = n2.id ? n2.id : n2.ID ? n2.ID : null, c2 = de(e2);
734
- c2.assigneeId = r2, Pe(e2, c2, i2, "superPageRuntimeMessage.successfulAssign").then((e3) => {
733
+ 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 = de(e2);
734
+ c2.assigneeId = r2, Pe(e2, c2, a2, "superPageRuntimeMessage.successfulAssign").then((e3) => {
735
735
  P(o2, s2);
736
736
  });
737
737
  }
738
738
  }
739
739
  function Ce(e2) {
740
740
  var _a, _b;
741
- const t2 = e2.pageContext, n2 = t2.entity.data, o2 = t2.systemCode, s2 = t2.code, a2 = e2.configureObj, i2 = Te(t2), r2 = void 0 !== n2.ID && null !== n2.ID ? n2.ID : n2.id, c2 = { beanName: t2.beanName, id: r2, entity: n2, additionalParamMap: i2, tableName: t2.tableName, functionCode: s2 + ".xxx", isWorkflowEntity: true, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version, listCodesInitSearchForm: t2.listCodesInitSearchForm };
741
+ const t2 = e2.pageContext, n2 = t2.entity.data, o2 = t2.systemCode, s2 = t2.code, i2 = e2.configureObj, a2 = Te(t2), r2 = void 0 !== n2.ID && null !== n2.ID ? n2.ID : n2.id, c2 = { beanName: t2.beanName, id: r2, entity: n2, additionalParamMap: a2, tableName: t2.tableName, functionCode: s2 + ".xxx", isWorkflowEntity: true, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version, listCodesInitSearchForm: t2.listCodesInitSearchForm };
742
742
  c2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, systemCode: o2 }, c2.completeTaskParam.customTaskTitle = we(e2);
743
- const l2 = (_b = (_a = a2 == null ? void 0 : a2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
743
+ const l2 = (_b = (_a = i2 == null ? void 0 : i2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
744
744
  return l2 && (c2.currentOperation = l2), c2.isMobile = L(), c2;
745
745
  }
746
746
  function we(e2) {
@@ -753,7 +753,7 @@ function we(e2) {
753
753
  t2 = o2.config;
754
754
  break;
755
755
  }
756
- if (M(e2.pageContext, o2.conditions)) {
756
+ if (S(e2.pageContext, o2.conditions)) {
757
757
  t2 = o2.config;
758
758
  break;
759
759
  }
@@ -771,27 +771,27 @@ function Te(t2) {
771
771
  }
772
772
  function ke(e2, o2) {
773
773
  if (o2) {
774
- const s2 = e2.pageContext, a2 = e2.configureObj, i2 = s2.systemCode, r2 = s2.backendUrl;
774
+ const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
775
775
  let p2 = t(r2, s2.isTest) + "/dsc/workflow-commons/add-signers";
776
- if (p2 = n(p2, i2, r2, s2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
776
+ if (p2 = n(p2, a2, r2, s2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
777
777
  const d2 = Ce(e2);
778
778
  d2.completeTaskParam.transactors = o2.loginNames.join(",").split(",");
779
779
  const m2 = c.post(p2, d2);
780
780
  m2 && m2.then((e3) => {
781
- u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && ne(s2, a2, e3, null, false), P(s2, a2);
781
+ u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && ne(s2, i2, e3, null, false), P(s2, i2);
782
782
  });
783
783
  }
784
784
  }
785
785
  function he(e2, o2) {
786
786
  if (o2) {
787
- const s2 = e2.pageContext, a2 = e2.configureObj, i2 = s2.systemCode, r2 = s2.backendUrl;
787
+ const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
788
788
  let p2 = t(r2, s2.isTest) + "/dsc/workflow-commons/add-transactors";
789
- if (p2 = n(p2, i2, r2, s2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
789
+ if (p2 = n(p2, a2, r2, s2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
790
790
  const d2 = Ce(e2);
791
791
  d2.completeTaskParam.transactors = o2.loginNames.join(",").split(",");
792
792
  const m2 = c.post(p2, d2);
793
793
  m2 && m2.then((e3) => {
794
- u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && ne(s2, a2, e3, null, false), P(s2, a2);
794
+ u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && ne(s2, i2, e3, null, false), P(s2, i2);
795
795
  });
796
796
  }
797
797
  }
@@ -806,7 +806,7 @@ async function ye(e2, o2) {
806
806
  if (void 0 === n3 || true === n3) {
807
807
  n3 = true;
808
808
  const t3 = e3.pageContext, s3 = (_d = (_c = o3.props) == null ? void 0 : _c.base) == null ? void 0 : _d.mustRemarkConditions;
809
- n3 = M(t3, s3);
809
+ n3 = S(t3, s3);
810
810
  }
811
811
  true === n3 ? p.prompt(l().t("superPageRuntimeMessage.pleaseInputRemark"), l().t("superPageRuntimeMessage.remark"), { confirmButtonText: l().t("superPageRuntimeMessage.sure"), cancelButtonText: l().t("superPageRuntimeMessage.cancel"), inputType: "textarea", inputValue: null, closeOnClickModal: false, inputValidator: (e4) => !(!e4 || !e4.trim()) || l().t("superPageRuntimeMessage.pleaseInputRemark") }).then(({ value: e4 }) => {
812
812
  t2(e4);
@@ -817,105 +817,105 @@ async function ye(e2, o2) {
817
817
  });
818
818
  }(e2);
819
819
  if (s2) {
820
- const a2 = e2.pageContext, i2 = e2.configureObj, r2 = a2.systemCode, p2 = a2.backendUrl;
821
- let d2 = t(p2, a2.isTest) + "/dsc/workflow-commons/copies";
822
- if (d2 = n(d2, r2, p2, a2.isTest), !d2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
820
+ const i2 = e2.pageContext, a2 = e2.configureObj, r2 = i2.systemCode, p2 = i2.backendUrl;
821
+ let d2 = t(p2, i2.isTest) + "/dsc/workflow-commons/copies";
822
+ if (d2 = n(d2, r2, p2, i2.isTest), !d2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
823
823
  const m2 = Ce(e2);
824
824
  m2.completeTaskParam.transactors = o2.loginNames.join(",").split(","), true !== s2 && (m2.completeTaskParam.remark = s2);
825
825
  const f2 = c.post(d2, m2);
826
826
  f2 && f2.then((e3) => {
827
827
  var _a;
828
- u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulOperation") }), ne(a2, i2, { entity: (_a = a2.entity) == null ? void 0 : _a.data }, null), P(a2, i2);
828
+ u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulOperation") }), ne(i2, a2, { entity: (_a = i2.entity) == null ? void 0 : _a.data }, null), P(i2, a2);
829
829
  });
830
830
  }
831
831
  }
832
832
  }
833
833
  async function Pe(e2, t2, o2, s2) {
834
- const a2 = await ge(e2);
835
- return new Promise((i2, r2) => {
834
+ const i2 = await ge(e2);
835
+ return new Promise((a2, r2) => {
836
836
  var _a;
837
- if (a2) {
837
+ if (i2) {
838
838
  const p2 = e2.pageContext, d2 = p2.systemCode, m2 = p2.backendUrl;
839
839
  if (p2.completeTaskParam) {
840
- const e3 = true === a2 ? (_a = p2.completeTaskParam) == null ? void 0 : _a.opinion : a2;
840
+ const e3 = true === i2 ? (_a = p2.completeTaskParam) == null ? void 0 : _a.opinion : i2;
841
841
  t2.completeTaskParam = { taskId: p2.completeTaskParam.taskId, opinion: e3 };
842
842
  }
843
843
  if (!(o2 = n(o2, d2, m2, p2.isTest))) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
844
844
  const f2 = c.post(o2, t2);
845
845
  f2 && f2.then((t3) => {
846
846
  let n2 = true;
847
- t3 && (n2 = me(t3, false, p2, e2, null)), true === n2 && u({ showClose: true, type: "success", message: l().t(s2) }), i2(true);
847
+ t3 && (n2 = me(t3, false, p2, e2, null)), true === n2 && u({ showClose: true, type: "success", message: l().t(s2) }), a2(true);
848
848
  }).catch((e3) => {
849
849
  r2(e3);
850
850
  });
851
- } else i2(true);
851
+ } else a2(true);
852
852
  });
853
853
  }
854
854
  function Ie(e2) {
855
- const o2 = e2.pageContext, s2 = o2.systemCode, a2 = o2.backendUrl, i2 = o2.completeTaskParam;
856
- let r2 = t(a2, o2.isTest) + "/dsc/workflow-commons/returnable-task/" + i2.taskId;
857
- if (r2 = n(r2, s2, a2, o2.isTest), !r2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
855
+ const o2 = e2.pageContext, s2 = o2.systemCode, i2 = o2.backendUrl, a2 = o2.completeTaskParam;
856
+ let r2 = t(i2, o2.isTest) + "/dsc/workflow-commons/returnable-task/" + a2.taskId;
857
+ if (r2 = n(r2, s2, i2, o2.isTest), !r2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
858
858
  const p2 = o2.code, d2 = Te(o2), m2 = { beanName: o2.beanName, additionalParamMap: d2, tableName: o2.tableName, functionCode: p2 + ".xxx", pageCode: o2.code };
859
859
  return c.post(r2, m2);
860
860
  }
861
861
  function ve(e2, n2) {
862
- const o2 = e2.pageContext, s2 = e2.configureObj, a2 = o2.backendUrl, i2 = t(a2, o2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 = de(e2);
863
- n2.nodeName && (r2.returnToNodeName = n2.nodeName), n2.nodeId && (r2.returnToNodeId = n2.nodeId), Pe(e2, r2, i2, "superPageRuntimeMessage.successfulReturnTaskTo").then((e3) => {
862
+ const o2 = e2.pageContext, s2 = e2.configureObj, i2 = o2.backendUrl, a2 = t(i2, o2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 = de(e2);
863
+ n2.nodeName && (r2.returnToNodeName = n2.nodeName), n2.nodeId && (r2.returnToNodeId = n2.nodeId), Pe(e2, r2, a2, "superPageRuntimeMessage.successfulReturnTaskTo").then((e3) => {
864
864
  P(o2, s2);
865
865
  });
866
866
  }
867
867
  function Re(e2) {
868
- const o2 = e2.pageContext, s2 = o2.systemCode, a2 = o2.backendUrl;
869
- let i2 = t(a2, o2.isTest) + "/dsc/workflow-commons/get-remove-signers";
868
+ const o2 = e2.pageContext, s2 = o2.systemCode, i2 = o2.backendUrl;
869
+ let a2 = t(i2, o2.isTest) + "/dsc/workflow-commons/get-remove-signers";
870
870
  const r2 = de(e2);
871
- if (i2 = n(i2, s2, a2, o2.isTest), i2) return c.post(i2, r2);
871
+ if (a2 = n(a2, s2, i2, o2.isTest), a2) return c.post(a2, r2);
872
872
  u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
873
873
  }
874
- function Se(e2, o2) {
874
+ function xe(e2, o2) {
875
875
  if (o2) {
876
- const s2 = e2.pageContext, a2 = e2.configureObj, i2 = s2.systemCode, r2 = s2.backendUrl;
876
+ const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
877
877
  let p2 = t(r2, s2.isTest) + "/dsc/workflow-commons/remove-signers";
878
- if (p2 = n(p2, i2, r2, s2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
878
+ if (p2 = n(p2, a2, r2, s2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
879
879
  const d2 = o2.map((e3) => e3.id ? e3.id : e3.ID ? e3.ID : null), m2 = de(e2);
880
880
  m2.ids = d2;
881
881
  const f2 = c.post(p2, m2);
882
882
  f2 && f2.then((e3) => {
883
- ne(s2, a2, e3, "superPageRuntimeMessage.successfulOperation", false), P(s2, a2);
883
+ ne(s2, i2, e3, "superPageRuntimeMessage.successfulOperation", false), P(s2, i2);
884
884
  });
885
885
  }
886
886
  }
887
- function Me(e2) {
888
- const o2 = e2.pageContext, s2 = o2.systemCode, a2 = o2.backendUrl;
889
- let i2 = t(a2, o2.isTest) + "/dsc/workflow-commons/get-remove-transactors";
887
+ function Se(e2) {
888
+ const o2 = e2.pageContext, s2 = o2.systemCode, i2 = o2.backendUrl;
889
+ let a2 = t(i2, o2.isTest) + "/dsc/workflow-commons/get-remove-transactors";
890
890
  const r2 = de(e2);
891
- if (i2 = n(i2, s2, a2, o2.isTest), i2) return c.post(i2, r2);
891
+ if (a2 = n(a2, s2, i2, o2.isTest), a2) return c.post(a2, r2);
892
892
  u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
893
893
  }
894
- function xe(e2, o2) {
894
+ function Me(e2, o2) {
895
895
  if (o2) {
896
- const s2 = e2.pageContext, a2 = e2.configureObj, i2 = s2.systemCode, r2 = s2.backendUrl;
896
+ const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
897
897
  let p2 = t(r2, s2.isTest) + "/dsc/workflow-commons/remove-transactors";
898
- if (p2 = n(p2, i2, r2, s2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
898
+ if (p2 = n(p2, a2, r2, s2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
899
899
  const d2 = o2.map((e3) => e3.taskId), m2 = de(e2);
900
900
  m2.ids = d2;
901
901
  const f2 = c.post(p2, m2);
902
902
  f2 && f2.then((e3) => {
903
- ne(s2, a2, e3, "superPageRuntimeMessage.successfulOperation", false), P(s2, a2);
903
+ ne(s2, i2, e3, "superPageRuntimeMessage.successfulOperation", false), P(s2, i2);
904
904
  });
905
905
  }
906
906
  }
907
907
  function Ne(e2) {
908
908
  const o2 = e2.pageContext, s2 = o2.backendUrl;
909
- let a2 = t(s2, o2.isTest) + "/dsc/workflow-commons/initiate-extract";
910
- const i2 = de(e2);
909
+ let i2 = t(s2, o2.isTest) + "/dsc/workflow-commons/initiate-extract";
910
+ const a2 = de(e2);
911
911
  if (o2.completeTaskParam) {
912
912
  const t2 = [];
913
- e2._value.loginName && t2.push(e2._value.loginName), i2.completeTaskParam = { taskId: o2.completeTaskParam.taskId, opinion: e2._value.opinion, transactors: t2, customTaskTitle: we(e2) };
913
+ e2._value.loginName && t2.push(e2._value.loginName), a2.completeTaskParam = { taskId: o2.completeTaskParam.taskId, opinion: e2._value.opinion, transactors: t2, customTaskTitle: we(e2) };
914
914
  }
915
915
  return new Promise((t2, o3) => {
916
916
  const s3 = e2.pageContext, r2 = s3.systemCode, p2 = s3.backendUrl;
917
- if (a2 = n(a2, r2, p2, s3.isTest), !a2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
918
- const d2 = c.post(a2, i2);
917
+ if (i2 = n(i2, r2, p2, s3.isTest), !i2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
918
+ const d2 = c.post(i2, a2);
919
919
  d2 && d2.then((n2) => {
920
920
  let o4 = true;
921
921
  n2 && (o4 = me(n2, false, s3, e2, null)), true === o4 && u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulInitiateExtract") }), t2(true);
@@ -924,50 +924,50 @@ function Ne(e2) {
924
924
  });
925
925
  });
926
926
  }
927
- function Oe(e2, t2, n2, o2, s2, a2) {
927
+ function Oe(e2, t2, n2, o2, s2, i2) {
928
928
  var _a, _b, _c, _d, _e2, _f, _g, _h;
929
- let i2 = false;
930
- if (o2 && o2.archival) return i2;
931
- t2 && n2 && ("workflowSave" === t2 ? i2 = function(e3) {
929
+ let a2 = false;
930
+ if (o2 && o2.archival) return a2;
931
+ t2 && n2 && ("workflowSave" === t2 ? a2 = function(e3) {
932
932
  if ((void 0 === e3.processState || null === e3.processState || "UNSUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && true === e3.theTransactor) && (void 0 === e3.processState || true === e3.showButtonSave)) return true;
933
933
  if (e3.processState && "SUBMIT" === e3.processState && true === e3.theTransactor && "TYPE_READ" !== e3.processingMode && e3.showButtonSave && ("WAIT_TRANSACT" === e3.active || "WAIT_DESIGNATE_TRANSACTOR" === e3.active || "WAIT_CHOICE_TACHE" === e3.active || "DRAW_WAIT" === e3.active)) return true;
934
934
  return false;
935
- }(n2) : "workflowStart" === t2 ? i2 = function(e3, t3) {
935
+ }(n2) : "workflowStart" === t2 ? a2 = function(e3, t3) {
936
936
  if (void 0 === e3.processState || null === e3.processState || t3 && !t3.workflow_id && !t3.WORKFLOW_ID) return true;
937
937
  return false;
938
- }(n2, a2) : "submitProcess" === t2 ? i2 = function(e3) {
938
+ }(n2, i2) : "submitProcess" === t2 ? a2 = function(e3) {
939
939
  if ((void 0 === e3.processState || null === e3.processState || "UNSUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && true === e3.theTransactor) && (void 0 === e3.processState || true === e3.showButtonSave)) return true;
940
940
  return false;
941
- }(n2) : "submitTask" === t2 ? i2 = function(e3) {
941
+ }(n2) : "submitTask" === t2 ? a2 = function(e3) {
942
942
  if (e3.processState && "SUBMIT" === e3.processState && true === e3.theTransactor && "WAIT_TRANSACT" === e3.active && "EDIT" === e3.processingMode) return true;
943
943
  return false;
944
- }(n2) : "drawTask" === t2 ? i2 = function(e3) {
944
+ }(n2) : "drawTask" === t2 ? a2 = function(e3) {
945
945
  if (e3.processState && "SUBMIT" === e3.processState && e3.active && ("DRAW_WAIT" === e3.active || "DEPT_DRAW_WAIT" === e3.active) && e3.showButtonDraw) return true;
946
946
  return false;
947
- }(n2) : "abandonReceive" === t2 ? i2 = function(e3) {
947
+ }(n2) : "abandonReceive" === t2 ? a2 = function(e3) {
948
948
  if (e3.processState && "SUBMIT" === e3.processState && (e3.drawTask && "WAIT_TRANSACT" === e3.active || e3.canAbandonDeptTask && "WAIT_TRANSACT" === e3.active) && e3.showButtonAbandon) return true;
949
949
  return false;
950
- }(n2) : "approve" === t2 || "refuse" === t2 ? i2 = function(e3) {
950
+ }(n2) : "approve" === t2 || "refuse" === t2 ? a2 = function(e3) {
951
951
  if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && ("APPROVE" === e3.processingMode || "COUNTERSIGN" === e3.processingMode)) return true;
952
952
  return false;
953
- }(n2) : "readed" === t2 ? i2 = function(e3) {
953
+ }(n2) : "readed" === t2 ? a2 = function(e3) {
954
954
  if ("WAIT_TRANSACT" === e3.active && "TYPE_READ" === e3.processingMode) return true;
955
955
  return false;
956
- }(n2) : "assign" === t2 ? i2 = function(e3) {
956
+ }(n2) : "assign" === t2 ? a2 = function(e3) {
957
957
  if (e3.processState && "SUBMIT" === e3.processState && "TYPE_READ" !== e3.processingMode && ("WAIT_TRANSACT" === e3.active || "DRAW_WAIT" === e3.active)) return true;
958
958
  return false;
959
- }(n2) : "copyTask" === t2 ? i2 = function(e3, t3) {
959
+ }(n2) : "copyTask" === t2 ? a2 = function(e3, t3) {
960
960
  let n3 = false;
961
961
  e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "TYPE_READ" !== e3.processingMode && e3.showButtonCopy && (n3 = true);
962
962
  t3 && (t3.props.base.state = n3 ? "" : "hidden");
963
963
  return true;
964
- }(n2, s2) : "addSigner" === t2 ? i2 = function(e3) {
964
+ }(n2, s2) : "addSigner" === t2 ? a2 = function(e3) {
965
965
  if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "COUNTERSIGN" === e3.processingMode && e3.showButtonAddCounter) return true;
966
966
  return false;
967
- }(n2) : "removeSigner" === t2 ? i2 = function(e3) {
967
+ }(n2) : "removeSigner" === t2 ? a2 = function(e3) {
968
968
  if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "COUNTERSIGN" === e3.processingMode && e3.showButtonDelCounter) return true;
969
969
  return false;
970
- }(n2) : "retrieveTask" === t2 ? i2 = function(e3) {
970
+ }(n2) : "retrieveTask" === t2 ? a2 = function(e3) {
971
971
  if (e3.processState && "END" !== e3.processState && "SUBMIT" === e3.processState && true === e3.showButtonGetBack && function(e4) {
972
972
  if ("COMPLETED" !== e4.active) return false;
973
973
  if ("TYPE_READ" === e4.processingMode) return false;
@@ -975,13 +975,13 @@ function Oe(e2, t2, n2, o2, s2, a2) {
975
975
  return true;
976
976
  }(e3)) return true;
977
977
  return false;
978
- }(n2) : "agreement" === t2 || "oppose" === t2 ? i2 = function(e3) {
978
+ }(n2) : "agreement" === t2 || "oppose" === t2 ? a2 = function(e3) {
979
979
  if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "VOTE" === e3.processingMode) return true;
980
980
  return false;
981
- }(n2) : "kiken" === t2 ? i2 = function(e3) {
981
+ }(n2) : "kiken" === t2 ? a2 = function(e3) {
982
982
  if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "VOTE" === e3.processingMode && e3.showButtonKiken) return true;
983
983
  return false;
984
- }(n2) : "extractWorkflow" === t2 ? i2 = function(e3, t3, n3) {
984
+ }(n2) : "extractWorkflow" === t2 ? a2 = function(e3, t3, n3) {
985
985
  var _a2;
986
986
  const o3 = m(), s3 = o3 ? o3.loginName : null;
987
987
  if (e3 == null ? void 0 : e3.processState) {
@@ -989,11 +989,11 @@ function Oe(e2, t2, n2, o2, s2, a2) {
989
989
  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;
990
990
  }
991
991
  return false;
992
- }(n2, o2, a2) : "cancelExtractWorkflow" === t2 ? i2 = function(e3, t3, n3) {
992
+ }(n2, o2, i2) : "cancelExtractWorkflow" === t2 ? a2 = function(e3, t3, n3) {
993
993
  const o3 = m(), s3 = o3 ? o3.loginName : null;
994
994
  if ("EXTRACT" === (e3 == null ? void 0 : e3.processState) && n3 && (n3.creator === s3 || n3.CREATOR === s3)) return true;
995
995
  return false;
996
- }(n2, 0, a2) : "approveExtractWorkflow" === t2 || "refuseExtractWorkflow" === t2 ? i2 = Ue(n2) : "addTransactor" === t2 || "removeTransactor" === t2 ? i2 = function(e3) {
996
+ }(n2, 0, i2) : "approveExtractWorkflow" === t2 || "refuseExtractWorkflow" === t2 ? a2 = Ue(n2) : "addTransactor" === t2 || "removeTransactor" === t2 ? a2 = function(e3) {
997
997
  if (e3.processState && "SUBMIT" === e3.processState && ("WAIT_TRANSACT" === e3.active || "DRAW_WAIT" === e3.active) && "COUNTERSIGN" !== e3.processingMode) return true;
998
998
  return false;
999
999
  }(n2) : function(e3, t3) {
@@ -1003,26 +1003,26 @@ function Oe(e2, t2, n2, o2, s2, a2) {
1003
1003
  t4 && (n3 = t4.taskComplete);
1004
1004
  return n3;
1005
1005
  }(t3);
1006
- }(n2, o2) && (i2 = "returnToPreviousTask" !== t2 || function(e3) {
1006
+ }(n2, o2) && (a2 = "returnToPreviousTask" !== t2 || function(e3) {
1007
1007
  if (e3.rebuttable) return true;
1008
1008
  return false;
1009
1009
  }(n2)));
1010
- if ((s2 == null ? void 0 : s2.check) && -1 !== ["submitTask", "approve", "refuse", "agreement", "oppose", "kiken", "extractWorkflow", "cancelExtractWorkflow", "approveExtractWorkflow", "refuseExtractWorkflow", "returnToPreviousTask", "returnTaskTo"].indexOf(t2) && i2) {
1010
+ if ((s2 == null ? void 0 : s2.check) && -1 !== ["submitTask", "approve", "refuse", "agreement", "oppose", "kiken", "extractWorkflow", "cancelExtractWorkflow", "approveExtractWorkflow", "refuseExtractWorkflow", "returnToPreviousTask", "returnTaskTo"].indexOf(t2) && a2) {
1011
1011
  if (e2.workflowOpinion || (e2.workflowOpinion = { showOpinionBox: false }), (_b = (_a = s2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.showOpinionBox) {
1012
1012
  e2.workflowOpinion.showOpinionBox = true;
1013
1013
  const t4 = (_d = (_c = s2.props) == null ? void 0 : _c.base) == null ? void 0 : _d.showOpinionBoxConditions;
1014
- t4 && t4.length > 0 && (e2.workflowOpinion.showOpinionBox = M(e2, t4));
1014
+ t4 && t4.length > 0 && (e2.workflowOpinion.showOpinionBox = S(e2, t4));
1015
1015
  }
1016
1016
  let t3 = false;
1017
1017
  if ((_f = (_e2 = s2.props) == null ? void 0 : _e2.base) == null ? void 0 : _f.isMustOpinion) {
1018
1018
  if (t3 = true, true === t3) {
1019
1019
  const n3 = (_h = (_g = s2.props) == null ? void 0 : _g.base) == null ? void 0 : _h.mustOpinionConditions;
1020
- n3 && n3.length > 0 && (t3 = M(e2, n3));
1020
+ n3 && n3.length > 0 && (t3 = S(e2, n3));
1021
1021
  }
1022
1022
  e2.workflowOpinion.isRequired = t3, t3 && (e2.workflowOpinion.showOpinionBox = true);
1023
1023
  }
1024
1024
  }
1025
- return i2;
1025
+ return e2.workflowOpinion, a2;
1026
1026
  }
1027
1027
  function Ue(e2, t2, n2) {
1028
1028
  return !(!e2.processState || "EXTRACT" !== e2.processState || "WAIT_TRANSACT" !== e2.active);
@@ -1033,16 +1033,16 @@ function Ae(e2, t2) {
1033
1033
  });
1034
1034
  }
1035
1035
  function Ee(e2, n2, s2) {
1036
- const a2 = e2.pageType;
1037
- if (a2 && "form" === a2) {
1036
+ const i2 = e2.pageType;
1037
+ if (i2 && "form" === i2) {
1038
1038
  e2.canClick = false;
1039
1039
  return o(e2) ? function(e3, n3, o2) {
1040
- return new Promise((s3, a3) => {
1041
- const i2 = e3.systemCode, l2 = e3.code, u2 = e3.version, p2 = Te(e3);
1040
+ return new Promise((s3, i3) => {
1041
+ const a2 = e3.systemCode, l2 = e3.code, u2 = e3.version, p2 = Te(e3);
1042
1042
  let d2 = n3 || null, m2 = n3 ? [n3] : null;
1043
1043
  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);
1044
- const f2 = p2 ? p2.taskId : null, b2 = l2, C2 = { pageCode: l2, pageVersion: u2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, isWorkflowEntity: true, systemCode: i2, functionCode: b2 + ".workflowGets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
1045
- if ((!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1044
+ 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 };
1045
+ if (e3.listCodesMap, (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1046
1046
  const t2 = {};
1047
1047
  e3.tableUuids.forEach((e4) => {
1048
1048
  const n4 = r(l2, u2, e4);
@@ -1062,11 +1062,11 @@ function Ee(e2, n2, s2) {
1062
1062
  if (void 0 !== n5) for (let e6 = 0; e6 < n5.length; e6++) {
1063
1063
  const o3 = n5[e6].name;
1064
1064
  if (o3) if (0 === o3.indexOf("$") && o3.indexOf(".") > 0) {
1065
- const s4 = n5[e6], a4 = JSON.parse(JSON.stringify(s4)), i3 = o3.substring(1, o3.indexOf(".")), r2 = o3.substring(o3.indexOf(".") + 1);
1066
- if (a4.name = r2, a4 && "all_fields" === a4.name) false === a4.canEdit ? a4.rowIndexes ? t3.set(i3, [{ name: "all_fields", canEdit: false, rowIndexes: a4.rowIndexes }]) : t3.set(i3, [{ name: "all_fields", canEdit: false }]) : a4.rowIndexes ? t3.set(i3, [{ name: "all_fields", canEdit: true, rowIndexes: a4.rowIndexes }]) : t3.set(i3, [{ name: "all_fields", canEdit: true }]);
1065
+ const s4 = n5[e6], i4 = JSON.parse(JSON.stringify(s4)), a3 = o3.substring(1, o3.indexOf(".")), r2 = o3.substring(o3.indexOf(".") + 1);
1066
+ if (i4.name = r2, i4 && "all_fields" === i4.name) false === i4.canEdit ? i4.rowIndexes ? t3.set(a3, [{ name: "all_fields", canEdit: false, rowIndexes: i4.rowIndexes }]) : t3.set(a3, [{ name: "all_fields", canEdit: false }]) : i4.rowIndexes ? t3.set(a3, [{ name: "all_fields", canEdit: true, rowIndexes: i4.rowIndexes }]) : t3.set(a3, [{ name: "all_fields", canEdit: true }]);
1067
1067
  else {
1068
- let e7 = t3.get(i3);
1069
- e7 || (e7 = []), e7.push(a4), t3.set(i3, e7);
1068
+ let e7 = t3.get(a3);
1069
+ e7 || (e7 = []), e7.push(i4), t3.set(a3, e7);
1070
1070
  }
1071
1071
  } else t3.set(o3, n5[e6]);
1072
1072
  }
@@ -1075,8 +1075,8 @@ function Ee(e2, n2, s2) {
1075
1075
  const t3 = e5.fieldPermissionMap, n5 = /* @__PURE__ */ new Map(), o3 = e5.actionPermissions;
1076
1076
  if (null != o3) {
1077
1077
  Object.keys(o3).forEach((e6) => {
1078
- const s4 = o3[e6], a4 = t3.get(e6);
1079
- if (a4 && a4.length > 0 && "all_fields" === a4[0].name && false === a4[0].canEdit) s4.canUpdate = false, s4.canAdd = false;
1078
+ const s4 = o3[e6], i4 = t3.get(e6);
1079
+ if (i4 && i4.length > 0 && "all_fields" === i4[0].name && false === i4[0].canEdit) s4.canUpdate = false, s4.canAdd = false;
1080
1080
  else {
1081
1081
  s4 && 0 !== Object.keys(s4.deleteCondition).length || (s4.deleteCondition = null), s4 && 0 !== Object.keys(s4.updateCondition).length || (s4.updateCondition = null);
1082
1082
  const n6 = s4.canUpdate, o4 = s4.updateRowIndexes;
@@ -1089,16 +1089,16 @@ function Ee(e2, n2, s2) {
1089
1089
  }(e4);
1090
1090
  }(e3), e3.canClick = true, h(null, e3, e3, "afterFormLoadData"), T2.setFormPageDataLoadState(true), s3(t2);
1091
1091
  }).catch((t2) => {
1092
- e3.canClick = true, a3(t2);
1092
+ e3.canClick = true, i3(t2);
1093
1093
  });
1094
1094
  });
1095
1095
  }(e2, n2, s2) : function(e3, n3, o2) {
1096
- return new Promise((s3, a3) => {
1097
- const i2 = e3.systemCode, l2 = e3.code, u2 = e3.version, p2 = Te(e3);
1096
+ return new Promise((s3, i3) => {
1097
+ const a2 = e3.systemCode, l2 = e3.code, u2 = e3.version, p2 = Te(e3);
1098
1098
  let d2 = n3 || null, m2 = n3 ? [n3] : null;
1099
1099
  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);
1100
- 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: i2, functionCode: b2 + ".gets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
1101
- if (!w2.id && p2 && p2._t_ && g(p2._t_ + "_id") && (w2.id = g(p2._t_ + "_id")), m2 && (w2.ids = je(m2)), e3.notIdInitializationList && (w2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (w2.additionalParamMap = p2), e3.beanName && (w2.beanName = e3.beanName), f2 && (w2.taskId = f2), (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1100
+ 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 };
1101
+ if (!w2.id && p2 && p2._t_ && g(p2._t_ + "_id") && (w2.id = g(p2._t_ + "_id")), m2 && (w2.ids = je(m2)), e3.notIdInitializationList && (w2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (w2.additionalParamMap = p2), e3.beanName && (w2.beanName = e3.beanName), f2 && (w2.taskId = f2), e3.listCodesMap, (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1102
1102
  const t2 = {};
1103
1103
  e3.tableUuids.forEach((e4) => {
1104
1104
  const n4 = r(l2, u2, e4);
@@ -1111,10 +1111,10 @@ function Ee(e2, n2, s2) {
1111
1111
  const y2 = H(e3.code, w2.id);
1112
1112
  c.post(T2, w2).then(async (t2) => {
1113
1113
  t2 && (y2 && await _e(e3, w2.id, t2), e3.entity.data = t2.entity, e3.initFormNo = t2.formNo);
1114
- const n4 = e3.customRules, o3 = e3.rules, a4 = D(e3, n4, o3);
1115
- e3.rules = a4, e3.canClick = true, h(null, e3, e3, "afterFormLoadData"), k2.setFormPageDataLoadState(true), s3(t2);
1114
+ const n4 = e3.customRules, o3 = e3.rules, i4 = D(e3, n4, o3);
1115
+ e3.rules = i4, e3.canClick = true, h(null, e3, e3, "afterFormLoadData"), k2.setFormPageDataLoadState(true), s3(t2);
1116
1116
  }).catch((t2) => {
1117
- e3.canClick = true, a3(t2);
1117
+ e3.canClick = true, i3(t2);
1118
1118
  });
1119
1119
  });
1120
1120
  }(e2, n2, s2);
@@ -1142,8 +1142,8 @@ function De(e2) {
1142
1142
  return null;
1143
1143
  }
1144
1144
  function We(e2, t2) {
1145
- const n2 = e2.entity ? e2.entity : {}, o2 = { data: n2.data, page: n2.page }, s2 = { pageCode: e2.code, queryCondition: JSON.stringify(o2), name: t2 }, a2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition";
1146
- return c.post(a2, s2);
1145
+ 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";
1146
+ return c.post(i2, s2);
1147
1147
  }
1148
1148
  function Be(e2) {
1149
1149
  const t2 = e2.code, n2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/list/" + t2;
@@ -1160,9 +1160,9 @@ function Ve(e2, n2, o2) {
1160
1160
  e2.lastFileTask && !e2.noticeComponent ? e2.noticeComponent = d({ title: l().t("superPageRuntimeMessage.logTip"), duration: 0, position: "top-right", type: "success", onClose() {
1161
1161
  "Success" === e2.lastFileTask.taskState || "Fail" === e2.lastFileTask.taskState || "PartSuccess" === e2.lastFileTask.taskState ? He(n2, o2, e2.lastFileTask.id, e2) : (e2.noticeComponent = null, null == e2.noticeInterval && $e(e2, n2, o2));
1162
1162
  }, message: () => F(V, { isShow: true, backendUrl: n2, lastFileTask: e2.lastFileTask, onClickMsg(s2) {
1163
- s2.serverPath ? function(e3, n3, o3, s3, a2, i2) {
1164
- He(a2, i2, o3, s3);
1165
- const r2 = f(), c2 = t(a2), l2 = c2 + "/common/super-form/downloads?jwt=" + r2 + "&showName=" + encodeURI(e3) + "&serverPath=" + n3;
1163
+ s2.serverPath ? function(e3, n3, o3, s3, i2, a2) {
1164
+ He(i2, a2, o3, s3);
1165
+ const r2 = f(), c2 = t(i2), l2 = c2 + "/common/super-form/downloads?jwt=" + r2 + "&showName=" + encodeURI(e3) + "&serverPath=" + n3;
1166
1166
  window.open(l2);
1167
1167
  }(s2.fileName, s2.serverPath, s2.id, e2, n2, o2) : He(n2, o2, s2.id, e2), e2.noticeComponent.close(), e2.noticeComponent = null;
1168
1168
  } }) }) : (null != e2.noticeComponent && (e2.noticeComponent.close(), e2.noticeComponent = null), e2.noticeInterval && (clearInterval(e2.noticeInterval), e2.noticeInterval = null));
@@ -1198,15 +1198,15 @@ export {
1198
1198
  ye as doCreateCopyTask,
1199
1199
  Fe as doFileTaskFunc,
1200
1200
  ue as doImportFinally,
1201
- Se as doRemoveSigners,
1202
- xe as doRemoveTransactors,
1201
+ xe as doRemoveSigners,
1202
+ Me as doRemoveTransactors,
1203
1203
  ve as doReturnTaskTo,
1204
1204
  K as exportFormReport,
1205
1205
  Ne as extractWorkflowFunc,
1206
1206
  Te as getAdditionalParamMap,
1207
1207
  Ee as getFormData,
1208
1208
  Re as getRemoveSigner,
1209
- Me as getRemoveTransactor,
1209
+ Se as getRemoveTransactor,
1210
1210
  te as getSaveFormRequest,
1211
1211
  ee as getSaveFormRequestWithRow,
1212
1212
  Ie as getTaskInformitions,
@@ -1217,5 +1217,5 @@ export {
1217
1217
  Ae as refreshPage,
1218
1218
  We as saveChartConditionBase,
1219
1219
  Y as standardEvents,
1220
- ie as updateValuesWhenCloseDialog
1220
+ ae as updateValuesWhenCloseDialog
1221
1221
  };