super-page-runtime 2.3.13-sit2 → 2.3.13-sit4
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/events/standard-event.d.ts +2 -1
- package/dist/es/components/runtime/utils/events/standard-event.js +118 -99
- package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
- package/dist/es/components/runtime/utils/page-permission-util.js +14 -14
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +60 -59
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +7 -6
- package/dist/es/i18n/langs/cn.js +1 -1
- package/dist/es/i18n/langs/en.js +1 -1
- package/dist/es/style.css +3 -3
- package/package.json +2 -2
|
@@ -19,6 +19,7 @@ export declare const standardEvents: {
|
|
|
19
19
|
search: (params: any) => void;
|
|
20
20
|
showSearch: (params: any) => void;
|
|
21
21
|
workflowSave: (params: any) => Promise<unknown>;
|
|
22
|
+
workflowStart: (params: any) => Promise<unknown>;
|
|
22
23
|
submitProcess: (params: any) => Promise<unknown>;
|
|
23
24
|
submitTask: (params: any) => Promise<unknown>;
|
|
24
25
|
approve: (params: any) => Promise<unknown>;
|
|
@@ -70,7 +71,7 @@ export declare function getTaskInformitions(params: any): any;
|
|
|
70
71
|
export declare function doReturnTaskTo(params: any, selectTaskNode: any): void;
|
|
71
72
|
export declare function getRemoveSigner(params: any): any;
|
|
72
73
|
export declare function doRemoveSigners(params: any, selectRemoveTasks: any): void;
|
|
73
|
-
export declare function isVisibleWorkflowButton(standardEventName: any, buttonInfo: any, completeTaskParam: any, btnConfigure: any): boolean;
|
|
74
|
+
export declare function isVisibleWorkflowButton(standardEventName: any, buttonInfo: any, completeTaskParam: any, btnConfigure: any, data: any): boolean;
|
|
74
75
|
/**
|
|
75
76
|
* 刷新页面
|
|
76
77
|
* @param pageContext
|
|
@@ -5,15 +5,15 @@ import { ElMessage as l, ElMessageBox as p } from "element-plus";
|
|
|
5
5
|
import { getToken as d, getSessionCache as m, getRunCurrentRole as f, setSessionCache as g } from "agilebuilder-ui/src/utils/auth";
|
|
6
6
|
import { getComponentRef as b } from "../global-refs.js";
|
|
7
7
|
import C from "../eventBus.js";
|
|
8
|
-
import
|
|
9
|
-
import { handleEvent as
|
|
8
|
+
import w from "axios";
|
|
9
|
+
import { handleEvent as T, getTableUuid as y, doAfterClickEvent as h } from "./event-util.js";
|
|
10
10
|
import { setStoreInfo as k } from "../store-util.js";
|
|
11
|
-
import { getPermissionCodes as P, getDefaultValue as R, getModelFields as
|
|
12
|
-
import { updateChartDatasources as
|
|
13
|
-
import
|
|
14
|
-
import { getTableNameByTableUuid as
|
|
15
|
-
import { getWorkflowRules as O, packageCustomRules as
|
|
16
|
-
import { functions as
|
|
11
|
+
import { getPermissionCodes as P, getDefaultValue as R, getModelFields as S } from "../page-init-util.js";
|
|
12
|
+
import { updateChartDatasources as M, caculateShowCondition as N, getVariableValue as v, setVariableValue as I } from "../page-helper-util.js";
|
|
13
|
+
import A from "./print-label.js";
|
|
14
|
+
import { getTableNameByTableUuid as x } from "../table-utils.js";
|
|
15
|
+
import { getWorkflowRules as O, packageCustomRules as E } from "./validator-util.js";
|
|
16
|
+
import { functions as U } from "../api/page-expose-util.js";
|
|
17
17
|
import { usePageContextStore as _ } from "../page-store.js";
|
|
18
18
|
const j = { save: function(e2) {
|
|
19
19
|
return B(e2, false);
|
|
@@ -47,17 +47,17 @@ const j = { save: function(e2) {
|
|
|
47
47
|
if (!i2 || 0 === i2.length) return l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.pleaseSelectRecord") }), void s2(true);
|
|
48
48
|
p.confirm(u().t("superPageRuntimeMessage.whetherToConfirmDeletion"), u().t("superPageRuntimeMessage.tips"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
|
|
49
49
|
var _a;
|
|
50
|
-
const r2 = e3.pageContext, u2 = e3.configureObj, l2 = u2.props.base, p2 = r2.systemCode, d2 = r2.backendUrl, m2 = u2.props.base.tableUuid ? u2.props.base.tableUuid : e3.tableUuid, f2 =
|
|
50
|
+
const r2 = e3.pageContext, u2 = e3.configureObj, l2 = u2.props.base, p2 = r2.systemCode, d2 = r2.backendUrl, m2 = u2.props.base.tableUuid ? u2.props.base.tableUuid : e3.tableUuid, f2 = x(r2, m2);
|
|
51
51
|
let g2 = n(d2, r2.isTest) + "/dsc/commons/" + f2;
|
|
52
52
|
g2 = o(g2, p2, d2, r2.isTest);
|
|
53
|
-
const C2 = void 0 === l2.isPermission || "true" === l2.isPermission || l2.isPermission,
|
|
54
|
-
r2.beanName && (
|
|
53
|
+
const C2 = void 0 === l2.isPermission || "true" === l2.isPermission || l2.isPermission, w2 = t(r2), T2 = P(u2, r2), y2 = { ids: i2, functionCode: T2, isPermission: C2 + "", systemCode: p2, isWorkflowEntity: w2, listCodesMap: r2.listCodesMap, pageCode: r2.code, pageVersion: r2.version };
|
|
54
|
+
r2.beanName && (y2.beanName = r2.beanName);
|
|
55
55
|
const h2 = u2.props.deleteLogicSetting;
|
|
56
|
-
h2 && ("object" == typeof h2 ?
|
|
56
|
+
h2 && ("object" == typeof h2 ? y2.deleteLogicSetting = JSON.stringify(h2) : "string" == typeof h2 && (y2.deleteLogicSetting = h2));
|
|
57
57
|
const k2 = (_a = u2.props.base) == null ? void 0 : _a.logSetting;
|
|
58
|
-
k2 && (
|
|
58
|
+
k2 && (y2.logSettingText = k2.join(""));
|
|
59
59
|
const R2 = u2.props.base.isSafeDelete;
|
|
60
|
-
R2 && (
|
|
60
|
+
R2 && (y2.isSafeDelete = R2), c.delete(g2, { data: y2 }).then((e4) => {
|
|
61
61
|
const t2 = b(r2, m2);
|
|
62
62
|
t2 && (t2.isDeleteChange(true), t2.clearSelections()), q(r2, u2, e4, "superPageRuntimeMessage.successfulDelete", true), s2(true);
|
|
63
63
|
}).catch((e4) => {
|
|
@@ -88,10 +88,10 @@ const j = { save: function(e2) {
|
|
|
88
88
|
t2.tableName && (f2 += "&tableName=" + t2.tableName);
|
|
89
89
|
t2.code && (f2 += "&pageCode=" + t2.code);
|
|
90
90
|
t2.version && (f2 += "&pageVersion=" + t2.version);
|
|
91
|
-
const
|
|
92
|
-
|
|
93
|
-
const
|
|
94
|
-
|
|
91
|
+
const w2 = d();
|
|
92
|
+
w2 && (f2 += "&JWT=" + w2);
|
|
93
|
+
const T2 = "_RUN_CURRENT_ROLE", y2 = m(T2);
|
|
94
|
+
y2 && (f2 += "&" + T2 + "=" + y2);
|
|
95
95
|
if (o2) {
|
|
96
96
|
f2 += "&isPermission=" + (void 0 === o2.isPermission || "true" === o2.isPermission || o2.isPermission);
|
|
97
97
|
}
|
|
@@ -137,6 +137,22 @@ const j = { save: function(e2) {
|
|
|
137
137
|
});
|
|
138
138
|
});
|
|
139
139
|
}(e2);
|
|
140
|
+
}, workflowStart: function(e2) {
|
|
141
|
+
return C.$emit("clearTableAllStartEditing"), async function(e3) {
|
|
142
|
+
return new Promise((t2, s2) => {
|
|
143
|
+
const a2 = e3.pageContext, i2 = a2.entity.data, r2 = a2.systemCode, p2 = a2.backendUrl;
|
|
144
|
+
let d2 = n(p2, a2.isTest) + "/dsc/workflow-commons/start";
|
|
145
|
+
if (d2 = o(d2, r2, p2, a2.isTest), !d2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
146
|
+
const m2 = ee(e3);
|
|
147
|
+
let f2;
|
|
148
|
+
i2.workflow_id || i2.WORKFLOW_ID ? (d2 = n(p2, a2.isTest) + "/dsc/workflow-commons", d2 = o(d2, r2, p2, a2.isTest), f2 = c.put(d2, m2)) : f2 = c.post(d2, m2), f2.then((s3) => {
|
|
149
|
+
let n2 = true;
|
|
150
|
+
s3 && (n2 = te(s3, false, a2, e3, null)), true === n2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulStart") }), C.$emit("clearTableAllEndEditing"), t2(true);
|
|
151
|
+
}).catch((e4) => {
|
|
152
|
+
s2(e4);
|
|
153
|
+
});
|
|
154
|
+
});
|
|
155
|
+
}(e2);
|
|
140
156
|
}, submitProcess: function(e2) {
|
|
141
157
|
return C.$emit("clearTableAllStartEditing"), function(e3) {
|
|
142
158
|
return new Promise((t2, s2) => {
|
|
@@ -229,7 +245,7 @@ const j = { save: function(e2) {
|
|
|
229
245
|
if (t2 = e3.menuItem ? e3.menuItem.templateUuid : e3.configureObj.props.base.template[0].templateUuid, !t2) throw new Error("未找到模板");
|
|
230
246
|
} catch (e4) {
|
|
231
247
|
}
|
|
232
|
-
|
|
248
|
+
A.printLabel(e3, t2);
|
|
233
249
|
}(e2);
|
|
234
250
|
}, queryCharts: function(e2) {
|
|
235
251
|
D(e2);
|
|
@@ -263,7 +279,7 @@ const j = { save: function(e2) {
|
|
|
263
279
|
l2.additionalParamMap = p2, l2.isShowWatermark = void 0 === ((_b = (_a = o2.props) == null ? void 0 : _a.watermark) == null ? void 0 : _b.isShowWatermark) ? "true" : ((_d = (_c = o2.props) == null ? void 0 : _c.watermark) == null ? void 0 : _d.isShowWatermark) + "", l2.watermark = ((_f = (_e = o2.props) == null ? void 0 : _e.watermark) == null ? void 0 : _f.content) && ((_h = (_g = o2.props) == null ? void 0 : _g.watermark) == null ? void 0 : _h.content.length) > 0 ? (_j = (_i = o2.props) == null ? void 0 : _i.watermark) == null ? void 0 : _j.content.join("-~") : "";
|
|
264
280
|
const d2 = t2.backendUrl, m2 = n(d2, t2.isTest) + "/dsc/commons/exportChart";
|
|
265
281
|
W();
|
|
266
|
-
|
|
282
|
+
w.post(m2, l2, { responseType: "blob" }).then((e4) => {
|
|
267
283
|
const t3 = document.createElement("a");
|
|
268
284
|
t3.style.display = "none", t3.href = URL.createObjectURL(e4.data), t3.setAttribute("download", c2 + ".xlsx"), document.body.appendChild(t3), t3.click(), document.body.removeChild(t3);
|
|
269
285
|
}).finally(() => {
|
|
@@ -283,7 +299,7 @@ function D(e2) {
|
|
|
283
299
|
let o2 = null;
|
|
284
300
|
n2 && n2.runtime && (o2 = n2.runtime.props);
|
|
285
301
|
const a2 = o2 ? o2.state : void 0;
|
|
286
|
-
o2 && (o2.state = "disabled"),
|
|
302
|
+
o2 && (o2.state = "disabled"), M(t2, s2, void 0, e2.isInitChart).then(() => {
|
|
287
303
|
o2 && (o2.state = a2);
|
|
288
304
|
}).catch(() => {
|
|
289
305
|
o2 && (o2.state = a2);
|
|
@@ -292,15 +308,15 @@ function D(e2) {
|
|
|
292
308
|
function L(e2, s2, o2, a2) {
|
|
293
309
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
|
|
294
310
|
e2.clickUuid = s2.uuid;
|
|
295
|
-
const i2 = o2.templateUuid, r2 = o2.templateName, c2 = e2.systemCode, u2 = (_a = s2.props.base) == null ? void 0 : _a.logSetting, l2 = t(e2), p2 = e2.beanName, d2 = s2.props.base, m2 = s2.tableName ? s2.tableName : e2.tableName, f2 = e2.backendUrl, g2 =
|
|
311
|
+
const i2 = o2.templateUuid, r2 = o2.templateName, c2 = e2.systemCode, u2 = (_a = s2.props.base) == null ? void 0 : _a.logSetting, l2 = t(e2), p2 = e2.beanName, d2 = s2.props.base, m2 = s2.tableName ? s2.tableName : e2.tableName, f2 = e2.backendUrl, g2 = U.getFormViewData(e2), b2 = void 0 === d2.isPermission || "true" === d2.isPermission || d2.isPermission, C2 = { entity: g2, fileName: i2, showName: r2, beanName: p2, isWorkflowForm: l2, functionCode: P(s2, e2), tableName: m2, isPermission: b2 + "", systemCode: c2, listCodesMap: e2.listCodesMap, pageCode: e2.code, pageVersion: e2.version };
|
|
296
312
|
u2 && (C2.logSettingText = u2.join(""));
|
|
297
|
-
const
|
|
298
|
-
let
|
|
299
|
-
C2.additionalParamMap =
|
|
313
|
+
const T2 = ae(e2);
|
|
314
|
+
let y2;
|
|
315
|
+
C2.additionalParamMap = T2, C2.isShowWatermark = void 0 === ((_c = (_b = s2.props) == null ? void 0 : _b.watermark) == null ? void 0 : _c.isShowWatermark) ? "true" : ((_e = (_d = s2.props) == null ? void 0 : _d.watermark) == null ? void 0 : _e.isShowWatermark) + "", C2.watermark = ((_g = (_f = s2.props) == null ? void 0 : _f.watermark) == null ? void 0 : _g.content) && ((_i = (_h = s2.props) == null ? void 0 : _h.watermark) == null ? void 0 : _i.content.length) > 0 ? (_k = (_j = s2.props) == null ? void 0 : _j.watermark) == null ? void 0 : _k.content.join("-~") : "", y2 = a2 ? function(e3, t2, s3, o3) {
|
|
300
316
|
return new Promise((a3, i3) => {
|
|
301
317
|
const r3 = n(t2, o3) + "/dsc/commons/export-pdf";
|
|
302
318
|
W();
|
|
303
|
-
|
|
319
|
+
w.post(r3, s3, { headers: { "content-type": "application/json" }, responseType: "blob" }).then((t3) => {
|
|
304
320
|
const s4 = new Blob([t3.data]), n2 = document.createElement("a");
|
|
305
321
|
n2.download = e3.substring(0, e3.lastIndexOf(".")) + ".pdf", n2.style.display = "none", n2.target = "_blank", n2.href = URL.createObjectURL(s4), document.body.appendChild(n2), n2.click(), URL.revokeObjectURL(n2.href), document.body.removeChild(n2), a3(true);
|
|
306
322
|
}).catch((e4) => {
|
|
@@ -311,7 +327,7 @@ function L(e2, s2, o2, a2) {
|
|
|
311
327
|
return new Promise((a3, i3) => {
|
|
312
328
|
const r3 = n(t2, o3) + "/dsc/commons/export-reports";
|
|
313
329
|
W();
|
|
314
|
-
|
|
330
|
+
w.post(r3, s3, { responseType: "blob" }).then((t3) => {
|
|
315
331
|
const s4 = new Blob([t3.data]);
|
|
316
332
|
let n2 = "报告.xlsx";
|
|
317
333
|
e3 && (n2 = e3);
|
|
@@ -321,17 +337,17 @@ function L(e2, s2, o2, a2) {
|
|
|
321
337
|
i3(e4);
|
|
322
338
|
});
|
|
323
339
|
});
|
|
324
|
-
}(r2, f2, C2, e2.isTest),
|
|
340
|
+
}(r2, f2, C2, e2.isTest), y2 && y2.then(() => {
|
|
325
341
|
h(e2, s2);
|
|
326
342
|
}).catch((e3) => {
|
|
327
343
|
});
|
|
328
344
|
}
|
|
329
345
|
function W() {
|
|
330
|
-
|
|
346
|
+
w.defaults.headers.common.Authorization = d();
|
|
331
347
|
const e2 = f();
|
|
332
348
|
if (e2) {
|
|
333
349
|
const t2 = "_RUN_CURRENT_ROLE";
|
|
334
|
-
|
|
350
|
+
w.defaults.headers.common[t2] = e2;
|
|
335
351
|
}
|
|
336
352
|
}
|
|
337
353
|
function B(e2, t2) {
|
|
@@ -360,10 +376,10 @@ function V(e2, n2, o2, a2, i2, r2, c2) {
|
|
|
360
376
|
b2 && (f2.autoSetValueData = b2);
|
|
361
377
|
const C2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
|
|
362
378
|
C2 && (f2.logSettingText = C2.join("")), f2.systemCode || (f2.systemCode = l2);
|
|
363
|
-
const
|
|
364
|
-
|
|
365
|
-
const
|
|
366
|
-
return f2.additionalParamMap =
|
|
379
|
+
const w2 = e2.beanName;
|
|
380
|
+
w2 && (f2.beanName = w2), i2 && (f2.dynamicColumnInfo = i2), a2 && (f2.mainDefaultValueColumns = a2);
|
|
381
|
+
const T2 = ae(e2);
|
|
382
|
+
return f2.additionalParamMap = T2, void 0 !== o2 && (f2.unControlVersion = o2), f2;
|
|
367
383
|
}
|
|
368
384
|
function F(e2, t2, s2, a2, i2, r2, u2, l2) {
|
|
369
385
|
const p2 = e2.systemCode, d2 = e2.backendUrl, m2 = V(e2, t2, a2, i2, r2, null, u2);
|
|
@@ -381,7 +397,7 @@ function q(t2, s2, n2, o2, a2) {
|
|
|
381
397
|
const i2 = H(t2, s2, a2);
|
|
382
398
|
if (i2 && "list" === i2) !function(t3, s3, n3, o3) {
|
|
383
399
|
let a3 = s3.props.base.successOperation;
|
|
384
|
-
const i3 = s3.props.base.isNeedValueMapping, r2 =
|
|
400
|
+
const i3 = s3.props.base.isNeedValueMapping, r2 = y(t3, s3);
|
|
385
401
|
a3 || z.includes(s3.name) || (a3 = "refresh");
|
|
386
402
|
if ("refresh" === a3) {
|
|
387
403
|
if (r2) {
|
|
@@ -441,11 +457,11 @@ function Y(e2, t2, s2, n2, o2) {
|
|
|
441
457
|
Array.isArray(e3) && e3.length > 0 && (n3 = e3[0]), t3.forEach((e4) => {
|
|
442
458
|
const t4 = e4.source;
|
|
443
459
|
if (!t4) return;
|
|
444
|
-
const o3 = t4.split("."), a3 = v(n3, o3), i2 = e4.target, r2 =
|
|
460
|
+
const o3 = t4.split("."), a3 = v(n3, o3), i2 = e4.target, r2 = S(null, i2);
|
|
445
461
|
I(s3.entity, r2, a3);
|
|
446
462
|
});
|
|
447
463
|
}
|
|
448
|
-
}(s2, o2, e2),
|
|
464
|
+
}(s2, o2, e2), T(null, e2, t2, "setValue", { sourceModel: s2, sourceTableName: n2, entity: e2.entity.data, targetTableName: a2 });
|
|
449
465
|
}
|
|
450
466
|
const z = ["dropdown"];
|
|
451
467
|
function K(e2, t2, s2, n2) {
|
|
@@ -456,7 +472,7 @@ function K(e2, t2, s2, n2) {
|
|
|
456
472
|
const a2 = H(e2, t2);
|
|
457
473
|
if (a2 && "list" === a2 && !o2 && (o2 = "refresh"), "refresh" === o2) {
|
|
458
474
|
if (a2 && "list" === a2) {
|
|
459
|
-
const s3 =
|
|
475
|
+
const s3 = y(e2, t2);
|
|
460
476
|
if (s3) {
|
|
461
477
|
b(e2, s3).refresh();
|
|
462
478
|
}
|
|
@@ -469,17 +485,17 @@ function K(e2, t2, s2, n2) {
|
|
|
469
485
|
function Q(e2, t2, s2, a2) {
|
|
470
486
|
return new Promise((r2, l2) => {
|
|
471
487
|
const d2 = e2.pageContext, m2 = e2.configureObj, f2 = e2.mainDefaultValueColumns, g2 = e2.dynamicColumnInfo, b2 = e2.ids, C2 = m2.props.base.successOperation;
|
|
472
|
-
let
|
|
473
|
-
C2 && "noOperation" === C2 && (
|
|
474
|
-
let
|
|
488
|
+
let w2 = false;
|
|
489
|
+
C2 && "noOperation" === C2 && (w2 = true);
|
|
490
|
+
let T2 = d2.tableName;
|
|
475
491
|
if (t2) {
|
|
476
492
|
const t3 = m2.props.base.tableUuid ? m2.props.base.tableUuid : e2.tableUuid;
|
|
477
|
-
|
|
493
|
+
T2 = x(d2, t3);
|
|
478
494
|
}
|
|
479
|
-
const
|
|
495
|
+
const y2 = function(e3, t3, s3, a3, r3, l3, d3, m3, f3) {
|
|
480
496
|
return new Promise((g3, b3) => {
|
|
481
|
-
const C3 = t3.props.base.title,
|
|
482
|
-
p.confirm(u().t(
|
|
497
|
+
const C3 = t3.props.base.title, w3 = "superPageRuntimeMessage.whetherToConfirm" + i(d3);
|
|
498
|
+
p.confirm(u().t(w3, { name: C3 }), u().t("superPageRuntimeMessage.tips"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
|
|
483
499
|
const i2 = e3.systemCode, u2 = e3.backendUrl, p2 = V(e3, t3, a3, r3, l3, m3, null);
|
|
484
500
|
p2.tableName = f3;
|
|
485
501
|
let d4 = n(u2, e3.isTest) + s3;
|
|
@@ -492,8 +508,8 @@ function Q(e2, t2, s2, a2) {
|
|
|
492
508
|
b3("点击了取消按钮");
|
|
493
509
|
});
|
|
494
510
|
});
|
|
495
|
-
}(d2, m2, a2,
|
|
496
|
-
|
|
511
|
+
}(d2, m2, a2, w2, f2, g2, s2, b2, T2);
|
|
512
|
+
y2 ? y2.then((e3) => {
|
|
497
513
|
q(d2, m2, e3, "superPageRuntimeMessage.successfulSave", t2), r2(e3);
|
|
498
514
|
}).catch((e3) => {
|
|
499
515
|
l2(e3);
|
|
@@ -502,7 +518,7 @@ function Q(e2, t2, s2, a2) {
|
|
|
502
518
|
}
|
|
503
519
|
function X(e2, s2) {
|
|
504
520
|
var _a;
|
|
505
|
-
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 =
|
|
521
|
+
const a2 = e2.pageContext, i2 = e2.configureObj, r2 = e2.tableConfigure, p2 = i2.props.base, d2 = i2.props.base.tableUuid ? i2.props.base.tableUuid : e2.tableUuid, m2 = x(a2, d2), f2 = new FormData();
|
|
506
522
|
f2.append("multipartFile", s2), m2 && f2.append("tableName", m2), a2.importBeanName && f2.append("importBeanName", a2.importBeanName), a2.beanName && f2.append("beanName", a2.beanName);
|
|
507
523
|
const g2 = (_a = r2.props.importSetting) == null ? void 0 : _a.listViewImportDuplicate;
|
|
508
524
|
g2 && f2.append("importDuplicateRule", g2);
|
|
@@ -510,26 +526,26 @@ function X(e2, s2) {
|
|
|
510
526
|
b2 && f2.append("judgeHeavyList", JSON.stringify(b2));
|
|
511
527
|
const C2 = Ce(i2);
|
|
512
528
|
C2 && f2.append("autoSetValueData", C2);
|
|
513
|
-
const
|
|
514
|
-
|
|
515
|
-
const
|
|
516
|
-
|
|
517
|
-
let
|
|
518
|
-
|
|
529
|
+
const w2 = a2.formNoRuleCode;
|
|
530
|
+
w2 && f2.append("formNoRuleCode", w2);
|
|
531
|
+
const T2 = e2.listCode;
|
|
532
|
+
T2 && f2.append("listCode", T2);
|
|
533
|
+
let y2 = false;
|
|
534
|
+
y2 = void 0 !== p2.isAsync && null !== p2.isAsync && p2.isAsync, f2.append("isAsync", y2 + ""), f2.append("pageCode", a2.code);
|
|
519
535
|
const k2 = t(a2);
|
|
520
536
|
null != k2 && f2.append("isWorkflowEntity", k2 + "");
|
|
521
537
|
const R2 = P(i2, a2);
|
|
522
538
|
R2 && f2.append("functionCode", R2);
|
|
523
|
-
const
|
|
524
|
-
f2.append("additionalParamMapStr", JSON.stringify(
|
|
525
|
-
const
|
|
526
|
-
f2.append("isPermission",
|
|
527
|
-
const
|
|
528
|
-
|
|
539
|
+
const S2 = ae(a2);
|
|
540
|
+
f2.append("additionalParamMapStr", JSON.stringify(S2));
|
|
541
|
+
const M2 = void 0 === p2.isPermission || "true" === p2.isPermission || p2.isPermission;
|
|
542
|
+
f2.append("isPermission", M2 + "");
|
|
543
|
+
const N2 = a2.systemCode;
|
|
544
|
+
N2 && f2.append("systemCode", N2);
|
|
529
545
|
const v2 = a2.backendUrl;
|
|
530
546
|
let I2 = n(v2, a2.isTest) + "/dsc/commons/import-data";
|
|
531
|
-
I2 = o(I2,
|
|
532
|
-
if (
|
|
547
|
+
I2 = o(I2, N2, v2, a2.isTest), c.post(I2, f2).then((e3) => {
|
|
548
|
+
if (y2) l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.asyncImport") });
|
|
533
549
|
else {
|
|
534
550
|
let t2 = false;
|
|
535
551
|
e3 ? (t2 = false, l({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e3 })) : (l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulImport") }), t2 = true), q(a2, i2, e3, null, true), a2.result = t2, h(a2, i2);
|
|
@@ -597,7 +613,7 @@ async function se(e2, t2) {
|
|
|
597
613
|
let s4 = false;
|
|
598
614
|
if (((_b = (_a = n2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isMustOpinion) && (s4 = true), true === s4) {
|
|
599
615
|
const t4 = e3.pageContext, o2 = (_d = (_c = n2.props) == null ? void 0 : _c.base) == null ? void 0 : _d.mustOpinionConditions;
|
|
600
|
-
s4 =
|
|
616
|
+
s4 = N(t4, n2, o2);
|
|
601
617
|
}
|
|
602
618
|
true === s4 ? p.prompt(u().t("superPageRuntimeMessage.pleaseInputOpinion"), u().t("superPageRuntimeMessage.opinion"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), inputType: "textarea", inputValue: null, closeOnClickModal: false, inputValidator: (e4) => !(!e4 || !e4.trim()) || u().t("superPageRuntimeMessage.pleaseInputOpinion") }).then(({ value: e4 }) => {
|
|
603
619
|
t3(e4);
|
|
@@ -667,7 +683,7 @@ async function re(e2, t2) {
|
|
|
667
683
|
let s4 = (_b = (_a = n2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isMustRemark;
|
|
668
684
|
if (true === s4) {
|
|
669
685
|
const t4 = e3.pageContext, o2 = (_d = (_c = n2.props) == null ? void 0 : _c.base) == null ? void 0 : _d.mustRemarkConditions;
|
|
670
|
-
s4 =
|
|
686
|
+
s4 = N(t4, n2, o2);
|
|
671
687
|
}
|
|
672
688
|
true === s4 ? p.prompt(u().t("superPageRuntimeMessage.pleaseInputRemark"), u().t("superPageRuntimeMessage.remark"), { confirmButtonText: u().t("superPageRuntimeMessage.sure"), cancelButtonText: u().t("superPageRuntimeMessage.cancel"), inputType: "textarea", inputValue: null, closeOnClickModal: false, inputValidator: (e4) => !(!e4 || !e4.trim()) || u().t("superPageRuntimeMessage.pleaseInputRemark") }).then(({ value: e4 }) => {
|
|
673
689
|
t3(e4);
|
|
@@ -736,45 +752,48 @@ function de(e2, t2) {
|
|
|
736
752
|
});
|
|
737
753
|
}
|
|
738
754
|
}
|
|
739
|
-
function me(e2, t2, s2, n2) {
|
|
740
|
-
let
|
|
741
|
-
return e2 && t2 && ("workflowSave" === e2 ?
|
|
755
|
+
function me(e2, t2, s2, n2, o2) {
|
|
756
|
+
let a2 = false;
|
|
757
|
+
return e2 && t2 && ("workflowSave" === e2 ? a2 = function(e3) {
|
|
742
758
|
if ((void 0 === e3.processState || null === e3.processState || "UNSUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active) && (void 0 === e3.processState || true === e3.showButtonSave)) return true;
|
|
743
759
|
if (e3.processState && "SUBMIT" === e3.processState && "TYPE_READ" !== e3.processingMode && e3.showButtonSave && ("WAIT_TRANSACT" === e3.active || "WAIT_DESIGNATE_TRANSACTOR" === e3.active || "WAIT_CHOICE_TACHE" === e3.active || "DRAW_WAIT" === e3.active)) return true;
|
|
744
760
|
return false;
|
|
745
|
-
}(t2) : "
|
|
761
|
+
}(t2) : "workflowStart" === e2 ? a2 = function(e3, t3) {
|
|
762
|
+
if (void 0 === e3.processState || null === e3.processState || t3 && !t3.workflow_id && !t3.WORKFLOW_ID) return true;
|
|
763
|
+
return false;
|
|
764
|
+
}(t2, o2) : "submitProcess" === e2 ? a2 = function(e3) {
|
|
746
765
|
if ((void 0 === e3.processState || null === e3.processState || "UNSUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active) && (void 0 === e3.processState || true === e3.showButtonSave)) return true;
|
|
747
766
|
return false;
|
|
748
|
-
}(t2) : "submitTask" === e2 ?
|
|
767
|
+
}(t2) : "submitTask" === e2 ? a2 = function(e3) {
|
|
749
768
|
if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "EDIT" === e3.processingMode) return true;
|
|
750
769
|
return false;
|
|
751
|
-
}(t2) : "drawTask" === e2 ?
|
|
770
|
+
}(t2) : "drawTask" === e2 ? a2 = function(e3) {
|
|
752
771
|
if (e3.processState && "SUBMIT" === e3.processState && e3.active && ("DRAW_WAIT" === e3.active || "DEPT_DRAW_WAIT" === e3.active) && e3.showButtonDraw) return true;
|
|
753
772
|
return false;
|
|
754
|
-
}(t2) : "abandonReceive" === e2 ?
|
|
773
|
+
}(t2) : "abandonReceive" === e2 ? a2 = function(e3) {
|
|
755
774
|
if (e3.processState && "SUBMIT" === e3.processState && (e3.drawTask && "WAIT_TRANSACT" === e3.active || e3.canAbandonDeptTask && "WAIT_TRANSACT" === e3.active) && e3.showButtonAbandon) return true;
|
|
756
775
|
return false;
|
|
757
|
-
}(t2) : "approve" === e2 || "refuse" === e2 ?
|
|
776
|
+
}(t2) : "approve" === e2 || "refuse" === e2 ? a2 = function(e3) {
|
|
758
777
|
if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && ("APPROVE" === e3.processingMode || "COUNTERSIGN" === e3.processingMode)) return true;
|
|
759
778
|
return false;
|
|
760
|
-
}(t2) : "readed" === e2 ?
|
|
779
|
+
}(t2) : "readed" === e2 ? a2 = function(e3) {
|
|
761
780
|
if ("WAIT_TRANSACT" === e3.active && "TYPE_READ" === e3.processingMode) return true;
|
|
762
781
|
return false;
|
|
763
|
-
}(t2) : "assign" === e2 ?
|
|
782
|
+
}(t2) : "assign" === e2 ? a2 = function(e3) {
|
|
764
783
|
if (e3.processState && "SUBMIT" === e3.processState && "TYPE_READ" !== e3.processingMode && ("WAIT_TRANSACT" === e3.active || "DRAW_WAIT" === e3.active)) return true;
|
|
765
784
|
return false;
|
|
766
|
-
}(t2) : "copyTask" === e2 ?
|
|
785
|
+
}(t2) : "copyTask" === e2 ? a2 = function(e3, t3) {
|
|
767
786
|
let s3 = false;
|
|
768
787
|
e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "TYPE_READ" !== e3.processingMode && e3.showButtonCopy && (s3 = true);
|
|
769
788
|
t3 && (t3.props.base.state = s3 ? "" : "hidden");
|
|
770
789
|
return true;
|
|
771
|
-
}(t2, n2) : "addSigner" === e2 ?
|
|
790
|
+
}(t2, n2) : "addSigner" === e2 ? a2 = function(e3) {
|
|
772
791
|
if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && ("APPROVE" === e3.processingMode || "COUNTERSIGN" === e3.processingMode) && "COUNTERSIGN" === e3.processingMode && e3.showButtonAddCounter) return true;
|
|
773
792
|
return false;
|
|
774
|
-
}(t2) : "removeSigner" === e2 ?
|
|
793
|
+
}(t2) : "removeSigner" === e2 ? a2 = function(e3) {
|
|
775
794
|
if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && ("APPROVE" === e3.processingMode || "COUNTERSIGN" === e3.processingMode) && "COUNTERSIGN" === e3.processingMode && e3.showButtonDelCounter) return true;
|
|
776
795
|
return false;
|
|
777
|
-
}(t2) : "retrieveTask" === e2 ?
|
|
796
|
+
}(t2) : "retrieveTask" === e2 ? a2 = function(e3) {
|
|
778
797
|
if (e3.processState && "SUBMIT" === e3.processState && function(e4) {
|
|
779
798
|
if ("COMPLETED" !== e4.active) return false;
|
|
780
799
|
if ("TYPE_READ" === e4.processingMode) return false;
|
|
@@ -782,10 +801,10 @@ function me(e2, t2, s2, n2) {
|
|
|
782
801
|
return true;
|
|
783
802
|
}(e3)) return true;
|
|
784
803
|
return false;
|
|
785
|
-
}(t2) : "agreement" === e2 || "oppose" === e2 ?
|
|
804
|
+
}(t2) : "agreement" === e2 || "oppose" === e2 ? a2 = function(e3) {
|
|
786
805
|
if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "VOTE" === e3.processingMode) return true;
|
|
787
806
|
return false;
|
|
788
|
-
}(t2) : "kiken" === e2 ?
|
|
807
|
+
}(t2) : "kiken" === e2 ? a2 = function(e3) {
|
|
789
808
|
if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "VOTE" === e3.processingMode && e3.showButtonKiken) return true;
|
|
790
809
|
return false;
|
|
791
810
|
}(t2) : function(e3, t3) {
|
|
@@ -795,10 +814,10 @@ function me(e2, t2, s2, n2) {
|
|
|
795
814
|
t4 && (s3 = t4.taskComplete);
|
|
796
815
|
return s3;
|
|
797
816
|
}(t3);
|
|
798
|
-
}(t2, s2) && (
|
|
817
|
+
}(t2, s2) && (a2 = "returnToPreviousTask" !== e2 || function(e3) {
|
|
799
818
|
if (e3.rebuttable) return true;
|
|
800
819
|
return false;
|
|
801
|
-
}(t2))),
|
|
820
|
+
}(t2))), a2;
|
|
802
821
|
}
|
|
803
822
|
function fe(e2, t2) {
|
|
804
823
|
e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, ge(e2, t2).then((t3) => {
|
|
@@ -823,8 +842,8 @@ function ge(e2, s2, o2) {
|
|
|
823
842
|
}), C2.listCodesMap = t3;
|
|
824
843
|
}
|
|
825
844
|
f2 && (C2.ids = be(f2)), g2 ? C2.taskId = g2 : d2 ? C2.id = d2 : (p2 && p2._t_ && m(p2._t_ + "_id") && (C2.id = m(p2._t_ + "_id")), e3.notIdInitializationList && (C2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList))), p2 && (C2.additionalParamMap = p2), e3.beanName && (C2.beanName = e3.beanName), e3.refercePropMap && (C2.refercePropMap = e3.refercePropMap);
|
|
826
|
-
const
|
|
827
|
-
|
|
845
|
+
const w2 = n(e3.backendUrl, e3.isTest) + "/dsc/workflow-commons/gets", y2 = _();
|
|
846
|
+
y2.restorePageLoadState(), T(null, e3, e3, "beforeFormLoadData"), c.post(w2, C2).then((t3) => {
|
|
828
847
|
e3.definitionId = t3.definitionId, e3.entity.task = t3.taskParamMap, te(t3, true, e3), e3.workflowRules = O(e3);
|
|
829
848
|
const s4 = e3.pageType;
|
|
830
849
|
s4 && "form" === s4 && function(e4) {
|
|
@@ -857,7 +876,7 @@ function ge(e2, s2, o2) {
|
|
|
857
876
|
}
|
|
858
877
|
e5.actionPermissionMap = s5;
|
|
859
878
|
}(e4);
|
|
860
|
-
}(e3), e3.canClick = true,
|
|
879
|
+
}(e3), e3.canClick = true, T(null, e3, e3, "afterFormLoadData"), y2.setFormPageDataLoadState(true), o3(t3);
|
|
861
880
|
}).catch((t3) => {
|
|
862
881
|
e3.canClick = true, a3(t3);
|
|
863
882
|
});
|
|
@@ -867,20 +886,20 @@ function ge(e2, s2, o2) {
|
|
|
867
886
|
const i2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = ae(e3);
|
|
868
887
|
let d2 = t2 || null, f2 = t2 ? [t2] : null;
|
|
869
888
|
void 0 === s3 || s3 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), f2 || (f2 = p2 ? p2.ids : null)) : (d2 = null, f2 = null, p2._id = p2.id, p2.id = null);
|
|
870
|
-
const g2 = p2 ? p2.taskId : null, b2 = u2, C2 = n(e3.backendUrl, e3.isTest),
|
|
871
|
-
if (!
|
|
889
|
+
const g2 = p2 ? p2.taskId : null, b2 = u2, C2 = n(e3.backendUrl, e3.isTest), w2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: d2, systemCode: i2, functionCode: b2 + ".gets", listCodesMap: e3.listCodesMap };
|
|
890
|
+
if (!w2.id && p2 && p2._t_ && m(p2._t_ + "_id") && (w2.id = m(p2._t_ + "_id")), f2 && (w2.ids = be(f2)), e3.notIdInitializationList && (w2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (w2.additionalParamMap = p2), e3.beanName && (w2.beanName = e3.beanName), g2 && (w2.taskId = g2), (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
|
|
872
891
|
const t3 = {};
|
|
873
892
|
e3.tableUuids.forEach((e4) => {
|
|
874
893
|
const s4 = r(u2, l2, e4);
|
|
875
894
|
t3[s4] = s4;
|
|
876
|
-
}),
|
|
895
|
+
}), w2.listCodesMap = t3;
|
|
877
896
|
}
|
|
878
|
-
e3.refercePropMap && (
|
|
879
|
-
const
|
|
880
|
-
h2.restorePageLoadState(),
|
|
897
|
+
e3.refercePropMap && (w2.refercePropMap = e3.refercePropMap);
|
|
898
|
+
const y2 = C2 + "/dsc/commons/gets", h2 = _();
|
|
899
|
+
h2.restorePageLoadState(), T(null, e3, e3, "beforeFormLoadData"), c.post(y2, w2).then((t3) => {
|
|
881
900
|
t3 && (e3.entity.data = t3.entity, e3.initFormNo = t3.formNo);
|
|
882
|
-
const s4 = e3.customRules, n2 = e3.rules, a4 =
|
|
883
|
-
e3.rules = a4, e3.canClick = true,
|
|
901
|
+
const s4 = e3.customRules, n2 = e3.rules, a4 = E(s4, n2);
|
|
902
|
+
e3.rules = a4, e3.canClick = true, T(null, e3, e3, "afterFormLoadData"), h2.setFormPageDataLoadState(true), o3(t3);
|
|
884
903
|
}).catch((t3) => {
|
|
885
904
|
e3.canClick = true, a3(t3);
|
|
886
905
|
});
|
|
@@ -902,22 +921,22 @@ function Ce(e2) {
|
|
|
902
921
|
}
|
|
903
922
|
return null;
|
|
904
923
|
}
|
|
905
|
-
function
|
|
924
|
+
function we(e2, t2) {
|
|
906
925
|
const s2 = e2.entity ? e2.entity : {}, n2 = { data: s2.data, page: s2.page }, o2 = { pageCode: e2.code, queryCondition: JSON.stringify(n2), name: t2 }, a2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition";
|
|
907
926
|
return c.post(a2, o2);
|
|
908
927
|
}
|
|
909
|
-
function
|
|
928
|
+
function Te(e2) {
|
|
910
929
|
const t2 = e2.code, s2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/list/" + t2;
|
|
911
930
|
return c.get(s2);
|
|
912
931
|
}
|
|
913
|
-
function
|
|
932
|
+
function ye(e2) {
|
|
914
933
|
const t2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/" + e2;
|
|
915
934
|
return c.delete(t2);
|
|
916
935
|
}
|
|
917
936
|
export {
|
|
918
937
|
q as dealAfterOperate,
|
|
919
938
|
te as dealCompleteTaskParam,
|
|
920
|
-
|
|
939
|
+
ye as deleteChartCondition,
|
|
921
940
|
ie as doAddSigner,
|
|
922
941
|
ne as doAssign,
|
|
923
942
|
re as doCreateCopyTask,
|
|
@@ -933,10 +952,10 @@ export {
|
|
|
933
952
|
ue as getTaskInformitions,
|
|
934
953
|
me as isVisibleWorkflowButton,
|
|
935
954
|
Z as judgeDataNumber,
|
|
936
|
-
|
|
955
|
+
Te as listChartConditions,
|
|
937
956
|
K as refreshFormOrListPage,
|
|
938
957
|
fe as refreshPage,
|
|
939
|
-
|
|
958
|
+
we as saveChartConditionBase,
|
|
940
959
|
j as standardEvents,
|
|
941
960
|
Y as updateValuesWhenCloseDialog
|
|
942
961
|
};
|
|
@@ -236,7 +236,7 @@ function v(e2, t2) {
|
|
|
236
236
|
const s2 = {};
|
|
237
237
|
t2.forEach((e3) => {
|
|
238
238
|
const { name: t3, rules: n2 } = e3;
|
|
239
|
-
n2 && (s2[t3] =
|
|
239
|
+
n2 ? s2[t3] = n2 : false === e3.required && (s2[t3] = []);
|
|
240
240
|
});
|
|
241
241
|
let r2 = e2.rules ? e2.rules : {};
|
|
242
242
|
r2 = h(s2, r2), e2.rules = r2;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
var o = ((o2) => (o2.AUTHENTICATED = "AUTHENTICATED", o2.ANONYMOUS = "ANONYMOUS", o2.AUTHORIZED = "AUTHORIZED", o2))(o || {});
|
|
2
|
-
const e = { page: { label: "页面", functions: [{ label: "页面", path: "temp" }] }, gets: { group: "表单标准功能", label: "获取表单数据", functions: [{ funcType: "AUTHENTICATED", path: "/commons/gets$POST" }] }, workflowGets: { group: "标准流程", label: "获取表单及流程数据", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/gets$POST" }] }, save: { group: "表单标准功能", label: "暂存", functions: [{ code: "create", label: "暂存", path: "/commons$POST" }, { code: "update", label: "修改", path: "/commons$POST" }] }, submit: { group: "表单标准功能", label: "提交", functions: [{ path: "/commons/submits$POST" }] }, exportForm: { group: "表单标准功能", label: "导出报告", functions: [{ path: "/commons/export-reports$POST" }] }, exportPDF: { group: "表单标准功能", label: "导出PDF", functions: [{ path: "/commons/exportPDF$POST" }] }, agree: { group: "表单标准功能", label: "同意", functions: [{ path: "/commons/approves$POST" }] }, disagree: { group: "表单标准功能", label: "不同意", functions: [{ path: "/commons/refuses$POST" }] }, back: { group: "表单标准功能", label: "返回", functions: [] }, workflowSave: { group: "流程表单功能", label: "暂存", functions: [{ label: "暂存", code: "save", funcType: "AUTHENTICATED", path: "/workflow-commons$POST" }, { label: "修改", code: "update", funcType: "AUTHENTICATED", path: "/workflow-commons$PUT" }] }, submitProcess: { group: "流程表单功能", label: "提交流程", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/submit$POST" }] }, submitTask: { group: "流程表单功能", label: "提交任务", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.submit", path: "/workflow-commons/complete-tasks$POST" }] }, approve: { group: "流程表单功能", label: "同意", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.approve", path: "/workflow-commons/complete-tasks$POST" }] }, refuse: { group: "流程表单功能", label: "不同意", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.refuse", path: "/workflow-commons/complete-tasks$POST" }] }, assign: { group: "流程表单功能", label: "指派", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/assigns$POST" }] }, drawTask: { group: "流程表单功能", label: "领取", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/draw-tasks$POST" }] }, abandonReceive: { group: "流程表单功能", label: "放弃领取", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/abandon-receives$POST" }] }, readed: { group: "流程表单功能", label: "已阅", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.readed", path: "/workflow-commons/complete-tasks$POST" }] }, agreement: { group: "流程表单功能", label: "赞成", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.agreement", path: "/workflow-commons/complete-tasks$POST" }] }, oppose: { group: "流程表单功能", label: "反对", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.oppose", path: "/workflow-commons/complete-tasks$POST" }] }, kiken: { group: "流程表单功能", label: "弃权", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.kiken", path: "/workflow-commons/complete-tasks$POST" }] }, addSigner: { group: "流程表单功能", label: "加签", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/add-signers$POST" }] }, removeSigner: { group: "流程表单功能", label: "减签", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/abandon-receives$POST" }, { code: "getRemoveSigners", label: "获取可减签人员", funcType: "AUTHENTICATED", path: "/workflow-commons/get-remove-signers$POST" }] }, copyTask: { group: "流程表单功能", label: "抄送", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/copies$POST" }] }, retrieveTask: { group: "流程表单功能", label: "取回", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/retrieves$POST" }] }, returnToPreviousTask: { group: "流程表单功能", label: "驳回", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/return-to-previous-tasks$POST" }] }, returnTaskTo: { group: "流程表单功能", label: "退回", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/returnTaskTo$POST" }, { code: "returnableTaskInformation", label: "获取可退回环节信息", funcType: "AUTHENTICATED", path: "/workflow-commons/returnable-task/{taskId}$POST" }] }, endInstance: { group: "流程表单功能", label: "强制结束", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/end-instance$POST" }] }, listData: { group: "列表功能", label: "列表数据", functions: [{ funcType: "AUTHENTICATED", path: "/commons/list$POST" }] }, listSubData: { group: "列表功能", label: "列表子级", functions: [{ funcType: "AUTHENTICATED", path: "/commons/list-subs$POST" }] }, saveList: { group: "列表功能", label: "暂存", props: { base: { type: "info", plain: true } }, functions: [{ code: "create", label: "暂存", path: "/commons$POST" }, { funcType: "AUTHENTICATED", code: "update", label: "修改", path: "/commons$POST" }] }, delete: { group: "列表功能", label: "删除", props: { base: { type: "danger", plain: true } }, functions: [{ path: "/commons/{tableName}$DELETE" }] }, submitList: { group: "列表功能", label: "提交", props: { base: { type: "primary" } }, functions: [{ path: "/commons/batch-submits$POST" }] }, agreeList: { group: "列表功能", label: "同意", props: { base: { type: "success", plain: true } }, functions: [{ path: "/commons/batch-approves$POST" }] }, disagreeList: { group: "列表功能", label: "不同意", props: { base: { type: "danger", plain: true } }, functions: [{ path: "/commons/batch-refuses$POST" }] }, import: { group: "列表功能", label: "导入", props: { base: { type: "primary", plain: true } }, functions: [{ path: "/commons/import-data$POST" }] }, export: { group: "列表功能", label: "导出", props: { base: { type: "success", plain: true } }, functions: [{ path: "/commons/export-list-data$POST" }] }, search: { group: "列表功能", label: "查询", functions: [] }, showMobileSearch: { group: "列表功能", label: "显示移动端查询区域", functions: [] }, downloadTemplate: { group: "列表功能", label: "下载导入模板", functions: [{ path: "/commons/download-files$GET" }] }, lineEditCreate: { group: "列表行编辑功能", label: "新建", props: { base: { type: "primary" } }, functions: [{ code: "create", label: "暂存", path: "/commons$POST" }] }, lineEditSave: { group: "列表行编辑功能", label: "保存", props: { base: { type: "success", text: true } }, functions: [{ code: "create", label: "保存", path: "/commons$POST" }, { code: "update", label: "修改", path: "/commons$POST" }] }, lineEditDelete: { group: "列表行编辑功能", label: "删除", props: { base: { type: "danger", text: true } }, functions: [{ code: "delete", path: "/commons/{tableName}$DELETE" }] }, lineEditUpdate: { group: "列表行编辑功能", label: "修改", props: { base: { type: "primary", text: true } }, functions: [{ code: "update", label: "修改", path: "/commons$POST" }] }, restoreEdit: { group: "列表行编辑功能", label: "取消", props: { base: { type: "info", text: true } }, functions: [] } }, s = {};
|
|
3
|
-
function
|
|
2
|
+
const e = { page: { label: "页面", functions: [{ label: "页面", path: "temp" }] }, gets: { group: "表单标准功能", label: "获取表单数据", functions: [{ funcType: "AUTHENTICATED", path: "/commons/gets$POST" }] }, workflowGets: { group: "标准流程", label: "获取表单及流程数据", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/gets$POST" }] }, save: { group: "表单标准功能", label: "暂存", functions: [{ code: "create", label: "暂存", path: "/commons$POST" }, { code: "update", label: "修改", path: "/commons$POST" }] }, submit: { group: "表单标准功能", label: "提交", functions: [{ path: "/commons/submits$POST" }] }, exportForm: { group: "表单标准功能", label: "导出报告", functions: [{ path: "/commons/export-reports$POST" }] }, exportPDF: { group: "表单标准功能", label: "导出PDF", functions: [{ path: "/commons/exportPDF$POST" }] }, agree: { group: "表单标准功能", label: "同意", functions: [{ path: "/commons/approves$POST" }] }, disagree: { group: "表单标准功能", label: "不同意", functions: [{ path: "/commons/refuses$POST" }] }, back: { group: "表单标准功能", label: "返回", functions: [] }, workflowSave: { group: "流程表单功能", label: "暂存", functions: [{ label: "暂存", code: "save", funcType: "AUTHENTICATED", path: "/workflow-commons$POST" }, { label: "修改", code: "update", funcType: "AUTHENTICATED", path: "/workflow-commons$PUT" }] }, workflowStart: { group: "流程表单功能", label: "起草", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/start$POST" }] }, submitProcess: { group: "流程表单功能", label: "提交流程", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/submit$POST" }] }, submitTask: { group: "流程表单功能", label: "提交任务", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.submit", path: "/workflow-commons/complete-tasks$POST" }] }, approve: { group: "流程表单功能", label: "同意", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.approve", path: "/workflow-commons/complete-tasks$POST" }] }, refuse: { group: "流程表单功能", label: "不同意", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.refuse", path: "/workflow-commons/complete-tasks$POST" }] }, assign: { group: "流程表单功能", label: "指派", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/assigns$POST" }] }, drawTask: { group: "流程表单功能", label: "领取", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/draw-tasks$POST" }] }, abandonReceive: { group: "流程表单功能", label: "放弃领取", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/abandon-receives$POST" }] }, readed: { group: "流程表单功能", label: "已阅", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.readed", path: "/workflow-commons/complete-tasks$POST" }] }, agreement: { group: "流程表单功能", label: "赞成", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.agreement", path: "/workflow-commons/complete-tasks$POST" }] }, oppose: { group: "流程表单功能", label: "反对", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.oppose", path: "/workflow-commons/complete-tasks$POST" }] }, kiken: { group: "流程表单功能", label: "弃权", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.kiken", path: "/workflow-commons/complete-tasks$POST" }] }, addSigner: { group: "流程表单功能", label: "加签", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/add-signers$POST" }] }, removeSigner: { group: "流程表单功能", label: "减签", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/abandon-receives$POST" }, { code: "getRemoveSigners", label: "获取可减签人员", funcType: "AUTHENTICATED", path: "/workflow-commons/get-remove-signers$POST" }] }, copyTask: { group: "流程表单功能", label: "抄送", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/copies$POST" }] }, retrieveTask: { group: "流程表单功能", label: "取回", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/retrieves$POST" }] }, returnToPreviousTask: { group: "流程表单功能", label: "驳回", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/return-to-previous-tasks$POST" }] }, returnTaskTo: { group: "流程表单功能", label: "退回", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/returnTaskTo$POST" }, { code: "returnableTaskInformation", label: "获取可退回环节信息", funcType: "AUTHENTICATED", path: "/workflow-commons/returnable-task/{taskId}$POST" }] }, endInstance: { group: "流程表单功能", label: "强制结束", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/end-instance$POST" }] }, listData: { group: "列表功能", label: "列表数据", functions: [{ funcType: "AUTHENTICATED", path: "/commons/list$POST" }] }, listSubData: { group: "列表功能", label: "列表子级", functions: [{ funcType: "AUTHENTICATED", path: "/commons/list-subs$POST" }] }, saveList: { group: "列表功能", label: "暂存", props: { base: { type: "info", plain: true } }, functions: [{ code: "create", label: "暂存", path: "/commons$POST" }, { funcType: "AUTHENTICATED", code: "update", label: "修改", path: "/commons$POST" }] }, delete: { group: "列表功能", label: "删除", props: { base: { type: "danger", plain: true } }, functions: [{ path: "/commons/{tableName}$DELETE" }] }, submitList: { group: "列表功能", label: "提交", props: { base: { type: "primary" } }, functions: [{ path: "/commons/batch-submits$POST" }] }, agreeList: { group: "列表功能", label: "同意", props: { base: { type: "success", plain: true } }, functions: [{ path: "/commons/batch-approves$POST" }] }, disagreeList: { group: "列表功能", label: "不同意", props: { base: { type: "danger", plain: true } }, functions: [{ path: "/commons/batch-refuses$POST" }] }, import: { group: "列表功能", label: "导入", props: { base: { type: "primary", plain: true } }, functions: [{ path: "/commons/import-data$POST" }] }, export: { group: "列表功能", label: "导出", props: { base: { type: "success", plain: true } }, functions: [{ path: "/commons/export-list-data$POST" }] }, search: { group: "列表功能", label: "查询", functions: [] }, showMobileSearch: { group: "列表功能", label: "显示移动端查询区域", functions: [] }, downloadTemplate: { group: "列表功能", label: "下载导入模板", functions: [{ path: "/commons/download-files$GET" }] }, lineEditCreate: { group: "列表行编辑功能", label: "新建", props: { base: { type: "primary" } }, functions: [{ code: "create", label: "暂存", path: "/commons$POST" }] }, lineEditSave: { group: "列表行编辑功能", label: "保存", props: { base: { type: "success", text: true } }, functions: [{ code: "create", label: "保存", path: "/commons$POST" }, { code: "update", label: "修改", path: "/commons$POST" }] }, lineEditDelete: { group: "列表行编辑功能", label: "删除", props: { base: { type: "danger", text: true } }, functions: [{ code: "delete", path: "/commons/{tableName}$DELETE" }] }, lineEditUpdate: { group: "列表行编辑功能", label: "修改", props: { base: { type: "primary", text: true } }, functions: [{ code: "update", label: "修改", path: "/commons$POST" }] }, restoreEdit: { group: "列表行编辑功能", label: "取消", props: { base: { type: "info", text: true } }, functions: [] } }, s = {};
|
|
3
|
+
function t(o2) {
|
|
4
4
|
return o2 ? e[o2] : void 0;
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function n(o2) {
|
|
7
7
|
if (!o2) return;
|
|
8
|
-
let
|
|
9
|
-
if (null ==
|
|
8
|
+
let t2 = s[o2];
|
|
9
|
+
if (null == t2) {
|
|
10
10
|
for (const s2 in e) {
|
|
11
|
-
const
|
|
12
|
-
if (
|
|
13
|
-
for (const e2 of
|
|
11
|
+
const n2 = e[s2].functions;
|
|
12
|
+
if (n2) {
|
|
13
|
+
for (const e2 of n2) {
|
|
14
14
|
if (o2 === (e2.code ? e2.code : s2)) {
|
|
15
|
-
|
|
15
|
+
t2 = e2;
|
|
16
16
|
break;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
if (
|
|
19
|
+
if (t2) break;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
s[o2] =
|
|
22
|
+
s[o2] = t2 || "";
|
|
23
23
|
}
|
|
24
|
-
return
|
|
24
|
+
return t2 || void 0;
|
|
25
25
|
}
|
|
26
26
|
export {
|
|
27
27
|
o as FuncType,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
n as getFunctionInfo,
|
|
29
|
+
t as getStandPermissionInfo
|
|
30
30
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as n, onUnmounted as o, resolveComponent as
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as n, onUnmounted as o, resolveComponent as l, createElementBlock as a, openBlock as i, createBlock as u, createCommentVNode as r, unref as s } from "vue";
|
|
2
2
|
import { setTableEvents as c, gridSelectRecord as p, gridSelectAllRecords as d, gridSelectionChange as f, cellClick as v, cellDblClick as b, rowClick as g, rowDblClick as m, headerClick as h, getHandleEvent as S } from "../../../../utils/events/event-util.js";
|
|
3
3
|
import { caculateShowCondition as w, setVariableValue as T, getVariableValue as x, getSizeConfig as C } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { getModelFields as D, getDefaultValue as y } from "../../../../utils/page-init-util.js";
|
|
@@ -6,8 +6,8 @@ import P from "../../../../utils/eventBus.js";
|
|
|
6
6
|
import { popupToPage as R, getOperationButtons as I } from "../../../../utils/table-utils.js";
|
|
7
7
|
import { getListCode as O, getBaseUrl as _ } from "../../../../utils/common-util.js";
|
|
8
8
|
import { getAdditionalParamMap as k } from "../../../../utils/events/standard-event.js";
|
|
9
|
-
import { getRowStyleUtil as M, getCellStyleUtil as
|
|
10
|
-
const
|
|
9
|
+
import { getRowStyleUtil as M, getCellStyleUtil as A, getHeaderCellStyleUtil as F } from "../../chart/table/chart-table-util.js";
|
|
10
|
+
const $ = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(e2, { expose: $2, emit: j }) {
|
|
11
11
|
const L = e2, B = L.pageContext;
|
|
12
12
|
let N = L.configure;
|
|
13
13
|
const E = L.configure.runtime ? L.configure.runtime : {};
|
|
@@ -18,17 +18,17 @@ const j = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
18
18
|
const ee = t(false);
|
|
19
19
|
let te = t(0);
|
|
20
20
|
const ne = N.props.dataOrigin.principalLinkage, oe = t({ isSql: true, subTableData: null, rowKeyProp: ne, extraParam: {}, operations: {}, hiddenColumns: [], pageCode: B.code, pageVersion: B.version, pageContext: B, configureObj: N, showPageArea: false, showRowForm: false, showOverflowTooltip: !(!N.props || !N.props.otherSettings || void 0 !== N.props.otherSettings.isBreakLine && false !== N.props.otherSettings.isBreakLine), backendUrl: Z, cellStyleRender: function(e3) {
|
|
21
|
-
return
|
|
21
|
+
return A(e3, e3.cellStyle, L);
|
|
22
22
|
}, rowStyleRender: function(e3) {
|
|
23
23
|
return M(e3, null, L);
|
|
24
24
|
}, titleStyleRender: function(e3) {
|
|
25
25
|
const t2 = e3.titleStyle, n2 = L.configure.style.titleStyle;
|
|
26
|
-
return
|
|
27
|
-
} }),
|
|
26
|
+
return F(e3, { cellTitleStyle: t2, titleStyle: n2 }, L);
|
|
27
|
+
} }), le = j;
|
|
28
28
|
Q && (oe.value.tableStyle = Q), W && (oe.value.tableClass = W), N.props && N.props.base && true === N.props.base.subPaging ? oe.value.showPageArea = true : oe.value.showPageArea = false, N.props.base.showRowForm && (oe.value.showRowForm = N.props.base.showRowForm);
|
|
29
|
-
const
|
|
29
|
+
const ae = t(null);
|
|
30
30
|
function ie() {
|
|
31
|
-
|
|
31
|
+
ae.value && (oe.value.subTableData = null, ae.value.reloadSubTableData(G));
|
|
32
32
|
}
|
|
33
33
|
function ue(e3) {
|
|
34
34
|
if (void 0 === e3 && (e3 = re()), oe.value.isPageInfo = false, oe.value.isFormSubTable = true, oe.value.canRrefreshSubtableData = e3, oe.value.getFormData = se, oe.value.getGridData = ce, oe.value.extraParam.subTableListViewCode = G, oe.value.extraParam.beanName = B.beanName, oe.value.extraParam.subtableSetting = N.props && N.props.otherSettings ? JSON.stringify(N.props.otherSettings) : null, oe.value.extraParam.additionalParamMap = U, oe.value.extraParam.entityMap = B.entity.data, oe.value.extraParam.contextMap = B.entity.context, oe.value.extraParam.taskMap = B.entity.task, !(N.props && N.props.base && N.props.base.showOperation)) {
|
|
@@ -82,7 +82,7 @@ const j = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
82
82
|
oe.value.operations || (oe.value.operations = {});
|
|
83
83
|
const n2 = function() {
|
|
84
84
|
let e5 = [], t3 = w(L.pageContext, N.props.base.showOperationCondition);
|
|
85
|
-
if (t3 && Se()) {
|
|
85
|
+
if (t3 && Se(null, null, null, null, null, true, "canAdd")) {
|
|
86
86
|
const t4 = { props: { elementType: "el-button", icon: "Plus", type: "primary", circle: true, size: "mini", permission: "true" }, onClick: Ce, isShow: we };
|
|
87
87
|
e5.push(t4);
|
|
88
88
|
}
|
|
@@ -92,7 +92,7 @@ const j = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
92
92
|
}
|
|
93
93
|
return I(B, N, e5, me), e5;
|
|
94
94
|
}();
|
|
95
|
-
oe.value.operations.operation = n2, oe.value.subTableCanAdd = Se();
|
|
95
|
+
oe.value.operations.operation = n2, oe.value.subTableCanAdd = Se(null, null, null, null, null, true, "canAdd"), oe.value.subTableCanDelete = Se(null, null, null, null, null, true, "canDelete");
|
|
96
96
|
}(), c(oe.value, z, B, N);
|
|
97
97
|
const e3 = B.customEvents;
|
|
98
98
|
e3 && (oe.value.eventCallBack = e3), ee.value = true, be();
|
|
@@ -112,14 +112,14 @@ const j = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
112
112
|
}), P.$on("_refreshChildData_" + e3, (e4) => {
|
|
113
113
|
!function(e5) {
|
|
114
114
|
Ee(e5), de = setTimeout(() => {
|
|
115
|
-
|
|
115
|
+
ae.value && (ae.value.refreshChildData(G, e5, N.props && N.props.base && true === N.props.base.subPaging), oe.value.extraParam.entityMap = B.entity.data);
|
|
116
116
|
}, 10);
|
|
117
117
|
}(e4);
|
|
118
118
|
}), P.$on(G + "-pickFileDone", (e4) => {
|
|
119
|
-
|
|
119
|
+
ae.value.pickFileDone(e4);
|
|
120
120
|
}), P.$on(G + "-scanDone", (e4) => {
|
|
121
|
-
|
|
122
|
-
}), oe.value && oe.value.configureObj.props.base && oe.value.configureObj.props.base.isSafeDelete &&
|
|
121
|
+
ae.value.scanDone(e4);
|
|
122
|
+
}), oe.value && oe.value.configureObj.props.base && oe.value.configureObj.props.base.isSafeDelete && le("setSafeDeleteTableCode", oe.value.extraParam.tableName);
|
|
123
123
|
}), o(() => {
|
|
124
124
|
pe && clearTimeout(pe), de && clearTimeout(de);
|
|
125
125
|
const e3 = N.uuid;
|
|
@@ -130,29 +130,30 @@ const j = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
130
130
|
if (!e3) return;
|
|
131
131
|
return ge.value[e3.uuid] = e3, he;
|
|
132
132
|
}
|
|
133
|
-
function he(e3, t2, n2, o2,
|
|
134
|
-
const i2 = { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex:
|
|
133
|
+
function he(e3, t2, n2, o2, l2, a2) {
|
|
134
|
+
const i2 = { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2, button: a2, id: n2.ID ? n2.ID : n2.id }, u2 = ge.value[a2.sourceButton.uuid], r2 = N;
|
|
135
135
|
u2.props.base.tableUuid = r2.uuid, S(null, B, u2, "click", i2);
|
|
136
136
|
}
|
|
137
|
-
function Se(e3, t2, n2, o2, a2,
|
|
137
|
+
function Se(e3, t2, n2, o2, l2, a2, i2) {
|
|
138
|
+
i2 || (i2 = "canAdd");
|
|
138
139
|
if (!w(L.pageContext, N.props.base.showOperationCondition)) return false;
|
|
139
|
-
const
|
|
140
|
-
let
|
|
141
|
-
if (
|
|
142
|
-
const e4 =
|
|
143
|
-
void 0 === e4 || false !== e4.canEdit || void 0 !== e4.rowIndexes && null !== e4.rowIndexes && 0 !== e4.rowIndexes.length || (
|
|
140
|
+
const u2 = B.fieldPermissionMap, r2 = B.actionPermissionMap;
|
|
141
|
+
let s2 = true;
|
|
142
|
+
if (u2 && null !== u2) {
|
|
143
|
+
const e4 = u2.get("all_fields");
|
|
144
|
+
void 0 === e4 || false !== e4.canEdit || void 0 !== e4.rowIndexes && null !== e4.rowIndexes && 0 !== e4.rowIndexes.length || (s2 = false);
|
|
144
145
|
}
|
|
145
|
-
if (true ===
|
|
146
|
-
let e4 =
|
|
147
|
-
e4 || (e4 =
|
|
146
|
+
if (true === s2 && V && r2 && null !== r2) {
|
|
147
|
+
let e4 = r2.get(V);
|
|
148
|
+
e4 || (e4 = r2.get("all_sub_tables")), e4 && void 0 !== e4[i2] && false === e4[i2] && (s2 = false);
|
|
148
149
|
}
|
|
149
|
-
return
|
|
150
|
+
return s2;
|
|
150
151
|
}
|
|
151
|
-
function we(e3, t2, n2, o2,
|
|
152
|
-
let i2 = Se();
|
|
152
|
+
function we(e3, t2, n2, o2, l2, a2) {
|
|
153
|
+
let i2 = Se(0, 0, 0, 0, 0, 0, "canAdd");
|
|
153
154
|
return true === i2 && (i2 = w(L.pageContext, N.props.base.showAddBtnCondition, n2)), i2;
|
|
154
155
|
}
|
|
155
|
-
function Te(e3, t2, n2, o2,
|
|
156
|
+
function Te(e3, t2, n2, o2, l2, a2) {
|
|
156
157
|
const i2 = B.fieldPermissionMap, u2 = B.actionPermissionMap;
|
|
157
158
|
let r2 = true;
|
|
158
159
|
if (i2 && null !== i2) {
|
|
@@ -161,7 +162,7 @@ const j = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
161
162
|
}
|
|
162
163
|
if (true === r2 && V && u2 && null !== u2) {
|
|
163
164
|
let e4 = u2.get(V);
|
|
164
|
-
if (e4 || (e4 = u2.get("all_sub_tables")), e4 && void 0 !== e4.canDelete && false === e4.canDelete && (r2 = false), e4 && void 0 !== e4.canDelete && true === e4.canDelete && e4.deleteRowIndexes) if (e4.deleteRowIndexes.length > 0) if (
|
|
165
|
+
if (e4 || (e4 = u2.get("all_sub_tables")), e4 && void 0 !== e4.canDelete && false === e4.canDelete && (r2 = false), e4 && void 0 !== e4.canDelete && true === e4.canDelete && e4.deleteRowIndexes) if (e4.deleteRowIndexes.length > 0) if (a2) r2 = true;
|
|
165
166
|
else {
|
|
166
167
|
const t3 = function(e5) {
|
|
167
168
|
return e5 && e5.id ? e5.id : e5 && e5.ID ? e5.ID : void 0;
|
|
@@ -172,15 +173,15 @@ const j = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
172
173
|
}
|
|
173
174
|
return r2;
|
|
174
175
|
}
|
|
175
|
-
function xe(e3, t2, n2, o2,
|
|
176
|
-
let i2 = Te(0, 0, n2, 0, 0,
|
|
176
|
+
function xe(e3, t2, n2, o2, l2, a2) {
|
|
177
|
+
let i2 = Te(0, 0, n2, 0, 0, a2);
|
|
177
178
|
return true === i2 && (i2 = w(L.pageContext, N.props.base.showDeleteBtnCondition, n2)), i2;
|
|
178
179
|
}
|
|
179
|
-
function Ce(e3, t2, n2, o2,
|
|
180
|
-
|
|
180
|
+
function Ce(e3, t2, n2, o2, l2) {
|
|
181
|
+
ae.value.createRow(G, {}, { getDefaultValueFunc: y }, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2 });
|
|
181
182
|
}
|
|
182
|
-
function De(e3, t2, n2, o2,
|
|
183
|
-
|
|
183
|
+
function De(e3, t2, n2, o2, l2) {
|
|
184
|
+
ae.value.deleteRow(l2, G, false);
|
|
184
185
|
}
|
|
185
186
|
function ye(e3) {
|
|
186
187
|
T(X, Y, e3);
|
|
@@ -213,16 +214,16 @@ const j = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
213
214
|
function Me(e3) {
|
|
214
215
|
f(B, N, { newSelection: e3 });
|
|
215
216
|
}
|
|
216
|
-
function
|
|
217
|
+
function Ae(e3, t2, n2, o2) {
|
|
217
218
|
v(B, N, { row: e3, column: t2, cell: n2, event: o2 });
|
|
218
219
|
}
|
|
219
|
-
function
|
|
220
|
+
function Fe(e3, t2, n2, o2) {
|
|
220
221
|
b(B, N, { row: e3, column: t2, cell: n2, event: o2 });
|
|
221
222
|
}
|
|
222
|
-
function
|
|
223
|
+
function $e(e3, t2, n2) {
|
|
223
224
|
g(B, N, { row: e3, column: t2, event: n2 });
|
|
224
225
|
}
|
|
225
|
-
function
|
|
226
|
+
function je(e3, t2, n2) {
|
|
226
227
|
m(B, N, { row: e3, column: t2, event: n2 });
|
|
227
228
|
}
|
|
228
229
|
function Le(e3, t2) {
|
|
@@ -244,8 +245,8 @@ const j = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
244
245
|
return function() {
|
|
245
246
|
const e3 = re();
|
|
246
247
|
e3 ? fe(e3) : (ue(e3), oe.value.isPageInfo = false, oe.value.subTableData = Ne(), ve());
|
|
247
|
-
}(),
|
|
248
|
-
return
|
|
248
|
+
}(), $2({ createRow: function() {
|
|
249
|
+
return ae.value.createRow(G);
|
|
249
250
|
}, getSelections: function() {
|
|
250
251
|
return q.value;
|
|
251
252
|
}, getSelectionIds: function() {
|
|
@@ -258,42 +259,42 @@ const j = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
258
259
|
}, getTableConfigure: function() {
|
|
259
260
|
return N;
|
|
260
261
|
}, validatorSunTableListData: function() {
|
|
261
|
-
return
|
|
262
|
+
return ae.value.validatorSunTableListData();
|
|
262
263
|
}, getValue: Ne, setValue: Ee, getTableSelectOptions: function() {
|
|
263
|
-
if (
|
|
264
|
+
if (ae.value) return ae.value.getTableSelectOptions(G);
|
|
264
265
|
}, dynamicControlTableEdit: function(e3, t2, n2) {
|
|
265
|
-
|
|
266
|
+
ae.value && ae.value.dynamicControlTableEdit(e3, t2, n2);
|
|
266
267
|
}, doLayout: function(e3) {
|
|
267
|
-
|
|
268
|
+
ae.value && ae.value.doLayout(e3);
|
|
268
269
|
}, changeOperationAddState: function(e3) {
|
|
269
|
-
|
|
270
|
+
ae.value && ae.value.changeOperationAddState(e3);
|
|
270
271
|
}, scrollTo: function(e3, t2) {
|
|
271
|
-
|
|
272
|
+
ae.value && ae.value.scrollTo(e3, t2);
|
|
272
273
|
}, setScrollTop: function(e3) {
|
|
273
|
-
|
|
274
|
+
ae.value && ae.value.setScrollTop(e3);
|
|
274
275
|
}, setScrollLeft: function(e3) {
|
|
275
|
-
|
|
276
|
+
ae.value && ae.value.setScrollLeft(e3);
|
|
276
277
|
}, getSuperGridRef: function() {
|
|
277
|
-
return
|
|
278
|
+
return ae.value;
|
|
278
279
|
}, getSuperGridTableRef: function() {
|
|
279
|
-
return
|
|
280
|
+
return ae.value.getSuperGridTableRef();
|
|
280
281
|
}, setCurrentRowIndex: function(e3) {
|
|
281
282
|
var _a;
|
|
282
|
-
(_a =
|
|
283
|
+
(_a = ae.value) == null ? void 0 : _a.setCurrentRowIndex(e3);
|
|
283
284
|
}, setScrollTopByRowIndex: function(e3) {
|
|
284
285
|
var _a;
|
|
285
|
-
(_a =
|
|
286
|
+
(_a = ae.value) == null ? void 0 : _a.setScrollTopByRowIndex(e3);
|
|
286
287
|
}, getTableData: function() {
|
|
287
288
|
var _a;
|
|
288
|
-
return (_a =
|
|
289
|
+
return (_a = ae.value) == null ? void 0 : _a.getTableData();
|
|
289
290
|
}, addRequiredClass: function(e3, t2, n2) {
|
|
290
291
|
var _a;
|
|
291
|
-
(_a =
|
|
292
|
+
(_a = ae.value) == null ? void 0 : _a.addRequiredClass(e3, G, t2, n2);
|
|
292
293
|
} }), (e3, t2) => {
|
|
293
|
-
const n2 =
|
|
294
|
-
return i(),
|
|
294
|
+
const n2 = l("super-grid");
|
|
295
|
+
return i(), a("div", null, [ee.value ? (i(), u(n2, { key: 0, ref_key: "gridRef", ref: ae, url: s(Z) + "/dsc/commons/sub-table", options: oe.value, code: s(G), settings: s(K), onSelect: _e, onSelectAll: ke, onSelectionChange: Me, onCellClick: Ae, onCellDblclick: Fe, onRowClick: $e, onRowDblclick: je, onHeaderClick: Le, onFnProhibitToEdit: Ie, onChangeGridData: ye, onReloadGrid: fe, onRefresMainTableFields: Oe, onSetSelectOptions: Re, onChangeRowsPerPage: Pe, onNewOpenGridDialog: s(R), onChangeFormData: Be }, null, 8, ["url", "options", "code", "settings", "onNewOpenGridDialog"])) : r("", true)]);
|
|
295
296
|
};
|
|
296
297
|
} });
|
|
297
298
|
export {
|
|
298
|
-
|
|
299
|
+
$ as default
|
|
299
300
|
};
|
|
@@ -34,7 +34,7 @@ const T = e({ __name: "depttree-runtime", props: { pageContext: {}, configure: {
|
|
|
34
34
|
} }), P = W.value.autoSetFields ? W.value.autoSetFields : [];
|
|
35
35
|
let Q = null;
|
|
36
36
|
function U(e3, t2) {
|
|
37
|
-
Q ? Q === e3 && S(t2, q.pageContext, q.configure, "change") : e3 === E && S(t2, q.pageContext, q.configure, "change");
|
|
37
|
+
Q ? Q === e3 && (D.length > 0 ? S(R(M, D), q.pageContext, q.configure, "change") : S(t2, q.pageContext, q.configure, "change")) : e3 === E && S(t2, q.pageContext, q.configure, "change");
|
|
38
38
|
}
|
|
39
39
|
function X() {
|
|
40
40
|
S(null, q.pageContext, q.configure, "click");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./workflowbutton-runtime.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const r = t(o, [["__scopeId", "data-v-
|
|
4
|
+
const r = t(o, [["__scopeId", "data-v-2de5813c"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, createElementBlock as n, openBlock as o, Fragment as r, renderList as u, createBlock as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as e, ref as t, createElementBlock as n, openBlock as o, Fragment as r, renderList as u, createBlock as a, createCommentVNode as i } from "vue";
|
|
2
|
+
import s from "../../object-render.vue.js";
|
|
3
3
|
import { getClickEventFuncByType as m } from "../../../../utils/events/event-util.js";
|
|
4
4
|
import { isVisibleWorkflowButton as c } from "../../../../utils/events/standard-event.js";
|
|
5
5
|
const l = { class: "page-runtime-header-btn amb-workflowbutton-runtime-view" }, p = e({ __name: "workflowbutton-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
6
|
+
var _a;
|
|
6
7
|
const p2 = e2, f = p2.configure.runtime ? p2.configure.runtime : {};
|
|
7
8
|
t(f.style ? f.style : {}), f.class;
|
|
8
|
-
const g = p2.pageContext.workflowButtonComponent, v = p2.pageContext.completeTaskParam, x = t([]);
|
|
9
|
+
const g = p2.pageContext.workflowButtonComponent, v = p2.pageContext.completeTaskParam, x = (_a = p2.pageContext.entity) == null ? void 0 : _a.data, C = t([]);
|
|
9
10
|
return p2.configure.items.forEach((e3) => {
|
|
10
11
|
(function(e4) {
|
|
11
12
|
const t2 = function(e5) {
|
|
@@ -14,9 +15,9 @@ const l = { class: "page-runtime-header-btn amb-workflowbutton-runtime-view" },
|
|
|
14
15
|
if (t3.isStandard) return t3.event.eventName;
|
|
15
16
|
}
|
|
16
17
|
}(e4.runtime && e4.runtime.events ? e4.runtime.events : []);
|
|
17
|
-
return c(t2, g, v, e4);
|
|
18
|
-
})(e3) &&
|
|
19
|
-
}), (e3, t2) => (o(), n("span", l, [(o(true), n(r, null, u(
|
|
18
|
+
return c(t2, g, v, e4, x);
|
|
19
|
+
})(e3) && C.value.push(e3);
|
|
20
|
+
}), (e3, t2) => (o(), n("span", l, [(o(true), n(r, null, u(C.value, (t3, u2) => (o(), n(r, null, [t3.check ? (o(), a(s, { key: u2, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"])) : i("", true)], 64))), 256))]));
|
|
20
21
|
} });
|
|
21
22
|
export {
|
|
22
23
|
p as default
|
package/dist/es/i18n/langs/cn.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = { superPageRuntimeMessage: { successfulSave: "保存成功", recordLine: "第 {row} 行记录", tableListSubTableDataVerificationFailed: "表单子表数据校验失败", formDataVerificationFailed: "表单数据校验失败", successfulOperation: "操作成功", selectTemplate: "选择模板", temlpate: "模板", operating: "操作", export: "导出", tips: "提示", sure: "确定", cancel: "取消", whetherToConfirmSubmit: "确定{name}吗?", whetherToConfirmAgree: "确定{name}吗?", whetherToConfirmDisagree: "确定{name}吗?", pleaseSelectRecord: "请选择记录", whetherToConfirmDeletion: "确定删除吗?", successfulDelete: "删除成功", noFileSelected: "请选择一个文件", asyncImport: "正在异步导入,请等待消息通知!", successfulImport: "导入成功", thePreconditionOfTheButtonTo: "该按钮前置条件为[{message}]", onlyOneRecordCanBeselected: "只能选择一条记录", selectAtLeastOneRecord: "请至少选择一条记录", requestPathEmpty: "后台请求路径为空", successfulSubmit: "提交成功", successfulCompleteTask: "任务办理成功", successfulAssign: "指派任务成功", successfulRetrieve: "取回任务成功", successfulDrawTask: "领取任务成功", successfulAbandonReceive: "放弃任务成功", successfulReturnToPreviousTask: "退回上一环节成功", successfulEndInstance: "强制结束流程成功", selectNode: "选择环节", nodeName: "环节名称", nodeId: "环节编码", pleaseSelectNode: "请选择环节", successfulReturnTaskTo: "退回成功", selectRemoveUsers: "选择减签任务", transactorName: "办理人姓名", transactor: "办理人登录名", trustorName: "委托人姓名", pleaseSelectRemoverUsers: "请选择减签用户", required: "{label}必填", formatMismatch: "{label}格式不匹配", overMaxLength: "{label}最多只能输入{value}字符", limitMinLength: "{label}至少输入{value}字符", flowNotStart: "流程未提交", pleaseInputOpinion: "请输入意见", opinion: "意见", pleaseInputRemark: "请输入备注", remark: "备注", pleaseSelectCondition: "请选择条件", pleaseInputConditionName: "请输入条件名称", conditionName: "名称", save: "保存", saveCondition: "保存条件", popMsg: "弹框参数缺少customSystem参数", noChartSetting: "未查询到图表定义", xxxNotEmpty: "{label}不能为空" } };
|
|
1
|
+
const e = { superPageRuntimeMessage: { successfulSave: "保存成功", recordLine: "第 {row} 行记录", tableListSubTableDataVerificationFailed: "表单子表数据校验失败", formDataVerificationFailed: "表单数据校验失败", successfulOperation: "操作成功", selectTemplate: "选择模板", temlpate: "模板", operating: "操作", export: "导出", tips: "提示", sure: "确定", cancel: "取消", whetherToConfirmSubmit: "确定{name}吗?", whetherToConfirmAgree: "确定{name}吗?", whetherToConfirmDisagree: "确定{name}吗?", pleaseSelectRecord: "请选择记录", whetherToConfirmDeletion: "确定删除吗?", successfulDelete: "删除成功", noFileSelected: "请选择一个文件", asyncImport: "正在异步导入,请等待消息通知!", successfulImport: "导入成功", thePreconditionOfTheButtonTo: "该按钮前置条件为[{message}]", onlyOneRecordCanBeselected: "只能选择一条记录", selectAtLeastOneRecord: "请至少选择一条记录", requestPathEmpty: "后台请求路径为空", successfulSubmit: "提交成功", successfulCompleteTask: "任务办理成功", successfulAssign: "指派任务成功", successfulRetrieve: "取回任务成功", successfulDrawTask: "领取任务成功", successfulAbandonReceive: "放弃任务成功", successfulReturnToPreviousTask: "退回上一环节成功", successfulEndInstance: "强制结束流程成功", selectNode: "选择环节", nodeName: "环节名称", nodeId: "环节编码", pleaseSelectNode: "请选择环节", successfulReturnTaskTo: "退回成功", selectRemoveUsers: "选择减签任务", transactorName: "办理人姓名", transactor: "办理人登录名", trustorName: "委托人姓名", pleaseSelectRemoverUsers: "请选择减签用户", required: "{label}必填", formatMismatch: "{label}格式不匹配", overMaxLength: "{label}最多只能输入{value}字符", limitMinLength: "{label}至少输入{value}字符", flowNotStart: "流程未提交", pleaseInputOpinion: "请输入意见", opinion: "意见", pleaseInputRemark: "请输入备注", remark: "备注", pleaseSelectCondition: "请选择条件", pleaseInputConditionName: "请输入条件名称", conditionName: "名称", save: "保存", saveCondition: "保存条件", popMsg: "弹框参数缺少customSystem参数", noChartSetting: "未查询到图表定义", xxxNotEmpty: "{label}不能为空", successfulStart: "起草成功" } };
|
|
2
2
|
export {
|
|
3
3
|
e as default
|
|
4
4
|
};
|
package/dist/es/i18n/langs/en.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = { superPageRuntimeMessage: { successfulSave: "Save succeeded", recordLine: "Record line {row}", tableListSubTableDataVerificationFailed: "Table List Sub Table Data Verification Failed", formDataVerificationFailed: "Form Data Verification Failed", successfulOperation: "Operation successful", selectTemplate: "Select Template", temlpate: "Template", operating: "Operate", export: "Export", tips: "Tip", sure: "Sure", cancel: "Cancel", whetherToConfirmSubmit: "Are you sure to {name}?", whetherToConfirmAgree: "Are you sure to {name}?", whetherToConfirmDisagree: "Are you sure to {name}?", pleaseSelectRecord: "Please select the record", whetherToConfirmDeletion: "Are you sure to delete?", successfulDelete: "Delete succeeded", noFileSelected: "Please select a file", asyncImport: "Asynchronous import, please wait for message notification!", successfulImport: "Import succeeded", thePreconditionOfTheButtonTo: "The Precondition Of The Button To [{message}]", onlyOneRecordCanBeselected: "Only One Record Can Be Selected", selectAtLeastOneRecord: "Please Select At Least One Record", requestPathEmpty: "Backend request path is empty", successfulSubmit: "Submit succeeded", successfulCompleteTask: "Task handled successfully", successfulAssign: "Task assigned successfully", successfulRetrieve: "Retrieve task succeeded", successfulDrawTask: "Task received successfully", successfulAbandonReceive: "The task was abandoned successfully", successfulReturnToPreviousTask: "Successfully returned to the previous phase", successfulEndInstance: "Forced to end the process successfully", selectNode: "Select Node", nodeName: "Node Name", nodeId: "Node Code", pleaseSelectNode: "Please Select Node", successfulReturnTaskTo: "Returned successfully", selectRemoveUsers: "Select Remove Task", transactorName: "Transactor Name", transactor: "Transactor Loginname", trustorName: "Trustor Name", pleaseSelectRemoverUsers: "Please select remove task", required: "{label} is required", formatMismatch: "{label} Format mismatch", overMaxLength: "{label} can only input a maximum of {value} characters", limitMinLength: "Enter at least {value} characters for {label}", flowNotStart: "Workflow Not Started", pleaseInputOpinion: "Please input opinion", opinion: "Opinion", pleaseInputRemark: "Please input remark", remark: "Remark", pleaseSelectCondition: "Please select condition", pleaseInputConditionName: "Please input condition name", conditionName: "Name", save: "Save", saveCondition: "Save Condition", popMsg: "Pop dialog lost the parameter of customSystem", noChartSetting: "No chart setting found", xxxNotEmpty: "{label}
|
|
1
|
+
const e = { superPageRuntimeMessage: { successfulSave: "Save succeeded", recordLine: "Record line {row}", tableListSubTableDataVerificationFailed: "Table List Sub Table Data Verification Failed", formDataVerificationFailed: "Form Data Verification Failed", successfulOperation: "Operation successful", selectTemplate: "Select Template", temlpate: "Template", operating: "Operate", export: "Export", tips: "Tip", sure: "Sure", cancel: "Cancel", whetherToConfirmSubmit: "Are you sure to {name}?", whetherToConfirmAgree: "Are you sure to {name}?", whetherToConfirmDisagree: "Are you sure to {name}?", pleaseSelectRecord: "Please select the record", whetherToConfirmDeletion: "Are you sure to delete?", successfulDelete: "Delete succeeded", noFileSelected: "Please select a file", asyncImport: "Asynchronous import, please wait for message notification!", successfulImport: "Import succeeded", thePreconditionOfTheButtonTo: "The Precondition Of The Button To [{message}]", onlyOneRecordCanBeselected: "Only One Record Can Be Selected", selectAtLeastOneRecord: "Please Select At Least One Record", requestPathEmpty: "Backend request path is empty", successfulSubmit: "Submit succeeded", successfulCompleteTask: "Task handled successfully", successfulAssign: "Task assigned successfully", successfulRetrieve: "Retrieve task succeeded", successfulDrawTask: "Task received successfully", successfulAbandonReceive: "The task was abandoned successfully", successfulReturnToPreviousTask: "Successfully returned to the previous phase", successfulEndInstance: "Forced to end the process successfully", selectNode: "Select Node", nodeName: "Node Name", nodeId: "Node Code", pleaseSelectNode: "Please Select Node", successfulReturnTaskTo: "Returned successfully", selectRemoveUsers: "Select Remove Task", transactorName: "Transactor Name", transactor: "Transactor Loginname", trustorName: "Trustor Name", pleaseSelectRemoverUsers: "Please select remove task", required: "{label} is required", formatMismatch: "{label} Format mismatch", overMaxLength: "{label} can only input a maximum of {value} characters", limitMinLength: "Enter at least {value} characters for {label}", flowNotStart: "Workflow Not Started", pleaseInputOpinion: "Please input opinion", opinion: "Opinion", pleaseInputRemark: "Please input remark", remark: "Remark", pleaseSelectCondition: "Please select condition", pleaseInputConditionName: "Please input condition name", conditionName: "Name", save: "Save", saveCondition: "Save Condition", popMsg: "Pop dialog lost the parameter of customSystem", noChartSetting: "No chart setting found", xxxNotEmpty: "{label}������", successfulStart: "Start succeeded" } };
|
|
2
2
|
export {
|
|
3
3
|
e as default
|
|
4
4
|
};
|
package/dist/es/style.css
CHANGED
|
@@ -537,16 +537,16 @@
|
|
|
537
537
|
}
|
|
538
538
|
.amb-button-group-main > div[data-v-9d55ce0b] {
|
|
539
539
|
width: auto;
|
|
540
|
-
}.amb-workflowbutton-runtime-view[data-v-
|
|
540
|
+
}.amb-workflowbutton-runtime-view[data-v-2de5813c] {
|
|
541
541
|
min-height: 32px;
|
|
542
542
|
display: flex;
|
|
543
543
|
flex-wrap: wrap;
|
|
544
544
|
gap: var(--amb-widget-container-tool-gap, 10px);
|
|
545
545
|
}
|
|
546
|
-
.amb-workflowbutton-runtime-view[data-v-
|
|
546
|
+
.amb-workflowbutton-runtime-view[data-v-2de5813c]::after, .amb-workflowbutton-runtime-view[data-v-2de5813c]::before {
|
|
547
547
|
display: none;
|
|
548
548
|
}
|
|
549
|
-
.amb-workflowbutton-runtime-view > div[data-v-
|
|
549
|
+
.amb-workflowbutton-runtime-view > div[data-v-2de5813c] {
|
|
550
550
|
width: auto;
|
|
551
551
|
}
|
|
552
552
|
[data-v-57964c4a] .el-empty {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-runtime",
|
|
3
|
-
"version": "2.3.13-
|
|
3
|
+
"version": "2.3.13-sit4",
|
|
4
4
|
"description": "AgileBuilder super page runtime",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/es/index.js",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
49
49
|
"@vue/eslint-config-prettier": "^8.0.0",
|
|
50
50
|
"@vue/test-utils": "^2.4.4",
|
|
51
|
-
"agilebuilder-ui": "1.1.52-
|
|
51
|
+
"agilebuilder-ui": "1.1.52-sit4",
|
|
52
52
|
"axios": "^1.6.8",
|
|
53
53
|
"cypress": "^13.6.6",
|
|
54
54
|
"element-plus": "^2.6.1",
|