super-page-designer 2.0.41 → 2.0.45
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/design/utils/assemblys-config.js +203 -116
- package/dist/es/components/design/utils/chart-design-util.js +9 -9
- package/dist/es/components/design/utils/form-design-util.d.ts +1 -1
- package/dist/es/components/design/utils/interfaces/page-design-types.d.ts +13 -13
- package/dist/es/components/design/utils/page-table-util.js +7 -2
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +32 -14
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +43 -7
- package/dist/es/components/design/views/assemblys/button/button/button-attr.vue2.js +7 -7
- package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +16 -11
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-advanced.vue.js +5 -1
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-advanced.vue.js +20 -6
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr.vue2.js +7 -7
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr-base.vue.js +36 -8
- package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-clickset.vue.js +244 -0
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-clickset.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +115 -30
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +2 -27
- package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dataset-columnline.vue.js +69 -3
- package/dist/es/components/design/views/assemblys/chart/pie/pie-attr-base.vue.js +36 -8
- package/dist/es/components/design/views/assemblys/chart/pie/pie-attr.vue2.js +11 -5
- package/dist/es/components/design/views/assemblys/chart/radar/series/series-attr-dataset.vue.js +69 -4
- package/dist/es/components/design/views/assemblys/chart/scatter/series/scatter-series-data.vue.js +115 -34
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +35 -10
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic.vue.js +29 -3
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +1 -692
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +692 -1
- package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +371 -168
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +18 -33
- package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +403 -0
- package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +59 -89
- package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +781 -0
- package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +534 -0
- package/dist/es/components/design/views/assemblys/data/component/formatting.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +26 -10
- package/dist/es/components/design/views/assemblys/data/component/variate-select.vue.js +24 -2
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +6 -117
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +77 -82
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +296 -73
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-origin-autoset.vue.js +7 -1
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +95 -36
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +190 -61
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +55 -25
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +11 -2
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +6 -2
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-design.vue2.js +30 -14
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +6 -2
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-design.vue2.js +30 -14
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/link/link-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/select/select-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +6 -2
- package/dist/es/components/design/views/assemblys/form/select/select-design.vue2.js +12 -8
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +19 -44
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-design.vue2.js +29 -14
- package/dist/es/components/design/views/assemblys/object-design.vue.js +8 -3
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.d.ts +9 -0
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +51 -33
- package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +6 -5
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +7 -2
- package/dist/es/style.css +93 -93
- package/package.json +4 -4
- package/dist/es/components/design/views/assemblys/data/component/select-data-table.vue.js +0 -180
- package/dist/es/components/design/views/assemblys/data/component/select-data-table.vue2.js +0 -4
|
@@ -1,20 +1,34 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createTextVNode,
|
|
2
|
-
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import
|
|
4
|
-
import "element-plus";
|
|
1
|
+
import { defineComponent, ref, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, createTextVNode, createBlock, unref, createCommentVNode, toDisplayString, Fragment, renderList } from "vue";
|
|
2
|
+
import { getFormComponentOptions, getTableColumnConf, getTableSelectionConf, getTableIndexConf, getTableOperateConf } from "../../../../utils/assemblys-config.js";
|
|
3
|
+
import "uuid";
|
|
4
|
+
import { ElMessage } from "element-plus";
|
|
5
5
|
import { Top, Bottom } from "@element-plus/icons-vue";
|
|
6
|
-
import { getColumnsWithGroupHeader } from "../../../../utils/data-table-util.js";
|
|
7
6
|
import eventBus from "../../../../utils/eventBus.js";
|
|
8
|
-
const _hoisted_1 = {
|
|
9
|
-
const _hoisted_2 =
|
|
7
|
+
const _hoisted_1 = { style: { "background-color": "rgba(88, 147, 239, 0.06)", "padding": "10px" } };
|
|
8
|
+
const _hoisted_2 = { key: 0 };
|
|
10
9
|
const _hoisted_3 = { key: 0 };
|
|
11
|
-
const _hoisted_4 = {
|
|
10
|
+
const _hoisted_4 = /* @__PURE__ */ createElementVNode("span", { style: { "color": "red" } }, "*", -1);
|
|
12
11
|
const _hoisted_5 = { key: 0 };
|
|
13
|
-
const _hoisted_6 = { key:
|
|
12
|
+
const _hoisted_6 = { key: 1 };
|
|
14
13
|
const _hoisted_7 = { key: 0 };
|
|
15
14
|
const _hoisted_8 = { key: 0 };
|
|
16
|
-
const _hoisted_9 = { key:
|
|
15
|
+
const _hoisted_9 = { key: 1 };
|
|
17
16
|
const _hoisted_10 = { key: 0 };
|
|
17
|
+
const _hoisted_11 = { key: 1 };
|
|
18
|
+
const _hoisted_12 = { key: 0 };
|
|
19
|
+
const _hoisted_13 = { key: 1 };
|
|
20
|
+
const _hoisted_14 = { key: 0 };
|
|
21
|
+
const _hoisted_15 = { key: 1 };
|
|
22
|
+
const _hoisted_16 = { key: 0 };
|
|
23
|
+
const _hoisted_17 = { key: 1 };
|
|
24
|
+
const _hoisted_18 = { key: 0 };
|
|
25
|
+
const _hoisted_19 = { key: 1 };
|
|
26
|
+
const _hoisted_20 = { key: 0 };
|
|
27
|
+
const _hoisted_21 = { key: 1 };
|
|
28
|
+
const _hoisted_22 = { key: 0 };
|
|
29
|
+
const _hoisted_23 = { key: 1 };
|
|
30
|
+
const _hoisted_24 = { key: 0 };
|
|
31
|
+
const _hoisted_25 = { key: 1 };
|
|
18
32
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
19
33
|
__name: "column-config",
|
|
20
34
|
props: {
|
|
@@ -22,6 +36,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
22
36
|
type: Object,
|
|
23
37
|
default: () => {
|
|
24
38
|
}
|
|
39
|
+
},
|
|
40
|
+
modelFields: {
|
|
41
|
+
type: Array,
|
|
42
|
+
default: null
|
|
43
|
+
},
|
|
44
|
+
// 页面信息
|
|
45
|
+
pageDesign: {
|
|
46
|
+
type: Object,
|
|
47
|
+
default: () => {
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
isChangeTable: {
|
|
51
|
+
type: Boolean,
|
|
52
|
+
default: false
|
|
25
53
|
}
|
|
26
54
|
},
|
|
27
55
|
emits: ["close", "setConfigure"],
|
|
@@ -29,66 +57,107 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
29
57
|
const props = __props;
|
|
30
58
|
const emit = __emit;
|
|
31
59
|
const tableData = ref([]);
|
|
60
|
+
const selRowUuid = ref(null);
|
|
61
|
+
const modelFieldsMap = {};
|
|
62
|
+
const tableHeight = ref(300);
|
|
63
|
+
const multipleSelection = ref([]);
|
|
64
|
+
let tempHeight = window.innerHeight - 110 - 20;
|
|
65
|
+
if (tempHeight > 500) {
|
|
66
|
+
tempHeight = 500;
|
|
67
|
+
} else if (tempHeight < 100) {
|
|
68
|
+
tempHeight = 100;
|
|
69
|
+
}
|
|
70
|
+
tableHeight.value = tempHeight;
|
|
32
71
|
if (props.configure) {
|
|
33
|
-
|
|
72
|
+
debugger;
|
|
73
|
+
if (props.isChangeTable) {
|
|
74
|
+
const fieldColumns = getFieldColumns();
|
|
75
|
+
tableData.value = fieldColumns ? fieldColumns : [];
|
|
76
|
+
} else {
|
|
77
|
+
tableData.value = JSON.parse(JSON.stringify(props.configure.items));
|
|
78
|
+
}
|
|
34
79
|
}
|
|
80
|
+
const formComponents = ref(getFormComponentOptions());
|
|
35
81
|
onMounted(() => {
|
|
36
82
|
eventBus.$emit("hadleDragging", true);
|
|
37
83
|
});
|
|
38
|
-
function
|
|
84
|
+
function getFieldColumns() {
|
|
85
|
+
if (!props.modelFields) {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
const fieldColumns = [];
|
|
89
|
+
let displayOrderStart = 0;
|
|
90
|
+
if (props.configure.props.base.selection) {
|
|
91
|
+
displayOrderStart++;
|
|
92
|
+
}
|
|
93
|
+
if (props.configure.props.base.showIndex) {
|
|
94
|
+
displayOrderStart++;
|
|
95
|
+
}
|
|
96
|
+
let fieldArr = [];
|
|
97
|
+
let baseFieldArr = [];
|
|
98
|
+
props.modelFields.forEach((attrbt) => {
|
|
99
|
+
modelFieldsMap[attrbt.dbColumnName] = attrbt;
|
|
100
|
+
if (attrbt.dbColumnName === "MODIFIER_NAME" || attrbt.dbColumnName === "MODIFIED_TIME") {
|
|
101
|
+
baseFieldArr.push(attrbt);
|
|
102
|
+
} else if (!attrbt.edit && attrbt.dbColumnName !== "operation") {
|
|
103
|
+
attrbt.displayOrder = displayOrderStart++;
|
|
104
|
+
fieldArr.push(getTableColumnConf(attrbt));
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
if (props.configure.props.base.selection) {
|
|
108
|
+
const selectionColumn = getTableSelectionConf();
|
|
109
|
+
fieldColumns.push(selectionColumn);
|
|
110
|
+
}
|
|
111
|
+
if (props.configure.props.base.showIndex) {
|
|
112
|
+
const indexColumn = getTableIndexConf();
|
|
113
|
+
fieldColumns.push(indexColumn);
|
|
114
|
+
}
|
|
115
|
+
fieldColumns.push(...fieldArr);
|
|
116
|
+
if (props.pageDesign.pageType && props.pageDesign.pageType === "list") {
|
|
117
|
+
displayOrderStart = fieldColumns.length;
|
|
118
|
+
const baseTableFieldArr = [];
|
|
119
|
+
baseFieldArr.forEach((field) => {
|
|
120
|
+
field.displayOrder = displayOrderStart++;
|
|
121
|
+
baseTableFieldArr.push(getTableColumnConf(field));
|
|
122
|
+
});
|
|
123
|
+
fieldColumns.push(...baseTableFieldArr);
|
|
124
|
+
}
|
|
125
|
+
if (props.configure.props.base.showOperation) {
|
|
126
|
+
let operation = getTableOperateConf();
|
|
127
|
+
operation.props.base.displayOrder = fieldColumns.length;
|
|
128
|
+
fieldColumns.push(operation);
|
|
129
|
+
}
|
|
130
|
+
return fieldColumns;
|
|
131
|
+
}
|
|
132
|
+
function onRowClick(obj) {
|
|
133
|
+
selRowUuid.value = obj.uuid;
|
|
134
|
+
}
|
|
135
|
+
function isCommonColumn(row) {
|
|
136
|
+
return isSelectionColumn(row) || row.props.base.prop === "$index" || row.props.base.prop === "operation";
|
|
137
|
+
}
|
|
138
|
+
function isDynamicColumn(row) {
|
|
139
|
+
return row.props.base.prop === "dynamicColumnSelect";
|
|
140
|
+
}
|
|
141
|
+
function isSelectionColumn(row) {
|
|
142
|
+
return row.props.base.prop === "$selection";
|
|
143
|
+
}
|
|
144
|
+
function confirmDialog() {
|
|
39
145
|
eventBus.$emit("hadleDragging", false);
|
|
40
|
-
emit("setConfigure", tableData.value);
|
|
146
|
+
emit("setConfigure", { columns: tableData.value, modelFieldsMap });
|
|
147
|
+
}
|
|
148
|
+
function closeDialog() {
|
|
149
|
+
emit("close");
|
|
41
150
|
}
|
|
42
151
|
function add() {
|
|
43
|
-
let obj =
|
|
44
|
-
uuid: getUuidv4(),
|
|
45
|
-
name: "",
|
|
46
|
-
props: {
|
|
47
|
-
base: { name: "", visible: true, tittleShow: true, displayOrder: 1, sortable: true },
|
|
48
|
-
size: {},
|
|
49
|
-
editLine: {
|
|
50
|
-
plugType: "input-text"
|
|
51
|
-
},
|
|
52
|
-
scan: {},
|
|
53
|
-
preSuffix: {},
|
|
54
|
-
verification: {},
|
|
55
|
-
dataOrigin: {
|
|
56
|
-
sortField: [{ name: "", type: "" }],
|
|
57
|
-
staticState: [{ label: "选项1", vaule: 1 }],
|
|
58
|
-
displayQuantity: 20
|
|
59
|
-
},
|
|
60
|
-
defaultValue: {},
|
|
61
|
-
inParameter: {},
|
|
62
|
-
title: {},
|
|
63
|
-
definition: {},
|
|
64
|
-
uploadConfig: {},
|
|
65
|
-
singleWidth: {},
|
|
66
|
-
suffixModule: {},
|
|
67
|
-
querySetting: {},
|
|
68
|
-
orgFields: [{ type: "", model: "" }],
|
|
69
|
-
format: { type: "", icon: "", suffixModule: { staticStates: [] }, jumpPageAdditional: { staticStates: [] } }
|
|
70
|
-
},
|
|
71
|
-
events: [
|
|
72
|
-
{ name: "show", label: "列表显示", tip: "列表显示回调方法" },
|
|
73
|
-
{ name: "hidden", label: "列表隐藏", tip: "列表隐藏回调方法" }
|
|
74
|
-
],
|
|
75
|
-
style: {
|
|
76
|
-
titleFont: {},
|
|
77
|
-
contentFont: {},
|
|
78
|
-
width: {},
|
|
79
|
-
background: {},
|
|
80
|
-
tableCell: [{ value: "", label: "" }],
|
|
81
|
-
conentPadding: {},
|
|
82
|
-
tittlePadding: {},
|
|
83
|
-
border: {},
|
|
84
|
-
shadow: {},
|
|
85
|
-
tittleClass: ""
|
|
86
|
-
}
|
|
87
|
-
};
|
|
152
|
+
let obj = getTableColumnConf();
|
|
88
153
|
tableData.value.push(obj);
|
|
154
|
+
setTimeout(() => {
|
|
155
|
+
selRowUuid.value = obj.uuid;
|
|
156
|
+
}, 20);
|
|
89
157
|
}
|
|
90
158
|
function remove(row) {
|
|
91
|
-
|
|
159
|
+
let index = queryIndex(row);
|
|
160
|
+
tableData.value.splice(index, 1);
|
|
92
161
|
}
|
|
93
162
|
function moveTop(rowItem) {
|
|
94
163
|
let sortIndex = queryIndex(rowItem);
|
|
@@ -97,6 +166,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
97
166
|
}
|
|
98
167
|
const items = tableData.value;
|
|
99
168
|
[items[sortIndex - 1], items[sortIndex]] = [items[sortIndex], items[sortIndex - 1]];
|
|
169
|
+
const sortIndexOrder = items[sortIndex].props.base.displayOrder;
|
|
170
|
+
const sortIndex1Order = items[sortIndex - 1].props.base.displayOrder;
|
|
171
|
+
items[sortIndex].props.base.displayOrder = sortIndex1Order;
|
|
172
|
+
items[sortIndex - 1].props.base.displayOrder = sortIndexOrder;
|
|
100
173
|
}
|
|
101
174
|
function queryIndex(rowItem) {
|
|
102
175
|
let sortIndex = -1;
|
|
@@ -116,6 +189,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
116
189
|
}
|
|
117
190
|
const items = tableData.value;
|
|
118
191
|
[items[sortIndex], items[sortIndex + 1]] = [items[sortIndex + 1], items[sortIndex]];
|
|
192
|
+
const sortIndexOrder = items[sortIndex].props.base.displayOrder;
|
|
193
|
+
const sortIndex1Order = items[sortIndex + 1].props.base.displayOrder;
|
|
194
|
+
items[sortIndex].props.base.displayOrder = sortIndex1Order;
|
|
195
|
+
items[sortIndex + 1].props.base.displayOrder = sortIndexOrder;
|
|
119
196
|
}
|
|
120
197
|
function getTableHeaderName(item) {
|
|
121
198
|
let nameValue = "";
|
|
@@ -128,168 +205,281 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
128
205
|
}
|
|
129
206
|
return nameValue;
|
|
130
207
|
}
|
|
208
|
+
function changeField(row) {
|
|
209
|
+
const fields = props.modelFields.filter((field) => field.dbColumnName === row.props.base.prop);
|
|
210
|
+
if (fields && fields.length > 0) {
|
|
211
|
+
row.props.base.name = fields[0].alias;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
function batchDelete() {
|
|
215
|
+
let isHasCommon = false;
|
|
216
|
+
let indexArr = [];
|
|
217
|
+
multipleSelection.value.forEach((row) => {
|
|
218
|
+
if (isCommonColumn(row)) {
|
|
219
|
+
isHasCommon = true;
|
|
220
|
+
} else {
|
|
221
|
+
indexArr.push(queryIndex(row));
|
|
222
|
+
}
|
|
223
|
+
});
|
|
224
|
+
indexArr.sort((a, b) => b - a);
|
|
225
|
+
indexArr.forEach((index) => {
|
|
226
|
+
tableData.value.splice(index, 1);
|
|
227
|
+
});
|
|
228
|
+
if (isHasCommon) {
|
|
229
|
+
ElMessage.warning("复选框、序号、操作列不能删除,其它列已删除成功");
|
|
230
|
+
} else {
|
|
231
|
+
ElMessage.success("删除成功");
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
function handleSelectionChange(val) {
|
|
235
|
+
multipleSelection.value = val;
|
|
236
|
+
}
|
|
237
|
+
function resetOrder() {
|
|
238
|
+
for (let i = 0; i < tableData.value.length; i++) {
|
|
239
|
+
const row = tableData.value[i];
|
|
240
|
+
row.props.base.displayOrder = i;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
function changeEditPlugType(row) {
|
|
244
|
+
row.name = row.props.editLine.plugType;
|
|
245
|
+
}
|
|
131
246
|
return (_ctx, _cache) => {
|
|
132
|
-
const _component_el_table_column = resolveComponent("el-table-column");
|
|
133
247
|
const _component_el_button = resolveComponent("el-button");
|
|
248
|
+
const _component_el_table_column = resolveComponent("el-table-column");
|
|
134
249
|
const _component_el_icon = resolveComponent("el-icon");
|
|
135
|
-
const
|
|
250
|
+
const _component_Plus = resolveComponent("Plus");
|
|
251
|
+
const _component_Delete = resolveComponent("Delete");
|
|
136
252
|
const _component_el_option = resolveComponent("el-option");
|
|
137
253
|
const _component_el_select = resolveComponent("el-select");
|
|
254
|
+
const _component_el_input = resolveComponent("el-input");
|
|
138
255
|
const _component_el_switch = resolveComponent("el-switch");
|
|
139
256
|
const _component_el_table = resolveComponent("el-table");
|
|
140
257
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
141
258
|
return openBlock(), createElementBlock("div", null, [
|
|
142
259
|
createVNode(_component_el_dialog, {
|
|
260
|
+
"append-to-body": "",
|
|
143
261
|
"model-value": "",
|
|
144
262
|
title: "快捷设置",
|
|
145
263
|
width: "70%",
|
|
146
264
|
"close-on-click-modal": false,
|
|
147
|
-
"before-close":
|
|
265
|
+
"before-close": closeDialog
|
|
148
266
|
}, {
|
|
149
267
|
default: withCtx(() => [
|
|
268
|
+
createElementVNode("div", _hoisted_1, [
|
|
269
|
+
createVNode(_component_el_button, {
|
|
270
|
+
type: "primary",
|
|
271
|
+
style: { "margin-left": "10px" },
|
|
272
|
+
icon: _ctx.Search,
|
|
273
|
+
onClick: confirmDialog
|
|
274
|
+
}, {
|
|
275
|
+
default: withCtx(() => [
|
|
276
|
+
createTextVNode("确定")
|
|
277
|
+
]),
|
|
278
|
+
_: 1
|
|
279
|
+
}, 8, ["icon"]),
|
|
280
|
+
createVNode(_component_el_button, {
|
|
281
|
+
style: { "margin-left": "10px" },
|
|
282
|
+
icon: _ctx.Delete,
|
|
283
|
+
onClick: batchDelete
|
|
284
|
+
}, {
|
|
285
|
+
default: withCtx(() => [
|
|
286
|
+
createTextVNode("删除")
|
|
287
|
+
]),
|
|
288
|
+
_: 1
|
|
289
|
+
}, 8, ["icon"]),
|
|
290
|
+
createVNode(_component_el_button, {
|
|
291
|
+
style: { "margin-left": "10px" },
|
|
292
|
+
icon: _ctx.Delete,
|
|
293
|
+
onClick: resetOrder
|
|
294
|
+
}, {
|
|
295
|
+
default: withCtx(() => [
|
|
296
|
+
createTextVNode("重置顺序")
|
|
297
|
+
]),
|
|
298
|
+
_: 1
|
|
299
|
+
}, 8, ["icon"]),
|
|
300
|
+
createVNode(_component_el_button, {
|
|
301
|
+
style: { "margin-left": "10px" },
|
|
302
|
+
icon: _ctx.RefreshLeft,
|
|
303
|
+
onClick: closeDialog
|
|
304
|
+
}, {
|
|
305
|
+
default: withCtx(() => [
|
|
306
|
+
createTextVNode("取消")
|
|
307
|
+
]),
|
|
308
|
+
_: 1
|
|
309
|
+
}, 8, ["icon"])
|
|
310
|
+
]),
|
|
150
311
|
createVNode(_component_el_table, {
|
|
312
|
+
border: "",
|
|
151
313
|
data: tableData.value,
|
|
152
314
|
"row-key": "uuid",
|
|
315
|
+
"max-height": tableHeight.value,
|
|
153
316
|
style: { "width": "100%" },
|
|
154
|
-
|
|
317
|
+
onRowClick,
|
|
318
|
+
onSelectionChange: handleSelectionChange
|
|
155
319
|
}, {
|
|
156
320
|
default: withCtx(() => [
|
|
321
|
+
createVNode(_component_el_table_column, {
|
|
322
|
+
type: "selection",
|
|
323
|
+
align: "center",
|
|
324
|
+
width: "50"
|
|
325
|
+
}),
|
|
157
326
|
createVNode(_component_el_table_column, {
|
|
158
327
|
type: "index",
|
|
159
328
|
label: "序号",
|
|
160
329
|
align: "center",
|
|
161
|
-
width: "
|
|
330
|
+
width: "50"
|
|
162
331
|
}),
|
|
163
332
|
createVNode(_component_el_table_column, {
|
|
164
333
|
label: "操作",
|
|
165
334
|
align: "center",
|
|
166
|
-
width: "
|
|
335
|
+
width: "90"
|
|
167
336
|
}, {
|
|
168
337
|
default: withCtx((scope) => [
|
|
169
|
-
!scope.row.children || scope.row.children.length == 0 ? (openBlock(), createElementBlock("span",
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
338
|
+
!scope.row.children || scope.row.children.length == 0 ? (openBlock(), createElementBlock("span", _hoisted_2, [
|
|
339
|
+
!isCommonColumn(scope.row) ? (openBlock(), createBlock(_component_el_icon, {
|
|
340
|
+
key: 0,
|
|
341
|
+
size: "14",
|
|
342
|
+
style: { "cursor": "pointer" },
|
|
343
|
+
onClick: ($event) => moveTop(scope.row)
|
|
344
|
+
}, {
|
|
345
|
+
default: withCtx(() => [
|
|
346
|
+
createVNode(unref(Top))
|
|
347
|
+
]),
|
|
348
|
+
_: 2
|
|
349
|
+
}, 1032, ["onClick"])) : createCommentVNode("", true),
|
|
350
|
+
!isCommonColumn(scope.row) ? (openBlock(), createBlock(_component_el_icon, {
|
|
351
|
+
key: 1,
|
|
352
|
+
size: "14",
|
|
353
|
+
style: { "margin-left": "2px", "cursor": "pointer" },
|
|
354
|
+
onClick: ($event) => moveToBottom(scope.row)
|
|
174
355
|
}, {
|
|
175
356
|
default: withCtx(() => [
|
|
176
|
-
|
|
357
|
+
createVNode(unref(Bottom))
|
|
177
358
|
]),
|
|
178
|
-
_:
|
|
179
|
-
}),
|
|
180
|
-
createVNode(
|
|
181
|
-
|
|
182
|
-
|
|
359
|
+
_: 2
|
|
360
|
+
}, 1032, ["onClick"])) : createCommentVNode("", true),
|
|
361
|
+
createVNode(_component_el_icon, {
|
|
362
|
+
size: "14",
|
|
363
|
+
style: { "cursor": "pointer" },
|
|
364
|
+
onClick: ($event) => add(scope.row)
|
|
365
|
+
}, {
|
|
366
|
+
default: withCtx(() => [
|
|
367
|
+
createVNode(_component_Plus)
|
|
368
|
+
]),
|
|
369
|
+
_: 2
|
|
370
|
+
}, 1032, ["onClick"]),
|
|
371
|
+
!isCommonColumn(scope.row) ? (openBlock(), createBlock(_component_el_icon, {
|
|
372
|
+
key: 2,
|
|
373
|
+
size: "14",
|
|
374
|
+
style: { "margin-left": "2px", "cursor": "pointer" },
|
|
183
375
|
onClick: ($event) => remove(scope.row)
|
|
184
376
|
}, {
|
|
185
377
|
default: withCtx(() => [
|
|
186
|
-
|
|
378
|
+
createVNode(_component_Delete)
|
|
187
379
|
]),
|
|
188
380
|
_: 2
|
|
189
|
-
}, 1032, ["onClick"])
|
|
381
|
+
}, 1032, ["onClick"])) : createCommentVNode("", true)
|
|
190
382
|
])) : createCommentVNode("", true)
|
|
191
383
|
]),
|
|
192
384
|
_: 1
|
|
193
385
|
}),
|
|
194
|
-
createVNode(_component_el_table_column, {
|
|
386
|
+
createVNode(_component_el_table_column, {
|
|
387
|
+
label: "字段",
|
|
388
|
+
width: "150"
|
|
389
|
+
}, {
|
|
195
390
|
default: withCtx((scope) => [
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
createVNode(unref(Top))
|
|
203
|
-
]),
|
|
204
|
-
_: 2
|
|
205
|
-
}, 1032, ["onClick"]),
|
|
206
|
-
createVNode(_component_el_icon, {
|
|
207
|
-
size: "14",
|
|
208
|
-
style: { "margin-left": "2px", "cursor": "pointer" },
|
|
209
|
-
onClick: ($event) => moveToBottom(scope.row)
|
|
391
|
+
scope.row.uuid != selRowUuid.value || isCommonColumn(scope.row) ? (openBlock(), createElementBlock("label", _hoisted_3, toDisplayString(scope.row.props.base.prop), 1)) : !scope.row.children || scope.row.children.length == 0 ? (openBlock(), createBlock(_component_el_select, {
|
|
392
|
+
key: 1,
|
|
393
|
+
modelValue: scope.row.props.base.prop,
|
|
394
|
+
"onUpdate:modelValue": ($event) => scope.row.props.base.prop = $event,
|
|
395
|
+
placeholder: "请选择",
|
|
396
|
+
onChange: ($event) => changeField(scope.row)
|
|
210
397
|
}, {
|
|
211
398
|
default: withCtx(() => [
|
|
212
|
-
|
|
399
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.modelFields, (item) => {
|
|
400
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
401
|
+
key: item.name,
|
|
402
|
+
label: item.alias,
|
|
403
|
+
value: item.dbColumnName
|
|
404
|
+
}, null, 8, ["label", "value"]);
|
|
405
|
+
}), 128))
|
|
213
406
|
]),
|
|
214
407
|
_: 2
|
|
215
|
-
}, 1032, ["
|
|
408
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : createCommentVNode("", true)
|
|
216
409
|
]),
|
|
217
410
|
_: 1
|
|
218
411
|
}),
|
|
219
|
-
createVNode(_component_el_table_column, {
|
|
412
|
+
createVNode(_component_el_table_column, { width: "150" }, {
|
|
220
413
|
header: withCtx(() => [
|
|
221
|
-
createTextVNode("
|
|
222
|
-
|
|
414
|
+
createTextVNode(" 标题 "),
|
|
415
|
+
_hoisted_4
|
|
223
416
|
]),
|
|
224
417
|
default: withCtx((scope) => [
|
|
225
|
-
scope.row.children && scope.row.children.length > 0 ? (openBlock(), createElementBlock("span",
|
|
226
|
-
|
|
418
|
+
scope.row.children && scope.row.children.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(getTableHeaderName(scope.row)), 1)) : (openBlock(), createElementBlock("span", _hoisted_6, [
|
|
419
|
+
scope.row.uuid != selRowUuid.value || isDynamicColumn(scope.row) || isSelectionColumn(scope.row) ? (openBlock(), createElementBlock("label", _hoisted_7, toDisplayString(scope.row.props.base.name), 1)) : (openBlock(), createBlock(_component_el_input, {
|
|
420
|
+
key: 1,
|
|
227
421
|
modelValue: scope.row.props.base.name,
|
|
228
422
|
"onUpdate:modelValue": ($event) => scope.row.props.base.name = $event
|
|
229
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
423
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
230
424
|
]))
|
|
231
425
|
]),
|
|
232
426
|
_: 1
|
|
233
427
|
}),
|
|
234
|
-
createVNode(_component_el_table_column, {
|
|
235
|
-
label: "变量名",
|
|
236
|
-
align: "center"
|
|
237
|
-
}, {
|
|
428
|
+
createVNode(_component_el_table_column, { label: "显示" }, {
|
|
238
429
|
default: withCtx((scope) => [
|
|
239
|
-
!scope.row.children || scope.row.children.length == 0 ? (openBlock(),
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
default: withCtx(() => [
|
|
246
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.configure.modelFields, (item) => {
|
|
247
|
-
return openBlock(), createBlock(_component_el_option, {
|
|
248
|
-
key: item.name,
|
|
249
|
-
label: item.alias,
|
|
250
|
-
value: item.dbColumnName
|
|
251
|
-
}, null, 8, ["label", "value"]);
|
|
252
|
-
}), 128))
|
|
253
|
-
]),
|
|
254
|
-
_: 2
|
|
255
|
-
}, 1032, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("", true)
|
|
430
|
+
scope.row.uuid != selRowUuid.value || isCommonColumn(scope.row) || isDynamicColumn(scope.row) ? (openBlock(), createElementBlock("label", _hoisted_8, toDisplayString(scope.row.props.base.visible), 1)) : !scope.row.children || scope.row.children.length == 0 ? (openBlock(), createElementBlock("span", _hoisted_9, [
|
|
431
|
+
createVNode(_component_el_switch, {
|
|
432
|
+
modelValue: scope.row.props.base.visible,
|
|
433
|
+
"onUpdate:modelValue": ($event) => scope.row.props.base.visible = $event
|
|
434
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
435
|
+
])) : createCommentVNode("", true)
|
|
256
436
|
]),
|
|
257
437
|
_: 1
|
|
258
438
|
}),
|
|
259
|
-
createVNode(_component_el_table_column, {
|
|
260
|
-
label: "显示",
|
|
261
|
-
align: "center"
|
|
262
|
-
}, {
|
|
439
|
+
createVNode(_component_el_table_column, { label: "显示顺序" }, {
|
|
263
440
|
default: withCtx((scope) => [
|
|
264
|
-
!scope.row.children || scope.row.children.length == 0 ? (openBlock(), createElementBlock("span",
|
|
441
|
+
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label", _hoisted_10, toDisplayString(scope.row.props.base.displayOrder), 1)) : !scope.row.children || scope.row.children.length == 0 ? (openBlock(), createElementBlock("span", _hoisted_11, [
|
|
442
|
+
createVNode(_component_el_input, {
|
|
443
|
+
modelValue: scope.row.props.base.displayOrder,
|
|
444
|
+
"onUpdate:modelValue": ($event) => scope.row.props.base.displayOrder = $event,
|
|
445
|
+
modelModifiers: { number: true },
|
|
446
|
+
placeholder: "请输入"
|
|
447
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
448
|
+
])) : createCommentVNode("", true)
|
|
449
|
+
]),
|
|
450
|
+
_: 1
|
|
451
|
+
}),
|
|
452
|
+
createVNode(_component_el_table_column, { label: "导出" }, {
|
|
453
|
+
default: withCtx((scope) => [
|
|
454
|
+
scope.row.uuid != selRowUuid.value || isCommonColumn(scope.row) || isDynamicColumn(scope.row) ? (openBlock(), createElementBlock("label", _hoisted_12, toDisplayString(scope.row.props.base.exportable), 1)) : !scope.row.children || scope.row.children.length == 0 ? (openBlock(), createElementBlock("span", _hoisted_13, [
|
|
265
455
|
createVNode(_component_el_switch, {
|
|
266
|
-
modelValue: scope.row.props.base.
|
|
267
|
-
"onUpdate:modelValue": ($event) => scope.row.props.base.
|
|
456
|
+
modelValue: scope.row.props.base.exportable,
|
|
457
|
+
"onUpdate:modelValue": ($event) => scope.row.props.base.exportable = $event
|
|
268
458
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
269
459
|
])) : createCommentVNode("", true)
|
|
270
460
|
]),
|
|
271
461
|
_: 1
|
|
272
462
|
}),
|
|
273
|
-
createVNode(_component_el_table_column, {
|
|
274
|
-
label: "编辑组件",
|
|
275
|
-
align: "center"
|
|
276
|
-
}, {
|
|
463
|
+
createVNode(_component_el_table_column, { label: "查询设置" }, {
|
|
277
464
|
default: withCtx((scope) => [
|
|
278
|
-
!scope.row.children || scope.row.children.length == 0 ? (openBlock(), createElementBlock("span",
|
|
465
|
+
scope.row.uuid != selRowUuid.value || isCommonColumn(scope.row) || isDynamicColumn(scope.row) ? (openBlock(), createElementBlock("label", _hoisted_14, toDisplayString(scope.row.props.base.querySettingName), 1)) : !scope.row.children || scope.row.children.length == 0 ? (openBlock(), createElementBlock("span", _hoisted_15, [
|
|
279
466
|
createVNode(_component_el_select, {
|
|
280
|
-
modelValue: scope.row.
|
|
281
|
-
"onUpdate:modelValue": ($event) => scope.row.
|
|
282
|
-
placeholder: "请选择",
|
|
283
|
-
clearable: ""
|
|
467
|
+
modelValue: scope.row.props.base.querySettingName,
|
|
468
|
+
"onUpdate:modelValue": ($event) => scope.row.props.base.querySettingName = $event
|
|
284
469
|
}, {
|
|
285
470
|
default: withCtx(() => [
|
|
286
|
-
(
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
471
|
+
createVNode(_component_el_option, {
|
|
472
|
+
label: "不查询",
|
|
473
|
+
value: "no"
|
|
474
|
+
}),
|
|
475
|
+
createVNode(_component_el_option, {
|
|
476
|
+
label: "普通查询",
|
|
477
|
+
value: "normal"
|
|
478
|
+
}),
|
|
479
|
+
createVNode(_component_el_option, {
|
|
480
|
+
label: "高级查询",
|
|
481
|
+
value: "advanced"
|
|
482
|
+
})
|
|
293
483
|
]),
|
|
294
484
|
_: 2
|
|
295
485
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -297,26 +487,45 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
297
487
|
]),
|
|
298
488
|
_: 1
|
|
299
489
|
}),
|
|
300
|
-
createVNode(_component_el_table_column, {
|
|
301
|
-
label: "导出",
|
|
302
|
-
align: "center"
|
|
303
|
-
}, {
|
|
490
|
+
createVNode(_component_el_table_column, { label: "编辑" }, {
|
|
304
491
|
default: withCtx((scope) => [
|
|
305
|
-
!scope.row.children || scope.row.children.length == 0 ? (openBlock(), createElementBlock("span",
|
|
492
|
+
scope.row.uuid != selRowUuid.value || isCommonColumn(scope.row) || isDynamicColumn(scope.row) ? (openBlock(), createElementBlock("label", _hoisted_16, toDisplayString(scope.row.props.editLine.editable), 1)) : !scope.row.children || scope.row.children.length == 0 ? (openBlock(), createElementBlock("span", _hoisted_17, [
|
|
306
493
|
createVNode(_component_el_switch, {
|
|
307
|
-
modelValue: scope.row.props.
|
|
308
|
-
"onUpdate:modelValue": ($event) => scope.row.props.
|
|
494
|
+
modelValue: scope.row.props.editLine.editable,
|
|
495
|
+
"onUpdate:modelValue": ($event) => scope.row.props.editLine.editable = $event
|
|
309
496
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
310
497
|
])) : createCommentVNode("", true)
|
|
311
498
|
]),
|
|
312
499
|
_: 1
|
|
313
500
|
}),
|
|
314
|
-
createVNode(_component_el_table_column, {
|
|
315
|
-
label: "标题对齐",
|
|
316
|
-
align: "center"
|
|
317
|
-
}, {
|
|
501
|
+
createVNode(_component_el_table_column, { label: "编辑组件" }, {
|
|
318
502
|
default: withCtx((scope) => [
|
|
319
|
-
!scope.row.children || scope.row.children.length == 0 ? (openBlock(), createElementBlock("span",
|
|
503
|
+
scope.row.uuid != selRowUuid.value || isCommonColumn(scope.row) || isDynamicColumn(scope.row) ? (openBlock(), createElementBlock("label", _hoisted_18, toDisplayString(scope.row.props.editLine.plugType), 1)) : !scope.row.children || scope.row.children.length == 0 ? (openBlock(), createElementBlock("span", _hoisted_19, [
|
|
504
|
+
createVNode(_component_el_select, {
|
|
505
|
+
modelValue: scope.row.props.editLine.plugType,
|
|
506
|
+
"onUpdate:modelValue": ($event) => scope.row.props.editLine.plugType = $event,
|
|
507
|
+
placeholder: "请选择",
|
|
508
|
+
clearable: "",
|
|
509
|
+
onChange: ($event) => changeEditPlugType(scope.row)
|
|
510
|
+
}, {
|
|
511
|
+
default: withCtx(() => [
|
|
512
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(formComponents.value, (item) => {
|
|
513
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
514
|
+
key: item.name,
|
|
515
|
+
label: item.label,
|
|
516
|
+
value: item.name
|
|
517
|
+
}, null, 8, ["label", "value"]);
|
|
518
|
+
}), 128))
|
|
519
|
+
]),
|
|
520
|
+
_: 2
|
|
521
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
522
|
+
])) : createCommentVNode("", true)
|
|
523
|
+
]),
|
|
524
|
+
_: 1
|
|
525
|
+
}),
|
|
526
|
+
createVNode(_component_el_table_column, { label: "标题对齐" }, {
|
|
527
|
+
default: withCtx((scope) => [
|
|
528
|
+
scope.row.uuid != selRowUuid.value || isDynamicColumn(scope.row) ? (openBlock(), createElementBlock("label", _hoisted_20, toDisplayString(scope.row.props.base.alignTittle), 1)) : !scope.row.children || scope.row.children.length == 0 ? (openBlock(), createElementBlock("span", _hoisted_21, [
|
|
320
529
|
createVNode(_component_el_select, {
|
|
321
530
|
modelValue: scope.row.props.base.alignTittle,
|
|
322
531
|
"onUpdate:modelValue": ($event) => scope.row.props.base.alignTittle = $event
|
|
@@ -347,12 +556,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
347
556
|
]),
|
|
348
557
|
_: 1
|
|
349
558
|
}),
|
|
350
|
-
createVNode(_component_el_table_column, {
|
|
351
|
-
label: "内容对齐",
|
|
352
|
-
align: "center"
|
|
353
|
-
}, {
|
|
559
|
+
createVNode(_component_el_table_column, { label: "内容对齐" }, {
|
|
354
560
|
default: withCtx((scope) => [
|
|
355
|
-
!scope.row.children || scope.row.children.length == 0 ? (openBlock(), createElementBlock("span",
|
|
561
|
+
scope.row.uuid != selRowUuid.value || isDynamicColumn(scope.row) ? (openBlock(), createElementBlock("label", _hoisted_22, toDisplayString(scope.row.props.base.alignContent), 1)) : !scope.row.children || scope.row.children.length == 0 ? (openBlock(), createElementBlock("span", _hoisted_23, [
|
|
356
562
|
createVNode(_component_el_select, {
|
|
357
563
|
modelValue: scope.row.props.base.alignContent,
|
|
358
564
|
"onUpdate:modelValue": ($event) => scope.row.props.base.alignContent = $event
|
|
@@ -383,12 +589,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
383
589
|
]),
|
|
384
590
|
_: 1
|
|
385
591
|
}),
|
|
386
|
-
createVNode(_component_el_table_column, {
|
|
387
|
-
label: "固定列",
|
|
388
|
-
align: "center"
|
|
389
|
-
}, {
|
|
592
|
+
createVNode(_component_el_table_column, { label: "固定列" }, {
|
|
390
593
|
default: withCtx((scope) => [
|
|
391
|
-
!scope.row.children || scope.row.children.length == 0 ? (openBlock(), createElementBlock("span",
|
|
594
|
+
scope.row.uuid != selRowUuid.value || isDynamicColumn(scope.row) ? (openBlock(), createElementBlock("label", _hoisted_24, toDisplayString(scope.row.props.base.listColumnFixed), 1)) : !scope.row.children || scope.row.children.length == 0 ? (openBlock(), createElementBlock("span", _hoisted_25, [
|
|
392
595
|
createVNode(_component_el_select, {
|
|
393
596
|
modelValue: scope.row.props.base.listColumnFixed,
|
|
394
597
|
"onUpdate:modelValue": ($event) => scope.row.props.base.listColumnFixed = $event
|
|
@@ -415,7 +618,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
415
618
|
})
|
|
416
619
|
]),
|
|
417
620
|
_: 1
|
|
418
|
-
}, 8, ["data"])
|
|
621
|
+
}, 8, ["data", "max-height"])
|
|
419
622
|
]),
|
|
420
623
|
_: 1
|
|
421
624
|
})
|