super-page-runtime 2.2.77-sit8 → 2.2.78

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 (68) hide show
  1. package/dist/es/components/runtime/utils/api/page-expose-util.js +56 -56
  2. package/dist/es/components/runtime/utils/barcode-util.js +5 -5
  3. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +74 -74
  4. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +46 -45
  5. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +16 -14
  6. package/dist/es/components/runtime/utils/charts/chart-util.d.ts +1 -1
  7. package/dist/es/components/runtime/utils/charts/chart-util.js +9 -7
  8. package/dist/es/components/runtime/utils/events/event-util.js +113 -113
  9. package/dist/es/components/runtime/utils/events/print-label.js +38 -37
  10. package/dist/es/components/runtime/utils/events/standard-event.js +523 -508
  11. package/dist/es/components/runtime/utils/events/validator-util.js +62 -72
  12. package/dist/es/components/runtime/utils/form/scan-util.js +4 -3
  13. package/dist/es/components/runtime/utils/page-helper-util.js +210 -210
  14. package/dist/es/components/runtime/utils/page-init-util.js +50 -47
  15. package/dist/es/components/runtime/utils/page-permission-util.js +16 -16
  16. package/dist/es/components/runtime/utils/page-store.js +1 -1
  17. package/dist/es/components/runtime/utils/table-utils.js +23 -23
  18. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +13 -16
  19. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +1 -4
  20. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +11 -15
  21. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +16 -12
  22. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +10 -6
  23. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +11 -9
  24. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +1 -1
  25. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +1 -1
  26. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +13 -12
  27. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +14 -13
  28. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +15 -14
  29. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +17 -16
  30. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +122 -131
  31. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +57 -90
  32. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +26 -22
  33. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +4 -4
  34. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
  35. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +2 -2
  36. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +1 -1
  37. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +6 -6
  38. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +1 -1
  39. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +35 -38
  40. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +1 -1
  41. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +1 -1
  42. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +12 -10
  43. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +94 -92
  44. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +124 -123
  45. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +14 -16
  46. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +1 -1
  47. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +77 -80
  48. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +1 -0
  49. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +29 -34
  50. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +41 -39
  51. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +22 -22
  52. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +51 -50
  53. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +8 -6
  54. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +10 -9
  55. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +1 -0
  56. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +1 -0
  57. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +8 -8
  58. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +4 -5
  59. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +1 -4
  60. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +7 -7
  61. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  62. package/dist/es/components/runtime/views/super-page-dialog.vue.js +10 -9
  63. package/dist/es/components/runtime/views/{super-page-dialog.vue3.js → super-page-dialog.vue2.js} +0 -1
  64. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  65. package/dist/es/components/runtime/views/super-page.vue2.js +126 -126
  66. package/dist/es/index.js +0 -1
  67. package/dist/es/style.css +99 -225
  68. package/package.json +2 -2
@@ -1,462 +1,474 @@
1
- import { deepCopy as e, isWorkflowPage as t, isArrayFn as s, getBaseUrl as n, getRealRestApiPath as o, packageTemplateFiles as i, upperFirstCase as a, getListCode as r } from "../common-util.js";
1
+ import { deepCopy as e, isWorkflowPage as t, isArrayFn as s, getBaseUrl as o, getRealRestApiPath as n, packageTemplateFiles as a, upperFirstCase as i, getListCode as r } from "../common-util.js";
2
2
  import c from "agilebuilder-ui/src/utils/request";
3
- import { getI18n as u } from "agilebuilder-ui/src/utils/util";
4
- import { ElMessage as l, ElMessageBox as p } from "element-plus";
5
- import { getToken as d, getSessionCache as m, setSessionCache as f } from "agilebuilder-ui/src/utils/auth";
6
- import { getComponentRef as g } from "../global-refs.js";
3
+ import { getI18n as l } from "agilebuilder-ui/src/utils/util";
4
+ import { ElMessage as u, ElMessageBox as p } from "element-plus";
5
+ import { getToken as d, getSessionCache as m, setSessionCache as g } from "agilebuilder-ui/src/utils/auth";
6
+ import { getComponentRef as f } from "../global-refs.js";
7
7
  import b from "../eventBus.js";
8
- import "axios";
9
- import { handleEvent as C, getTableUuid as T, doAfterClickEvent as y } from "./event-util.js";
8
+ import C from "axios";
9
+ import { handleEvent as T, getTableUuid as y, doAfterClickEvent as h } from "./event-util.js";
10
10
  import { setStoreInfo as P } from "../store-util.js";
11
- import { getPermissionCodes as h, getDefaultValue as w, getModelFields as k } from "../page-init-util.js";
12
- import { updateChartDatasources as R, caculateShowCondition as M, getVariableValue as N, setVariableValue as v } from "../page-helper-util.js";
13
- import S from "./print-label.js";
14
- import { getTableNameByTableUuid as I } from "../table-utils.js";
15
- import { getWorkflowRules as x, packageCustomRules as A } from "./validator-util.js";
11
+ import { getPermissionCodes as w, getDefaultValue as k, getModelFields as v } from "../page-init-util.js";
12
+ import { updateChartDatasources as M, caculateShowCondition as R, getVariableValue as N, setVariableValue as S } from "../page-helper-util.js";
13
+ import I from "./print-label.js";
14
+ import { getTableNameByTableUuid as x } from "../table-utils.js";
15
+ import { getWorkflowRules as A, packageCustomRules as O } from "./validator-util.js";
16
16
  import { functions as U } from "../api/page-expose-util.js";
