super-page-designer 2.0.41 → 2.0.48
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 +60 -90
- 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 +2 -2
- 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/dataorigin-input-table.vue.js +152 -1
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +1 -152
- 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 +81 -81
- 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
package/dist/es/components/design/views/assemblys/chart/scatter/series/scatter-series-data.vue.js
CHANGED
|
@@ -4,8 +4,17 @@ const _hoisted_2 = { style: { "float": "left" } };
|
|
|
4
4
|
const _hoisted_3 = { style: { "float": "right", "color": "var(--el-text-color-secondary)", "font-size": "13px" } };
|
|
5
5
|
const _hoisted_4 = { style: { "float": "left" } };
|
|
6
6
|
const _hoisted_5 = { style: { "float": "right", "color": "var(--el-text-color-secondary)", "font-size": "13px" } };
|
|
7
|
-
const _hoisted_6 =
|
|
8
|
-
const _hoisted_7 =
|
|
7
|
+
const _hoisted_6 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
8
|
+
const _hoisted_7 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
9
|
+
const _hoisted_8 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
10
|
+
const _hoisted_9 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
11
|
+
const _hoisted_10 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
12
|
+
const _hoisted_11 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
13
|
+
const _hoisted_12 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
14
|
+
const _hoisted_13 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
15
|
+
const _hoisted_14 = { style: { "width": "100%", "padding-left": "20px" } };
|
|
16
|
+
const _hoisted_15 = { style: { "float": "left" } };
|
|
17
|
+
const _hoisted_16 = { style: { "float": "right", "color": "var(--el-text-color-secondary)", "font-size": "13px" } };
|
|
9
18
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
19
|
__name: "scatter-series-data",
|
|
11
20
|
props: {
|
|
@@ -53,6 +62,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
53
62
|
const _component_el_option = resolveComponent("el-option");
|
|
54
63
|
const _component_el_select = resolveComponent("el-select");
|
|
55
64
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
65
|
+
const _component_el_radio = resolveComponent("el-radio");
|
|
66
|
+
const _component_QuestionFilled = resolveComponent("QuestionFilled");
|
|
67
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
68
|
+
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
69
|
+
const _component_el_input = resolveComponent("el-input");
|
|
70
|
+
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
56
71
|
const _component_el_text = resolveComponent("el-text");
|
|
57
72
|
const _component_el_collapse_item = resolveComponent("el-collapse-item");
|
|
58
73
|
return openBlock(), createBlock(_component_el_collapse_item, {
|
|
@@ -98,51 +113,117 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
98
113
|
]),
|
|
99
114
|
_: 1
|
|
100
115
|
}),
|
|
101
|
-
createVNode(
|
|
102
|
-
|
|
103
|
-
|
|
116
|
+
createVNode(_component_el_radio_group, {
|
|
117
|
+
modelValue: __props.configure.props.yaxisSource,
|
|
118
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => __props.configure.props.yaxisSource = $event)
|
|
104
119
|
}, {
|
|
105
120
|
default: withCtx(() => [
|
|
106
|
-
createVNode(
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
121
|
+
createVNode(_component_el_form_item, { style: { "margin-top": "-10px" } }, {
|
|
122
|
+
label: withCtx(() => [
|
|
123
|
+
createVNode(_component_el_radio, { value: "variable" }, {
|
|
124
|
+
default: withCtx(() => [
|
|
125
|
+
createTextVNode("数据字段")
|
|
126
|
+
]),
|
|
127
|
+
_: 1
|
|
128
|
+
})
|
|
129
|
+
]),
|
|
130
|
+
default: withCtx(() => [
|
|
131
|
+
createVNode(_component_el_select, {
|
|
132
|
+
size: "small",
|
|
133
|
+
disabled: __props.configure.props.yaxisSource !== "variable",
|
|
134
|
+
modelValue: __props.configure.props.yaxisField,
|
|
135
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.configure.props.yaxisField = $event),
|
|
136
|
+
title: __props.configure.props.yaxisField,
|
|
137
|
+
style: { "width": "160px" },
|
|
138
|
+
filterable: "",
|
|
139
|
+
"allow-create": "",
|
|
140
|
+
clearable: "",
|
|
141
|
+
placeholder: "请选择"
|
|
142
|
+
}, {
|
|
143
|
+
default: withCtx(() => [
|
|
144
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(sourceFields.value, (item) => {
|
|
145
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
146
|
+
key: item.value,
|
|
147
|
+
label: item.label,
|
|
148
|
+
value: item.value
|
|
149
|
+
}, {
|
|
150
|
+
default: withCtx(() => [
|
|
151
|
+
createElementVNode("span", _hoisted_4, toDisplayString(item.label), 1),
|
|
152
|
+
createElementVNode("span", _hoisted_5, toDisplayString(item.type), 1)
|
|
153
|
+
]),
|
|
154
|
+
_: 2
|
|
155
|
+
}, 1032, ["label", "value"]);
|
|
156
|
+
}), 128))
|
|
157
|
+
]),
|
|
158
|
+
_: 1
|
|
159
|
+
}, 8, ["disabled", "modelValue", "title"])
|
|
160
|
+
]),
|
|
161
|
+
_: 1
|
|
162
|
+
}),
|
|
163
|
+
createVNode(_component_el_radio, {
|
|
164
|
+
value: "formula",
|
|
165
|
+
style: { "margin-top": "-10px" }
|
|
116
166
|
}, {
|
|
117
167
|
default: withCtx(() => [
|
|
118
|
-
(
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
168
|
+
createTextVNode("计算公式 "),
|
|
169
|
+
createVNode(_component_el_tooltip, {
|
|
170
|
+
class: "box-item",
|
|
171
|
+
effect: "dark",
|
|
172
|
+
placement: "top-start"
|
|
173
|
+
}, {
|
|
174
|
+
content: withCtx(() => [
|
|
175
|
+
createTextVNode("字段值: ${row.字段名}"),
|
|
176
|
+
_hoisted_6,
|
|
177
|
+
createTextVNode(" 最大值: ${max.字段名}"),
|
|
178
|
+
_hoisted_7,
|
|
179
|
+
createTextVNode(" 求和: ${sum.字段名}"),
|
|
180
|
+
_hoisted_8,
|
|
181
|
+
createTextVNode(" 均值: ${avg.字段名}"),
|
|
182
|
+
_hoisted_9,
|
|
183
|
+
createTextVNode(" 最小值: ${min.字段名}"),
|
|
184
|
+
_hoisted_10,
|
|
185
|
+
createTextVNode(" 最大值: ${max.字段名}"),
|
|
186
|
+
_hoisted_11,
|
|
187
|
+
createTextVNode(" 累计值: ${add.字段名}"),
|
|
188
|
+
_hoisted_12,
|
|
189
|
+
createTextVNode(" 其他可用变量如${page},${data},${task},${request},${context},${system}"),
|
|
190
|
+
_hoisted_13
|
|
191
|
+
]),
|
|
192
|
+
default: withCtx(() => [
|
|
193
|
+
createVNode(_component_el_icon, { size: "16" }, {
|
|
194
|
+
default: withCtx(() => [
|
|
195
|
+
createVNode(_component_QuestionFilled)
|
|
196
|
+
]),
|
|
197
|
+
_: 1
|
|
198
|
+
})
|
|
199
|
+
]),
|
|
200
|
+
_: 1
|
|
201
|
+
})
|
|
131
202
|
]),
|
|
132
203
|
_: 1
|
|
133
|
-
},
|
|
204
|
+
}),
|
|
205
|
+
createElementVNode("div", _hoisted_14, [
|
|
206
|
+
createVNode(_component_el_input, {
|
|
207
|
+
modelValue: __props.configure.props.formula,
|
|
208
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => __props.configure.props.formula = $event),
|
|
209
|
+
disabled: __props.configure.props.yaxisSource != "formula",
|
|
210
|
+
rows: 4,
|
|
211
|
+
type: "textarea",
|
|
212
|
+
placeholder: "支持三元表达式,支持JS函数,如 return ${row.字段名}/${sum.字段名}*100"
|
|
213
|
+
}, null, 8, ["modelValue", "disabled"])
|
|
214
|
+
])
|
|
134
215
|
]),
|
|
135
216
|
_: 1
|
|
136
|
-
}),
|
|
217
|
+
}, 8, ["modelValue"]),
|
|
137
218
|
createVNode(_component_el_form_item, {
|
|
138
219
|
label: "图形尺寸",
|
|
139
|
-
style: { "margin-top": "
|
|
220
|
+
style: { "margin-top": "10px", "margin-bottom": "-15px" }
|
|
140
221
|
}, {
|
|
141
222
|
default: withCtx(() => [
|
|
142
223
|
createVNode(_component_el_select, {
|
|
143
224
|
size: "small",
|
|
144
225
|
modelValue: __props.configure.props.sizeField,
|
|
145
|
-
"onUpdate:modelValue": _cache[
|
|
226
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => __props.configure.props.sizeField = $event),
|
|
146
227
|
style: { "width": "160px" },
|
|
147
228
|
filterable: "",
|
|
148
229
|
"allow-create": "",
|
|
@@ -157,8 +238,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
157
238
|
value: item.value
|
|
158
239
|
}, {
|
|
159
240
|
default: withCtx(() => [
|
|
160
|
-
createElementVNode("span",
|
|
161
|
-
createElementVNode("span",
|
|
241
|
+
createElementVNode("span", _hoisted_15, toDisplayString(item.label), 1),
|
|
242
|
+
createElementVNode("span", _hoisted_16, toDisplayString(item.type), 1)
|
|
162
243
|
]),
|
|
163
244
|
_: 2
|
|
164
245
|
}, 1032, ["label", "value"]);
|
package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js
CHANGED
|
@@ -14,6 +14,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
14
14
|
title: {
|
|
15
15
|
type: String,
|
|
16
16
|
default: "显示条件"
|
|
17
|
+
},
|
|
18
|
+
type: {
|
|
19
|
+
type: String,
|
|
20
|
+
required: false,
|
|
21
|
+
default: "showConditions"
|
|
17
22
|
}
|
|
18
23
|
},
|
|
19
24
|
setup(__props) {
|
|
@@ -22,10 +27,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
22
27
|
if (!props.configure.props) {
|
|
23
28
|
props.configure.props = {};
|
|
24
29
|
}
|
|
25
|
-
|
|
26
|
-
|
|
30
|
+
let tableDatas = null;
|
|
31
|
+
if (props.type === "editConditions") {
|
|
32
|
+
if (!props.configure.props.editConditions) {
|
|
33
|
+
props.configure.props.editConditions = [];
|
|
34
|
+
}
|
|
35
|
+
tableDatas = props.configure.props.editConditions;
|
|
36
|
+
} else {
|
|
37
|
+
if (!props.configure.props.showConditions) {
|
|
38
|
+
props.configure.props.showConditions = [];
|
|
39
|
+
}
|
|
40
|
+
tableDatas = props.configure.props.showConditions;
|
|
27
41
|
}
|
|
28
|
-
const tableDatas = props.configure.props.showConditions;
|
|
29
42
|
const tableHeight = ref(300);
|
|
30
43
|
const dialogTableVisible = ref(false);
|
|
31
44
|
function openDialog() {
|
|
@@ -136,7 +149,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
136
149
|
}),
|
|
137
150
|
withDirectives(createVNode(_component_el_text, { type: "success" }, {
|
|
138
151
|
default: withCtx(() => [
|
|
139
|
-
createTextVNode("已设置条件.")
|
|
152
|
+
createTextVNode(" 已设置条件.")
|
|
140
153
|
]),
|
|
141
154
|
_: 1
|
|
142
155
|
}, 512), [
|
|
@@ -274,13 +287,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
274
287
|
label: "大于",
|
|
275
288
|
value: "GT"
|
|
276
289
|
}, null, 512), [
|
|
277
|
-
[
|
|
290
|
+
[
|
|
291
|
+
vShow,
|
|
292
|
+
scope.row.dataType == "int" || scope.row.dataType == "long" || scope.row.dataType == "float" || scope.row.dataType == "double"
|
|
293
|
+
]
|
|
278
294
|
]),
|
|
279
295
|
withDirectives(createVNode(_component_el_option, {
|
|
280
296
|
label: "小于",
|
|
281
297
|
value: "LT"
|
|
282
298
|
}, null, 512), [
|
|
283
|
-
[
|
|
299
|
+
[
|
|
300
|
+
vShow,
|
|
301
|
+
scope.row.dataType == "int" || scope.row.dataType == "long" || scope.row.dataType == "float" || scope.row.dataType == "double"
|
|
302
|
+
]
|
|
284
303
|
]),
|
|
285
304
|
withDirectives(createVNode(_component_el_option, {
|
|
286
305
|
label: "晚于",
|
|
@@ -302,13 +321,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
302
321
|
label: "不大于",
|
|
303
322
|
value: "LET"
|
|
304
323
|
}, null, 512), [
|
|
305
|
-
[
|
|
324
|
+
[
|
|
325
|
+
vShow,
|
|
326
|
+
scope.row.dataType == "int" || scope.row.dataType == "long" || scope.row.dataType == "float" || scope.row.dataType == "double"
|
|
327
|
+
]
|
|
306
328
|
]),
|
|
307
329
|
withDirectives(createVNode(_component_el_option, {
|
|
308
330
|
label: "不小于",
|
|
309
331
|
value: "GET"
|
|
310
332
|
}, null, 512), [
|
|
311
|
-
[
|
|
333
|
+
[
|
|
334
|
+
vShow,
|
|
335
|
+
scope.row.dataType == "int" || scope.row.dataType == "long" || scope.row.dataType == "float" || scope.row.dataType == "double"
|
|
336
|
+
]
|
|
312
337
|
]),
|
|
313
338
|
withDirectives(createVNode(_component_el_option, {
|
|
314
339
|
label: "不晚于",
|
|
@@ -465,7 +490,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
465
490
|
default: withCtx((scope) => [
|
|
466
491
|
createVNode(_component_el_icon, {
|
|
467
492
|
size: "14",
|
|
468
|
-
style: { "color": "#
|
|
493
|
+
style: { "color": "#5893ef", "cursor": "pointer", "font-weight": "bold", "margin-right": "8px", "margin-left": "6px" },
|
|
469
494
|
onClick: ($event) => addData(scope.row)
|
|
470
495
|
}, {
|
|
471
496
|
default: withCtx(() => [
|
|
@@ -475,7 +500,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
475
500
|
}, 1032, ["onClick"]),
|
|
476
501
|
createVNode(_component_el_icon, {
|
|
477
502
|
size: "14",
|
|
478
|
-
style: { "color": "#
|
|
503
|
+
style: { "color": "#5893ef", "cursor": "pointer" },
|
|
479
504
|
onClick: ($event) => deleteData(scope.row)
|
|
480
505
|
}, {
|
|
481
506
|
default: withCtx(() => [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode } from "vue";
|
|
1
|
+
import { defineComponent, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, createCommentVNode } from "vue";
|
|
2
2
|
import _sfc_main$1 from "./common-advanced-basic-showcondition.vue.js";
|
|
3
3
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -7,6 +7,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
7
7
|
configure: {
|
|
8
8
|
type: Object,
|
|
9
9
|
required: true
|
|
10
|
+
},
|
|
11
|
+
type: {
|
|
12
|
+
type: String,
|
|
13
|
+
required: false
|
|
14
|
+
},
|
|
15
|
+
editTitle: {
|
|
16
|
+
type: String,
|
|
17
|
+
required: false,
|
|
18
|
+
default: "可编辑条件"
|
|
10
19
|
}
|
|
11
20
|
},
|
|
12
21
|
setup(__props) {
|
|
@@ -25,10 +34,27 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25
34
|
class: "amb-design-attr-item"
|
|
26
35
|
}, {
|
|
27
36
|
default: withCtx(() => [
|
|
28
|
-
|
|
37
|
+
(openBlock(), createBlock(_sfc_main$1, {
|
|
38
|
+
key: __props.configure.uuid + "_show",
|
|
39
|
+
configure: __props.configure
|
|
40
|
+
}, null, 8, ["configure"]))
|
|
29
41
|
]),
|
|
30
42
|
_: 1
|
|
31
|
-
})
|
|
43
|
+
}),
|
|
44
|
+
__props.type === "form" ? (openBlock(), createBlock(_component_el_form_item, {
|
|
45
|
+
key: 0,
|
|
46
|
+
label: __props.editTitle,
|
|
47
|
+
class: "amb-design-attr-item"
|
|
48
|
+
}, {
|
|
49
|
+
default: withCtx(() => [
|
|
50
|
+
(openBlock(), createBlock(_sfc_main$1, {
|
|
51
|
+
key: __props.configure.uuid + "_edit",
|
|
52
|
+
configure: __props.configure,
|
|
53
|
+
type: "editConditions"
|
|
54
|
+
}, null, 8, ["configure"]))
|
|
55
|
+
]),
|
|
56
|
+
_: 1
|
|
57
|
+
}, 8, ["label"])) : createCommentVNode("", true)
|
|
32
58
|
])
|
|
33
59
|
]),
|
|
34
60
|
_: 1
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _sfc_main from "./common-variable-bind.
|
|
2
|
-
import "./common-variable-bind.
|
|
1
|
+
import _sfc_main from "./common-variable-bind.vue3.js";
|
|
2
|
+
import "./common-variable-bind.vue2.js";
|
|
3
3
|
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const BindVariable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8cdbf8c5"]]);
|
|
5
5
|
export {
|