super-page-runtime 2.3.51-sit2 → 2.3.51

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 (66) 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 +121 -121
  3. package/dist/es/components/runtime/utils/events/print-label.js +34 -33
  4. package/dist/es/components/runtime/utils/events/standard-event.js +11 -11
  5. package/dist/es/components/runtime/utils/events/validator-util.js +209 -206
  6. package/dist/es/components/runtime/utils/page-init-util.js +47 -45
  7. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  8. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +3 -3
  9. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +3 -3
  10. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -3
  11. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +1 -1
  12. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +3 -3
  13. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  14. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +10 -6
  15. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +8 -6
  16. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +1 -1
  17. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +8 -8
  18. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
  19. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  20. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  21. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  22. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +104 -99
  23. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +3 -2
  24. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
  25. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +11 -9
  26. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
  27. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
  28. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +3 -3
  29. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +3 -3
  30. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +2 -0
  31. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +3 -3
  32. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +3 -3
  33. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +5 -5
  34. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
  35. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +11 -9
  36. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +1 -1
  37. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +1 -1
  38. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +16 -16
  39. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +3 -3
  40. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +3 -3
  41. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +6 -6
  42. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +28 -28
  43. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +3 -3
  44. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -3
  45. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +8 -6
  46. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue2.js +6 -5
  47. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +3 -3
  48. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +46 -45
  49. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +4 -3
  50. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +9 -7
  51. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +8 -8
  52. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +1 -1
  53. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +9 -8
  54. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +1 -1
  55. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +3 -3
  56. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +11 -11
  57. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +3 -3
  58. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +3 -3
  59. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +11 -9
  60. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +2 -2
  61. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +3 -3
  62. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +1 -1
  63. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  64. package/dist/es/components/runtime/views/super-page-dialog.vue.js +7 -6
  65. package/dist/es/components/runtime/views/super-page.vue2.js +99 -98
  66. package/package.json +75 -75
@@ -1,5 +1,5 @@
1
1
  import { isMobileBrowser as e, isPromise as n } from "agilebuilder-ui/src/utils/common-util";
2
- import { getAdditionalParamMap as t, standardEvents as i, judgeDataNumber as o, checkAndTipFileUploading as r, dealAfterOperate as u } from "./standard-event.js";
2
+ import { getAdditionalParamMap as t, standardEvents as o, judgeDataNumber as i, checkAndTipFileUploading as r, dealAfterOperate as u } from "./standard-event.js";
3
3
  import { isNotNeedValidateRequired as c, validateDataModelFunc as l } from "./validator-util.js";
4
4
  import { getComponentRef as a, getComponentRefByCode as s } from "../global-refs.js";
5
5
  import { ElMessage as f } from "element-plus";
@@ -24,7 +24,7 @@ function j(e2, n2) {
24
24
  n3[e4.eventName] = t3;
25
25
  } catch (n4) {
26
26
  const t4 = `自定义方法${e4.eventName}解析失败,请检查函数体是否正确`;
27
- f.error(t4);
27
+ console.error(t4, n4), f.error(t4);
28
28
  }
29
29
  } else {
30
30
  let t3 = e4.componentUuid + "_";
@@ -33,7 +33,7 @@ function j(e2, n2) {
33
33
  n3[t3] = new Function("params", e4.jsContent);
34
34
  } catch (n4) {
35
35
  let t4 = "";
36
- e4.title && (t4 += e4.title + "的"), e4.label && (t4 += e4.label), t4 += "事件解析失败,请检查事件函数体是否正确", f.error(t4);
36
+ e4.title && (t4 += e4.title + "的"), e4.label && (t4 += e4.label), t4 += "事件解析失败,请检查事件函数体是否正确", f.error(t4), console.error(t4, n4);
37
37
  }
38
38
  }
39
39
  }), n3;
@@ -81,92 +81,92 @@ function h(e2) {
81
81
  });
82
82
  }
83
83
  }
