super-page-runtime 2.3.38 → 2.3.39-cdn1

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