17
- import { usePageContextStore as O } from "../page-store.js";
18
- const E = { save: function(e2) {
19
- return D(e2, false);
17
+ import { usePageContextStore as E } from "../page-store.js";
18
+ const _ = { save: function(e2) {
19
+ return console.log("表单标准事件保存save--params=", e2), L(e2, false);
20
20
  }, saveList: function(e2) {
21
- return D(e2, true);
21
+ return console.log("列表标准事件保存saveList--params=", e2), L(e2, true);
22
22
  }, exportForm: function(e2) {
23
+ console.log("表单标准事件导出报告exportForm--params=", e2);
23
24
  const t2 = e2.pageContext.code + "_";
24
25
  b.$emit(t2 + "export-form-report", e2);
25
26
  }, exportPDF: function(e2) {
27
+ console.log("表单标准事件导出报告exportPDF--params=", e2);
26
28
  const t2 = e2.pageContext.code + "_";
27
29
  b.$emit(t2 + "export-pdf-report", e2);
28
30
  }, submit: function(e2) {
29
- return G(e2, false, "submit", "/dsc/commons/submits");
31
+ return console.log("表单标准事件提交submit--params=", e2), J(e2, false, "submit", "/dsc/commons/submits");
30
32
  }, submitList: function(e2) {
31
- return G(e2, true, "submit", "/dsc/commons/batch-submits");
33
+ return console.log("列表标准事件提交submitList--params=", e2), J(e2, true, "submit", "/dsc/commons/batch-submits");
32
34
  }, agree: function(e2) {
33
- return G(e2, false, "agree", "/dsc/commons/approves");
35
+ return console.log("表单标准事件同意agree--params=", e2), J(e2, false, "agree", "/dsc/commons/approves");
34
36
  }, agreeList: function(e2) {
35
- return G(e2, true, "agree", "/dsc/commons/batch-approves");
37
+ return console.log("列表标准事件同意agreeList--params=", e2), J(e2, true, "agree", "/dsc/commons/batch-approves");
36
38
  }, disagree: function(e2) {
37
- return G(e2, false, "disagree", "/dsc/commons/refuses");
39
+ return console.log("表单标准事件不同意disagree--params=", e2), J(e2, false, "disagree", "/dsc/commons/refuses");
38
40
  }, disagreeList: function(e2) {
39
- return G(e2, true, "disagree", "/dsc/commons/batch-refuses");
41
+ return console.log("列表标准事件不同意disagreeList--params=", e2), J(e2, true, "disagree", "/dsc/commons/batch-refuses");
40
42
  }, back: function(e2) {
43
+ console.log("表单标准事件返回back--params=", e2);
41
44
  const t2 = e2.pageContext;
42
- $(t2, t2.entity ? t2.entity.data : {}, !(!e2.configureObj.props || !e2.configureObj.props.base) && e2.configureObj.props.base.isNeedValueMapping);
45
+ H(t2, t2.entity ? t2.entity.data : {}, !(!e2.configureObj.props || !e2.configureObj.props.base) && e2.configureObj.props.base.isNeedValueMapping);
43
46
  }, delete: function(e2) {
44
- return function(e3) {
45
- return new Promise((s2, i2) => {
46
- const a2 = e3.ids;
47
- if (!a2 || 0 === a2.length) return l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.pleaseSelectRecord") }), void s2(true);
48
- p.confirm(u().t("superPageRuntimeMessage.whetherToConfirmDeletion"), u().t("superPageRuntimeMessage.tips"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
47
+ return console.log("列表标准事件删除delete--params=", e2), function(e3) {
48
+ return new Promise((s2, a2) => {
49
+ const i2 = e3.ids;
50
+ if (!i2 || 0 === i2.length) return u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.pleaseSelectRecord") }), void s2(true);
51
+ p.confirm(l().t("superPageRuntimeMessage.whetherToConfirmDeletion"), l().t("superPageRuntimeMessage.tips"), { confirmButtonText: l().t("superPageRuntimeMessage.sure"), cancelButtonText: l().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
49
52
  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 = I(r2, m2);
51
- let b2 = n(d2, r2.isTest) + "/dsc/commons/" + f2;
52
- b2 = o(b2, p2, d2, r2.isTest);
53
- const C2 = void 0 === l2.isPermission || "true" === l2.isPermission || l2.isPermission, T2 = t(r2), y2 = h(u2, r2), P2 = { ids: a2, functionCode: y2, isPermission: C2 + "", systemCode: p2, isWorkflowEntity: T2, listCodesMap: r2.listCodesMap, pageCode: r2.code, pageVersion: r2.version };
54
- r2.beanName && (P2.beanName = r2.beanName);
55
- const w2 = u2.props.deleteLogicSetting;
56
- w2 && ("object" == typeof w2 ? P2.deleteLogicSetting = JSON.stringify(w2) : "string" == typeof w2 && (P2.deleteLogicSetting = w2));
57
- const k2 = (_a = u2.props.base) == null ? void 0 : _a.logSetting;
58
- k2 && (P2.logSettingText = k2.join(""));
59
- const R2 = u2.props.base.isSafeDelete;
60
- R2 && (P2.isSafeDelete = R2), c.delete(b2, { data: P2 }).then((e4) => {
61
- const t2 = g(r2, m2);
62
- t2 && (t2.isDeleteChange(true), t2.clearSelections()), V(r2, u2, e4, "superPageRuntimeMessage.successfulDelete", true), s2(true);
53
+ 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, g2 = x(r2, m2);
54
+ let b2 = o(d2, r2.isTest) + "/dsc/commons/" + g2;
55
+ b2 = n(b2, p2, d2, r2.isTest);
56
+ const C2 = void 0 === u2.isPermission || "true" === u2.isPermission || u2.isPermission, T2 = t(r2), y2 = w(l2, r2), h2 = { ids: i2, functionCode: y2, isPermission: C2 + "", systemCode: p2, isWorkflowEntity: T2, listCodesMap: r2.listCodesMap, pageCode: r2.code, pageVersion: r2.version };
57
+ r2.beanName && (h2.beanName = r2.beanName);
58
+ const P2 = l2.props.deleteLogicSetting;
59
+ P2 && ("object" == typeof P2 ? h2.deleteLogicSetting = JSON.stringify(P2) : "string" == typeof P2 && (h2.deleteLogicSetting = P2));
60
+ const k2 = (_a = l2.props.base) == null ? void 0 : _a.logSetting;
61
+ k2 && (h2.logSettingText = k2.join(""));
62
+ const v2 = l2.props.base.isSafeDelete;
63
+ v2 && (h2.isSafeDelete = v2), c.delete(b2, { data: h2 }).then((e4) => {
64
+ const t2 = f(r2, m2);
65
+ t2 && (t2.isDeleteChange(true), t2.clearSelections()), V(r2, l2, e4, "superPageRuntimeMessage.successfulDelete", true), s2(true);
63
66
  }).catch((e4) => {
64
- i2(e4);
67
+ a2(e4);
65
68
  });
66
69
  }).catch(() => {
67
- i2();
70
+ a2();
68
71
  });
69
72
  });
70
73
  }(e2);
71
74
  }, downloadTemplate: function(e2) {
72
- !function(e3) {
75
+ console.log("列表标准事件下载导入模板downloadTemplate--params=", e2), function(e3) {
73
76
  var _a;
74
- const t2 = e3.pageContext, s2 = e3.configureObj, o2 = s2.props.base, a2 = i(o2.templateFiles);
77
+ const t2 = e3.pageContext, s2 = e3.configureObj, n2 = s2.props.base, i2 = a(n2.templateFiles);
75
78
  let r2, c2;
76
- a2 && a2.length > 0 && (r2 = a2[0].templateUuid, c2 = a2[0].templateName);
77
- const u2 = t2.systemCode, l2 = t2.backendUrl, p2 = c2;
78
- let f2 = "?1=1";
79
- r2 && p2 && "undefined" !== r2 && "undefined" !== p2 && "null" !== r2 && "null" !== p2 ? f2 += "&fileName=" + encodeURI(r2) + "&showName=" + encodeURI(p2) : p2 ? f2 += "&showName=" + encodeURI(p2) : t2.label && (f2 += "&showName=" + encodeURI(t2.label) + ".xlsx");
80
- const g2 = (_a = s2.props.base) == null ? void 0 : _a.logSetting;
81
- g2 && (f2 += "&logSettingText=" + g2.join(""));
82
- u2 && (f2 += "&systemCode=" + u2);
79
+ i2 && i2.length > 0 && (r2 = i2[0].templateUuid, c2 = i2[0].templateName);
80
+ const l2 = t2.systemCode, u2 = t2.backendUrl, p2 = c2;
81
+ let g2 = "?1=1";
82
+ r2 && p2 && "undefined" !== r2 && "undefined" !== p2 && "null" !== r2 && "null" !== p2 ? g2 += "&fileName=" + encodeURI(r2) + "&showName=" + encodeURI(p2) : p2 ? g2 += "&showName=" + encodeURI(p2) : t2.label && (g2 += "&showName=" + encodeURI(t2.label) + ".xlsx");
83
+ const f2 = (_a = s2.props.base) == null ? void 0 : _a.logSetting;
84
+ f2 && (g2 += "&logSettingText=" + f2.join(""));
85
+ l2 && (g2 += "&systemCode=" + l2);
83
86
  const b2 = e3.listCode;
84
- b2 && (f2 += "&listCode=" + b2);
85
- t2.beanName && (f2 += "&beanName=" + t2.beanName);
86
- const C2 = h(s2, t2);
87
- C2 && (f2 += "&functionCode=" + C2);
88
- t2.tableName && (f2 += "&tableName=" + t2.tableName);
89
- t2.code && (f2 += "&pageCode=" + t2.code);
90
- t2.version && (f2 += "&pageVersion=" + t2.version);
87
+ b2 && (g2 += "&listCode=" + b2);
88
+ t2.beanName && (g2 += "&beanName=" + t2.beanName);
89
+ const C2 = w(s2, t2);
90
+ C2 && (g2 += "&functionCode=" + C2);
91
+ t2.tableName && (g2 += "&tableName=" + t2.tableName);
92
+ t2.code && (g2 += "&pageCode=" + t2.code);
93
+ t2.version && (g2 += "&pageVersion=" + t2.version);
91
94
  const T2 = d();
92
- T2 && (f2 += "&JWT=" + T2);
93
- const y2 = "_RUN_CURRENT_ROLE", P2 = m(y2);
94
- P2 && (f2 += "&" + y2 + "=" + P2);
95
- if (o2) {
96
- f2 += "&isPermission=" + (void 0 === o2.isPermission || "true" === o2.isPermission || o2.isPermission);
95
+ T2 && (g2 += "&JWT=" + T2);
96
+ const y2 = "_RUN_CURRENT_ROLE", h2 = m(y2);
97
+ h2 && (g2 += "&" + y2 + "=" + h2);
98
+ if (n2) {
99
+ g2 += "&isPermission=" + (void 0 === n2.isPermission || "true" === n2.isPermission || n2.isPermission);
97
100
  }
98
- const w2 = n(l2, t2.isTest);
99
- window.open(w2 + "/dsc/commons/download-files" + f2);
101
+ const P2 = o(u2, t2.isTest);
102
+ window.open(P2 + "/dsc/commons/download-files" + g2);
100
103
  }(e2);
101
104
  }, import: function(e2) {
105
+ console.log("列表标准事件 导入import--params=", e2);
102
106
  const t2 = e2.pageContext.code + "_";
103
107
  b.$emit(t2 + "import-file", e2);
104
108
  }, export: function(e2) {
105
- return function(e3) {
109
+ return console.log("列表标准事件 导出export--params=", e2), function(e3) {
106
110
  return new Promise((t2, s2) => {
107
- const n2 = e3.pageContext, o2 = e3.configureObj.props.base, i2 = e3.listCode, a2 = e3.selections, r2 = {};
108
- a2 && a2.length > 0 && (r2.data = a2);
109
- let c2 = n2.label;
110
- c2 || (c2 = n2.code);
111
- let u2 = false;
112
- u2 = void 0 !== o2.isAsync && null !== o2.isAsync && o2.isAsync;
113
- const l2 = void 0 === o2.isPermission || "true" === o2.isPermission || o2.isPermission, p2 = h(e3.configureObj, n2), d2 = c2, m2 = { backendUrl: n2.backendUrl, pageContext: n2 };
114
- window.$vueApp.config.globalProperties.$exportDataNew(r2, d2, i2, p2, null, m2, u2, n2.code, l2);
111
+ const o2 = e3.pageContext, n2 = e3.configureObj.props.base, a2 = e3.listCode, i2 = e3.selections, r2 = {};
112
+ i2 && i2.length > 0 && (r2.data = i2);
113
+ let c2 = o2.label;
114
+ c2 || (c2 = o2.code);
115
+ let l2 = false;
116
+ l2 = void 0 !== n2.isAsync && null !== n2.isAsync && n2.isAsync;
117
+ const u2 = void 0 === n2.isPermission || "true" === n2.isPermission || n2.isPermission, p2 = w(e3.configureObj, o2), d2 = c2, m2 = { backendUrl: o2.backendUrl, pageContext: o2 };
118
+ console.log("exportFunc======exportOptions=", m2), window.$vueApp.config.globalProperties.$exportDataNew(r2, d2, a2, p2, null, m2, l2, o2.code, u2);
115
119
  });
116
120
  }(e2);
117
121
  }, search: function(e2) {
122
+ console.log("列表标准事件 刷新列表 search--params=", e2);
118
123
  const t2 = e2.pageContext, s2 = e2.tableUuid;
119
- g(t2, s2).refresh();
124
+ f(t2, s2).refresh();
120
125
  }, showSearch: function(e2) {
126
+ console.log("列表标准事件 显示查询区域 showSearch--params=", e2);
121
127
  const t2 = e2.pageContext, s2 = e2.tableUuid;
122
- g(t2, s2).showMobileSearch();
128
+ f(t2, s2).showMobileSearch();
123
129
  }, workflowSave: function(e2) {
124
- return b.$emit("clearTableAllStartEditing"), async function(e3) {
130
+ return console.log("流程表单标准事件 暂存workflowSave--params=", e2), async function(e3) {
125
131
  return new Promise((t2, s2) => {
126
- const i2 = e3.pageContext, a2 = i2.entity.data, r2 = i2.systemCode, p2 = i2.backendUrl;
127
- let d2 = n(p2, i2.isTest) + "/dsc/workflow-commons";
128
- if (d2 = o(d2, r2, p2, i2.isTest), !d2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
129
- const m2 = z(e3);
130
- let f2;
131
- f2 = a2.id || a2.ID ? c.put(d2, m2) : c.post(d2, m2), f2.then((s3) => {
132
- let n2 = true;
133
- s3 && (n2 = K(s3, false, i2, e3, null)), true === n2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulSave") }), b.$emit("clearTableAllEndEditing"), t2(true);
132
+ const a2 = e3.pageContext, i2 = a2.entity.data, r2 = a2.systemCode, p2 = a2.backendUrl;
133
+ let d2 = o(p2, a2.isTest) + "/dsc/workflow-commons";
134
+ if (d2 = n(d2, r2, p2, a2.isTest), !d2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
135
+ const m2 = K(e3);
136
+ let g2;
137
+ g2 = i2.id || i2.ID ? c.put(d2, m2) : c.post(d2, m2), g2.then((s3) => {
138
+ let o2 = true;
139
+ s3 && (o2 = Q(s3, false, a2, e3, null)), true === o2 && u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulSave") }), t2(true);
134
140
  }).catch((e4) => {
135
141
  s2(e4);
136
142
  });
137
143
  });
138
144
  }(e2);
139
145
  }, submitProcess: function(e2) {
140
- var _a;
141
- return b.$emit("clearTableAllStartEditing"), (_a = $agilebuilderUIStore == null ? void 0 : $agilebuilderUIStore.dispatch) == null ? void 0 : _a.call($agilebuilderUIStore, "clearAllEditing"), function(e3) {
146
+ return console.log("流程表单标准事件 提交流程submitProcess--params=", e2), function(e3) {
142
147
  return new Promise((t2, s2) => {
143
- const i2 = e3.pageContext, a2 = i2.systemCode, r2 = i2.backendUrl;
144
- let p2 = n(r2, i2.isTest) + "/dsc/workflow-commons/submit";
145
- if (p2 = o(p2, a2, r2, i2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
146
- const d2 = z(e3), m2 = c.post(p2, d2);
148
+ const a2 = e3.pageContext, i2 = a2.systemCode, r2 = a2.backendUrl;
149
+ let p2 = o(r2, a2.isTest) + "/dsc/workflow-commons/submit";
150
+ if (p2 = n(p2, i2, r2, a2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
151
+ const d2 = K(e3), m2 = c.post(p2, d2);
147
152
  m2 && m2.then((s3) => {
148
- let n2 = true;
149
- s3 && (n2 = K(s3, false, i2, e3, null)), true === n2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulSubmit") }), b.$emit("clearTableAllEndEditing"), t2(true);
153
+ let o2 = true;
154
+ s3 && (o2 = Q(s3, false, a2, e3, null)), true === o2 && u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulSubmit") }), t2(true);
150
155
  }).catch((e4) => {
151
156
  s2(e4);
152
157
  });
153
158
  });
154
159
  }(e2);
155
160
  }, submitTask: function(e2) {
156
- return Q(e2, "SUBMIT");
161
+ return console.log("流程表单标准事件 提交任务submitTask--params=", e2), X(e2, "SUBMIT");
157
162
  }, approve: function(e2) {
158
- return Q(e2, "APPROVE");
163
+ return console.log("流程表单标准事件 同意approve--params=", e2), X(e2, "APPROVE");
159
164
  }, refuse: function(e2) {
160
- return Q(e2, "REFUSE");
165
+ return console.log("流程表单标准事件 不同意refuse--params=", e2), X(e2, "REFUSE");
161
166
  }, readed: function(e2) {
162
- return Q(e2, "READED");
167
+ return console.log("流程表单标准事件 已阅readed--params=", e2), X(e2, "READED");
163
168
  }, agreement: function(e2) {
164
- return Q(e2, "AGREEMENT");
169
+ return console.log("流程表单标准事件 赞成agreement--params=", e2), X(e2, "AGREEMENT");
165
170
  }, oppose: function(e2) {
166
- return Q(e2, "OPPOSE");
171
+ return console.log("流程表单标准事件 反对oppose--params=", e2), X(e2, "OPPOSE");
167
172
  }, kiken: function(e2) {
168
- return Q(e2, "KIKEN");
173
+ return console.log("流程表单标准事件 弃权kiken--params=", e2), X(e2, "KIKEN");
169
174
  }, assign: function(e2) {
170
- return function(e3) {
175
+ return console.log("流程表单标准事件 指派assign--params=", e2), function(e3) {
171
176
  const t2 = e3.pageContext, s2 = t2.code + "_";
172
177
  b.$emit(s2 + "assign-task", e3);
173
178
  }(e2);
174
179
  }, copyTask: function(e2) {
175
- return function(e3) {
180
+ return console.log("流程表单标准事件 抄送copyTask--params=", e2), function(e3) {
176
181
  const t2 = e3.pageContext, s2 = t2.code + "_";
177
182
  b.$emit(s2 + "copy-task", e3);
178
183
  }(e2);
179
184
  }, addSigner: function(e2) {
180
- return function(e3) {
185
+ return console.log("流程表单标准事件 加签addSigner--params=", e2), function(e3) {
181
186
  const t2 = e3.pageContext, s2 = t2.code + "_";
182
187
  b.$emit(s2 + "add-signer", e3);
183
188
  }(e2);
184
189
  }, drawTask: function(e2) {
185
- return function(e3) {
186
- const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/draw-tasks", i2 = z(e3);
187
- return ne(e3, i2, o2, "superPageRuntimeMessage.successfulDrawTask");
190
+ return console.log("流程表单标准事件 领取drawTask--params=", e2), function(e3) {
191
+ const t2 = e3.pageContext, s2 = t2.backendUrl, n2 = o(s2, t2.isTest) + "/dsc/workflow-commons/draw-tasks", a2 = K(e3);
192
+ return ne(e3, a2, n2, "superPageRuntimeMessage.successfulDrawTask");
188
193
  }(e2);
189
194
  }, abandonReceive: function(e2) {
190
- return function(e3) {
191
- const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/abandon-receives", i2 = z(e3);
192
- return ne(e3, i2, o2, "superPageRuntimeMessage.successfulAbandonReceive");
195
+ return console.log("流程表单标准事件 放弃领取abandonReceive--params=", e2), function(e3) {
196
+ const t2 = e3.pageContext, s2 = t2.backendUrl, n2 = o(s2, t2.isTest) + "/dsc/workflow-commons/abandon-receives", a2 = K(e3);
197
+ return ne(e3, a2, n2, "superPageRuntimeMessage.successfulAbandonReceive");
193
198
  }(e2);
194
199
  }, returnToPreviousTask: function(e2) {
195
- return function(e3) {
196
- const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", i2 = z(e3);
197
- return ne(e3, i2, o2, "superPageRuntimeMessage.successfulReturnToPreviousTask");
200
+ return console.log("流程表单标准事件 驳回returnToPreviousTask--params=", e2), function(e3) {
201
+ const t2 = e3.pageContext, s2 = t2.backendUrl, n2 = o(s2, t2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", a2 = K(e3);
202
+ return ne(e3, a2, n2, "superPageRuntimeMessage.successfulReturnToPreviousTask");
198
203
  }(e2);
199
204
  }, endInstance: function(e2) {
200
- return function(e3) {
201
- const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/end-instance", i2 = z(e3);
202
- return ne(e3, i2, o2, "superPageRuntimeMessage.successfulEndInstance");
205
+ return console.log("流程表单标准事件 强制结束endInstance--params=", e2), function(e3) {
206
+ const t2 = e3.pageContext, s2 = t2.backendUrl, n2 = o(s2, t2.isTest) + "/dsc/workflow-commons/end-instance", a2 = K(e3);
207
+ return ne(e3, a2, n2, "superPageRuntimeMessage.successfulEndInstance");
203
208
  }(e2);
204
209
  }, returnTaskTo: function(e2) {
205
- return function(e3) {
210
+ return console.log("流程表单标准事件 退回returnTaskTo--params=", e2), function(e3) {
206
211
  const t2 = e3.pageContext, s2 = t2.code + "_";
207
212
  b.$emit(s2 + "choose-return-node", e3);
208
213
  }(e2);
209
214
  }, removeSigner: function(e2) {
210
- return function(e3) {
215
+ return console.log("流程表单标准事件 减签removeSigner--params=", e2), function(e3) {
211
216
  const t2 = e3.pageContext, s2 = t2.code + "_";
212
217
  b.$emit(s2 + "remove-signer", e3);
213
218
  }(e2);
214
219
  }, retrieveTask: function(e2) {
215
- return function(e3) {
216
- const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/retrieves", i2 = z(e3);
217
- return ne(e3, i2, o2, "superPageRuntimeMessage.successfulRetrieve");
220
+ return console.log("流程表单标准事件 取回retrieveTask--params=", e2), function(e3) {
221
+ const t2 = e3.pageContext, s2 = t2.backendUrl, n2 = o(s2, t2.isTest) + "/dsc/workflow-commons/retrieves", a2 = K(e3);
222
+ return ne(e3, a2, n2, "superPageRuntimeMessage.successfulRetrieve");
218
223
  }(e2);
219
224
  }, viewDetail: function(e2) {
220
225
  }, lineEditCreate: function(e2) {
221
- return function(e3) {
222
- const t2 = e3.pageContext, s2 = e3.tableUuid, n2 = g(t2, s2);
223
- n2 && (e3.getDefaultValueFunc = w, n2.createRow(e3.listCode, {}, e3));
226
+ return console.log("列表行编辑 新建lineEditCreate--params=", e2), function(e3) {
227
+ const t2 = e3.pageContext, s2 = e3.tableUuid, o2 = f(t2, s2);
228
+ o2 && (e3.getDefaultValueFunc = k, o2.createRow(e3.listCode, {}, e3));
224
229
  }(e2);
225
230
  }, printLabel: function(e2) {
226
- return function(e3) {
231
+ return console.log("打印标签 打印标签事件--params=", e2), function(e3) {
227
232
  let t2 = null;
228
233
  try {
229
234
  if (t2 = e3.menuItem ? e3.menuItem.templateUuid : e3.configureObj.props.base.template[0].templateUuid, !t2) throw new Error("未找到模板");
230
- } catch (e4) {
235
+ } catch (t3) {
236
+ console.error("打印标签失败,未在配置中找到找到模板", t3, e3);
231
237
  }
232
- S.printLabel(e3, t2);
238
+ I.printLabel(e3, t2);
233
239
  }(e2);
234
240
  }, queryCharts: function(e2) {
235
- _(e2);
241
+ console.log("查询统计图--params=", e2), j(e2);
236
242
  }, resetCharts: function(t2) {
237
243
  var _a, _b;
244
+ console.log("重置统计图--params=", t2);
238
245
  const s2 = t2.pageContext;
239
- s2.entity.data = e((_a = s2.initChartData) == null ? void 0 : _a.data), s2.entity.page = e((_b = s2.initChartData) == null ? void 0 : _b.page), t2.isInitChart = true, _(t2);
246
+ s2.entity.data = e((_a = s2.initChartData) == null ? void 0 : _a.data), s2.entity.page = e((_b = s2.initChartData) == null ? void 0 : _b.page), t2.isInitChart = true, j(t2);
240
247
  }, exportCharts: function(e2) {
241
- !function(e3) {
248
+ console.log("导出统计图--params=", e2), function(e3) {
242
249
  const t2 = e3.pageContext, s2 = t2.allChartUuids;
243
- if (!s2 || 0 == s2.length) return;
244
- const o2 = e3.configureObj;
245
- let i2 = null;
246
- o2 && o2.runtime && (i2 = o2.runtime.props);
247
- const a2 = i2 ? i2.state : void 0;
248
- i2 && (i2.state = "disabled");
250
+ if (!s2 || 0 == s2.length) return void console.log("无需要导出的统计图数据");
251
+ const n2 = e3.configureObj;
252
+ let a2 = null;
253
+ n2 && n2.runtime && (a2 = n2.runtime.props);
254
+ const i2 = a2 ? a2.state : void 0;
255
+ a2 && (a2.state = "disabled");
249
256
  const r2 = [];
250
257
  for (let e4 = 0; e4 < s2.length; e4++) {
251
- const n2 = s2[e4], o3 = g(t2, n2);
252
- if (o3) {
253
- const e5 = o3.getConfigure();
254
- e5 && e5.exportable && e5._dynamicShowFlag && o3.exportChart && r2.push(o3.exportChart());
258
+ const o2 = s2[e4], n3 = f(t2, o2);
259
+ if (n3) {
260
+ const e5 = n3.getConfigure();
261
+ e5 && e5.exportable && e5._dynamicShowFlag && n3.exportChart && r2.push(n3.exportChart());
255
262
  }
256
263
  }
257
- if (!r2 || 0 == r2.length) return;
258
- let u2, l2 = t2.label;
264
+ if (!r2 || 0 == r2.length) return void console.log("无需要导出的统计图数据");
265
+ let c2, l2 = t2.label;
259
266
  l2 || (l2 = t2.code);
260
- u2 = l2;
261
- const p2 = { reportDataList: r2, beanName: t2.beanName }, d2 = t2.backendUrl, m2 = n(d2, t2.isTest) + "/dsc/commons/exportChart";
262
- c.post(m2, p2, { responseType: "blob" }).then((e4) => {
267
+ c2 = l2;
268
+ const u2 = { reportDataList: r2, beanName: t2.beanName }, p2 = t2.backendUrl;
269
+ let m2;
270
+ const g2 = o(p2, t2.isTest) + "/dsc/commons/exportChart";
271
+ C.defaults.headers.common.Authorization = d(), m2 = C.post(g2, u2, { responseType: "blob" }), m2.then((e4) => {
263
272
  const t3 = document.createElement("a");
264
- t3.style.display = "none", t3.href = URL.createObjectURL(e4.data), t3.setAttribute("download", u2 + ".xlsx"), document.body.appendChild(t3), t3.click(), document.body.removeChild(t3);
273
+ 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);
265
274
  }).finally(() => {
266
- i2 && (i2.state = a2);
275
+ a2 && (a2.state = i2);
267
276
  });
268
277
  }(e2);
269
278
  }, saveQueryCharts: function(e2) {
270
- !function(e3) {
271
- const t2 = e3.pageContext, s2 = e3.configureObj, n2 = t2.code + "_";
272
- b.$emit(n2 + "save-chart-condition", { pageContext: t2, configureObj: s2 });
279
+ console.log("保存统计图条件--params=", e2), function(e3) {
280
+ const t2 = e3.pageContext, s2 = e3.configureObj, o2 = t2.code + "_";
281
+ b.$emit(o2 + "save-chart-condition", { pageContext: t2, configureObj: s2 });
273
282
  }(e2);
274
283
  } };
275
- function _(e2) {
284
+ function j(e2) {
276
285
  const t2 = e2.pageContext, s2 = t2.initChartServiceConfigs;
277
- if (!s2 || 0 == s2.length) return;
278
- const n2 = e2.configureObj;
279
- let o2 = null;
280
- n2 && n2.runtime && (o2 = n2.runtime.props);
281
- const i2 = o2 ? o2.state : void 0;
282
- o2 && (o2.state = "disabled"), R(t2, s2, void 0, e2.isInitChart).then(() => {
283
- o2 && (o2.state = i2);
286
+ if (!s2 || 0 == s2.length) return void console.log("无需要查询的统计图数据");
287
+ const o2 = e2.configureObj;
288
+ let n2 = null;
289
+ o2 && o2.runtime && (n2 = o2.runtime.props);
290
+ const a2 = n2 ? n2.state : void 0;
291
+ n2 && (n2.state = "disabled"), M(t2, s2, void 0, e2.isInitChart).then(() => {
292
+ n2 && (n2.state = a2);
284
293
  }).catch(() => {
285
- o2 && (o2.state = i2);
294
+ n2 && (n2.state = a2);
286
295
  });
287
296
  }
288
- function j(e2, s2, o2, i2) {
297
+ function D(e2, s2, n2, a2) {
289
298
  var _a;
290
- const a2 = o2.templateUuid, r2 = o2.templateName, u2 = e2.systemCode, l2 = (_a = s2.props.base) == null ? void 0 : _a.logSetting, p2 = t(e2), d2 = e2.beanName, m2 = s2.props.base, f2 = s2.tableName ? s2.tableName : e2.tableName, g2 = e2.backendUrl, b2 = U.getFormViewData(e2), C2 = void 0 === m2.isPermission || "true" === m2.isPermission || m2.isPermission, T2 = { entity: b2, fileName: a2, showName: r2, beanName: d2, isWorkflowForm: p2, functionCode: h(s2, e2), tableName: f2, isPermission: C2 + "", systemCode: u2, listCodesMap: e2.listCodesMap, pageCode: e2.code, pageVersion: e2.version };
291
- l2 && (T2.logSettingText = l2.join(""));
292
- const P2 = ee(e2);
293
- let w2;
294
- T2.additionalParamMap = P2, w2 = i2 ? function(e3, t2, s3, o3) {
295
- return new Promise((i3, a3) => {
296
- const r3 = n(t2, o3) + "/dsc/commons/export-pdf";
297
- c.post(r3, s3, { headers: { "content-type": "application/json" }, responseType: "blob" }).then((t3) => {
298
- const s4 = new Blob([t3.data]), n2 = document.createElement("a");
299
- 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), i3(true);
299
+ const i2 = n2.templateUuid, r2 = n2.templateName, c2 = e2.systemCode, l2 = (_a = s2.props.base) == null ? void 0 : _a.logSetting, u2 = t(e2), p2 = e2.beanName, m2 = s2.props.base, g2 = s2.tableName ? s2.tableName : e2.tableName, f2 = e2.backendUrl, b2 = U.getFormViewData(e2);
300
+ console.log("exportFormReport----viewModels=", b2);
301
+ const T2 = void 0 === m2.isPermission || "true" === m2.isPermission || m2.isPermission, y2 = { entity: b2, fileName: i2, showName: r2, beanName: p2, isWorkflowForm: u2, functionCode: w(s2, e2), tableName: g2, isPermission: T2 + "", systemCode: c2, listCodesMap: e2.listCodesMap, pageCode: e2.code, pageVersion: e2.version };
302
+ l2 && (y2.logSettingText = l2.join(""));
303
+ const P2 = te(e2);
304
+ let k2;
305
+ y2.additionalParamMap = P2, k2 = a2 ? function(e3, t2, s3, n3) {
306
+ return new Promise((a3, i3) => {
307
+ const r3 = o(t2, n3) + "/dsc/commons/export-pdf";
308
+ C.defaults.headers.common.Authorization = d();
309
+ C.post(r3, s3, { headers: { "content-type": "application/json" }, responseType: "blob" }).then((t3) => {
310
+ const s4 = new Blob([t3.data]), o2 = document.createElement("a");
311
+ o2.download = e3.substring(0, e3.lastIndexOf(".")) + ".pdf", o2.style.display = "none", o2.target = "_blank", o2.href = URL.createObjectURL(s4), document.body.appendChild(o2), o2.click(), URL.revokeObjectURL(o2.href), document.body.removeChild(o2), a3(true);
300
312
  }).catch((e4) => {
301
- a3(e4);
313
+ i3(e4);
302
314
  });
303
315
  });
304
- }(r2, g2, T2, e2.isTest) : function(e3, t2, s3, o3) {
305
- return new Promise((i3, a3) => {
306
- const r3 = n(t2, o3) + "/dsc/commons/export-reports";
307
- c.post(r3, s3, { responseType: "blob" }).then((t3) => {
316
+ }(r2, f2, y2, e2.isTest) : function(e3, t2, s3, n3) {
317
+ return new Promise((a3, i3) => {
318
+ const r3 = o(t2, n3) + "/dsc/commons/export-reports";
319
+ C.defaults.headers.common.Authorization = d();
320
+ C.post(r3, s3, { responseType: "blob" }).then((t3) => {
308
321
  const s4 = new Blob([t3.data]);
309
- let n2 = "报告.xlsx";
310
- e3 && (n2 = e3);
311
- const o4 = document.createElement("a");
312
- o4.download = n2, o4.style.display = "none", o4.target = "_blank", o4.href = URL.createObjectURL(s4), document.body.appendChild(o4), o4.click(), URL.revokeObjectURL(o4.href), document.body.removeChild(o4), i3(true);
322
+ let o2 = "报告.xlsx";
323
+ e3 && (o2 = e3);
324
+ const n4 = document.createElement("a");
325
+ n4.download = o2, n4.style.display = "none", n4.target = "_blank", n4.href = URL.createObjectURL(s4), document.body.appendChild(n4), n4.click(), URL.revokeObjectURL(n4.href), document.body.removeChild(n4), a3(true);
313
326
  }).catch((e4) => {
314
- a3(e4);
327
+ i3(e4);
315
328
  });
316
329
  });
317
- }(r2, g2, T2, e2.isTest), w2 && w2.then(() => {
318
- y(e2, s2);
330
+ }(r2, f2, y2, e2.isTest), k2 && k2.then(() => {
331
+ h(e2, s2);
319
332
  });
320
333
  }
321
- function D(e2, t2) {
322
- return new Promise((s2, n2) => {
323
- const o2 = e2.pageContext, i2 = e2.configureObj, a2 = e2.mainDefaultValueColumns, r2 = e2.dynamicColumnInfo, c2 = i2.props.base.successOperation;
324
- let u2 = false;
325
- c2 && "noOperation" === c2 && (u2 = true);
326
- const l2 = W(o2, i2, "/dsc/commons", u2, a2, r2);
327
- l2 ? l2.then((e3) => {
328
- V(o2, i2, e3, "superPageRuntimeMessage.successfulSave", t2), s2(e3);
334
+ function L(e2, t2) {
335
+ return new Promise((s2, o2) => {
336
+ const n2 = e2.pageContext, a2 = e2.configureObj, i2 = e2.mainDefaultValueColumns, r2 = e2.dynamicColumnInfo, c2 = a2.props.base.successOperation;
337
+ let l2 = false;
338
+ c2 && "noOperation" === c2 && (l2 = true);
339
+ const u2 = F(n2, a2, "/dsc/commons", l2, i2, r2);
340
+ u2 ? u2.then((e3) => {
341
+ V(n2, a2, e3, "superPageRuntimeMessage.successfulSave", t2), s2(e3);
329
342
  }).catch((e3) => {
330
- n2(e3);
331
- }) : n2("保存时request不存在");
343
+ o2(e3);
344
+ }) : o2("保存时request不存在");
332
345
  });
333
346
  }
334
- function L(e2, n2, o2, i2, a2, r2, c2) {
347
+ function B(e2, o2, n2, a2, i2, r2, c2) {
335
348
  var _a;
336
- const u2 = t(e2), l2 = e2.systemCode, p2 = void 0 === n2.props.base.isPermission || "true" === n2.props.base.isPermission || n2.props.base.isPermission, d2 = h(n2, e2);
349
+ const l2 = t(e2), u2 = e2.systemCode, p2 = void 0 === o2.props.base.isPermission || "true" === o2.props.base.isPermission || o2.props.base.isPermission, d2 = w(o2, e2);
337
350
  let m2 = c2;
338
351
  m2 || (m2 = e2.entity.data);
339
- const f2 = { entity: m2, tableName: e2.tableName, formNoRuleCode: e2.formNoRuleCode, isWorkflowEntity: u2, functionCode: d2, isPermission: p2 + "", listCodesMap: e2.listCodesMap, pageCode: e2.code, pageVersion: e2.version };
340
- r2 && (f2.ids = r2), e2.judgeHeavyList && (s(e2.judgeHeavyList) ? f2.judgeHeavyList = JSON.stringify(e2.judgeHeavyList) : f2.judgeHeavyList = e2.judgeHeavyList);
341
- const g2 = n2.props.base.conversionCodes;
342
- g2 && (s(g2) ? f2.dataConversionRule = g2.join(",") : "string" == typeof g2 && (f2.dataConversionRule = g2));
343
- const b2 = de(n2);
344
- b2 && (f2.autoSetValueData = b2);
345
- const C2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
346
- C2 && (f2.logSettingText = C2.join("")), f2.systemCode || (f2.systemCode = l2);
352
+ const g2 = { entity: m2, tableName: e2.tableName, formNoRuleCode: e2.formNoRuleCode, isWorkflowEntity: l2, functionCode: d2, isPermission: p2 + "", listCodesMap: e2.listCodesMap, pageCode: e2.code, pageVersion: e2.version };
353
+ r2 && (g2.ids = r2), e2.judgeHeavyList && (s(e2.judgeHeavyList) ? g2.judgeHeavyList = JSON.stringify(e2.judgeHeavyList) : g2.judgeHeavyList = e2.judgeHeavyList);
354
+ const f2 = o2.props.base.conversionCodes;
355
+ f2 && (s(f2) ? g2.dataConversionRule = f2.join(",") : "string" == typeof f2 && (g2.dataConversionRule = f2)), console.log("getCommonFormRequestParam--------configureObj----", o2);
356
+ const b2 = me(o2);
357
+ b2 && (g2.autoSetValueData = b2);
358
+ const C2 = (_a = o2.props.base) == null ? void 0 : _a.logSetting;
359
+ C2 && (g2.logSettingText = C2.join("")), g2.systemCode || (g2.systemCode = u2);
347
360
  const T2 = e2.beanName;
348
- T2 && (f2.beanName = T2), a2 && (f2.dynamicColumnInfo = a2), i2 && (f2.mainDefaultValueColumns = i2);
349
- const y2 = ee(e2);
350
- return f2.additionalParamMap = y2, void 0 !== o2 && (f2.unControlVersion = o2), f2;
351
- }
352
- function B(e2, t2, s2, i2, a2, r2, u2, l2) {
353
- const p2 = e2.systemCode, d2 = e2.backendUrl, m2 = L(e2, t2, i2, a2, r2, null, u2);
354
- return l2 && l2.tableName && (m2.tableName = l2.tableName), function(e3, t3, s3, i3, a3, r3) {
355
- const u3 = n(t3, r3);
356
- let l3, p3 = u3 + i3;
357
- p3 = o(p3, e3, t3, r3), l3 = a3 && (a3.id || a3.ID) ? c.put(p3, s3) : c.post(p3, s3);
358
- return l3;
361
+ T2 && (g2.beanName = T2), i2 && (g2.dynamicColumnInfo = i2), a2 && (g2.mainDefaultValueColumns = a2);
362
+ const y2 = te(e2);
363
+ return g2.additionalParamMap = y2, void 0 !== n2 && (g2.unControlVersion = n2), g2;
364
+ }
365
+ function W(e2, t2, s2, a2, i2, r2, l2, u2) {
366
+ const p2 = e2.systemCode, d2 = e2.backendUrl, m2 = B(e2, t2, a2, i2, r2, null, l2);
367
+ return u2 && u2.tableName && (m2.tableName = u2.tableName), function(e3, t3, s3, a3, i3, r3) {
368
+ const l3 = o(t3, r3);
369
+ let u3, p3 = l3 + a3;
370
+ p3 = n(p3, e3, t3, r3), u3 = i3 && (i3.id || i3.ID) ? c.put(p3, s3) : c.post(p3, s3);
371
+ return u3;
359
372
  }(p2, d2, m2, s2, e2.entity.data, e2.isTest);
360
373
  }
361
- function W(e2, t2, s2, n2, o2, i2) {
362
- return B(e2, t2, s2, n2, o2, i2, null, null);
363
- }
364
- function V(t2, s2, n2, o2, i2) {
365
- const a2 = F(t2, s2, i2);
366
- a2 && "list" === a2 ? (!function(t3, s3, n3, o3) {
367
- let i3 = s3.props.base.successOperation;
368
- const a3 = s3.props.base.isNeedValueMapping, r2 = T(t3, s3);
369
- i3 || (i3 = "refresh");
370
- if ("refresh" === i3) {
371
- if (r2) {
372
- g(t3, r2).refresh();
373
- }
374
- } else if ("closeWindow" === i3 || "closeWindowAndRefresh" === i3) {
374
+ function F(e2, t2, s2, o2, n2, a2) {
375
+ return W(e2, t2, s2, o2, n2, a2, null, null);
376
+ }
377
+ function V(t2, s2, o2, n2, a2) {
378
+ const i2 = q(t2, s2, a2);
379
+ i2 && "list" === i2 ? (!function(t3, s3, o3, n3) {
380
+ let a3 = s3.props.base.successOperation;
381
+ const i3 = s3.props.base.isNeedValueMapping, r2 = y(t3, s3);
382
+ a3 || (a3 = "refresh");
383
+ if ("refresh" === a3) if (r2) {
384
+ f(t3, r2).refresh();
385
+ } else console.error("tableUuid is empty");
386
+ else if ("closeWindow" === a3 || "closeWindowAndRefresh" === a3) {
375
387
  const s4 = e(t3.entity.page);
376
- let o4 = n3;
377
- o4 || (o4 = {}), Object.assign(s4, o4), $(t3, s4, a3);
388
+ let n4 = o3;
389
+ n4 || (n4 = {}), Object.assign(s4, n4), H(t3, s4, i3);
378
390
  }
379
- o3 && l({ message: u().t(o3), type: "success", showClose: true });
380
- }(t2, s2, n2, o2), t2.canClick = true) : a2 && "form" === a2 ? function(e2, t3, s3, n3) {
391
+ n3 && u({ message: l().t(n3), type: "success", showClose: true });
392
+ }(t2, s2, o2, n2), t2.canClick = true) : i2 && "form" === i2 ? function(e2, t3, s3, o3) {
381
393
  if (s3) {
382
- const n4 = s3;
383
- let o3;
384
- o3 = n4.entity ? n4.entity : n4, n4.formNo && (e2.initFormNo = n4.formNo);
394
+ const o4 = s3;
395
+ let n3;
396
+ n3 = o4.entity ? o4.entity : o4, o4.formNo && (e2.initFormNo = o4.formNo);
385
397
  !function(e3, t4, s4) {
386
- const n5 = t4.props.base.successOperation;
387
- if (!n5 || null === n5) return;
388
- const o4 = t4.props.base.isNeedValueMapping;
389
- "noOperation" === n5 ? (s4 && (e3.entity.data = s4), e3.canClick = true) : "refresh" === n5 ? s4 && (s4.id || s4.ID) ? ue(e3, s4.ID ? s4.ID : s4.id) : e3.canClick = true : "closeWindow" !== n5 && "closeWindowAndRefresh" !== n5 || ($(e3, s4, o4), e3.canClick = true);
390
- }(e2, t3, { ...o3, ...e2.entity.page });
398
+ const o5 = t4.props.base.successOperation;
399
+ if (!o5 || null === o5) return;
400
+ const n4 = t4.props.base.isNeedValueMapping;
401
+ "noOperation" === o5 ? (s4 && (e3.entity.data = s4), e3.canClick = true) : "refresh" === o5 ? s4 && (s4.id || s4.ID) ? ue(e3, s4.ID ? s4.ID : s4.id) : e3.canClick = true : "closeWindow" !== o5 && "closeWindowAndRefresh" !== o5 || (H(e3, s4, n4), e3.canClick = true, console.log("afterSuccessOperateInForm--successOperation=--", o5));
402
+ }(e2, t3, { ...n3, ...e2.entity.page });
391
403
  } else e2.canClick = true;
392
- n3 && l({ message: u().t(n3), type: "success", showClose: true });
393
- }(t2, s2, n2, o2) : t2.canClick = true;
404
+ o3 && u({ message: l().t(o3), type: "success", showClose: true });
405
+ }(t2, s2, o2, n2) : t2.canClick = true;
394
406
  }
395
- function F(e2, t2, s2) {
396
- let n2;
397
- return void 0 === s2 ? n2 = t2.props.base.tableUuid ? "list" : null : false === s2 && (n2 = "form"), n2 || (n2 = e2.pageType), n2;
407
+ function q(e2, t2, s2) {
408
+ let o2;
409
+ return void 0 === s2 ? o2 = t2.props.base.tableUuid ? "list" : null : false === s2 && (o2 = "form"), o2 || (o2 = e2.pageType), o2;
398
410
  }
399
- function $(e2, t2, s2) {
400
- const n2 = e2.entity && e2.entity.request ? e2.entity.request.jumpMode : null;
401
- if ("openWindow" === n2 || "newTab" === n2) window.parent ? window.parent.close() : window.close();
411
+ function H(e2, t2, s2) {
412
+ const o2 = e2.entity && e2.entity.request ? e2.entity.request.jumpMode : null;
413
+ if ("openWindow" === o2 || "newTab" === o2) window.parent ? window.parent.close() : window.close();
402
414
  else {
403
- const o2 = e2.tableName, i2 = void 0 !== s2 && true === s2 && t2 && void 0 !== t2, a2 = (e2.entity && e2.entity.request ? e2.entity.request.parentPageCode : null) + "_";
404
- b.$emit(a2 + "close-dialog", { isNeedValueMapping: i2, dataModel: t2, sourceTableName: o2, jumpMode: n2 });
415
+ const n2 = e2.tableName, a2 = void 0 !== s2 && true === s2 && t2 && void 0 !== t2, i2 = (e2.entity && e2.entity.request ? e2.entity.request.parentPageCode : null) + "_";
416
+ b.$emit(i2 + "close-dialog", { isNeedValueMapping: a2, dataModel: t2, sourceTableName: n2, jumpMode: o2 });
405
417
  }
406
418
  }
407
- function q(e2, t2, s2, n2, o2) {
419
+ function $(e2, t2, s2, o2, n2) {
408
420
  var _a;
409
- o2 || (o2 = t2.runtime && t2.runtime.linkPage && t2.runtime.linkPage.valueMappings ? t2.runtime.linkPage.valueMappings : null) || (o2 = (_a = t2.props.linkPage) == null ? void 0 : _a.valueMappings);
410
- const i2 = e2.tableName;
411
- !function(e3, t3, s3) {
421
+ n2 || (n2 = t2.runtime && t2.runtime.linkPage && t2.runtime.linkPage.valueMappings ? t2.runtime.linkPage.valueMappings : null) || (n2 = (_a = t2.props.linkPage) == null ? void 0 : _a.valueMappings);
422
+ const a2 = e2.tableName;
423
+ console.log("update-value66-", s2, o2), function(e3, t3, s3) {
412
424
  if (e3 && null !== e3 && t3) {
413
- let n3 = e3;
414
- Array.isArray(e3) && e3.length > 0 && (n3 = e3[0]), t3.forEach((e4) => {
425
+ let o3 = e3;
426
+ Array.isArray(e3) && e3.length > 0 && (o3 = e3[0]), t3.forEach((e4) => {
415
427
  const t4 = e4.source;
416
428
  if (!t4) return;
417
- const o3 = t4.split("."), i3 = N(n3, o3), a2 = e4.target, r2 = k(null, a2);
418
- v(s3.entity, r2, i3);
429
+ const n3 = t4.split("."), a3 = N(o3, n3), i2 = e4.target, r2 = v(null, i2);
430
+ S(s3.entity, r2, a3);
419
431
  });
420
432
  }
421
- }(s2, o2, e2), C(null, e2, t2, "setValue", { sourceModel: s2, sourceTableName: n2, entity: e2.entity.data, targetTableName: i2 });
433
+ }(s2, n2, e2), T(null, e2, t2, "setValue", { sourceModel: s2, sourceTableName: o2, entity: e2.entity.data, targetTableName: a2 });
422
434
  }
423
- function H(e2, t2, s2, n2) {
435
+ function G(e2, t2, s2, o2) {
424
436
  var _a;
425
437
  t2 && !t2.props.base && (t2.props.base = {});
426
- let o2 = n2;
427
- o2 || (o2 = s2 ? "refresh" : (_a = t2.props.base) == null ? void 0 : _a.successOperation);
428
- const i2 = F(e2, t2);
429
- if (i2 && "list" === i2 && !o2 && (o2 = "refresh"), "refresh" === o2) {
430
- if (i2 && "list" === i2) {
431
- const s3 = T(e2, t2);
438
+ let n2 = o2;
439
+ n2 || (n2 = s2 ? "refresh" : (_a = t2.props.base) == null ? void 0 : _a.successOperation), console.log("refreshFormOrListPage22=====successOperation=", n2, "isRefreshWhenClosePopup=", s2);
440
+ const a2 = q(e2, t2);
441
+ if (console.log("refreshFormOrListPage22=====buttonForPageType=", a2), a2 && "list" === a2 && !n2 && (n2 = "refresh"), console.log("refreshFormOrListPage33=====successOperation=", n2), "refresh" === n2) {
442
+ if (a2 && "list" === a2) {
443
+ const s3 = y(e2, t2);
432
444
  if (s3) {
433
- g(e2, s3).refresh();
434
- }
435
- } else if (i2 && "form" === i2) {
445
+ f(e2, s3).refresh();
446
+ } else console.error("tableUuid is empty");
447
+ } else if (a2 && "form" === a2) {
436
448
  const t3 = e2.entity.data;
437
449
  ue(e2, t3.ID ? t3.ID : t3.id);
438
450
  }
439
451
  }
440
452
  }
441
- function G(e2, t2, s2, i2) {
442
- return new Promise((r2, l2) => {
443
- const d2 = e2.pageContext, m2 = e2.configureObj, f2 = e2.mainDefaultValueColumns, g2 = e2.dynamicColumnInfo, b2 = e2.ids, C2 = m2.props.base.successOperation;
453
+ function J(e2, t2, s2, a2) {
454
+ return new Promise((r2, u2) => {
455
+ const d2 = e2.pageContext, m2 = e2.configureObj, g2 = e2.mainDefaultValueColumns, f2 = e2.dynamicColumnInfo, b2 = e2.ids, C2 = m2.props.base.successOperation;
444
456
  let T2 = false;
445
457
  C2 && "noOperation" === C2 && (T2 = true);
446
458
  let y2 = d2.tableName;
447
459
  if (t2) {
448
460
  const t3 = m2.props.base.tableUuid ? m2.props.base.tableUuid : e2.tableUuid;
449
- y2 = I(d2, t3);
461
+ y2 = x(d2, t3);
450
462
  }
451
- const P2 = function(e3, t3, s3, i3, r3, l3, d3, m3, f3) {
452
- return new Promise((g3, b3) => {
453
- const C3 = t3.props.base.title, T3 = "superPageRuntimeMessage.whetherToConfirm" + a(d3);
454
- p.confirm(u().t(T3, { name: C3 }), u().t("superPageRuntimeMessage.tips"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
455
- const a2 = e3.systemCode, u2 = e3.backendUrl, p2 = L(e3, t3, i3, r3, l3, m3, null);
456
- p2.tableName = f3;
457
- let d4 = n(u2, e3.isTest) + s3;
458
- d4 = o(d4, a2, u2, e3.isTest), c.post(d4, p2).then((e4) => {
459
- g3(e4);
463
+ const h2 = function(e3, t3, s3, a3, r3, u3, d3, m3, g3) {
464
+ return new Promise((f3, b3) => {
465
+ const C3 = t3.props.base.title, T3 = "superPageRuntimeMessage.whetherToConfirm" + i(d3);
466
+ p.confirm(l().t(T3, { name: C3 }), l().t("superPageRuntimeMessage.tips"), { confirmButtonText: l().t("superPageRuntimeMessage.sure"), cancelButtonText: l().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
467
+ const i2 = e3.systemCode, l2 = e3.backendUrl, p2 = B(e3, t3, a3, r3, u3, m3, null);
468
+ p2.tableName = g3;
469
+ let d4 = o(l2, e3.isTest) + s3;
470
+ d4 = n(d4, i2, l2, e3.isTest), c.post(d4, p2).then((e4) => {
471
+ f3(e4);
460
472
  }).catch((e4) => {
461
473
  b3(e4);
462
474
  });
@@ -464,114 +476,115 @@ function G(e2, t2, s2, i2) {
464
476
  b3("点击了取消按钮");
465
477
  });
466
478
  });
467
- }(d2, m2, i2, T2, f2, g2, s2, b2, y2);
468
- P2 ? P2.then((e3) => {
479
+ }(d2, m2, a2, T2, g2, f2, s2, b2, y2);
480
+ h2 ? h2.then((e3) => {
469
481
  V(d2, m2, e3, "superPageRuntimeMessage.successfulSave", t2), r2(e3);
470
482
  }).catch((e3) => {
471
- l2(e3);
472
- }) : l2("request不存在");
483
+ u2(e3);
484
+ }) : u2("request不存在");
473
485
  });
474
486
  }
475
- function J(e2, s2) {
487
+ function z(e2, s2) {
476
488
  var _a;
477
- 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 = I(i2, d2), f2 = new FormData();
478
- f2.append("multipartFile", s2), m2 && f2.append("tableName", m2), i2.importBeanName && f2.append("importBeanName", i2.importBeanName), i2.beanName && f2.append("beanName", i2.beanName);
479
- const g2 = (_a = r2.props.importSetting) == null ? void 0 : _a.listViewImportDuplicate;
480
- g2 && f2.append("importDuplicateRule", g2);
481
- const b2 = i2.judgeHeavyList;
482
- b2 && f2.append("judgeHeavyList", JSON.stringify(b2));
483
- const C2 = de(a2);
484
- C2 && f2.append("autoSetValueData", C2);
485
- const T2 = i2.formNoRuleCode;
486
- T2 && f2.append("formNoRuleCode", T2);
487
- const P2 = e2.listCode;
488
- P2 && f2.append("listCode", P2);
489
- let w2 = false;
490
- w2 = void 0 !== p2.isAsync && null !== p2.isAsync && p2.isAsync, f2.append("isAsync", w2 + ""), f2.append("pageCode", i2.code);
491
- const k2 = t(i2);
492
- null != k2 && f2.append("isWorkflowEntity", k2 + "");
493
- const R2 = h(a2, i2);
494
- R2 && f2.append("functionCode", R2);
495
- const M2 = ee(i2);
496
- f2.append("additionalParamMapStr", JSON.stringify(M2));
497
- const N2 = void 0 === p2.isPermission || "true" === p2.isPermission || p2.isPermission;
498
- f2.append("isPermission", N2 + "");
499
- const v2 = i2.systemCode;
500
- v2 && f2.append("systemCode", v2);
501
- const S2 = i2.backendUrl;
502
- let x2 = n(S2, i2.isTest) + "/dsc/commons/import-data";
503
- x2 = o(x2, v2, S2, i2.isTest), c.post(x2, f2).then((e3) => {
504
- if (w2) l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.asyncImport") });
489
+ 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), g2 = new FormData();
490
+ g2.append("multipartFile", s2), m2 && g2.append("tableName", m2), a2.importBeanName && g2.append("importBeanName", a2.importBeanName), a2.beanName && g2.append("beanName", a2.beanName);
491
+ const f2 = (_a = r2.props.importSetting) == null ? void 0 : _a.listViewImportDuplicate;
492
+ f2 && g2.append("importDuplicateRule", f2);
493
+ const b2 = a2.judgeHeavyList;
494
+ b2 && g2.append("judgeHeavyList", JSON.stringify(b2));
495
+ const C2 = me(i2);
496
+ C2 && g2.append("autoSetValueData", C2);
497
+ const T2 = a2.formNoRuleCode;
498
+ T2 && g2.append("formNoRuleCode", T2);
499
+ const y2 = e2.listCode;
500
+ y2 && g2.append("listCode", y2);
501
+ let P2 = false;
502
+ P2 = void 0 !== p2.isAsync && null !== p2.isAsync && p2.isAsync, g2.append("isAsync", P2 + ""), g2.append("pageCode", a2.code);
503
+ const k2 = t(a2);
504
+ null != k2 && g2.append("isWorkflowEntity", k2 + "");
505
+ const v2 = w(i2, a2);
506
+ v2 && g2.append("functionCode", v2);
507
+ const M2 = te(a2);
508
+ g2.append("additionalParamMapStr", JSON.stringify(M2));
509
+ const R2 = void 0 === p2.isPermission || "true" === p2.isPermission || p2.isPermission;
510
+ g2.append("isPermission", R2 + "");
511
+ const N2 = a2.systemCode;
512
+ N2 && g2.append("systemCode", N2);
513
+ const S2 = a2.backendUrl;
514
+ let I2 = o(S2, a2.isTest) + "/dsc/commons/import-data";
515
+ I2 = n(I2, N2, S2, a2.isTest), c.post(I2, g2).then((e3) => {
516
+ if (P2) u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.asyncImport") });
505
517
  else {
506
518
  let t2 = false;
507
- e3 ? (t2 = false, l({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e3 })) : (l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulImport") }), t2 = true), V(i2, a2, e3, null, true), i2.result = t2, y(i2, a2);
519
+ e3 ? (t2 = false, u({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e3 })) : (u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulImport") }), t2 = true), V(a2, i2, e3, null, true), a2.result = t2, h(a2, i2);
508
520
  }
509
521
  }).catch((e3) => {
522
+ console.log("error==", e3);
510
523
  });
511
524
  }
512
525
  function Y(e2, t2) {
513
526
  const s2 = e2.props.base;
514
527
  if (s2.conditionsForExecution && "" !== s2.conditionsForExecution) {
515
528
  if ("one" === s2.conditionsForExecution) {
516
- if (!t2 || 1 !== t2.length) return l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.thePreconditionOfTheButtonTo", { message: u().t("superPageRuntimeMessage.onlyOneRecordCanBeselected") }) }), false;
517
- } else if ("more" === s2.conditionsForExecution && (!t2 || t2.length <= 0)) return l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.thePreconditionOfTheButtonTo", { message: u().t("superPageRuntimeMessage.selectAtLeastOneRecord") }) }), false;
529
+ if (!t2 || 1 !== t2.length) return u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.thePreconditionOfTheButtonTo", { message: l().t("superPageRuntimeMessage.onlyOneRecordCanBeselected") }) }), false;
530
+ } else if ("more" === s2.conditionsForExecution && (!t2 || t2.length <= 0)) return u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.thePreconditionOfTheButtonTo", { message: l().t("superPageRuntimeMessage.selectAtLeastOneRecord") }) }), false;
518
531
  }
519
532
  return true;
520
533
  }
521
- function z(e2) {
534
+ function K(e2) {
522
535
  var _a;
523
- const t2 = e2.pageContext, n2 = e2.configureObj, o2 = t2.entity.data, i2 = t2.systemCode, a2 = t2.code;
524
- let r2 = h(n2, t2);
525
- r2 || (r2 = a2 + ".xxx"), o2.id || o2.ID || (o2.PAGE_CODE = t2.code, o2.PAGE_VERSION = t2.version);
526
- 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 };
536
+ const t2 = e2.pageContext, o2 = e2.configureObj, n2 = t2.entity.data, a2 = t2.systemCode, i2 = t2.code;
537
+ let r2 = w(o2, t2);
538
+ r2 || (r2 = i2 + ".xxx"), n2.id || n2.ID || (n2.PAGE_CODE = t2.code, n2.PAGE_VERSION = t2.version);
539
+ const c2 = { entity: n2, 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 };
527
540
  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);
528
- const u2 = n2.props.base.conversionCodes;
529
- u2 && (s(u2) ? c2.dataConversionRule = u2.join(",") : "string" == typeof u2 && (c2.dataConversionRule = u2));
530
- const l2 = de(n2);
531
- l2 && (c2.autoSetValueData = l2), t2.beanName && (c2.beanName = t2.beanName);
532
- const p2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
533
- p2 && (c2.logSettingText = p2.join("")), c2.systemCode || (c2.systemCode = i2);
534
- const d2 = ee(t2);
535
- 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]));
536
- const m2 = n2.props.base.successOperation;
541
+ const l2 = o2.props.base.conversionCodes;
542
+ l2 && (s(l2) ? c2.dataConversionRule = l2.join(",") : "string" == typeof l2 && (c2.dataConversionRule = l2)), console.log("getWorkflowSaveParams----configureObj=", o2);
543
+ const u2 = me(o2);
544
+ u2 && (c2.autoSetValueData = u2), t2.beanName && (c2.beanName = t2.beanName);
545
+ const p2 = (_a = o2.props.base) == null ? void 0 : _a.logSetting;
546
+ p2 && (c2.logSettingText = p2.join("")), c2.systemCode || (c2.systemCode = a2);
547
+ const d2 = te(t2);
548
+ 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参数类型错误"));
549
+ const m2 = o2.props.base.successOperation;
537
550
  return m2 && "noOperation" === m2 && (c2.unControlVersion = true), c2.isWorkflowEntity = true, c2;
538
551
  }
539
- function K(e2, t2, s2, n2, o2) {
540
- const i2 = s2.code, a2 = s2.version;
552
+ function Q(e2, t2, s2, o2, n2) {
553
+ const a2 = s2.code, i2 = s2.version;
541
554
  let r2;
542
555
  if (e2) {
543
556
  t2 && (s2.initFormNo = e2.formNo, s2.emailTemplateCode = e2.emailTemplateCode), e2.entity && (s2.entity.data = e2.entity, function(e3, t3) {
544
- const s3 = ee(t3);
545
- e3 && s3 && f(s3._t_ + "_id", e3);
557
+ const s3 = te(t3);
558
+ e3 && s3 && g(s3._t_ + "_id", e3);
546
559
  }(e2.entity.id || e2.entity.ID, s2));
547
- const o3 = e2.completeTaskResult;
548
- if (o3) {
549
- const e3 = o3.completeTaskTipType;
560
+ const n3 = e2.completeTaskResult;
561
+ if (n3) {
562
+ const e3 = n3.completeTaskTipType;
550
563
  if (e3 && "MESSAGE" === e3) {
551
- const e4 = o3.content;
552
- return l({ showClose: true, type: "warning", message: e4 }), false;
564
+ const e4 = n3.content;
565
+ return u({ showClose: true, type: "warning", message: e4 }), false;
553
566
  }
554
567
  }
555
568
  if (e2.completeTaskParam) {
556
569
  const t3 = e2.completeTaskParam;
557
- r2 = t3.taskId, n2 && (n2.taskId = r2), P(i2, a2, "_completeTaskParam", t3), s2.fieldPermissions = t3.fieldPermissions, s2.actionPermissions = t3.actionPermissions, s2.workflowButtonComponent = t3.buttonComponent, s2.completeTaskParam = t3;
570
+ r2 = t3.taskId, o2 && (o2.taskId = r2), P(a2, i2, "_completeTaskParam", t3), s2.fieldPermissions = t3.fieldPermissions, s2.actionPermissions = t3.actionPermissions, s2.workflowButtonComponent = t3.buttonComponent, s2.completeTaskParam = t3;
558
571
  }
559
- s2.entity || (s2.entity = {}), s2.entity.task = e2.taskParamMap, P(i2, a2, "_currentActivityName", e2.taskName);
572
+ s2.entity || (s2.entity = {}), s2.entity.task = e2.taskParamMap, P(a2, i2, "_currentActivityName", e2.taskName);
560
573
  }
561
- return n2 && (n2.operationResult = o2), t2 || V(s2, n2.configureObj, e2, null, false), true;
574
+ return o2 && (o2.operationResult = n2), t2 || V(s2, o2.configureObj, e2, null, false), true;
562
575
  }
563
- async function Q(e2, t2) {
576
+ async function X(e2, t2) {
564
577
  const s2 = await function(e3) {
565
578
  return new Promise((t3, s3) => {
566
579
  var _a, _b, _c, _d;
567
- const n2 = e3.configureObj;
568
- if (n2) {
580
+ const o2 = e3.configureObj;
581
+ if (o2) {
569
582
  let s4 = false;
570
- if (((_b = (_a = n2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isMustOpinion) && (s4 = true), true === s4) {
571
- const t4 = e3.pageContext, o2 = (_d = (_c = n2.props) == null ? void 0 : _c.base) == null ? void 0 : _d.mustOpinionConditions;
572
- s4 = M(t4, n2, o2);
583
+ if (((_b = (_a = o2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isMustOpinion) && (s4 = true), true === s4) {
584
+ const t4 = e3.pageContext, n2 = (_d = (_c = o2.props) == null ? void 0 : _c.base) == null ? void 0 : _d.mustOpinionConditions;
585
+ s4 = R(t4, o2, n2);
573
586
  }
574
- 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 }) => {
587
+ true === s4 ? p.prompt(l().t("superPageRuntimeMessage.pleaseInputOpinion"), l().t("superPageRuntimeMessage.opinion"), { confirmButtonText: l().t("superPageRuntimeMessage.sure"), cancelButtonText: l().t("superPageRuntimeMessage.cancel"), inputType: "textarea", inputValue: null, closeOnClickModal: false, inputValidator: (e4) => !(!e4 || !e4.trim()) || l().t("superPageRuntimeMessage.pleaseInputOpinion") }).then(({ value: e4 }) => {
575
588
  t3(e4);
576
589
  }).catch(() => {
577
590
  t3(false);
@@ -579,69 +592,69 @@ async function Q(e2, t2) {
579
592
  } else t3(true);
580
593
  });
581
594
  }(e2);
582
- return new Promise((i2, a2) => {
595
+ return new Promise((a2, i2) => {
583
596
  var _a;
584
597
  if (s2) {
585
598
  const r2 = e2.pageContext, p2 = r2.systemCode, d2 = r2.backendUrl, m2 = true === s2 ? (_a = r2.completeTaskParam) == null ? void 0 : _a.opinion : s2;
586
- let f2 = n(d2, r2.isTest) + "/dsc/workflow-commons/complete-tasks";
587
- if (f2 = o(f2, p2, d2, r2.isTest), !f2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
588
- const g2 = z(e2);
589
- g2.completeTaskParam = { operationResult: t2, taskId: r2.completeTaskParam ? r2.completeTaskParam.taskId : null, opinion: m2 || null };
590
- c.post(f2, g2).then((s3) => {
591
- let n2 = true;
592
- s3 && (n2 = K(s3, false, r2, e2, t2)), true === n2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulCompleteTask") }), i2(true);
599
+ let g2 = o(d2, r2.isTest) + "/dsc/workflow-commons/complete-tasks";
600
+ if (g2 = n(g2, p2, d2, r2.isTest), !g2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
601
+ const f2 = K(e2);
602
+ f2.completeTaskParam = { operationResult: t2, taskId: r2.completeTaskParam ? r2.completeTaskParam.taskId : null, opinion: m2 || null };
603
+ c.post(g2, f2).then((s3) => {
604
+ let o2 = true;
605
+ s3 && (o2 = Q(s3, false, r2, e2, t2)), true === o2 && u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulCompleteTask") }), a2(true);
593
606
  }).catch((e3) => {
594
- a2(e3);
607
+ i2(e3);
595
608
  });
596
- } else i2(true);
609
+ } else a2(true);
597
610
  });
598
611
  }
599
- function X(e2, t2) {
612
+ function Z(e2, t2) {
600
613
  if (t2) {
601
- const s2 = e2.pageContext, o2 = e2.configureObj, i2 = s2.backendUrl, a2 = n(i2, s2.isTest) + "/dsc/workflow-commons/assigns", r2 = t2.id ? t2.id : t2.ID ? t2.ID : null, c2 = z(e2);
602
- c2.assigneeId = r2, ne(e2, c2, a2, "superPageRuntimeMessage.successfulAssign").then((e3) => {
603
- y(s2, o2);
614
+ const s2 = e2.pageContext, n2 = e2.configureObj, a2 = s2.backendUrl, i2 = o(a2, s2.isTest) + "/dsc/workflow-commons/assigns", r2 = t2.id ? t2.id : t2.ID ? t2.ID : null, c2 = K(e2);
615
+ c2.assigneeId = r2, ne(e2, c2, i2, "superPageRuntimeMessage.successfulAssign").then((e3) => {
616
+ h(s2, n2);
604
617
  });
605
618
  }
606
619
  }
607
- function Z(e2) {
608
- const t2 = e2.pageContext, s2 = t2.entity.data, n2 = t2.systemCode, o2 = t2.code, i2 = ee(t2), a2 = void 0 !== s2.ID && null !== s2.ID ? s2.ID : s2.id, r2 = { beanName: t2.beanName, id: a2, entity: s2, additionalParamMap: i2, tableName: t2.tableName, functionCode: o2 + ".xxx", isWorkflowEntity: true, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version };
609
- return r2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, systemCode: n2 }, r2;
620
+ function ee(e2) {
621
+ const t2 = e2.pageContext, s2 = t2.entity.data, o2 = t2.systemCode, n2 = t2.code, a2 = te(t2), i2 = void 0 !== s2.ID && null !== s2.ID ? s2.ID : s2.id, r2 = { beanName: t2.beanName, id: i2, entity: s2, additionalParamMap: a2, tableName: t2.tableName, functionCode: n2 + ".xxx", isWorkflowEntity: true, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version };
622
+ return r2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, systemCode: o2 }, r2;
610
623
  }
611
- function ee(t2) {
624
+ function te(t2) {
612
625
  if (t2.entity) {
613
626
  let s2 = e(t2.entity.page);
614
627
  s2 || (s2 = {});
615
- const n2 = t2.entity.request;
616
- return n2 && Object.assign(s2, n2), s2;
628
+ const o2 = t2.entity.request;
629
+ return o2 && Object.assign(s2, o2), s2;
617
630
  }
618
631
  }
619
- function te(e2, t2) {
632
+ function se(e2, t2) {
620
633
  if (t2) {
621
- const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
622
- let p2 = n(r2, s2.isTest) + "/dsc/workflow-commons/add-signers";
623
- if (p2 = o(p2, a2, r2, s2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
624
- const d2 = Z(e2);
634
+ const s2 = e2.pageContext, a2 = e2.configureObj, i2 = s2.systemCode, r2 = s2.backendUrl;
635
+ let p2 = o(r2, s2.isTest) + "/dsc/workflow-commons/add-signers";
636
+ if (p2 = n(p2, i2, r2, s2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
637
+ const d2 = ee(e2);
625
638
  d2.completeTaskParam.transactors = t2.loginNames.join(",").split(",");
626
639
  const m2 = c.post(p2, d2);
627
640
  m2 && m2.then((e3) => {
628
- l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && V(s2, i2, e3, null, false), y(s2, i2);
641
+ u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && V(s2, a2, e3, null, false), h(s2, a2);
629
642
  });
630
643
  }
631
644
  }
632
- async function se(e2, t2) {
645
+ async function oe(e2, t2) {
633
646
  if (t2) {
634
647
  const s2 = await function(e3) {
635
648
  return new Promise((t3, s3) => {
636
649
  var _a, _b, _c, _d;
637
- const n2 = e3.configureObj;
638
- if (n2) {
639
- let s4 = (_b = (_a = n2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isMustRemark;
650
+ const o2 = e3.configureObj;
651
+ if (o2) {
652
+ let s4 = (_b = (_a = o2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isMustRemark;
640
653
  if (true === s4) {
641
- const t4 = e3.pageContext, o2 = (_d = (_c = n2.props) == null ? void 0 : _c.base) == null ? void 0 : _d.mustRemarkConditions;
642
- s4 = M(t4, n2, o2);
654
+ const t4 = e3.pageContext, n2 = (_d = (_c = o2.props) == null ? void 0 : _c.base) == null ? void 0 : _d.mustRemarkConditions;
655
+ s4 = R(t4, o2, n2);
643
656
  }
644
- 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 }) => {
657
+ true === s4 ? 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 }) => {
645
658
  t3(e4);
646
659
  }).catch(() => {
647
660
  t3(false);
@@ -650,101 +663,101 @@ async function se(e2, t2) {
650
663
  });
651
664
  }(e2);
652
665
  if (s2) {
653
- const i2 = e2.pageContext, a2 = e2.configureObj, r2 = i2.systemCode, p2 = i2.backendUrl;
654
- let d2 = n(p2, i2.isTest) + "/dsc/workflow-commons/copies";
655
- if (d2 = o(d2, r2, p2, i2.isTest), !d2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
656
- const m2 = Z(e2);
666
+ const a2 = e2.pageContext, i2 = e2.configureObj, r2 = a2.systemCode, p2 = a2.backendUrl;
667
+ let d2 = o(p2, a2.isTest) + "/dsc/workflow-commons/copies";
668
+ if (d2 = n(d2, r2, p2, a2.isTest), !d2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
669
+ const m2 = ee(e2);
657
670
  m2.completeTaskParam.transactors = t2.loginNames.join(",").split(","), true !== s2 && (m2.completeTaskParam.remark = s2);
658
- const f2 = c.post(d2, m2);
659
- f2 && f2.then((e3) => {
660
- l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), y(i2, a2);
671
+ const g2 = c.post(d2, m2);
672
+ g2 && g2.then((e3) => {
673
+ u({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulOperation") }), h(a2, i2);
661
674
  });
662
675
  }
663
676
  }
664
677
  }
665
- function ne(e2, t2, s2, n2) {
666
- return new Promise((i2, a2) => {
678
+ function ne(e2, t2, s2, o2) {
679
+ return new Promise((a2, i2) => {
667
680
  const r2 = e2.pageContext, p2 = r2.systemCode, d2 = r2.backendUrl;
668
- if (!(s2 = o(s2, p2, d2, r2.isTest))) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
681
+ if (!(s2 = n(s2, p2, d2, r2.isTest))) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
669
682
  const m2 = c.post(s2, t2);
670
683
  m2 && m2.then((t3) => {
671
684
  let s3 = true;
672
- t3 && (s3 = K(t3, false, r2, e2, null)), true === s3 && l({ showClose: true, type: "success", message: u().t(n2) }), i2(true);
685
+ t3 && (s3 = Q(t3, false, r2, e2, null)), true === s3 && u({ showClose: true, type: "success", message: l().t(o2) }), a2(true);
673
686
  }).catch((e3) => {
674
- a2(e3);
687
+ i2(e3);
675
688
  });
676
689
  });
677
690
  }
678
- function oe(e2) {
679
- const t2 = e2.pageContext, s2 = t2.systemCode, i2 = t2.backendUrl, a2 = t2.completeTaskParam;
680
- let r2 = n(i2, t2.isTest) + "/dsc/workflow-commons/returnable-task/" + a2.taskId;
681
- if (r2 = o(r2, s2, i2, t2.isTest), !r2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
682
- const p2 = t2.code, d2 = ee(t2), m2 = { beanName: t2.beanName, additionalParamMap: d2, tableName: t2.tableName, functionCode: p2 + ".xxx" };
691
+ function ae(e2) {
692
+ const t2 = e2.pageContext, s2 = t2.systemCode, a2 = t2.backendUrl, i2 = t2.completeTaskParam;
693
+ let r2 = o(a2, t2.isTest) + "/dsc/workflow-commons/returnable-task/" + i2.taskId;
694
+ if (r2 = n(r2, s2, a2, t2.isTest), !r2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
695
+ const p2 = t2.code, d2 = te(t2), m2 = { beanName: t2.beanName, additionalParamMap: d2, tableName: t2.tableName, functionCode: p2 + ".xxx" };
683
696
  return c.post(r2, m2);
684
697
  }
685
698
  function ie(e2, t2) {
686
- const s2 = e2.pageContext, o2 = e2.configureObj, i2 = s2.backendUrl, a2 = n(i2, s2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 = z(e2);
687
- t2.nodeName && (r2.returnToNodeName = t2.nodeName), t2.nodeId && (r2.returnToNodeId = t2.nodeId), ne(e2, r2, a2, "superPageRuntimeMessage.successfulReturnTaskTo").then((e3) => {
688
- y(s2, o2);
699
+ const s2 = e2.pageContext, n2 = e2.configureObj, a2 = s2.backendUrl, i2 = o(a2, s2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 = K(e2);
700
+ t2.nodeName && (r2.returnToNodeName = t2.nodeName), t2.nodeId && (r2.returnToNodeId = t2.nodeId), ne(e2, r2, i2, "superPageRuntimeMessage.successfulReturnTaskTo").then((e3) => {
701
+ h(s2, n2);
689
702
  });
690
703
  }
691
- function ae(e2) {
692
- const t2 = e2.pageContext, s2 = t2.systemCode, i2 = t2.backendUrl;
693
- let a2 = n(i2, t2.isTest) + "/dsc/workflow-commons/get-remove-signers";
694
- const r2 = z(e2);
695
- if (a2 = o(a2, s2, i2, t2.isTest), a2) return c.post(a2, r2);
696
- l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
704
+ function re(e2) {
705
+ const t2 = e2.pageContext, s2 = t2.systemCode, a2 = t2.backendUrl;
706
+ let i2 = o(a2, t2.isTest) + "/dsc/workflow-commons/get-remove-signers";
707
+ const r2 = K(e2);
708
+ if (i2 = n(i2, s2, a2, t2.isTest), i2) return c.post(i2, r2);
709
+ u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
697
710
  }
698
- function re(e2, t2) {
711
+ function ce(e2, t2) {
699
712
  if (t2) {
700
- const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
701
- let p2 = n(r2, s2.isTest) + "/dsc/workflow-commons/remove-signers";
702
- if (p2 = o(p2, a2, r2, s2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
703
- const d2 = t2.map((e3) => e3.id ? e3.id : e3.ID ? e3.ID : null), m2 = z(e2);
713
+ const s2 = e2.pageContext, a2 = e2.configureObj, i2 = s2.systemCode, r2 = s2.backendUrl;
714
+ let p2 = o(r2, s2.isTest) + "/dsc/workflow-commons/remove-signers";
715
+ if (p2 = n(p2, i2, r2, s2.isTest), !p2) return void u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
716
+ const d2 = t2.map((e3) => e3.id ? e3.id : e3.ID ? e3.ID : null), m2 = K(e2);
704
717
  m2.ids = d2;
705
- const f2 = c.post(p2, m2);
706
- f2 && f2.then((e3) => {
707
- V(s2, i2, e3, "superPageRuntimeMessage.successfulOperation", false), y(s2, i2);
718
+ const g2 = c.post(p2, m2);
719
+ g2 && g2.then((e3) => {
720
+ V(s2, a2, e3, "superPageRuntimeMessage.successfulOperation", false), h(s2, a2);
708
721
  });
709
722
  }
710
723
  }
711
- function ce(e2, t2, s2) {
712
- let n2 = false;
713
- return e2 && t2 && ("workflowSave" === e2 ? n2 = function(e3) {
724
+ function le(e2, t2, s2) {
725
+ let o2 = false;
726
+ return e2 && t2 && ("workflowSave" === e2 ? o2 = function(e3) {
714
727
  if ((void 0 === e3.processState || null === e3.processState || "UNSUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active) && (void 0 === e3.processState || true === e3.showButtonSave)) return true;
715
728
  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;
716
729
  return false;
717
- }(t2) : "submitProcess" === e2 ? n2 = function(e3) {
730
+ }(t2) : "submitProcess" === e2 ? o2 = function(e3) {
718
731
  if ((void 0 === e3.processState || null === e3.processState || "UNSUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active) && (void 0 === e3.processState || true === e3.showButtonSave)) return true;
719
732
  return false;
720
- }(t2) : "submitTask" === e2 ? n2 = function(e3) {
733
+ }(t2) : "submitTask" === e2 ? o2 = function(e3) {
721
734
  if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "EDIT" === e3.processingMode) return true;
722
735
  return false;
723
- }(t2) : "drawTask" === e2 ? n2 = function(e3) {
736
+ }(t2) : "drawTask" === e2 ? o2 = function(e3) {
724
737
  if (e3.processState && "SUBMIT" === e3.processState && e3.active && ("DRAW_WAIT" === e3.active || "DEPT_DRAW_WAIT" === e3.active) && e3.showButtonDraw) return true;
725
738
  return false;
726
- }(t2) : "abandonReceive" === e2 ? n2 = function(e3) {
739
+ }(t2) : "abandonReceive" === e2 ? o2 = function(e3) {
727
740
  if (e3.processState && "SUBMIT" === e3.processState && (e3.drawTask && "WAIT_TRANSACT" === e3.active || e3.canAbandonDeptTask && "WAIT_TRANSACT" === e3.active) && e3.showButtonAbandon) return true;
728
741
  return false;
729
- }(t2) : "approve" === e2 || "refuse" === e2 ? n2 = function(e3) {
742
+ }(t2) : "approve" === e2 || "refuse" === e2 ? o2 = function(e3) {
730
743
  if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && ("APPROVE" === e3.processingMode || "COUNTERSIGN" === e3.processingMode)) return true;
731
744
  return false;
732
- }(t2) : "readed" === e2 ? n2 = function(e3) {
745
+ }(t2) : "readed" === e2 ? o2 = function(e3) {
733
746
  if ("WAIT_TRANSACT" === e3.active && "TYPE_READ" === e3.processingMode) return true;
734
747
  return false;
735
- }(t2) : "assign" === e2 ? n2 = function(e3) {
748
+ }(t2) : "assign" === e2 ? o2 = function(e3) {
736
749
  if (e3.processState && "SUBMIT" === e3.processState && "TYPE_READ" !== e3.processingMode && ("WAIT_TRANSACT" === e3.active || "DRAW_WAIT" === e3.active)) return true;
737
750
  return false;
738
- }(t2) : "copyTask" === e2 ? n2 = function(e3) {
751
+ }(t2) : "copyTask" === e2 ? o2 = function(e3) {
739
752
  if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "TYPE_READ" !== e3.processingMode && e3.showButtonCopy) return true;
740
753
  return false;
741
- }(t2) : "addSigner" === e2 ? n2 = function(e3) {
754
+ }(t2) : "addSigner" === e2 ? o2 = function(e3) {
742
755
  if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && ("APPROVE" === e3.processingMode || "COUNTERSIGN" === e3.processingMode) && "COUNTERSIGN" === e3.processingMode && e3.showButtonAddCounter) return true;
743
756
  return false;
744
- }(t2) : "removeSigner" === e2 ? n2 = function(e3) {
757
+ }(t2) : "removeSigner" === e2 ? o2 = function(e3) {
745
758
  if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && ("APPROVE" === e3.processingMode || "COUNTERSIGN" === e3.processingMode) && "COUNTERSIGN" === e3.processingMode && e3.showButtonDelCounter) return true;
746
759
  return false;
747
- }(t2) : "retrieveTask" === e2 ? n2 = function(e3) {
760
+ }(t2) : "retrieveTask" === e2 ? o2 = function(e3) {
748
761
  if (e3.processState && "SUBMIT" === e3.processState && function(e4) {
749
762
  if ("COMPLETED" !== e4.active) return false;
750
763
  if ("TYPE_READ" === e4.processingMode) return false;
@@ -752,10 +765,10 @@ function ce(e2, t2, s2) {
752
765
  return true;
753
766
  }(e3)) return true;
754
767
  return false;
755
- }(t2) : "agreement" === e2 || "oppose" === e2 ? n2 = function(e3) {
768
+ }(t2) : "agreement" === e2 || "oppose" === e2 ? o2 = function(e3) {
756
769
  if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "VOTE" === e3.processingMode) return true;
757
770
  return false;
758
- }(t2) : "kiken" === e2 ? n2 = function(e3) {
771
+ }(t2) : "kiken" === e2 ? o2 = function(e3) {
759
772
  if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "VOTE" === e3.processingMode && e3.showButtonKiken) return true;
760
773
  return false;
761
774
  }(t2) : function(e3, t3) {
@@ -765,106 +778,108 @@ function ce(e2, t2, s2) {
765
778
  t4 && (s3 = t4.taskComplete);
766
779
  return s3;
767
780
  }(t3);
768
- }(t2, s2) && (n2 = "returnToPreviousTask" !== e2 || function(e3) {
781
+ }(t2, s2) && (o2 = "returnToPreviousTask" !== e2 || function(e3) {
769
782
  if (e3.rebuttable) return true;
770
783
  return false;
771
- }(t2))), n2;
784
+ }(t2))), o2;
772
785
  }
773
786
  function ue(e2, t2) {
774
- e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, le(e2, t2).then((t3) => {
787
+ e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, pe(e2, t2).then((t3) => {
775
788
  e2.isRefresh = true;
776
789
  });
777
790
  }
778
- function le(e2, s2, o2) {
779
- const i2 = e2.pageType;
780
- if (i2 && "form" === i2) {
781
- e2.canClick = false;
791
+ function pe(e2, s2, n2) {
792
+ const a2 = e2.pageType;
793
+ if (a2 && "form" === a2) {
794
+ console.log("获取表单数据getData--pageContext=", e2), e2.canClick = false;
782
795
  return t(e2) ? function(e3, t2, s3) {
783
- return new Promise((o3, i3) => {
784
- const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = ee(e3);
785
- let d2 = t2 || null, f2 = t2 ? [t2] : null;
786
- 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);
787
- const g2 = p2 ? p2.taskId : null, b2 = u2, T2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, isWorkflowEntity: true, systemCode: a2, functionCode: b2 + ".workflowGets", listCodesMap: e3.listCodesMap };
788
- if ((!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
796
+ return new Promise((n3, a3) => {
797
+ const i2 = e3.systemCode, l2 = e3.code, u2 = e3.version, p2 = te(e3);
798
+ let d2 = t2 || null, g2 = t2 ? [t2] : null;
799
+ void 0 === s3 || s3 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), g2 || (g2 = p2 ? p2.ids : null)) : (d2 = null, g2 = null, p2._id = p2.id, p2.id = null);
800
+ 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 };
801
+ if (console.log("getWorkflowFormData---listCodesMap=", e3.listCodesMap), (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
789
802
  const t3 = {};
790
803
  e3.tableUuids.forEach((e4) => {
791
- const s4 = r(u2, l2, e4);
804
+ const s4 = r(l2, u2, e4);
792
805
  t3[s4] = s4;
793
- }), T2.listCodesMap = t3;
806
+ }), C2.listCodesMap = t3;
794
807
  }
795
- f2 && (T2.ids = pe(f2)), g2 ? T2.taskId = g2 : d2 ? T2.id = d2 : (p2 && p2._t_ && m(p2._t_ + "_id") && (T2.id = m(p2._t_ + "_id")), e3.notIdInitializationList && (T2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList))), p2 && (T2.additionalParamMap = p2), e3.beanName && (T2.beanName = e3.beanName), e3.refercePropMap && (T2.refercePropMap = e3.refercePropMap);
796
- const y2 = n(e3.backendUrl, e3.isTest) + "/dsc/workflow-commons/gets", P2 = O();
797
- P2.restorePageLoadState(), C(null, e3, e3, "beforeFormLoadData"), c.post(y2, T2).then((t3) => {
798
- e3.definitionId = t3.definitionId, e3.entity.task = t3.taskParamMap, K(t3, true, e3), e3.workflowRules = x(e3);
808
+ g2 && (C2.ids = de(g2)), f2 ? C2.taskId = f2 : 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);
809
+ const y2 = o(e3.backendUrl, e3.isTest) + "/dsc/workflow-commons/gets", h2 = E();
810
+ h2.restorePageLoadState(), T(null, e3, e3, "beforeFormLoadData"), c.post(y2, C2).then((t3) => {
811
+ e3.definitionId = t3.definitionId, e3.entity.task = t3.taskParamMap, Q(t3, true, e3), e3.workflowRules = A(e3);
799
812
  const s4 = e3.pageType;
800
813
  s4 && "form" === s4 && function(e4) {
801
814
  (function(e5) {
802
815
  const t4 = /* @__PURE__ */ new Map(), s5 = e5.fieldPermissions;
803
816
  if (void 0 !== s5) for (let e6 = 0; e6 < s5.length; e6++) {
804
- const n2 = s5[e6].name;
805
- if (n2) if (0 === n2.indexOf("$") && n2.indexOf(".") > 0) {
806
- const o4 = s5[e6], i4 = JSON.parse(JSON.stringify(o4)), a3 = n2.substring(1, n2.indexOf(".")), r2 = n2.substring(n2.indexOf(".") + 1);
807
- if (i4.name = r2, i4 && "all_fields" === i4.name) false === i4.canEdit ? i4.rowIndexes ? t4.set(a3, [{ name: "all_fields", canEdit: false, rowIndexes: i4.rowIndexes }]) : t4.set(a3, [{ name: "all_fields", canEdit: false }]) : i4.rowIndexes ? t4.set(a3, [{ name: "all_fields", canEdit: true, rowIndexes: i4.rowIndexes }]) : t4.set(a3, [{ name: "all_fields", canEdit: true }]);
817
+ const o2 = s5[e6].name;
818
+ if (o2) if (0 === o2.indexOf("$") && o2.indexOf(".") > 0) {
819
+ const n4 = s5[e6], a4 = JSON.parse(JSON.stringify(n4)), i3 = o2.substring(1, o2.indexOf(".")), r2 = o2.substring(o2.indexOf(".") + 1);
820
+ if (a4.name = r2, a4 && "all_fields" === a4.name) false === a4.canEdit ? a4.rowIndexes ? t4.set(i3, [{ name: "all_fields", canEdit: false, rowIndexes: a4.rowIndexes }]) : t4.set(i3, [{ name: "all_fields", canEdit: false }]) : a4.rowIndexes ? t4.set(i3, [{ name: "all_fields", canEdit: true, rowIndexes: a4.rowIndexes }]) : t4.set(i3, [{ name: "all_fields", canEdit: true }]);
808
821
  else {
809
- let e7 = t4.get(a3);
810
- e7 || (e7 = []), e7.push(i4), t4.set(a3, e7);
822
+ let e7 = t4.get(i3);
823
+ e7 || (e7 = []), e7.push(a4), t4.set(i3, e7);
811
824
  }
812
- } else t4.set(n2, s5[e6]);
825
+ } else t4.set(o2, s5[e6]);
813
826
  }
814
827
  e5.fieldPermissionMap = t4;
815
828
  })(e4), function(e5) {
816
- const t4 = e5.fieldPermissionMap, s5 = /* @__PURE__ */ new Map(), n2 = e5.actionPermissions;
817
- if (null != n2) {
818
- Object.keys(n2).forEach((e6) => {
819
- const o4 = n2[e6], i4 = t4.get(e6);
820
- if (i4 && i4.length > 0 && "all_fields" === i4[0].name && false === i4[0].canEdit) o4.canUpdate = false, o4.canAdd = false;
829
+ const t4 = e5.fieldPermissionMap, s5 = /* @__PURE__ */ new Map(), o2 = e5.actionPermissions;
830
+ if (null != o2) {
831
+ Object.keys(o2).forEach((e6) => {
832
+ const n4 = o2[e6], a4 = t4.get(e6);
833
+ if (a4 && a4.length > 0 && "all_fields" === a4[0].name && false === a4[0].canEdit) n4.canUpdate = false, n4.canAdd = false;
821
834
  else {
822
- const s6 = o4.canUpdate, n3 = o4.updateRowIndexes;
823
- void 0 !== s6 && false === s6 && null != n3 && n3.length > 0 && t4.set(e6, [{ name: "all_fields", canEdit: false, rowIndexes: n3 }]);
835
+ const s6 = n4.canUpdate, o3 = n4.updateRowIndexes;
836
+ void 0 !== s6 && false === s6 && null != o3 && o3.length > 0 && t4.set(e6, [{ name: "all_fields", canEdit: false, rowIndexes: o3 }]);
824
837
  }
825
- s5.set(e6, o4);
838
+ s5.set(e6, n4);
826
839
  });
827
840
  }
828
841
  e5.actionPermissionMap = s5;
829
842
  }(e4);
830
- }(e3), e3.canClick = true, C(null, e3, e3, "afterFormLoadData"), P2.setFormPageDataLoadState(true), o3(t3);
843
+ }(e3), e3.canClick = true, T(null, e3, e3, "afterFormLoadData"), h2.setFormPageDataLoadState(true), n3(t3);
831
844
  }).catch((t3) => {
832
- e3.canClick = true, i3(t3);
845
+ e3.canClick = true, a3(t3);
833
846
  });
834
847
  });
835
- }(e2, s2, o2) : function(e3, t2, s3) {
836
- return new Promise((o3, i3) => {
837
- const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = ee(e3);
838
- let d2 = t2 || null, f2 = t2 ? [t2] : null;
839
- 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);
840
- const g2 = p2 ? p2.taskId : null, b2 = u2, T2 = n(e3.backendUrl, e3.isTest), y2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: d2, systemCode: a2, functionCode: b2 + ".gets", listCodesMap: e3.listCodesMap };
841
- if (!y2.id && p2 && p2._t_ && m(p2._t_ + "_id") && (y2.id = m(p2._t_ + "_id")), f2 && (y2.ids = pe(f2)), e3.notIdInitializationList && (y2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (y2.additionalParamMap = p2), e3.beanName && (y2.beanName = e3.beanName), g2 && (y2.taskId = g2), (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
848
+ }(e2, s2, n2) : function(e3, t2, s3) {
849
+ return new Promise((n3, a3) => {
850
+ const i2 = e3.systemCode, l2 = e3.code, u2 = e3.version, p2 = te(e3);
851
+ let d2 = t2 || null, g2 = t2 ? [t2] : null;
852
+ void 0 === s3 || s3 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), g2 || (g2 = p2 ? p2.ids : null)) : (d2 = null, g2 = null, p2._id = p2.id, p2.id = null);
853
+ const f2 = p2 ? p2.taskId : null, b2 = l2;
854
+ console.log("getCommonFormData-----pageContext=", e3);
855
+ const C2 = o(e3.backendUrl, e3.isTest), y2 = { pageCode: l2, pageVersion: u2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: d2, systemCode: i2, functionCode: b2 + ".gets", listCodesMap: e3.listCodesMap };
856
+ if (!y2.id && p2 && p2._t_ && m(p2._t_ + "_id") && (y2.id = m(p2._t_ + "_id")), g2 && (y2.ids = de(g2)), e3.notIdInitializationList && (y2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (y2.additionalParamMap = p2), e3.beanName && (y2.beanName = e3.beanName), f2 && (y2.taskId = f2), console.log("getCommonFormData---listCodesMap=", e3.listCodesMap), (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
842
857
  const t3 = {};
843
858
  e3.tableUuids.forEach((e4) => {
844
- const s4 = r(u2, l2, e4);
859
+ const s4 = r(l2, u2, e4);
845
860
  t3[s4] = s4;
846
861
  }), y2.listCodesMap = t3;
847
862
  }
848
863
  e3.refercePropMap && (y2.refercePropMap = e3.refercePropMap);
849
- const P2 = T2 + "/dsc/commons/gets", h2 = O();
850
- h2.restorePageLoadState(), C(null, e3, e3, "beforeFormLoadData"), c.post(P2, y2).then((t3) => {
864
+ const h2 = C2 + "/dsc/commons/gets", P2 = E();
865
+ P2.restorePageLoadState(), T(null, e3, e3, "beforeFormLoadData"), c.post(h2, y2).then((t3) => {
851
866
  t3 && (e3.entity.data = t3.entity, e3.initFormNo = t3.formNo);
852
- const s4 = e3.customRules, n2 = e3.rules, i4 = A(s4, n2);
853
- e3.rules = i4, e3.canClick = true, C(null, e3, e3, "afterFormLoadData"), h2.setFormPageDataLoadState(true), o3(t3);
867
+ const s4 = e3.customRules, o2 = e3.rules, a4 = O(s4, o2);
868
+ e3.rules = a4, e3.canClick = true, T(null, e3, e3, "afterFormLoadData"), P2.setFormPageDataLoadState(true), n3(t3);
854
869
  }).catch((t3) => {
855
- e3.canClick = true, i3(t3);
870
+ e3.canClick = true, a3(t3);
856
871
  });
857
872
  });
858
- }(e2, s2, o2);
873
+ }(e2, s2, n2);
859
874
  }
860
875
  return new Promise((e3, t2) => {
861
876
  e3(true);
862
877
  });
863
878
  }
864
- function pe(e2) {
879
+ function de(e2) {
865
880
  return e2 && ("string" == typeof e2 ? e2 = e2.split(",") : "number" == typeof e2 && (e2 = [e2])), e2;
866
881
  }
867
- function de(e2) {
882
+ function me(e2) {
868
883
  const t2 = e2.props.setValueList;
869
884
  if (t2) {
870
885
  if (s(t2) && t2.length > 0) return JSON.stringify(t2);
@@ -872,41 +887,41 @@ function de(e2) {
872
887
  }
873
888
  return null;
874
889
  }
875
- function me(e2, t2) {
876
- const s2 = e2.entity ? e2.entity : {}, n2 = { data: s2.data, page: s2.page }, o2 = { pageCode: e2.code, queryCondition: JSON.stringify(n2), name: t2 }, i2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition";
877
- return c.post(i2, o2);
890
+ function ge(e2, t2) {
891
+ const s2 = e2.entity ? e2.entity : {}, o2 = { data: s2.data, page: s2.page }, n2 = { pageCode: e2.code, queryCondition: JSON.stringify(o2), name: t2 }, a2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition";
892
+ return c.post(a2, n2);
878
893
  }
879
894
  function fe(e2) {
880
895
  const t2 = e2.code, s2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/list/" + t2;
881
896
  return c.get(s2);
882
897
  }
883
- function ge(e2) {
898
+ function be(e2) {
884
899
  const t2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/" + e2;
885
900
  return c.delete(t2);
886
901
  }
887
902
  export {
888
903
  V as dealAfterOperate,
889
- K as dealCompleteTaskParam,
890
- ge as deleteChartCondition,
891
- te as doAddSigner,
892
- X as doAssign,
893
- se as doCreateCopyTask,
894
- J as doImportFinally,
895
- re as doRemoveSigners,
904
+ Q as dealCompleteTaskParam,
905
+ be as deleteChartCondition,
906
+ se as doAddSigner,
907
+ Z as doAssign,
908
+ oe as doCreateCopyTask,
909
+ z as doImportFinally,
910
+ ce as doRemoveSigners,
896
911
  ie as doReturnTaskTo,
897
- j as exportFormReport,
898
- ee as getAdditionalParamMap,
899
- le as getFormData,
900
- ae as getRemoveSigner,
901
- W as getSaveFormRequest,
902
- B as getSaveFormRequestWithRow,
903
- oe as getTaskInformitions,
904
- ce as isVisibleWorkflowButton,
912
+ D as exportFormReport,
913
+ te as getAdditionalParamMap,
914
+ pe as getFormData,
915
+ re as getRemoveSigner,
916
+ F as getSaveFormRequest,
917
+ W as getSaveFormRequestWithRow,
918
+ ae as getTaskInformitions,
919
+ le as isVisibleWorkflowButton,
905
920
  Y as judgeDataNumber,
906
921
  fe as listChartConditions,
907
- H as refreshFormOrListPage,
922
+ G as refreshFormOrListPage,
908
923
  ue as refreshPage,
909
- me as saveChartConditionBase,
910
- E as standardEvents,
911
- q as updateValuesWhenCloseDialog
924
+ ge as saveChartConditionBase,
925
+ _ as standardEvents,
926
+ $ as updateValuesWhenCloseDialog
912
927
  };