super-page-runtime 2.3.19 → 2.3.21

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 (28) hide show
  1. package/dist/es/components/runtime/utils/anchor-util.d.ts +13 -0
  2. package/dist/es/components/runtime/utils/anchor-util.js +69 -0
  3. package/dist/es/components/runtime/utils/api/page-expose-util.js +27 -23
  4. package/dist/es/components/runtime/utils/events/standard-event.d.ts +1 -0
  5. package/dist/es/components/runtime/utils/events/standard-event.js +395 -355
  6. package/dist/es/components/runtime/utils/page-store.d.ts +13 -1
  7. package/dist/es/components/runtime/utils/page-store.js +46 -19
  8. package/dist/es/components/runtime/utils/table-utils.d.ts +2 -0
  9. package/dist/es/components/runtime/utils/table-utils.js +63 -54
  10. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +20 -18
  11. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +10 -11
  12. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +3 -2
  13. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +27 -0
  14. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +35 -0
  15. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.js +4 -0
  16. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +59 -0
  17. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +32 -0
  18. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +4 -0
  19. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +176 -156
  20. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +8 -8
  21. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +35 -37
  22. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  23. package/dist/es/components/runtime/views/super-page.vue2.js +180 -179
  24. package/dist/es/i18n/langs/cn.js +1 -1
  25. package/dist/es/i18n/langs/en.js +1 -1
  26. package/dist/es/style.css +79 -78
  27. package/dist/es.zip +0 -0
  28. package/package.json +2 -2