84
- function y(e2, n2, t2, i2, o2) {
85
- return P(e2, n2, t2, i2, true, o2, false);
84
+ function y(e2, n2, t2, o2, i2) {
85
+ return P(e2, n2, t2, o2, true, i2, false);
86
86
  }
87
- function E(e2, n2, t2, i2, o2) {
87
+ function E(e2, n2, t2, o2, i2) {
88
88
  var _a, _b;
89
- if (i2 && "change" === i2) {
89
+ if (o2 && "change" === o2) {
90
90
  const e3 = n2.subTableWatchProps;
91
91
  if (e3) for (const n3 in e3) {
92
- const i3 = e3[n3], o3 = (_b = (_a = t2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.prop;
93
- i3 && i3.indexOf(o3) >= 0 && d.$emit("_refreshSubTable_" + n3, { propName: o3 });
92
+ const o3 = e3[n3], i3 = (_b = (_a = t2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.prop;
93
+ o3 && o3.indexOf(i3) >= 0 && d.$emit("_refreshSubTable_" + n3, { propName: i3 });
94
94
  }
95
95
  }
96
- return P(e2, n2, t2, i2, true, o2, true);
96
+ return P(e2, n2, t2, o2, true, i2, true);
97
97
  }
98
- function N(e2, n2, t2, i2) {
99
- return E(e2, n2, t2, "afterInit", i2);
98
+ function N(e2, n2, t2, o2) {
99
+ return E(e2, n2, t2, "afterInit", o2);
100
100
  }
101
- function w(e2, n2, t2, i2, o2) {
102
- return P(e2, n2, t2, i2, false, o2, false);
101
+ function w(e2, n2, t2, o2, i2) {
102
+ return P(e2, n2, t2, o2, false, i2, false);
103
103
  }
104
- function P(e2, t2, i2, u2, c2, l2, a2) {
105
- const s2 = i2 && i2.runtime && i2.runtime.events ? i2.runtime.events : [];
104
+ function P(e2, t2, o2, u2, c2, l2, a2) {
105
+ const s2 = o2 && o2.runtime && o2.runtime.events ? o2.runtime.events : [];
106
106
  let f2;
107
107
  if (a2 || !function(e3) {
108
108
  return e3 && S.indexOf(e3) >= 0;
109
109
  }(u2)) {
110
110
  if (f2 = B(t2, s2, u2), c2) {
111
- return G(t2, i2, f2, T(t2, i2, e2, l2));
111
+ return G(t2, o2, f2, T(t2, o2, e2, l2));
112
112
  }
113
113
  return f2;
114
114
  }
115
- !function(e3, t3, i3) {
116
- const u3 = o(t3, i3.ids);
115
+ !function(e3, t3, o3) {
116
+ const u3 = i(t3, o3.ids);
117
117
  if (!u3) return;
118
118
  if (void 0 !== e3.canClick && false === e3.canClick) return;
119
119
  if (r(e3)) return;
120
- Q(i3).then((o2) => {
121
- if (true === o2.canExecute) {
120
+ Q(o3).then((i2) => {
121
+ if (true === i2.canExecute) {
122
122
  e3.clickUuid = t3.uuid, e3.canClick = false;
123
- const o3 = t3.runtime && t3.runtime.events ? t3.runtime.events : [], r2 = B(e3, o3, "beforeValidateForm");
123
+ const i3 = t3.runtime && t3.runtime.events ? t3.runtime.events : [], r2 = B(e3, i3, "beforeValidateForm");
124
124
  let u4;
125
- if (r2 && (u4 = G(e3, t3, r2, i3)), void 0 === u4 && (u4 = true), !u4) return void (e3.canClick = true);
125
+ if (r2 && (u4 = G(e3, t3, r2, o3)), void 0 === u4 && (u4 = true), !u4) return void (e3.canClick = true);
126
126
  n(u4) ? u4.then((n2) => {
127
- n2 && true === n2 ? U(e3, t3, i3) : e3.canClick = true;
127
+ n2 && true === n2 ? U(e3, t3, o3) : e3.canClick = true;
128
128
  }).catch((n2) => {
129
129
  e3.canClick = true;
130
- }) : U(e3, t3, i3);
130
+ }) : U(e3, t3, o3);
131
131
  }
132
132
  });
133
- }(t2, i2, L(e2, t2, i2, l2));
133
+ }(t2, o2, L(e2, t2, o2, l2));
134
134
  }
135
135
  const S = ["click", "suffixClick", "prefixClick", "menuClick"];
136
136
  function R(e2, n2) {
137
137
  return n2.props.base.tableUuid ? n2.props.base.tableUuid : e2.tableUuids && e2.tableUuids.length > 0 ? e2.tableUuids[0] : null;
138
138
  }
139
- function T(e2, n2, t2, i2) {
140
- const o2 = {};
141
- if (i2) for (const e3 in i2) o2[e3] = i2[e3];
142
- return null != t2 && (o2._value = t2), e2 && (o2.pageContext = e2), n2 && (o2.configureObj = n2), o2;
139
+ function T(e2, n2, t2, o2) {
140
+ const i2 = {};
141
+ if (o2) for (const e3 in o2) i2[e3] = o2[e3];
142
+ return null != t2 && (i2._value = t2), e2 && (i2.pageContext = e2), n2 && (i2.configureObj = n2), i2;
143
143
  }
144
- function U(e2, t2, i2) {
145
- const o2 = t2.runtime && t2.runtime.events ? t2.runtime.events : [];
144
+ function U(e2, t2, o2) {
145
+ const i2 = t2.runtime && t2.runtime.events ? t2.runtime.events : [];
146
146
  let r2 = true;
147
- (i2 == null ? void 0 : i2.skipValidate) && (r2 = false);
148
- const u2 = z(e2, o2, "click");
147
+ (o2 == null ? void 0 : o2.skipValidate) && (r2 = false);
148
+ const u2 = z(e2, i2, "click");
149
149
  if (u2) {
150
150
  const e3 = u2.isStandard, n2 = u2.event;
151
151
  c(e3, n2) && (r2 = false);
152
152
  }
153
- l(e2, t2, u2, r2).then((o3) => {
154
- if (!o3) return void (e2.canClick = true);
155
- const r3 = D(e2, t2, i2);
153
+ l(e2, t2, u2, r2).then((i3) => {
154
+ if (!i3) return void (e2.canClick = true);
155
+ const r3 = D(e2, t2, o2);
156
156
  r3 ? n(r3) ? r3.then((n2) => {
157
- n2 ? q(e2, t2, u2, i2) : e2.canClick = true;
157
+ n2 ? q(e2, t2, u2, o2) : e2.canClick = true;
158
158
  }).catch((n2) => {
159
- e2.canClick = true;
160
- }) : q(e2, t2, u2, i2) : e2.canClick = true;
159
+ console.error(n2), e2.canClick = true;
160
+ }) : q(e2, t2, u2, o2) : e2.canClick = true;
161
161
  }).catch((n2) => {
162
- e2.canClick = true;
162
+ console.error(n2), e2.canClick = true;
163
163
  });
164
164
  }
165
- function F(e2, n2, t2, i2, o2) {
165
+ function F(e2, n2, t2, o2, i2) {
166
166
  var _a, _b, _c, _d, _e;
167
167
  const r2 = ((_b = (_a = t2 == null ? void 0 : t2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.state) ?? ((_d = (_c = t2 == null ? void 0 : t2.props) == null ? void 0 : _c.base) == null ? void 0 : _d.state) ?? ((_e = t2 == null ? void 0 : t2.props) == null ? void 0 : _e.state);
168
168
  if ("disabled" === r2 || "readonly" === r2) return;
169
- const u2 = L(e2, n2, t2, o2), c2 = z(n2, t2.runtime && t2.runtime.events ? t2.runtime.events : [], i2);
169
+ const u2 = L(e2, n2, t2, i2), c2 = z(n2, t2.runtime && t2.runtime.events ? t2.runtime.events : [], o2);
170
170
  q(n2, function(e3) {
171
171
  const n3 = e3 && e3.props ? e3.props.suffixLinkPage : null;
172
172
  if (!function(e4) {
@@ -177,68 +177,68 @@ function F(e2, n2, t2, i2, o2) {
177
177
  return { ...e3, props: { ...e3.props, linkPage: n3 } };
178
178
  }(t2), c2, u2);
179
179
  }
180
- function L(e2, n2, t2, i2) {
181
- const o2 = n2.code, r2 = n2.version, u2 = R(n2, t2);
180
+ function L(e2, n2, t2, o2) {
181
+ const i2 = n2.code, r2 = n2.version, u2 = R(n2, t2);
182
182
  if (u2) {
183
183
  const e3 = a(n2, u2), t3 = e3 ? e3.getSelections() : null, c2 = e3 ? e3.getSelectionIds() : null;
184
- i2 || (i2 = {}), i2.tableUuid = u2, i2.listCode = p(o2, r2, u2);
185
- A(n2) && (i2.selections = t3, i2.id = c2 && c2.length > 0 ? c2[0] : null, i2.ids = c2);
184
+ o2 || (o2 = {}), o2.tableUuid = u2, o2.listCode = p(i2, r2, u2);
185
+ A(n2) && (o2.selections = t3, o2.id = c2 && c2.length > 0 ? c2[0] : null, o2.ids = c2);
186
186
  const l2 = e3 ? e3.getTableConfigure() : null;
187
- i2.tableConfigure = l2;
187
+ o2.tableConfigure = l2;
188
188
  }
189
- return T(n2, t2, e2, i2);
189
+ return T(n2, t2, e2, o2);
190
190
  }
191
191
  function D(e2, n2, t2) {
192
- const i2 = B(e2, n2.runtime && n2.runtime.events ? n2.runtime.events : [], "beforeClick");
193
- let o2;
194
- return i2 && (o2 = G(e2, n2, i2, null, t2)), void 0 === o2 || o2;
192
+ const o2 = B(e2, n2.runtime && n2.runtime.events ? n2.runtime.events : [], "beforeClick");
193
+ let i2;
194
+ return o2 && (i2 = G(e2, n2, o2, null, t2)), void 0 === i2 || i2;
195
195
  }
196
196
  function _(e2, n2, t2) {
197
- const i2 = e2.code + "_";
198
- d.$emit(i2 + "open-dialog", { pageContext: e2, configureObj: n2, eventParams: t2 });
197
+ const o2 = e2.code + "_";
198
+ d.$emit(o2 + "open-dialog", { pageContext: e2, configureObj: n2, eventParams: t2 });
199
199
  }
200
200
  function A(e2, n2) {
201
201
  return !(!e2.pageType || "list" !== e2.pageType);
202
202
  }
203
- function I(e2, t2, i2) {
204
- const o2 = t2.runtime && t2.runtime.events ? t2.runtime.events : [], r2 = B(e2, o2, "afterClick");
203
+ function I(e2, t2, o2) {
204
+ const i2 = t2.runtime && t2.runtime.events ? t2.runtime.events : [], r2 = B(e2, i2, "afterClick");
205
205
  if (r2) {
206
- const o3 = G(e2, t2, r2, null, i2);
207
- n(o3) ? o3.finally(() => {
206
+ const i3 = G(e2, t2, r2, null, o2);
207
+ n(i3) ? i3.finally(() => {
208
208
  e2.canClick = true;
209
209
  }) : e2.canClick = true;
210
210
  } else e2.canClick = true;
211
211
  }
212
- function V(e2, n2, t2, i2, o2, r2) {
213
- i2 ? (e2.result = o2, e2.canClick = true) : u(e2, n2, o2, "", r2);
212
+ function V(e2, n2, t2, o2, i2, r2) {
213
+ o2 ? (e2.result = i2, e2.canClick = true) : u(e2, n2, i2, "", r2);
214
214
  const c2 = B(e2, n2.runtime && n2.runtime.events ? n2.runtime.events : [], "afterClick");
215
215
  c2 && G(e2, n2, c2, t2);
216
216
  }
217
- function q(e2, t2, i2, o2) {
217
+ function q(e2, t2, o2, i2) {
218
218
  let r2 = t2, u2 = t2.props.linkPage;
219
219
  if (u2 && u2 instanceof Array) {
220
220
  const n2 = function(e3) {
221
221
  let n3 = e3 ? e3.row : null;
222
222
  n3 || (n3 = e3 && e3.selections && e3.selections.length > 0 ? e3.selections[0] : null);
223
223
  return n3;
224
- }(o2), i3 = v(e2, t2, u2, n2);
224
+ }(i2), o3 = v(e2, t2, u2, n2);
225
225
  let c2, l2 = false;
226
- i3 && (l2 = i3.show, c2 = l2 ? i3.toPage : null), u2 = c2 ? c2.linkPage : null, u2 && (r2 = m(t2), r2.props.linkPage = u2);
226
+ o3 && (l2 = o3.show, c2 = l2 ? o3.toPage : null), u2 = c2 ? c2.linkPage : null, u2 && (r2 = m(t2), r2.props.linkPage = u2);
227
227
  }
228
- u2 && u2.jumpPageUrl ? (e2.canClick = true, _(e2, r2, o2)) : function(e3, t3, i3, o3) {
229
- const r3 = i3, u3 = A(e3);
228
+ u2 && u2.jumpPageUrl ? (e2.canClick = true, _(e2, r2, i2)) : function(e3, t3, o3, i3) {
229
+ const r3 = o3, u3 = A(e3);
230
230
  if (r3) {
231
- const i4 = r3.func, c2 = r3.isStandard, l2 = r3.event, a2 = G(e3, t3, i4, o3);
231
+ const o4 = r3.func, c2 = r3.isStandard, l2 = r3.event, a2 = G(e3, t3, o4, i3);
232
232
  if (function(e4, n2) {
233
233
  return e4 && ("exportForm" === n2.eventName || "exportPDF" === n2.eventName || "import" === n2.eventName || "assign" === n2.eventName || "copyTask" === n2.eventName || "addSigner" === n2.eventName || "returnTaskTo" === n2.eventName || "removeSigner" === n2.eventName || "saveQueryCharts" === n2.eventName || "addTransactor" === n2.eventName || "removeTransactor" === n2.eventName);
234
234
  }(c2, l2)) return void (e3.canClick = true);
235
235
  n(a2) ? a2.then((n2) => {
236
- n2 ? V(e3, t3, o3, c2, n2, u3) : e3.canClick = true;
236
+ n2 ? V(e3, t3, i3, c2, n2, u3) : e3.canClick = true;
237
237
  }).catch((n2) => {
238
- e3.canClick = true;
239
- }) : V(e3, t3, o3, c2, a2, u3);
240
- } else V(e3, t3, o3, false, null, u3);
241
- }(e2, t2, i2, o2);
238
+ console.error(n2), e3.canClick = true;
239
+ }) : V(e3, t3, i3, c2, a2, u3);
240
+ } else V(e3, t3, i3, false, null, u3);
241
+ }(e2, t2, o2, i2);
242
242
  }
243
243
  function $(e2, n2) {
244
244
  const t2 = e2.customEvents;
@@ -249,10 +249,10 @@ function $(e2, n2) {
249
249
  }
250
250
  function B(e2, n2, t2) {
251
251
  if (n2 && t2) {
252
- const o2 = n2.filter((e3) => e3.name === t2);
253
- if (o2 && o2.length > 0) {
254
- const n3 = o2[0];
255
- return n3.isStandard ? i[n3.eventName] : $(e2, n3);
252
+ const i2 = n2.filter((e3) => e3.name === t2);
253
+ if (i2 && i2.length > 0) {
254
+ const n3 = i2[0];
255
+ return n3.isStandard ? o[n3.eventName] : $(e2, n3);
256
256
  }
257
257
  }
258
258
  }
@@ -266,49 +266,49 @@ function H(e2, n2) {
266
266
  }
267
267
  function z(e2, n2, t2) {
268
268
  if (n2 && t2) {
269
- const o2 = n2.filter((e3) => e3.name === t2);
270
- if (o2 && o2.length > 0) {
271
- const n3 = o2[0];
272
- return n3.isStandard ? { func: i[n3.eventName], isStandard: true, event: n3 } : { func: $(e2, n3), isStandard: false, event: n3 };
269
+ const i2 = n2.filter((e3) => e3.name === t2);
270
+ if (i2 && i2.length > 0) {
271
+ const n3 = i2[0];
272
+ return n3.isStandard ? { func: o[n3.eventName], isStandard: true, event: n3 } : { func: $(e2, n3), isStandard: false, event: n3 };
273
273
  }
274
274
  }
275
275
  }
276
- function G(e2, n2, t2, i2, o2) {
276
+ function G(e2, n2, t2, o2, i2) {
277
277
  if (t2) {
278
- if (i2 || (i2 = { pageContext: e2, configureObj: n2 }), o2 && i2) for (const e3 in o2) i2[e3] = o2[e3];
278
+ if (o2 || (o2 = { pageContext: e2, configureObj: n2 }), i2 && o2) for (const e3 in i2) o2[e3] = i2[e3];
279
279
  try {
280
- return t2.apply(t2, [i2]);
280
+ return t2.apply(t2, [o2]);
281
281
  } catch (e3) {
282
- throw function(e4) {
282
+ throw function(e4, n3) {
283
283
  var _a, _b, _c, _d;
284
- let n3 = "";
285
- const t3 = (e4 == null ? void 0 : e4.title) || ((_b = (_a = e4 == null ? void 0 : e4.props) == null ? void 0 : _a.base) == null ? void 0 : _b.title), i3 = (e4 == null ? void 0 : e4.label) || ((_d = (_c = e4 == null ? void 0 : e4.props) == null ? void 0 : _c.base) == null ? void 0 : _d.label);
286
- t3 && (n3 += t3 + "的");
287
- i3 && (n3 += i3);
288
- n3 += "事件执行失败,请检查事件函数体是否正确", f.error(n3);
289
- }(n2), e3;
284
+ let t3 = "";
285
+ const o3 = (e4 == null ? void 0 : e4.title) || ((_b = (_a = e4 == null ? void 0 : e4.props) == null ? void 0 : _a.base) == null ? void 0 : _b.title), i3 = (e4 == null ? void 0 : e4.label) || ((_d = (_c = e4 == null ? void 0 : e4.props) == null ? void 0 : _c.base) == null ? void 0 : _d.label);
286
+ o3 && (t3 += o3 + "的");
287
+ i3 && (t3 += i3);
288
+ t3 += "事件执行失败,请检查事件函数体是否正确", f.error(t3), console.error(t3, n3);
289
+ }(n2, e3), e3;
290
290
  }
291
291
  }
292
292
  }
293
293
  function Q(e2) {
294
- const n2 = e2.pageContext, i2 = e2.configureObj, o2 = A(n2);
294
+ const n2 = e2.pageContext, o2 = e2.configureObj, i2 = A(n2);
295
295
  let r2 = [];
296
- if (o2) n2.editData ? r2.push(n2.editData) : r2 = e2.selections;
296
+ if (i2) n2.editData ? r2.push(n2.editData) : r2 = e2.selections;
297
297
  else {
298
298
  const e3 = n2.entity.data;
299
299
  r2.push(e3);
300
300
  }
301
- const u2 = i2.props.base.condition;
302
- return new Promise((e3, i3) => {
301
+ const u2 = o2.props.base.condition;
302
+ return new Promise((e3, o3) => {
303
303
  if (null == u2 || "" === u2 || null == r2 || 0 === r2.length) e3({ canExecute: true });
304
304
  else {
305
- const i4 = n2.entity.context, o3 = t(n2), c2 = true, l2 = n2.tableName;
305
+ const o4 = n2.entity.context, i3 = t(n2), c2 = true, l2 = n2.tableName;
306
306
  let a2, s2, p2 = true;
307
307
  for (let e4 = 0; e4 < r2.length; e4++) {
308
308
  const t2 = r2[e4];
309
309
  for (let e5 = 0; e5 < u2.length; e5++) {
310
310
  const r3 = u2[e5], f2 = r3.toolTips, m2 = r3.conditionList;
311
- if (!g(m2, t2, o3, i4, c2, l2, null, n2)) {
311
+ if (!g(m2, t2, i3, o4, c2, l2, null, n2)) {
312
312
  p2 = false, a2 = f2, s2 = t2;
313
313
  break;
314
314
  }
@@ -318,35 +318,35 @@ function Q(e2) {
318
318
  }
319
319
  });
320
320
  }
321
- function W(e2, n2, t2, i2) {
322
- var o2;
323
- n2 && (J("afterGridConfigInit", w(null, (o2 = { pageContext: t2, configureObj: i2 }).pageContext, o2.configureObj, "afterGridConfigInit", o2), e2), J("loadBeforeSend", function(e3) {
321
+ function W(e2, n2, t2, o2) {
322
+ var i2;
323
+ n2 && (J("afterGridConfigInit", w(null, (i2 = { pageContext: t2, configureObj: o2 }).pageContext, i2.configureObj, "afterGridConfigInit", i2), e2), J("loadBeforeSend", function(e3) {
324
324
  return w(null, e3.pageContext, e3.configureObj, "beforeListLoad", e3);
325
- }({ pageContext: t2, configureObj: i2 }), e2), J("beforeRequest", function(e3) {
325
+ }({ pageContext: t2, configureObj: o2 }), e2), J("beforeRequest", function(e3) {
326
326
  return w(null, e3.pageContext, e3.configureObj, "beforeRequest", e3);
327
- }({ pageContext: t2, configureObj: i2 }), e2), J("gridDataLoaded", function(e3) {
327
+ }({ pageContext: t2, configureObj: o2 }), e2), J("gridDataLoaded", function(e3) {
328
328
  return w(null, e3.pageContext, e3.configureObj, "onListLoad", e3);
329
- }({ pageContext: t2, configureObj: i2 }), e2), J("gridComplete", function(e3) {
329
+ }({ pageContext: t2, configureObj: o2 }), e2), J("gridComplete", function(e3) {
330
330
  return w(null, e3.pageContext, e3.configureObj, "afterListLoad", e3);
331
- }({ pageContext: t2, configureObj: i2 }), e2), J("resizeHeight", function(e3) {
331
+ }({ pageContext: t2, configureObj: o2 }), e2), J("resizeHeight", function(e3) {
332
332
  return w(null, e3.pageContext, e3.configureObj, "resizeTableHeight", e3);
333
- }({ pageContext: t2, configureObj: i2 }), e2), e2.lineEditOptions || (e2.lineEditOptions = {}), J("beforeInsertRow", function(e3) {
333
+ }({ pageContext: t2, configureObj: o2 }), e2), e2.lineEditOptions || (e2.lineEditOptions = {}), J("beforeInsertRow", function(e3) {
334
334
  return w(null, e3.pageContext, e3.configureObj, "beforeAddRow", e3);
335
- }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), J("afterInsertRow", function(e3) {
335
+ }({ pageContext: t2, configureObj: o2 }), e2.lineEditOptions), J("afterInsertRow", function(e3) {
336
336
  return w(null, e3.pageContext, e3.configureObj, "afterAddRow", e3);
337
- }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), J("beforeDelete", function(e3) {
337
+ }({ pageContext: t2, configureObj: o2 }), e2.lineEditOptions), J("beforeDelete", function(e3) {
338
338
  return w(null, e3.pageContext, e3.configureObj, "beforeRemoveRow", e3);
339
- }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), J("afterDelete", function(e3) {
339
+ }({ pageContext: t2, configureObj: o2 }), e2.lineEditOptions), J("afterDelete", function(e3) {
340
340
  return w(null, e3.pageContext, e3.configureObj, "afterRemoveRow", e3);
341
- }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), J("beforeEdit", function(e3) {
341
+ }({ pageContext: t2, configureObj: o2 }), e2.lineEditOptions), J("beforeEdit", function(e3) {
342
342
  return w(null, e3.pageContext, e3.configureObj, "beforeEdit", e3);
343
- }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), J("beforeRestore", function(e3) {
343
+ }({ pageContext: t2, configureObj: o2 }), e2.lineEditOptions), J("beforeRestore", function(e3) {
344
344
  return w(null, e3.pageContext, e3.configureObj, "beforeRestore", e3);
345
- }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), J("beforeRestoreValidate", function(e3) {
345
+ }({ pageContext: t2, configureObj: o2 }), e2.lineEditOptions), J("beforeRestoreValidate", function(e3) {
346
346
  return w(null, e3.pageContext, e3.configureObj, "beforeRestoreValidate", e3);
347
- }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), function(e3, n3, t3) {
347
+ }({ pageContext: t2, configureObj: o2 }), e2.lineEditOptions), function(e3, n3, t3) {
348
348
  n3 && (t3[e3] = n3);
349
- }("filterDataEvent", w(null, t2, i2, "filter-data", { pageContext: t2, configureObj: i2 }), e2));
349
+ }("filterDataEvent", w(null, t2, o2, "filter-data", { pageContext: t2, configureObj: o2 }), e2));
350
350
  }
351
351
  function J(e2, n2, t2) {
352
352
  n2 && (t2[e2] = n2);
@@ -375,10 +375,10 @@ function ne(e2, n2, t2) {
375
375
  function te(e2, n2, t2) {
376
376
  return y(null, e2, n2, "header-click", t2);
377
377
  }
378
- function ie(e2) {
378
+ function oe(e2) {
379
379
  return y(null, e2.pageContext, e2.configureObj, "before-upload", e2);
380
380
  }
381
- function oe(e2, n2, t2) {
381
+ function ie(e2, n2, t2) {
382
382
  return y(null, e2, n2, "uploaded", t2);
383
383
  }
384
384
  function re(e2, n2, t2) {
@@ -398,19 +398,19 @@ function ce(n2) {
398
398
  }
399
399
  return t2;
400
400
  }
401
- function le(e2, n2, t2, i2, o2) {
402
- return G(e2, n2, B(e2, n2 && n2.runtime && n2.runtime.events ? n2.runtime.events : [], t2), { configure: n2, pageContext: e2, chartOption: i2, ...o2 });
401
+ function le(e2, n2, t2, o2, i2) {
402
+ return G(e2, n2, B(e2, n2 && n2.runtime && n2.runtime.events ? n2.runtime.events : [], t2), { configure: n2, pageContext: e2, chartOption: o2, ...i2 });
403
403
  }
404
404
  function ae(n2, t2) {
405
- let i2 = true;
405
+ let o2 = true;
406
406
  if (e()) {
407
407
  const e2 = z(n2, t2 && t2.runtime && t2.runtime.events ? t2.runtime.events : [], "click");
408
408
  if (e2) {
409
- const n3 = e2.isStandard, t3 = e2.event, o2 = navigator ? navigator.userAgent : null;
410
- n3 && o2 && (o2.indexOf("Html5Plus") > 0 ? (C.includes(t3.eventName) || x.includes(t3.eventName)) && (i2 = false) : x.includes(t3.eventName) && (i2 = false));
409
+ const n3 = e2.isStandard, t3 = e2.event, i2 = navigator ? navigator.userAgent : null;
410
+ n3 && i2 && (i2.indexOf("Html5Plus") > 0 ? (C.includes(t3.eventName) || x.includes(t3.eventName)) && (o2 = false) : x.includes(t3.eventName) && (o2 = false));
411
411
  }
412
412
  }
413
- return i2;
413
+ return o2;
414
414
  }
415
415
  export {
416
416
  O as appendDefaultMethods,
@@ -422,9 +422,9 @@ export {
422
422
  _ as doClickJumpPageEvent,
423
423
  F as doSuffixOrPrefixClickEvent,
424
424
  re as fileUploadBeforeDelete,
425
- ie as fileUploadBeforeUpload,
425
+ oe as fileUploadBeforeUpload,
426
426
  ue as fileUploadDeleted,
427
- oe as fileUploadUploaded,
427
+ ie as fileUploadUploaded,
428
428
  z as getClickEventFuncByType,
429
429
  k as getCustomFunc,
430
430
  L as getDefaultEventParams,
@@ -3,26 +3,27 @@ import { hiprint as t, disAutoConnect as n } from "vue-plugin-hiprint";
3
3
  import { generateCodeByRule as o } from "../barcode-util.js";
4
4
  function a(n2, a2) {
5
5
  e.post(window.$vueApp.config.globalProperties.baseAPI + "/component/print-models/by-codes", [a2]).then((e2) => {
6
- const a3 = JSON.parse(e2[0].template), i2 = [];
6
+ const a3 = JSON.parse(e2[0].template), r2 = [];
7
7
  a3.panels.forEach((e3) => {
8
8
  e3.printElements.forEach((e4) => {
9
- "barcode" !== e4.options.textType && "qrcode" !== e4.options.textType || i2.push(e4.options);
9
+ "barcode" !== e4.options.textType && "qrcode" !== e4.options.textType || r2.push(e4.options);
10
10
  });
11
11
  });
12
- const l = new t.PrintTemplate({ template: a3 }), r = { callback: () => {
12
+ const i = new t.PrintTemplate({ template: a3 }), l = { callback: () => {
13
13
  }, styleHandler: () => "" }, c = { leftOffset: -1, topOffset: -1 }, f = {};
14
14
  a3.panels[0].printElements.forEach((e3) => {
15
15
  if ("datetime" === e3.options.dataType && e3.options.field) {
16
16
  const t2 = e3.options.field.substring(6);
17
17
  f[t2] = e3.options.dateFormat;
18
18
  }
19
- }), n2.pageContext.pageType ? "list" === n2.pageContext.pageType ? function(e3, t2, n3, a4, p2, i3) {
20
- const l2 = JSON.parse(JSON.stringify(e3.selections));
21
- if (l2.forEach((e4) => {
19
+ }), n2.pageContext.pageType ? "list" === n2.pageContext.pageType ? function(e3, t2, n3, a4, s2, r3) {
20
+ const i2 = JSON.parse(JSON.stringify(e3.selections));
21
+ if (i2.forEach((e4) => {
22
22
  Object.keys(t2).forEach((t3) => {
23
23
  if (e4[t3] && "number" == typeof e4[t3] && !isNaN(e4[t3])) try {
24
24
  e4[t3] = new Date(e4[t3]);
25
25
  } catch (e5) {
26
+ console.error(`日期格式化失败: ${e5}`);
26
27
  }
27
28
  });
28
29
  }), n3.length > 0) {
@@ -30,70 +31,70 @@ function a(n2, a2) {
30
31
  n3.forEach((t3) => {
31
32
  e4.push(function(e5, t4) {
32
33
  return new Promise((n4, a5) => {
33
- const p3 = e5.field.split("."), i4 = [];
34
- p3.length < 2 && n4([]);
34
+ const s3 = e5.field.split("."), r4 = [];
35
+ s3.length < 2 && n4([]);
35
36
  try {
36
- s(p3[1]).then((e6) => {
37
+ p(s3[1]).then((e6) => {
37
38
  t4.forEach((t5, n5) => {
38
- const a6 = { type: p3[0], name: p3[1], value: null, index: n5 };
39
- a6.value = o(JSON.parse(e6.barcodeModelItems), t5), i4.push(a6);
40
- }), n4(i4);
39
+ const a6 = { type: s3[0], name: s3[1], value: null, index: n5 };
40
+ a6.value = o(JSON.parse(e6.barcodeModelItems), t5), r4.push(a6);
41
+ }), n4(r4);
41
42
  });
42
43
  } catch (e6) {
43
- n4([]);
44
+ console.error("获取条码规则失败:", e6), n4([]);
44
45
  }
45
46
  });
46
- }(t3, l2));
47
+ }(t3, i2));
47
48
  }), Promise.all(e4).then((e5) => {
48
49
  e5.forEach((e6) => {
49
50
  e6.forEach((e7) => {
50
- const t3 = e7.index, n4 = l2[t3];
51
+ const t3 = e7.index, n4 = i2[t3];
51
52
  n4[e7.type] || (n4[e7.type] = {}), n4[e7.type][e7.name] = e7.value;
52
53
  });
53
- }), a4.print(l2, p2, i3);
54
+ }), a4.print(i2, s2, r3);
54
55
  });
55
- } else a4.print(l2, p2, i3);
56
- }(n2, f, i2, l, c, r) : "form" === n2.pageContext.pageType && p(n2, i2, l, c, r) : p(n2, i2, l, c, r);
56
+ } else a4.print(i2, s2, r3);
57
+ }(n2, f, r2, i, c, l) : "form" === n2.pageContext.pageType && s(n2, r2, i, c, l) : s(n2, r2, i, c, l);
57
58
  });
58
59
  }
59
- function p(e2, t2, n2, a2, p2) {
60
+ function s(e2, t2, n2, a2, s2) {
60
61
  if (t2.length > 0) {
61
- const i2 = [];
62
+ const r2 = [];
62
63
  t2.forEach((t3) => {
63
- i2.push(function(e3, t4) {
64
+ r2.push(function(e3, t4) {
64
65
  return new Promise((n3, a3) => {
65
- const p3 = t4.field.split("."), i3 = { type: null, name: null, value: null };
66
- p3.length < 2 && n3(i3), i3.type = p3[0], i3.name = p3[1];
66
+ const s3 = t4.field.split("."), r3 = { type: null, name: null, value: null };
67
+ s3.length < 2 && n3(r3), r3.type = s3[0], r3.name = s3[1];
67
68
  try {
68
- s(i3.name).then((t5) => {
69
+ p(r3.name).then((t5) => {
69
70
  const a4 = JSON.parse(t5.barcodeModelItems);
70
- i3.value = o(a4, e3.entity.data), n3(i3);
71
+ r3.value = o(a4, e3.entity.data), n3(r3);
71
72
  });
72
73
  } catch (e4) {
73
- n3(i3);
74
+ console.error("获取条码规则失败:", e4), n3(r3);
74
75
  }
75
76
  });
76
77
  }(e2.pageContext, t3));
77
- }), Promise.all(i2).then((t3) => {
78
+ }), Promise.all(r2).then((t3) => {
78
79
  const o2 = {};
79
80
  t3.forEach((e3) => {
80
81
  e3.type && e3.name && e3.value && (o2[e3.type] || (o2[e3.type] = {}), o2[e3.type][e3.name] = e3.value);
81
82
  });
82
- const s2 = { table: {} };
83
- Object.assign(s2, e2.pageContext.entity, o2), s2.table = e2.pageContext.entity.data, n2.print(s2, a2, p2);
83
+ const p2 = { table: {} };
84
+ Object.assign(p2, e2.pageContext.entity, o2), p2.table = e2.pageContext.entity.data, n2.print(p2, a2, s2);
84
85
  });
85
86
  } else {
86
87
  const t3 = { table: {} };
87
- Object.assign(t3, e2.pageContext.entity), t3.table = e2.pageContext.entity.data, n2.print(t3, a2, p2);
88
+ Object.assign(t3, e2.pageContext.entity), t3.table = e2.pageContext.entity.data, n2.print(t3, a2, s2);
88
89
  }
89
90
  }
90
- function s(t2) {
91
+ function p(t2) {
91
92
  const n2 = encodeURIComponent(t2);
92
93
  return e.get(window.$vueApp.config.globalProperties.baseAPI + `/component/setting-barcode-models/by-name?name=${n2}`);
93
94
  }
94
95
  n();
95
- const i = { printLabel: a };
96
+ const r = { printLabel: a };
96
97
  export {
97
- i as default,
98
+ r as default,
98
99
  a as printLabel
99
100
  };
@@ -287,7 +287,8 @@ 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 (e4) {
290
+ } catch (t3) {
291
+ console.error("打印标签失败,未在配置中找到找到模板", t3, e3);
291
292
  }
292
293
  E.printLabel(e3, t2);
293
294
  }(e2);
@@ -484,11 +485,10 @@ function ae(t2, n2, o2, s2, i2) {
484
485
  let i3 = n3.props.base.successOperation;
485
486
  const a3 = n3.props.base.isNeedValueMapping, r2 = P(t3, n3);
486
487
  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
+ if ("refresh" === i3) if (r2) {
489
+ w(t3, r2).refresh();
490
+ } else console.error("tableUuid is empty");
491
+ else if ("closeWindow" === i3 || "closeWindowAndRefresh" === i3) {
492
492
  const s4 = e(t3.entity.page);
493
493
  let i4 = o3;
494
494
  i4 || (i4 = {}), Object.assign(s4, i4), le(t3, n3, s4, a3);
@@ -560,7 +560,7 @@ function de(e2, t2, n2, o2) {
560
560
  const n3 = P(e2, t2);
561
561
  if (n3) {
562
562
  w(e2, n3).refresh();
563
- }
563
+ } else console.error("tableUuid is empty");
564
564
  } else if (i2 && "form" === i2) {
565
565
  const t3 = e2.entity.data;
566
566
  De(e2, t3.ID ? t3.ID : t3.id);
@@ -667,7 +667,7 @@ function Ce(e2) {
667
667
  const p2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
668
668
  p2 && (c2.logSettingText = p2.join("")), c2.systemCode || (c2.systemCode = i2);
669
669
  const d2 = Pe(t2);
670
- c2.additionalParamMap = d2, d2.ids && d2.ids.length > 0 && ("string" == typeof d2.ids ? c2.ids = d2.ids.split(",") : Array.isArray(d2.ids) ? c2.ids = d2.ids : "number" == typeof ids && (c2.ids = [d2.ids]));
670
+ c2.additionalParamMap = d2, d2.ids && d2.ids.length > 0 && ("string" == typeof d2.ids ? c2.ids = d2.ids.split(",") : Array.isArray(d2.ids) ? c2.ids = d2.ids : "number" == typeof ids ? c2.ids = [d2.ids] : console.error("ids参数类型错误"));
671
671
  const m2 = n2.props.base.successOperation;
672
672
  m2 && "noOperation" === m2 && (c2.unControlVersion = true), c2.isWorkflowEntity = true;
673
673
  const f2 = (_c = (_b = n2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
@@ -1028,7 +1028,7 @@ function je(e2, t2, n2, o2, s2, i2) {
1028
1028
  e2.workflowOpinion.isRequired = t3, t3 && (e2.workflowOpinion.showOpinionBox = true);
1029
1029
  }
1030
1030
  }
1031
- return a2;
1031
+ return e2.workflowOpinion, a2;
1032
1032
  }
1033
1033
  function _e(e2, t2, n2) {
1034
1034
  return !(!e2.processState || "EXTRACT" !== e2.processState || "WAIT_TRANSACT" !== e2.active);
@@ -1049,7 +1049,7 @@ function We(e2, n2, s2) {
1049
1049
  let d2 = n3 || null, m2 = n3 ? [n3] : null;
1050
1050
  void 0 === o2 || o2 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), m2 || (m2 = p2 ? p2.ids : null)) : (d2 = null, m2 = null, p2._id = p2.id, p2.id = null);
1051
1051
  const f2 = p2 ? p2.taskId : null, C2 = l2, b2 = { pageCode: l2, pageVersion: u2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, isWorkflowEntity: true, systemCode: a2, functionCode: C2 + ".workflowGets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
1052
- if ((!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1052
+ if (e3.listCodesMap, (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1053
1053
  const t2 = {};
1054
1054
  e3.tableUuids.forEach((e4) => {
1055
1055
  const n4 = r(l2, u2, e4);
@@ -1106,7 +1106,7 @@ function We(e2, n2, s2) {
1106
1106
  let d2 = n3 || null, m2 = n3 ? [n3] : null;
1107
1107
  void 0 === o2 || o2 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), m2 || (m2 = p2 ? p2.ids : null)) : (d2 = null, m2 = null, p2._id = p2.id, p2.id = null);
1108
1108
  const f2 = p2 ? p2.taskId : null, C2 = l2, b2 = t(e3.backendUrl, e3.isTest), w2 = { pageCode: l2, pageVersion: u2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: d2, systemCode: a2, functionCode: C2 + ".gets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
1109
- if (!w2.id && p2 && p2._t_ && g(p2._t_ + "_id") && (w2.id = g(p2._t_ + "_id")), m2 && (w2.ids = Be(m2)), e3.notIdInitializationList && (w2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (w2.additionalParamMap = p2), e3.beanName && (w2.beanName = e3.beanName), f2 && (w2.taskId = f2), ((_a = e3.props) == null ? void 0 : _a.enableFormDataPermission) && (w2.withDataPermission = true), (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1109
+ if (!w2.id && p2 && p2._t_ && g(p2._t_ + "_id") && (w2.id = g(p2._t_ + "_id")), m2 && (w2.ids = Be(m2)), e3.notIdInitializationList && (w2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (w2.additionalParamMap = p2), e3.beanName && (w2.beanName = e3.beanName), f2 && (w2.taskId = f2), ((_a = e3.props) == null ? void 0 : _a.enableFormDataPermission) && (w2.withDataPermission = true), e3.listCodesMap, (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1110
1110
  const t2 = {};
1111
1111
  e3.tableUuids.forEach((e4) => {
1112
1112
  const n4 = r(l2, u2, e4);