super-page-designer 2.0.67 → 2.0.70

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.
Files changed (34) hide show
  1. package/dist/es/components/design/utils/form-design-util.js +6 -0
  2. package/dist/es/components/design/utils/page-table-util.js +17 -14
  3. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
  4. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +4 -4
  5. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +1 -1
  6. package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
  7. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +10 -1
  8. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
  9. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +1 -1
  10. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +9 -1
  11. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +152 -1
  12. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +1 -152
  13. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +27 -8
  14. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +4 -4
  15. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +0 -1
  16. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-design.vue2.js +1 -0
  17. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +1 -0
  18. package/dist/es/components/design/views/assemblys/form/input-number/input-number-design.vue2.js +2 -2
  19. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-design.vue2.js +2 -2
  20. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue2.js +1 -1
  21. package/dist/es/components/design/views/assemblys/form/select/select-design.vue.js +1 -0
  22. package/dist/es/components/design/views/assemblys/form/select/select-design.vue2.js +2 -2
  23. package/dist/es/components/design/views/assemblys/form/select/select-design.vue3.js +1 -0
  24. package/dist/es/components/design/views/assemblys/form/switch/switch-design.vue.js +1 -0
  25. package/dist/es/components/design/views/assemblys/form/switch/switch-design.vue2.js +2 -2
  26. package/dist/es/components/design/views/assemblys/form/switch/switch-design.vue3.js +1 -0
  27. package/dist/es/components/design/views/assemblys/form/textarea/textarea-design.vue2.js +2 -2
  28. package/dist/es/components/design/views/design/page-event/config.vue.js +1 -7
  29. package/dist/es/components/design/views/design/page-event/config.vue2.js +7 -1
  30. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
  31. package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
  32. package/dist/es/stores/table-store.js +3 -1
  33. package/dist/es/style.css +116 -108
  34. package/package.json +4 -4
@@ -345,6 +345,7 @@ function watchRequiredValidate(configure, fieldInfo) {
345
345
  }
346
346
  }
347
347
  function watchValidate(configure, verification, fieldInfo) {
348
+ var _a, _b;
348
349
  configure.props.rules = [];
349
350
  const prop = configure.props.base.prop;
350
351
  if (prop) {
@@ -364,6 +365,11 @@ function watchValidate(configure, verification, fieldInfo) {
364
365
  if (verification.verifyMinLength && verification.minLength) {
365
366
  watchMaxOrMinValidate(configure, "min", verification.minLength, fieldInfo);
366
367
  }
368
+ if (((_a = verification.custom) == null ? void 0 : _a.enabled) && ((_b = verification.custom.eventNames) == null ? void 0 : _b.length) > 0) {
369
+ configure.props.customRuleEvents = verification.custom.eventNames;
370
+ } else {
371
+ configure.props.customRuleEvents = [];
372
+ }
367
373
  }
368
374
  }
369
375
  }
