super-page-runtime 2.3.18-tmp2 → 2.3.18-tmp3
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/barcode-util.js +5 -5
- package/dist/es/components/runtime/utils/charts/chart-pie-util.js +49 -48
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +14 -12
- package/dist/es/components/runtime/utils/charts/chart-util.js +58 -56
- package/dist/es/components/runtime/utils/events/event-util.js +111 -111
- package/dist/es/components/runtime/utils/events/print-label.js +1 -0
- package/dist/es/components/runtime/utils/events/standard-event.js +524 -512
- package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
- package/dist/es/components/runtime/utils/form/scan-util.js +4 -3
- package/dist/es/components/runtime/utils/page-helper-util.js +275 -275
- package/dist/es/components/runtime/utils/page-init-util.js +82 -79
- package/dist/es/components/runtime/utils/page-store.js +10 -10
- package/dist/es/components/runtime/utils/table-utils.js +28 -28
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +14 -10
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +13 -12
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +15 -14
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +15 -14
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +16 -15
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +86 -85
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +24 -22
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +63 -63
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +40 -38
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +90 -87
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +39 -38
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +1 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +26 -26
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +14 -14
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +49 -49
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +10 -10
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +1 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +13 -13
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +16 -16
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +6 -6
- package/dist/es/components/runtime/views/home-chart.vue.js +4 -4
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +9 -9
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/super-page.vue2.js +171 -170
- package/dist/es/style.css +76 -76
- package/package.json +1 -1
|
@@ -1,51 +1,53 @@
|
|
|
1
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
|
-
import { setTableEvents as c, gridSelectRecord as p, gridSelectAllRecords as d, gridSelectionChange as f, cellClick as b, cellDblClick as
|
|
3
|
-
import { caculateShowCondition as w, setVariableValue as T, getVariableValue as
|
|
4
|
-
import { getModelFields as
|
|
5
|
-
import
|
|
2
|
+
import { setTableEvents as c, gridSelectRecord as p, gridSelectAllRecords as d, gridSelectionChange as f, cellClick as b, cellDblClick as g, rowClick as v, rowDblClick as m, headerClick as h, getHandleEvent as S } from "../../../../utils/events/event-util.js";
|
|
3
|
+
import { caculateShowCondition as w, setVariableValue as T, getVariableValue as C, getSizeConfig as D } from "../../../../utils/page-helper-util.js";
|
|
4
|
+
import { getModelFields as x, getDefaultValue as P } from "../../../../utils/page-init-util.js";
|
|
5
|
+
import y from "../../../../utils/eventBus.js";
|
|
6
6
|
import { popupToPage as R, getOperationButtons as I } from "../../../../utils/table-utils.js";
|
|
7
|
-
import { getListCode as
|
|
7
|
+
import { getListCode as _, getBaseUrl as O } from "../../../../utils/common-util.js";
|
|
8
8
|
import { getAdditionalParamMap as k } from "../../../../utils/events/standard-event.js";
|
|
9
|
-
import { getRowStyleUtil as M, getCellStyleUtil as
|
|
9
|
+
import { getRowStyleUtil as M, getCellStyleUtil as F, getHeaderCellStyleUtil as A } from "../../chart/table/chart-table-util.js";
|
|
10
10
|
const $ = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(e2, { expose: $2, emit: j }) {
|
|
11
11
|
var _a, _b, _c;
|
|
12
12
|
const E = e2, L = E.pageContext;
|
|
13
|
-
let
|
|
14
|
-
const
|
|
15
|
-
L.isTest ?
|
|
16
|
-
const G =
|
|
17
|
-
|
|
13
|
+
let U = E.configure;
|
|
14
|
+
const B = E.configure.runtime ? E.configure.runtime : {};
|
|
15
|
+
L.isTest ? B.value = E.configure.runtime ? E.configure.runtime : {} : L.tableRuntimes && L.tableRuntimes[U.uuid] && (U = JSON.parse(L.tableRuntimes[U.uuid].configure), B.value = U.runtime ? U.runtime : {});
|
|
16
|
+
const G = _(L.code, L.version, U.uuid), H = L.entity.data, N = U.code ? U.code : G, V = k(L), z = B && B.events ? B.events : [], q = t([]), J = L.superGridItems, K = J ? J[U.uuid] : null;
|
|
17
|
+
console.log("superGridSetting===", J, K);
|
|
18
|
+
const Q = B.style, W = B.class, X = E.pageContext.entity ? E.pageContext.entity : {};
|
|
19
|
+
let Y = x(E.configure, N), Z = O(L.backendUrl, L.isTest);
|
|
18
20
|
Z || (Z = window.$vueApp.config.globalProperties.baseURL);
|
|
19
21
|
const ee = t(false);
|
|
20
22
|
let te = t(0);
|
|
21
|
-
const ne = (_a =
|
|
22
|
-
return
|
|
23
|
+
const ne = (_a = U.props) == null ? void 0 : _a.dataOrigin.principalLinkage, oe = t({ title: (U == null ? void 0 : U.title) || null, isSql: true, subTableData: null, rowKeyProp: ne, extraParam: {}, operations: {}, hiddenColumns: [], pageCode: L.code, pageVersion: L.version, pageContext: L, configureObj: U, showPageArea: false, showRowForm: false, showOverflowTooltip: !(!U.props || !U.props.otherSettings || void 0 !== U.props.otherSettings.isBreakLine && false !== U.props.otherSettings.isBreakLine), backendUrl: Z, cellStyleRender: function(e3) {
|
|
24
|
+
return F(e3, e3.cellStyle, E);
|
|
23
25
|
}, rowStyleRender: function(e3) {
|
|
24
26
|
return M(e3, null, E);
|
|
25
27
|
}, titleStyleRender: function(e3) {
|
|
26
28
|
const t2 = e3.titleStyle, n2 = E.configure.style.titleStyle;
|
|
27
|
-
return
|
|
28
|
-
}, allEditable: (_c = (_b =
|
|
29
|
-
Q && (oe.value.tableStyle = Q), W && (oe.value.tableClass = W),
|
|
29
|
+
return A(e3, { cellTitleStyle: t2, titleStyle: n2 }, E);
|
|
30
|
+
}, allEditable: (_c = (_b = U.props) == null ? void 0 : _b.base) == null ? void 0 : _c.allEditable }), le = j;
|
|
31
|
+
Q && (oe.value.tableStyle = Q), W && (oe.value.tableClass = W), U.props && U.props.base && true === U.props.base.subPaging ? oe.value.showPageArea = true : oe.value.showPageArea = false, U.props.base.showRowForm && (oe.value.showRowForm = U.props.base.showRowForm);
|
|
30
32
|
const ae = t(null);
|
|
31
33
|
function ie() {
|
|
32
34
|
ae.value && (oe.value.subTableData = null, ae.value.reloadSubTableData(G));
|
|
33
35
|
}
|
|
34
36
|
function ue(e3) {
|
|
35
|
-
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 = L.beanName, oe.value.extraParam.subtableSetting =
|
|
37
|
+
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 = L.beanName, oe.value.extraParam.subtableSetting = U.props && U.props.otherSettings ? JSON.stringify(U.props.otherSettings) : null, oe.value.extraParam.additionalParamMap = V, oe.value.extraParam.entityMap = L.entity.data, oe.value.extraParam.contextMap = L.entity.context, oe.value.extraParam.taskMap = L.entity.task, !(U.props && U.props.base && U.props.base.showOperation)) {
|
|
36
38
|
let e4 = oe.value.hiddenColumns;
|
|
37
39
|
e4 ? e4.push("operation") : e4 = ["operation"], oe.value.hiddenColumns = e4;
|
|
38
40
|
}
|
|
39
|
-
oe.value.showOperationButton = !(!
|
|
40
|
-
let t2 =
|
|
41
|
+
oe.value.showOperationButton = !(!U.props || !U.props.base) && U.props.base.showOperation, oe.value.isPdfEditor = false, oe.value.tableRecordMaxNum = U.props && U.props.otherSettings ? U.props.otherSettings.tableRecordMaxNum : null;
|
|
42
|
+
let t2 = D(L, U);
|
|
41
43
|
t2 && t2.fixHeight && (oe.value.formSetHeight = t2.fixHeight), t2 && t2.maxHeight && (oe.value.formSetMaxHeight = t2.maxHeight), oe.value.validateEitConditions = Ge;
|
|
42
44
|
}
|
|
43
45
|
function re() {
|
|
44
|
-
if (
|
|
45
|
-
if (
|
|
46
|
+
if (U.props && U.props.otherSettings) {
|
|
47
|
+
if (U.props.otherSettings.sourceQueryTableData && U.props.otherSettings.timeToInitializeSubTable && U.props.otherSettings.timeToInitializeSubTable.length > 0) {
|
|
46
48
|
let e3 = false;
|
|
47
|
-
if (-1 !==
|
|
48
|
-
const t2 = H[
|
|
49
|
+
if (-1 !== U.props.otherSettings.timeToInitializeSubTable.indexOf("create") && (e3 = !H.id && !H.ID), -1 !== U.props.otherSettings.timeToInitializeSubTable.indexOf("noData")) {
|
|
50
|
+
const t2 = H[N];
|
|
49
51
|
(!t2 || t2.length <= 0) && (e3 = true);
|
|
50
52
|
}
|
|
51
53
|
return e3;
|
|
@@ -57,19 +59,19 @@ const $ = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
57
59
|
return L.entity.data;
|
|
58
60
|
}
|
|
59
61
|
function ce() {
|
|
60
|
-
return
|
|
62
|
+
return C(X, Y);
|
|
61
63
|
}
|
|
62
64
|
let pe, de;
|
|
63
65
|
function fe(e3) {
|
|
64
66
|
ue(e3), oe.value.subTableData = null, be(), ee.value = false, pe = setTimeout(() => {
|
|
65
|
-
ee.value = true, te.value = te.value + 1,
|
|
67
|
+
ee.value = true, te.value = te.value + 1, ge();
|
|
66
68
|
}, 10);
|
|
67
69
|
}
|
|
68
70
|
function be() {
|
|
69
71
|
!function() {
|
|
70
72
|
const e4 = L.fieldPermissionMap, t2 = L.actionPermissionMap;
|
|
71
73
|
if (e4 && null != e4) {
|
|
72
|
-
let t3 = e4.get(
|
|
74
|
+
let t3 = e4.get(N);
|
|
73
75
|
if (!t3) {
|
|
74
76
|
const n3 = e4.get("all_fields");
|
|
75
77
|
n3 && (t3 = [n3]);
|
|
@@ -77,82 +79,83 @@ const $ = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
77
79
|
oe.value.validateRules = t3 || null;
|
|
78
80
|
}
|
|
79
81
|
if (t2 && null != t2) {
|
|
80
|
-
let e5 = t2.get(
|
|
82
|
+
let e5 = t2.get(N);
|
|
81
83
|
e5 || (e5 = t2.get("all_sub_tables")), oe.value.actionPermission = e5;
|
|
82
84
|
}
|
|
83
85
|
oe.value.operations || (oe.value.operations = {});
|
|
84
86
|
const n2 = function() {
|
|
85
|
-
let e5 = [], t3 = w(E.pageContext,
|
|
87
|
+
let e5 = [], t3 = w(E.pageContext, U.props.base.showOperationCondition);
|
|
86
88
|
if (t3 && Se(null, null, null, null, null, true, "canAdd")) {
|
|
87
|
-
const t4 = { props: { elementType: "el-button", icon: "Plus", type: "primary", circle: true, size: "mini", permission: "true" }, onClick:
|
|
89
|
+
const t4 = { props: { elementType: "el-button", icon: "Plus", type: "primary", circle: true, size: "mini", permission: "true" }, onClick: De, isShow: we };
|
|
88
90
|
e5.push(t4);
|
|
89
91
|
}
|
|
90
92
|
if (t3 && Te(null, null, null, null, null, true)) {
|
|
91
|
-
const t4 = { props: { elementType: "el-button", icon: "Minus", type: "danger", circle: true, size: "mini", permission: "true" }, onClick:
|
|
93
|
+
const t4 = { props: { elementType: "el-button", icon: "Minus", type: "danger", circle: true, size: "mini", permission: "true" }, onClick: xe, isShow: Ce };
|
|
92
94
|
e5.push(t4);
|
|
93
95
|
}
|
|
94
|
-
return I(L,
|
|
96
|
+
return I(L, U, e5, me), e5;
|
|
95
97
|
}();
|
|
96
98
|
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");
|
|
97
|
-
}(), c(oe.value, z, L,
|
|
99
|
+
}(), c(oe.value, z, L, U);
|
|
98
100
|
const e3 = L.customEvents;
|
|
99
|
-
e3 && (oe.value.eventCallBack = e3), ee.value = true,
|
|
101
|
+
e3 && (oe.value.eventCallBack = e3), ee.value = true, ge();
|
|
100
102
|
}
|
|
101
|
-
function
|
|
102
|
-
L.tableUuids || (L.tableUuids = []), L.tableUuids.indexOf(
|
|
103
|
+
function ge() {
|
|
104
|
+
L.tableUuids || (L.tableUuids = []), L.tableUuids.indexOf(U.uuid) < 0 && L.tableUuids.push(U.uuid);
|
|
103
105
|
}
|
|
104
106
|
n(() => {
|
|
105
|
-
const e3 =
|
|
106
|
-
|
|
107
|
+
const e3 = U.uuid, t2 = L.subTableWatchProps;
|
|
108
|
+
y.$on("_refreshSubTable_" + e3, (n2) => {
|
|
109
|
+
console.log("-_refreshSubTable--tableUuid=", e3, "params=", n2);
|
|
107
110
|
const o2 = n2.propName;
|
|
108
111
|
if (t2 && t2[e3] && t2[e3].length > 0) {
|
|
109
112
|
t2[e3].indexOf(o2) >= 0 && ie();
|
|
110
113
|
}
|
|
111
|
-
}),
|
|
112
|
-
ie();
|
|
113
|
-
}),
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
ae.value && (ae.value.refreshChildData(G,
|
|
114
|
+
}), y.$on("_refreshSubTableHandle_" + e3, (t3) => {
|
|
115
|
+
console.log("-_refreshSubTableHandle_--tableUuid=", e3, "params=", t3), ie();
|
|
116
|
+
}), y.$on("_refreshChildData_" + e3, (t3) => {
|
|
117
|
+
console.log("-_refreshChildData_--tableUuid=", e3), function(e4) {
|
|
118
|
+
Be(e4), de = setTimeout(() => {
|
|
119
|
+
ae.value && (ae.value.refreshChildData(G, e4, U.props && U.props.base && true === U.props.base.subPaging), oe.value.extraParam.entityMap = L.entity.data);
|
|
117
120
|
}, 10);
|
|
118
|
-
}(
|
|
119
|
-
}),
|
|
120
|
-
ae.value.pickFileDone(e4);
|
|
121
|
-
}),
|
|
122
|
-
ae.value.scanDone(e4);
|
|
121
|
+
}(t3);
|
|
122
|
+
}), y.$on(G + "-pickFileDone", (e4) => {
|
|
123
|
+
console.log("superPage5555---listCode---pickFileDone--listCode=", G, "data=", e4), ae.value.pickFileDone(e4);
|
|
124
|
+
}), y.$on(G + "-scanDone", (e4) => {
|
|
125
|
+
console.log("superPage5555---listCode---scanDone--listCode=", G, "data=", e4), ae.value.scanDone(e4);
|
|
123
126
|
}), oe.value && oe.value.configureObj.props.base && oe.value.configureObj.props.base.isSafeDelete && le("setSafeDeleteTableCode", oe.value.extraParam.tableName);
|
|
124
127
|
}), o(() => {
|
|
125
128
|
pe && clearTimeout(pe), de && clearTimeout(de);
|
|
126
|
-
const e3 =
|
|
127
|
-
|
|
129
|
+
const e3 = U.uuid;
|
|
130
|
+
y.$off("_refreshSubTable_" + e3), y.$off("_refreshSubTableHandle_" + e3), y.$off("_refreshChildData_" + e3), y.$off(G + "-pickFileDone"), y.$off(G + "-scanDone");
|
|
128
131
|
});
|
|
129
|
-
const
|
|
132
|
+
const ve = t({});
|
|
130
133
|
function me(e3) {
|
|
131
134
|
if (!e3) return;
|
|
132
|
-
return
|
|
135
|
+
return ve.value[e3.uuid] = e3, he;
|
|
133
136
|
}
|
|
134
137
|
function he(e3, t2, n2, o2, l2, a2) {
|
|
135
|
-
const i2 = { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2, button: a2, id: n2.ID ? n2.ID : n2.id }, u2 =
|
|
138
|
+
const i2 = { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2, button: a2, id: n2.ID ? n2.ID : n2.id }, u2 = ve.value[a2.sourceButton.uuid], r2 = U;
|
|
136
139
|
u2.props.base.tableUuid = r2.uuid, S(null, L, u2, "click", i2);
|
|
137
140
|
}
|
|
138
141
|
function Se(e3, t2, n2, o2, l2, a2, i2) {
|
|
139
142
|
i2 || (i2 = "canAdd");
|
|
140
|
-
if (!w(E.pageContext,
|
|
143
|
+
if (!w(E.pageContext, U.props.base.showOperationCondition)) return false;
|
|
141
144
|
const u2 = L.fieldPermissionMap, r2 = L.actionPermissionMap;
|
|
142
145
|
let s2 = true;
|
|
143
146
|
if (u2 && null !== u2) {
|
|
144
147
|
const e4 = u2.get("all_fields");
|
|
145
148
|
void 0 === e4 || false !== e4.canEdit || void 0 !== e4.rowIndexes && null !== e4.rowIndexes && 0 !== e4.rowIndexes.length || (s2 = false);
|
|
146
149
|
}
|
|
147
|
-
if (true === s2 &&
|
|
148
|
-
let e4 = r2.get(
|
|
150
|
+
if (true === s2 && N && r2 && null !== r2) {
|
|
151
|
+
let e4 = r2.get(N);
|
|
149
152
|
e4 || (e4 = r2.get("all_sub_tables")), e4 && void 0 !== e4[i2] && false === e4[i2] && (s2 = false);
|
|
150
153
|
}
|
|
151
154
|
return s2;
|
|
152
155
|
}
|
|
153
156
|
function we(e3, t2, n2, o2, l2, a2) {
|
|
154
157
|
let i2 = Se(0, 0, 0, 0, 0, 0, "canAdd");
|
|
155
|
-
return true === i2 && (i2 = w(E.pageContext,
|
|
158
|
+
return true === i2 && (i2 = w(E.pageContext, U.props.base.showAddBtnCondition, n2)), i2;
|
|
156
159
|
}
|
|
157
160
|
function Te(e3, t2, n2, o2, l2, a2) {
|
|
158
161
|
const i2 = L.fieldPermissionMap, u2 = L.actionPermissionMap;
|
|
@@ -161,8 +164,8 @@ const $ = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
161
164
|
const e4 = i2.get("all_fields");
|
|
162
165
|
void 0 === e4 || false !== e4.canEdit || void 0 !== e4.rowIndexes && null !== e4.rowIndexes && 0 !== e4.rowIndexes.length || (r2 = false);
|
|
163
166
|
}
|
|
164
|
-
if (true === r2 &&
|
|
165
|
-
let e4 = u2.get(
|
|
167
|
+
if (true === r2 && N && u2 && null !== u2) {
|
|
168
|
+
let e4 = u2.get(N);
|
|
166
169
|
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;
|
|
167
170
|
else {
|
|
168
171
|
const t3 = function(e5) {
|
|
@@ -174,21 +177,21 @@ const $ = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
174
177
|
}
|
|
175
178
|
return r2;
|
|
176
179
|
}
|
|
177
|
-
function
|
|
180
|
+
function Ce(e3, t2, n2, o2, l2, a2) {
|
|
178
181
|
let i2 = Te(0, 0, n2, 0, 0, a2);
|
|
179
|
-
return true === i2 && (i2 = w(E.pageContext,
|
|
180
|
-
}
|
|
181
|
-
function Ce(e3, t2, n2, o2, l2) {
|
|
182
|
-
ae.value.createRow(G, {}, { getDefaultValueFunc: y }, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2 });
|
|
182
|
+
return true === i2 && (i2 = w(E.pageContext, U.props.base.showDeleteBtnCondition, n2)), i2;
|
|
183
183
|
}
|
|
184
184
|
function De(e3, t2, n2, o2, l2) {
|
|
185
|
+
ae.value.createRow(G, {}, { getDefaultValueFunc: P }, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2 });
|
|
186
|
+
}
|
|
187
|
+
function xe(e3, t2, n2, o2, l2) {
|
|
185
188
|
ae.value.deleteRow(l2, G, false);
|
|
186
189
|
}
|
|
187
|
-
function
|
|
190
|
+
function Pe(e3) {
|
|
188
191
|
T(X, Y, e3);
|
|
189
192
|
}
|
|
190
|
-
function
|
|
191
|
-
L.subTablePageInfo || (L.subTablePageInfo = {}), L.subTablePageInfo[
|
|
193
|
+
function ye(e3) {
|
|
194
|
+
console.log("表单组件--Item--changeRowsPerpage==pageSize=", e3), L.subTablePageInfo || (L.subTablePageInfo = {}), L.subTablePageInfo[N] || (L.subTablePageInfo[N] = {}), L.subTablePageInfo[N].pageSize = e3;
|
|
192
195
|
}
|
|
193
196
|
function Re(e3) {
|
|
194
197
|
const t2 = e3.key, n2 = e3.value;
|
|
@@ -196,47 +199,47 @@ const $ = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
196
199
|
}
|
|
197
200
|
function Ie(e3) {
|
|
198
201
|
const t2 = L.code + "_";
|
|
199
|
-
|
|
202
|
+
y.$emit(t2 + "prohibit-edit", e3);
|
|
200
203
|
}
|
|
201
|
-
function
|
|
204
|
+
function _e(e3) {
|
|
202
205
|
const t2 = L.entity.data;
|
|
203
206
|
if (e3) for (const n2 in e3) t2[n2] = e3[n2];
|
|
204
207
|
}
|
|
205
|
-
function
|
|
208
|
+
function Oe(e3, t2) {
|
|
206
209
|
if (void 0 !== t2) {
|
|
207
210
|
q.value = e3;
|
|
208
|
-
p(L,
|
|
211
|
+
p(L, U, { selection: e3, row: t2 });
|
|
209
212
|
}
|
|
210
213
|
}
|
|
211
214
|
function ke(e3) {
|
|
212
215
|
q.value = e3;
|
|
213
|
-
d(L,
|
|
216
|
+
d(L, U, { selection: e3 });
|
|
214
217
|
}
|
|
215
218
|
function Me(e3) {
|
|
216
|
-
f(L,
|
|
217
|
-
}
|
|
218
|
-
function Ae(e3, t2, n2, o2) {
|
|
219
|
-
b(L, B, { row: e3, column: t2, cell: n2, event: o2 });
|
|
219
|
+
f(L, U, { newSelection: e3 });
|
|
220
220
|
}
|
|
221
221
|
function Fe(e3, t2, n2, o2) {
|
|
222
|
-
|
|
222
|
+
b(L, U, { row: e3, column: t2, cell: n2, event: o2 });
|
|
223
|
+
}
|
|
224
|
+
function Ae(e3, t2, n2, o2) {
|
|
225
|
+
g(L, U, { row: e3, column: t2, cell: n2, event: o2 });
|
|
223
226
|
}
|
|
224
227
|
function $e(e3, t2, n2) {
|
|
225
|
-
|
|
228
|
+
v(L, U, { row: e3, column: t2, event: n2 });
|
|
226
229
|
}
|
|
227
230
|
function je(e3, t2, n2) {
|
|
228
|
-
m(L,
|
|
231
|
+
m(L, U, { row: e3, column: t2, event: n2 });
|
|
229
232
|
}
|
|
230
233
|
function Ee(e3, t2) {
|
|
231
|
-
h(L,
|
|
234
|
+
h(L, U, { column: e3, event: t2 });
|
|
232
235
|
}
|
|
233
236
|
function Le(e3) {
|
|
234
237
|
L.entity.data = e3;
|
|
235
238
|
}
|
|
236
|
-
function
|
|
237
|
-
return
|
|
239
|
+
function Ue() {
|
|
240
|
+
return C(X, Y);
|
|
238
241
|
}
|
|
239
|
-
function
|
|
242
|
+
function Be(e3) {
|
|
240
243
|
return T(X, Y, e3);
|
|
241
244
|
}
|
|
242
245
|
function Ge({ row: e3, editConditions: t2 }) {
|
|
@@ -245,7 +248,7 @@ const $ = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
245
248
|
}
|
|
246
249
|
return function() {
|
|
247
250
|
const e3 = re();
|
|
248
|
-
e3 ? fe(e3) : (ue(e3), oe.value.isPageInfo = false, oe.value.subTableData =
|
|
251
|
+
e3 ? fe(e3) : (ue(e3), oe.value.isPageInfo = false, oe.value.subTableData = Ue(), be());
|
|
249
252
|
}(), $2({ createRow: function() {
|
|
250
253
|
return ae.value.createRow(G);
|
|
251
254
|
}, getSelections: function() {
|
|
@@ -258,10 +261,10 @@ const $ = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
258
261
|
}, clearSelections: function() {
|
|
259
262
|
q.value = [];
|
|
260
263
|
}, getTableConfigure: function() {
|
|
261
|
-
return
|
|
264
|
+
return U;
|
|
262
265
|
}, validatorSunTableListData: function() {
|
|
263
266
|
return ae.value.validatorSunTableListData();
|
|
264
|
-
}, getValue:
|
|
267
|
+
}, getValue: Ue, setValue: Be, getTableSelectOptions: function() {
|
|
265
268
|
if (ae.value) return ae.value.getTableSelectOptions(G);
|
|
266
269
|
}, dynamicControlTableEdit: function(e3, t2, n2) {
|
|
267
270
|
ae.value && ae.value.dynamicControlTableEdit(e3, t2, n2);
|
|
@@ -296,7 +299,7 @@ const $ = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
296
299
|
return (_a2 = ae.value) == null ? void 0 : _a2.getColumns();
|
|
297
300
|
} }), (e3, t2) => {
|
|
298
301
|
const n2 = l("super-grid");
|
|
299
|
-
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), isDialog: s(L).isDialog, onSelect:
|
|
302
|
+
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), isDialog: s(L).isDialog, onSelect: Oe, onSelectAll: ke, onSelectionChange: Me, onCellClick: Fe, onCellDblclick: Ae, onRowClick: $e, onRowDblclick: je, onHeaderClick: Ee, onFnProhibitToEdit: Ie, onChangeGridData: Pe, onReloadGrid: fe, onRefresMainTableFields: _e, onSetSelectOptions: Re, onChangeRowsPerPage: ye, onNewOpenGridDialog: s(R), onChangeFormData: Le }, null, 8, ["url", "options", "code", "settings", "isDialog", "onNewOpenGridDialog"])) : r("", true)]);
|
|
300
303
|
};
|
|
301
304
|
} });
|
|
302
305
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as
|
|
1
|
+
import { defineComponent as e, ref as t, computed as n, onMounted as a, nextTick as l, watch as o, resolveComponent as d, createElementBlock as u, openBlock as i, normalizeClass as s, unref as c, createBlock as r, createCommentVNode as p, withDirectives as v, normalizeStyle as f, withCtx as g, createVNode as m, createElementVNode as h, createTextVNode as y, Fragment as C, toDisplayString as x, renderList as k, vShow as N } from "vue";
|
|
2
2
|
import T from "../../../../../../assets/folder.png.js";
|
|
3
3
|
import I from "../../../../../../assets/file.png.js";
|
|
4
4
|
import { getFormModelFields as V } from "../../../../utils/page-init-util.js";
|
|
@@ -12,16 +12,16 @@ const P = { key: 0, class: "custom-tree-node" }, W = ["title"], R = { key: 0, cl
|
|
|
12
12
|
const $ = t(), A = t(false), X = e2, Y = X.pageContext.entity ? X.pageContext.entity : {}, q = t([]);
|
|
13
13
|
((_a = X.configure.props) == null ? void 0 : _a.contextMenus) && (X.pageContext && X.configure && !X.pageContext.isTest ? X.configure.props.contextMenus.forEach((e3) => {
|
|
14
14
|
if (e3.functionCodes && e3.functionCodes.length > 0) for (let t2 = 0; t2 < e3.functionCodes.length; t2++) {
|
|
15
|
-
const
|
|
16
|
-
if (B(
|
|
15
|
+
const n2 = e3.functionCodes[t2];
|
|
16
|
+
if (B(n2, X.pageContext.systemCode)) return void q.value.push(e3);
|
|
17
17
|
}
|
|
18
18
|
else q.value.push(e3);
|
|
19
19
|
}) : q.value = X.configure.props.contextMenus);
|
|
20
20
|
let F = V(X.pageContext, X.configure);
|
|
21
|
-
const G =
|
|
21
|
+
const G = n({ get: () => _(Y, F), set(e3) {
|
|
22
22
|
b(Y, F, e3);
|
|
23
|
-
} }), J = t(!!((_c = (_b = X.configure.props) == null ? void 0 : _b.base) == null ? void 0 : _c.lazy)), Q = X.configure.runtime ? X.configure.runtime : {}, Z = Q.style, ee = Q.class, te = t(),
|
|
24
|
-
|
|
23
|
+
} }), J = t(!!((_c = (_b = X.configure.props) == null ? void 0 : _b.base) == null ? void 0 : _c.lazy)), Q = X.configure.runtime ? X.configure.runtime : {}, Z = Q.style, ee = Q.class, te = t(), ne = t(Q.props ? Q.props : {}), ae = t({ id: "nodeId", label: "name", children: "children", isLeaf: "leaf", disabled: "disabled", nodeType: "nodeType", iconType: "iconType", iconValue: "iconValue" }), le = t(false), oe = t([]), de = t(null), ue = t(""), ie = t(false), se = t(""), ce = t(""), re = t("");
|
|
24
|
+
a(() => {
|
|
25
25
|
l(() => {
|
|
26
26
|
const e3 = G.value;
|
|
27
27
|
K(e3, X.pageContext, X.configure, { componentRef: te.value, value: e3, entity: X.pageContext.entity.data, pageData: X.pageContext.entity.page });
|
|
@@ -32,31 +32,31 @@ const P = { key: 0, class: "custom-tree-node" }, W = ["title"], R = { key: 0, cl
|
|
|
32
32
|
ie.value = true, te.value.filter(e3);
|
|
33
33
|
});
|
|
34
34
|
const pe = (e3, t2) => !e3 || t2.name.includes(e3);
|
|
35
|
-
function ve(e3, t2,
|
|
36
|
-
de.value = t2, j(null, X.pageContext, X.configure, "node-click", { data: e3, node: t2, nodeTree:
|
|
35
|
+
function ve(e3, t2, n2) {
|
|
36
|
+
de.value = t2, j(null, X.pageContext, X.configure, "node-click", { data: e3, node: t2, nodeTree: n2 });
|
|
37
37
|
}
|
|
38
38
|
function fe(e3, t2) {
|
|
39
|
-
let
|
|
40
|
-
|
|
41
|
-
const
|
|
42
|
-
L(X.pageContext, X.configure, e4, t3,
|
|
43
|
-
if (ie.value = false, a3
|
|
39
|
+
let n2 = "0";
|
|
40
|
+
n2 = 0 === e3.level ? "0" : e3.data.nodeId, function(e4, t3, n3) {
|
|
41
|
+
const a2 = { parentNodeId: e4, data: t3.data, searchValue: ue, isSearch: ie.value };
|
|
42
|
+
L(X.pageContext, X.configure, e4, t3, a2).then((a3) => {
|
|
43
|
+
if (ie.value = false, n3(a3), "0" === e4) {
|
|
44
44
|
!function(e5, t4) {
|
|
45
|
-
const
|
|
46
|
-
L(X.pageContext, X.configure, e5, t4,
|
|
45
|
+
const n4 = { parentNodeId: e5, data: t4.data, searchValue: ue, isSearch: ie.value };
|
|
46
|
+
L(X.pageContext, X.configure, e5, t4, n4).then((t5) => {
|
|
47
47
|
ie.value = false, te.value.updateKeyChildren(e5, t5), te.value.store.nodesMap[e5] && (te.value.store.nodesMap[e5].expanded = true);
|
|
48
48
|
});
|
|
49
|
-
}(
|
|
49
|
+
}(a3[0].nodeId, t3);
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
|
-
}(
|
|
52
|
+
}(n2, e3, t2);
|
|
53
53
|
}
|
|
54
|
-
const ge = t({}), me = (e3, t2,
|
|
54
|
+
const ge = t({}), me = (e3, t2, n2, a2) => {
|
|
55
55
|
if (se.value) return void z.warning("请先保存当前编辑节点!");
|
|
56
|
-
document.removeEventListener("click", he), ge.value =
|
|
56
|
+
document.removeEventListener("click", he), ge.value = n2, A.value = true;
|
|
57
57
|
const { clientX: l2, clientY: o2 } = e3, d2 = $.value;
|
|
58
58
|
if (d2) {
|
|
59
|
-
const { innerWidth: e4, innerHeight: t3 } = window, { offsetWidth:
|
|
59
|
+
const { innerWidth: e4, innerHeight: t3 } = window, { offsetWidth: n3, offsetHeight: a3 } = d2, u2 = l2 + n3 > e4 ? l2 - n3 : l2, i2 = o2 + a3 > t3 ? o2 - a3 : o2;
|
|
60
60
|
d2.style.left = `${u2}px`, d2.style.top = `${i2}px`, d2.style.display = "block";
|
|
61
61
|
}
|
|
62
62
|
document.addEventListener("click", he);
|
|
@@ -64,14 +64,14 @@ const P = { key: 0, class: "custom-tree-node" }, W = ["title"], R = { key: 0, cl
|
|
|
64
64
|
A.value = false, document.removeEventListener("click", he);
|
|
65
65
|
}, ye = (e3, t2) => {
|
|
66
66
|
if (e3.parent && e3.parent.level > 0) {
|
|
67
|
-
const
|
|
68
|
-
e3.parent.data.children[
|
|
67
|
+
const n2 = e3.parent.data.children.findIndex((t3) => t3.nodeId === e3.data.nodeId);
|
|
68
|
+
e3.parent.data.children[n2] = t2, e3.data = t2;
|
|
69
69
|
} else {
|
|
70
|
-
const
|
|
71
|
-
e3.parent.data[
|
|
70
|
+
const n2 = e3.parent.data.findIndex((t3) => t3.nodeId === e3.data.nodeId);
|
|
71
|
+
e3.parent.data[n2] = t2, e3.data = t2;
|
|
72
72
|
}
|
|
73
73
|
}, Ce = () => {
|
|
74
|
-
se.value = "",
|
|
74
|
+
se.value = "", re.value = "", ce.value = "";
|
|
75
75
|
}, xe = () => ({ nodeId: "primary" + (/* @__PURE__ */ new Date()).getTime(), name: "新增节点", disabled: false, iconType: "custom", isLeaf: true });
|
|
76
76
|
function ke(e3) {
|
|
77
77
|
e3.tipMessage ? S.confirm(e3.tipMessage, { confirmButtonText: "确定", cancelButtonText: "取消", type: "error" }).then(() => {
|
|
@@ -79,7 +79,7 @@ const P = { key: 0, class: "custom-tree-node" }, W = ["title"], R = { key: 0, cl
|
|
|
79
79
|
z.success("删除成功!"), Ne(), ge.value = null;
|
|
80
80
|
});
|
|
81
81
|
}).catch(() => {
|
|
82
|
-
ge.value = null;
|
|
82
|
+
ge.value = null, console.log("取消");
|
|
83
83
|
}) : E(ge.value, X.configure, X.pageContext).then(() => {
|
|
84
84
|
z.success("删除成功!"), Ne(), ge.value = null;
|
|
85
85
|
});
|
|
@@ -102,30 +102,31 @@ const P = { key: 0, class: "custom-tree-node" }, W = ["title"], R = { key: 0, cl
|
|
|
102
102
|
te.value.setCheckedNodes(e3);
|
|
103
103
|
}, getCheckedKeys: (e3) => te.value.getCheckedKeysleafOnly(), setCheckedKeys: (e3, t2) => {
|
|
104
104
|
te.value.setCheckedKeys(e3, t2);
|
|
105
|
-
}, setChecked: (e3, t2,
|
|
106
|
-
te.value.setChecked(e3, t2,
|
|
105
|
+
}, setChecked: (e3, t2, n2) => {
|
|
106
|
+
te.value.setChecked(e3, t2, n2);
|
|
107
107
|
}, getCurrentKey: () => te.value.getCurrentKey(), getCurrentNode: () => te.value.getCurrentNode(), setCurrentKey: (e3, t2 = true) => te.value.setCurrentKey(e3, t2), setCurrentNode: (e3, t2 = true) => te.value.setCurrentNode(e3, t2) }), (e3, t2) => {
|
|
108
108
|
var _a2;
|
|
109
|
-
const
|
|
110
|
-
return i(), u("div", { class: s(["amb-tree-runtime-main",
|
|
111
|
-
"" !==
|
|
109
|
+
const n2 = d("el-input"), a2 = d("el-button"), l2 = d("SuperIcon"), o2 = d("el-tree");
|
|
110
|
+
return i(), u("div", { class: s(["amb-tree-runtime-main", c(ee)]) }, [ne.value.filter ? (i(), r(n2, { key: 0, modelValue: ue.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => ue.value = e4), style: { width: "100%" }, placeholder: "请输入查询条件" }, null, 8, ["modelValue"])) : p("", true), le.value ? (i(), r(o2, { key: 1, ref_key: "menuTreeRef", ref: te, style: f(c(Z)), load: fe, data: oe.value, "node-key": "nodeId", props: ae.value, "default-expand-all": ne.value.defaultExpandAll, "expand-on-click-node": ne.value.expandOnClickNode, indent: ne.value.retractWidth ? ne.value.retractWidth : 18, accordion: ne.value.accordion, "show-checkbox": !!ne.value.showCheckbox, "highlight-current": "", lazy: J.value, "filter-node-method": pe, onNodeClick: ve, onNodeContextmenu: me }, { default: g(({ node: o3, data: d2 }) => [d2.nodeId === se.value ? (i(), u("div", P, [m(n2, { modelValue: re.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => re.value = e4), size: "small" }, null, 8, ["modelValue"]), h("div", null, [m(a2, { type: "primary", link: "", onClick: (e4) => ((e5) => {
|
|
111
|
+
"" !== re.value ? (e5.data.name = re.value, ce.value && e5.data.nodeId === ce.value ? M(e5, X.configure, X.pageContext).then((t3) => {
|
|
112
112
|
ye(e5, t3.currentNode), Ce(), z.success("保存成功!");
|
|
113
113
|
}) : w(e5, X.configure, X.pageContext).then((t3) => {
|
|
114
|
-
ye(e5, t3.currentNode), Ce(), z.success("保存成功!");
|
|
114
|
+
console.log(t3), ye(e5, t3.currentNode), Ce(), z.success("保存成功!");
|
|
115
115
|
})) : z.warning("请输入节点名称");
|
|
116
|
-
})(o3) }, { default: g(() => t2[2] || (t2[2] = [y(" 保存 ", -1)])), _: 2, __: [2] }, 1032, ["onClick"]), m(
|
|
117
|
-
|
|
118
|
-
})(o3, e3.configure, e3.pageContext) }, { default: g(() => t2[3] || (t2[3] = [y(" 撤销 ", -1)])), _: 2, __: [3] }, 1032, ["onClick"])])])) : (i(), u("span", { key: 1, title: o3.label, class: "ellipsis" }, [d2.iconValue ? (i(),
|
|
119
|
-
if (ge.value
|
|
116
|
+
})(o3) }, { default: g(() => t2[2] || (t2[2] = [y(" 保存 ", -1)])), _: 2, __: [2] }, 1032, ["onClick"]), m(a2, { style: { "margin-left": "4px" }, type: "primary", link: "", onClick: (t3) => ((e4) => {
|
|
117
|
+
ce.value && e4.data.nodeId === ce.value && te.value.remove(e4), Ce();
|
|
118
|
+
})(o3, e3.configure, e3.pageContext) }, { default: g(() => t2[3] || (t2[3] = [y(" 撤销 ", -1)])), _: 2, __: [3] }, 1032, ["onClick"])])])) : (i(), u("span", { key: 1, title: o3.label, class: "ellipsis" }, [d2.iconValue ? (i(), r(l2, { key: 0, iconType: d2.iconType, iconValue: d2.iconValue }, null, 8, ["iconType", "iconValue"])) : ne.value.iconValue ? (i(), r(l2, { key: 1, iconType: ne.value.iconType, iconValue: ne.value.iconValue }, null, 8, ["iconType", "iconValue"])) : (i(), u(C, { key: 2 }, [d2.isLeaf ? (i(), u("div", H, [t2[5] || (t2[5] = h("img", { src: I, class: "file" }, null, -1)), h("span", null, x(d2.name), 1)])) : (i(), u("div", R, [h("div", D, [t2[4] || (t2[4] = h("img", { src: T, class: "file" }, null, -1)), h("span", null, x(d2.name), 1)])]))], 64))], 8, W))]), _: 1 }, 8, ["style", "data", "props", "default-expand-all", "expand-on-click-node", "indent", "accordion", "show-checkbox", "lazy"])) : p("", true), v(h("div", null, [h("ul", { ref_key: "contxtMenuRef", ref: $, class: "context-menu" }, [(i(true), u(C, null, k(q.value, (e4, t3) => (i(), u("li", { key: t3, tabindex: "-1", class: "menu__item", onClick: (t4) => ((e5) => {
|
|
119
|
+
if (ge.value) if ("standard" === e5.type && e5.standardEvent) if ("edit" === e5.standardEvent) se.value = ge.value.data.nodeId, re.value = ge.value.data.name;
|
|
120
120
|
else if ("delete" === e5.standardEvent) ge.value.childNodes && ge.value.childNodes.length > 0 && e5.deleteParentNodeTip ? (e5.deleteParentNodeTipMessage || (e5.deleteParentNodeTipMessage = "当前节点下有子节点,确认删除?"), S.confirm(e5.deleteParentNodeTipMessage, { confirmButtonText: "确定", cancelButtonText: "取消", type: "error" }).then(() => {
|
|
121
121
|
ke(e5);
|
|
122
122
|
}).catch(() => {
|
|
123
|
-
ge.value = null;
|
|
123
|
+
ge.value = null, console.log("取消");
|
|
124
124
|
})) : ke(e5);
|
|
125
125
|
else {
|
|
126
126
|
const t5 = xe();
|
|
127
|
-
se.value = t5.nodeId,
|
|
127
|
+
se.value = t5.nodeId, ce.value = t5.nodeId, re.value = t5.name, "addSiblingNode" === e5.standardEvent ? (t5.isLeaf = ge.value.data.isLeaf, ge.value.parent && ge.value.parent.level > 0 ? te.value.append(t5, ge.value.parent) : oe.value.push(t5)) : "addChildNode" === e5.standardEvent && (t5.isLeaf = true, ge.value.data.isLeaf = false, te.value.append(t5, ge.value), te.value.setCurrentKey(t5.nodeId, true));
|
|
128
128
|
}
|
|
129
|
+
else console.log("自定义事件", e5);
|
|
129
130
|
})(e4) }, [h("span", null, x(e4.name), 1)], 8, O))), 128))], 512)], 512), [[N, A.value && ((_a2 = q.value) == null ? void 0 : _a2.length) > 0]])], 2);
|
|
130
131
|
};
|
|
131
132
|
} });
|
|
@@ -28,6 +28,7 @@ const V = e({ __name: "checkbox-runtime", props: { pageContext: {}, configure: {
|
|
|
28
28
|
const L = U.value.monitorFields;
|
|
29
29
|
C(w.pageContext, L, function() {
|
|
30
30
|
S(w.pageContext, K, void 0).then((e3) => {
|
|
31
|
+
console.log("动态查询结果", e3);
|
|
31
32
|
});
|
|
32
33
|
});
|
|
33
34
|
const N = t(null), Q = t(null), X = t(null);
|