super-page-designer 2.0.92 → 2.0.96
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 +2494 -2034
- package/dist/es/components/design/utils/interfaces/page-design-types.d.ts +1 -0
- package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +0 -1
- package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +30 -19
- package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +14 -3
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +2 -3
- 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 +69 -534
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +731 -0
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +1 -0
- package/dist/es/components/design/views/assemblys/object-design.vue.js +13 -2
- package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +7 -34
- package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-attr-base.vue.js +85 -0
- package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-attr-base.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-attr-event.vue.js +30 -0
- package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-attr-event.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-attr-style.vue.js +51 -0
- package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-attr-style.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-attr.vue.js +5 -0
- package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-attr.vue2.js +42 -0
- package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-design.vue.js +4 -0
- package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-design.vue2.js +58 -0
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +1 -1
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +53 -10
- package/dist/es/style.css +726 -107
- package/package.json +5 -5
|
@@ -31,10 +31,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
31
31
|
formData.value.type = "";
|
|
32
32
|
}
|
|
33
33
|
if (!formData.value.valueSetOptions || formData.value.valueSetOptions.length == 0) {
|
|
34
|
-
formData.value.valueSetOptions = [
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
formData.value.valueSetOptions = [
|
|
35
|
+
{
|
|
36
|
+
columnName: "",
|
|
37
|
+
valueColumn: ""
|
|
38
|
+
}
|
|
39
|
+
];
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
42
|
const valueSettingBeannameTableSelect = ref({});
|
|
@@ -51,22 +53,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
51
53
|
const queryOptionGroupLoading = ref(false);
|
|
52
54
|
const optionGroups = ref([]);
|
|
53
55
|
function queryOptionGroups(query) {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/option-groups/query", param).then((result) => {
|
|
60
|
-
queryOptionGroupLoading.value = false;
|
|
61
|
-
optionGroups.value = result;
|
|
62
|
-
}).catch((error) => {
|
|
63
|
-
queryOptionGroupLoading.value = false;
|
|
64
|
-
console.log("查询选项组出错", error);
|
|
65
|
-
});
|
|
66
|
-
} else {
|
|
67
|
-
optionGroups.value = [];
|
|
56
|
+
queryOptionGroupLoading.value = true;
|
|
57
|
+
const param = {
|
|
58
|
+
query
|
|
59
|
+
};
|
|
60
|
+
http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/option-groups/query", param).then((result) => {
|
|
68
61
|
queryOptionGroupLoading.value = false;
|
|
69
|
-
|
|
62
|
+
optionGroups.value = result;
|
|
63
|
+
}).catch((error) => {
|
|
64
|
+
queryOptionGroupLoading.value = false;
|
|
65
|
+
console.log("查询选项组出错", error);
|
|
66
|
+
});
|
|
70
67
|
}
|
|
71
68
|
const queryDynamicSourceLoading = ref(false);
|
|
72
69
|
const dynamicSources = ref([]);
|
|
@@ -127,6 +124,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
127
124
|
function beforeClose() {
|
|
128
125
|
emit("close");
|
|
129
126
|
}
|
|
127
|
+
function dataTypeChange(value) {
|
|
128
|
+
if (value === "keyValuePair")
|
|
129
|
+
;
|
|
130
|
+
else if (value === "optionGroup") {
|
|
131
|
+
queryOptionGroups(true);
|
|
132
|
+
} else if (value === "enumname")
|
|
133
|
+
;
|
|
134
|
+
else if (value === "beanname")
|
|
135
|
+
;
|
|
136
|
+
else if (value === "dynamicDataSource") {
|
|
137
|
+
echoDataOrigin("");
|
|
138
|
+
}
|
|
139
|
+
}
|
|
130
140
|
__expose({
|
|
131
141
|
echoDataOrigin
|
|
132
142
|
});
|
|
@@ -182,6 +192,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
182
192
|
createVNode(_component_el_select, {
|
|
183
193
|
modelValue: formData.value.type,
|
|
184
194
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value.type = $event),
|
|
195
|
+
onChange: dataTypeChange,
|
|
185
196
|
placeholder: "请选择"
|
|
186
197
|
}, {
|
|
187
198
|
default: withCtx(() => [
|
|
@@ -97,14 +97,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
97
97
|
} else {
|
|
98
98
|
props.configure.props.dynamicColumnData.columnModelTable[columnModelTableRowIndex.value].dynamicDataSourceData = configObj;
|
|
99
99
|
}
|
|
100
|
-
console.log(
|
|
100
|
+
console.log(
|
|
101
|
+
"%c描述-173933",
|
|
102
|
+
"color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px",
|
|
103
|
+
props.configure.props.dynamicColumnData.columnModelTable
|
|
104
|
+
);
|
|
101
105
|
}
|
|
102
106
|
function configurationClose() {
|
|
103
107
|
configurationVisible.value = false;
|
|
104
108
|
}
|
|
105
109
|
function formattingAdd(formattingData2) {
|
|
106
110
|
props.configure.props.dynamicColumnData.columnModelTable[columnModelTableRowIndex.value].listColumnFormat = formattingData2;
|
|
107
|
-
console.log(
|
|
111
|
+
console.log(
|
|
112
|
+
"%c描述-195126",
|
|
113
|
+
"color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px",
|
|
114
|
+
props.configure.props.dynamicColumnData.columnModelTable
|
|
115
|
+
);
|
|
108
116
|
}
|
|
109
117
|
function formattingClose() {
|
|
110
118
|
formattingVisible.value = false;
|
|
@@ -142,7 +150,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
142
150
|
]),
|
|
143
151
|
_: 1
|
|
144
152
|
}, 512), [
|
|
145
|
-
[
|
|
153
|
+
[
|
|
154
|
+
vShow,
|
|
155
|
+
__props.configure.props.dynamicColumnData.columnModelTable && __props.configure.props.dynamicColumnData.columnModelTable.length > 0
|
|
156
|
+
]
|
|
146
157
|
])
|
|
147
158
|
]),
|
|
148
159
|
createVNode(_component_el_dialog, {
|
|
@@ -67,7 +67,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
69
|
onMounted(() => {
|
|
70
|
-
debugger;
|
|
71
70
|
const systemCode = props.configure.props.otherSettings.tableSysCode ? props.configure.props.otherSettings.tableSysCode : props.pageDesign.systemCode;
|
|
72
71
|
const systemVersion = props.configure.props.otherSettings.tableSysVersion ? props.configure.props.otherSettings.tableSysVersion : props.pageDesign.version;
|
|
73
72
|
const tableName = props.configure.props.otherSettings.sourceDataTable;
|
|
@@ -1049,14 +1048,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1049
1048
|
}, null, 8, ["systemCode", "systemVersion"]),
|
|
1050
1049
|
combinationVisible.value ? (openBlock(), createBlock(_sfc_main$4, {
|
|
1051
1050
|
key: 0,
|
|
1052
|
-
|
|
1051
|
+
list: __props.configure.props.otherSettings.sourceQueryTableData ? JSON.parse(__props.configure.props.otherSettings.sourceQueryTableData) : null,
|
|
1053
1052
|
fieldNameList: modelFields.value,
|
|
1054
1053
|
fieldMap: modelFieldsMap.value,
|
|
1055
1054
|
dataFieldNameList: __props.pageDesign.modelFields,
|
|
1056
1055
|
paramTypes: ["data", "page", "task", "context", "system", "request", "fixed"],
|
|
1057
1056
|
onSave: saveCondition,
|
|
1058
1057
|
onClose: closeCombination
|
|
1059
|
-
}, null, 8, ["
|
|
1058
|
+
}, null, 8, ["list", "fieldNameList", "fieldMap", "dataFieldNameList"])) : createCommentVNode("", true)
|
|
1060
1059
|
]),
|
|
1061
1060
|
_: 1
|
|
1062
1061
|
}, 8, ["modelValue"]),
|
|
@@ -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-c93dc980"]]);
|
|
5
5
|
export {
|
|
6
6
|
TablecolumnAttrBase as default
|
|
7
7
|
};
|