@@ -1,46 +1,48 @@
1
1
  import { deepCopy as e, getBaseUrl as t, getRealRestApiPath as s, isWorkflowPage as n, isArrayFn 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
3
  import { getI18n as u } from "agilebuilder-ui/src/utils/util";
4
- import { ElMessage as l, ElMessageBox as p } from "element-plus";
5
- import { getCurrentUser as d, getToken as m, getSessionCache as f, setSessionCache as g, getRunCurrentRole as C } from "agilebuilder-ui/src/utils/auth";
6
- import { getComponentRef as b } from "../global-refs.js";
7
- import w from "../eventBus.js";
8
- import T from "axios";
9
- import { handleEvent as k, getTableUuid as h, doAfterClickEvent as y } from "./event-util.js";
10
- import { setStoreInfo as P } from "../store-util.js";
11
- import { getPermissionCodes as S, getDefaultValue as R, getModelFields as v } from "../page-init-util.js";
12
- import { caculateShowCondition as M, updateChartDatasources as I, getVariableValue as N, setVariableValue as x } from "../page-helper-util.js";
13
- import O from "./print-label.js";
14
- import { getTableNameByTableUuid as A } from "../table-utils.js";
15
- import { getWorkflowRules as E, packageCustomRules as U } from "./validator-util.js";
16
- import { functions as _ } from "../api/page-expose-util.js";
17
- import { usePageContextStore as j } from "../page-store.js";
18
- import { isMobileBrowser as D } from "agilebuilder-ui/src/utils/common-util";
19
- const W = { save: function(e2) {
20
- return V(e2, false);
4
+ import { ElMessage as l, ElMessageBox as p, ElNotification as m } from "element-plus";
5
+ import { getCurrentUser as d, getToken as f, getSessionCache as g, setSessionCache as C, getRunCurrentRole as b } from "agilebuilder-ui/src/utils/auth";
6
+ import { getComponentRef as w } from "../global-refs.js";
7
+ import T from "../eventBus.js";
8
+ import k from "axios";
9
+ import { handleEvent as h, getTableUuid as y, doAfterClickEvent as P } from "./event-util.js";
10
+ import { setStoreInfo as v } from "../store-util.js";
11
+ import { getPermissionCodes as S, getDefaultValue as I, getModelFields as R } from "../page-init-util.js";
12
+ import { caculateShowCondition as M, updateChartDatasources as N, getVariableValue as x, setVariableValue as O } from "../page-helper-util.js";
13
+ import A from "./print-label.js";
14
+ import { getTableNameByTableUuid as E, getCurrentUserFileTasks as U, setFileTaskRead as _ } from "../table-utils.js";
15
+ import { getWorkflowRules as j, packageCustomRules as D } from "./validator-util.js";
16
+ import { functions as W } from "../api/page-expose-util.js";
17
+ import { usePageContextStore as L } from "../page-store.js";
18
+ import { isMobileBrowser as B } from "agilebuilder-ui/src/utils/common-util";
19
+ import { h as F } from "vue";
20
+ import V from "../../views/assemblys/common/file-task-notice.vue.js";
21
+ const $ = { save: function(e2) {
22
+ return J(e2, false);
21
23
  }, saveList: function(e2) {
22
- return V(e2, true);
24
+ return J(e2, true);
23
25
  }, exportForm: function(e2) {
24
26
  const t2 = e2.pageContext.code + "_";
25
- w.$emit(t2 + "export-form-report", e2);
27
+ T.$emit(t2 + "export-form-report", e2);
26
28
  }, exportPDF: function(e2) {
27
29
  const t2 = e2.pageContext.code + "_";
28
- w.$emit(t2 + "export-pdf-report", e2);
30
+ T.$emit(t2 + "export-pdf-report", e2);
29
31
  }, submit: function(e2) {
30
- return Z(e2, false, "submit", "/dsc/commons/submits");
32
+ return oe(e2, false, "submit", "/dsc/commons/submits");
31
33
  }, submitList: function(e2) {
32
- return Z(e2, true, "submit", "/dsc/commons/batch-submits");
34
+ return oe(e2, true, "submit", "/dsc/commons/batch-submits");
33
35
  }, agree: function(e2) {
34
- return Z(e2, false, "agree", "/dsc/commons/approves");
36
+ return oe(e2, false, "agree", "/dsc/commons/approves");
35
37
  }, agreeList: function(e2) {
36
- return Z(e2, true, "agree", "/dsc/commons/batch-approves");
38
+ return oe(e2, true, "agree", "/dsc/commons/batch-approves");
37
39
  }, disagree: function(e2) {
38
- return Z(e2, false, "disagree", "/dsc/commons/refuses");
40
+ return oe(e2, false, "disagree", "/dsc/commons/refuses");
39
41
  }, disagreeList: function(e2) {
40
- return Z(e2, true, "disagree", "/dsc/commons/batch-refuses");
42
+ return oe(e2, true, "disagree", "/dsc/commons/batch-refuses");
41
43
  }, back: function(e2) {
42
44
  const t2 = e2.pageContext, s2 = t2.entity ? t2.entity.data : {}, n2 = !(!e2.configureObj.props || !e2.configureObj.props.base) && e2.configureObj.props.base.isNeedValueMapping;
43
- z(t2, e2.configureObj, s2, n2);
45
+ ee(t2, e2.configureObj, s2, n2);
44
46
  }, delete: function(e2) {
45
47
  return function(e3) {
46
48
  return new Promise((o2, i2) => {
@@ -48,10 +50,10 @@ const W = { save: function(e2) {
48
50
  if (!a2 || 0 === a2.length) return l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.pleaseSelectRecord") }), void o2(true);
49
51
  p.confirm(u().t("superPageRuntimeMessage.whetherToConfirmDeletion"), u().t("superPageRuntimeMessage.tips"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
50
52
  var _a, _b, _c;
51
- 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);
52
- let g2 = t(d2, r2.isTest) + "/dsc/commons/" + f2;
53
- g2 = s(g2, p2, d2, r2.isTest);
54
- const C2 = void 0 === l2.isPermission || "true" === l2.isPermission || l2.isPermission, w2 = n(r2), T2 = S(u2, r2), k2 = { ids: a2, functionCode: T2, isPermission: C2 + "", systemCode: p2, isWorkflowEntity: w2, listCodesMap: r2.listCodesMap, pageCode: r2.code, pageVersion: r2.version };
53
+ const r2 = e3.pageContext, u2 = e3.configureObj, l2 = u2.props.base, p2 = r2.systemCode, m2 = r2.backendUrl, d2 = u2.props.base.tableUuid ? u2.props.base.tableUuid : e3.tableUuid, f2 = E(r2, d2);
54
+ let g2 = t(m2, r2.isTest) + "/dsc/commons/" + f2;
55
+ g2 = s(g2, p2, m2, r2.isTest);
56
+ const C2 = void 0 === l2.isPermission || "true" === l2.isPermission || l2.isPermission, b2 = n(r2), T2 = S(u2, r2), k2 = { ids: a2, functionCode: T2, isPermission: C2 + "", systemCode: p2, isWorkflowEntity: b2, listCodesMap: r2.listCodesMap, pageCode: r2.code, pageVersion: r2.version };
55
57
  r2.beanName && (k2.beanName = r2.beanName);
56
58
  const h2 = u2.props.deleteLogicSetting;
57
59
  h2 && ("object" == typeof h2 ? k2.deleteLogicSetting = JSON.stringify(h2) : "string" == typeof h2 && (k2.deleteLogicSetting = h2));
@@ -59,10 +61,10 @@ const W = { save: function(e2) {
59
61
  y2 && (k2.logSettingText = y2.join(""));
60
62
  const P2 = u2.props.base.isSafeDelete;
61
63
  P2 && (k2.isSafeDelete = P2);
62
- const R2 = (_c = (_b = u2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
63
- R2 && (k2.currentOperation = R2), k2.isMobile = D(), c.delete(g2, { data: k2 }).then((e4) => {
64
- const t2 = b(r2, m2);
65
- t2 && (t2.isDeleteChange(true), t2.clearSelections()), G(r2, u2, e4, "superPageRuntimeMessage.successfulDelete", true), o2(true);
64
+ const v2 = (_c = (_b = u2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
65
+ v2 && (k2.currentOperation = v2), k2.isMobile = B(), c.delete(g2, { data: k2 }).then((e4) => {
66
+ const t2 = w(r2, d2);
67
+ t2 && (t2.isDeleteChange(true), t2.clearSelections()), X(r2, u2, e4, "superPageRuntimeMessage.successfulDelete", true), o2(true);
66
68
  }).catch((e4) => {
67
69
  i2(e4);
68
70
  });
@@ -78,193 +80,195 @@ const W = { save: function(e2) {
78
80
  let r2, c2;
79
81
  a2 && a2.length > 0 && (r2 = a2[0].templateUuid, c2 = a2[0].templateName);
80
82
  const u2 = s2.systemCode, l2 = s2.backendUrl, p2 = c2;
81
- let d2 = "?1=1";
82
- r2 && p2 && "undefined" !== r2 && "undefined" !== p2 && "null" !== r2 && "null" !== p2 ? d2 += "&fileName=" + encodeURI(r2) + "&showName=" + encodeURI(p2) : p2 ? d2 += "&showName=" + encodeURI(p2) : s2.label && (d2 += "&showName=" + encodeURI(s2.label) + ".xlsx");
83
- const g2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
84
- g2 && (d2 += "&logSettingText=" + g2.join(""));
85
- u2 && (d2 += "&systemCode=" + u2);
83
+ let m2 = "?1=1";
84
+ r2 && p2 && "undefined" !== r2 && "undefined" !== p2 && "null" !== r2 && "null" !== p2 ? m2 += "&fileName=" + encodeURI(r2) + "&showName=" + encodeURI(p2) : p2 ? m2 += "&showName=" + encodeURI(p2) : s2.label && (m2 += "&showName=" + encodeURI(s2.label) + ".xlsx");
85
+ const d2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
86
+ d2 && (m2 += "&logSettingText=" + d2.join(""));
87
+ u2 && (m2 += "&systemCode=" + u2);
86
88
  const C2 = e3.listCode;
87
- C2 && (d2 += "&listCode=" + C2);
88
- s2.beanName && (d2 += "&beanName=" + s2.beanName);
89
+ C2 && (m2 += "&listCode=" + C2);
90
+ s2.beanName && (m2 += "&beanName=" + s2.beanName);
89
91
  const b2 = S(n2, s2);
90
- b2 && (d2 += "&functionCode=" + b2);
91
- s2.tableName && (d2 += "&tableName=" + s2.tableName);
92
- s2.code && (d2 += "&pageCode=" + s2.code);
93
- s2.version && (d2 += "&pageVersion=" + s2.version);
94
- const w2 = m();
95
- w2 && (d2 += "&JWT=" + w2);
92
+ b2 && (m2 += "&functionCode=" + b2);
93
+ s2.tableName && (m2 += "&tableName=" + s2.tableName);
94
+ s2.code && (m2 += "&pageCode=" + s2.code);
95
+ s2.version && (m2 += "&pageVersion=" + s2.version);
96
+ const w2 = f();
97
+ w2 && (m2 += "&JWT=" + w2);
96
98
  const T2 = (_c = (_b = n2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
97
- T2 && (d2 += "&currentOperation=" + encodeURI(T2));
98
- d2 += "&isMobile=" + D();
99
- const k2 = "_RUN_CURRENT_ROLE", h2 = f(k2);
100
- h2 && (d2 += "&" + k2 + "=" + h2);
99
+ T2 && (m2 += "&currentOperation=" + encodeURI(T2));
100
+ m2 += "&isMobile=" + B();
101
+ const k2 = "_RUN_CURRENT_ROLE", h2 = g(k2);
102
+ h2 && (m2 += "&" + k2 + "=" + h2);
101
103
  if (o2) {
102
- d2 += "&isPermission=" + (void 0 === o2.isPermission || "true" === o2.isPermission || o2.isPermission);
104
+ m2 += "&isPermission=" + (void 0 === o2.isPermission || "true" === o2.isPermission || o2.isPermission);
103
105
  }
104
106
  const y2 = t(l2, s2.isTest);
105
- window.open(y2 + "/dsc/commons/download-files" + d2);
107
+ window.open(y2 + "/dsc/commons/download-files" + m2);
106
108
  }(e2);
107
109
  }, import: function(e2) {
108
110
  const t2 = e2.pageContext.code + "_";
109
- w.$emit(t2 + "import-file", e2);
111
+ T.$emit(t2 + "import-file", e2);
110
112
  }, export: function(e2) {
111
113
  return function(e3) {
112
114
  return new Promise((t2, s2) => {
113
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
115
+ var _a, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l;
114
116
  const n2 = e3.pageContext, o2 = e3.configureObj, i2 = o2.props.base, a2 = e3.listCode, r2 = e3.selections, c2 = {};
115
117
  r2 && r2.length > 0 && (c2.data = r2);
116
118
  let u2 = n2.label;
117
119
  u2 || (u2 = n2.code);
118
120
  let l2 = false;
119
121
  l2 = void 0 !== i2.isAsync && null !== i2.isAsync && i2.isAsync;
120
- const p2 = void 0 === i2.isPermission || "true" === i2.isPermission || i2.isPermission, d2 = S(o2, n2), m2 = u2, f2 = { backendUrl: n2.backendUrl, pageContext: n2 }, g2 = (_b = (_a = o2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
121
- g2 && (f2.currentOperation = g2), f2.isShowWatermark = void 0 === ((_d = (_c = o2.props) == null ? void 0 : _c.watermark) == null ? void 0 : _d.isShowWatermark) ? "true" : ((_f = (_e = o2.props) == null ? void 0 : _e.watermark) == null ? void 0 : _f.isShowWatermark) + "", f2.watermarkContent = ((_h = (_g = o2.props) == null ? void 0 : _g.watermark) == null ? void 0 : _h.content) && ((_j = (_i = o2.props) == null ? void 0 : _i.watermark) == null ? void 0 : _j.content.length) > 0 ? (_l = (_k = o2.props) == null ? void 0 : _k.watermark) == null ? void 0 : _l.content.join("-~") : "", window.$vueApp.config.globalProperties.$exportDataNew(c2, m2, a2, d2, null, f2, l2, n2.code, p2);
122
+ const p2 = void 0 === i2.isPermission || "true" === i2.isPermission || i2.isPermission, m2 = S(o2, n2), d2 = u2, f2 = { backendUrl: n2.backendUrl, pageContext: n2 }, g2 = (_b = (_a = o2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
123
+ g2 && (f2.currentOperation = g2), f2.isShowWatermark = void 0 === ((_d = (_c = o2.props) == null ? void 0 : _c.watermark) == null ? void 0 : _d.isShowWatermark) ? "true" : ((_f = (_e2 = o2.props) == null ? void 0 : _e2.watermark) == null ? void 0 : _f.isShowWatermark) + "", f2.watermarkContent = ((_h = (_g = o2.props) == null ? void 0 : _g.watermark) == null ? void 0 : _h.content) && ((_j = (_i = o2.props) == null ? void 0 : _i.watermark) == null ? void 0 : _j.content.length) > 0 ? (_l = (_k = o2.props) == null ? void 0 : _k.watermark) == null ? void 0 : _l.content.join("-~") : "", window.$vueApp.config.globalProperties.$exportDataNew(c2, d2, a2, m2, null, f2, l2, n2.code, p2), l2 && setTimeout(() => {
124
+ _e(n2);
125
+ }, 100);
122
126
  });
123
127
  }(e2);
124
128
  }, search: function(e2) {
125
129
  const t2 = e2.pageContext, s2 = e2.tableUuid;
126
- b(t2, s2).refresh();
130
+ w(t2, s2).refresh();
127
131
  }, showSearch: function(e2) {
128
132
  const t2 = e2.pageContext, s2 = e2.tableUuid;
129
- b(t2, s2).showMobileSearch();
133
+ w(t2, s2).showMobileSearch();
130
134
  }, workflowSave: function(e2) {
131
- return w.$emit("clearTableAllStartEditing"), async function(e3) {
135
+ return T.$emit("clearTableAllStartEditing"), async function(e3) {
132
136
  return new Promise((n2, o2) => {
133
137
  const i2 = e3.pageContext, a2 = i2.entity.data, r2 = i2.systemCode, p2 = i2.backendUrl;
134
- let d2 = t(p2, i2.isTest) + "/dsc/workflow-commons";
135
- if (d2 = s(d2, r2, p2, i2.isTest), !d2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
136
- const m2 = se(e3);
138
+ let m2 = t(p2, i2.isTest) + "/dsc/workflow-commons";
139
+ if (m2 = s(m2, r2, p2, i2.isTest), !m2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
140
+ const d2 = re(e3);
137
141
  let f2;
138
- f2 = a2.id || a2.ID ? c.put(d2, m2) : c.post(d2, m2), f2.then((t2) => {
142
+ f2 = a2.id || a2.ID ? c.put(m2, d2) : c.post(m2, d2), f2.then((t2) => {
139
143
  let s2 = true;
140
- t2 && (s2 = ne(t2, false, i2, e3, null)), true === s2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulSave") }), w.$emit("clearTableAllEndEditing"), n2(true);
144
+ t2 && (s2 = ce(t2, false, i2, e3, null)), true === s2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulSave") }), T.$emit("clearTableAllEndEditing"), n2(true);
141
145
  }).catch((e4) => {
142
146
  o2(e4);
143
147
  });
144
148
  });
145
149
  }(e2);
146
150
  }, workflowStart: function(e2) {
147
- return w.$emit("clearTableAllStartEditing"), async function(e3) {
151
+ return T.$emit("clearTableAllStartEditing"), async function(e3) {
148
152
  return new Promise((n2, o2) => {
149
153
  const i2 = e3.pageContext, a2 = i2.entity.data, r2 = i2.systemCode, p2 = i2.backendUrl;
150
- let d2 = t(p2, i2.isTest) + "/dsc/workflow-commons/start";
151
- if (d2 = s(d2, r2, p2, i2.isTest), !d2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
152
- const m2 = se(e3);
154
+ let m2 = t(p2, i2.isTest) + "/dsc/workflow-commons/start";
155
+ if (m2 = s(m2, r2, p2, i2.isTest), !m2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
156
+ const d2 = re(e3);
153
157
  let f2;
154
- a2.workflow_id || a2.WORKFLOW_ID ? (d2 = t(p2, i2.isTest) + "/dsc/workflow-commons", d2 = s(d2, r2, p2, i2.isTest), f2 = c.put(d2, m2)) : f2 = c.post(d2, m2), f2.then((t2) => {
158
+ a2.workflow_id || a2.WORKFLOW_ID ? (m2 = t(p2, i2.isTest) + "/dsc/workflow-commons", m2 = s(m2, r2, p2, i2.isTest), f2 = c.put(m2, d2)) : f2 = c.post(m2, d2), f2.then((t2) => {
155
159
  let s2 = true;
156
- t2 && (s2 = ne(t2, false, i2, e3, null)), true === s2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulStart") }), w.$emit("clearTableAllEndEditing"), n2(true);
160
+ t2 && (s2 = ce(t2, false, i2, e3, null)), true === s2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulStart") }), T.$emit("clearTableAllEndEditing"), n2(true);
157
161
  }).catch((e4) => {
158
162
  o2(e4);
159
163
  });
160
164
  });
161
165
  }(e2);
162
166
  }, submitProcess: function(e2) {
163
- return w.$emit("clearTableAllStartEditing"), function(e3) {
167
+ return T.$emit("clearTableAllStartEditing"), function(e3) {
164
168
  return new Promise((n2, o2) => {
165
169
  const i2 = e3.pageContext, a2 = i2.systemCode, r2 = i2.backendUrl;
166
170
  let p2 = t(r2, i2.isTest) + "/dsc/workflow-commons/submit";
167
171
  if (p2 = s(p2, a2, r2, i2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
168
- const d2 = se(e3), m2 = c.post(p2, d2);
169
- m2 && m2.then((t2) => {
172
+ const m2 = re(e3), d2 = c.post(p2, m2);
173
+ d2 && d2.then((t2) => {
170
174
  let s2 = true;
171
- t2 && (s2 = ne(t2, false, i2, e3, null)), true === s2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulSubmit") }), w.$emit("clearTableAllEndEditing"), n2(true);
175
+ t2 && (s2 = ce(t2, false, i2, e3, null)), true === s2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulSubmit") }), T.$emit("clearTableAllEndEditing"), n2(true);
172
176
  }).catch((e4) => {
173
177
  o2(e4);
174
178
  });
175
179
  });
176
180
  }(e2);
177
181
  }, submitTask: function(e2) {
178
- return oe(e2, "SUBMIT");
182
+ return ue(e2, "SUBMIT");
179
183
  }, approve: function(e2) {
180
- return oe(e2, "APPROVE");
184
+ return ue(e2, "APPROVE");
181
185
  }, refuse: function(e2) {
182
- return oe(e2, "REFUSE");
186
+ return ue(e2, "REFUSE");
183
187
  }, readed: function(e2) {
184
- return oe(e2, "READED");
188
+ return ue(e2, "READED");
185
189
  }, agreement: function(e2) {
186
- return oe(e2, "AGREEMENT");
190
+ return ue(e2, "AGREEMENT");
187
191
  }, oppose: function(e2) {
188
- return oe(e2, "OPPOSE");
192
+ return ue(e2, "OPPOSE");
189
193
  }, kiken: function(e2) {
190
- return oe(e2, "KIKEN");
194
+ return ue(e2, "KIKEN");
191
195
  }, assign: function(e2) {
192
196
  return function(e3) {
193
197
  const t2 = e3.pageContext, s2 = t2.code + "_";
194
- w.$emit(s2 + "assign-task", e3);
198
+ T.$emit(s2 + "assign-task", e3);
195
199
  }(e2);
196
200
  }, copyTask: function(e2) {
197
201
  return function(e3) {
198
202
  const t2 = e3.pageContext, s2 = t2.code + "_";
199
- w.$emit(s2 + "copy-task", e3);
203
+ T.$emit(s2 + "copy-task", e3);
200
204
  }(e2);
201
205
  }, addSigner: function(e2) {
202
206
  return function(e3) {
203
207
  const t2 = e3.pageContext, s2 = t2.code + "_";
204
- w.$emit(s2 + "add-signer", e3);
208
+ T.$emit(s2 + "add-signer", e3);
205
209
  }(e2);
206
210
  }, drawTask: function(e2) {
207
211
  return function(e3) {
208
- const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/draw-tasks", i2 = se(e3);
209
- return me(e3, i2, o2, "superPageRuntimeMessage.successfulDrawTask");
212
+ const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/draw-tasks", i2 = re(e3);
213
+ return we(e3, i2, o2, "superPageRuntimeMessage.successfulDrawTask");
210
214
  }(e2);
211
215
  }, abandonReceive: function(e2) {
212
216
  return function(e3) {
213
- const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/abandon-receives", i2 = se(e3);
214
- return me(e3, i2, o2, "superPageRuntimeMessage.successfulAbandonReceive");
217
+ const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/abandon-receives", i2 = re(e3);
218
+ return we(e3, i2, o2, "superPageRuntimeMessage.successfulAbandonReceive");
215
219
  }(e2);
216
220
  }, returnToPreviousTask: function(e2) {
217
221
  return function(e3) {
218
- const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", i2 = se(e3);
219
- return me(e3, i2, o2, "superPageRuntimeMessage.successfulReturnToPreviousTask");
222
+ const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", i2 = re(e3);
223
+ return we(e3, i2, o2, "superPageRuntimeMessage.successfulReturnToPreviousTask");
220
224
  }(e2);
221
225
  }, endInstance: function(e2) {
222
226
  return function(e3) {
223
- const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/end-instance", i2 = se(e3);
224
- return me(e3, i2, o2, "superPageRuntimeMessage.successfulEndInstance");
227
+ const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/end-instance", i2 = re(e3);
228
+ return we(e3, i2, o2, "superPageRuntimeMessage.successfulEndInstance");
225
229
  }(e2);
226
230
  }, returnTaskTo: function(e2) {
227
231
  return function(e3) {
228
232
  const t2 = e3.pageContext, s2 = t2.code + "_";
229
- w.$emit(s2 + "choose-return-node", e3);
233
+ T.$emit(s2 + "choose-return-node", e3);
230
234
  }(e2);
231
235
  }, removeSigner: function(e2) {
232
236
  return function(e3) {
233
237
  const t2 = e3.pageContext, s2 = t2.code + "_";
234
- w.$emit(s2 + "remove-signer", e3);
238
+ T.$emit(s2 + "remove-signer", e3);
235
239
  }(e2);
236
240
  }, retrieveTask: function(e2) {
237
241
  return function(e3) {
238
- const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/retrieves", i2 = se(e3);
239
- return me(e3, i2, o2, "superPageRuntimeMessage.successfulRetrieve");
242
+ const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/retrieves", i2 = re(e3);
243
+ return we(e3, i2, o2, "superPageRuntimeMessage.successfulRetrieve");
240
244
  }(e2);
241
245
  }, extractWorkflow: function(e2) {
242
- return ke(e2);
246
+ return Se(e2);
243
247
  }, extractWorkflowEvent: function(e2) {
244
248
  return function(e3) {
245
249
  const t2 = e3.pageContext;
246
- w.$emit(t2.code + "_event-call-component", { componentName: "extract-workflow-dialog", componentProps: { pageContext: e3.pageContext, configure: e3.configureObj } });
250
+ T.$emit(t2.code + "_event-call-component", { componentName: "extract-workflow-dialog", componentProps: { pageContext: e3.pageContext, configure: e3.configureObj } });
247
251
  }(e2);
248
252
  }, cancelExtractWorkflow: function(e2) {
249
253
  return function(e3) {
250
- const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/cancel-extract", i2 = se(e3);
251
- return me(e3, i2, o2, "superPageRuntimeMessage.successfulCancelExtract");
254
+ const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/cancel-extract", i2 = re(e3);
255
+ return we(e3, i2, o2, "superPageRuntimeMessage.successfulCancelExtract");
252
256
  }(e2);
253
257
  }, approveExtractWorkflow: function(e2) {
254
258
  return function(e3) {
255
- const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/approve-extract", i2 = se(e3);
256
- return me(e3, i2, o2, "superPageRuntimeMessage.successfulOperation");
259
+ const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/approve-extract", i2 = re(e3);
260
+ return we(e3, i2, o2, "superPageRuntimeMessage.successfulOperation");
257
261
  }(e2);
258
262
  }, refuseExtractWorkflow: function(e2) {
259
263
  return function(e3) {
260
- const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/refuse-extract", i2 = se(e3);
261
- return me(e3, i2, o2, "superPageRuntimeMessage.successfulOperation");
264
+ const s2 = e3.pageContext, n2 = s2.backendUrl, o2 = t(n2, s2.isTest) + "/dsc/workflow-commons/refuse-extract", i2 = re(e3);
265
+ return we(e3, i2, o2, "superPageRuntimeMessage.successfulOperation");
262
266
  }(e2);
263
267
  }, viewDetail: function(e2) {
264
268
  }, lineEditCreate: function(e2) {
265
269
  return function(e3) {
266
- const t2 = e3.pageContext, s2 = e3.tableUuid, n2 = b(t2, s2);
267
- n2 && (e3.getDefaultValueFunc = R, n2.createRow(e3.listCode, {}, e3));
270
+ const t2 = e3.pageContext, s2 = e3.tableUuid, n2 = w(t2, s2);
271
+ n2 && (e3.getDefaultValueFunc = I, n2.createRow(e3.listCode, {}, e3));
268
272
  }(e2);
269
273
  }, printLabel: function(e2) {
270
274
  return function(e3) {
@@ -274,17 +278,17 @@ const W = { save: function(e2) {
274
278
  } catch (t3) {
275
279
  console.error("打印标签失败,未在配置中找到找到模板", t3, e3);
276
280
  }
277
- O.printLabel(e3, t2);
281
+ A.printLabel(e3, t2);
278
282
  }(e2);
279
283
  }, queryCharts: function(e2) {
280
- L(e2);
284
+ q(e2);
281
285
  }, resetCharts: function(t2) {
282
286
  var _a, _b;
283
287
  const s2 = t2.pageContext;
284
- Object.assign(s2.entity.data, e((_a = s2.initChartData) == null ? void 0 : _a.data)), Object.assign(s2.entity.page, e((_b = s2.initChartData) == null ? void 0 : _b.page)), t2.isInitChart = true, L(t2);
288
+ Object.assign(s2.entity.data, e((_a = s2.initChartData) == null ? void 0 : _a.data)), Object.assign(s2.entity.page, e((_b = s2.initChartData) == null ? void 0 : _b.page)), t2.isInitChart = true, q(t2);
285
289
  }, exportCharts: function(e2) {
286
290
  !function(e3) {
287
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
291
+ var _a, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l;
288
292
  const s2 = e3.pageContext, n2 = s2.allChartUuids;
289
293
  if (!n2 || 0 == n2.length) return;
290
294
  const o2 = e3.configureObj;
@@ -294,7 +298,7 @@ const W = { save: function(e2) {
294
298
  i2 && (i2.state = "disabled");
295
299
  const r2 = [];
296
300
  for (let e4 = 0; e4 < n2.length; e4++) {
297
- const t2 = n2[e4], o3 = b(s2, t2);
301
+ const t2 = n2[e4], o3 = w(s2, t2);
298
302
  if (o3) {
299
303
  const e5 = o3.getConfigure();
300
304
  e5 && e5.exportable && e5._dynamicShowFlag && o3.exportChart && r2.push(o3.exportChart());
@@ -304,14 +308,14 @@ const W = { save: function(e2) {
304
308
  let c2, u2 = s2.label;
305
309
  u2 || (u2 = s2.code);
306
310
  c2 = u2;
307
- const l2 = { reportDataList: r2, beanName: s2.beanName, systemCode: s2.systemCode, pageCode: s2.code }, p2 = ue(s2);
311
+ const l2 = { reportDataList: r2, beanName: s2.beanName, systemCode: s2.systemCode, pageCode: s2.code }, p2 = fe(s2);
308
312
  l2.additionalParamMap = p2;
309
- const d2 = (_b = (_a = o2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
310
- d2 && (l2.currentOperation = d2);
311
- l2.isMobile = D(), l2.isShowWatermark = void 0 === ((_d = (_c = o2.props) == null ? void 0 : _c.watermark) == null ? void 0 : _d.isShowWatermark) ? "true" : ((_f = (_e = o2.props) == null ? void 0 : _e.watermark) == null ? void 0 : _f.isShowWatermark) + "", l2.watermark = ((_h = (_g = o2.props) == null ? void 0 : _g.watermark) == null ? void 0 : _h.content) && ((_j = (_i = o2.props) == null ? void 0 : _i.watermark) == null ? void 0 : _j.content.length) > 0 ? (_l = (_k = o2.props) == null ? void 0 : _k.watermark) == null ? void 0 : _l.content.join("-~") : "";
312
- const m2 = s2.backendUrl, f2 = t(m2, s2.isTest) + "/dsc/commons/exportChart";
313
- F();
314
- T.post(f2, l2, { responseType: "blob" }).then((e4) => {
313
+ const m2 = (_b = (_a = o2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
314
+ m2 && (l2.currentOperation = m2);
315
+ l2.isMobile = B(), l2.isShowWatermark = void 0 === ((_d = (_c = o2.props) == null ? void 0 : _c.watermark) == null ? void 0 : _d.isShowWatermark) ? "true" : ((_f = (_e2 = o2.props) == null ? void 0 : _e2.watermark) == null ? void 0 : _f.isShowWatermark) + "", l2.watermark = ((_h = (_g = o2.props) == null ? void 0 : _g.watermark) == null ? void 0 : _h.content) && ((_j = (_i = o2.props) == null ? void 0 : _i.watermark) == null ? void 0 : _j.content.length) > 0 ? (_l = (_k = o2.props) == null ? void 0 : _k.watermark) == null ? void 0 : _l.content.join("-~") : "";
316
+ const d2 = s2.backendUrl, f2 = t(d2, s2.isTest) + "/dsc/commons/exportChart";
317
+ G();
318
+ k.post(f2, l2, { responseType: "blob" }).then((e4) => {
315
319
  const t2 = document.createElement("a");
316
320
  t2.style.display = "none", t2.href = URL.createObjectURL(e4.data), t2.setAttribute("download", c2 + ".xlsx"), document.body.appendChild(t2), t2.click(), document.body.removeChild(t2);
317
321
  }).finally(() => {
@@ -321,46 +325,46 @@ const W = { save: function(e2) {
321
325
  }, saveQueryCharts: function(e2) {
322
326
  !function(e3) {
323
327
  const t2 = e3.pageContext, s2 = e3.configureObj, n2 = t2.code + "_";
324
- w.$emit(n2 + "save-chart-condition", { pageContext: t2, configureObj: s2 });
328
+ T.$emit(n2 + "save-chart-condition", { pageContext: t2, configureObj: s2 });
325
329
  }(e2);
326
330
  }, addTransactor: function(e2) {
327
331
  return function(e3) {
328
332
  const t2 = e3.pageContext, s2 = t2.code + "_";
329
- w.$emit(s2 + "add-transactor", e3);
333
+ T.$emit(s2 + "add-transactor", e3);
330
334
  }(e2);
331
335
  }, removeTransactor: function(e2) {
332
336
  return function(e3) {
333
337
  const t2 = e3.pageContext, s2 = t2.code + "_";
334
- w.$emit(s2 + "remove-transactor", e3);
338
+ T.$emit(s2 + "remove-transactor", e3);
335
339
  }(e2);
336
340
  } };
337
- function L(e2) {
341
+ function q(e2) {
338
342
  const t2 = e2.pageContext, s2 = t2.initChartServiceConfigs;
339
343
  if (!s2 || 0 == s2.length) return;
340
344
  const n2 = e2.configureObj;
341
345
  let o2 = null;
342
346
  n2 && n2.runtime && (o2 = n2.runtime.props);
343
347
  const i2 = o2 ? o2.state : void 0;
344
- o2 && (o2.state = "disabled"), I(t2, s2, void 0, e2.isInitChart).then(() => {
348
+ o2 && (o2.state = "disabled"), N(t2, s2, void 0, e2.isInitChart).then(() => {
345
349
  o2 && (o2.state = i2);
346
350
  }).catch(() => {
347
351
  o2 && (o2.state = i2);
348
352
  });
349
353
  }
350
- function B(e2, s2, o2, i2) {
351
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
354
+ function H(e2, s2, o2, i2) {
355
+ var _a, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l, _m;
352
356
  e2.clickUuid = s2.uuid, e2.canClick = false;
353
- const a2 = o2.templateUuid, r2 = o2.templateName, c2 = e2.systemCode, u2 = (_a = s2.props.base) == null ? void 0 : _a.logSetting, l2 = n(e2), p2 = e2.beanName, d2 = s2.props.base, m2 = s2.tableName ? s2.tableName : e2.tableName, f2 = e2.backendUrl, g2 = _.getFormViewData(e2), C2 = void 0 === d2.isPermission || "true" === d2.isPermission || d2.isPermission, b2 = { entity: g2, fileName: a2, showName: r2, beanName: p2, isWorkflowForm: l2, functionCode: S(s2, e2), tableName: m2, isPermission: C2 + "", systemCode: c2, listCodesMap: e2.listCodesMap, pageCode: e2.code, pageVersion: e2.version, listCodesInitSearchForm: e2.listCodesInitSearchForm };
357
+ const a2 = o2.templateUuid, r2 = o2.templateName, c2 = e2.systemCode, u2 = (_a = s2.props.base) == null ? void 0 : _a.logSetting, l2 = n(e2), p2 = e2.beanName, m2 = s2.props.base, d2 = s2.tableName ? s2.tableName : e2.tableName, f2 = e2.backendUrl, g2 = W.getFormViewData(e2), C2 = void 0 === m2.isPermission || "true" === m2.isPermission || m2.isPermission, b2 = { entity: g2, fileName: a2, showName: r2, beanName: p2, isWorkflowForm: l2, functionCode: S(s2, e2), tableName: d2, isPermission: C2 + "", systemCode: c2, listCodesMap: e2.listCodesMap, pageCode: e2.code, pageVersion: e2.version, listCodesInitSearchForm: e2.listCodesInitSearchForm };
354
358
  u2 && (b2.logSettingText = u2.join(""));
355
359
  const w2 = (_c = (_b = s2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
356
- w2 && (b2.currentOperation = w2), b2.isMobile = D();
357
- const k2 = ue(e2);
360
+ w2 && (b2.currentOperation = w2), b2.isMobile = B();
361
+ const T2 = fe(e2);
358
362
  let h2;
359
- b2.additionalParamMap = k2, b2.isShowWatermark = void 0 === ((_e = (_d = s2.props) == null ? void 0 : _d.watermark) == null ? void 0 : _e.isShowWatermark) ? "true" : ((_g = (_f = s2.props) == null ? void 0 : _f.watermark) == null ? void 0 : _g.isShowWatermark) + "", b2.watermark = ((_i = (_h = s2.props) == null ? void 0 : _h.watermark) == null ? void 0 : _i.content) && ((_k = (_j = s2.props) == null ? void 0 : _j.watermark) == null ? void 0 : _k.content.length) > 0 ? (_m = (_l = s2.props) == null ? void 0 : _l.watermark) == null ? void 0 : _m.content.join("-~") : "", h2 = i2 ? function(e3, s3, n2, o3) {
363
+ b2.additionalParamMap = T2, b2.isShowWatermark = void 0 === ((_e2 = (_d = s2.props) == null ? void 0 : _d.watermark) == null ? void 0 : _e2.isShowWatermark) ? "true" : ((_g = (_f = s2.props) == null ? void 0 : _f.watermark) == null ? void 0 : _g.isShowWatermark) + "", b2.watermark = ((_i = (_h = s2.props) == null ? void 0 : _h.watermark) == null ? void 0 : _i.content) && ((_k = (_j = s2.props) == null ? void 0 : _j.watermark) == null ? void 0 : _k.content.length) > 0 ? (_m = (_l = s2.props) == null ? void 0 : _l.watermark) == null ? void 0 : _m.content.join("-~") : "", h2 = i2 ? function(e3, s3, n2, o3) {
360
364
  return new Promise((i3, a3) => {
361
365
  const r3 = t(s3, o3) + "/dsc/commons/export-pdf";
362
- F();
363
- const c3 = T.post(r3, n2, { headers: { "content-type": "application/json" }, responseType: "blob" });
366
+ G();
367
+ const c3 = k.post(r3, n2, { headers: { "content-type": "application/json" }, responseType: "blob" });
364
368
  window.$message.info("正在导出中..."), c3.then((t2) => {
365
369
  const s4 = new Blob([t2.data]), n3 = document.createElement("a");
366
370
  n3.download = e3.substring(0, e3.lastIndexOf(".")) + ".pdf", n3.style.display = "none", n3.target = "_blank", n3.href = URL.createObjectURL(s4), document.body.appendChild(n3), n3.click(), URL.revokeObjectURL(n3.href), document.body.removeChild(n3), i3(true);
@@ -371,8 +375,8 @@ function B(e2, s2, o2, i2) {
371
375
  }(r2, f2, b2, e2.isTest) : function(e3, s3, n2, o3) {
372
376
  return new Promise((i3, a3) => {
373
377
  const r3 = t(s3, o3) + "/dsc/commons/export-reports";
374
- F();
375
- T.post(r3, n2, { responseType: "blob" }).then((t2) => {
378
+ G();
379
+ k.post(r3, n2, { responseType: "blob" }).then((t2) => {
376
380
  const s4 = new Blob([t2.data]);
377
381
  let n3 = "报告.xlsx";
378
382
  e3 && (n3 = e3);
@@ -383,77 +387,77 @@ function B(e2, s2, o2, i2) {
383
387
  });
384
388
  });
385
389
  }(r2, f2, b2, e2.isTest), h2 && h2.then(() => {
386
- y(e2, s2);
390
+ P(e2, s2);
387
391
  }).catch((t2) => {
388
- window.$message.error("导出失败..."), y(e2, s2);
392
+ window.$message.error("导出失败..."), P(e2, s2);
389
393
  });
390
394
  }
391
- function F() {
392
- T.defaults.headers.common.Authorization = m();
393
- const e2 = C();
395
+ function G() {
396
+ k.defaults.headers.common.Authorization = f();
397
+ const e2 = b();
394
398
  if (e2) {
395
399
  const t2 = "_RUN_CURRENT_ROLE";
396
- T.defaults.headers.common[t2] = e2;
400
+ k.defaults.headers.common[t2] = e2;
397
401
  }
398
402
  }
399
- function V(e2, t2) {
403
+ function J(e2, t2) {
400
404
  return new Promise((s2, n2) => {
401
405
  const o2 = e2.pageContext, i2 = e2.configureObj, a2 = e2.mainDefaultValueColumns, r2 = e2.dynamicColumnInfo, c2 = i2.props.base.successOperation;
402
406
  let u2 = false;
403
407
  c2 && "noOperation" === c2 && (u2 = true);
404
- const l2 = H(o2, i2, "/dsc/commons", u2, a2, r2);
408
+ const l2 = K(o2, i2, "/dsc/commons", u2, a2, r2);
405
409
  l2 ? l2.then((e3) => {
406
- G(o2, i2, e3, "superPageRuntimeMessage.successfulSave", t2), s2(e3);
410
+ X(o2, i2, e3, "superPageRuntimeMessage.successfulSave", t2), s2(e3);
407
411
  }).catch((e3) => {
408
412
  n2(e3);
409
413
  }) : n2("保存时request不存在");
410
414
  });
411
415
  }
412
- function $(e2, t2, s2, i2, a2, r2, c2) {
416
+ function Y(e2, t2, s2, i2, a2, r2, c2) {
413
417
  var _a, _b, _c;
414
- const u2 = n(e2), l2 = e2.systemCode, p2 = void 0 === t2.props.base.isPermission || "true" === t2.props.base.isPermission || t2.props.base.isPermission, d2 = S(t2, e2);
415
- let m2 = c2;
416
- m2 || (m2 = e2.entity.data);
417
- 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, listCodesInitSearchForm: e2.listCodesInitSearchForm };
418
+ const u2 = n(e2), l2 = e2.systemCode, p2 = void 0 === t2.props.base.isPermission || "true" === t2.props.base.isPermission || t2.props.base.isPermission, m2 = S(t2, e2);
419
+ let d2 = c2;
420
+ d2 || (d2 = e2.entity.data);
421
+ const f2 = { entity: d2, tableName: e2.tableName, formNoRuleCode: e2.formNoRuleCode, isWorkflowEntity: u2, functionCode: m2, isPermission: p2 + "", listCodesMap: e2.listCodesMap, pageCode: e2.code, pageVersion: e2.version, listCodesInitSearchForm: e2.listCodesInitSearchForm };
418
422
  r2 && (f2.ids = r2), e2.judgeHeavyList && (o(e2.judgeHeavyList) ? f2.judgeHeavyList = JSON.stringify(e2.judgeHeavyList) : f2.judgeHeavyList = e2.judgeHeavyList);
419
423
  const g2 = t2.props.base.conversionCodes;
420
424
  g2 && (o(g2) ? f2.dataConversionRule = g2.join(",") : "string" == typeof g2 && (f2.dataConversionRule = g2));
421
- const C2 = ve(t2);
425
+ const C2 = Oe(t2);
422
426
  C2 && (f2.autoSetValueData = C2);
423
427
  const b2 = (_a = t2.props.base) == null ? void 0 : _a.logSetting;
424
428
  b2 && (f2.logSettingText = b2.join("")), f2.systemCode || (f2.systemCode = l2);
425
429
  const w2 = e2.beanName;
426
430
  w2 && (f2.beanName = w2), a2 && (f2.dynamicColumnInfo = a2), i2 && (f2.mainDefaultValueColumns = i2);
427
- const T2 = ue(e2);
431
+ const T2 = fe(e2);
428
432
  f2.additionalParamMap = T2, void 0 !== s2 && (f2.unControlVersion = s2);
429
433
  const k2 = (_c = (_b = t2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
430
- return k2 && (f2.currentOperation = k2), f2.isMobile = D(), f2;
434
+ return k2 && (f2.currentOperation = k2), f2.isMobile = B(), f2;
431
435
  }
432
- function q(e2, n2, o2, i2, a2, r2, u2, l2) {
433
- const p2 = e2.systemCode, d2 = e2.backendUrl, m2 = $(e2, n2, i2, a2, r2, null, u2);
434
- return l2 && l2.tableName && (m2.tableName = l2.tableName), function(e3, n3, o3, i3, a3, r3) {
436
+ function z(e2, n2, o2, i2, a2, r2, u2, l2) {
437
+ const p2 = e2.systemCode, m2 = e2.backendUrl, d2 = Y(e2, n2, i2, a2, r2, null, u2);
438
+ return l2 && l2.tableName && (d2.tableName = l2.tableName), function(e3, n3, o3, i3, a3, r3) {
435
439
  const u3 = t(n3, r3);
436
440
  let l3, p3 = u3 + i3;
437
441
  p3 = s(p3, e3, n3, r3), l3 = a3 && (a3.id || a3.ID) ? c.put(p3, o3) : c.post(p3, o3);
438
442
  return l3;
439
- }(p2, d2, m2, o2, e2.entity.data, e2.isTest);
443
+ }(p2, m2, d2, o2, e2.entity.data, e2.isTest);
440
444
  }
441
- function H(e2, t2, s2, n2, o2, i2) {
442
- return q(e2, t2, s2, n2, o2, i2, null, null);
445
+ function K(e2, t2, s2, n2, o2, i2) {
446
+ return z(e2, t2, s2, n2, o2, i2, null, null);
443
447
  }
444
- function G(t2, s2, n2, o2, i2) {
445
- const a2 = J(t2, s2, i2);
448
+ function X(t2, s2, n2, o2, i2) {
449
+ const a2 = Q(t2, s2, i2);
446
450
  if (a2 && "list" === a2) !function(t3, s3, n3, o3) {
447
451
  let i3 = s3.props.base.successOperation;
448
- const a3 = s3.props.base.isNeedValueMapping, r2 = h(t3, s3);
449
- i3 || X.includes(s3.name) || (i3 = "refresh");
452
+ const a3 = s3.props.base.isNeedValueMapping, r2 = y(t3, s3);
453
+ i3 || se.includes(s3.name) || (i3 = "refresh");
450
454
  if ("refresh" === i3) if (r2) {
451
- b(t3, r2).refresh();
455
+ w(t3, r2).refresh();
452
456
  } else console.error("tableUuid is empty");
453
457
  else if ("closeWindow" === i3 || "closeWindowAndRefresh" === i3) {
454
458
  const o4 = e(t3.entity.page);
455
459
  let i4 = n3;
456
- i4 || (i4 = {}), Object.assign(o4, i4), z(t3, s3, o4, a3);
460
+ i4 || (i4 = {}), Object.assign(o4, i4), ee(t3, s3, o4, a3);
457
461
  }
458
462
  o3 && l({ message: u().t(o3), type: "success", showClose: true });
459
463
  }(t2, s2, n2, o2), t2.canClick = true;
@@ -462,39 +466,39 @@ function G(t2, s2, n2, o2, i2) {
462
466
  const n4 = s3;
463
467
  let o3;
464
468
  o3 = n4.entity ? n4.entity : n4, n4.formNo && (e2.initFormNo = n4.formNo);
465
- Y(e2, t3, { ...o3, ...e2.entity.page });
469
+ Z(e2, t3, { ...o3, ...e2.entity.page });
466
470
  } else {
467
471
  const s4 = t3.props.base.successOperation;
468
472
  if (s4 && null !== s4) {
469
- Y(e2, t3, { ...e2.entity.page });
473
+ Z(e2, t3, { ...e2.entity.page });
470
474
  } else e2.canClick = true;
471
475
  }
472
476
  n3 && l({ message: u().t(n3), type: "success", showClose: true });
473
477
  }(t2, s2, n2, o2);
474
478
  else {
475
479
  const e2 = s2.props.base.successOperation;
476
- e2 && null !== e2 ? Y(t2, s2, null) : t2.canClick = true;
480
+ e2 && null !== e2 ? Z(t2, s2, null) : t2.canClick = true;
477
481
  }
478
482
  }
479
- function J(e2, t2, s2) {
483
+ function Q(e2, t2, s2) {
480
484
  let n2;
481
485
  return void 0 === s2 ? n2 = t2.props.base.tableUuid ? "list" : null : false === s2 && (n2 = "form"), n2 || (n2 = e2.pageType), n2;
482
486
  }
483
- function Y(e2, t2, s2) {
487
+ function Z(e2, t2, s2) {
484
488
  const n2 = t2.props.base.successOperation;
485
489
  if (!n2 || null === n2) return;
486
490
  const o2 = t2.props.base.isNeedValueMapping;
487
- "noOperation" === n2 ? e2.canClick = true : "refresh" === n2 ? s2 && (s2.id || s2.ID) ? Pe(e2, s2.ID ? s2.ID : s2.id) : e2.canClick = true : "closeWindow" !== n2 && "closeWindowAndRefresh" !== n2 || (z(e2, t2, s2, o2), e2.canClick = true);
491
+ "noOperation" === n2 ? e2.canClick = true : "refresh" === n2 ? s2 && (s2.id || s2.ID) ? Me(e2, s2.ID ? s2.ID : s2.id) : e2.canClick = true : "closeWindow" !== n2 && "closeWindowAndRefresh" !== n2 || (ee(e2, t2, s2, o2), e2.canClick = true);
488
492
  }
489
- function z(e2, t2, s2, n2) {
493
+ function ee(e2, t2, s2, n2) {
490
494
  const o2 = e2.entity && e2.entity.request ? e2.entity.request.jumpMode : null;
491
495
  if ("openWindow" === o2 || "newTab" === o2) window.parent ? window.parent.close() : window.close();
492
496
  else {
493
497
  const i2 = e2.tableName, a2 = void 0 !== n2 && true === n2 && s2 && void 0 !== s2, r2 = (e2.entity && e2.entity.request ? e2.entity.request.parentPageCode : null) + "_";
494
- w.$emit(r2 + "close-dialog", { isNeedValueMapping: a2, dataModel: s2, sourceConfigureObj: t2, sourceTableName: i2, jumpMode: o2 });
498
+ T.$emit(r2 + "close-dialog", { isNeedValueMapping: a2, dataModel: s2, sourceConfigureObj: t2, sourceTableName: i2, jumpMode: o2 });
495
499
  }
496
500
  }
497
- function K(e2, t2, s2, n2, o2) {
501
+ function te(e2, t2, s2, n2, o2) {
498
502
  var _a;
499
503
  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);
500
504
  const i2 = e2.tableName;
@@ -504,49 +508,49 @@ function K(e2, t2, s2, n2, o2) {
504
508
  Array.isArray(e3) && e3.length > 0 && (n3 = e3[0]), t3.forEach((e4) => {
505
509
  const t4 = e4.source;
506
510
  if (!t4) return;
507
- const o3 = t4.split("."), i3 = N(n3, o3), a2 = e4.target, r2 = v(null, a2);
508
- x(s3.entity, r2, i3);
511
+ const o3 = t4.split("."), i3 = x(n3, o3), a2 = e4.target, r2 = R(null, a2);
512
+ O(s3.entity, r2, i3);
509
513
  });
510
514
  }
511
- }(s2, o2, e2), k(null, e2, t2, "setValue", { sourceModel: s2, sourceTableName: n2, entity: e2.entity.data, targetTableName: i2 });
515
+ }(s2, o2, e2), h(null, e2, t2, "setValue", { sourceModel: s2, sourceTableName: n2, entity: e2.entity.data, targetTableName: i2 });
512
516
  }
513
- const X = ["dropdown"];
514
- function Q(e2, t2, s2, n2) {
517
+ const se = ["dropdown"];
518
+ function ne(e2, t2, s2, n2) {
515
519
  var _a;
516
520
  t2 && !t2.props.base && (t2.props.base = {});
517
521
  let o2 = n2;
518
522
  o2 || (o2 = s2 ? "refresh" : (_a = t2.props.base) == null ? void 0 : _a.successOperation);
519
- const i2 = J(e2, t2);
523
+ const i2 = Q(e2, t2);
520
524
  if (i2 && "list" === i2 && !o2 && (o2 = "refresh"), "refresh" === o2) {
521
525
  if (i2 && "list" === i2) {
522
- const s3 = h(e2, t2);
526
+ const s3 = y(e2, t2);
523
527
  if (s3) {
524
- b(e2, s3).refresh();
528
+ w(e2, s3).refresh();
525
529
  } else console.error("tableUuid is empty");
526
530
  } else if (i2 && "form" === i2) {
527
531
  const t3 = e2.entity.data;
528
- Pe(e2, t3.ID ? t3.ID : t3.id);
532
+ Me(e2, t3.ID ? t3.ID : t3.id);
529
533
  }
530
534
  }
531
535
  }
532
- function Z(e2, n2, o2, i2) {
536
+ function oe(e2, n2, o2, i2) {
533
537
  return new Promise((r2, l2) => {
534
- const d2 = e2.pageContext, m2 = e2.configureObj, f2 = e2.mainDefaultValueColumns, g2 = e2.dynamicColumnInfo, C2 = e2.ids, b2 = m2.props.base.successOperation;
538
+ const m2 = e2.pageContext, d2 = e2.configureObj, f2 = e2.mainDefaultValueColumns, g2 = e2.dynamicColumnInfo, C2 = e2.ids, b2 = d2.props.base.successOperation;
535
539
  let w2 = false;
536
540
  b2 && "noOperation" === b2 && (w2 = true);
537
- let T2 = d2.tableName;
541
+ let T2 = m2.tableName;
538
542
  if (n2) {
539
- const t2 = m2.props.base.tableUuid ? m2.props.base.tableUuid : e2.tableUuid;
540
- T2 = A(d2, t2);
543
+ const t2 = d2.props.base.tableUuid ? d2.props.base.tableUuid : e2.tableUuid;
544
+ T2 = E(m2, t2);
541
545
  }
542
- const k2 = function(e3, n3, o3, i3, r3, l3, d3, m3, f3) {
546
+ const k2 = function(e3, n3, o3, i3, r3, l3, m3, d3, f3) {
543
547
  return new Promise((g3, C3) => {
544
- const b3 = n3.props.base.title, w3 = "superPageRuntimeMessage.whetherToConfirm" + a(d3);
548
+ const b3 = n3.props.base.title, w3 = "superPageRuntimeMessage.whetherToConfirm" + a(m3);
545
549
  p.confirm(u().t(w3, { name: b3 }), u().t("superPageRuntimeMessage.tips"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
546
- const a2 = e3.systemCode, u2 = e3.backendUrl, p2 = $(e3, n3, i3, r3, l3, m3, null);
550
+ const a2 = e3.systemCode, u2 = e3.backendUrl, p2 = Y(e3, n3, i3, r3, l3, d3, null);
547
551
  p2.tableName = f3;
548
- let d4 = t(u2, e3.isTest) + o3;
549
- d4 = s(d4, a2, u2, e3.isTest), c.post(d4, p2).then((e4) => {
552
+ let m4 = t(u2, e3.isTest) + o3;
553
+ m4 = s(m4, a2, u2, e3.isTest), c.post(m4, p2).then((e4) => {
550
554
  g3(e4);
551
555
  }).catch((e4) => {
552
556
  C3(e4);
@@ -555,25 +559,25 @@ function Z(e2, n2, o2, i2) {
555
559
  C3("点击了取消按钮");
556
560
  });
557
561
  });
558
- }(d2, m2, i2, w2, f2, g2, o2, C2, T2);
562
+ }(m2, d2, i2, w2, f2, g2, o2, C2, T2);
559
563
  k2 ? k2.then((e3) => {
560
- G(d2, m2, e3, "superPageRuntimeMessage.successfulSave", n2), r2(e3);
564
+ X(m2, d2, e3, "superPageRuntimeMessage.successfulSave", n2), r2(e3);
561
565
  }).catch((e3) => {
562
566
  l2(e3);
563
567
  }) : l2("request不存在");
564
568
  });
565
569
  }
566
- function ee(e2, o2) {
570
+ function ie(e2, o2) {
567
571
  var _a, _b, _c;
568
- 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();
569
- f2.append("multipartFile", o2), m2 && f2.append("tableName", m2);
572
+ const i2 = e2.pageContext, a2 = e2.configureObj, r2 = e2.tableConfigure, p2 = a2.props.base, m2 = a2.props.base.tableUuid ? a2.props.base.tableUuid : e2.tableUuid, d2 = E(i2, m2), f2 = new FormData();
573
+ f2.append("multipartFile", o2), d2 && f2.append("tableName", d2);
570
574
  const g2 = (_b = (_a = a2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
571
- g2 && f2.append("currentOperation", g2), f2.append("isMobile", D()), i2.importBeanName && f2.append("importBeanName", i2.importBeanName), i2.beanName && f2.append("beanName", i2.beanName);
575
+ g2 && f2.append("currentOperation", g2), f2.append("isMobile", B()), i2.importBeanName && f2.append("importBeanName", i2.importBeanName), i2.beanName && f2.append("beanName", i2.beanName);
572
576
  const C2 = (_c = r2.props.importSetting) == null ? void 0 : _c.listViewImportDuplicate;
573
577
  C2 && f2.append("importDuplicateRule", C2);
574
578
  const b2 = i2.judgeHeavyList;
575
579
  b2 && f2.append("judgeHeavyList", JSON.stringify(b2));
576
- const w2 = ve(a2);
580
+ const w2 = Oe(a2);
577
581
  w2 && f2.append("autoSetValueData", w2);
578
582
  const T2 = i2.formNoRuleCode;
579
583
  T2 && f2.append("formNoRuleCode", T2);
@@ -581,28 +585,28 @@ function ee(e2, o2) {
581
585
  k2 && f2.append("listCode", k2);
582
586
  let h2 = false;
583
587
  h2 = void 0 !== p2.isAsync && null !== p2.isAsync && p2.isAsync, f2.append("isAsync", h2 + ""), f2.append("pageCode", i2.code);
584
- const P2 = n(i2);
585
- null != P2 && f2.append("isWorkflowEntity", P2 + "");
586
- const R2 = S(a2, i2);
587
- R2 && f2.append("functionCode", R2);
588
- const v2 = ue(i2);
589
- f2.append("additionalParamMapStr", JSON.stringify(v2));
590
- const M2 = void 0 === p2.isPermission || "true" === p2.isPermission || p2.isPermission;
591
- f2.append("isPermission", M2 + "");
592
- const I2 = i2.systemCode;
593
- I2 && f2.append("systemCode", I2);
588
+ const y2 = n(i2);
589
+ null != y2 && f2.append("isWorkflowEntity", y2 + "");
590
+ const v2 = S(a2, i2);
591
+ v2 && f2.append("functionCode", v2);
592
+ const I2 = fe(i2);
593
+ f2.append("additionalParamMapStr", JSON.stringify(I2));
594
+ const R2 = void 0 === p2.isPermission || "true" === p2.isPermission || p2.isPermission;
595
+ f2.append("isPermission", R2 + "");
596
+ const M2 = i2.systemCode;
597
+ M2 && f2.append("systemCode", M2);
594
598
  const N2 = i2.backendUrl;
595
599
  let x2 = t(N2, i2.isTest) + "/dsc/commons/import-data";
596
- x2 = s(x2, I2, N2, i2.isTest), c.post(x2, f2).then((e3) => {
597
- if (h2) l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.asyncImport") });
600
+ x2 = s(x2, M2, N2, i2.isTest), c.post(x2, f2).then((e3) => {
601
+ if (h2) l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.asyncImport") }), _e(i2);
598
602
  else {
599
603
  let t2 = false;
600
- e3 ? (t2 = false, l({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e3 })) : (l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulImport") }), t2 = true), G(i2, a2, e3, null, true), i2.result = t2, y(i2, a2);
604
+ e3 ? (t2 = false, l({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e3 })) : (l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulImport") }), t2 = true), X(i2, a2, e3, null, true), i2.result = t2, P(i2, a2);
601
605
  }
602
606
  }).catch((e3) => {
603
607
  });
604
608
  }
605
- function te(e2, t2) {
609
+ function ae(e2, t2) {
606
610
  const s2 = e2.props.base;
607
611
  if (s2.conditionsForExecution && "" !== s2.conditionsForExecution) {
608
612
  if ("one" === s2.conditionsForExecution) {
@@ -611,7 +615,7 @@ function te(e2, t2) {
611
615
  }
612
616
  return true;
613
617
  }
614
- function se(e2) {
618
+ function re(e2) {
615
619
  var _a, _b, _c;
616
620
  const t2 = e2.pageContext, s2 = e2.configureObj, n2 = t2.entity.data, i2 = t2.systemCode, a2 = t2.code;
617
621
  let r2 = S(s2, t2);
@@ -620,24 +624,24 @@ function se(e2) {
620
624
  t2.completeTaskParam && (c2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, opinion: t2.completeTaskParam.opinion }), t2.judgeHeavyList && (o(t2.judgeHeavyList) ? c2.judgeHeavyList = JSON.stringify(t2.judgeHeavyList) : c2.judgeHeavyList = t2.judgeHeavyList);
621
625
  const u2 = s2.props.base.conversionCodes;
622
626
  u2 && (o(u2) ? c2.dataConversionRule = u2.join(",") : "string" == typeof u2 && (c2.dataConversionRule = u2));
623
- const l2 = ve(s2);
627
+ const l2 = Oe(s2);
624
628
  l2 && (c2.autoSetValueData = l2), t2.beanName && (c2.beanName = t2.beanName);
625
629
  const p2 = (_a = s2.props.base) == null ? void 0 : _a.logSetting;
626
630
  p2 && (c2.logSettingText = p2.join("")), c2.systemCode || (c2.systemCode = i2);
627
- const d2 = ue(t2);
628
- 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参数类型错误"));
629
- const m2 = s2.props.base.successOperation;
630
- m2 && "noOperation" === m2 && (c2.unControlVersion = true), c2.isWorkflowEntity = true;
631
+ const m2 = fe(t2);
632
+ c2.additionalParamMap = m2, m2.ids && m2.ids.length > 0 && ("string" == typeof m2.ids ? c2.ids = m2.ids.split(",") : Array.isArray(m2.ids) ? c2.ids = m2.ids : "number" == typeof ids ? c2.ids = [m2.ids] : console.error("ids参数类型错误"));
633
+ const d2 = s2.props.base.successOperation;
634
+ d2 && "noOperation" === d2 && (c2.unControlVersion = true), c2.isWorkflowEntity = true;
631
635
  const f2 = (_c = (_b = s2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
632
- return f2 && (c2.currentOperation = f2), c2.isMobile = D(), c2;
636
+ return f2 && (c2.currentOperation = f2), c2.isMobile = B(), c2;
633
637
  }
634
- function ne(e2, t2, s2, n2, o2) {
638
+ function ce(e2, t2, s2, n2, o2) {
635
639
  const i2 = s2.code, a2 = s2.version;
636
640
  let r2;
637
641
  if (e2) {
638
642
  t2 && (s2.initFormNo = e2.formNo, s2.emailTemplateCode = e2.emailTemplateCode), e2.entity && (s2.entity.data = e2.entity, function(e3, t3) {
639
- const s3 = ue(t3);
640
- e3 && s3 && g(s3._t_ + "_id", e3);
643
+ const s3 = fe(t3);
644
+ e3 && s3 && C(s3._t_ + "_id", e3);
641
645
  }(e2.entity.id || e2.entity.ID, s2));
642
646
  const o3 = e2.completeTaskResult;
643
647
  if (o3) {
@@ -649,62 +653,62 @@ function ne(e2, t2, s2, n2, o2) {
649
653
  }
650
654
  if (e2.completeTaskParam) {
651
655
  const t3 = e2.completeTaskParam;
652
- r2 = t3.taskId, n2 && (n2.taskId = r2), P(i2, a2, "_completeTaskParam", t3), s2.fieldPermissions = t3.fieldPermissions, s2.actionPermissions = t3.actionPermissions, s2.workflowButtonComponent = t3.buttonComponent, s2.completeTaskParam = t3, s2.completeTaskParam.opinion = null;
656
+ r2 = t3.taskId, n2 && (n2.taskId = r2), v(i2, a2, "_completeTaskParam", t3), s2.fieldPermissions = t3.fieldPermissions, s2.actionPermissions = t3.actionPermissions, s2.workflowButtonComponent = t3.buttonComponent, s2.completeTaskParam = t3, s2.completeTaskParam.opinion = null;
653
657
  }
654
- s2.entity || (s2.entity = {}), s2.entity.task = e2.taskParamMap, P(i2, a2, "_currentActivityName", e2.taskName);
658
+ s2.entity || (s2.entity = {}), s2.entity.task = e2.taskParamMap, v(i2, a2, "_currentActivityName", e2.taskName);
655
659
  }
656
- return n2 && (n2.operationResult = o2), t2 || G(s2, n2.configureObj, e2, null, false), true;
660
+ return n2 && (n2.operationResult = o2), t2 || X(s2, n2.configureObj, e2, null, false), true;
657
661
  }
658
- async function oe(e2, n2) {
659
- const o2 = await ie(e2);
662
+ async function ue(e2, n2) {
663
+ const o2 = await le(e2);
660
664
  return new Promise((i2, a2) => {
661
665
  var _a;
662
666
  if (o2) {
663
- const r2 = e2.pageContext, p2 = r2.systemCode, d2 = r2.backendUrl, m2 = true === o2 ? (_a = r2.completeTaskParam) == null ? void 0 : _a.opinion : o2;
664
- let f2 = t(d2, r2.isTest) + "/dsc/workflow-commons/complete-tasks";
665
- if (f2 = s(f2, p2, d2, r2.isTest), !f2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
666
- const g2 = se(e2);
667
- g2.completeTaskParam = { operationResult: n2, taskId: r2.completeTaskParam ? r2.completeTaskParam.taskId : null, opinion: m2 || null };
667
+ const r2 = e2.pageContext, p2 = r2.systemCode, m2 = r2.backendUrl, d2 = true === o2 ? (_a = r2.completeTaskParam) == null ? void 0 : _a.opinion : o2;
668
+ let f2 = t(m2, r2.isTest) + "/dsc/workflow-commons/complete-tasks";
669
+ if (f2 = s(f2, p2, m2, r2.isTest), !f2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
670
+ const g2 = re(e2);
671
+ g2.completeTaskParam = { operationResult: n2, taskId: r2.completeTaskParam ? r2.completeTaskParam.taskId : null, opinion: d2 || null };
668
672
  c.post(f2, g2).then((t2) => {
669
673
  let s2 = true;
670
- t2 && (s2 = ne(t2, false, r2, e2, n2)), true === s2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulCompleteTask") }), i2(true);
674
+ t2 && (s2 = ce(t2, false, r2, e2, n2)), true === s2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulCompleteTask") }), i2(true);
671
675
  }).catch((e3) => {
672
676
  a2(e3);
673
677
  });
674
678
  } else i2(true);
675
679
  });
676
680
  }
677
- function ie(e2) {
681
+ function le(e2) {
678
682
  return new Promise((t2, s2) => {
679
- var _a, _b, _c, _d, _e;
683
+ var _a, _b, _c, _d, _e2;
680
684
  const n2 = e2.configureObj;
681
685
  if (n2) {
682
686
  if ((_a = e2.pageContext.workflowOpinion) == null ? void 0 : _a.opinion) return void t2(e2.pageContext.workflowOpinion.opinion);
683
687
  let s3 = false;
684
688
  if (((_c = (_b = n2.props) == null ? void 0 : _b.base) == null ? void 0 : _c.isMustOpinion) && (s3 = true), true === s3) {
685
- const t3 = e2.pageContext, o2 = (_e = (_d = n2.props) == null ? void 0 : _d.base) == null ? void 0 : _e.mustOpinionConditions;
689
+ const t3 = e2.pageContext, o2 = (_e2 = (_d = n2.props) == null ? void 0 : _d.base) == null ? void 0 : _e2.mustOpinionConditions;
686
690
  s3 = M(t3, o2);
687
691
  }
688
692
  true === s3 ? (l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.pleaseInputOpinion") }), e2.pageContext.workflowOpinion.focusOpinionInput = true, t2(false)) : t2(true);
689
693
  } else t2(true);
690
694
  });
691
695
  }
692
- function ae(e2, s2) {
696
+ function pe(e2, s2) {
693
697
  if (s2) {
694
- const n2 = e2.pageContext, o2 = e2.configureObj, i2 = n2.backendUrl, a2 = t(i2, n2.isTest) + "/dsc/workflow-commons/assigns", r2 = s2.id ? s2.id : s2.ID ? s2.ID : null, c2 = se(e2);
695
- c2.assigneeId = r2, me(e2, c2, a2, "superPageRuntimeMessage.successfulAssign").then((e3) => {
696
- y(n2, o2);
698
+ const n2 = e2.pageContext, o2 = e2.configureObj, i2 = n2.backendUrl, a2 = t(i2, n2.isTest) + "/dsc/workflow-commons/assigns", r2 = s2.id ? s2.id : s2.ID ? s2.ID : null, c2 = re(e2);
699
+ c2.assigneeId = r2, we(e2, c2, a2, "superPageRuntimeMessage.successfulAssign").then((e3) => {
700
+ P(n2, o2);
697
701
  });
698
702
  }
699
703
  }
700
- function re(e2) {
704
+ function me(e2) {
701
705
  var _a, _b;
702
- const t2 = e2.pageContext, s2 = t2.entity.data, n2 = t2.systemCode, o2 = t2.code, i2 = e2.configureObj, a2 = ue(t2), r2 = void 0 !== s2.ID && null !== s2.ID ? s2.ID : s2.id, c2 = { beanName: t2.beanName, id: r2, entity: s2, additionalParamMap: a2, tableName: t2.tableName, functionCode: o2 + ".xxx", isWorkflowEntity: true, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version, listCodesInitSearchForm: t2.listCodesInitSearchForm };
703
- c2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, systemCode: n2 }, c2.completeTaskParam.customTaskTitle = ce(e2);
706
+ const t2 = e2.pageContext, s2 = t2.entity.data, n2 = t2.systemCode, o2 = t2.code, i2 = e2.configureObj, a2 = fe(t2), r2 = void 0 !== s2.ID && null !== s2.ID ? s2.ID : s2.id, c2 = { beanName: t2.beanName, id: r2, entity: s2, additionalParamMap: a2, tableName: t2.tableName, functionCode: o2 + ".xxx", isWorkflowEntity: true, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version, listCodesInitSearchForm: t2.listCodesInitSearchForm };
707
+ c2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, systemCode: n2 }, c2.completeTaskParam.customTaskTitle = de(e2);
704
708
  const u2 = (_b = (_a = i2 == null ? void 0 : i2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
705
- return u2 && (c2.currentOperation = u2), c2.isMobile = D(), c2;
709
+ return u2 && (c2.currentOperation = u2), c2.isMobile = B(), c2;
706
710
  }
707
- function ce(e2) {
711
+ function de(e2) {
708
712
  var _a, _b, _c;
709
713
  let t2 = null;
710
714
  if (((_b = (_a = e2.configureObj.props.task) == null ? void 0 : _a.title) == null ? void 0 : _b.length) > 0) for (let s2 = 0; s2 < e2.configureObj.props.task.title.length; s2++) {
@@ -722,7 +726,7 @@ function ce(e2) {
722
726
  }
723
727
  return t2;
724
728
  }
725
- function ue(t2) {
729
+ function fe(t2) {
726
730
  if (t2.entity) {
727
731
  let s2 = e(t2.entity.page);
728
732
  s2 || (s2 = {});
@@ -730,33 +734,33 @@ function ue(t2) {
730
734
  return n2 && Object.assign(s2, n2), s2;
731
735
  }
732
736
  }
733
- function le(e2, n2) {
737
+ function ge(e2, n2) {
734
738
  if (n2) {
735
739
  const o2 = e2.pageContext, i2 = e2.configureObj, a2 = o2.systemCode, r2 = o2.backendUrl;
736
740
  let p2 = t(r2, o2.isTest) + "/dsc/workflow-commons/add-signers";
737
741
  if (p2 = s(p2, a2, r2, o2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
738
- const d2 = re(e2);
739
- d2.completeTaskParam.transactors = n2.loginNames.join(",").split(",");
740
- const m2 = c.post(p2, d2);
741
- m2 && m2.then((e3) => {
742
- l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && G(o2, i2, e3, null, false), y(o2, i2);
742
+ const m2 = me(e2);
743
+ m2.completeTaskParam.transactors = n2.loginNames.join(",").split(",");
744
+ const d2 = c.post(p2, m2);
745
+ d2 && d2.then((e3) => {
746
+ l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && X(o2, i2, e3, null, false), P(o2, i2);
743
747
  });
744
748
  }
745
749
  }
746
- function pe(e2, n2) {
750
+ function Ce(e2, n2) {
747
751
  if (n2) {
748
752
  const o2 = e2.pageContext, i2 = e2.configureObj, a2 = o2.systemCode, r2 = o2.backendUrl;
749
753
  let p2 = t(r2, o2.isTest) + "/dsc/workflow-commons/add-transactors";
750
754
  if (p2 = s(p2, a2, r2, o2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
751
- const d2 = re(e2);
752
- d2.completeTaskParam.transactors = n2.loginNames.join(",").split(",");
753
- const m2 = c.post(p2, d2);
754
- m2 && m2.then((e3) => {
755
- l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && G(o2, i2, e3, null, false), y(o2, i2);
755
+ const m2 = me(e2);
756
+ m2.completeTaskParam.transactors = n2.loginNames.join(",").split(",");
757
+ const d2 = c.post(p2, m2);
758
+ d2 && d2.then((e3) => {
759
+ l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && X(o2, i2, e3, null, false), P(o2, i2);
756
760
  });
757
761
  }
758
762
  }
759
- async function de(e2, n2) {
763
+ async function be(e2, n2) {
760
764
  if (n2) {
761
765
  const o2 = await function(e3) {
762
766
  return new Promise((t2, s2) => {
@@ -779,112 +783,112 @@ async function de(e2, n2) {
779
783
  }(e2);
780
784
  if (o2) {
781
785
  const i2 = e2.pageContext, a2 = e2.configureObj, r2 = i2.systemCode, p2 = i2.backendUrl;
782
- let d2 = t(p2, i2.isTest) + "/dsc/workflow-commons/copies";
783
- if (d2 = s(d2, r2, p2, i2.isTest), !d2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
784
- const m2 = re(e2);
785
- m2.completeTaskParam.transactors = n2.loginNames.join(",").split(","), true !== o2 && (m2.completeTaskParam.remark = o2);
786
- const f2 = c.post(d2, m2);
786
+ let m2 = t(p2, i2.isTest) + "/dsc/workflow-commons/copies";
787
+ if (m2 = s(m2, r2, p2, i2.isTest), !m2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
788
+ const d2 = me(e2);
789
+ d2.completeTaskParam.transactors = n2.loginNames.join(",").split(","), true !== o2 && (d2.completeTaskParam.remark = o2);
790
+ const f2 = c.post(m2, d2);
787
791
  f2 && f2.then((e3) => {
788
- l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), y(i2, a2);
792
+ l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulOperation") }), P(i2, a2);
789
793
  });
790
794
  }
791
795
  }
792
796
  }
793
- async function me(e2, t2, n2, o2) {
794
- const i2 = await ie(e2);
797
+ async function we(e2, t2, n2, o2) {
798
+ const i2 = await le(e2);
795
799
  return new Promise((a2, r2) => {
796
800
  var _a;
797
801
  if (i2) {
798
- const p2 = e2.pageContext, d2 = p2.systemCode, m2 = p2.backendUrl;
802
+ const p2 = e2.pageContext, m2 = p2.systemCode, d2 = p2.backendUrl;
799
803
  if (p2.completeTaskParam) {
800
804
  const e3 = true === i2 ? (_a = p2.completeTaskParam) == null ? void 0 : _a.opinion : i2;
801
805
  t2.completeTaskParam = { taskId: p2.completeTaskParam.taskId, opinion: e3 };
802
806
  }
803
- if (!(n2 = s(n2, d2, m2, p2.isTest))) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
807
+ if (!(n2 = s(n2, m2, d2, p2.isTest))) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
804
808
  const f2 = c.post(n2, t2);
805
809
  f2 && f2.then((t3) => {
806
810
  let s2 = true;
807
- t3 && (s2 = ne(t3, false, p2, e2, null)), true === s2 && l({ showClose: true, type: "success", message: u().t(o2) }), a2(true);
811
+ t3 && (s2 = ce(t3, false, p2, e2, null)), true === s2 && l({ showClose: true, type: "success", message: u().t(o2) }), a2(true);
808
812
  }).catch((e3) => {
809
813
  r2(e3);
810
814
  });
811
815
  } else a2(true);
812
816
  });
813
817
  }
814
- function fe(e2) {
818
+ function Te(e2) {
815
819
  const n2 = e2.pageContext, o2 = n2.systemCode, i2 = n2.backendUrl, a2 = n2.completeTaskParam;
816
820
  let r2 = t(i2, n2.isTest) + "/dsc/workflow-commons/returnable-task/" + a2.taskId;
817
821
  if (r2 = s(r2, o2, i2, n2.isTest), !r2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
818
- const p2 = n2.code, d2 = ue(n2), m2 = { beanName: n2.beanName, additionalParamMap: d2, tableName: n2.tableName, functionCode: p2 + ".xxx", pageCode: n2.code };
819
- return c.post(r2, m2);
822
+ const p2 = n2.code, m2 = fe(n2), d2 = { beanName: n2.beanName, additionalParamMap: m2, tableName: n2.tableName, functionCode: p2 + ".xxx", pageCode: n2.code };
823
+ return c.post(r2, d2);
820
824
  }
821
- function ge(e2, s2) {
822
- const n2 = e2.pageContext, o2 = e2.configureObj, i2 = n2.backendUrl, a2 = t(i2, n2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 = se(e2);
823
- s2.nodeName && (r2.returnToNodeName = s2.nodeName), s2.nodeId && (r2.returnToNodeId = s2.nodeId), me(e2, r2, a2, "superPageRuntimeMessage.successfulReturnTaskTo").then((e3) => {
824
- y(n2, o2);
825
+ function ke(e2, s2) {
826
+ const n2 = e2.pageContext, o2 = e2.configureObj, i2 = n2.backendUrl, a2 = t(i2, n2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 = re(e2);
827
+ s2.nodeName && (r2.returnToNodeName = s2.nodeName), s2.nodeId && (r2.returnToNodeId = s2.nodeId), we(e2, r2, a2, "superPageRuntimeMessage.successfulReturnTaskTo").then((e3) => {
828
+ P(n2, o2);
825
829
  });
826
830
  }
827
- function Ce(e2) {
831
+ function he(e2) {
828
832
  const n2 = e2.pageContext, o2 = n2.systemCode, i2 = n2.backendUrl;
829
833
  let a2 = t(i2, n2.isTest) + "/dsc/workflow-commons/get-remove-signers";
830
- const r2 = se(e2);
834
+ const r2 = re(e2);
831
835
  if (a2 = s(a2, o2, i2, n2.isTest), a2) return c.post(a2, r2);
832
836
  l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
833
837
  }
834
- function be(e2, n2) {
838
+ function ye(e2, n2) {
835
839
  if (n2) {
836
840
  const o2 = e2.pageContext, i2 = e2.configureObj, a2 = o2.systemCode, r2 = o2.backendUrl;
837
841
  let p2 = t(r2, o2.isTest) + "/dsc/workflow-commons/remove-signers";
838
842
  if (p2 = s(p2, a2, r2, o2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
839
- const d2 = n2.map((e3) => e3.id ? e3.id : e3.ID ? e3.ID : null), m2 = se(e2);
840
- m2.ids = d2;
841
- const f2 = c.post(p2, m2);
843
+ const m2 = n2.map((e3) => e3.id ? e3.id : e3.ID ? e3.ID : null), d2 = re(e2);
844
+ d2.ids = m2;
845
+ const f2 = c.post(p2, d2);
842
846
  f2 && f2.then((e3) => {
843
- G(o2, i2, e3, "superPageRuntimeMessage.successfulOperation", false), y(o2, i2);
847
+ X(o2, i2, e3, "superPageRuntimeMessage.successfulOperation", false), P(o2, i2);
844
848
  });
845
849
  }
846
850
  }
847
- function we(e2) {
851
+ function Pe(e2) {
848
852
  const n2 = e2.pageContext, o2 = n2.systemCode, i2 = n2.backendUrl;
849
853
  let a2 = t(i2, n2.isTest) + "/dsc/workflow-commons/get-remove-transactors";
850
- const r2 = se(e2);
854
+ const r2 = re(e2);
851
855
  if (a2 = s(a2, o2, i2, n2.isTest), a2) return c.post(a2, r2);
852
856
  l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
853
857
  }
854
- function Te(e2, n2) {
858
+ function ve(e2, n2) {
855
859
  if (n2) {
856
860
  const o2 = e2.pageContext, i2 = e2.configureObj, a2 = o2.systemCode, r2 = o2.backendUrl;
857
861
  let p2 = t(r2, o2.isTest) + "/dsc/workflow-commons/remove-transactors";
858
862
  if (p2 = s(p2, a2, r2, o2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
859
- const d2 = n2.map((e3) => e3.taskId), m2 = se(e2);
860
- m2.ids = d2;
861
- const f2 = c.post(p2, m2);
863
+ const m2 = n2.map((e3) => e3.taskId), d2 = re(e2);
864
+ d2.ids = m2;
865
+ const f2 = c.post(p2, d2);
862
866
  f2 && f2.then((e3) => {
863
- G(o2, i2, e3, "superPageRuntimeMessage.successfulOperation", false), y(o2, i2);
867
+ X(o2, i2, e3, "superPageRuntimeMessage.successfulOperation", false), P(o2, i2);
864
868
  });
865
869
  }
866
870
  }
867
- function ke(e2) {
871
+ function Se(e2) {
868
872
  const n2 = e2.pageContext, o2 = n2.backendUrl;
869
873
  let i2 = t(o2, n2.isTest) + "/dsc/workflow-commons/initiate-extract";
870
- const a2 = se(e2);
874
+ const a2 = re(e2);
871
875
  if (n2.completeTaskParam) {
872
876
  const t2 = [];
873
- e2._value.loginName && t2.push(e2._value.loginName), a2.completeTaskParam = { taskId: n2.completeTaskParam.taskId, opinion: e2._value.opinion, transactors: t2, customTaskTitle: ce(e2) };
877
+ e2._value.loginName && t2.push(e2._value.loginName), a2.completeTaskParam = { taskId: n2.completeTaskParam.taskId, opinion: e2._value.opinion, transactors: t2, customTaskTitle: de(e2) };
874
878
  }
875
879
  return new Promise((t2, n3) => {
876
880
  const o3 = e2.pageContext, r2 = o3.systemCode, p2 = o3.backendUrl;
877
881
  if (i2 = s(i2, r2, p2, o3.isTest), !i2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
878
- const d2 = c.post(i2, a2);
879
- d2 && d2.then((s2) => {
882
+ const m2 = c.post(i2, a2);
883
+ m2 && m2.then((s2) => {
880
884
  let n4 = true;
881
- s2 && (n4 = ne(s2, false, o3, e2, null)), true === n4 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulInitiateExtract") }), t2(true);
885
+ s2 && (n4 = ce(s2, false, o3, e2, null)), true === n4 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulInitiateExtract") }), t2(true);
882
886
  }).catch((e3) => {
883
887
  n3(e3);
884
888
  });
885
889
  });
886
890
  }
887
- function he(e2, t2, s2, n2, o2, i2) {
891
+ function Ie(e2, t2, s2, n2, o2, i2) {
888
892
  var _a, _b, _c, _d;
889
893
  let a2 = false;
890
894
  t2 && s2 && ("workflowSave" === t2 ? a2 = function(e3) {
@@ -952,7 +956,7 @@ function he(e2, t2, s2, n2, o2, i2) {
952
956
  const n3 = d(), o3 = n3 ? n3.loginName : null;
953
957
  if ("EXTRACT" === (e3 == null ? void 0 : e3.processState) && s3 && (s3.creator === o3 || s3.CREATOR === o3)) return true;
954
958
  return false;
955
- }(s2, 0, i2) : "approveExtractWorkflow" === t2 || "refuseExtractWorkflow" === t2 ? a2 = ye(s2) : "addTransactor" === t2 || "removeTransactor" === t2 ? a2 = function(e3) {
959
+ }(s2, 0, i2) : "approveExtractWorkflow" === t2 || "refuseExtractWorkflow" === t2 ? a2 = Re(s2) : "addTransactor" === t2 || "removeTransactor" === t2 ? a2 = function(e3) {
956
960
  if (e3.processState && "SUBMIT" === e3.processState && ("WAIT_TRANSACT" === e3.active || "DRAW_WAIT" === e3.active) && "COUNTERSIGN" !== e3.processingMode) return true;
957
961
  return false;
958
962
  }(s2) : function(e3, t3) {
@@ -979,24 +983,24 @@ function he(e2, t2, s2, n2, o2, i2) {
979
983
  }
980
984
  return a2;
981
985
  }
982
- function ye(e2, t2, s2) {
986
+ function Re(e2, t2, s2) {
983
987
  return !(!e2.processState || "EXTRACT" !== e2.processState || "WAIT_TRANSACT" !== e2.active);
984
988
  }
985
- function Pe(e2, t2) {
986
- e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, Se(e2, t2).then((t3) => {
989
+ function Me(e2, t2) {
990
+ e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, Ne(e2, t2).then((t3) => {
987
991
  e2.isRefresh = true;
988
992
  });
989
993
  }
990
- function Se(e2, s2, o2) {
994
+ function Ne(e2, s2, o2) {
991
995
  const i2 = e2.pageType;
992
996
  if (i2 && "form" === i2) {
993
997
  e2.canClick = false;
994
998
  return n(e2) ? function(e3, s3, n2) {
995
999
  return new Promise((o3, i3) => {
996
- const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = ue(e3);
997
- let d2 = s3 || null, m2 = s3 ? [s3] : null;
998
- void 0 === n2 || n2 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), m2 || (m2 = p2 ? p2.ids : null)) : (d2 = null, m2 = null, p2._id = p2.id, p2.id = null);
999
- const g2 = p2 ? p2.taskId : null, C2 = u2, b2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, isWorkflowEntity: true, systemCode: a2, functionCode: C2 + ".workflowGets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
1000
+ const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = fe(e3);
1001
+ let m2 = s3 || null, d2 = s3 ? [s3] : null;
1002
+ void 0 === n2 || n2 ? (m2 || (m2 = p2 && p2.id ? p2.id : null), d2 || (d2 = p2 ? p2.ids : null)) : (m2 = null, d2 = null, p2._id = p2.id, p2.id = null);
1003
+ const f2 = p2 ? p2.taskId : null, C2 = u2, b2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, isWorkflowEntity: true, systemCode: a2, functionCode: C2 + ".workflowGets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
1000
1004
  if (e3.listCodesMap, (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1001
1005
  const t2 = {};
1002
1006
  e3.tableUuids.forEach((e4) => {
@@ -1004,10 +1008,10 @@ function Se(e2, s2, o2) {
1004
1008
  t2[s4] = s4;
1005
1009
  }), b2.listCodesMap = t2;
1006
1010
  }
1007
- m2 && (b2.ids = Re(m2)), g2 ? b2.taskId = g2 : d2 ? b2.id = d2 : (p2 && p2._t_ && f(p2._t_ + "_id") && (b2.id = f(p2._t_ + "_id")), e3.notIdInitializationList && (b2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList))), p2 && (b2.additionalParamMap = p2), e3.beanName && (b2.beanName = e3.beanName), e3.refercePropMap && (b2.refercePropMap = e3.refercePropMap);
1008
- const w2 = t(e3.backendUrl, e3.isTest) + "/dsc/workflow-commons/gets", T2 = j();
1009
- T2.restorePageLoadState(), k(null, e3, e3, "beforeFormLoadData"), c.post(w2, b2).then((t2) => {
1010
- e3.workflowOpinion = { showOpinionBox: false }, e3.definitionId = t2.definitionId, e3.entity.task = t2.taskParamMap, e3.dataTypeMaps = t2.dataTypeMap, ne(t2, true, e3), e3.workflowRules = E(e3);
1011
+ d2 && (b2.ids = xe(d2)), f2 ? b2.taskId = f2 : m2 ? b2.id = m2 : (p2 && p2._t_ && g(p2._t_ + "_id") && (b2.id = g(p2._t_ + "_id")), e3.notIdInitializationList && (b2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList))), p2 && (b2.additionalParamMap = p2), e3.beanName && (b2.beanName = e3.beanName), e3.refercePropMap && (b2.refercePropMap = e3.refercePropMap);
1012
+ const w2 = t(e3.backendUrl, e3.isTest) + "/dsc/workflow-commons/gets", T2 = L();
1013
+ T2.restorePageLoadState(), h(null, e3, e3, "beforeFormLoadData"), c.post(w2, b2).then((t2) => {
1014
+ e3.workflowOpinion = { showOpinionBox: false }, e3.definitionId = t2.definitionId, e3.entity.task = t2.taskParamMap, e3.dataTypeMaps = t2.dataTypeMap, ce(t2, true, e3), e3.workflowRules = j(e3);
1011
1015
  const s4 = e3.pageType;
1012
1016
  s4 && "form" === s4 && function(e4) {
1013
1017
  (function(e5) {
@@ -1040,18 +1044,18 @@ function Se(e2, s2, o2) {
1040
1044
  }
1041
1045
  e5.actionPermissionMap = s5;
1042
1046
  }(e4);
1043
- }(e3), e3.canClick = true, k(null, e3, e3, "afterFormLoadData"), T2.setFormPageDataLoadState(true), o3(t2);
1047
+ }(e3), e3.canClick = true, h(null, e3, e3, "afterFormLoadData"), T2.setFormPageDataLoadState(true), o3(t2);
1044
1048
  }).catch((t2) => {
1045
1049
  e3.canClick = true, i3(t2);
1046
1050
  });
1047
1051
  });
1048
1052
  }(e2, s2, o2) : function(e3, s3, n2) {
1049
1053
  return new Promise((o3, i3) => {
1050
- const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = ue(e3);
1051
- let d2 = s3 || null, m2 = s3 ? [s3] : null;
1052
- void 0 === n2 || n2 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), m2 || (m2 = p2 ? p2.ids : null)) : (d2 = null, m2 = null, p2._id = p2.id, p2.id = null);
1053
- const g2 = p2 ? p2.taskId : null, C2 = u2, b2 = t(e3.backendUrl, e3.isTest), w2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: d2, systemCode: a2, functionCode: C2 + ".gets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
1054
- if (!w2.id && p2 && p2._t_ && f(p2._t_ + "_id") && (w2.id = f(p2._t_ + "_id")), m2 && (w2.ids = Re(m2)), e3.notIdInitializationList && (w2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (w2.additionalParamMap = p2), e3.beanName && (w2.beanName = e3.beanName), g2 && (w2.taskId = g2), e3.listCodesMap, (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1054
+ const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = fe(e3);
1055
+ let m2 = s3 || null, d2 = s3 ? [s3] : null;
1056
+ void 0 === n2 || n2 ? (m2 || (m2 = p2 && p2.id ? p2.id : null), d2 || (d2 = p2 ? p2.ids : null)) : (m2 = null, d2 = null, p2._id = p2.id, p2.id = null);
1057
+ const f2 = p2 ? p2.taskId : null, C2 = u2, b2 = t(e3.backendUrl, e3.isTest), w2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: m2, systemCode: a2, functionCode: C2 + ".gets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
1058
+ if (!w2.id && p2 && p2._t_ && g(p2._t_ + "_id") && (w2.id = g(p2._t_ + "_id")), d2 && (w2.ids = xe(d2)), e3.notIdInitializationList && (w2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (w2.additionalParamMap = p2), e3.beanName && (w2.beanName = e3.beanName), f2 && (w2.taskId = f2), e3.listCodesMap, (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1055
1059
  const t2 = {};
1056
1060
  e3.tableUuids.forEach((e4) => {
1057
1061
  const s4 = r(u2, l2, e4);
@@ -1059,11 +1063,11 @@ function Se(e2, s2, o2) {
1059
1063
  }), w2.listCodesMap = t2;
1060
1064
  }
1061
1065
  e3.refercePropMap && (w2.refercePropMap = e3.refercePropMap);
1062
- const T2 = b2 + "/dsc/commons/gets", h2 = j();
1063
- h2.restorePageLoadState(), k(null, e3, e3, "beforeFormLoadData"), c.post(T2, w2).then((t2) => {
1066
+ const T2 = b2 + "/dsc/commons/gets", k2 = L();
1067
+ k2.restorePageLoadState(), h(null, e3, e3, "beforeFormLoadData"), c.post(T2, w2).then((t2) => {
1064
1068
  t2 && (e3.entity.data = t2.entity, e3.initFormNo = t2.formNo);
1065
- const s4 = e3.customRules, n3 = e3.rules, i4 = U(e3, s4, n3);
1066
- e3.rules = i4, e3.canClick = true, k(null, e3, e3, "afterFormLoadData"), h2.setFormPageDataLoadState(true), o3(t2);
1069
+ const s4 = e3.customRules, n3 = e3.rules, i4 = D(e3, s4, n3);
1070
+ e3.rules = i4, e3.canClick = true, h(null, e3, e3, "afterFormLoadData"), k2.setFormPageDataLoadState(true), o3(t2);
1067
1071
  }).catch((t2) => {
1068
1072
  e3.canClick = true, i3(t2);
1069
1073
  });
@@ -1074,10 +1078,10 @@ function Se(e2, s2, o2) {
1074
1078
  e3(true);
1075
1079
  });
1076
1080
  }
1077
- function Re(e2) {
1081
+ function xe(e2) {
1078
1082
  return e2 && ("string" == typeof e2 ? e2 = e2.split(",") : "number" == typeof e2 && (e2 = [e2])), e2;
1079
1083
  }
1080
- function ve(e2) {
1084
+ function Oe(e2) {
1081
1085
  const t2 = e2.props.setValueList;
1082
1086
  if (t2) {
1083
1087
  if (o(t2) && t2.length > 0) return JSON.stringify(t2);
@@ -1085,45 +1089,81 @@ function ve(e2) {
1085
1089
  }
1086
1090
  return null;
1087
1091
  }
1088
- function Me(e2, t2) {
1092
+ function Ae(e2, t2) {
1089
1093
  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";
1090
1094
  return c.post(i2, o2);
1091
1095
  }
1092
- function Ie(e2) {
1096
+ function Ee(e2) {
1093
1097
  const t2 = e2.code, s2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/list/" + t2;
1094
1098
  return c.get(s2);
1095
1099
  }
1096
- function Ne(e2) {
1100
+ function Ue(e2) {
1097
1101
  const t2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/" + e2;
1098
1102
  return c.delete(t2);
1099
1103
  }
1104
+ function _e(e2) {
1105
+ e2.exportNoticeInfo && (e2.exportNoticeInfo.noticeInterval && clearInterval(e2.exportNoticeInfo.noticeInterval), e2.exportNoticeInfo.noticeComponent = null, e2.exportNoticeInfo.noticeInterval = null), e2.exportNoticeInfo = {}, De(e2.exportNoticeInfo, e2.backendUrl, e2.code);
1106
+ }
1107
+ function je(e2, s2, n2) {
1108
+ e2.lastFileTask && !e2.noticeComponent ? e2.noticeComponent = m({ title: u().t("superPageRuntimeMessage.logTip"), duration: 0, position: "top-right", type: "success", onClose() {
1109
+ "Success" === e2.lastFileTask.taskState || "Fail" === e2.lastFileTask.taskState || "PartSuccess" === e2.lastFileTask.taskState ? Le(s2, n2, e2.lastFileTask.id, e2) : (e2.noticeComponent = null, null == e2.noticeInterval && De(e2, s2, n2));
1110
+ }, message: () => F(V, { isShow: true, backendUrl: s2, lastFileTask: e2.lastFileTask, onClickMsg(o2) {
1111
+ o2.serverPath ? function(e3, s3, n3, o3, i2, a2) {
1112
+ Le(i2, a2, n3, o3);
1113
+ const r2 = f(), c2 = t(i2), u2 = c2 + "/common/super-form/downloads?jwt=" + r2 + "&showName=" + encodeURI(e3) + "&serverPath=" + s3;
1114
+ window.open(u2);
1115
+ }(o2.fileName, o2.serverPath, o2.id, e2, s2, n2) : Le(s2, n2, o2.id, e2), e2.noticeComponent.close(), e2.noticeComponent = null;
1116
+ } }) }) : (null != e2.noticeComponent && (e2.noticeComponent.close(), e2.noticeComponent = null), e2.noticeInterval && (clearInterval(e2.noticeInterval), e2.noticeInterval = null));
1117
+ }
1118
+ function De(e2, t2, s2) {
1119
+ e2.noticeInterval || (e2.noticeInterval = setInterval(() => {
1120
+ e2.noticeComponent || function(e3, t3, s3) {
1121
+ We(t3, s3).then((n2) => {
1122
+ e3.lastFileTask = n2, je(e3, t3, s3);
1123
+ });
1124
+ }(e2, t2, s2);
1125
+ }, 3e3));
1126
+ }
1127
+ function We(e2, t2) {
1128
+ return U(e2, t2);
1129
+ }
1130
+ function Le(e2, t2, s2, n2) {
1131
+ _(e2, s2).then(() => {
1132
+ !function(e3, t3, s3) {
1133
+ We(t3, s3).then((n3) => {
1134
+ e3.lastFileTask = n3, je(e3, t3, s3);
1135
+ });
1136
+ }(n2, e2, t2);
1137
+ });
1138
+ }
1100
1139
  export {
1101
- G as dealAfterOperate,
1102
- ne as dealCompleteTaskParam,
1103
- Ne as deleteChartCondition,
1104
- le as doAddSigner,
1105
- pe as doAddTransactor,
1106
- ae as doAssign,
1107
- de as doCreateCopyTask,
1108
- ee as doImportFinally,
1109
- be as doRemoveSigners,
1110
- Te as doRemoveTransactors,
1111
- ge as doReturnTaskTo,
1112
- B as exportFormReport,
1113
- ke as extractWorkflowFunc,
1114
- ue as getAdditionalParamMap,
1115
- Se as getFormData,
1116
- Ce as getRemoveSigner,
1117
- we as getRemoveTransactor,
1118
- H as getSaveFormRequest,
1119
- q as getSaveFormRequestWithRow,
1120
- fe as getTaskInformitions,
1121
- he as isVisibleWorkflowButton,
1122
- te as judgeDataNumber,
1123
- Ie as listChartConditions,
1124
- Q as refreshFormOrListPage,
1125
- Pe as refreshPage,
1126
- Me as saveChartConditionBase,
1127
- W as standardEvents,
1128
- K as updateValuesWhenCloseDialog
1140
+ X as dealAfterOperate,
1141
+ ce as dealCompleteTaskParam,
1142
+ Ue as deleteChartCondition,
1143
+ ge as doAddSigner,
1144
+ Ce as doAddTransactor,
1145
+ pe as doAssign,
1146
+ be as doCreateCopyTask,
1147
+ _e as doFileTaskFunc,
1148
+ ie as doImportFinally,
1149
+ ye as doRemoveSigners,
1150
+ ve as doRemoveTransactors,
1151
+ ke as doReturnTaskTo,
1152
+ H as exportFormReport,
1153
+ Se as extractWorkflowFunc,
1154
+ fe as getAdditionalParamMap,
1155
+ Ne as getFormData,
1156
+ he as getRemoveSigner,
1157
+ Pe as getRemoveTransactor,
1158
+ K as getSaveFormRequest,
1159
+ z as getSaveFormRequestWithRow,
1160
+ Te as getTaskInformitions,
1161
+ Ie as isVisibleWorkflowButton,
1162
+ ae as judgeDataNumber,
1163
+ Ee as listChartConditions,
1164
+ ne as refreshFormOrListPage,
1165
+ Me as refreshPage,
1166
+ Ae as saveChartConditionBase,
1167
+ $ as standardEvents,
1168
+ te as updateValuesWhenCloseDialog
1129
1169
  };