super-page-runtime 2.3.12 → 2.3.13-migrate1

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 (57) hide show
  1. package/dist/es/components/runtime/utils/events/event-util.js +1 -1
  2. package/dist/es/components/runtime/utils/events/standard-event.d.ts +2 -1
  3. package/dist/es/components/runtime/utils/events/standard-event.js +117 -98
  4. package/dist/es/components/runtime/utils/events/validator-util.js +169 -146
  5. package/dist/es/components/runtime/utils/page-init-util.js +26 -24
  6. package/dist/es/components/runtime/utils/page-permission-util.js +14 -14
  7. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +3 -3
  8. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +3 -3
  9. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -3
  10. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +1 -1
  11. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +3 -3
  12. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  13. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +1 -1
  14. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
  15. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  16. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  17. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  18. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +3 -2
  19. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +1 -1
  20. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
  21. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
  22. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +3 -3
  23. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +3 -3
  24. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +3 -3
  25. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +3 -3
  26. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +1 -1
  27. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
  28. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +60 -59
  29. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +1 -1
  30. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +16 -16
  31. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +3 -3
  32. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +3 -3
  33. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +3 -3
  34. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +3 -3
  35. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +35 -34
  36. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -3
  37. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +42 -41
  38. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +3 -3
  39. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +5 -5
  40. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +3 -3
  41. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +3 -3
  42. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +3 -3
  43. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +3 -3
  44. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +1 -1
  45. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +3 -3
  46. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +11 -11
  47. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +3 -3
  48. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +3 -3
  49. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +1 -1
  50. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +1 -1
  51. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +7 -6
  52. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  53. package/dist/es/components/runtime/views/super-page.vue2.js +16 -13
  54. package/dist/es/i18n/langs/cn.js +1 -1
  55. package/dist/es/i18n/langs/en.js +1 -1
  56. package/dist/es/style.css +79 -79
  57. package/package.json +2 -2
@@ -268,7 +268,7 @@ function Q(e2) {
268
268
  }
269
269
  const u2 = i2.props.base.condition;
