super-page-runtime 2.3.24 → 2.3.25
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.js +1 -1
- package/dist/es/components/runtime/utils/events/validator-util.js +4 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +30 -30
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +68 -68
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +29 -29
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/style.css +77 -77
- package/package.json +1 -1
|
@@ -972,7 +972,7 @@ function Ie(e2, t2, n2, s2, o2, i2) {
|
|
|
972
972
|
return false;
|
|
973
973
|
}(n2)));
|
|
974
974
|
if ((o2 == null ? void 0 : o2.check) && -1 !== ["submitTask", "approve", "refuse", "agreement", "oppose", "kiken", "extractWorkflow", "cancelExtractWorkflow", "approveExtractWorkflow", "refuseExtractWorkflow", "returnToPreviousTask"].indexOf(t2) && a2 && e2) {
|
|
975
|
-
e2.workflowOpinion ? e2.workflowOpinion.showOpinionBox =
|
|
975
|
+
e2.workflowOpinion ? e2.workflowOpinion.showOpinionBox = false : e2.workflowOpinion = { showOpinionBox: false };
|
|
976
976
|
let t3 = false;
|
|
977
977
|
if ((_b = (_a = o2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isMustOpinion) {
|
|
978
978
|
if (t3 = true, true === t3) {
|
|
@@ -84,11 +84,13 @@ function g(e2, n2, r2) {
|
|
|
84
84
|
if (u4 && u4.notEmpty) {
|
|
85
85
|
let r8 = false;
|
|
86
86
|
if (n5[o5] ? Array.isArray(n5[o5]) && 0 === n5[o5].length && (r8 = true) : r8 = true, r8) {
|
|
87
|
-
const r9 = s(e5, o5)
|
|
87
|
+
const r9 = s(e5, o5);
|
|
88
|
+
if (!r9) return true;
|
|
89
|
+
const l4 = r9.getConfigure();
|
|
88
90
|
if ((_a = u4.notEmptyCondition) == null ? void 0 : _a.parentCondition) {
|
|
89
91
|
if (false === a(u4.notEmptyCondition.parentCondition.replaceAll("${field[", "${parent["), e5.dataTypeMaps, n5, {}, (_b = e5.entity) == null ? void 0 : _b.request, (_c = e5.entity) == null ? void 0 : _c.task, e5.contextParam)) return true;
|
|
90
92
|
}
|
|
91
|
-
return t({ showClose: true, message: i().t("superPageRuntimeMessage.xxxNotEmpty", { label:
|
|
93
|
+
return t({ showClose: true, message: i().t("superPageRuntimeMessage.xxxNotEmpty", { label: l4.title ? l4.title : o5 }), type: "warning" }), false;
|
|
92
94
|
}
|
|
93
95
|
}
|
|
94
96
|
}
|
|
@@ -251,7 +251,7 @@ const Q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
251
251
|
}(r2), columns: e3, title: oe == null ? void 0 : oe.title };
|
|
252
252
|
} }), (o2, r2) => {
|
|
253
253
|
const t2 = i("el-table");
|
|
254
|
-
return u(), a("div", { style: l(s(Y)), class: p([s(Z), "amb-widget-chart amb-widget-flex"]), ref: "thisRef" }, [c(g(b, { ref_key: "headerRef", ref: re, headerInfo: s(oe), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[d, s(oe).showHeader || e2.pageContext.showHomepageSearch]]), g(t2, { ref_key: "gridRef", ref: he, data: ne.value, style: { width: "100%" }, "max-height": s(be), "header-cell-style": je, "row-style": $e, "cell-style": Fe, "show-summary": le.value, stripe: e2.configure.props.base.stripe, "summary-method": ke, "span-method": Ne }, { default: h(() => [te.value ? (u(true), a(v, { key: 0 }, y(ue.value, (o3, r3) => (u(), a(v, { key: r3 }, [o3.isLeaf ? (u(), f(I, { key: 1, configure: e2.configure, pageContext: e2.pageContext, column: pe.value[o3.columnUuid] }, null, 8, ["configure", "pageContext", "column"])) : (u(), f(N, { key: 0, configure: e2.configure, pageContext: e2.pageContext, groupColumn: o3, columnsConfigKeyValues: pe.value }, null, 8, ["configure", "pageContext", "groupColumn", "columnsConfigKeyValues"]))], 64))), 128)) : (u(true), a(v, { key: 1 }, y(ve.value, (o3, r3) => (u(), f(I, { key: r3, column: o3, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["column", "configure", "pageContext"]))), 128))]), _: 1 }, 8, ["data", "max-height", "show-summary", "stripe"]), e2.configure.pageination && e2.configure.pageination.enable ? (u(), f(R, { key: 0, configure: e2.configure, "table-data": ne.value, total: ye.value, onPageChange: Ie, onPageSizeChange: Re }, null, 8, ["configure", "table-data", "total"])) : m("", true)], 6);
|
|
254
|
+
return u(), a("div", { style: l(s(Y)), class: p([s(Z), "amb-widget-chart amb-widget-flex amb-chart-table"]), ref: "thisRef" }, [c(g(b, { ref_key: "headerRef", ref: re, headerInfo: s(oe), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[d, s(oe).showHeader || e2.pageContext.showHomepageSearch]]), g(t2, { ref_key: "gridRef", ref: he, data: ne.value, style: { width: "100%" }, "max-height": s(be), "header-cell-style": je, "row-style": $e, "cell-style": Fe, "show-summary": le.value, stripe: e2.configure.props.base.stripe, "summary-method": ke, "span-method": Ne }, { default: h(() => [te.value ? (u(true), a(v, { key: 0 }, y(ue.value, (o3, r3) => (u(), a(v, { key: r3 }, [o3.isLeaf ? (u(), f(I, { key: 1, configure: e2.configure, pageContext: e2.pageContext, column: pe.value[o3.columnUuid] }, null, 8, ["configure", "pageContext", "column"])) : (u(), f(N, { key: 0, configure: e2.configure, pageContext: e2.pageContext, groupColumn: o3, columnsConfigKeyValues: pe.value }, null, 8, ["configure", "pageContext", "groupColumn", "columnsConfigKeyValues"]))], 64))), 128)) : (u(true), a(v, { key: 1 }, y(ve.value, (o3, r3) => (u(), f(I, { key: r3, column: o3, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["column", "configure", "pageContext"]))), 128))]), _: 1 }, 8, ["data", "max-height", "show-summary", "stripe"]), e2.configure.pageination && e2.configure.pageination.enable ? (u(), f(R, { key: 0, configure: e2.configure, "table-data": ne.value, total: ye.value, onPageChange: Ie, onPageSizeChange: Re }, null, 8, ["configure", "table-data", "total"])) : m("", true)], 6);
|
|
255
255
|
};
|
|
256
256
|
} });
|
|
257
257
|
export {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as e, ref as t, onMounted as n, watch as o, onUnmounted as i, resolveComponent as a, createElementBlock as l, openBlock as r, unref as u, createVNode as s } from "vue";
|
|
2
|
-
import { setTableEvents as c, canExecuteButton as p, doAfterClickEvent as d, doBeforeClickEvent as f, gridSelectRecord as g, gridSelectAllRecords as m, gridSelectionChange as v, cellClick as h, cellDblClick as b, rowClick as
|
|
2
|
+
import { setTableEvents as c, canExecuteButton as p, doAfterClickEvent as d, doBeforeClickEvent as f, gridSelectRecord as g, gridSelectAllRecords as m, gridSelectionChange as v, cellClick as h, cellDblClick as b, rowClick as w, rowDblClick as S, headerClick as C, getEventNameByType as y, getEventFuncByType as x, getHandleEvent as D } from "../../../../utils/events/event-util.js";
|
|
3
3
|
import { getBaseUrl as E, getListCode as T, getRealRestApiPath as O, isWorkflowPage as R, isVariableInvalidValue as k } from "../../../../utils/common-util.js";
|
|
4
4
|
import { getAdditionalParamMap as I, getSaveFormRequestWithRow as V, standardEvents as j } from "../../../../utils/events/standard-event.js";
|
|
5
|
-
import { isMobileBrowser as N, isPromise as
|
|
6
|
-
import { getOperationButtons as
|
|
5
|
+
import { isMobileBrowser as N, isPromise as P } from "agilebuilder-ui/src/utils/common-util";
|
|
6
|
+
import { getOperationButtons as B, popupToPage as F } from "../../../../utils/table-utils.js";
|
|
7
7
|
import H from "../../../../utils/eventBus.js";
|
|
8
8
|
import { getDefaultValue as U } from "../../../../utils/page-init-util.js";
|
|
9
|
-
import { getSizeConfig as M, caculateShowCondition as
|
|
10
|
-
import { getComponentRefByCode as
|
|
11
|
-
import { getRowStyleUtil as
|
|
9
|
+
import { getSizeConfig as M, caculateShowCondition as $, decomposeVariable as _ } from "../../../../utils/page-helper-util.js";
|
|
10
|
+
import { getComponentRefByCode as A } from "../../../../utils/global-refs.js";
|
|
11
|
+
import { getRowStyleUtil as L, getCellStyleUtil as G, getHeaderCellStyleUtil as z } from "../../chart/table/chart-table-util.js";
|
|
12
12
|
const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(e2, { expose: q2, emit: Q }) {
|
|
13
13
|
const Y = e2, J = Y.pageContext;
|
|
14
14
|
let K = Y.configure;
|
|
@@ -19,18 +19,18 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
19
19
|
ie || (ie = window.$vueApp.config.globalProperties.baseURL);
|
|
20
20
|
const ae = t({}), le = [], re = t({});
|
|
21
21
|
re.value = function() {
|
|
22
|
-
var _a;
|
|
22
|
+
var _a, _b, _c;
|
|
23
23
|
const e3 = J.systemCode, t2 = J.code;
|
|
24
24
|
let n2 = K.props && K.props.dataOrigin && "[]" !== K.props.dataOrigin.sqlFilterCondition ? K.props.dataOrigin.sqlFilterCondition : null;
|
|
25
25
|
null == n2 && (n2 = []);
|
|
26
|
-
const o2 = (_a = K.props) == null ? void 0 : _a.dataOrigin.principalLinkage, i2 = { isSql: true, optionTableHeight: 0, rowKeyProp: o2, extraParam: { beanName: J.beanName, functionCode: t2 + ".listData", tableName: oe, systemCode: e3, pageCode: J.code, pageVersion: J.version, isMobile: N() }, initSearchForm: n2, lineEditOptions: { aftersaveIsCreateRow: false, autoSave: false, enter: Ce, esc: Te }, indexContinuous: !(!K.props || !K.props.otherSettings) && K.props.otherSettings.serialNumberContinuous, initSearch: !K.props || false !== K.props.dataOrigin.initializationQuery, resizeHeight: Ne, pageCode: J.code, pageVersion: J.version, additionalParamMap: I(J), showOverflowTooltip:
|
|
26
|
+
const o2 = (_a = K.props) == null ? void 0 : _a.dataOrigin.principalLinkage, i2 = { isSql: true, optionTableHeight: 0, rowKeyProp: o2, extraParam: { beanName: J.beanName, functionCode: t2 + ".listData", tableName: oe, systemCode: e3, pageCode: J.code, pageVersion: J.version, isMobile: N() }, initSearchForm: n2, lineEditOptions: { aftersaveIsCreateRow: false, autoSave: false, enter: Ce, esc: Te }, indexContinuous: !(!K.props || !K.props.otherSettings) && K.props.otherSettings.serialNumberContinuous, initSearch: !K.props || false !== K.props.dataOrigin.initializationQuery, resizeHeight: Ne, pageCode: J.code, pageVersion: J.version, additionalParamMap: I(J), showOverflowTooltip: (_c = (_b = K == null ? void 0 : K.props) == null ? void 0 : _b.otherSettings) == null ? void 0 : _c.showOverflowTooltip, isEnableEnterEvent: K.props && K.props.otherSettings && K.props.otherSettings.isEnableEnterEvent, isWithDataPermission: !!(K.props && K.props.otherSettings && K.props.otherSettings.isWithDataPermission) && K.props.otherSettings.isWithDataPermission, pageDevMode: false, isWorkflowEntity: R(J), tableClass: ee, tableStyle: Z, pageContext: J, configureObj: K, backendUrl: ie, cellStyleRender: Qe, rowStyleRender: qe, titleStyleRender: Ye, validateEitConditions: Ze };
|
|
27
27
|
return function(e4) {
|
|
28
28
|
var _a2;
|
|
29
29
|
((_a2 = K.props.highOrder) == null ? void 0 : _a2.mergeFields) && K.props.highOrder.mergeFields.length > 0 && (e4.mergeFields = K.props.highOrder.mergeFields.join(","));
|
|
30
30
|
}(i2), function(e4) {
|
|
31
31
|
const t3 = [];
|
|
32
32
|
e4.operations || (e4.operations = {});
|
|
33
|
-
|
|
33
|
+
B(J, K, t3, xe), e4.operations.operation = t3;
|
|
34
34
|
}(i2), function(e4) {
|
|
35
35
|
K.props && K.props.dataOrigin && K.props.dataOrigin.sortField && (e4.initSortInfo = [], K.props.dataOrigin.sortField.forEach((t3) => {
|
|
36
36
|
const n3 = { order: "desc" === t3.type ? "desc" : "asc" };
|
|
@@ -59,16 +59,16 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
59
59
|
let e3 = ie + "/dsc/commons/list";
|
|
60
60
|
e3 && (e3 = O(e3, te, ne, J.isTest));
|
|
61
61
|
return e3;
|
|
62
|
-
}(), pe = T(J.code, J.version, K.uuid), de = J.code + "_" + pe, fe = t([]), ge = J.entity.page, me = t({ data: [] }), ve = J.superGridItems, he = ve ? ve[K.uuid] : null, be = t(false),
|
|
63
|
-
function
|
|
62
|
+
}(), pe = T(J.code, J.version, K.uuid), de = J.code + "_" + pe, fe = t([]), ge = J.entity.page, me = t({ data: [] }), ve = J.superGridItems, he = ve ? ve[K.uuid] : null, be = t(false), we = Q;
|
|
63
|
+
function Se() {
|
|
64
64
|
K.props.linkages && K.props.linkages.length > 0 && (K.props.linkages.forEach((e3) => {
|
|
65
|
-
const t2 =
|
|
65
|
+
const t2 = _(e3.fieldName);
|
|
66
66
|
t2 && t2.length > 1 && le.push(t2[1]);
|
|
67
67
|
}), le.length > 0 && function() {
|
|
68
68
|
let e3 = [];
|
|
69
69
|
Y.pageContext.toolsInputComponents && Y.pageContext.toolsInputComponents.length > 0 && Y.pageContext.toolsInputComponents.forEach((t2) => {
|
|
70
70
|
if (K.props.linkages.some((e4) => e4.fieldName === t2.prop) && t2.defaultValue) {
|
|
71
|
-
const n2 =
|
|
71
|
+
const n2 = _(t2.prop);
|
|
72
72
|
n2 && n2.length > 1 && e3.push(n2[1]);
|
|
73
73
|
}
|
|
74
74
|
});
|
|
@@ -105,7 +105,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
105
105
|
if (ae.value[n2] = e3, "lineEditSave" === n2 ? t2 = ye : "restoreEdit" === n2 ? t2 = Oe : "lineEditUpdate" === n2 ? t2 = Re : "lineEditDelete" === n2 && (t2 = Ie), !t2) {
|
|
106
106
|
t2 = x(J, e3.events, "click");
|
|
107
107
|
}
|
|
108
|
-
} else ae.value[e3.uuid] = e3, t2 =
|
|
108
|
+
} else ae.value[e3.uuid] = e3, t2 = Be;
|
|
109
109
|
return { onClick: t2, eventName: n2 };
|
|
110
110
|
}
|
|
111
111
|
function De({ row: e3, columns: t2, additionalParamMap: n2 }) {
|
|
@@ -132,7 +132,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
132
132
|
a2.props.base.tableUuid = l2.uuid;
|
|
133
133
|
const r2 = f(J, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
|
|
134
134
|
if (!r2) return;
|
|
135
|
-
|
|
135
|
+
P(r2) ? r2.then((e4) => {
|
|
136
136
|
e4 && se.value.restoreRow(i2, pe);
|
|
137
137
|
}) : se.value.restoreRow(i2, pe);
|
|
138
138
|
d(J, K, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
|
|
@@ -141,7 +141,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
141
141
|
const a2 = ae.value.lineEditUpdate, l2 = K;
|
|
142
142
|
a2.props.base.tableUuid = l2.uuid;
|
|
143
143
|
const r2 = f(J, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
|
|
144
|
-
r2 && (
|
|
144
|
+
r2 && (P(r2) ? r2.then((l3) => {
|
|
145
145
|
l3 && ke(e3, t2, n2, o2, i2, a2);
|
|
146
146
|
}) : ke(e3, t2, n2, o2, i2, a2));
|
|
147
147
|
}
|
|
@@ -159,7 +159,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
159
159
|
const a2 = ae.value.lineEditDelete, l2 = K;
|
|
160
160
|
a2.props.base.tableUuid = l2.uuid;
|
|
161
161
|
const r2 = f(J, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
|
|
162
|
-
r2 && (
|
|
162
|
+
r2 && (P(r2) ? r2.then((l3) => {
|
|
163
163
|
l3 && Ve(e3, t2, n2, o2, i2, a2);
|
|
164
164
|
}) : Ve(e3, t2, n2, o2, i2, a2));
|
|
165
165
|
}
|
|
@@ -200,13 +200,13 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
200
200
|
se.value.toolbarRefresh(null, null, n2);
|
|
201
201
|
}
|
|
202
202
|
function Ne(e3) {
|
|
203
|
-
const t2 =
|
|
203
|
+
const t2 = Pe();
|
|
204
204
|
if (t2) {
|
|
205
205
|
let n2 = 0;
|
|
206
206
|
return e3.searchHeight && (n2 = e3.searchHeight), t2 - 10 - n2;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function Pe() {
|
|
210
210
|
if (!se.value) return;
|
|
211
211
|
const e3 = M(Y.pageContext, Y.configure);
|
|
212
212
|
if (e3) {
|
|
@@ -219,7 +219,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
219
219
|
if (e3.fixHeight && se.value && (se.value.tableHeight = e3.fixHeight), e3.maxHeight) return e3.maxHeight;
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function Be(e3, t2, n2, o2, i2, a2) {
|
|
223
223
|
const l2 = { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2, button: a2, id: n2.ID ? n2.ID : n2.id }, r2 = ae.value[a2.sourceButton.uuid], u2 = K;
|
|
224
224
|
r2.props.base.tableUuid = u2.uuid, D(null, J, r2, "click", l2);
|
|
225
225
|
}
|
|
@@ -237,18 +237,18 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
237
237
|
function Me(e3) {
|
|
238
238
|
v(J, K, { newSelection: e3 });
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function $e(e3, t2, n2, o2) {
|
|
241
241
|
h(J, K, { row: e3, column: t2, cell: n2, event: o2 });
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function _e(e3, t2, n2, o2) {
|
|
244
244
|
b(J, K, { row: e3, column: t2, cell: n2, event: o2 });
|
|
245
245
|
}
|
|
246
|
-
function _e(e3, t2, n2) {
|
|
247
|
-
S(J, K, { row: e3, column: t2, event: n2 });
|
|
248
|
-
}
|
|
249
246
|
function Ae(e3, t2, n2) {
|
|
250
247
|
w(J, K, { row: e3, column: t2, event: n2 });
|
|
251
248
|
}
|
|
249
|
+
function Le(e3, t2, n2) {
|
|
250
|
+
S(J, K, { row: e3, column: t2, event: n2 });
|
|
251
|
+
}
|
|
252
252
|
function Ge(e3, t2) {
|
|
253
253
|
C(J, K, { column: e3, event: t2 });
|
|
254
254
|
}
|
|
@@ -259,7 +259,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
259
259
|
be.value = true;
|
|
260
260
|
}
|
|
261
261
|
function qe(e3) {
|
|
262
|
-
return
|
|
262
|
+
return L(e3, [], Y);
|
|
263
263
|
}
|
|
264
264
|
function Qe(e3) {
|
|
265
265
|
return G(e3, e3.cellStyle, Y);
|
|
@@ -291,7 +291,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
291
291
|
se.value.pickFileDone(e4);
|
|
292
292
|
}), H.$on(pe + "-scanDone", (e4) => {
|
|
293
293
|
se.value.scanDone(e4);
|
|
294
|
-
}), re.value.formSetMaxHeight =
|
|
294
|
+
}), re.value.formSetMaxHeight = Pe(), re.value && re.value.configureObj.props.base && re.value.configureObj.props.base.isSafeDelete && we("setSafeDeleteTableCode", re.value.extraParam.tableName);
|
|
295
295
|
}), o(() => Y.pageContext.searchFormData, (e3) => {
|
|
296
296
|
me.value.data = e3;
|
|
297
297
|
}), o(() => Y.pageContext.entity.data, (e3) => {
|
|
@@ -308,10 +308,10 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
308
308
|
};
|
|
309
309
|
function Ze({ row: e3, editConditions: t2 }) {
|
|
310
310
|
let n2 = true;
|
|
311
|
-
return t2 && t2.length > 0 && (n2 =
|
|
311
|
+
return t2 && t2.length > 0 && (n2 = $(Y.pageContext, t2, e3)), n2;
|
|
312
312
|
}
|
|
313
313
|
function et(e3, t2) {
|
|
314
|
-
const n2 =
|
|
314
|
+
const n2 = A(Y.pageContext, t2);
|
|
315
315
|
if (n2) {
|
|
316
316
|
const t3 = n2.getConfigure();
|
|
317
317
|
if ("datePicker" === t3.name) {
|
|
@@ -373,7 +373,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
373
373
|
return (_a = se.value) == null ? void 0 : _a.getColumns();
|
|
374
374
|
} }), (e3, t2) => {
|
|
375
375
|
const n2 = a("super-grid");
|
|
376
|
-
return r(), l("div", { ref_key: "tableDivRef", ref: ue, id: u(pe) + "_tableDiv" }, [s(n2, { ref_key: "gridRef", ref: se, url: u(ce), options: re.value, code: u(pe), settings: u(he), "search-form-info": me.value, "list-toolbar-form-data": u(ge), isDialog: u(J).isDialog, onSelect: He, onSelectAll: Ue, onSelectionChange: Me, onCellClick:
|
|
376
|
+
return r(), l("div", { ref_key: "tableDivRef", ref: ue, id: u(pe) + "_tableDiv" }, [s(n2, { ref_key: "gridRef", ref: se, url: u(ce), options: re.value, code: u(pe), settings: u(he), "search-form-info": me.value, "list-toolbar-form-data": u(ge), isDialog: u(J).isDialog, onSelect: He, onSelectAll: Ue, onSelectionChange: Me, onCellClick: $e, onCellDblclick: _e, onRowClick: Ae, onRowDblclick: Le, onHeaderClick: Ge, onRefresh: ze, onNewOpenGridDialog: u(F), onCanShowMobileSearch: We, onGridOnmounted: Se }, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "isDialog", "onNewOpenGridDialog"])], 8, W);
|
|
377
377
|
};
|
|
378
378
|
} });
|
|
379
379
|
export {
|
|
@@ -4,26 +4,26 @@ import { caculateShowCondition as w, setVariableValue as T, getVariableValue as
|
|
|
4
4
|
import { getModelFields as D, getDefaultValue as y } from "../../../../utils/page-init-util.js";
|
|
5
5
|
import P from "../../../../utils/eventBus.js";
|
|
6
6
|
import { popupToPage as R, getOperationButtons as I } from "../../../../utils/table-utils.js";
|
|
7
|
-
import { getListCode as O, getBaseUrl as
|
|
8
|
-
import { getAdditionalParamMap as
|
|
7
|
+
import { getListCode as O, getBaseUrl as _ } from "../../../../utils/common-util.js";
|
|
8
|
+
import { getAdditionalParamMap as k } from "../../../../utils/events/standard-event.js";
|
|
9
9
|
import { getRowStyleUtil as A, getCellStyleUtil as M, getHeaderCellStyleUtil as E } from "../../chart/table/chart-table-util.js";
|
|
10
10
|
const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(e2, { expose: F2, emit: $ }) {
|
|
11
11
|
var _a;
|
|
12
12
|
const j = e2, z = j.pageContext;
|
|
13
|
-
let
|
|
14
|
-
const
|
|
15
|
-
z.isTest ?
|
|
16
|
-
const
|
|
17
|
-
let Y = D(j.configure,
|
|
13
|
+
let N = j.configure;
|
|
14
|
+
const V = j.configure.runtime ? j.configure.runtime : {};
|
|
15
|
+
z.isTest ? V.value = j.configure.runtime ? j.configure.runtime : {} : z.tableRuntimes && z.tableRuntimes[N.uuid] && (N = JSON.parse(z.tableRuntimes[N.uuid].configure), V.value = N.runtime ? N.runtime : {});
|
|
16
|
+
const G = O(z.code, z.version, N.uuid), H = z.entity.data, L = N.code ? N.code : G, U = k(z), B = V && V.events ? V.events : [], q = t([]), J = z.superGridItems, K = J ? J[N.uuid] : null, Q = V.style, W = V.class, X = j.pageContext.entity ? j.pageContext.entity : {};
|
|
17
|
+
let Y = D(j.configure, L), Z = _(z.backendUrl, z.isTest);
|
|
18
18
|
Z || (Z = window.$vueApp.config.globalProperties.baseURL);
|
|
19
19
|
const ee = t(false);
|
|
20
20
|
let te = t(0);
|
|
21
|
-
const ne = (_a =
|
|
21
|
+
const ne = (_a = N.props) == null ? void 0 : _a.dataOrigin.principalLinkage, oe = t({}), le = $;
|
|
22
22
|
oe.value = function() {
|
|
23
|
-
var _a2, _b;
|
|
24
|
-
const e3 = { title: (
|
|
25
|
-
return Q && (e3.tableStyle = Q), W && (e3.tableClass = W),
|
|
26
|
-
const t2 =
|
|
23
|
+
var _a2, _b, _c, _d;
|
|
24
|
+
const e3 = { title: (N == null ? void 0 : N.title) || null, isSql: true, subTableData: null, rowKeyProp: ne, extraParam: {}, operations: {}, hiddenColumns: [], pageCode: z.code, pageVersion: z.version, pageContext: z, configureObj: N, showPageArea: false, showRowForm: false, showOverflowTooltip: (_b = (_a2 = N == null ? void 0 : N.props) == null ? void 0 : _a2.otherSettings) == null ? void 0 : _b.showOverflowTooltip, backendUrl: Z, cellStyleRender: He, rowStyleRender: Ge, titleStyleRender: Le, allEditable: (_d = (_c = N.props) == null ? void 0 : _c.base) == null ? void 0 : _d.allEditable };
|
|
25
|
+
return Q && (e3.tableStyle = Q), W && (e3.tableClass = W), N.props && N.props.base && true === N.props.base.subPaging ? e3.showPageArea = true : e3.showPageArea = false, N.props.base.showRowForm && (e3.showRowForm = N.props.base.showRowForm), function(e4) {
|
|
26
|
+
const t2 = N.props ? N.props.dataOrigin : {};
|
|
27
27
|
if (t2.treeTable) {
|
|
28
28
|
let n2;
|
|
29
29
|
const o2 = t2.rowKey;
|
|
@@ -38,23 +38,23 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
38
38
|
}();
|
|
39
39
|
const ie = t(null);
|
|
40
40
|
function ae() {
|
|
41
|
-
ie.value && (oe.value.subTableData = null, ie.value.reloadSubTableData(
|
|
41
|
+
ie.value && (oe.value.subTableData = null, ie.value.reloadSubTableData(G));
|
|
42
42
|
}
|
|
43
43
|
function ue(e3, t2) {
|
|
44
|
-
if (t2 || (t2 = oe.value), void 0 === e3 && (e3 = re()), t2.isPageInfo = false, t2.isFormSubTable = true, t2.canRrefreshSubtableData = e3, t2.getFormData = se, t2.getGridData = ce, t2.extraParam.subTableListViewCode =
|
|
44
|
+
if (t2 || (t2 = oe.value), void 0 === e3 && (e3 = re()), t2.isPageInfo = false, t2.isFormSubTable = true, t2.canRrefreshSubtableData = e3, t2.getFormData = se, t2.getGridData = ce, t2.extraParam.subTableListViewCode = G, t2.extraParam.beanName = z.beanName, t2.extraParam.subtableSetting = N.props && N.props.otherSettings ? JSON.stringify(N.props.otherSettings) : null, t2.extraParam.additionalParamMap = U, t2.extraParam.entityMap = z.entity.data, t2.extraParam.contextMap = z.entity.context, t2.extraParam.taskMap = z.entity.task, !(N.props && N.props.base && N.props.base.showOperation)) {
|
|
45
45
|
let e4 = t2.hiddenColumns;
|
|
46
46
|
e4 ? e4.push("operation") : e4 = ["operation"], t2.hiddenColumns = e4;
|
|
47
47
|
}
|
|
48
|
-
t2.showOperationButton = !(!
|
|
49
|
-
let n2 = C(z,
|
|
50
|
-
n2 && n2.fixHeight && (t2.formSetHeight = n2.fixHeight), n2 && n2.maxHeight && (t2.formSetMaxHeight = n2.maxHeight), t2.validateEitConditions =
|
|
48
|
+
t2.showOperationButton = !(!N.props || !N.props.base) && N.props.base.showOperation, t2.isPdfEditor = false, t2.tableRecordMaxNum = N.props && N.props.otherSettings ? N.props.otherSettings.tableRecordMaxNum : null;
|
|
49
|
+
let n2 = C(z, N);
|
|
50
|
+
n2 && n2.fixHeight && (t2.formSetHeight = n2.fixHeight), n2 && n2.maxHeight && (t2.formSetMaxHeight = n2.maxHeight), t2.validateEitConditions = Ue;
|
|
51
51
|
}
|
|
52
52
|
function re() {
|
|
53
|
-
if (
|
|
54
|
-
if (
|
|
53
|
+
if (N.props && N.props.otherSettings) {
|
|
54
|
+
if (N.props.otherSettings.sourceQueryTableData && N.props.otherSettings.timeToInitializeSubTable && N.props.otherSettings.timeToInitializeSubTable.length > 0) {
|
|
55
55
|
let e3 = false;
|
|
56
|
-
if (-1 !==
|
|
57
|
-
const t2 =
|
|
56
|
+
if (-1 !== N.props.otherSettings.timeToInitializeSubTable.indexOf("create") && (e3 = !H.id && !H.ID), -1 !== N.props.otherSettings.timeToInitializeSubTable.indexOf("noData")) {
|
|
57
|
+
const t2 = H[L];
|
|
58
58
|
(!t2 || t2.length <= 0) && (e3 = true);
|
|
59
59
|
}
|
|
60
60
|
return e3;
|
|
@@ -79,7 +79,7 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
79
79
|
e4 || (e4 = oe.value);
|
|
80
80
|
const t3 = z.fieldPermissionMap, n2 = z.actionPermissionMap;
|
|
81
81
|
if (t3 && null != t3) {
|
|
82
|
-
let n3 = t3.get(
|
|
82
|
+
let n3 = t3.get(L);
|
|
83
83
|
if (!n3) {
|
|
84
84
|
const e5 = t3.get("all_fields");
|
|
85
85
|
e5 && (n3 = [e5]);
|
|
@@ -87,12 +87,12 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
87
87
|
e4.validateRules = n3 || null;
|
|
88
88
|
}
|
|
89
89
|
if (n2 && null != n2) {
|
|
90
|
-
let t4 = n2.get(
|
|
90
|
+
let t4 = n2.get(L);
|
|
91
91
|
t4 || (t4 = n2.get("all_sub_tables")), e4.actionPermission = t4;
|
|
92
92
|
}
|
|
93
93
|
e4.operations || (e4.operations = {});
|
|
94
94
|
const o2 = function() {
|
|
95
|
-
let e5 = [], t4 = w(j.pageContext,
|
|
95
|
+
let e5 = [], t4 = w(j.pageContext, N.props.base.showOperationCondition);
|
|
96
96
|
if (t4 && Se(null, null, null, null, null, true, "canAdd")) {
|
|
97
97
|
const t5 = { props: { elementType: "el-button", icon: "Plus", type: "primary", circle: true, size: "mini", permission: "true" }, onClick: Ce, isShow: we };
|
|
98
98
|
e5.push(t5);
|
|
@@ -101,18 +101,18 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
101
101
|
const t5 = { props: { elementType: "el-button", icon: "Minus", type: "danger", circle: true, size: "mini", permission: "true" }, onClick: De, isShow: xe };
|
|
102
102
|
e5.push(t5);
|
|
103
103
|
}
|
|
104
|
-
return I(z,
|
|
104
|
+
return I(z, N, e5, ve), e5;
|
|
105
105
|
}();
|
|
106
106
|
e4.operations.operation = o2, e4.subTableCanAdd = Se(null, null, null, null, null, true, "canAdd"), e4.subTableCanDelete = Se(null, null, null, null, null, true, "canDelete");
|
|
107
|
-
}(e3), c(e3,
|
|
107
|
+
}(e3), c(e3, B, z, N);
|
|
108
108
|
const t2 = z.customEvents;
|
|
109
109
|
t2 && (e3.eventCallBack = t2), ee.value = true, ge();
|
|
110
110
|
}
|
|
111
111
|
function ge() {
|
|
112
|
-
z.tableUuids || (z.tableUuids = []), z.tableUuids.indexOf(
|
|
112
|
+
z.tableUuids || (z.tableUuids = []), z.tableUuids.indexOf(N.uuid) < 0 && z.tableUuids.push(N.uuid);
|
|
113
113
|
}
|
|
114
114
|
n(() => {
|
|
115
|
-
const e3 =
|
|
115
|
+
const e3 = N.uuid, t2 = z.subTableWatchProps;
|
|
116
116
|
P.$on("_refreshSubTable_" + e3, (n2) => {
|
|
117
117
|
const o2 = n2.propName;
|
|
118
118
|
if (t2 && t2[e3] && t2[e3].length > 0) {
|
|
@@ -122,19 +122,19 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
122
122
|
ae();
|
|
123
123
|
}), P.$on("_refreshChildData_" + e3, (e4) => {
|
|
124
124
|
!function(e5) {
|
|
125
|
-
|
|
126
|
-
ie.value && (ie.value.refreshChildData(
|
|
125
|
+
Ve(e5), de = setTimeout(() => {
|
|
126
|
+
ie.value && (ie.value.refreshChildData(G, e5, N.props && N.props.base && true === N.props.base.subPaging), oe.value.extraParam.entityMap = z.entity.data);
|
|
127
127
|
}, 10);
|
|
128
128
|
}(e4);
|
|
129
|
-
}), P.$on(
|
|
129
|
+
}), P.$on(G + "-pickFileDone", (e4) => {
|
|
130
130
|
ie.value.pickFileDone(e4);
|
|
131
|
-
}), P.$on(
|
|
131
|
+
}), P.$on(G + "-scanDone", (e4) => {
|
|
132
132
|
ie.value.scanDone(e4);
|
|
133
133
|
}), oe.value && oe.value.configureObj.props.base && oe.value.configureObj.props.base.isSafeDelete && le("setSafeDeleteTableCode", oe.value.extraParam.tableName);
|
|
134
134
|
}), o(() => {
|
|
135
135
|
pe && clearTimeout(pe), de && clearTimeout(de);
|
|
136
|
-
const e3 =
|
|
137
|
-
P.$off("_refreshSubTable_" + e3), P.$off("_refreshSubTableHandle_" + e3), P.$off("_refreshChildData_" + e3), P.$off(
|
|
136
|
+
const e3 = N.uuid;
|
|
137
|
+
P.$off("_refreshSubTable_" + e3), P.$off("_refreshSubTableHandle_" + e3), P.$off("_refreshChildData_" + e3), P.$off(G + "-pickFileDone"), P.$off(G + "-scanDone");
|
|
138
138
|
});
|
|
139
139
|
const me = t({});
|
|
140
140
|
function ve(e3) {
|
|
@@ -142,27 +142,27 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
142
142
|
return me.value[e3.uuid] = e3, he;
|
|
143
143
|
}
|
|
144
144
|
function he(e3, t2, n2, o2, l2, i2) {
|
|
145
|
-
const a2 = { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2, button: i2, id: n2.ID ? n2.ID : n2.id }, u2 = me.value[i2.sourceButton.uuid], r2 =
|
|
145
|
+
const a2 = { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2, button: i2, id: n2.ID ? n2.ID : n2.id }, u2 = me.value[i2.sourceButton.uuid], r2 = N;
|
|
146
146
|
u2.props.base.tableUuid = r2.uuid, S(null, z, u2, "click", a2);
|
|
147
147
|
}
|
|
148
148
|
function Se(e3, t2, n2, o2, l2, i2, a2) {
|
|
149
149
|
a2 || (a2 = "canAdd");
|
|
150
|
-
if (!w(j.pageContext,
|
|
150
|
+
if (!w(j.pageContext, N.props.base.showOperationCondition)) return false;
|
|
151
151
|
const u2 = z.fieldPermissionMap, r2 = z.actionPermissionMap;
|
|
152
152
|
let s2 = true;
|
|
153
153
|
if (u2 && null !== u2) {
|
|
154
154
|
const e4 = u2.get("all_fields");
|
|
155
155
|
void 0 === e4 || false !== e4.canEdit || void 0 !== e4.rowIndexes && null !== e4.rowIndexes && 0 !== e4.rowIndexes.length || (s2 = false);
|
|
156
156
|
}
|
|
157
|
-
if (true === s2 &&
|
|
158
|
-
let e4 = r2.get(
|
|
157
|
+
if (true === s2 && L && r2 && null !== r2) {
|
|
158
|
+
let e4 = r2.get(L);
|
|
159
159
|
e4 || (e4 = r2.get("all_sub_tables")), e4 && void 0 !== e4[a2] && false === e4[a2] && (s2 = false);
|
|
160
160
|
}
|
|
161
161
|
return s2;
|
|
162
162
|
}
|
|
163
163
|
function we(e3, t2, n2, o2, l2, i2) {
|
|
164
164
|
let a2 = Se(0, 0, 0, 0, 0, 0, "canAdd");
|
|
165
|
-
return true === a2 && (a2 = w(j.pageContext,
|
|
165
|
+
return true === a2 && (a2 = w(j.pageContext, N.props.base.showAddBtnCondition, n2)), a2;
|
|
166
166
|
}
|
|
167
167
|
function Te(e3, t2, n2, o2, l2, i2) {
|
|
168
168
|
const a2 = z.fieldPermissionMap, u2 = z.actionPermissionMap;
|
|
@@ -171,8 +171,8 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
171
171
|
const e4 = a2.get("all_fields");
|
|
172
172
|
void 0 === e4 || false !== e4.canEdit || void 0 !== e4.rowIndexes && null !== e4.rowIndexes && 0 !== e4.rowIndexes.length || (r2 = false);
|
|
173
173
|
}
|
|
174
|
-
if (true === r2 &&
|
|
175
|
-
let e4 = u2.get(
|
|
174
|
+
if (true === r2 && L && u2 && null !== u2) {
|
|
175
|
+
let e4 = u2.get(L);
|
|
176
176
|
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 (i2) r2 = true;
|
|
177
177
|
else {
|
|
178
178
|
const t3 = function(e5) {
|
|
@@ -186,19 +186,19 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
186
186
|
}
|
|
187
187
|
function xe(e3, t2, n2, o2, l2, i2) {
|
|
188
188
|
let a2 = Te(0, 0, n2, 0, 0, i2);
|
|
189
|
-
return true === a2 && (a2 = w(j.pageContext,
|
|
189
|
+
return true === a2 && (a2 = w(j.pageContext, N.props.base.showDeleteBtnCondition, n2)), a2;
|
|
190
190
|
}
|
|
191
191
|
function Ce(e3, t2, n2, o2, l2) {
|
|
192
|
-
ie.value.createRow(
|
|
192
|
+
ie.value.createRow(G, {}, { getDefaultValueFunc: y }, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2 });
|
|
193
193
|
}
|
|
194
194
|
function De(e3, t2, n2, o2, l2) {
|
|
195
|
-
ie.value.deleteRow(l2,
|
|
195
|
+
ie.value.deleteRow(l2, G, false);
|
|
196
196
|
}
|
|
197
197
|
function ye(e3) {
|
|
198
198
|
T(X, Y, e3);
|
|
199
199
|
}
|
|
200
200
|
function Pe(e3) {
|
|
201
|
-
z.subTablePageInfo || (z.subTablePageInfo = {}), z.subTablePageInfo[
|
|
201
|
+
z.subTablePageInfo || (z.subTablePageInfo = {}), z.subTablePageInfo[L] || (z.subTablePageInfo[L] = {}), z.subTablePageInfo[L].pageSize = e3;
|
|
202
202
|
}
|
|
203
203
|
function Re(e3) {
|
|
204
204
|
const t2 = e3.key, n2 = e3.value;
|
|
@@ -212,62 +212,62 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
212
212
|
const t2 = z.entity.data;
|
|
213
213
|
if (e3) for (const n2 in e3) t2[n2] = e3[n2];
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function _e(e3, t2) {
|
|
216
216
|
if (void 0 !== t2) {
|
|
217
217
|
q.value = e3;
|
|
218
|
-
p(z,
|
|
218
|
+
p(z, N, { selection: e3, row: t2 });
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function ke(e3) {
|
|
222
222
|
q.value = e3;
|
|
223
|
-
d(z,
|
|
223
|
+
d(z, N, { selection: e3 });
|
|
224
224
|
}
|
|
225
225
|
function Ae(e3) {
|
|
226
|
-
f(z,
|
|
226
|
+
f(z, N, { newSelection: e3 });
|
|
227
227
|
}
|
|
228
228
|
function Me(e3, t2, n2, o2) {
|
|
229
|
-
b(z,
|
|
229
|
+
b(z, N, { row: e3, column: t2, cell: n2, event: o2 });
|
|
230
230
|
}
|
|
231
231
|
function Ee(e3, t2, n2, o2) {
|
|
232
|
-
g(z,
|
|
232
|
+
g(z, N, { row: e3, column: t2, cell: n2, event: o2 });
|
|
233
233
|
}
|
|
234
234
|
function Fe(e3, t2, n2) {
|
|
235
|
-
m(z,
|
|
235
|
+
m(z, N, { row: e3, column: t2, event: n2 });
|
|
236
236
|
}
|
|
237
237
|
function $e(e3, t2, n2) {
|
|
238
|
-
v(z,
|
|
238
|
+
v(z, N, { row: e3, column: t2, event: n2 });
|
|
239
239
|
}
|
|
240
240
|
function je(e3, t2) {
|
|
241
|
-
h(z,
|
|
241
|
+
h(z, N, { column: e3, event: t2 });
|
|
242
242
|
}
|
|
243
243
|
function ze(e3) {
|
|
244
244
|
z.entity.data = e3;
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function Ne() {
|
|
247
247
|
return x(X, Y);
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function Ve(e3) {
|
|
250
250
|
return T(X, Y, e3);
|
|
251
251
|
}
|
|
252
|
-
function
|
|
252
|
+
function Ge(e3) {
|
|
253
253
|
return A(e3, null, j);
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function He(e3) {
|
|
256
256
|
return M(e3, e3.cellStyle, j);
|
|
257
257
|
}
|
|
258
|
-
function
|
|
258
|
+
function Le(e3) {
|
|
259
259
|
const t2 = e3.titleStyle, n2 = j.configure.style.titleStyle;
|
|
260
260
|
return E(e3, { cellTitleStyle: t2, titleStyle: n2 }, j);
|
|
261
261
|
}
|
|
262
|
-
function
|
|
262
|
+
function Ue({ row: e3, editConditions: t2 }) {
|
|
263
263
|
let n2 = true;
|
|
264
264
|
return t2 && t2.length > 0 && (n2 = w(j.pageContext, t2, e3)), n2;
|
|
265
265
|
}
|
|
266
266
|
return function(e3) {
|
|
267
267
|
const t2 = re();
|
|
268
|
-
t2 ? fe(t2, e3) : (ue(t2, e3), e3.isPageInfo = false, e3.subTableData =
|
|
268
|
+
t2 ? fe(t2, e3) : (ue(t2, e3), e3.isPageInfo = false, e3.subTableData = Ne(), be(e3));
|
|
269
269
|
}(oe.value), F2({ createRow: function() {
|
|
270
|
-
return ie.value.createRow(
|
|
270
|
+
return ie.value.createRow(G);
|
|
271
271
|
}, getSelections: function() {
|
|
272
272
|
return q.value;
|
|
273
273
|
}, getSelectionIds: function() {
|
|
@@ -278,11 +278,11 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
278
278
|
}, clearSelections: function() {
|
|
279
279
|
q.value = [];
|
|
280
280
|
}, getTableConfigure: function() {
|
|
281
|
-
return
|
|
281
|
+
return N;
|
|
282
282
|
}, validatorSunTableListData: function() {
|
|
283
283
|
return ie.value.validatorSunTableListData();
|
|
284
|
-
}, getValue:
|
|
285
|
-
if (ie.value) return ie.value.getTableSelectOptions(
|
|
284
|
+
}, getValue: Ne, setValue: Ve, getTableSelectOptions: function() {
|
|
285
|
+
if (ie.value) return ie.value.getTableSelectOptions(G);
|
|
286
286
|
}, dynamicControlTableEdit: function(e3, t2, n2) {
|
|
287
287
|
ie.value && ie.value.dynamicControlTableEdit(e3, t2, n2);
|
|
288
288
|
}, doLayout: function(e3) {
|
|
@@ -310,13 +310,13 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
310
310
|
return (_a2 = ie.value) == null ? void 0 : _a2.getTableData();
|
|
311
311
|
}, addRequiredClass: function(e3, t2, n2) {
|
|
312
312
|
var _a2;
|
|
313
|
-
(_a2 = ie.value) == null ? void 0 : _a2.addRequiredClass(e3,
|
|
313
|
+
(_a2 = ie.value) == null ? void 0 : _a2.addRequiredClass(e3, G, t2, n2);
|
|
314
314
|
}, getColumns: function() {
|
|
315
315
|
var _a2;
|
|
316
316
|
return (_a2 = ie.value) == null ? void 0 : _a2.getColumns();
|
|
317
317
|
} }), (e3, t2) => {
|
|
318
318
|
const n2 = l("super-grid");
|
|
319
|
-
return a(), i("div", null, [ee.value ? (a(), u(n2, { key: 0, ref_key: "gridRef", ref: ie, url: s(Z) + "/dsc/commons/sub-table", options: oe.value, code: s(
|
|
319
|
+
return a(), i("div", null, [ee.value ? (a(), u(n2, { key: 0, ref_key: "gridRef", ref: ie, url: s(Z) + "/dsc/commons/sub-table", options: oe.value, code: s(G), settings: s(K), isDialog: s(z).isDialog, onSelect: _e, onSelectAll: ke, onSelectionChange: Ae, onCellClick: Me, onCellDblclick: Ee, onRowClick: Fe, onRowDblclick: $e, onHeaderClick: je, onFnProhibitToEdit: Ie, onChangeGridData: ye, onReloadGrid: fe, onRefresMainTableFields: Oe, onSetSelectOptions: Re, onChangeRowsPerPage: Pe, onNewOpenGridDialog: s(R), onChangeFormData: ze }, null, 8, ["url", "options", "code", "settings", "isDialog", "onNewOpenGridDialog"])) : r("", true)]);
|
|
320
320
|
};
|
|
321
321
|
} });
|
|
322
322
|
export {
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as l, nextTick as o, computed as n, watch as i, resolveComponent as
|
|
2
|
-
import { getFormModelFields as
|
|
3
|
-
import { handleAfterInitEvent as
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as l, nextTick as o, computed as n, watch as i, resolveComponent as a, createBlock as u, openBlock as p, normalizeStyle as r, normalizeClass as s, unref as d, withCtx as f, createVNode as c, createElementBlock as m, createCommentVNode as g, Fragment as v, createTextVNode as y, toDisplayString as x } from "vue";
|
|
2
|
+
import { getFormModelFields as h } from "../../../../utils/page-init-util.js";
|
|
3
|
+
import { handleAfterInitEvent as C, handleFormEvent as S } from "../../../../utils/events/event-util.js";
|
|
4
4
|
import F from "../common/title-suffix-element.vue.js";
|
|
5
5
|
import { $t as b } from "../../../../utils/i18n-util.js";
|
|
6
|
-
import { setVariableValue as k, getVariableValue as
|
|
7
|
-
import { addRequiredClassUtil as
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
let
|
|
13
|
-
const
|
|
14
|
-
|
|
6
|
+
import { setVariableValue as k, getVariableValue as w, getFormPropName as z, getValueFromVariable as R } from "../../../../utils/page-helper-util.js";
|
|
7
|
+
import { addRequiredClassUtil as j } from "../../../../utils/common-util.js";
|
|
8
|
+
const _ = e({ __name: "depttree-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: _2 }) {
|
|
9
|
+
const I = e2, T = t(null), q = t([]), W = I.pageContext.entity ? I.pageContext.entity : {};
|
|
10
|
+
W.data || (W.data = {});
|
|
11
|
+
const M = W.data, O = W.page;
|
|
12
|
+
let $ = h(I.pageContext, I.configure);
|
|
13
|
+
const D = $.length > 0 ? $[$.length - 1] : I.configure.uuid, E = I.configure.runtime ? I.configure.runtime : {}, V = t(E.props ? E.props : {}), A = E.style, B = E.class, G = E.headerStyle, H = E.titleExceedStyle;
|
|
14
|
+
E.props.deptScope && ("field" == E.props.deptScope && E.props.deptScopeField ? (Y(), function(e3, t2) {
|
|
15
15
|
if (0 === e3.indexOf("${fixed.")) return;
|
|
16
16
|
const l2 = e3.match(/\${(.*?)}/);
|
|
17
17
|
if (!l2) return;
|
|
18
18
|
const o2 = l2 ? l2[1].split(".") : [];
|
|
19
|
-
o2 && o2.length > 0 && i(() => o2.reduce((e4, t3) => e4[t3],
|
|
19
|
+
o2 && o2.length > 0 && i(() => o2.reduce((e4, t3) => e4[t3], I.pageContext.entity), (e4, l3) => {
|
|
20
20
|
t2(e4, l3);
|
|
21
21
|
});
|
|
22
|
-
}(
|
|
22
|
+
}(E.props.deptScopeField, (e3, t2) => {
|
|
23
23
|
Y();
|
|
24
|
-
})) : "depts" ==
|
|
24
|
+
})) : "depts" == E.props.deptScope && E.props.deptScopeCodes && (q.value = E.props.deptScopeCodes.split(",")));
|
|
25
25
|
const J = t(null), K = t(null), L = t(null);
|
|
26
26
|
l(() => {
|
|
27
27
|
o(() => {
|
|
28
|
-
const e3 =
|
|
29
|
-
|
|
28
|
+
const e3 = M ? M[D] : null;
|
|
29
|
+
C(e3, I.pageContext, I.configure, { formItemRef: J.value, componentRef: K.value, titleRef: L.value, value: e3, entity: I.pageContext.entity.data, pageData: I.pageContext.entity.page });
|
|
30
30
|
});
|
|
31
31
|
});
|
|
32
|
-
const N = n({ get: () =>
|
|
33
|
-
k(
|
|
34
|
-
} }), P =
|
|
32
|
+
const N = n({ get: () => w(W, $), set(e3) {
|
|
33
|
+
k(W, $, e3), null != e3 && (T.value = "");
|
|
34
|
+
} }), P = V.value.autoSetFields ? V.value.autoSetFields : [];
|
|
35
35
|
let Q = null;
|
|
36
36
|
function U(e3, t2) {
|
|
37
|
-
Q ? Q === e3 && (
|
|
37
|
+
Q ? Q === e3 && ($.length > 0 ? S(w(W, $), I.pageContext, I.configure, "change") : S(t2, I.pageContext, I.configure, "change")) : e3 === D && S(t2, I.pageContext, I.configure, "change");
|
|
38
38
|
}
|
|
39
39
|
function X() {
|
|
40
|
-
S(null,
|
|
40
|
+
S(null, I.pageContext, I.configure, "click");
|
|
41
41
|
}
|
|
42
42
|
function Y() {
|
|
43
|
-
const e3 =
|
|
44
|
-
|
|
43
|
+
const e3 = R(I.pageContext.entity, E.props.deptScopeField);
|
|
44
|
+
q.value = e3 ? e3.split(",") : [];
|
|
45
45
|
}
|
|
46
|
-
return P.length - 1 > 0 && P[P.length - 1] && P[P.length - 1].model && (Q =
|
|
47
|
-
|
|
46
|
+
return P.length - 1 > 0 && P[P.length - 1] && P[P.length - 1].model && (Q = z(P[P.length - 1].model)), _2({ addRequiredClass: function() {
|
|
47
|
+
T.value = j();
|
|
48
48
|
} }), (t2, l2) => {
|
|
49
|
-
const o2 =
|
|
50
|
-
return
|
|
49
|
+
const o2 = a("OrganizationInput"), n2 = a("el-form-item");
|
|
50
|
+
return p(), u(n2, { ref_key: "formItemRef", ref: J, required: V.value.required, class: s(d(B) + (T.value ? " " + T.value : "")), "label-width": V.value.labelWidth, style: r(d(A)) }, { label: f(() => [V.value.tittleShow ? (p(), m("div", { key: 0, ref_key: "titleRef", ref: L, style: r({ ...d(G), ...d(H) }) }, [V.value.prefixType ? (p(), u(F, { key: 0, pageContext: e2.pageContext, property: V.value }, null, 8, ["pageContext", "property"])) : (p(), m(v, { key: 1 }, [y(x(d(b)(V.value.title)), 1)], 64))], 4)) : g("", true)]), default: f(() => [c(o2, { ref_key: "componentRef", ref: K, disabled: "disabled" == V.value.state, multiple: V.value.multiple, treeType: V.value.treeType, value: N.value, models: d(M), departmentInfo: q.value, limitFilterColumn: V.value.limitFilterColumn, pageModels: d(O), fields: d(P), inputShowWay: V.value.inputShowWay, autosize: V.value.autosize, size: V.value.size, separator: V.value.separator, onSetValue: U, onShowTree: X }, null, 8, ["disabled", "multiple", "treeType", "value", "models", "departmentInfo", "limitFilterColumn", "pageModels", "fields", "inputShowWay", "autosize", "size", "separator"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
51
51
|
};
|
|
52
52
|
} });
|
|
53
53
|
export {
|
|
54
|
-
|
|
54
|
+
_ as default
|
|
55
55
|
};
|
package/dist/es/style.css
CHANGED
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
min-height: 60px;
|
|
101
101
|
resize: vertical;
|
|
102
102
|
}
|
|
103
|
-
.runtime-page-container[data-v-
|
|
103
|
+
.runtime-page-container[data-v-e96bdd44] {
|
|
104
104
|
overflow: hidden;
|
|
105
105
|
max-height: 100vh;
|
|
106
106
|
padding: var(--app-main-padding, 15px);
|
|
@@ -108,269 +108,269 @@
|
|
|
108
108
|
height: calc(100vh - var(--dec-page-main-padding, 15px) * 2);
|
|
109
109
|
}
|
|
110
110
|
@media (max-width: 768px) {
|
|
111
|
-
.runtime-page-container[data-v-
|
|
111
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-1 {
|
|
112
112
|
flex: 0 0 100%;
|
|
113
113
|
max-width: 100%;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
|
-
.runtime-page-container[data-v-
|
|
116
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-1 > .el-form-item:only-child {
|
|
117
117
|
margin-bottom: 0;
|
|
118
118
|
}
|
|
119
|
-
.runtime-page-container[data-v-
|
|
119
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-2 {
|
|
120
120
|
flex: 0 0 calc(2 / 24 * (100% - (24 / 2 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
121
121
|
max-width: calc(2 / 24 * (100% - (24 / 2 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
122
122
|
}
|
|
123
123
|
@media (max-width: 768px) {
|
|
124
|
-
.runtime-page-container[data-v-
|
|
124
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-2 {
|
|
125
125
|
flex: 0 0 100%;
|
|
126
126
|
max-width: 100%;
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
-
.runtime-page-container[data-v-
|
|
129
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-2 > .el-form-item:only-child {
|
|
130
130
|
margin-bottom: 0;
|
|
131
131
|
}
|
|
132
132
|
@media (max-width: 768px) {
|
|
133
|
-
.runtime-page-container[data-v-
|
|
133
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-3 {
|
|
134
134
|
flex: 0 0 100%;
|
|
135
135
|
max-width: 100%;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
.runtime-page-container[data-v-
|
|
138
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-3 > .el-form-item:only-child {
|
|
139
139
|
margin-bottom: 0;
|
|
140
140
|
}
|
|
141
|
-
.runtime-page-container[data-v-
|
|
141
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-4 {
|
|
142
142
|
flex: 0 0 calc(4 / 24 * (100% - (24 / 4 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
143
143
|
max-width: calc(4 / 24 * (100% - (24 / 4 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
144
144
|
}
|
|
145
145
|
@media (max-width: 768px) {
|
|
146
|
-
.runtime-page-container[data-v-
|
|
146
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-4 {
|
|
147
147
|
flex: 0 0 100%;
|
|
148
148
|
max-width: 100%;
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
|
-
.runtime-page-container[data-v-
|
|
151
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-4 > .el-form-item:only-child {
|
|
152
152
|
margin-bottom: 0;
|
|
153
153
|
}
|
|
154
154
|
@media (max-width: 768px) {
|
|
155
|
-
.runtime-page-container[data-v-
|
|
155
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-5 {
|
|
156
156
|
flex: 0 0 100%;
|
|
157
157
|
max-width: 100%;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
.runtime-page-container[data-v-
|
|
160
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-5 > .el-form-item:only-child {
|
|
161
161
|
margin-bottom: 0;
|
|
162
162
|
}
|
|
163
|
-
.runtime-page-container[data-v-
|
|
163
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-6 {
|
|
164
164
|
flex: 0 0 calc(6 / 24 * (100% - (24 / 6 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
165
165
|
max-width: calc(6 / 24 * (100% - (24 / 6 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
166
166
|
}
|
|
167
167
|
@media (max-width: 768px) {
|
|
168
|
-
.runtime-page-container[data-v-
|
|
168
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-6 {
|
|
169
169
|
flex: 0 0 100%;
|
|
170
170
|
max-width: 100%;
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
.runtime-page-container[data-v-
|
|
173
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-6 > .el-form-item:only-child {
|
|
174
174
|
margin-bottom: 0;
|
|
175
175
|
}
|
|
176
176
|
@media (max-width: 768px) {
|
|
177
|
-
.runtime-page-container[data-v-
|
|
177
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-7 {
|
|
178
178
|
flex: 0 0 100%;
|
|
179
179
|
max-width: 100%;
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
-
.runtime-page-container[data-v-
|
|
182
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-7 > .el-form-item:only-child {
|
|
183
183
|
margin-bottom: 0;
|
|
184
184
|
}
|
|
185
|
-
.runtime-page-container[data-v-
|
|
185
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-8 {
|
|
186
186
|
flex: 0 0 calc(8 / 24 * (100% - (24 / 8 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
187
187
|
max-width: calc(8 / 24 * (100% - (24 / 8 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
188
188
|
}
|
|
189
189
|
@media (max-width: 768px) {
|
|
190
|
-
.runtime-page-container[data-v-
|
|
190
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-8 {
|
|
191
191
|
flex: 0 0 100%;
|
|
192
192
|
max-width: 100%;
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
.runtime-page-container[data-v-
|
|
195
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-8 > .el-form-item:only-child {
|
|
196
196
|
margin-bottom: 0;
|
|
197
197
|
}
|
|
198
198
|
@media (max-width: 768px) {
|
|
199
|
-
.runtime-page-container[data-v-
|
|
199
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-9 {
|
|
200
200
|
flex: 0 0 100%;
|
|
201
201
|
max-width: 100%;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
.runtime-page-container[data-v-
|
|
204
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-9 > .el-form-item:only-child {
|
|
205
205
|
margin-bottom: 0;
|
|
206
206
|
}
|
|
207
|
-
.runtime-page-container[data-v-
|
|
207
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-10 {
|
|
208
208
|
flex: 0 0 calc(10 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
209
209
|
max-width: calc(10 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
210
210
|
}
|
|
211
211
|
@media (max-width: 768px) {
|
|
212
|
-
.runtime-page-container[data-v-
|
|
212
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-10 {
|
|
213
213
|
flex: 0 0 100%;
|
|
214
214
|
max-width: 100%;
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
|
-
.runtime-page-container[data-v-
|
|
217
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-10 > .el-form-item:only-child {
|
|
218
218
|
margin-bottom: 0;
|
|
219
219
|
}
|
|
220
220
|
@media (max-width: 768px) {
|
|
221
|
-
.runtime-page-container[data-v-
|
|
221
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-11 {
|
|
222
222
|
flex: 0 0 100%;
|
|
223
223
|
max-width: 100%;
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
-
.runtime-page-container[data-v-
|
|
226
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-11 > .el-form-item:only-child {
|
|
227
227
|
margin-bottom: 0;
|
|
228
228
|
}
|
|
229
|
-
.runtime-page-container[data-v-
|
|
229
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-12 {
|
|
230
230
|
flex: 0 0 calc(12 / 24 * (100% - (24 / 12 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
231
231
|
max-width: calc(12 / 24 * (100% - (24 / 12 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
232
232
|
}
|
|
233
233
|
@media (max-width: 768px) {
|
|
234
|
-
.runtime-page-container[data-v-
|
|
234
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-12 {
|
|
235
235
|
flex: 0 0 100%;
|
|
236
236
|
max-width: 100%;
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
|
-
.runtime-page-container[data-v-
|
|
239
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-12 > .el-form-item:only-child {
|
|
240
240
|
margin-bottom: 0;
|
|
241
241
|
}
|
|
242
242
|
@media (max-width: 768px) {
|
|
243
|
-
.runtime-page-container[data-v-
|
|
243
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-13 {
|
|
244
244
|
flex: 0 0 100%;
|
|
245
245
|
max-width: 100%;
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
|
-
.runtime-page-container[data-v-
|
|
248
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-13 > .el-form-item:only-child {
|
|
249
249
|
margin-bottom: 0;
|
|
250
250
|
}
|
|
251
|
-
.runtime-page-container[data-v-
|
|
251
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-14 {
|
|
252
252
|
flex: 0 0 calc(14 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
253
253
|
max-width: calc(14 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
254
254
|
}
|
|
255
255
|
@media (max-width: 768px) {
|
|
256
|
-
.runtime-page-container[data-v-
|
|
256
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-14 {
|
|
257
257
|
flex: 0 0 100%;
|
|
258
258
|
max-width: 100%;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
|
-
.runtime-page-container[data-v-
|
|
261
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-14 > .el-form-item:only-child {
|
|
262
262
|
margin-bottom: 0;
|
|
263
263
|
}
|
|
264
264
|
@media (max-width: 768px) {
|
|
265
|
-
.runtime-page-container[data-v-
|
|
265
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-15 {
|
|
266
266
|
flex: 0 0 100%;
|
|
267
267
|
max-width: 100%;
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
.runtime-page-container[data-v-
|
|
270
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-15 > .el-form-item:only-child {
|
|
271
271
|
margin-bottom: 0;
|
|
272
272
|
}
|
|
273
|
-
.runtime-page-container[data-v-
|
|
273
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-16 {
|
|
274
274
|
flex: 0 0 calc(16 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
275
275
|
max-width: calc(16 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
276
276
|
}
|
|
277
277
|
@media (max-width: 768px) {
|
|
278
|
-
.runtime-page-container[data-v-
|
|
278
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-16 {
|
|
279
279
|
flex: 0 0 100%;
|
|
280
280
|
max-width: 100%;
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
|
-
.runtime-page-container[data-v-
|
|
283
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-16 > .el-form-item:only-child {
|
|
284
284
|
margin-bottom: 0;
|
|
285
285
|
}
|
|
286
286
|
@media (max-width: 768px) {
|
|
287
|
-
.runtime-page-container[data-v-
|
|
287
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-17 {
|
|
288
288
|
flex: 0 0 100%;
|
|
289
289
|
max-width: 100%;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
|
-
.runtime-page-container[data-v-
|
|
292
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-17 > .el-form-item:only-child {
|
|
293
293
|
margin-bottom: 0;
|
|
294
294
|
}
|
|
295
|
-
.runtime-page-container[data-v-
|
|
295
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-18 {
|
|
296
296
|
flex: 0 0 calc(18 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
297
297
|
max-width: calc(18 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
298
298
|
}
|
|
299
299
|
@media (max-width: 768px) {
|
|
300
|
-
.runtime-page-container[data-v-
|
|
300
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-18 {
|
|
301
301
|
flex: 0 0 100%;
|
|
302
302
|
max-width: 100%;
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
|
-
.runtime-page-container[data-v-
|
|
305
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-18 > .el-form-item:only-child {
|
|
306
306
|
margin-bottom: 0;
|
|
307
307
|
}
|
|
308
308
|
@media (max-width: 768px) {
|
|
309
|
-
.runtime-page-container[data-v-
|
|
309
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-19 {
|
|
310
310
|
flex: 0 0 100%;
|
|
311
311
|
max-width: 100%;
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
|
-
.runtime-page-container[data-v-
|
|
314
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-19 > .el-form-item:only-child {
|
|
315
315
|
margin-bottom: 0;
|
|
316
316
|
}
|
|
317
|
-
.runtime-page-container[data-v-
|
|
317
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-20 {
|
|
318
318
|
flex: 0 0 calc(20 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
319
319
|
max-width: calc(20 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
320
320
|
}
|
|
321
321
|
@media (max-width: 768px) {
|
|
322
|
-
.runtime-page-container[data-v-
|
|
322
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-20 {
|
|
323
323
|
flex: 0 0 100%;
|
|
324
324
|
max-width: 100%;
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
|
-
.runtime-page-container[data-v-
|
|
327
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-20 > .el-form-item:only-child {
|
|
328
328
|
margin-bottom: 0;
|
|
329
329
|
}
|
|
330
330
|
@media (max-width: 768px) {
|
|
331
|
-
.runtime-page-container[data-v-
|
|
331
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-21 {
|
|
332
332
|
flex: 0 0 100%;
|
|
333
333
|
max-width: 100%;
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
.runtime-page-container[data-v-
|
|
336
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-21 > .el-form-item:only-child {
|
|
337
337
|
margin-bottom: 0;
|
|
338
338
|
}
|
|
339
|
-
.runtime-page-container[data-v-
|
|
339
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-22 {
|
|
340
340
|
flex: 0 0 calc(22 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
341
341
|
max-width: calc(22 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
342
342
|
}
|
|
343
343
|
@media (max-width: 768px) {
|
|
344
|
-
.runtime-page-container[data-v-
|
|
344
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-22 {
|
|
345
345
|
flex: 0 0 100%;
|
|
346
346
|
max-width: 100%;
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
|
-
.runtime-page-container[data-v-
|
|
349
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-22 > .el-form-item:only-child {
|
|
350
350
|
margin-bottom: 0;
|
|
351
351
|
}
|
|
352
352
|
@media (max-width: 768px) {
|
|
353
|
-
.runtime-page-container[data-v-
|
|
353
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-23 {
|
|
354
354
|
flex: 0 0 100%;
|
|
355
355
|
max-width: 100%;
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
.runtime-page-container[data-v-
|
|
358
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-23 > .el-form-item:only-child {
|
|
359
359
|
margin-bottom: 0;
|
|
360
360
|
}
|
|
361
361
|
@media (max-width: 768px) {
|
|
362
|
-
.runtime-page-container[data-v-
|
|
362
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-24 {
|
|
363
363
|
flex: 0 0 100%;
|
|
364
364
|
max-width: 100%;
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
.runtime-page-container[data-v-
|
|
367
|
+
.runtime-page-container[data-v-e96bdd44] .el-col-24 > .el-form-item:only-child {
|
|
368
368
|
margin-bottom: 0;
|
|
369
369
|
}
|
|
370
|
-
.runtime-page-container[data-v-
|
|
370
|
+
.runtime-page-container[data-v-e96bdd44] .el-input-group > .el-input-group__append > .el-button + .el-button {
|
|
371
371
|
margin-left: 12px;
|
|
372
372
|
}
|
|
373
|
-
.runtime-page-container[data-v-
|
|
373
|
+
.runtime-page-container[data-v-e96bdd44] .runtime-page-container-view, .runtime-page-container[data-v-e96bdd44] .el-container > .el-main, .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside {
|
|
374
374
|
display: flex;
|
|
375
375
|
flex-direction: row;
|
|
376
376
|
align-items: flex-start;
|
|
@@ -378,52 +378,52 @@
|
|
|
378
378
|
flex-wrap: wrap;
|
|
379
379
|
gap: var(--runtime-page-container-view-gap, 15px);
|
|
380
380
|
min-height: 100%;
|
|
381
|
-
height:
|
|
381
|
+
height: calc(100vh - var(--dec-page-main-padding, 15px) * 2);
|
|
382
382
|
overflow: auto;
|
|
383
383
|
}
|
|
384
|
-
.runtime-page-container[data-v-
|
|
384
|
+
.runtime-page-container[data-v-e96bdd44] .runtime-page-container-view[style*="padding: 10px"], .runtime-page-container[data-v-e96bdd44] .el-container > [style*="padding: 10px"].el-main, .runtime-page-container[data-v-e96bdd44] .el-container > [style*="padding: 10px"].el-aside {
|
|
385
385
|
padding: 0 !important;
|
|
386
386
|
}
|
|
387
|
-
.runtime-page-container[data-v-
|
|
387
|
+
.runtime-page-container[data-v-e96bdd44] .runtime-page-container-view .el-form, .runtime-page-container[data-v-e96bdd44] .el-container > .el-main .el-form, .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside .el-form {
|
|
388
388
|
width: 100%;
|
|
389
389
|
display: flex;
|
|
390
390
|
flex-wrap: wrap;
|
|
391
391
|
gap: var(--runtime-page-container-view-gap, 15px);
|
|
392
392
|
}
|
|
393
|
-
.runtime-page-container[data-v-
|
|
393
|
+
.runtime-page-container[data-v-e96bdd44] .runtime-page-container-view .el-form > div, .runtime-page-container[data-v-e96bdd44] .el-container > .el-main .el-form > div, .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside .el-form > div {
|
|
394
394
|
width: 100%;
|
|
395
395
|
}
|
|
396
|
-
.runtime-page-container[data-v-
|
|
396
|
+
.runtime-page-container[data-v-e96bdd44] .runtime-page-container-view .el-form > div[style*="display: inline-block"], .runtime-page-container[data-v-e96bdd44] .el-container > .el-main .el-form > div[style*="display: inline-block"], .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside .el-form > div[style*="display: inline-block"] {
|
|
397
397
|
width: auto;
|
|
398
398
|
}
|
|
399
|
-
.runtime-page-container[data-v-
|
|
399
|
+
.runtime-page-container[data-v-e96bdd44] .runtime-page-container-view > div, .runtime-page-container[data-v-e96bdd44] .el-container > .el-main > div, .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside > div {
|
|
400
400
|
width: 100%;
|
|
401
401
|
}
|
|
402
|
-
.runtime-page-container[data-v-
|
|
402
|
+
.runtime-page-container[data-v-e96bdd44] .runtime-page-container-view > div[style*="display: inline-block"], .runtime-page-container[data-v-e96bdd44] .el-container > .el-main > div[style*="display: inline-block"], .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside > div[style*="display: inline-block"] {
|
|
403
403
|
width: auto;
|
|
404
404
|
}
|
|
405
|
-
.runtime-page-container[data-v-
|
|
405
|
+
.runtime-page-container[data-v-e96bdd44] .runtime-page-container-view > div[class*=el-col-], .runtime-page-container[data-v-e96bdd44] .el-container > .el-main > div[class*=el-col-], .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside > div[class*=el-col-], .runtime-page-container[data-v-e96bdd44] .runtime-page-container-view > div[style="flex:"], .runtime-page-container[data-v-e96bdd44] .el-container > .el-main > div[style="flex:"], .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside > div[style="flex:"] {
|
|
406
406
|
flex: none !important;
|
|
407
407
|
}
|
|
408
|
-
.runtime-page-container[data-v-
|
|
408
|
+
.runtime-page-container[data-v-e96bdd44] .runtime-page-container-view > [style*="display: inline-block"], .runtime-page-container[data-v-e96bdd44] .el-container > .el-main > [style*="display: inline-block"], .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside > [style*="display: inline-block"] {
|
|
409
409
|
width: auto;
|
|
410
410
|
}
|
|
411
|
-
.runtime-page-container[data-v-
|
|
411
|
+
.runtime-page-container[data-v-e96bdd44] .runtime-page-container-view > .el-row[class*=el-col-], .runtime-page-container[data-v-e96bdd44] .el-container > .el-main > .el-row[class*=el-col-], .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside > .el-row[class*=el-col-] {
|
|
412
412
|
flex: none;
|
|
413
413
|
}
|
|
414
|
-
.runtime-page-container[data-v-
|
|
414
|
+
.runtime-page-container[data-v-e96bdd44] .runtime-page-container-view .el-row, .runtime-page-container[data-v-e96bdd44] .el-container > .el-main .el-row, .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside .el-row {
|
|
415
415
|
gap: var(--layout-form-flex-gap, 15px);
|
|
416
416
|
}
|
|
417
|
-
.runtime-page-container[data-v-
|
|
417
|
+
.runtime-page-container[data-v-e96bdd44] .runtime-page-container-view .el-row > div, .runtime-page-container[data-v-e96bdd44] .el-container > .el-main .el-row > div, .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside .el-row > div {
|
|
418
418
|
width: 100%;
|
|
419
419
|
}
|
|
420
|
-
.runtime-page-container[data-v-
|
|
420
|
+
.runtime-page-container[data-v-e96bdd44] .runtime-page-container-view .el-row > div[style*="display: inline-block"], .runtime-page-container[data-v-e96bdd44] .el-container > .el-main .el-row > div[style*="display: inline-block"], .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside .el-row > div[style*="display: inline-block"] {
|
|
421
421
|
width: auto;
|
|
422
422
|
}
|
|
423
|
-
.runtime-page-container[data-v-
|
|
423
|
+
.runtime-page-container[data-v-e96bdd44] .el-container {
|
|
424
424
|
gap: var(--runtime-page-container-view-gap, 15px);
|
|
425
425
|
}
|
|
426
|
-
.runtime-page-container[data-v-
|
|
426
|
+
.runtime-page-container[data-v-e96bdd44] .el-container > .el-main, .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside {
|
|
427
427
|
padding: 0;
|
|
428
428
|
}.yx-affix[data-v-a994b02d]:empty {
|
|
429
429
|
display: none;
|