super-page-designer 2.1.86 → 2.1.90
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 +1 -1
- package/dist/es/components/design/utils/page-event-util.js +1 -1
- package/dist/es/components/design/utils/page-explore-util.js +1 -1
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +27 -15
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-advanced.vue.js +0 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +0 -1
- package/dist/es/components/design/views/assemblys/common/common-i18n-key-input.vue.js +0 -1
- 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 +738 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +1 -738
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +0 -1
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
- package/dist/es/components/design/views/design/page-event/config.vue.js +7 -1
- package/dist/es/components/design/views/design/page-event/config.vue2.js +1 -7
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +2 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +27 -20
- package/dist/es/components/design/views/design/view/assemblys-container-explore.vue.js +3 -2
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +1 -0
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
- package/dist/es/style.css +40 -40
- package/package.json +3 -3
|
@@ -1307,7 +1307,7 @@ const assemblyGroups = [
|
|
|
1307
1307
|
{ name: "header-click", label: "列表头点击", tip: "当某一列的表头被点击时会触发该事件" },
|
|
1308
1308
|
{ name: "show", label: "列表显示", tip: "列表显示回调方法" },
|
|
1309
1309
|
{ name: "hidden", label: "列表隐藏", tip: "列表隐藏回调方法" },
|
|
1310
|
-
{ name: "filter-
|
|
1310
|
+
{ name: "filter-data", label: "数据过滤", tip: "列表数据过滤方法" }
|
|
1311
1311
|
],
|
|
1312
1312
|
icon: dataTable,
|
|
1313
1313
|
btnList: [
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createTextVNode, createCommentVNode } from "vue";
|
|
1
|
+
import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, createTextVNode, createCommentVNode } from "vue";
|
|
2
2
|
import _sfc_main$2 from "../component/condition-dialog.vue.js";
|
|
3
3
|
import _sfc_main$3 from "../component/set-dialog.vue.js";
|
|
4
4
|
import _sfc_main$4 from "../component/combination.vue.js";
|
|
5
5
|
import JournalSetDialog from "../component/journal-set-dialog.vue.js";
|
|
6
6
|
import _sfc_main$1 from "../../common/common-advanced-basic-showcondition.vue.js";
|
|
7
7
|
import { isShowOpinionSetting } from "../../../../utils/form-design-util.js";
|
|
8
|
+
import http from "agilebuilder-ui/src/utils/request";
|
|
8
9
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
9
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
11
|
__name: "button-attr-advanced",
|
|
@@ -21,9 +22,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
22
|
}
|
|
22
23
|
},
|
|
23
24
|
setup(__props) {
|
|
25
|
+
var _a;
|
|
24
26
|
const props = __props;
|
|
25
27
|
const openCollapseItems = ref(["base"]);
|
|
26
28
|
const journalSetVisible = ref(false);
|
|
29
|
+
const conversionRules = ref([]);
|
|
30
|
+
const systemVersion = (_a = props.pageDesign) == null ? void 0 : _a.systemVersion;
|
|
31
|
+
http.post(
|
|
32
|
+
window["$vueApp"].config.globalProperties.baseAPI + `/mms/setting-transformations/option/${props.pageDesign.systemCode}/${systemVersion}`
|
|
33
|
+
).then((res) => {
|
|
34
|
+
conversionRules.value = res;
|
|
35
|
+
});
|
|
27
36
|
function closeJournalSet() {
|
|
28
37
|
journalSetVisible.value = false;
|
|
29
38
|
}
|
|
@@ -55,12 +64,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
55
64
|
props.configure.props.base.showConditions = JSON.stringify(table);
|
|
56
65
|
}
|
|
57
66
|
const isShowOpinion = ref(isShowMustOpinion());
|
|
58
|
-
watch(
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
67
|
+
watch(
|
|
68
|
+
props.configure.events,
|
|
69
|
+
(newVal) => {
|
|
70
|
+
isShowOpinion.value = isShowMustOpinion();
|
|
71
|
+
if (!isShowOpinion.value) {
|
|
72
|
+
props.configure.props.base.isMustOpinion = false;
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{ immediate: true }
|
|
76
|
+
);
|
|
64
77
|
function isShowMustOpinion() {
|
|
65
78
|
let isShow = false;
|
|
66
79
|
const clickEvent = props.configure.events.filter((item) => item.name === "click" && item.eventName);
|
|
@@ -142,14 +155,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
142
155
|
class: "ml-4"
|
|
143
156
|
}, {
|
|
144
157
|
default: withCtx(() => [
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
label
|
|
151
|
-
|
|
152
|
-
})
|
|
158
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(conversionRules.value, (item) => {
|
|
159
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
160
|
+
key: item.code,
|
|
161
|
+
label: item.name,
|
|
162
|
+
value: item.code
|
|
163
|
+
}, null, 8, ["label", "value"]);
|
|
164
|
+
}), 128))
|
|
153
165
|
]),
|
|
154
166
|
_: 1
|
|
155
167
|
}, 8, ["modelValue"])
|
|
@@ -10,7 +10,7 @@ import "@element-plus/icons-vue";
|
|
|
10
10
|
import "uuid";
|
|
11
11
|
import "../../../../../../stores/table-store.js";
|
|
12
12
|
import "../../../../../../stores/statistics-table-store.js";
|
|
13
|
-
import "../../common/common-variable-bind.
|
|
13
|
+
import "../../common/common-variable-bind.vue3.js";
|
|
14
14
|
import { getTableConfigByTableUuid } from "../../../../utils/page-table-util.js";
|
|
15
15
|
import _sfc_main$2 from "../../common/common-i18n-key-input.vue.js";
|
|
16
16
|
import _sfc_main$4 from "../../chart/statistical-table/component/link-table.vue.js";
|
|
@@ -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.vue2.js";
|
|
2
|
+
import "./common-variable-bind.vue3.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-3528c938"]]);
|
|
5
5
|
export {
|