super-page-runtime 2.2.86 → 2.2.89-sit10

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