@@ -173,13 +173,13 @@ function getListColumns(configure, pageDesign) {
173
173
  // 值设置,设置多个
174
174
  valueSetOptions: getValueSetOptions(item),
175
175
  // 是否必填
176
- required: configure.props.verification.required,
176
+ required: item.props.verification.required,
177
177
  // 校验的正则
178
- pattern: configure.props.verification.verifyRegex,
178
+ pattern: item.props.verification.verifyRegex,
179
179
  // 校验的类型
180
- checkType: configure.props.verification.type,
180
+ checkType: item.props.verification.type,
181
181
  // 内容显示位置
182
- contAlign: configure.props.base ? configure.props.base.alignContent : null
182
+ contAlign: item.props.base ? item.props.base.alignContent : null
183
183
  // 国际化key,如果配置了该列则使用该列的key去查询国际化配置,如果没用配置就以“headerName”字段的值为准
184
184
  // i18nKey: string
185
185
  /**
@@ -219,22 +219,21 @@ function getListColumnValueSet(item, listColumn) {
219
219
  if (item.name === "inputNumber") {
220
220
  return null;
221
221
  }
222
- if (configureProps.dataOrigin && configureProps.dataOrigin.optionValueSetType) {
222
+ if (configureProps.dataOrigin && configureProps.dataOrigin.optionValueSetType && configureProps.dataOrigin.optionValueSetType !== "none") {
223
223
  const optionType = configureProps.dataOrigin.optionValueSetType;
224
224
  if (optionType === "static") {
225
- const valueSets = [];
226
- configureProps.dataOrigin.staticStates.forEach((element) => {
227
- valueSets.push(element.value + ":" + element.label);
228
- });
225
+ const valueSets = configureProps.dataOrigin.staticStates.map(
226
+ (element) => `${element.value}:${element.label}`
227
+ );
229
228
  return valueSets.join(",");
230
229
  } else if (optionType === "optionGroup") {
231
- return optionType + ":" + configureProps.dataOrigin.optionGroup;
230
+ return `${optionType}:${configureProps.dataOrigin.optionGroup}`;
232
231
  } else if (optionType === "dynamicData") {
233
- return "dynamicDataSource:" + configureProps.dataOrigin.dynamicDataSourceCode;
232
+ return `dynamicDataSource:${configureProps.dataOrigin.dynamicDataSourceCode}`;
234
233
  } else if (optionType === "dataTable") {
235
- return optionType + ":" + configureProps.dataOrigin.tableName;
234
+ return `${optionType}:${configureProps.dataOrigin.tableName}`;
236
235
  } else if (optionType === "service") {
237
- return optionType + ":" + configureProps.dataOrigin.serveName;
236
+ return `${optionType}:${configureProps.dataOrigin.serveName}`;
238
237
  }
239
238
  }
240
239
  }
@@ -403,7 +402,11 @@ function getPropsFormat(item) {
403
402
  if (item.props.format.type === "hyperlinks") {
404
403
  const format = {};
405
404
  format.type = item.props.format.type;
406
- format.jumpPageJson = JSON.stringify(item.props.linkPage);
405
+ const jumpJson = JSON.parse(JSON.stringify(item.props.linkPage));
406
+ if (jumpJson.displayTextJudge && jumpJson.dynamicTags && jumpJson.dynamicTags.length > 0) {
407
+ jumpJson.displayText = jumpJson.dynamicTags.join("-#-#");
408
+ }
409
+ format.jumpPageJson = JSON.stringify(jumpJson);
407
410
  return JSON.stringify(format);
408
411
  } else if (item.props.format.type === "icon") {
409
412
  const format = {};
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./common-variable-bind.vue2.js";
2
2
  import "./common-variable-bind.vue3.js";
3
3
  import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const BindVariable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-48d27f9e"]]);
4
+ const BindVariable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cfaaf957"]]);
5
5
  export {
6
6
  BindVariable as default
7
7
  };
@@ -5,7 +5,7 @@ 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
- const _withScopeId = (n) => (pushScopeId("data-v-48d27f9e"), n = n(), popScopeId(), n);
8
+ const _withScopeId = (n) => (pushScopeId("data-v-cfaaf957"), n = n(), popScopeId(), n);
9
9
  const _hoisted_1 = { key: 0 };
10
10
  const _hoisted_2 = { style: { "margin-top": "10px", "font-size": "10px", "display": "flex", "align-items": "center", "justify-self": "center" } };
11
11
  const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1));
@@ -335,7 +335,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
335
335
  paramValue.value = row.value;
336
336
  }
337
337
  } else {
338
- paramValue.value = row.value;
338
+ paramValue.value = row.dbColumnName;
339
339
  }
340
340
  defalutValue.value = "${" + paramType.value + "." + paramValue.value + "}";
341
341
  emits("update:modelValue", defalutValue.value, row.alias);
@@ -673,8 +673,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
673
673
  ])) : createCommentVNode("", true),
674
674
  paramType.value == "data" ? (openBlock(), createElementBlock("span", {
675
675
  key: 1,
676
- title: scope.row.label + " " + scope.row.value
677
- }, toDisplayString(scope.row.label + " " + scope.row.value), 9, _hoisted_8)) : (openBlock(), createElementBlock("span", {
676
+ title: scope.row.label + " " + scope.row.dbColumnName
677
+ }, toDisplayString(scope.row.label + " " + scope.row.dbColumnName), 9, _hoisted_8)) : (openBlock(), createElementBlock("span", {
678
678
  key: 2,
679
679
  title: scope.row.label
680
680
  }, toDisplayString(scope.row.label), 9, _hoisted_9))
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, createTextVNode, unref, createCommentVNode, withDirectives, vShow, createElementBlock, Fragment, renderList, normalizeClass, toDisplayString, renderSlot } from "vue";
2
- import _sfc_main$1 from "../../form/common/dataorigin-input-table.vue2.js";
2
+ import _sfc_main$1 from "../../form/common/dataorigin-input-table.vue.js";
3
3
  import { Codemirror } from "vue-codemirror";
4
4
  import _sfc_main$6 from "../../workflow/component/combination.vue.js";
5
5
  import _sfc_main$5 from "./return-set-table.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-20ea5d48"]]);
5
+ const tableDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fdf0b268"]]);
6
6
  export {
7
7
  tableDesign as default
8
8
  };
@@ -181,11 +181,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
181
181
  });
182
182
  }
183
183
  function operationalMenuFun(type) {
184
+ var _a;
184
185
  closeMenuVisible();
185
186
  if (type === "createCombinedHeader") {
186
- const fieldInfo = { alias: "字段名称" };
187
+ const fieldInfo = {
188
+ alias: "字段名称",
189
+ displayOrder: columnData.value.props.base.displayOrder + 1
190
+ };
187
191
  let newObj = getTableColumnConf(fieldInfo);
188
192
  props.configure.items.splice(columnDataIndex.value + 1, 0, newObj);
193
+ (_a = props.configure.items) == null ? void 0 : _a.forEach((item, index) => {
194
+ if (!item.props.base.displayOrder || item.props.base.displayOrder != index) {
195
+ item.props.base.displayOrder = index;
196
+ }
197
+ });
189
198
  if (props.configure.props.base.isEnableGroupHeader) {
190
199
  addColumnToGroupHeaders(
191
200
  props.configure.items[columnDataIndex.value + 1],
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, onMounted, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, unref, createCommentVNode, withDirectives, createTextVNode, createElementBlock, Fragment, renderList, vShow, normalizeClass } from "vue";
2
- import _sfc_main$3 from "./dataorigin-input-table.vue2.js";
2
+ import _sfc_main$3 from "./dataorigin-input-table.vue.js";
3
3
  import _sfc_main$2 from "./condition.vue.js";
4
4
  import _sfc_main$1 from "./row-ul-li.vue.js";
5
5
  import "uuid";
@@ -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-0ac2eace"]]);
4
+ const DataOrigin = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f1c21952"]]);
5
5
  export {
6
6
  DataOrigin as default
7
7
  };
@@ -59,7 +59,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
59
59
  atPresentSortIndex.value = index;
60
60
  }
61
61
  if (!props.configure.props.dataOrigin.optionValueSetType || props.configure.props.dataOrigin.optionValueSetType.length === 0) {
62
- props.configure.props.dataOrigin.optionValueSetType = "static";
62
+ props.configure.props.dataOrigin.optionValueSetType = "none";
63
63
  }
64
64
  const queryOptionGroupLoading = ref(false);
65
65
  const optionGroups = ref([]);
@@ -205,6 +205,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
205
205
  onChange: optionValueTypeChange
206
206
  }, {
207
207
  default: withCtx(() => [
208
+ withDirectives(createVNode(_component_el_radio, { value: "none" }, {
209
+ default: withCtx(() => [
210
+ createTextVNode("无")
211
+ ]),
212
+ _: 1
213
+ }, 512), [
214
+ [vShow, !__props.isDynamicColumn]
215
+ ]),
208
216
  withDirectives(createVNode(_component_el_radio, { value: "static" }, {
209
217
  default: withCtx(() => [
210
218
  createTextVNode("静态数据")
@@ -1,4 +1,155 @@
1
- import _sfc_main from "./dataorigin-input-table.vue2.js";
1
+ import { defineComponent, ref, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, createElementVNode, createTextVNode } from "vue";
2
+ import { Search } from "@element-plus/icons-vue";
3
+ const _hoisted_1 = { class: "dialog-footer" };
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "dataorigin-input-table",
6
+ props: {
7
+ modelValue: {
8
+ type: String,
9
+ default: ""
10
+ }
11
+ },
12
+ emits: ["update:modelValue"],
13
+ setup(__props, { emit: __emit }) {
14
+ const props = __props;
15
+ const inputValue = ref(props.modelValue);
16
+ const emit = __emit;
17
+ const tableData = [
18
+ {
19
+ id: 1,
20
+ date: "2016-05-03",
21
+ name: "Tom",
22
+ address: "No. 189, Grove St, Los Angeles"
23
+ },
24
+ {
25
+ id: 2,
26
+ date: "2016-05-02",
27
+ name: "Tom",
28
+ address: "No. 189, Grove St, Los Angeles"
29
+ },
30
+ {
31
+ id: 3,
32
+ date: "2016-05-04",
33
+ name: "Tom",
34
+ address: "No. 189, Grove St, Los Angeles"
35
+ },
36
+ {
37
+ id: 4,
38
+ date: "2016-05-01",
39
+ name: "Tom",
40
+ address: "No. 189, Grove St, Los Angeles"
41
+ }
42
+ ];
43
+ const dialogVisible = ref(false);
44
+ const selectData = ref([]);
45
+ watch(() => props.modelValue, (newVal) => {
46
+ inputValue.value = newVal;
47
+ });
48
+ function confirm() {
49
+ if (selectData.value.length > 0) {
50
+ let str = "";
51
+ selectData.value.forEach((item) => {
52
+ str = str + item.name + ",";
53
+ });
54
+ str = str.substring(0, str.length - 1);
55
+ emit("update:modelValue", str);
56
+ dialogVisible.value = false;
57
+ } else {
58
+ dialogVisible.value = false;
59
+ }
60
+ }
61
+ function handleSelectionChange(selection) {
62
+ selectData.value = selection;
63
+ }
64
+ function inputClick() {
65
+ dialogVisible.value = true;
66
+ }
67
+ return (_ctx, _cache) => {
68
+ const _component_el_icon = resolveComponent("el-icon");
69
+ const _component_el_input = resolveComponent("el-input");
70
+ const _component_el_table_column = resolveComponent("el-table-column");
71
+ const _component_el_table = resolveComponent("el-table");
72
+ const _component_el_button = resolveComponent("el-button");
73
+ const _component_el_dialog = resolveComponent("el-dialog");
74
+ return openBlock(), createElementBlock(Fragment, null, [
75
+ createVNode(_component_el_input, {
76
+ modelValue: inputValue.value,
77
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
78
+ placeholder: "请选择",
79
+ onClick: inputClick
80
+ }, {
81
+ suffix: withCtx(() => [
82
+ createVNode(_component_el_icon, { onClick: inputClick }, {
83
+ default: withCtx(() => [
84
+ createVNode(unref(Search))
85
+ ]),
86
+ _: 1
87
+ })
88
+ ]),
89
+ _: 1
90
+ }, 8, ["modelValue"]),
91
+ createVNode(_component_el_dialog, {
92
+ modelValue: dialogVisible.value,
93
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => dialogVisible.value = $event),
94
+ title: "Tips",
95
+ width: "500"
96
+ }, {
97
+ footer: withCtx(() => [
98
+ createElementVNode("div", _hoisted_1, [
99
+ createVNode(_component_el_button, {
100
+ onClick: _cache[1] || (_cache[1] = ($event) => dialogVisible.value = false)
101
+ }, {
102
+ default: withCtx(() => [
103
+ createTextVNode("取消")
104
+ ]),
105
+ _: 1
106
+ }),
107
+ createVNode(_component_el_button, {
108
+ type: "primary",
109
+ onClick: confirm
110
+ }, {
111
+ default: withCtx(() => [
112
+ createTextVNode(" 确定 ")
113
+ ]),
114
+ _: 1
115
+ })
116
+ ])
117
+ ]),
118
+ default: withCtx(() => [
119
+ createVNode(_component_el_table, {
120
+ data: tableData,
121
+ style: { "width": "100%" },
122
+ onSelectionChange: handleSelectionChange
123
+ }, {
124
+ default: withCtx(() => [
125
+ createVNode(_component_el_table_column, {
126
+ type: "selection",
127
+ width: "55"
128
+ }),
129
+ createVNode(_component_el_table_column, {
130
+ prop: "date",
131
+ label: "Date",
132
+ width: "180"
133
+ }),
134
+ createVNode(_component_el_table_column, {
135
+ prop: "name",
136
+ label: "Name",
137
+ width: "180"
138
+ }),
139
+ createVNode(_component_el_table_column, {
140
+ prop: "address",
141
+ label: "Address"
142
+ })
143
+ ]),
144
+ _: 1
145
+ })
146
+ ]),
147
+ _: 1
148
+ }, 8, ["modelValue"])
149
+ ], 64);
150
+ };
151
+ }
152
+ });
2
153
  export {
3
154
  _sfc_main as default
4
155
  };
@@ -1,155 +1,4 @@
1
- import { defineComponent, ref, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, createElementVNode, createTextVNode } from "vue";
2
- import { Search } from "@element-plus/icons-vue";
3
- const _hoisted_1 = { class: "dialog-footer" };
4
- const _sfc_main = /* @__PURE__ */ defineComponent({
5
- __name: "dataorigin-input-table",
6
- props: {
7
- modelValue: {
8
- type: String,
9
- default: ""
10
- }
11
- },
12
- emits: ["update:modelValue"],
13
- setup(__props, { emit: __emit }) {
14
- const props = __props;
15
- const inputValue = ref(props.modelValue);
16
- const emit = __emit;
17
- const tableData = [
18
- {
19
- id: 1,
20
- date: "2016-05-03",
21
- name: "Tom",
22
- address: "No. 189, Grove St, Los Angeles"
23
- },
24
- {
25
- id: 2,
26
- date: "2016-05-02",
27
- name: "Tom",
28
- address: "No. 189, Grove St, Los Angeles"
29
- },
30
- {
31
- id: 3,
32
- date: "2016-05-04",
33
- name: "Tom",
34
- address: "No. 189, Grove St, Los Angeles"
35
- },
36
- {
37
- id: 4,
38
- date: "2016-05-01",
39
- name: "Tom",
40
- address: "No. 189, Grove St, Los Angeles"
41
- }
42
- ];
43
- const dialogVisible = ref(false);
44
- const selectData = ref([]);
45
- watch(() => props.modelValue, (newVal) => {
46
- inputValue.value = newVal;
47
- });
48
- function confirm() {
49
- if (selectData.value.length > 0) {
50
- let str = "";
51
- selectData.value.forEach((item) => {
52
- str = str + item.name + ",";
53
- });
54
- str = str.substring(0, str.length - 1);
55
- emit("update:modelValue", str);
56
- dialogVisible.value = false;
57
- } else {
58
- dialogVisible.value = false;
59
- }
60
- }
61
- function handleSelectionChange(selection) {
62
- selectData.value = selection;
63
- }
64
- function inputClick() {
65
- dialogVisible.value = true;
66
- }
67
- return (_ctx, _cache) => {
68
- const _component_el_icon = resolveComponent("el-icon");
69
- const _component_el_input = resolveComponent("el-input");
70
- const _component_el_table_column = resolveComponent("el-table-column");
71
- const _component_el_table = resolveComponent("el-table");
72
- const _component_el_button = resolveComponent("el-button");
73
- const _component_el_dialog = resolveComponent("el-dialog");
74
- return openBlock(), createElementBlock(Fragment, null, [
75
- createVNode(_component_el_input, {
76
- modelValue: inputValue.value,
77
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
78
- placeholder: "请选择",
79
- onClick: inputClick
80
- }, {
81
- suffix: withCtx(() => [
82
- createVNode(_component_el_icon, { onClick: inputClick }, {
83
- default: withCtx(() => [
84
- createVNode(unref(Search))
85
- ]),
86
- _: 1
87
- })
88
- ]),
89
- _: 1
90
- }, 8, ["modelValue"]),
91
- createVNode(_component_el_dialog, {
92
- modelValue: dialogVisible.value,
93
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => dialogVisible.value = $event),
94
- title: "Tips",
95
- width: "500"
96
- }, {
97
- footer: withCtx(() => [
98
- createElementVNode("div", _hoisted_1, [
99
- createVNode(_component_el_button, {
100
- onClick: _cache[1] || (_cache[1] = ($event) => dialogVisible.value = false)
101
- }, {
102
- default: withCtx(() => [
103
- createTextVNode("取消")
104
- ]),
105
- _: 1
106
- }),
107
- createVNode(_component_el_button, {
108
- type: "primary",
109
- onClick: confirm
110
- }, {
111
- default: withCtx(() => [
112
- createTextVNode(" 确定 ")
113
- ]),
114
- _: 1
115
- })
116
- ])
117
- ]),
118
- default: withCtx(() => [
119
- createVNode(_component_el_table, {
120
- data: tableData,
121
- style: { "width": "100%" },
122
- onSelectionChange: handleSelectionChange
123
- }, {
124
- default: withCtx(() => [
125
- createVNode(_component_el_table_column, {
126
- type: "selection",
127
- width: "55"
128
- }),
129
- createVNode(_component_el_table_column, {
130
- prop: "date",
131
- label: "Date",
132
- width: "180"
133
- }),
134
- createVNode(_component_el_table_column, {
135
- prop: "name",
136
- label: "Name",
137
- width: "180"
138
- }),
139
- createVNode(_component_el_table_column, {
140
- prop: "address",
141
- label: "Address"
142
- })
143
- ]),
144
- _: 1
145
- })
146
- ]),
147
- _: 1
148
- }, 8, ["modelValue"])
149
- ], 64);
150
- };
151
- }
152
- });
1
+ import _sfc_main from "./dataorigin-input-table.vue.js";
153
2
  export {
154
3
  _sfc_main as default
155
4
  };
