super-page-runtime 2.1.45 → 2.1.50
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.
- package/dist/es/components/runtime/utils/api/api-util.d.ts +1 -18
- package/dist/es/components/runtime/utils/api/api-util.js +2 -306
- package/dist/es/components/runtime/utils/api/page-expose-util.js +8 -1
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +1 -0
- package/dist/es/components/runtime/utils/events/standard-event.d.ts +11 -1
- package/dist/es/components/runtime/utils/events/standard-event.js +334 -36
- package/dist/es/components/runtime/utils/page-helper-util.d.ts +3 -1
- package/dist/es/components/runtime/utils/page-helper-util.js +22 -3
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +480 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +44 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +64 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +242 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +301 -34
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +46 -14
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +28 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +9 -2
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +3 -1
- package/dist/es/components/runtime/views/super-page-dialog.vue.d.ts +4 -0
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +5 -1
- package/dist/es/components/runtime/views/super-page.vue.js +3 -2
- package/package.json +2 -2
|
@@ -1,18 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 设值自定义校验规则。推荐在按钮的beforeValidateForm事件中调用该方法。
|
|
5
|
-
* @param params 事件中的params参数
|
|
6
|
-
* @param customRules 自定义的校验规则
|
|
7
|
-
*/
|
|
8
|
-
export declare function setCustomRules(pageContext: PageContext, customRules: any): void;
|
|
9
|
-
/**
|
|
10
|
-
* 刷新页面
|
|
11
|
-
* @param pageContext
|
|
12
|
-
*/
|
|
13
|
-
export declare function refreshPage(pageContext: PageContext, id?: any): void;
|
|
14
|
-
/**
|
|
15
|
-
* 获得表单数据
|
|
16
|
-
* @param pageContext
|
|
17
|
-
*/
|
|
18
|
-
export declare function getFormData(pageContext: PageContext, id?: any): Promise<unknown>;
|
|
1
|
+
export {};
|
|
@@ -1,311 +1,7 @@
|
|
|
1
|
-
import { getSessionCache } from "agilebuilder-ui/src/utils/auth";
|
|
2
|
-
import http from "agilebuilder-ui/src/utils/request";
|
|
3
|
-
import { isWorkflowPage, getBaseUrl, getListCode } from "../common-util.js";
|
|
4
|
-
import { getAdditionalParamMap, dealCompleteTaskParam } from "../events/standard-event.js";
|
|
5
|
-
import { packageCustomRules, getWorkflowRules } from "../events/validator-util.js";
|
|
6
|
-
import { handleEvent } from "../events/event-util.js";
|
|
7
1
|
import { ElMessage, ElMessageBox } from "element-plus";
|
|
8
2
|
import { functions } from "./page-expose-util.js";
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
pageContext.entity.page = {};
|
|
12
|
-
}
|
|
13
|
-
pageContext.entity.page["_isRefresh"] = true;
|
|
14
|
-
getFormData(pageContext, id).then((commonEntity) => {
|
|
15
|
-
pageContext.isRefresh = true;
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
function getFormData(pageContext, id) {
|
|
19
|
-
const pageType = pageContext.pageType;
|
|
20
|
-
if (pageType && pageType === "form") {
|
|
21
|
-
console.log("获取表单数据getData--pageContext=", pageContext);
|
|
22
|
-
pageContext.canClick = false;
|
|
23
|
-
const isWorkflow = isWorkflowPage(pageContext);
|
|
24
|
-
if (isWorkflow) {
|
|
25
|
-
return getWorkflowFormData(pageContext, id);
|
|
26
|
-
} else {
|
|
27
|
-
return getCommonFormData(pageContext, id);
|
|
28
|
-
}
|
|
29
|
-
} else {
|
|
30
|
-
return new Promise((resolve, reject) => {
|
|
31
|
-
resolve(true);
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
function getCommonFormData(pageContext, id) {
|
|
36
|
-
return new Promise((resolve, reject) => {
|
|
37
|
-
const systemCode = pageContext.systemCode;
|
|
38
|
-
const pageCode = pageContext.code;
|
|
39
|
-
const pageVersion = pageContext.version;
|
|
40
|
-
const additionalParamMap = getAdditionalParamMap(pageContext);
|
|
41
|
-
const dataId = id ? id : additionalParamMap && additionalParamMap.id ? additionalParamMap.id : null;
|
|
42
|
-
const ids = id ? [id] : additionalParamMap ? additionalParamMap.ids : null;
|
|
43
|
-
const taskId = additionalParamMap ? additionalParamMap.taskId : null;
|
|
44
|
-
const permissionPrefix = pageCode;
|
|
45
|
-
console.log("getCommonFormData-----pageContext=", pageContext);
|
|
46
|
-
const backendUrl = getBaseUrl(pageContext.backendUrl, pageContext.isTest);
|
|
47
|
-
const param = {
|
|
48
|
-
pageCode,
|
|
49
|
-
pageVersion,
|
|
50
|
-
tableName: pageContext.tableName,
|
|
51
|
-
formNoRuleCode: pageContext.formNoRuleCode,
|
|
52
|
-
id: dataId,
|
|
53
|
-
systemCode,
|
|
54
|
-
functionCode: permissionPrefix + ".gets",
|
|
55
|
-
listCodesMap: pageContext.listCodesMap
|
|
56
|
-
};
|
|
57
|
-
if (!param.id && additionalParamMap && additionalParamMap._t_ && getSessionCache(additionalParamMap._t_ + "_id")) {
|
|
58
|
-
param.id = getSessionCache(additionalParamMap._t_ + "_id");
|
|
59
|
-
}
|
|
60
|
-
if (ids) {
|
|
61
|
-
param["ids"] = formatAdditionalParamMapIds(ids);
|
|
62
|
-
}
|
|
63
|
-
if (pageContext.notIdInitializationList) {
|
|
64
|
-
param["noIdAndTaskIdInitSetting"] = JSON.stringify(pageContext.notIdInitializationList);
|
|
65
|
-
}
|
|
66
|
-
if (additionalParamMap) {
|
|
67
|
-
param["additionalParamMap"] = additionalParamMap;
|
|
68
|
-
}
|
|
69
|
-
if (pageContext.beanName) {
|
|
70
|
-
param["beanName"] = pageContext.beanName;
|
|
71
|
-
}
|
|
72
|
-
if (taskId) {
|
|
73
|
-
param["taskId"] = taskId;
|
|
74
|
-
}
|
|
75
|
-
console.log("getCommonFormData---listCodesMap=", pageContext.listCodesMap);
|
|
76
|
-
if ((!pageContext.listCodesMap || Object.keys(pageContext.listCodesMap).length === 0) && pageContext.tableUuids) {
|
|
77
|
-
const listCodesMap = {};
|
|
78
|
-
pageContext.tableUuids.forEach((tableUuid) => {
|
|
79
|
-
const listCode = getListCode(pageCode, pageVersion, tableUuid);
|
|
80
|
-
listCodesMap[listCode] = listCode;
|
|
81
|
-
});
|
|
82
|
-
param["listCodesMap"] = listCodesMap;
|
|
83
|
-
}
|
|
84
|
-
if (pageContext.refercePropMap) {
|
|
85
|
-
param["refercePropMap"] = pageContext.refercePropMap;
|
|
86
|
-
}
|
|
87
|
-
const urlForView = backendUrl + "/dsc/commons/gets";
|
|
88
|
-
http.post(urlForView, param).then((commonEntity) => {
|
|
89
|
-
if (commonEntity) {
|
|
90
|
-
pageContext.entity.data = commonEntity.entity;
|
|
91
|
-
pageContext.initFormNo = commonEntity.formNo;
|
|
92
|
-
}
|
|
93
|
-
const customRules = pageContext.customRules;
|
|
94
|
-
const formRules = pageContext.rules;
|
|
95
|
-
const newFormRules = packageCustomRules(customRules, formRules);
|
|
96
|
-
pageContext.rules = newFormRules;
|
|
97
|
-
const pageDesign = {
|
|
98
|
-
runtime: { events: pageContext.events },
|
|
99
|
-
systemCode: "",
|
|
100
|
-
systemVersion: 0,
|
|
101
|
-
code: "",
|
|
102
|
-
version: 0,
|
|
103
|
-
workflowCode: "",
|
|
104
|
-
workflowVersion: 0,
|
|
105
|
-
name: "",
|
|
106
|
-
uuid: "",
|
|
107
|
-
label: ""
|
|
108
|
-
};
|
|
109
|
-
handleEvent(null, pageContext, pageDesign, "load");
|
|
110
|
-
pageContext.canClick = true;
|
|
111
|
-
resolve(commonEntity);
|
|
112
|
-
}).catch((error) => {
|
|
113
|
-
pageContext.canClick = true;
|
|
114
|
-
reject(error);
|
|
115
|
-
});
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
function getWorkflowFormData(pageContext, id) {
|
|
119
|
-
return new Promise((resolve, reject) => {
|
|
120
|
-
const systemCode = pageContext.systemCode;
|
|
121
|
-
const pageCode = pageContext.code;
|
|
122
|
-
const pageVersion = pageContext.version;
|
|
123
|
-
const additionalParamMap = getAdditionalParamMap(pageContext);
|
|
124
|
-
const dataId = id ? id : additionalParamMap && additionalParamMap.id ? additionalParamMap.id : null;
|
|
125
|
-
const ids = id ? [id] : additionalParamMap ? additionalParamMap.ids : null;
|
|
126
|
-
const taskId = additionalParamMap ? additionalParamMap.taskId : null;
|
|
127
|
-
const permissionPrefix = pageCode;
|
|
128
|
-
const param = {
|
|
129
|
-
pageCode,
|
|
130
|
-
pageVersion,
|
|
131
|
-
tableName: pageContext.tableName,
|
|
132
|
-
formNoRuleCode: pageContext.formNoRuleCode,
|
|
133
|
-
isWorkflowEntity: true,
|
|
134
|
-
systemCode,
|
|
135
|
-
functionCode: permissionPrefix + ".gets",
|
|
136
|
-
listCodesMap: pageContext.listCodesMap
|
|
137
|
-
};
|
|
138
|
-
console.log("getWorkflowFormData---listCodesMap=", pageContext.listCodesMap);
|
|
139
|
-
if ((!pageContext.listCodesMap || Object.keys(pageContext.listCodesMap).length === 0) && pageContext.tableUuids) {
|
|
140
|
-
const listCodesMap = {};
|
|
141
|
-
pageContext.tableUuids.forEach((tableUuid) => {
|
|
142
|
-
const listCode = getListCode(pageCode, pageVersion, tableUuid);
|
|
143
|
-
listCodesMap[listCode] = listCode;
|
|
144
|
-
});
|
|
145
|
-
param["listCodesMap"] = listCodesMap;
|
|
146
|
-
}
|
|
147
|
-
if (ids) {
|
|
148
|
-
param["ids"] = formatAdditionalParamMapIds(ids);
|
|
149
|
-
}
|
|
150
|
-
if (taskId) {
|
|
151
|
-
param["taskId"] = taskId;
|
|
152
|
-
} else if (dataId) {
|
|
153
|
-
param["id"] = dataId;
|
|
154
|
-
} else {
|
|
155
|
-
if (additionalParamMap && additionalParamMap._t_ && getSessionCache(additionalParamMap._t_ + "_id")) {
|
|
156
|
-
param["id"] = getSessionCache(additionalParamMap._t_ + "_id");
|
|
157
|
-
}
|
|
158
|
-
if (pageContext.notIdInitializationList) {
|
|
159
|
-
param["noIdAndTaskIdInitSetting"] = JSON.stringify(pageContext.notIdInitializationList);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
if (additionalParamMap) {
|
|
163
|
-
param["additionalParamMap"] = additionalParamMap;
|
|
164
|
-
}
|
|
165
|
-
if (pageContext.beanName) {
|
|
166
|
-
param["beanName"] = pageContext.beanName;
|
|
167
|
-
}
|
|
168
|
-
if (pageContext.refercePropMap) {
|
|
169
|
-
param["refercePropMap"] = pageContext.refercePropMap;
|
|
170
|
-
}
|
|
171
|
-
const baseUrl = getBaseUrl(pageContext.backendUrl, pageContext.isTest);
|
|
172
|
-
const urlForView = baseUrl + "/dsc/workflow-commons/gets";
|
|
173
|
-
http.post(urlForView, param).then((commonEntity) => {
|
|
174
|
-
pageContext.definitionId = commonEntity.definitionId;
|
|
175
|
-
pageContext.entity.task = commonEntity.taskParamMap;
|
|
176
|
-
dealCompleteTaskParam(commonEntity, true, pageContext);
|
|
177
|
-
pageContext.workflowRules = getWorkflowRules(pageContext);
|
|
178
|
-
const pageType = pageContext.pageType;
|
|
179
|
-
if (pageType && pageType === "form") {
|
|
180
|
-
changePermissionListToMap(pageContext);
|
|
181
|
-
const pageDesign = {
|
|
182
|
-
runtime: { events: pageContext.events },
|
|
183
|
-
systemCode: "",
|
|
184
|
-
systemVersion: 0,
|
|
185
|
-
code: "",
|
|
186
|
-
version: 0,
|
|
187
|
-
workflowCode: "",
|
|
188
|
-
workflowVersion: 0,
|
|
189
|
-
name: "",
|
|
190
|
-
uuid: "",
|
|
191
|
-
label: ""
|
|
192
|
-
};
|
|
193
|
-
handleEvent(null, pageContext, pageDesign, "load");
|
|
194
|
-
}
|
|
195
|
-
pageContext.canClick = true;
|
|
196
|
-
resolve(commonEntity);
|
|
197
|
-
}).catch((error) => {
|
|
198
|
-
pageContext.canClick = true;
|
|
199
|
-
reject(error);
|
|
200
|
-
});
|
|
201
|
-
});
|
|
202
|
-
}
|
|
203
|
-
function changePermissionListToMap(pageContext) {
|
|
204
|
-
changeFieldPermissionToMap(pageContext);
|
|
205
|
-
changeActionPermissionToMap(pageContext);
|
|
206
|
-
}
|
|
207
|
-
function changeFieldPermissionToMap(pageContext) {
|
|
208
|
-
const fieldPermissionMap = /* @__PURE__ */ new Map();
|
|
209
|
-
const fieldPermissions = pageContext.fieldPermissions;
|
|
210
|
-
if (typeof fieldPermissions !== "undefined") {
|
|
211
|
-
for (let i = 0; i < fieldPermissions.length; i++) {
|
|
212
|
-
const prop = fieldPermissions[i].name;
|
|
213
|
-
if (prop) {
|
|
214
|
-
if (prop.indexOf("$") === 0 && prop.indexOf(".") > 0) {
|
|
215
|
-
const fieldPermissionOrg = fieldPermissions[i];
|
|
216
|
-
const fieldPermission = JSON.parse(JSON.stringify(fieldPermissionOrg));
|
|
217
|
-
const subModelName = prop.substring(1, prop.indexOf("."));
|
|
218
|
-
const subProp = prop.substring(prop.indexOf(".") + 1);
|
|
219
|
-
fieldPermission.name = subProp;
|
|
220
|
-
if (fieldPermission && fieldPermission.name === "all_fields") {
|
|
221
|
-
if (fieldPermission.canEdit === false) {
|
|
222
|
-
if (fieldPermission.rowIndexes) {
|
|
223
|
-
fieldPermissionMap.set(subModelName, [
|
|
224
|
-
{
|
|
225
|
-
name: "all_fields",
|
|
226
|
-
canEdit: false,
|
|
227
|
-
rowIndexes: fieldPermission.rowIndexes
|
|
228
|
-
}
|
|
229
|
-
]);
|
|
230
|
-
} else {
|
|
231
|
-
fieldPermissionMap.set(subModelName, [{ name: "all_fields", canEdit: false }]);
|
|
232
|
-
}
|
|
233
|
-
} else {
|
|
234
|
-
if (fieldPermission.rowIndexes) {
|
|
235
|
-
fieldPermissionMap.set(subModelName, [
|
|
236
|
-
{
|
|
237
|
-
name: "all_fields",
|
|
238
|
-
canEdit: true,
|
|
239
|
-
rowIndexes: fieldPermission.rowIndexes
|
|
240
|
-
}
|
|
241
|
-
]);
|
|
242
|
-
} else {
|
|
243
|
-
fieldPermissionMap.set(subModelName, [{ name: "all_fields", canEdit: true }]);
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
} else {
|
|
247
|
-
let subTableFieldPermission = fieldPermissionMap.get(subModelName);
|
|
248
|
-
if (subTableFieldPermission) {
|
|
249
|
-
subTableFieldPermission.push(fieldPermission);
|
|
250
|
-
} else {
|
|
251
|
-
subTableFieldPermission = [];
|
|
252
|
-
subTableFieldPermission.push(fieldPermission);
|
|
253
|
-
}
|
|
254
|
-
fieldPermissionMap.set(subModelName, subTableFieldPermission);
|
|
255
|
-
}
|
|
256
|
-
} else {
|
|
257
|
-
fieldPermissionMap.set(prop, fieldPermissions[i]);
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
pageContext.fieldPermissionMap = fieldPermissionMap;
|
|
263
|
-
}
|
|
264
|
-
function changeActionPermissionToMap(pageContext) {
|
|
265
|
-
const fieldPermissionMap = pageContext.fieldPermissionMap;
|
|
266
|
-
const actionPermissionMap = /* @__PURE__ */ new Map();
|
|
267
|
-
const actionPermissions = pageContext.actionPermissions;
|
|
268
|
-
if (typeof actionPermissions !== "undefined" && actionPermissions !== null) {
|
|
269
|
-
const subModelNames = Object.keys(actionPermissions);
|
|
270
|
-
subModelNames.forEach((subModelName) => {
|
|
271
|
-
const oneTableActionPermission = actionPermissions[subModelName];
|
|
272
|
-
const subTableFieldPermission = fieldPermissionMap.get(subModelName);
|
|
273
|
-
if (subTableFieldPermission && subTableFieldPermission.length > 0 && subTableFieldPermission[0].name === "all_fields" && subTableFieldPermission[0].canEdit === false) {
|
|
274
|
-
oneTableActionPermission.canUpdate = false;
|
|
275
|
-
oneTableActionPermission.canAdd = false;
|
|
276
|
-
} else {
|
|
277
|
-
const canUpdate = oneTableActionPermission.canUpdate;
|
|
278
|
-
const updateRowIndexes = oneTableActionPermission.updateRowIndexes;
|
|
279
|
-
if (canUpdate !== void 0 && canUpdate === false && updateRowIndexes !== void 0 && updateRowIndexes !== null && updateRowIndexes.length > 0) {
|
|
280
|
-
fieldPermissionMap.set(subModelName, [
|
|
281
|
-
{
|
|
282
|
-
name: "all_fields",
|
|
283
|
-
canEdit: false,
|
|
284
|
-
rowIndexes: updateRowIndexes
|
|
285
|
-
}
|
|
286
|
-
]);
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
actionPermissionMap.set(subModelName, oneTableActionPermission);
|
|
290
|
-
});
|
|
291
|
-
}
|
|
292
|
-
pageContext.actionPermissionMap = actionPermissionMap;
|
|
293
|
-
}
|
|
294
|
-
function formatAdditionalParamMapIds(ids) {
|
|
295
|
-
if (ids) {
|
|
296
|
-
if (typeof ids === "string") {
|
|
297
|
-
ids = ids.split(",");
|
|
298
|
-
} else if (typeof ids === "number") {
|
|
299
|
-
ids = [ids];
|
|
300
|
-
} else
|
|
301
|
-
;
|
|
302
|
-
}
|
|
303
|
-
return ids;
|
|
304
|
-
}
|
|
3
|
+
import { standardEvents } from "../events/standard-event.js";
|
|
4
|
+
functions.standardEvents = standardEvents;
|
|
305
5
|
window["$PageUtil"] = functions;
|
|
306
6
|
window["$message"] = ElMessage;
|
|
307
7
|
window["$messageBox"] = ElMessageBox;
|
|
308
|
-
export {
|
|
309
|
-
getFormData,
|
|
310
|
-
refreshPage
|
|
311
|
-
};
|
|
@@ -2,7 +2,7 @@ import { setValueForVariableName } from "../page-helper-util.js";
|
|
|
2
2
|
import { getComponentRefByCode } from "../global-refs.js";
|
|
3
3
|
import eventBus from "../eventBus.js";
|
|
4
4
|
import http from "agilebuilder-ui/src/utils/request";
|
|
5
|
-
import { getAdditionalParamMap } from "../events/standard-event.js";
|
|
5
|
+
import { getAdditionalParamMap, refreshPage } from "../events/standard-event.js";
|
|
6
6
|
import { updateFormItemEditState, dsiabledAllFields } from "../events/validator-util.js";
|
|
7
7
|
import { getBaseUrl } from "../common-util.js";
|
|
8
8
|
import { isMobileBrowser } from "agilebuilder-ui/src/utils/common-util";
|
|
@@ -230,6 +230,13 @@ const functions = {
|
|
|
230
230
|
jumpPageSetting: openParam.jumpPageSetting
|
|
231
231
|
});
|
|
232
232
|
},
|
|
233
|
+
/**
|
|
234
|
+
* 刷新页面
|
|
235
|
+
* @param pageContext
|
|
236
|
+
*/
|
|
237
|
+
refreshPage: function(pageContext, id) {
|
|
238
|
+
refreshPage(pageContext, id);
|
|
239
|
+
},
|
|
233
240
|
/**
|
|
234
241
|
* 刷新表单中子表内容
|
|
235
242
|
* @param {*} pageContext 页面配置信息
|
|
@@ -7,6 +7,7 @@ function updateChartOption(pageContext, configure, chartOption, resultData) {
|
|
|
7
7
|
}
|
|
8
8
|
const result = resultData && resultData.result ? resultData.result : {};
|
|
9
9
|
let groupValue = resultData && resultData.groupValue ? resultData.groupValue : void 0;
|
|
10
|
+
debugger;
|
|
10
11
|
const dataSetField = configure.serviceDataField;
|
|
11
12
|
let datas = null;
|
|
12
13
|
if (dataSetField) {
|
|
@@ -46,7 +46,7 @@ export declare const standardEvents: {
|
|
|
46
46
|
};
|
|
47
47
|
export declare function exportFormReport(pageContext: any, configureObj: any, templateFile: any, isPdf: any): void;
|
|
48
48
|
export declare function getSaveFormRequestWithRow(pageContext: PageContext, configureObj: any, url: string, isUnControlVersion: boolean, mainDefaultValueColumns: any, dynamicColumnInfo: any, row: any, otherParams: any): any;
|
|
49
|
-
export declare function getSaveFormRequest(pageContext:
|
|
49
|
+
export declare function getSaveFormRequest(pageContext: PageContext, configureObj: any, url: any, isUnControlVersion: any, mainDefaultValueColumns: any, dynamicColumnInfo: any): any;
|
|
50
50
|
/**
|
|
51
51
|
* 按钮执行后页面处理方式:刷新、关闭弹框等等
|
|
52
52
|
* @param pageContext
|
|
@@ -70,3 +70,13 @@ export declare function doReturnTaskTo(params: any, selectTaskNode: any): void;
|
|
|
70
70
|
export declare function getRemoveSigner(params: any): any;
|
|
71
71
|
export declare function doRemoveSigners(params: any, selectRemoveTasks: any): void;
|
|
72
72
|
export declare function isVisibleWorkflowButton(standardEventName: any, buttonInfo: any, completeTaskParam: any): boolean;
|
|
73
|
+
/**
|
|
74
|
+
* 刷新页面
|
|
75
|
+
* @param pageContext
|
|
76
|
+
*/
|
|
77
|
+
export declare function refreshPage(pageContext: PageContext, id?: any): void;
|
|
78
|
+
/**
|
|
79
|
+
* 获得表单数据
|
|
80
|
+
* @param pageContext
|
|
81
|
+
*/
|
|
82
|
+
export declare function getFormData(pageContext: PageContext, id?: any): Promise<unknown>;
|