super-page-designer 2.1.34 → 2.1.41-tmp1
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 +72 -2
- package/dist/es/components/design/utils/container-design-util.js +4 -0
- package/dist/es/components/design/utils/form-design-util.d.ts +1 -1
- package/dist/es/components/design/utils/form-design-util.js +10 -1
- package/dist/es/components/design/utils/page-event-util.js +10 -6
- package/dist/es/components/design/utils/page-table-util.js +26 -4
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr-data.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/radar/radar-attr-data.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-data.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue.js +7 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +542 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +230 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +205 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +198 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +507 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-advanced.vue.js +285 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-advanced.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +1177 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-style.vue.js +97 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-style.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr.vue.js +5 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr.vue2.js +62 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue.js +8 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +358 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue4.js +1 -0
- package/dist/es/components/design/views/assemblys/common/common-function-code.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-i18n-key-input.vue.js +3 -1
- package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +8 -18
- package/dist/es/components/design/views/assemblys/common/common-style-background.vue.js +3 -2
- package/dist/es/components/design/views/assemblys/common/common-variable-bind-option.js +1 -2
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +18 -13
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +4 -4
- package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +12 -10
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +1 -0
- 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 +2 -0
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +5 -5
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +42 -4
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-design.vue2.js +4 -2
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +4 -3
- 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 +4 -4
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +2 -1
- package/dist/es/components/design/views/assemblys/form/common/pre-suffix.vue.js +11 -8
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +5 -1
- package/dist/es/components/design/views/assemblys/form/common/uploading.vue.js +32 -0
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +54 -16
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +4 -2
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +46 -8
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-design.vue2.js +4 -3
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +42 -4
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +15 -2
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +48 -10
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-design.vue2.js +4 -3
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +46 -8
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-design.vue2.js +4 -2
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +71 -3
- package/dist/es/components/design/views/assemblys/form/label/label-design.vue2.js +8 -2
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +42 -4
- package/dist/es/components/design/views/assemblys/form/radio/radio-design.vue2.js +4 -2
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +42 -4
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue2.js +4 -2
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +48 -10
- package/dist/es/components/design/views/assemblys/form/select/select-design.vue2.js +4 -2
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +49 -11
- package/dist/es/components/design/views/assemblys/form/switch/switch-design.vue2.js +4 -2
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +42 -4
- package/dist/es/components/design/views/assemblys/form/tag/tag-design.vue2.js +4 -2
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +52 -14
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-design.vue2.js +4 -2
- package/dist/es/components/design/views/assemblys/object-design.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +21 -2
- package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +14 -7
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +1 -3
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +2 -0
- package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +10 -0
- package/dist/es/stores/page-store.d.ts +1 -1
- package/dist/es/stores/page-store.js +1 -1
- package/dist/es/stores/statistics-table-store.d.ts +10 -0
- package/dist/es/stores/statistics-table-store.js +20 -0
- package/dist/es/style.css +795 -122
- package/package.json +6 -5
|
@@ -5,7 +5,8 @@ import { deepCopy, getUuidv4 } from "../../../utils/common-util.js";
|
|
|
5
5
|
import { getTypeOptions, taskVarOptions, contextVarOptions } from "./common-variable-bind-option.js";
|
|
6
6
|
import { usePageContextStore } from "../../../../../stores/page-store.js";
|
|
7
7
|
import { tableField } from "../../../../../stores/table-store.js";
|
|
8
|
-
|
|
8
|
+
import { statisticsTable } from "../../../../../stores/statistics-table-store.js";
|
|
9
|
+
const _withScopeId = (n) => (pushScopeId("data-v-8d11abea"), n = n(), popScopeId(), n);
|
|
9
10
|
const _hoisted_1 = { key: 0 };
|
|
10
11
|
const _hoisted_2 = { style: { "margin-top": "10px", "font-size": "10px", "display": "flex", "align-items": "center", "justify-self": "center" } };
|
|
11
12
|
const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1));
|
|
@@ -71,7 +72,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
71
72
|
},
|
|
72
73
|
emits: ["update:modelValue"],
|
|
73
74
|
setup(__props, { emit: __emit }) {
|
|
74
|
-
const
|
|
75
|
+
const pageDesignContextUtil = usePageContextStore();
|
|
75
76
|
const emits = __emit;
|
|
76
77
|
const props = __props;
|
|
77
78
|
const popoverVisible = ref(false);
|
|
@@ -87,11 +88,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
87
88
|
const selectOptions = ref({});
|
|
88
89
|
const searchValue = ref("");
|
|
89
90
|
const popoverRef = ref(null);
|
|
90
|
-
const selectInputType = ["context", "system", "task", "data", "page", "obj"];
|
|
91
|
+
const selectInputType = ["context", "system", "task", "data", "page", "obj", "row"];
|
|
91
92
|
const tableFieldStore = tableField();
|
|
93
|
+
const statisticsTableStore = statisticsTable();
|
|
92
94
|
onMounted(() => {
|
|
93
95
|
window.addEventListener("click", handleClickOutside);
|
|
94
|
-
const pageContext =
|
|
96
|
+
const pageContext = pageDesignContextUtil.pageContext;
|
|
95
97
|
let hasTask = false;
|
|
96
98
|
let hasData = props.needData;
|
|
97
99
|
if (!hasData) {
|
|
@@ -268,12 +270,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
268
270
|
} else if (props.isTable) {
|
|
269
271
|
selectOptions.value.dataModelOptions = tableFieldStore.fieldList;
|
|
270
272
|
} else {
|
|
271
|
-
selectOptions.value.dataModelOptions =
|
|
273
|
+
selectOptions.value.dataModelOptions = pageDesignContextUtil.pageContextVarOptions.dataOptions;
|
|
272
274
|
}
|
|
273
275
|
if (props.objModelOptions && props.objModelOptions.length > 0) {
|
|
274
276
|
selectOptions.value.objModelOptions = props.objModelOptions;
|
|
275
277
|
}
|
|
276
|
-
selectOptions.value.pageVarOptions =
|
|
278
|
+
selectOptions.value.pageVarOptions = pageDesignContextUtil.pageContextVarOptions.pageVarOptions;
|
|
277
279
|
}
|
|
278
280
|
function formatter() {
|
|
279
281
|
if (props.modelValue) {
|
|
@@ -330,7 +332,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
330
332
|
valueOptions.value = selectOptions.value.dataModelOptions || [];
|
|
331
333
|
} else if (value === "obj") {
|
|
332
334
|
valueOptions.value = selectOptions.value.objModelOptions && selectOptions.value.objModelOptions.length > 0 ? selectOptions.value.objModelOptions : selectOptions.value.dataModelOptions || [];
|
|
333
|
-
|
|
335
|
+
} else if (value === "row") {
|
|
336
|
+
console.log("%c描述-180523", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", statisticsTableStore.columnList);
|
|
337
|
+
console.log("%c描述-180552", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", valueOptions.value);
|
|
338
|
+
valueOptions.value = statisticsTableStore.columnList || [];
|
|
334
339
|
} else if (value === "params") {
|
|
335
340
|
valueOptions.value = selectOptions.value.paramsVarOptions || [];
|
|
336
341
|
} else if (value === "page") {
|
|
@@ -397,12 +402,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
397
402
|
type: "string",
|
|
398
403
|
defaultValue: ""
|
|
399
404
|
};
|
|
400
|
-
if (!
|
|
401
|
-
|
|
405
|
+
if (!pageDesignContextUtil.pageContext.variables) {
|
|
406
|
+
pageDesignContextUtil.pageContext.variables = [];
|
|
402
407
|
}
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
selectOptions.value.pageVarOptions =
|
|
408
|
+
pageDesignContextUtil.pageContext.variables.push(variable);
|
|
409
|
+
pageDesignContextUtil.setPageContext(pageDesignContextUtil.pageContext);
|
|
410
|
+
selectOptions.value.pageVarOptions = pageDesignContextUtil.pageContextVarOptions.pageVarOptions;
|
|
406
411
|
valueOptions.value = selectOptions.value.pageVarOptions || [];
|
|
407
412
|
paramValue.value = searchValue.value;
|
|
408
413
|
defalutValue.value = "${" + paramType.value + "." + searchValue.value + "}";
|
|
@@ -702,7 +707,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
702
707
|
_: 2
|
|
703
708
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
704
709
|
])) : createCommentVNode("", true),
|
|
705
|
-
paramType.value == "data" || paramType.value == "obj" ? (openBlock(), createElementBlock("span", {
|
|
710
|
+
paramType.value == "data" || paramType.value == "obj" || paramType.value == "row" ? (openBlock(), createElementBlock("span", {
|
|
706
711
|
key: 1,
|
|
707
712
|
title: scope.row.label + " " + scope.row.value
|
|
708
713
|
}, toDisplayString(scope.row.label + " " + scope.row.value), 9, _hoisted_8)) : (openBlock(), createElementBlock("span", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./data-origin-tree.vue2.js";
|
|
2
2
|
import "./data-origin-tree.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const DataOrigin = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const DataOrigin = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1dada466"]]);
|
|
5
5
|
export {
|
|
6
6
|
DataOrigin as default
|
|
7
7
|
};
|
|
@@ -28,8 +28,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28
28
|
},
|
|
29
29
|
setup(__props) {
|
|
30
30
|
const props = __props;
|
|
31
|
-
const
|
|
32
|
-
const pageDesign =
|
|
31
|
+
const pageDesignContextUtil = usePageContextStore();
|
|
32
|
+
const pageDesign = pageDesignContextUtil.pageContext;
|
|
33
33
|
const cmOptions = {
|
|
34
34
|
tabSize: 4,
|
|
35
35
|
lineNumbers: true,
|
|
@@ -135,8 +135,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
135
135
|
}
|
|
136
136
|
let tableFields = ref([]);
|
|
137
137
|
function queryTableFieldsByTable() {
|
|
138
|
-
const systemCode = dataOriginInfo.tableSysCode ? dataOriginInfo.tableSysCode :
|
|
139
|
-
const systemVersion = dataOriginInfo.tableSysVersion ? dataOriginInfo.tableSysVersion :
|
|
138
|
+
const systemCode = dataOriginInfo.tableSysCode ? dataOriginInfo.tableSysCode : pageDesignContextUtil.pageContext.systemCode;
|
|
139
|
+
const systemVersion = dataOriginInfo.tableSysVersion ? dataOriginInfo.tableSysVersion : pageDesignContextUtil.pageContext.systemVersion;
|
|
140
140
|
const tableName = dataOriginInfo.tableName;
|
|
141
141
|
if (!tableName) {
|
|
142
142
|
return;
|
package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js
CHANGED
|
@@ -45,7 +45,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
45
45
|
setup(__props, { emit: __emit }) {
|
|
46
46
|
const props = __props;
|
|
47
47
|
const emit = __emit;
|
|
48
|
-
console.log("%c描述-170030", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", props.pageDesign);
|
|
49
48
|
function headerClick(item, column) {
|
|
50
49
|
if (item.props.base) {
|
|
51
50
|
setColumnData(item);
|
|
@@ -93,9 +92,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
93
92
|
eventBus.$on("hadleDragging", (val) => {
|
|
94
93
|
compositeDragging.value = val;
|
|
95
94
|
});
|
|
96
|
-
function onSelectWidget(selIndex, objConfigure) {
|
|
95
|
+
function onSelectWidget(selIndex, objConfigure, column) {
|
|
97
96
|
if (!compositeDragging.value) {
|
|
98
|
-
emit("onSelectWidget", selIndex, objConfigure);
|
|
97
|
+
emit("onSelectWidget", selIndex, objConfigure, column);
|
|
98
|
+
}
|
|
99
|
+
if (column && column.label) {
|
|
100
|
+
setHeaderLabel(column.label);
|
|
99
101
|
}
|
|
100
102
|
}
|
|
101
103
|
function copyItem(sourceItem) {
|
|
@@ -198,7 +200,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
198
200
|
modelValue: props.configure.btnList,
|
|
199
201
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => props.configure.btnList = $event),
|
|
200
202
|
animation: 300,
|
|
201
|
-
style: { "width": "100%", "height": "100%" },
|
|
203
|
+
style: { "width": "100%", "height": "100%", "display": "inline-flex" },
|
|
202
204
|
group: "amb-assembly-item",
|
|
203
205
|
ghostClass: "amb-item-ghost"
|
|
204
206
|
}, {
|
|
@@ -211,23 +213,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
211
213
|
selectWidget: __props.selectWidget,
|
|
212
214
|
indexObj: __props.indexObj,
|
|
213
215
|
errorBlank: true,
|
|
214
|
-
onOnSelectWidget: onSelectWidget,
|
|
216
|
+
onOnSelectWidget: (selIndex, objConfigure) => onSelectWidget(selIndex, objConfigure, scope.column),
|
|
215
217
|
onOnCopy: copyItem,
|
|
216
218
|
onOnDelete: deleteItem
|
|
217
|
-
}, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]);
|
|
219
|
+
}, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj", "onOnSelectWidget"]);
|
|
218
220
|
}), 128))
|
|
219
221
|
]),
|
|
220
|
-
_:
|
|
221
|
-
},
|
|
222
|
+
_: 2
|
|
223
|
+
}, 1032, ["modelValue"])) : __props.listColumns.props && __props.listColumns.props.base && __props.listColumns.props.base.prop === "$selection" ? (openBlock(), createBlock(_component_el_checkbox, { key: 1 })) : __props.listColumns.props && __props.listColumns.props.base && __props.listColumns.props.base.prop === "$index" ? (openBlock(), createElementBlock("span", _hoisted_2, "1")) : (openBlock(), createBlock(_sfc_main$1, {
|
|
222
224
|
key: 3,
|
|
223
225
|
configure: __props.listColumns,
|
|
224
226
|
pageDesign: __props.pageDesign,
|
|
225
227
|
errorBlank: true,
|
|
226
228
|
selectWidget: __props.selectWidget,
|
|
227
229
|
indexObj: __props.indexObj,
|
|
228
|
-
onOnSelectWidget: onSelectWidget,
|
|
230
|
+
onOnSelectWidget: (selIndex, objConfigure) => onSelectWidget(selIndex, objConfigure, scope.column),
|
|
229
231
|
showSelectedClass: false
|
|
230
|
-
}, null, 8, ["configure", "pageDesign", "selectWidget", "indexObj"]))
|
|
232
|
+
}, null, 8, ["configure", "pageDesign", "selectWidget", "indexObj", "onOnSelectWidget"]))
|
|
231
233
|
]),
|
|
232
234
|
key: "1"
|
|
233
235
|
} : void 0
|
|
@@ -8,6 +8,7 @@ import "agilebuilder-ui/src/utils/request";
|
|
|
8
8
|
import "uuid";
|
|
9
9
|
import "../../../../../../stores/page-store.js";
|
|
10
10
|
import "../../../../../../stores/table-store.js";
|
|
11
|
+
import "../../../../../../stores/statistics-table-store.js";
|
|
11
12
|
import "../../common/common-variable-bind.vue2.js";
|
|
12
13
|
import "../../../../utils/eventBus.js";
|
|
13
14
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
@@ -2,7 +2,7 @@ import _sfc_main from "./table-design.vue2.js";
|
|
|
2
2
|
import "./table-design.vue3.js";
|
|
3
3
|
import "./table-design.vue4.js";
|
|
4
4
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const tableDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const tableDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-828b46d0"]]);
|
|
6
6
|
export {
|
|
7
7
|
tableDesign as default
|
|
8
8
|
};
|
|
@@ -8,6 +8,7 @@ import { ElMessageBox } from "element-plus";
|
|
|
8
8
|
import { getColumnsWithGroupHeader, addColumnToGroupHeaders } from "../../../../utils/data-table-util.js";
|
|
9
9
|
import "uuid";
|
|
10
10
|
import "@element-plus/icons";
|
|
11
|
+
import "agilebuilder-ui/src/utils/auth";
|
|
11
12
|
import "super-page-runtime";
|
|
12
13
|
import "../../../../../../stores/page-store.js";
|
|
13
14
|
import _sfc_main$1 from "../component/table-children-column.vue.js";
|
|
@@ -101,6 +102,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
101
102
|
caculateComponentProps(props.configure, designProperty);
|
|
102
103
|
getRestsParameter();
|
|
103
104
|
props.configure.runtime.props = designProperty.value;
|
|
105
|
+
console.log("%c描述-142333", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", props.configure);
|
|
104
106
|
},
|
|
105
107
|
{ immediate: true }
|
|
106
108
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./tablecolumn-attr-base.vue2.js";
|
|
2
2
|
import "./tablecolumn-attr-base.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const TablecolumnAttrBase = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const TablecolumnAttrBase = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1acd1467"]]);
|
|
5
5
|
export {
|
|
6
6
|
TablecolumnAttrBase as default
|
|
7
7
|
};
|
|
@@ -61,7 +61,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
61
61
|
const modelTableFieldList = ref([]);
|
|
62
62
|
const groupHeaders = props.tableConfigure.props.groupHeaders;
|
|
63
63
|
const selectTableDialog = ref(null);
|
|
64
|
-
const
|
|
64
|
+
const pageDesignContextUtil = usePageContextStore();
|
|
65
65
|
const operationColumn = ref(false);
|
|
66
66
|
onMounted(() => {
|
|
67
67
|
var _a;
|
|
@@ -140,8 +140,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
140
140
|
}
|
|
141
141
|
let clolumnTableFields = ref([]);
|
|
142
142
|
function queryTableFieldsByTableSublist() {
|
|
143
|
-
const systemCode = props.configure.props.dynamicColumnData.settingDataTableCode ? props.configure.props.dynamicColumnData.settingDataTableCode :
|
|
144
|
-
const systemVersion = props.configure.props.dynamicColumnData.settingDataSysVersion ? props.configure.props.dynamicColumnData.settingDataSysVersion :
|
|
143
|
+
const systemCode = props.configure.props.dynamicColumnData.settingDataTableCode ? props.configure.props.dynamicColumnData.settingDataTableCode : pageDesignContextUtil.pageContext.systemCode;
|
|
144
|
+
const systemVersion = props.configure.props.dynamicColumnData.settingDataSysVersion ? props.configure.props.dynamicColumnData.settingDataSysVersion : pageDesignContextUtil.pageContext.systemVersion;
|
|
145
145
|
const tableName = props.configure.props.dynamicColumnData.settingDataName;
|
|
146
146
|
if (!tableName) {
|
|
147
147
|
return;
|
|
@@ -157,8 +157,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
157
157
|
});
|
|
158
158
|
}
|
|
159
159
|
function queryTableFieldsByTable() {
|
|
160
|
-
const systemCode = props.configure.props.dynamicColumnData.dataTableCode ? props.configure.props.dynamicColumnData.dataTableCode :
|
|
161
|
-
const systemVersion = props.configure.props.dynamicColumnData.tableSysVersion ? props.configure.props.dynamicColumnData.tableSysVersion :
|
|
160
|
+
const systemCode = props.configure.props.dynamicColumnData.dataTableCode ? props.configure.props.dynamicColumnData.dataTableCode : pageDesignContextUtil.pageContext.systemCode;
|
|
161
|
+
const systemVersion = props.configure.props.dynamicColumnData.tableSysVersion ? props.configure.props.dynamicColumnData.tableSysVersion : pageDesignContextUtil.pageContext.systemVersion;
|
|
162
162
|
const tableName = props.configure.props.dynamicColumnData.tableName;
|
|
163
163
|
if (!tableName) {
|
|
164
164
|
return;
|
package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js
CHANGED
|
@@ -38,7 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38
38
|
const props = __props;
|
|
39
39
|
const selectTableDialog = ref();
|
|
40
40
|
const selectTableType = ref("");
|
|
41
|
-
const
|
|
41
|
+
const pageDesignContextUtil = usePageContextStore();
|
|
42
42
|
const queryConditionRef = ref();
|
|
43
43
|
const selectConditionRef = ref();
|
|
44
44
|
const updateConditionRef = ref();
|
|
@@ -140,8 +140,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
140
140
|
}
|
|
141
141
|
function queryTableFieldsByTable() {
|
|
142
142
|
const {
|
|
143
|
-
tableSysCode =
|
|
144
|
-
tableSysVersion =
|
|
143
|
+
tableSysCode = pageDesignContextUtil.pageContext.systemCode,
|
|
144
|
+
tableSysVersion = pageDesignContextUtil.pageContext.systemVersion,
|
|
145
145
|
dataTableCode: tableName
|
|
146
146
|
} = props.configure.props.dynamicColumnData;
|
|
147
147
|
const systemCode = tableSysCode;
|
|
@@ -160,7 +160,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
160
160
|
}
|
|
161
161
|
function queryTableFieldsByTableSublist() {
|
|
162
162
|
const { settingDataSysCode, settingDataSysVersion, settingDataTableCode } = props.configure.props.dynamicColumnData;
|
|
163
|
-
const { systemCode: defaultSystemCode, systemVersion: defaultSystemVersion } =
|
|
163
|
+
const { systemCode: defaultSystemCode, systemVersion: defaultSystemVersion } = pageDesignContextUtil.pageContext;
|
|
164
164
|
const systemCode = settingDataSysCode || defaultSystemCode;
|
|
165
165
|
const systemVersion = settingDataSysVersion || defaultSystemVersion;
|
|
166
166
|
const tableName = settingDataTableCode;
|
|
@@ -65,7 +65,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
65
65
|
default: withCtx(() => [
|
|
66
66
|
createVNode(_component_el_collapse, {
|
|
67
67
|
modelValue: openCollapseItems.value,
|
|
68
|
-
"onUpdate:modelValue": _cache[
|
|
68
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => openCollapseItems.value = $event),
|
|
69
69
|
style: { "margin-top": "6px" }
|
|
70
70
|
}, {
|
|
71
71
|
default: withCtx(() => [
|
|
@@ -220,6 +220,44 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
220
220
|
}, 512), [
|
|
221
221
|
[vShow, __props.configure.props.base.tittleShow]
|
|
222
222
|
]),
|
|
223
|
+
withDirectives(createVNode(_component_el_form_item, {
|
|
224
|
+
label: "标题超宽",
|
|
225
|
+
title: "标题超宽显示",
|
|
226
|
+
class: "amb-design-attr-item"
|
|
227
|
+
}, {
|
|
228
|
+
default: withCtx(() => [
|
|
229
|
+
createVNode(_component_el_radio_group, {
|
|
230
|
+
modelValue: __props.configure.props.base.titleShowWay,
|
|
231
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => __props.configure.props.base.titleShowWay = $event),
|
|
232
|
+
class: "ml-4"
|
|
233
|
+
}, {
|
|
234
|
+
default: withCtx(() => [
|
|
235
|
+
createVNode(_component_el_radio, { value: "block" }, {
|
|
236
|
+
default: withCtx(() => [
|
|
237
|
+
createTextVNode("换行")
|
|
238
|
+
]),
|
|
239
|
+
_: 1
|
|
240
|
+
}),
|
|
241
|
+
createVNode(_component_el_radio, { value: "inline" }, {
|
|
242
|
+
default: withCtx(() => [
|
|
243
|
+
createTextVNode("不换行")
|
|
244
|
+
]),
|
|
245
|
+
_: 1
|
|
246
|
+
}),
|
|
247
|
+
createVNode(_component_el_radio, { value: "omit" }, {
|
|
248
|
+
default: withCtx(() => [
|
|
249
|
+
createTextVNode("省略号")
|
|
250
|
+
]),
|
|
251
|
+
_: 1
|
|
252
|
+
})
|
|
253
|
+
]),
|
|
254
|
+
_: 1
|
|
255
|
+
}, 8, ["modelValue"])
|
|
256
|
+
]),
|
|
257
|
+
_: 1
|
|
258
|
+
}, 512), [
|
|
259
|
+
[vShow, __props.configure.props.base.tittleShow && __props.configure.props.base.titleWidth > 0]
|
|
260
|
+
]),
|
|
223
261
|
createVNode(_component_el_form_item, {
|
|
224
262
|
label: "尺寸",
|
|
225
263
|
class: "amb-design-attr-item"
|
|
@@ -227,7 +265,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
227
265
|
default: withCtx(() => [
|
|
228
266
|
createVNode(_component_el_radio_group, {
|
|
229
267
|
modelValue: __props.configure.props.base.size,
|
|
230
|
-
"onUpdate:modelValue": _cache[
|
|
268
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.configure.props.base.size = $event),
|
|
231
269
|
class: "ml-4"
|
|
232
270
|
}, {
|
|
233
271
|
default: withCtx(() => [
|
|
@@ -262,7 +300,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
262
300
|
default: withCtx(() => [
|
|
263
301
|
createVNode(_component_el_radio_group, {
|
|
264
302
|
modelValue: __props.configure.props.base.state,
|
|
265
|
-
"onUpdate:modelValue": _cache[
|
|
303
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => __props.configure.props.base.state = $event),
|
|
266
304
|
class: "ml-4"
|
|
267
305
|
}, {
|
|
268
306
|
default: withCtx(() => [
|
|
@@ -318,7 +356,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
318
356
|
default: withCtx(() => [
|
|
319
357
|
createVNode(_component_el_checkbox, {
|
|
320
358
|
modelValue: __props.configure.props.verification.required,
|
|
321
|
-
"onUpdate:modelValue": _cache[
|
|
359
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => __props.configure.props.verification.required = $event),
|
|
322
360
|
label: "必填"
|
|
323
361
|
}, null, 8, ["modelValue"])
|
|
324
362
|
]),
|
|
@@ -18,6 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
const designClass = ref("");
|
|
19
19
|
const designHeaderStyle = ref({});
|
|
20
20
|
const designProperty = ref({});
|
|
21
|
+
const titleExceedStyle = ref({});
|
|
21
22
|
function getRestsParameter() {
|
|
22
23
|
if (props.configure.props.preSuffix) {
|
|
23
24
|
props.configure.props;
|
|
@@ -40,9 +41,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
40
41
|
removComponentOptionConfigs(props.configure);
|
|
41
42
|
});
|
|
42
43
|
function caculateThisProps() {
|
|
43
|
-
caculateComponentProps(props.configure, designProperty);
|
|
44
|
+
caculateComponentProps(props.configure, designProperty, titleExceedStyle);
|
|
44
45
|
getRestsParameter();
|
|
45
46
|
props.configure.runtime.props = designProperty.value;
|
|
47
|
+
props.configure.runtime.titleExceedStyle = titleExceedStyle.value;
|
|
46
48
|
listOptions.value = designProperty.value["options"];
|
|
47
49
|
if (listOptions.value == null || listOptions.value.length == 0) {
|
|
48
50
|
listOptions.value = [
|
|
@@ -72,7 +74,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
72
74
|
label: withCtx(() => [
|
|
73
75
|
designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
|
|
74
76
|
key: 0,
|
|
75
|
-
style: normalizeStyle({ ...designHeaderStyle.value, "padding-right": "12px" })
|
|
77
|
+
style: normalizeStyle({ ...designHeaderStyle.value, ...titleExceedStyle.value, "padding-right": "12px" })
|
|
76
78
|
}, toDisplayString(designProperty.value.title), 5)) : createCommentVNode("", true)
|
|
77
79
|
]),
|
|
78
80
|
default: withCtx(() => [
|
|
@@ -7,6 +7,7 @@ import "@element-plus/icons-vue";
|
|
|
7
7
|
import http from "agilebuilder-ui/src/utils/request";
|
|
8
8
|
import { usePageContextStore } from "../../../../../../stores/page-store.js";
|
|
9
9
|
import "../../../../../../stores/table-store.js";
|
|
10
|
+
import "../../../../../../stores/statistics-table-store.js";
|
|
10
11
|
import "../../common/common-variable-bind.vue2.js";
|
|
11
12
|
import _sfc_main$4 from "./data-origin-service-in.vue.js";
|
|
12
13
|
import { queryTableFields } from "../../../../utils/page-table-util.js";
|
|
@@ -34,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
35
|
}
|
|
35
36
|
},
|
|
36
37
|
setup(__props) {
|
|
37
|
-
const
|
|
38
|
+
const pageDesignContextUtil = usePageContextStore();
|
|
38
39
|
const props = __props;
|
|
39
40
|
if (!props.configure.props) {
|
|
40
41
|
props.configure.props = {};
|
|
@@ -135,8 +136,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
135
136
|
}
|
|
136
137
|
let tableFields = ref([]);
|
|
137
138
|
function queryTableFieldsByTable() {
|
|
138
|
-
const systemCode = dataOriginInfo.tableSysCode ? dataOriginInfo.tableSysCode :
|
|
139
|
-
const systemVersion = dataOriginInfo.tableSysVersion ? dataOriginInfo.tableSysVersion :
|
|
139
|
+
const systemCode = dataOriginInfo.tableSysCode ? dataOriginInfo.tableSysCode : pageDesignContextUtil.pageContext.systemCode;
|
|
140
|
+
const systemVersion = dataOriginInfo.tableSysVersion ? dataOriginInfo.tableSysVersion : pageDesignContextUtil.pageContext.systemVersion;
|
|
140
141
|
const tableName = dataOriginInfo.tableName;
|
|
141
142
|
if (!tableName) {
|
|
142
143
|
return;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./data-origin.vue2.js";
|
|
2
2
|
import "./data-origin.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const DataOrigin = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const DataOrigin = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-27806549"]]);
|
|
5
5
|
export {
|
|
6
6
|
DataOrigin as default
|
|
7
7
|
};
|
|
@@ -31,8 +31,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
31
31
|
},
|
|
32
32
|
setup(__props) {
|
|
33
33
|
const props = __props;
|
|
34
|
-
const
|
|
35
|
-
const pageDesign =
|
|
34
|
+
const pageDesignContextUtil = usePageContextStore();
|
|
35
|
+
const pageDesign = pageDesignContextUtil.pageContext;
|
|
36
36
|
if (!props.configure.props.dataOrigin) {
|
|
37
37
|
props.configure.props.dataOrigin = {};
|
|
38
38
|
}
|
|
@@ -135,8 +135,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
135
135
|
}
|
|
136
136
|
let tableFields = ref([]);
|
|
137
137
|
function queryTableFieldsByTable() {
|
|
138
|
-
const systemCode = dataOriginInfo.tableSysCode ? dataOriginInfo.tableSysCode :
|
|
139
|
-
const systemVersion = dataOriginInfo.tableSysVersion ? dataOriginInfo.tableSysVersion :
|
|
138
|
+
const systemCode = dataOriginInfo.tableSysCode ? dataOriginInfo.tableSysCode : pageDesignContextUtil.pageContext.systemCode;
|
|
139
|
+
const systemVersion = dataOriginInfo.tableSysVersion ? dataOriginInfo.tableSysVersion : pageDesignContextUtil.pageContext.systemVersion;
|
|
140
140
|
const tableName = dataOriginInfo.tableName;
|
|
141
141
|
if (!tableName) {
|
|
142
142
|
return;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./icon-set-dialog.vue2.js";
|
|
2
2
|
import "./icon-set-dialog.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const IconSetDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const IconSetDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-181d1ce8"]]);
|
|
5
5
|
export {
|
|
6
6
|
IconSetDialog as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, reactive, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, createElementVNode, createTextVNode, renderList, normalizeClass, createBlock, resolveDynamicComponent, toDisplayString, pushScopeId, popScopeId } from "vue";
|
|
2
2
|
import { Search, Plus, ChatLineRound, Unlock, MuteNotification, Operation, WarningFilled } from "@element-plus/icons-vue";
|
|
3
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
3
|
+
const _withScopeId = (n) => (pushScopeId("data-v-181d1ce8"), n = n(), popScopeId(), n);
|
|
4
4
|
const _hoisted_1 = { class: "icon-set-center-body" };
|
|
5
5
|
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, "新建", -1));
|
|
6
6
|
const _hoisted_3 = ["onClick"];
|
|
@@ -126,6 +126,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
126
126
|
modelValue: addIconDialogVisible.value,
|
|
127
127
|
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => addIconDialogVisible.value = $event),
|
|
128
128
|
title: "创建icon",
|
|
129
|
+
"append-to-body": "",
|
|
129
130
|
width: "30%"
|
|
130
131
|
}, {
|
|
131
132
|
footer: withCtx(() => [
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { defineComponent, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, withDirectives, createTextVNode, vShow } from "vue";
|
|
2
2
|
import _sfc_main$1 from "../../common/common-icon-bind.vue.js";
|
|
3
3
|
import "@element-plus/icons";
|
|
4
|
+
import _sfc_main$2 from "../../common/common-i18n-key-input.vue.js";
|
|
4
5
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
5
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
7
|
__name: "pre-suffix",
|
|
7
8
|
props: {
|
|
8
|
-
preSuffix:
|
|
9
|
+
preSuffix: {
|
|
10
|
+
type: Object,
|
|
11
|
+
required: true,
|
|
12
|
+
default: () => {
|
|
13
|
+
}
|
|
14
|
+
}
|
|
9
15
|
},
|
|
10
16
|
setup(__props) {
|
|
11
17
|
const props = __props;
|
|
@@ -20,7 +26,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20
26
|
}
|
|
21
27
|
return (_ctx, _cache) => {
|
|
22
28
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
23
|
-
const _component_el_input = resolveComponent("el-input");
|
|
24
29
|
const _component_el_radio = resolveComponent("el-radio");
|
|
25
30
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
26
31
|
const _component_el_collapse_item = resolveComponent("el-collapse-item");
|
|
@@ -49,10 +54,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
49
54
|
class: "amb-design-attr-item"
|
|
50
55
|
}, {
|
|
51
56
|
default: withCtx(() => [
|
|
52
|
-
createVNode(
|
|
57
|
+
createVNode(_sfc_main$2, {
|
|
53
58
|
modelValue: __props.preSuffix.preText,
|
|
54
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.preSuffix.preText = $event)
|
|
55
|
-
placeholder: "请输入"
|
|
59
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.preSuffix.preText = $event)
|
|
56
60
|
}, null, 8, ["modelValue"])
|
|
57
61
|
]),
|
|
58
62
|
_: 1
|
|
@@ -75,10 +79,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
75
79
|
class: "amb-design-attr-item"
|
|
76
80
|
}, {
|
|
77
81
|
default: withCtx(() => [
|
|
78
|
-
createVNode(
|
|
82
|
+
createVNode(_sfc_main$2, {
|
|
79
83
|
modelValue: __props.preSuffix.sufText,
|
|
80
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => __props.preSuffix.sufText = $event)
|
|
81
|
-
placeholder: "请输入"
|
|
84
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => __props.preSuffix.sufText = $event)
|
|
82
85
|
}, null, 8, ["modelValue"])
|
|
83
86
|
]),
|
|
84
87
|
_: 1
|
|
@@ -48,6 +48,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
48
48
|
{ label: "新页签", value: "newTab" },
|
|
49
49
|
{ label: "局部刷新", value: "refresh" }
|
|
50
50
|
];
|
|
51
|
+
const mobileWayList = [
|
|
52
|
+
{ label: "弹窗", value: "popup" },
|
|
53
|
+
{ label: "局部刷新", value: "refresh" }
|
|
54
|
+
];
|
|
51
55
|
const dialogTypeList = [
|
|
52
56
|
{ label: "弹框", value: "dialog" },
|
|
53
57
|
{ label: "抽屉", value: "drawer" }
|
|
@@ -235,7 +239,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
235
239
|
placeholder: "请选择"
|
|
236
240
|
}, {
|
|
237
241
|
default: withCtx(() => [
|
|
238
|
-
(openBlock(), createElementBlock(Fragment, null, renderList(
|
|
242
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(mobileWayList, (item, index) => {
|
|
239
243
|
return createVNode(_component_el_option, {
|
|
240
244
|
key: index,
|
|
241
245
|
label: item.label,
|
|
@@ -11,6 +11,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11
11
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
12
12
|
const _component_el_input = resolveComponent("el-input");
|
|
13
13
|
const _component_el_input_number = resolveComponent("el-input-number");
|
|
14
|
+
const _component_el_option = resolveComponent("el-option");
|
|
15
|
+
const _component_el_select = resolveComponent("el-select");
|
|
14
16
|
const _component_el_collapse_item = resolveComponent("el-collapse-item");
|
|
15
17
|
return openBlock(), createBlock(_component_el_collapse_item, {
|
|
16
18
|
title: "上传设置",
|
|
@@ -71,6 +73,36 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
71
73
|
}, null, 8, ["modelValue"])
|
|
72
74
|
]),
|
|
73
75
|
_: 1
|
|
76
|
+
}),
|
|
77
|
+
createVNode(_component_el_form_item, {
|
|
78
|
+
label: "移动端上传方式",
|
|
79
|
+
class: "amb-design-attr-item"
|
|
80
|
+
}, {
|
|
81
|
+
default: withCtx(() => [
|
|
82
|
+
createVNode(_component_el_select, {
|
|
83
|
+
modelValue: __props.uploadConfig.openCameraOrChoosePhoto,
|
|
84
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => __props.uploadConfig.openCameraOrChoosePhoto = $event),
|
|
85
|
+
size: "mini",
|
|
86
|
+
clearable: ""
|
|
87
|
+
}, {
|
|
88
|
+
default: withCtx(() => [
|
|
89
|
+
createVNode(_component_el_option, {
|
|
90
|
+
label: "拍照和相册选取",
|
|
91
|
+
value: "openCameraAndChoosePhoto"
|
|
92
|
+
}),
|
|
93
|
+
createVNode(_component_el_option, {
|
|
94
|
+
label: "拍照",
|
|
95
|
+
value: "openCamera"
|
|
96
|
+
}),
|
|
97
|
+
createVNode(_component_el_option, {
|
|
98
|
+
label: "相册选取",
|
|
99
|
+
value: "openChoosePhoto"
|
|
100
|
+
})
|
|
101
|
+
]),
|
|
102
|
+
_: 1
|
|
103
|
+
}, 8, ["modelValue"])
|
|
104
|
+
]),
|
|
105
|
+
_: 1
|
|
74
106
|
})
|
|
75
107
|
])
|
|
76
108
|
]),
|