@@ -1,10 +1,11 @@
1
1
  import { defineComponent, ref, watch, onMounted, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createTextVNode, withModifiers, unref, renderList, withDirectives, vShow, createBlock, createCommentVNode, toDisplayString } from "vue";
2
2
  import { Search, Close } from "@element-plus/icons";
3
- import _sfc_main$3 from "./linkpage-page-callback.vue.js";
4
- import _sfc_main$4 from "../../common/common-select-page.vue.js";
5
- import _sfc_main$2 from "./parameter-table.vue.js";
3
+ import _sfc_main$4 from "./linkpage-page-callback.vue.js";
4
+ import _sfc_main$5 from "../../common/common-select-page.vue.js";
5
+ import _sfc_main$3 from "./parameter-table.vue.js";
6
6
  import BindVariable from "../../common/common-variable-bind.vue.js";
7
7
  import _sfc_main$1 from "./condition.vue.js";
8
+ import _sfc_main$2 from "../../common/common-icon-bind.vue.js";
8
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  __name: "suffixmodule",
10
11
  props: {
@@ -104,6 +105,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
104
105
  function handleClose(tag, index) {
105
106
  linkPage.value.dynamicTags.splice(index, 1);
106
107
  }
108
+ function afterBindIcon(iconType, iconValue) {
109
+ linkPage.value.iconType = iconType;
110
+ linkPage.value.icon = iconValue;
111
+ }
107
112
  return (_ctx, _cache) => {
108
113
  const _component_el_radio = resolveComponent("el-radio");
109
114
  const _component_el_form_item = resolveComponent("el-form-item");
@@ -445,6 +450,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
445
450
  })) : createCommentVNode("", true),