270
270
  return new Promise((e3, i3) => {
271
- if (void 0 === u2 || "" === u2 || void 0 === r2 || 0 === r2.length) e3({ canExecute: true });
271
+ if (null == u2 || "" === u2 || null == r2 || 0 === r2.length) e3({ canExecute: true });
272
272
  else {
273
273
  const i4 = n2.entity.context, o3 = t(n2), c2 = true, l2 = n2.tableName;
274
274
  let f2, m2, g2 = true;
@@ -19,6 +19,7 @@ export declare const standardEvents: {
19
19
  search: (params: any) => void;
20
20
  showSearch: (params: any) => void;
21
21
  workflowSave: (params: any) => Promise<unknown>;
22
+ workflowStart: (params: any) => Promise<unknown>;
22
23
  submitProcess: (params: any) => Promise<unknown>;
23
24
  submitTask: (params: any) => Promise<unknown>;
24
25
  approve: (params: any) => Promise<unknown>;
@@ -70,7 +71,7 @@ export declare function getTaskInformitions(params: any): any;
70
71
  export declare function doReturnTaskTo(params: any, selectTaskNode: any): void;
71
72
  export declare function getRemoveSigner(params: any): any;
72
73
  export declare function doRemoveSigners(params: any, selectRemoveTasks: any): void;
73
- export declare function isVisibleWorkflowButton(standardEventName: any, buttonInfo: any, completeTaskParam: any): boolean;
74
+ export declare function isVisibleWorkflowButton(standardEventName: any, buttonInfo: any, completeTaskParam: any, btnConfigure: any, data: any): boolean;
74
75
  /**
75
76
  * 刷新页面
76
77
  * @param pageContext
@@ -5,13 +5,13 @@ import { ElMessage as l, ElMessageBox as p } from "element-plus";
5
5
  import { getToken as d, getSessionCache as m, getRunCurrentRole as f, setSessionCache as g } from "agilebuilder-ui/src/utils/auth";
6
6
  import { getComponentRef as b } from "../global-refs.js";
7
7
  import C from "../eventBus.js";
8
- import T from "axios";
9
- import { handleEvent as y, getTableUuid as w, doAfterClickEvent as h } from "./event-util.js";
8
+ import w from "axios";
9
+ import { handleEvent as T, getTableUuid as y, doAfterClickEvent as h } from "./event-util.js";
10
10
  import { setStoreInfo as k } from "../store-util.js";
11
11
  import { getPermissionCodes as P, getDefaultValue as R, getModelFields as M } from "../page-init-util.js";
12
- import { updateChartDatasources as N, caculateShowCondition as S, getVariableValue as v, setVariableValue as I } from "../page-helper-util.js";
13
- import x from "./print-label.js";
14
- import { getTableNameByTableUuid as A } from "../table-utils.js";
12
+ import { updateChartDatasources as S, caculateShowCondition as N, getVariableValue as v, setVariableValue as I } from "../page-helper-util.js";
13
+ import A from "./print-label.js";
14
+ import { getTableNameByTableUuid as x } from "../table-utils.js";
15
15
  import { getWorkflowRules as O, packageCustomRules as U } from "./validator-util.js";
16
16
  import { functions as E } from "../api/page-expose-util.js";
17
17
  import { usePageContextStore as _ } from "../page-store.js";
@@ -47,17 +47,17 @@ const j = { save: function(e2) {
47
47
  if (!i2 || 0 === i2.length) return l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.pleaseSelectRecord") }), void s2(true);
48
48
  p.confirm(u().t("superPageRuntimeMessage.whetherToConfirmDeletion"), u().t("superPageRuntimeMessage.tips"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
49
49
  var _a;
50
- const r2 = e3.pageContext, u2 = e3.configureObj, l2 = u2.props.base, p2 = r2.systemCode, d2 = r2.backendUrl, m2 = u2.props.base.tableUuid ? u2.props.base.tableUuid : e3.tableUuid, f2 = A(r2, m2);
50
+ const r2 = e3.pageContext, u2 = e3.configureObj, l2 = u2.props.base, p2 = r2.systemCode, d2 = r2.backendUrl, m2 = u2.props.base.tableUuid ? u2.props.base.tableUuid : e3.tableUuid, f2 = x(r2, m2);
51
51
  let g2 = n(d2, r2.isTest) + "/dsc/commons/" + f2;
52
52
  g2 = o(g2, p2, d2, r2.isTest);
53
- const C2 = void 0 === l2.isPermission || "true" === l2.isPermission || l2.isPermission, T2 = t(r2), y2 = P(u2, r2), w2 = { ids: i2, functionCode: y2, isPermission: C2 + "", systemCode: p2, isWorkflowEntity: T2, listCodesMap: r2.listCodesMap, pageCode: r2.code, pageVersion: r2.version };
54
- r2.beanName && (w2.beanName = r2.beanName);
53
+ const C2 = void 0 === l2.isPermission || "true" === l2.isPermission || l2.isPermission, w2 = t(r2), T2 = P(u2, r2), y2 = { ids: i2, functionCode: T2, isPermission: C2 + "", systemCode: p2, isWorkflowEntity: w2, listCodesMap: r2.listCodesMap, pageCode: r2.code, pageVersion: r2.version };
54
+ r2.beanName && (y2.beanName = r2.beanName);
55
55
  const h2 = u2.props.deleteLogicSetting;
56
- h2 && ("object" == typeof h2 ? w2.deleteLogicSetting = JSON.stringify(h2) : "string" == typeof h2 && (w2.deleteLogicSetting = h2));
56
+ h2 && ("object" == typeof h2 ? y2.deleteLogicSetting = JSON.stringify(h2) : "string" == typeof h2 && (y2.deleteLogicSetting = h2));
57
57
  const k2 = (_a = u2.props.base) == null ? void 0 : _a.logSetting;
58
- k2 && (w2.logSettingText = k2.join(""));
58
+ k2 && (y2.logSettingText = k2.join(""));
59
59
  const R2 = u2.props.base.isSafeDelete;
60
- R2 && (w2.isSafeDelete = R2), c.delete(g2, { data: w2 }).then((e4) => {
60
+ R2 && (y2.isSafeDelete = R2), c.delete(g2, { data: y2 }).then((e4) => {
61
61
  const t2 = b(r2, m2);
62
62
  t2 && (t2.isDeleteChange(true), t2.clearSelections()), q(r2, u2, e4, "superPageRuntimeMessage.successfulDelete", true), s2(true);
63
63
  }).catch((e4) => {
@@ -88,10 +88,10 @@ const j = { save: function(e2) {
88
88
  t2.tableName && (f2 += "&tableName=" + t2.tableName);
89
89
  t2.code && (f2 += "&pageCode=" + t2.code);
90
90
  t2.version && (f2 += "&pageVersion=" + t2.version);
91
- const T2 = d();
92
- T2 && (f2 += "&JWT=" + T2);
93
- const y2 = "_RUN_CURRENT_ROLE", w2 = m(y2);
94
- w2 && (f2 += "&" + y2 + "=" + w2);
91
+ const w2 = d();
92
+ w2 && (f2 += "&JWT=" + w2);
93
+ const T2 = "_RUN_CURRENT_ROLE", y2 = m(T2);
94
+ y2 && (f2 += "&" + T2 + "=" + y2);
95
95
  if (o2) {
96
96
  f2 += "&isPermission=" + (void 0 === o2.isPermission || "true" === o2.isPermission || o2.isPermission);
97
97
  }
@@ -111,8 +111,7 @@ const j = { save: function(e2) {
111
111
  u2 || (u2 = n2.code);
112
112
  let l2 = false;
113
113
  l2 = void 0 !== a2.isAsync && null !== a2.isAsync && a2.isAsync;
114
- const p2 = void 0 === a2.isPermission || "true" === a2.isPermission || a2.isPermission, d2 = P(o2, n2), m2 = u2;
115
- let f2 = { backendUrl: n2.backendUrl, pageContext: n2 };
114
+ const p2 = void 0 === a2.isPermission || "true" === a2.isPermission || a2.isPermission, d2 = P(o2, n2), m2 = u2, f2 = { backendUrl: n2.backendUrl, pageContext: n2 };
116
115
  f2.isShowWatermark = void 0 === ((_b = (_a = o2.props) == null ? void 0 : _a.watermark) == null ? void 0 : _b.isShowWatermark) ? "true" : ((_d = (_c = o2.props) == null ? void 0 : _c.watermark) == null ? void 0 : _d.isShowWatermark) + "", f2.watermarkContent = ((_f = (_e = o2.props) == null ? void 0 : _e.watermark) == null ? void 0 : _f.content) && ((_h = (_g = o2.props) == null ? void 0 : _g.watermark) == null ? void 0 : _h.content.length) > 0 ? (_j = (_i = o2.props) == null ? void 0 : _i.watermark) == null ? void 0 : _j.content.join("-~") : "", window.$vueApp.config.globalProperties.$exportDataNew(c2, m2, i2, d2, null, f2, l2, n2.code, p2);
117
116
  });
118
117
  }(e2);
@@ -138,6 +137,22 @@ const j = { save: function(e2) {
138
137
  });
139
138
  });
140
139
  }(e2);
140
+ }, workflowStart: function(e2) {
141
+ return C.$emit("clearTableAllStartEditing"), async function(e3) {
142
+ return new Promise((t2, s2) => {
143
+ const a2 = e3.pageContext, i2 = a2.entity.data, r2 = a2.systemCode, p2 = a2.backendUrl;
144
+ let d2 = n(p2, a2.isTest) + "/dsc/workflow-commons/start";
145
+ if (d2 = o(d2, r2, p2, a2.isTest), !d2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
146
+ const m2 = ee(e3);
147
+ let f2;
148
+ i2.workflow_id || i2.WORKFLOW_ID ? (d2 = n(p2, a2.isTest) + "/dsc/workflow-commons", d2 = o(d2, r2, p2, a2.isTest), f2 = c.put(d2, m2)) : f2 = c.post(d2, m2), f2.then((s3) => {
149
+ let n2 = true;
150
+ s3 && (n2 = te(s3, false, a2, e3, null)), true === n2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulStart") }), C.$emit("clearTableAllEndEditing"), t2(true);
151
+ }).catch((e4) => {
152
+ s2(e4);
153
+ });
154
+ });
155
+ }(e2);
141
156
  }, submitProcess: function(e2) {
142
157
  return C.$emit("clearTableAllStartEditing"), function(e3) {
143
158
  return new Promise((t2, s2) => {
@@ -231,7 +246,7 @@ const j = { save: function(e2) {
231
246
  } catch (t3) {
232
247
  console.error("打印标签失败,未在配置中找到找到模板", t3, e3);
233
248
  }
234
- x.printLabel(e3, t2);
249
+ A.printLabel(e3, t2);
235
250
  }(e2);
236
251
  }, queryCharts: function(e2) {
237
252
  D(e2);
@@ -261,12 +276,11 @@ const j = { save: function(e2) {
261
276
  let c2, u2 = t2.label;
262
277
  u2 || (u2 = t2.code);
263
278
  c2 = u2;
264
- let l2 = { reportDataList: r2, beanName: t2.beanName };
265
- const p2 = ae(t2);
279
+ const l2 = { reportDataList: r2, beanName: t2.beanName }, p2 = ae(t2);
266
280
  l2.additionalParamMap = p2, l2.isShowWatermark = void 0 === ((_b = (_a = o2.props) == null ? void 0 : _a.watermark) == null ? void 0 : _b.isShowWatermark) ? "true" : ((_d = (_c = o2.props) == null ? void 0 : _c.watermark) == null ? void 0 : _d.isShowWatermark) + "", l2.watermark = ((_f = (_e = o2.props) == null ? void 0 : _e.watermark) == null ? void 0 : _f.content) && ((_h = (_g = o2.props) == null ? void 0 : _g.watermark) == null ? void 0 : _h.content.length) > 0 ? (_j = (_i = o2.props) == null ? void 0 : _i.watermark) == null ? void 0 : _j.content.join("-~") : "";
267
281
  const d2 = t2.backendUrl, m2 = n(d2, t2.isTest) + "/dsc/commons/exportChart";
268
282
  W();
269
- T.post(m2, l2, { responseType: "blob" }).then((e4) => {
283
+ w.post(m2, l2, { responseType: "blob" }).then((e4) => {
270
284
  const t3 = document.createElement("a");
271
285
  t3.style.display = "none", t3.href = URL.createObjectURL(e4.data), t3.setAttribute("download", c2 + ".xlsx"), document.body.appendChild(t3), t3.click(), document.body.removeChild(t3);
272
286
  }).finally(() => {
@@ -286,7 +300,7 @@ function D(e2) {
286
300
  let o2 = null;
287
301
  n2 && n2.runtime && (o2 = n2.runtime.props);
288
302
  const a2 = o2 ? o2.state : void 0;
289
- o2 && (o2.state = "disabled"), N(t2, s2, void 0, e2.isInitChart).then(() => {
303
+ o2 && (o2.state = "disabled"), S(t2, s2, void 0, e2.isInitChart).then(() => {
290
304
  o2 && (o2.state = a2);
291
305
  }).catch(() => {
292
306
  o2 && (o2.state = a2);
@@ -297,13 +311,13 @@ function L(e2, s2, o2, a2) {
297
311
  e2.clickUuid = s2.uuid;
298
312
  const i2 = o2.templateUuid, r2 = o2.templateName, c2 = e2.systemCode, u2 = (_a = s2.props.base) == null ? void 0 : _a.logSetting, l2 = t(e2), p2 = e2.beanName, d2 = s2.props.base, m2 = s2.tableName ? s2.tableName : e2.tableName, f2 = e2.backendUrl, g2 = E.getFormViewData(e2), b2 = void 0 === d2.isPermission || "true" === d2.isPermission || d2.isPermission, C2 = { entity: g2, fileName: i2, showName: r2, beanName: p2, isWorkflowForm: l2, functionCode: P(s2, e2), tableName: m2, isPermission: b2 + "", systemCode: c2, listCodesMap: e2.listCodesMap, pageCode: e2.code, pageVersion: e2.version };
299
313
  u2 && (C2.logSettingText = u2.join(""));
300
- const y2 = ae(e2);
301
- let w2;
302
- C2.additionalParamMap = y2, C2.isShowWatermark = void 0 === ((_c = (_b = s2.props) == null ? void 0 : _b.watermark) == null ? void 0 : _c.isShowWatermark) ? "true" : ((_e = (_d = s2.props) == null ? void 0 : _d.watermark) == null ? void 0 : _e.isShowWatermark) + "", C2.watermark = ((_g = (_f = s2.props) == null ? void 0 : _f.watermark) == null ? void 0 : _g.content) && ((_i = (_h = s2.props) == null ? void 0 : _h.watermark) == null ? void 0 : _i.content.length) > 0 ? (_k = (_j = s2.props) == null ? void 0 : _j.watermark) == null ? void 0 : _k.content.join("-~") : "", w2 = a2 ? function(e3, t2, s3, o3) {
314
+ const T2 = ae(e2);
315
+ let y2;
316
+ C2.additionalParamMap = T2, C2.isShowWatermark = void 0 === ((_c = (_b = s2.props) == null ? void 0 : _b.watermark) == null ? void 0 : _c.isShowWatermark) ? "true" : ((_e = (_d = s2.props) == null ? void 0 : _d.watermark) == null ? void 0 : _e.isShowWatermark) + "", C2.watermark = ((_g = (_f = s2.props) == null ? void 0 : _f.watermark) == null ? void 0 : _g.content) && ((_i = (_h = s2.props) == null ? void 0 : _h.watermark) == null ? void 0 : _i.content.length) > 0 ? (_k = (_j = s2.props) == null ? void 0 : _j.watermark) == null ? void 0 : _k.content.join("-~") : "", y2 = a2 ? function(e3, t2, s3, o3) {
303
317
  return new Promise((a3, i3) => {
304
318
  const r3 = n(t2, o3) + "/dsc/commons/export-pdf";
305
319
  W();
306
- T.post(r3, s3, { headers: { "content-type": "application/json" }, responseType: "blob" }).then((t3) => {
320
+ w.post(r3, s3, { headers: { "content-type": "application/json" }, responseType: "blob" }).then((t3) => {
307
321
  const s4 = new Blob([t3.data]), n2 = document.createElement("a");
308
322
  n2.download = e3.substring(0, e3.lastIndexOf(".")) + ".pdf", n2.style.display = "none", n2.target = "_blank", n2.href = URL.createObjectURL(s4), document.body.appendChild(n2), n2.click(), URL.revokeObjectURL(n2.href), document.body.removeChild(n2), a3(true);
309
323
  }).catch((e4) => {
@@ -314,7 +328,7 @@ function L(e2, s2, o2, a2) {
314
328
  return new Promise((a3, i3) => {
315
329
  const r3 = n(t2, o3) + "/dsc/commons/export-reports";
316
330
  W();
317
- T.post(r3, s3, { responseType: "blob" }).then((t3) => {
331
+ w.post(r3, s3, { responseType: "blob" }).then((t3) => {
318
332
  const s4 = new Blob([t3.data]);
319
333
  let n2 = "报告.xlsx";
320
334
  e3 && (n2 = e3);
@@ -324,17 +338,17 @@ function L(e2, s2, o2, a2) {
324
338
  i3(e4);
325
339
  });
326
340
  });
327
- }(r2, f2, C2, e2.isTest), w2 && w2.then(() => {
341
+ }(r2, f2, C2, e2.isTest), y2 && y2.then(() => {
328
342
  h(e2, s2);
329
343
  }).catch((e3) => {
330
344
  });
331
345
  }
332
346
  function W() {
333
- T.defaults.headers.common.Authorization = d();
347
+ w.defaults.headers.common.Authorization = d();
334
348
  const e2 = f();
335
349
  if (e2) {
336
350
  const t2 = "_RUN_CURRENT_ROLE";
337
- T.defaults.headers.common[t2] = e2;
351
+ w.defaults.headers.common[t2] = e2;
338
352
  }
339
353
  }
340
354
  function B(e2, t2) {
@@ -363,10 +377,10 @@ function V(e2, n2, o2, a2, i2, r2, c2) {
363
377
  b2 && (f2.autoSetValueData = b2);
364
378
  const C2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
365
379
  C2 && (f2.logSettingText = C2.join("")), f2.systemCode || (f2.systemCode = l2);
366
- const T2 = e2.beanName;
367
- T2 && (f2.beanName = T2), i2 && (f2.dynamicColumnInfo = i2), a2 && (f2.mainDefaultValueColumns = a2);
368
- const y2 = ae(e2);
369
- return f2.additionalParamMap = y2, void 0 !== o2 && (f2.unControlVersion = o2), f2;
380
+ const w2 = e2.beanName;
381
+ w2 && (f2.beanName = w2), i2 && (f2.dynamicColumnInfo = i2), a2 && (f2.mainDefaultValueColumns = a2);
382
+ const T2 = ae(e2);
383
+ return f2.additionalParamMap = T2, void 0 !== o2 && (f2.unControlVersion = o2), f2;
370
384
  }
371
385
  function F(e2, t2, s2, a2, i2, r2, u2, l2) {
372
386
  const p2 = e2.systemCode, d2 = e2.backendUrl, m2 = V(e2, t2, a2, i2, r2, null, u2);
@@ -384,7 +398,7 @@ function q(t2, s2, n2, o2, a2) {
384
398
  const i2 = H(t2, s2, a2);
385
399
  if (i2 && "list" === i2) !function(t3, s3, n3, o3) {
386
400
  let a3 = s3.props.base.successOperation;
387
- const i3 = s3.props.base.isNeedValueMapping, r2 = w(t3, s3);
401
+ const i3 = s3.props.base.isNeedValueMapping, r2 = y(t3, s3);
388
402
  a3 || z.includes(s3.name) || (a3 = "refresh");
389
403
  if ("refresh" === a3) if (r2) {
390
404
  b(t3, r2).refresh();
@@ -423,7 +437,7 @@ function G(e2, t2, s2) {
423
437
  const n2 = t2.props.base.successOperation;
424
438
  if (!n2 || null === n2) return;
425
439
  const o2 = t2.props.base.isNeedValueMapping;
426
- "noOperation" === n2 ? (s2 && (e2.entity.data = s2), e2.canClick = true) : "refresh" === n2 ? s2 && (s2.id || s2.ID) ? fe(e2, s2.ID ? s2.ID : s2.id) : e2.canClick = true : "closeWindow" !== n2 && "closeWindowAndRefresh" !== n2 || (J(e2, t2, s2, o2), e2.canClick = true);
440
+ "noOperation" === n2 ? e2.canClick = true : "refresh" === n2 ? s2 && (s2.id || s2.ID) ? fe(e2, s2.ID ? s2.ID : s2.id) : e2.canClick = true : "closeWindow" !== n2 && "closeWindowAndRefresh" !== n2 || (J(e2, t2, s2, o2), e2.canClick = true);
427
441
  }
428
442
  function J(e2, t2, s2, n2) {
429
443
  const o2 = e2.entity && e2.entity.request ? e2.entity.request.jumpMode : null;
@@ -447,7 +461,7 @@ function Y(e2, t2, s2, n2, o2) {
447
461
  I(s3.entity, r2, a3);
448
462
  });
449
463
  }
450
- }(s2, o2, e2), y(null, e2, t2, "setValue", { sourceModel: s2, sourceTableName: n2, entity: e2.entity.data, targetTableName: a2 });
464
+ }(s2, o2, e2), T(null, e2, t2, "setValue", { sourceModel: s2, sourceTableName: n2, entity: e2.entity.data, targetTableName: a2 });
451
465
  }
452
466
  const z = ["dropdown"];
453
467
  function K(e2, t2, s2, n2) {
@@ -458,7 +472,7 @@ function K(e2, t2, s2, n2) {
458
472
  const a2 = H(e2, t2);
459
473
  if (a2 && "list" === a2 && !o2 && (o2 = "refresh"), "refresh" === o2) {
460
474
  if (a2 && "list" === a2) {
461
- const s3 = w(e2, t2);
475
+ const s3 = y(e2, t2);
462
476
  if (s3) {
463
477
  b(e2, s3).refresh();
464
478
  } else console.error("tableUuid is empty");
@@ -471,17 +485,17 @@ function K(e2, t2, s2, n2) {
471
485
  function Q(e2, t2, s2, a2) {
472
486
  return new Promise((r2, l2) => {
473
487
  const d2 = e2.pageContext, m2 = e2.configureObj, f2 = e2.mainDefaultValueColumns, g2 = e2.dynamicColumnInfo, b2 = e2.ids, C2 = m2.props.base.successOperation;
474
- let T2 = false;
475
- C2 && "noOperation" === C2 && (T2 = true);
476
- let y2 = d2.tableName;
488
+ let w2 = false;
489
+ C2 && "noOperation" === C2 && (w2 = true);
490
+ let T2 = d2.tableName;
477
491
  if (t2) {
478
492
  const t3 = m2.props.base.tableUuid ? m2.props.base.tableUuid : e2.tableUuid;
479
- y2 = A(d2, t3);
493
+ T2 = x(d2, t3);
480
494
  }
481
- const w2 = function(e3, t3, s3, a3, r3, l3, d3, m3, f3) {
495
+ const y2 = function(e3, t3, s3, a3, r3, l3, d3, m3, f3) {
482
496
  return new Promise((g3, b3) => {
483
- const C3 = t3.props.base.title, T3 = "superPageRuntimeMessage.whetherToConfirm" + i(d3);
484
- p.confirm(u().t(T3, { name: C3 }), u().t("superPageRuntimeMessage.tips"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
497
+ const C3 = t3.props.base.title, w3 = "superPageRuntimeMessage.whetherToConfirm" + i(d3);
498
+ p.confirm(u().t(w3, { name: C3 }), u().t("superPageRuntimeMessage.tips"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
485
499
  const i2 = e3.systemCode, u2 = e3.backendUrl, p2 = V(e3, t3, a3, r3, l3, m3, null);
486
500
  p2.tableName = f3;
487
501
  let d4 = n(u2, e3.isTest) + s3;
@@ -494,8 +508,8 @@ function Q(e2, t2, s2, a2) {
494
508
  b3("点击了取消按钮");
495
509
  });
496
510
  });
497
- }(d2, m2, a2, T2, f2, g2, s2, b2, y2);
498
- w2 ? w2.then((e3) => {
511
+ }(d2, m2, a2, w2, f2, g2, s2, b2, T2);
512
+ y2 ? y2.then((e3) => {
499
513
  q(d2, m2, e3, "superPageRuntimeMessage.successfulSave", t2), r2(e3);
500
514
  }).catch((e3) => {
501
515
  l2(e3);
@@ -504,7 +518,7 @@ function Q(e2, t2, s2, a2) {
504
518
  }
505
519
  function X(e2, s2) {
506
520
  var _a;
507
- 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();
521
+ 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 = x(a2, d2), f2 = new FormData();
508
522
  f2.append("multipartFile", s2), m2 && f2.append("tableName", m2), a2.importBeanName && f2.append("importBeanName", a2.importBeanName), a2.beanName && f2.append("beanName", a2.beanName);
509
523
  const g2 = (_a = r2.props.importSetting) == null ? void 0 : _a.listViewImportDuplicate;
510
524
  g2 && f2.append("importDuplicateRule", g2);
@@ -512,26 +526,26 @@ function X(e2, s2) {
512
526
  b2 && f2.append("judgeHeavyList", JSON.stringify(b2));
513
527
  const C2 = Ce(i2);
514
528
  C2 && f2.append("autoSetValueData", C2);
515
- const T2 = a2.formNoRuleCode;
516
- T2 && f2.append("formNoRuleCode", T2);
517
- const y2 = e2.listCode;
518
- y2 && f2.append("listCode", y2);
519
- let w2 = false;
520
- w2 = void 0 !== p2.isAsync && null !== p2.isAsync && p2.isAsync, f2.append("isAsync", w2 + ""), f2.append("pageCode", a2.code);
529
+ const w2 = a2.formNoRuleCode;
530
+ w2 && f2.append("formNoRuleCode", w2);
531
+ const T2 = e2.listCode;
532
+ T2 && f2.append("listCode", T2);
533
+ let y2 = false;
534
+ y2 = void 0 !== p2.isAsync && null !== p2.isAsync && p2.isAsync, f2.append("isAsync", y2 + ""), f2.append("pageCode", a2.code);
521
535
  const k2 = t(a2);
522
536
  null != k2 && f2.append("isWorkflowEntity", k2 + "");
523
537
  const R2 = P(i2, a2);
524
538
  R2 && f2.append("functionCode", R2);
525
539
  const M2 = ae(a2);
526
540
  f2.append("additionalParamMapStr", JSON.stringify(M2));
527
- const N2 = void 0 === p2.isPermission || "true" === p2.isPermission || p2.isPermission;
528
- f2.append("isPermission", N2 + "");
529
- const S2 = a2.systemCode;
530
- S2 && f2.append("systemCode", S2);
541
+ const S2 = void 0 === p2.isPermission || "true" === p2.isPermission || p2.isPermission;
542
+ f2.append("isPermission", S2 + "");
543
+ const N2 = a2.systemCode;
544
+ N2 && f2.append("systemCode", N2);
531
545
  const v2 = a2.backendUrl;
532
546
  let I2 = n(v2, a2.isTest) + "/dsc/commons/import-data";
533
- I2 = o(I2, S2, v2, a2.isTest), c.post(I2, f2).then((e3) => {
534
- if (w2) l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.asyncImport") });
547
+ I2 = o(I2, N2, v2, a2.isTest), c.post(I2, f2).then((e3) => {
548
+ if (y2) l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.asyncImport") });
535
549
  else {
536
550
  let t2 = false;
537
551
  e3 ? (t2 = false, l({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e3 })) : (l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulImport") }), t2 = true), q(a2, i2, e3, null, true), a2.result = t2, h(a2, i2);
@@ -599,7 +613,7 @@ async function se(e2, t2) {
599
613
  let s4 = false;
600
614
  if (((_b = (_a = n2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isMustOpinion) && (s4 = true), true === s4) {
601
615
  const t4 = e3.pageContext, o2 = (_d = (_c = n2.props) == null ? void 0 : _c.base) == null ? void 0 : _d.mustOpinionConditions;
602
- s4 = S(t4, n2, o2);
616
+ s4 = N(t4, n2, o2);
603
617
  }
604
618
  true === s4 ? p.prompt(u().t("superPageRuntimeMessage.pleaseInputOpinion"), u().t("superPageRuntimeMessage.opinion"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), inputType: "textarea", inputValue: null, closeOnClickModal: false, inputValidator: (e4) => !(!e4 || !e4.trim()) || u().t("superPageRuntimeMessage.pleaseInputOpinion") }).then(({ value: e4 }) => {
605
619
  t3(e4);
@@ -669,7 +683,7 @@ async function re(e2, t2) {
669
683
  let s4 = (_b = (_a = n2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isMustRemark;
670
684
  if (true === s4) {
671
685
  const t4 = e3.pageContext, o2 = (_d = (_c = n2.props) == null ? void 0 : _c.base) == null ? void 0 : _d.mustRemarkConditions;
672
- s4 = S(t4, n2, o2);
686
+ s4 = N(t4, n2, o2);
673
687
  }
674
688
  true === s4 ? p.prompt(u().t("superPageRuntimeMessage.pleaseInputRemark"), u().t("superPageRuntimeMessage.remark"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), inputType: "textarea", inputValue: null, closeOnClickModal: false, inputValidator: (e4) => !(!e4 || !e4.trim()) || u().t("superPageRuntimeMessage.pleaseInputRemark") }).then(({ value: e4 }) => {
675
689
  t3(e4);
@@ -738,43 +752,48 @@ function de(e2, t2) {
738
752
  });
739
753
  }
740
754
  }
741
- function me(e2, t2, s2) {
742
- let n2 = false;
743
- return e2 && t2 && ("workflowSave" === e2 ? n2 = function(e3) {
755
+ function me(e2, t2, s2, n2, o2) {
756
+ let a2 = false;
757
+ return e2 && t2 && ("workflowSave" === e2 ? a2 = function(e3) {
744
758
  if ((void 0 === e3.processState || null === e3.processState || "UNSUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active) && (void 0 === e3.processState || true === e3.showButtonSave)) return true;
745
759
  if (e3.processState && "SUBMIT" === e3.processState && "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;
746
760
  return false;
747
- }(t2) : "submitProcess" === e2 ? n2 = function(e3) {
761
+ }(t2) : "workflowStart" === e2 ? a2 = function(e3, t3) {
762
+ if (void 0 === e3.processState || null === e3.processState || t3 && !t3.workflow_id && !t3.WORKFLOW_ID) return true;
763
+ return false;
764
+ }(t2, o2) : "submitProcess" === e2 ? a2 = function(e3) {
748
765
  if ((void 0 === e3.processState || null === e3.processState || "UNSUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active) && (void 0 === e3.processState || true === e3.showButtonSave)) return true;
749
766
  return false;
750
- }(t2) : "submitTask" === e2 ? n2 = function(e3) {
767
+ }(t2) : "submitTask" === e2 ? a2 = function(e3) {
751
768
  if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "EDIT" === e3.processingMode) return true;
752
769
  return false;
753
- }(t2) : "drawTask" === e2 ? n2 = function(e3) {
770
+ }(t2) : "drawTask" === e2 ? a2 = function(e3) {
754
771
  if (e3.processState && "SUBMIT" === e3.processState && e3.active && ("DRAW_WAIT" === e3.active || "DEPT_DRAW_WAIT" === e3.active) && e3.showButtonDraw) return true;
755
772
  return false;
756
- }(t2) : "abandonReceive" === e2 ? n2 = function(e3) {
773
+ }(t2) : "abandonReceive" === e2 ? a2 = function(e3) {
757
774
  if (e3.processState && "SUBMIT" === e3.processState && (e3.drawTask && "WAIT_TRANSACT" === e3.active || e3.canAbandonDeptTask && "WAIT_TRANSACT" === e3.active) && e3.showButtonAbandon) return true;
758
775
  return false;
759
- }(t2) : "approve" === e2 || "refuse" === e2 ? n2 = function(e3) {
776
+ }(t2) : "approve" === e2 || "refuse" === e2 ? a2 = function(e3) {
760
777
  if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && ("APPROVE" === e3.processingMode || "COUNTERSIGN" === e3.processingMode)) return true;
761
778
  return false;
762
- }(t2) : "readed" === e2 ? n2 = function(e3) {
779
+ }(t2) : "readed" === e2 ? a2 = function(e3) {
763
780
  if ("WAIT_TRANSACT" === e3.active && "TYPE_READ" === e3.processingMode) return true;
764
781
  return false;
765
- }(t2) : "assign" === e2 ? n2 = function(e3) {
782
+ }(t2) : "assign" === e2 ? a2 = function(e3) {
766
783
  if (e3.processState && "SUBMIT" === e3.processState && "TYPE_READ" !== e3.processingMode && ("WAIT_TRANSACT" === e3.active || "DRAW_WAIT" === e3.active)) return true;
767
784
  return false;
768
- }(t2) : "copyTask" === e2 ? n2 = function(e3) {
769
- if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "TYPE_READ" !== e3.processingMode && e3.showButtonCopy) return true;
770
- return false;
771
- }(t2) : "addSigner" === e2 ? n2 = function(e3) {
785
+ }(t2) : "copyTask" === e2 ? a2 = function(e3, t3) {
786
+ let s3 = false;
787
+ e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "TYPE_READ" !== e3.processingMode && e3.showButtonCopy && (s3 = true);
788
+ t3 && (t3.props.base.state = s3 ? "" : "hidden");
789
+ return true;
790
+ }(t2, n2) : "addSigner" === e2 ? a2 = function(e3) {
772
791
  if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && ("APPROVE" === e3.processingMode || "COUNTERSIGN" === e3.processingMode) && "COUNTERSIGN" === e3.processingMode && e3.showButtonAddCounter) return true;
773
792
  return false;
774
- }(t2) : "removeSigner" === e2 ? n2 = function(e3) {
793
+ }(t2) : "removeSigner" === e2 ? a2 = function(e3) {
775
794
  if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && ("APPROVE" === e3.processingMode || "COUNTERSIGN" === e3.processingMode) && "COUNTERSIGN" === e3.processingMode && e3.showButtonDelCounter) return true;
776
795
  return false;
777
- }(t2) : "retrieveTask" === e2 ? n2 = function(e3) {
796
+ }(t2) : "retrieveTask" === e2 ? a2 = function(e3) {
778
797
  if (e3.processState && "SUBMIT" === e3.processState && function(e4) {
779
798
  if ("COMPLETED" !== e4.active) return false;
780
799
  if ("TYPE_READ" === e4.processingMode) return false;
@@ -782,10 +801,10 @@ function me(e2, t2, s2) {
782
801
  return true;
783
802
  }(e3)) return true;
784
803
  return false;
785
- }(t2) : "agreement" === e2 || "oppose" === e2 ? n2 = function(e3) {
804
+ }(t2) : "agreement" === e2 || "oppose" === e2 ? a2 = function(e3) {
786
805
  if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "VOTE" === e3.processingMode) return true;
787
806
  return false;
788
- }(t2) : "kiken" === e2 ? n2 = function(e3) {
807
+ }(t2) : "kiken" === e2 ? a2 = function(e3) {
789
808
  if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "VOTE" === e3.processingMode && e3.showButtonKiken) return true;
790
809
  return false;
791
810
  }(t2) : function(e3, t3) {
@@ -795,10 +814,10 @@ function me(e2, t2, s2) {
795
814
  t4 && (s3 = t4.taskComplete);
796
815
  return s3;
797
816
  }(t3);
798
- }(t2, s2) && (n2 = "returnToPreviousTask" !== e2 || function(e3) {
817
+ }(t2, s2) && (a2 = "returnToPreviousTask" !== e2 || function(e3) {
799
818
  if (e3.rebuttable) return true;
800
819
  return false;
801
- }(t2))), n2;
820
+ }(t2))), a2;
802
821
  }
803
822
  function fe(e2, t2) {
804
823
  e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, ge(e2, t2).then((t3) => {
@@ -823,8 +842,8 @@ function ge(e2, s2, o2) {
823
842
  }), C2.listCodesMap = t3;
824
843
  }
825
844
  f2 && (C2.ids = be(f2)), g2 ? C2.taskId = g2 : d2 ? C2.id = d2 : (p2 && p2._t_ && m(p2._t_ + "_id") && (C2.id = m(p2._t_ + "_id")), e3.notIdInitializationList && (C2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList))), p2 && (C2.additionalParamMap = p2), e3.beanName && (C2.beanName = e3.beanName), e3.refercePropMap && (C2.refercePropMap = e3.refercePropMap);
826
- const T2 = n(e3.backendUrl, e3.isTest) + "/dsc/workflow-commons/gets", w2 = _();
827
- w2.restorePageLoadState(), y(null, e3, e3, "beforeFormLoadData"), c.post(T2, C2).then((t3) => {
845
+ const w2 = n(e3.backendUrl, e3.isTest) + "/dsc/workflow-commons/gets", y2 = _();
846
+ y2.restorePageLoadState(), T(null, e3, e3, "beforeFormLoadData"), c.post(w2, C2).then((t3) => {
828
847
  e3.definitionId = t3.definitionId, e3.entity.task = t3.taskParamMap, te(t3, true, e3), e3.workflowRules = O(e3);
829
848
  const s4 = e3.pageType;
830
849
  s4 && "form" === s4 && function(e4) {
@@ -857,7 +876,7 @@ function ge(e2, s2, o2) {
857
876
  }
858
877
  e5.actionPermissionMap = s5;
859
878
  }(e4);
860
- }(e3), e3.canClick = true, y(null, e3, e3, "afterFormLoadData"), w2.setFormPageDataLoadState(true), o3(t3);
879
+ }(e3), e3.canClick = true, T(null, e3, e3, "afterFormLoadData"), y2.setFormPageDataLoadState(true), o3(t3);
861
880
  }).catch((t3) => {
862
881
  e3.canClick = true, a3(t3);
863
882
  });
@@ -867,20 +886,20 @@ function ge(e2, s2, o2) {
867
886
  const i2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = ae(e3);
868
887
  let d2 = t2 || null, f2 = t2 ? [t2] : null;
869
888
  void 0 === s3 || s3 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), f2 || (f2 = p2 ? p2.ids : null)) : (d2 = null, f2 = null, p2._id = p2.id, p2.id = null);
870
- const g2 = p2 ? p2.taskId : null, b2 = u2, C2 = n(e3.backendUrl, e3.isTest), T2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: d2, systemCode: i2, functionCode: b2 + ".gets", listCodesMap: e3.listCodesMap };
871
- if (!T2.id && p2 && p2._t_ && m(p2._t_ + "_id") && (T2.id = m(p2._t_ + "_id")), f2 && (T2.ids = be(f2)), e3.notIdInitializationList && (T2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (T2.additionalParamMap = p2), e3.beanName && (T2.beanName = e3.beanName), g2 && (T2.taskId = g2), e3.listCodesMap, (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
889
+ const g2 = p2 ? p2.taskId : null, b2 = u2, C2 = n(e3.backendUrl, e3.isTest), w2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: d2, systemCode: i2, functionCode: b2 + ".gets", listCodesMap: e3.listCodesMap };
890
+ if (!w2.id && p2 && p2._t_ && m(p2._t_ + "_id") && (w2.id = m(p2._t_ + "_id")), f2 && (w2.ids = be(f2)), e3.notIdInitializationList && (w2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (w2.additionalParamMap = p2), e3.beanName && (w2.beanName = e3.beanName), g2 && (w2.taskId = g2), e3.listCodesMap, (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
872
891
  const t3 = {};
873
892
  e3.tableUuids.forEach((e4) => {
874
893
  const s4 = r(u2, l2, e4);
875
894
  t3[s4] = s4;
876
- }), T2.listCodesMap = t3;
895
+ }), w2.listCodesMap = t3;
877
896
  }
878
- e3.refercePropMap && (T2.refercePropMap = e3.refercePropMap);
879
- const w2 = C2 + "/dsc/commons/gets", h2 = _();
880
- h2.restorePageLoadState(), y(null, e3, e3, "beforeFormLoadData"), c.post(w2, T2).then((t3) => {
897
+ e3.refercePropMap && (w2.refercePropMap = e3.refercePropMap);
898
+ const y2 = C2 + "/dsc/commons/gets", h2 = _();
899
+ h2.restorePageLoadState(), T(null, e3, e3, "beforeFormLoadData"), c.post(y2, w2).then((t3) => {
881
900
  t3 && (e3.entity.data = t3.entity, e3.initFormNo = t3.formNo);
882
901
  const s4 = e3.customRules, n2 = e3.rules, a4 = U(s4, n2);
883
- e3.rules = a4, e3.canClick = true, y(null, e3, e3, "afterFormLoadData"), h2.setFormPageDataLoadState(true), o3(t3);
902
+ e3.rules = a4, e3.canClick = true, T(null, e3, e3, "afterFormLoadData"), h2.setFormPageDataLoadState(true), o3(t3);
884
903
  }).catch((t3) => {
885
904
  e3.canClick = true, a3(t3);
886
905
  });
@@ -902,22 +921,22 @@ function Ce(e2) {
902
921
  }
903
922
  return null;
904
923
  }
905
- function Te(e2, t2) {
924
+ function we(e2, t2) {
906
925
  const s2 = e2.entity ? e2.entity : {}, n2 = { data: s2.data, page: s2.page }, o2 = { pageCode: e2.code, queryCondition: JSON.stringify(n2), name: t2 }, a2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition";
907
926
  return c.post(a2, o2);
908
927
  }
909
- function ye(e2) {
928
+ function Te(e2) {
910
929
  const t2 = e2.code, s2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/list/" + t2;
911
930
  return c.get(s2);
912
931
  }
913
- function we(e2) {
932
+ function ye(e2) {
914
933
  const t2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/" + e2;
915
934
  return c.delete(t2);
916
935
  }
917
936
  export {
918
937
  q as dealAfterOperate,
919
938
  te as dealCompleteTaskParam,
920
- we as deleteChartCondition,
939
+ ye as deleteChartCondition,
921
940
  ie as doAddSigner,
922
941
  ne as doAssign,
923
942
  re as doCreateCopyTask,
@@ -933,10 +952,10 @@ export {
933
952
  ue as getTaskInformitions,
934
953
  me as isVisibleWorkflowButton,
935
954
  Z as judgeDataNumber,
936
- ye as listChartConditions,
955
+ Te as listChartConditions,
937
956
  K as refreshFormOrListPage,
938
957
  fe as refreshPage,
939
- Te as saveChartConditionBase,
958
+ we as saveChartConditionBase,
940
959
  j as standardEvents,
941
960
  Y as updateValuesWhenCloseDialog
942
961
  };