446
451
  _ctx.isButton ? (openBlock(), createBlock(_component_el_form_item, {
447
452
  key: 2,
453
+ label: "图标",
454
+ class: "amb-design-attr-item"
455
+ }, {
456
+ default: withCtx(() => [
457
+ createVNode(_sfc_main$2, {
458
+ iconType: linkPage.value.iconType,
459
+ iconValue: linkPage.value.icon,
460
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = (iconType, iconValue) => afterBindIcon(iconType, iconValue))
461
+ }, null, 8, ["iconType", "iconValue"])
462
+ ]),
463
+ _: 1
464
+ })) : createCommentVNode("", true),
465
+ _ctx.isButton ? (openBlock(), createBlock(_component_el_form_item, {
466
+ key: 3,
448
467
  label: "显示值",
449
468
  class: "amb-design-attr-item"
450
469
  }, {
@@ -476,24 +495,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
476
495
  _: 1
477
496
  }),
478
497
  _ctx.isButton ? (openBlock(), createBlock(_component_el_form_item, {
479
- key: 3,
498
+ key: 4,
480
499
  label: "自动拼接id",
481
500
  class: "amb-design-attr-item"
482
501
  }, {
483
502
  default: withCtx(() => [
484
503
  createVNode(_component_el_switch, {
485
504
  modelValue: linkPage.value.isNeedId,
486
- "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => linkPage.value.isNeedId = $event)
505
+ "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => linkPage.value.isNeedId = $event)
487
506
  }, null, 8, ["modelValue"])
488
507
  ]),
489
508
  _: 1
490
509
  })) : createCommentVNode("", true),
491
- createVNode(_sfc_main$2, {
510
+ createVNode(_sfc_main$3, {
492
511
  data: linkPage.value.jumpPageAdditional,
493
512
  onDataChange: ParameterDataChange
494
513
  }, null, 8, ["data"]),
495
- createVNode(_sfc_main$3, { linkPage: linkPage.value }, null, 8, ["linkPage"]),
496
- createVNode(_sfc_main$4, {
514
+ createVNode(_sfc_main$4, { linkPage: linkPage.value }, null, 8, ["linkPage"]),
515
+ createVNode(_sfc_main$5, {
497
516
  ref_key: "selectPageDialog",
498
517
  ref: selectPageDialog,
499
518
  onSelectPage,
@@ -108,7 +108,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
108
108
  "range-separator": "-",
109
109
  clearable: designProperty.value.clearable,
110
110
  disabled: designProperty.value.state === "disabled",
111
- readonly: designProperty.value.state === "readonly",
111
+ readonly: "",
112
112
  size: designProperty.value.size,
113
113
  style: { "width": "100%" },
114
114
  placeholder: designProperty.value.placeholder,
@@ -119,11 +119,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
119
119
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => designProperty.value.value = $event),
120
120
  shortcuts: shortCuts.value,
121
121
  type: designProperty.value.dateType
122
- }, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "modelValue", "shortcuts", "type"])) : (openBlock(), createBlock(_component_el_date_picker, {
122
+ }, null, 8, ["is-range", "clearable", "disabled", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "modelValue", "shortcuts", "type"])) : (openBlock(), createBlock(_component_el_date_picker, {
123
123
  key: 1,
124
124
  clearable: designProperty.value.clearable,
125
125
  disabled: designProperty.value.state === "disabled",
126
- readonly: designProperty.value.state === "readonly",
126
+ readonly: "",
127
127
  size: designProperty.value.size,
128
128
  style: { "width": "100%" },
129
129
  placeholder: designProperty.value.placeholder,
@@ -134,7 +134,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
134
134
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => designProperty.value.value = $event),
135
135
  shortcuts: shortCuts.value,
136
136
  type: designProperty.value.dateType
137
- }, null, 8, ["clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "modelValue", "shortcuts", "type"]))
137
+ }, null, 8, ["clearable", "disabled", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "modelValue", "shortcuts", "type"]))
138
138
  ]),
139
139
  _: 1
140
140
  }, 8, ["required", "class", "label-width", "style"]);
@@ -26,7 +26,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
26
26
  props.configure.props.base.otherFieldSets = [];
27
27
  }
28
28
  const propsBase = props.configure.props.base;
29
- console.log("%c描述-175029", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", props.configure.isTable);
30
29
  const otherFieldSets = propsBase.otherFieldSets;
31
30
  if (otherFieldSets.length == 0) {
32
31
  addData(null);
@@ -106,6 +106,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
106
106
  value: tempModels.value.value,
107
107
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => tempModels.value.value = $event),
108
108
  models: tempModels.value,
109
+ openTree: false,
109
110
  fields: [],
110
111
  placeholder: "请选择",
111
112
  separator: ",",
@@ -89,6 +89,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
89
89
  "file-list": _ctx.fileList,
90
90
  "on-success": _ctx.onSuccess,
91
91
  "on-remove": _ctx.onRemove,
92
+ openFsUpload: false,
92
93
  "before-upload": _ctx.beforeUpload
93
94
  }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "file-info", "file-list", "on-success", "on-remove", "before-upload"])
94
95
  ]),