super-page-runtime 2.1.54 → 2.1.60
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/runtime/utils/api/page-expose-util.js +17 -14
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +0 -1
- package/dist/es/components/runtime/utils/charts/chart-util.d.ts +24 -0
- package/dist/es/components/runtime/utils/charts/chart-util.js +4 -1
- package/dist/es/components/runtime/utils/common-util.js +2 -5
- package/dist/es/components/runtime/utils/events/event-util.d.ts +1 -0
- package/dist/es/components/runtime/utils/events/event-util.js +7 -3
- package/dist/es/components/runtime/utils/events/standard-event.d.ts +1 -1
- package/dist/es/components/runtime/utils/events/standard-event.js +102 -38
- package/dist/es/components/runtime/utils/events/validator-util.d.ts +1 -1
- package/dist/es/components/runtime/utils/events/validator-util.js +4 -3
- package/dist/es/components/runtime/utils/page-helper-util.js +0 -1
- package/dist/es/components/runtime/utils/page-init-util.js +11 -9
- package/dist/es/components/runtime/utils/table-utils.d.ts +1 -0
- package/dist/es/components/runtime/utils/table-utils.js +39 -7
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +12 -3
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +14 -1
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +14 -2
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +16 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +106 -55
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +0 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +14 -8
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +11 -1
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +11 -1
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +11 -1
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +11 -1
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +14 -2
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +11 -1
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +30 -10
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +9 -4
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +34 -64
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +20 -8
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +11 -2
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +30 -3
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +24 -2
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +31 -5
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +33 -2
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +21 -2
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +26 -4
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +29 -2
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +29 -14
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +32 -5
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +29 -2
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +26 -4
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +29 -2
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +22 -3
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +27 -8
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +18 -1
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +29 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +25 -2
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +29 -2
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +3 -5
- package/dist/es/components/runtime/views/super-page.vue.js +89 -26
- package/dist/es/i18n/langs/cn.js +3 -1
- package/dist/es/i18n/langs/en.js +3 -1
- package/dist/es/style.css +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { defineComponent, ref, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle } from "vue";
|
|
1
|
+
import { defineComponent, ref, onMounted, nextTick, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle } from "vue";
|
|
2
2
|
import "../../../../utils/global-refs.js";
|
|
3
|
+
import { handleAfterInitEvent } from "../../../../utils/events/event-util.js";
|
|
3
4
|
const _hoisted_1 = ["src"];
|
|
4
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
6
|
__name: "iframe-runtime",
|
|
@@ -15,6 +16,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15
16
|
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
16
17
|
const runtimeStyle = runtimeInfo.style;
|
|
17
18
|
const runtimeClass = runtimeInfo.class;
|
|
19
|
+
onMounted(() => {
|
|
20
|
+
nextTick(() => {
|
|
21
|
+
handleAfterInitEvent(null, props.pageContext, props.configure, {
|
|
22
|
+
componentRef: thisRef.value,
|
|
23
|
+
entity: props.pageContext.entity.data,
|
|
24
|
+
pageData: props.pageContext.entity.page
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
});
|
|
18
28
|
return (_ctx, _cache) => {
|
|
19
29
|
return openBlock(), createElementBlock("iframe", {
|
|
20
30
|
ref_key: "thisRef",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent, ref, openBlock, createBlock, unref, normalizeStyle, normalizeClass, withCtx, createElementBlock, Fragment, renderList,
|
|
1
|
+
import { defineComponent, ref, onMounted, nextTick, openBlock, createBlock, unref, normalizeStyle, normalizeClass, withCtx, createElementBlock, Fragment, renderList, createElementVNode, createCommentVNode, toDisplayString } from "vue";
|
|
2
2
|
import { ElTabs, ElTabPane } from "element-plus";
|
|
3
3
|
import _sfc_main$1 from "../../object-render.vue.js";
|
|
4
4
|
import { SuperIcon } from "agilebuilder-ui";
|
|
5
|
-
import { handleEvent } from "../../../../utils/events/event-util.js";
|
|
5
|
+
import { handleAfterInitEvent, handleEvent } from "../../../../utils/events/event-util.js";
|
|
6
6
|
import { $t } from "../../../../utils/i18n-util.js";
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "tabs-runtime",
|
|
@@ -52,6 +52,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
52
52
|
};
|
|
53
53
|
return handleEvent(paneName, props.pageContext, props.configure, "edit", params);
|
|
54
54
|
}
|
|
55
|
+
onMounted(() => {
|
|
56
|
+
nextTick(() => {
|
|
57
|
+
let tabsDom = [];
|
|
58
|
+
props.configure.items.forEach((item) => {
|
|
59
|
+
if (item.code) {
|
|
60
|
+
tabsDom.push(document.querySelector("." + item.code));
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
handleAfterInitEvent(null, props.pageContext, props.configure, {
|
|
64
|
+
componentRef: thisRef.value,
|
|
65
|
+
tabsDom,
|
|
66
|
+
entity: props.pageContext.entity.data,
|
|
67
|
+
pageData: props.pageContext.entity.page
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
});
|
|
55
71
|
return (_ctx, _cache) => {
|
|
56
72
|
return openBlock(), createBlock(unref(ElTabs), {
|
|
57
73
|
ref_key: "thisRef",
|
|
@@ -75,15 +91,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
75
91
|
name: item.index
|
|
76
92
|
}, {
|
|
77
93
|
label: withCtx(() => [
|
|
78
|
-
item.iconType && item.iconValue ? (openBlock(), createBlock(unref(SuperIcon), {
|
|
79
|
-
key: 0,
|
|
80
|
-
iconType: item.iconType,
|
|
81
|
-
iconValue: item.iconValue,
|
|
82
|
-
style: { "margin-right": "2px" }
|
|
83
|
-
}, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
|
|
84
94
|
createElementVNode("span", {
|
|
85
|
-
|
|
86
|
-
},
|
|
95
|
+
class: normalizeClass(item.code)
|
|
96
|
+
}, [
|
|
97
|
+
item.iconType && item.iconValue ? (openBlock(), createBlock(unref(SuperIcon), {
|
|
98
|
+
key: 0,
|
|
99
|
+
iconType: item.iconType,
|
|
100
|
+
iconValue: item.iconValue,
|
|
101
|
+
style: { "margin-right": "2px" }
|
|
102
|
+
}, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
|
|
103
|
+
createElementVNode("span", {
|
|
104
|
+
style: normalizeStyle(unref(headerStyle))
|
|
105
|
+
}, toDisplayString(unref($t)(item.label)), 5)
|
|
106
|
+
], 2)
|
|
87
107
|
]),
|
|
88
108
|
default: withCtx(() => [
|
|
89
109
|
createElementVNode("div", null, [
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted, onUnmounted, openBlock, createElementBlock, createElementVNode, normalizeClass, unref, normalizeStyle, Fragment, renderList, createBlock } from "vue";
|
|
1
|
+
import { defineComponent, ref, onMounted, nextTick, onUnmounted, openBlock, createElementBlock, createElementVNode, normalizeClass, unref, normalizeStyle, Fragment, renderList, createBlock } from "vue";
|
|
2
2
|
import _sfc_main$1 from "../../object-render.vue.js";
|
|
3
3
|
import "../../../../utils/global-refs.js";
|
|
4
|
+
import { handleAfterInitEvent } from "../../../../utils/events/event-util.js";
|
|
4
5
|
const _hoisted_1 = { class: "amb-widget-tools-parent" };
|
|
5
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
7
|
__name: "tools-runtime",
|
|
@@ -15,15 +16,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15
16
|
const runtimeStyle = ref(runtimeInfo.style ? runtimeInfo.style : {});
|
|
16
17
|
const runtimeClass = runtimeInfo.class;
|
|
17
18
|
onMounted(() => {
|
|
18
|
-
console.log("tools-runtime.vue-onMounted");
|
|
19
19
|
if (thisRef.value && thisRef.value.parentNode) {
|
|
20
20
|
const resizeObserver2 = new ResizeObserver((entries) => {
|
|
21
|
-
for (let entry of entries) {
|
|
22
|
-
}
|
|
23
21
|
caculatePositionStyle();
|
|
24
22
|
});
|
|
25
23
|
resizeObserver2.observe(thisRef.value.parentNode);
|
|
26
24
|
}
|
|
25
|
+
nextTick(() => {
|
|
26
|
+
handleAfterInitEvent(null, props.pageContext, props.configure, {
|
|
27
|
+
componentRef: thisRef.value,
|
|
28
|
+
entity: props.pageContext.entity.data,
|
|
29
|
+
pageData: props.pageContext.entity.page
|
|
30
|
+
});
|
|
31
|
+
});
|
|
27
32
|
});
|
|
28
33
|
onUnmounted(() => {
|
|
29
34
|
});
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, watch, onUnmounted, resolveComponent, openBlock, createElementBlock, createVNode, unref } from "vue";
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import { getBaseUrl, getListCode, getRealRestApiPath, isVariableInvalidValue } from "../../../../utils/common-util.js";
|
|
2
|
+
import { setTableEvents, canExecuteButton, doAfterClickEvent, doBeforeClickEvent, getEventNameByType, getEventFuncByType, getHandleEvent, gridSelectRecord, gridSelectAllRecords, gridSelectionChange, cellClick, cellDblClick, rowClick, rowDblClick, headerClick } from "../../../../utils/events/event-util.js";
|
|
3
|
+
import { getBaseUrl, getListCode, getRealRestApiPath, isWorkflowPage, isVariableInvalidValue } from "../../../../utils/common-util.js";
|
|
5
4
|
import { getAdditionalParamMap, getSaveFormRequestWithRow, standardEvents } from "../../../../utils/events/standard-event.js";
|
|
6
5
|
import { isPromise } from "agilebuilder-ui/src/utils/common-util";
|
|
7
|
-
import {
|
|
6
|
+
import { getOperationButtons, popupToPage } from "../../../../utils/table-utils.js";
|
|
8
7
|
import eventBus from "../../../../utils/eventBus.js";
|
|
9
|
-
import {
|
|
8
|
+
import { getDefaultValue } from "../../../../utils/page-init-util.js";
|
|
10
9
|
import { decomposeVariable, getSizeConfig } from "../../../../utils/page-helper-util.js";
|
|
11
10
|
import { getRowStyleUtil, getCellStyleUtil, getHeaderCellStyleUtil } from "../../chart/table/chart-table-util.js";
|
|
12
|
-
import "../../../../utils/global-refs.js";
|
|
13
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
12
|
__name: "main-table-runtime",
|
|
15
13
|
props: {
|
|
16
14
|
pageContext: {},
|
|
17
15
|
configure: {}
|
|
18
16
|
},
|
|
19
|
-
|
|
17
|
+
emits: ["setSafeDeleteTableCode"],
|
|
18
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
20
19
|
const props = __props;
|
|
21
20
|
const pageContext = props.pageContext;
|
|
22
21
|
let configure = props.configure;
|
|
@@ -39,6 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
39
38
|
baseURL = window["$vueApp"].config.globalProperties.baseURL;
|
|
40
39
|
}
|
|
41
40
|
const operationButtonObj = ref({});
|
|
41
|
+
const linkageVariable = [];
|
|
42
42
|
const listOptions = ref({});
|
|
43
43
|
listOptions.value = getOptions();
|
|
44
44
|
const gridRef = ref();
|
|
@@ -53,7 +53,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
53
53
|
const superGridSetting = superGridItems ? superGridItems[configure.uuid] : null;
|
|
54
54
|
console.log("superGridSetting1111===", superGridItems, superGridSetting);
|
|
55
55
|
const isCanShowMobileSearch = ref(false);
|
|
56
|
-
const
|
|
56
|
+
const $emit = __emit;
|
|
57
57
|
onMounted(() => {
|
|
58
58
|
window.addEventListener("message", recieveMessage);
|
|
59
59
|
eventBus.$on(
|
|
@@ -78,6 +78,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
78
78
|
gridRef.value.scanDone(data);
|
|
79
79
|
});
|
|
80
80
|
listOptions.value["formSetMaxHeight"] = getComponentHeight();
|
|
81
|
+
if (listOptions.value && listOptions.value.configureObj.props.base && listOptions.value.configureObj.props.base.isSafeDelete) {
|
|
82
|
+
$emit("setSafeDeleteTableCode", listOptions.value.extraParam.tableName);
|
|
83
|
+
}
|
|
81
84
|
});
|
|
82
85
|
watch(
|
|
83
86
|
() => props.pageContext.searchFormData,
|
|
@@ -144,7 +147,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
144
147
|
// 是否启用回车事件
|
|
145
148
|
isWithDataPermission: configure.props && configure.props.otherSettings && configure.props.otherSettings.isWithDataPermission ? configure.props.otherSettings.isWithDataPermission : false,
|
|
146
149
|
pageDevMode: false,
|
|
147
|
-
isWorkflowEntity: pageContext
|
|
150
|
+
isWorkflowEntity: isWorkflowPage(pageContext),
|
|
148
151
|
tableClass: runtimeClass,
|
|
149
152
|
tableStyle: runtimeStyle,
|
|
150
153
|
pageContext,
|
|
@@ -156,21 +159,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
156
159
|
};
|
|
157
160
|
setOperationButtons(options);
|
|
158
161
|
setSortInfo(options);
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
if (
|
|
163
|
-
|
|
164
|
-
const variablePath = decomposeVariable(linkage.fieldName);
|
|
165
|
-
if (variablePath && variablePath.length > 1) {
|
|
166
|
-
linkageVariable.push(variablePath[1]);
|
|
167
|
-
}
|
|
168
|
-
});
|
|
169
|
-
if (linkageVariable.length > 0) {
|
|
170
|
-
addLinkageWatch();
|
|
171
|
-
}
|
|
162
|
+
if (configure.props.linkages && configure.props.linkages.length > 0) {
|
|
163
|
+
configure.props.linkages.forEach((linkage) => {
|
|
164
|
+
const variablePath = decomposeVariable(linkage.fieldName);
|
|
165
|
+
if (variablePath && variablePath.length > 1) {
|
|
166
|
+
linkageVariable.push(variablePath[1]);
|
|
172
167
|
}
|
|
173
168
|
});
|
|
169
|
+
if (linkageVariable.length > 0) {
|
|
170
|
+
addLinkageWatch();
|
|
171
|
+
}
|
|
174
172
|
}
|
|
175
173
|
setTreeSetting(options);
|
|
176
174
|
setGridEvents(options);
|
|
@@ -188,44 +186,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
188
186
|
});
|
|
189
187
|
}
|
|
190
188
|
}
|
|
191
|
-
function myGetDataTypeMap(options) {
|
|
192
|
-
if (!backendUrl && !tableName) {
|
|
193
|
-
return;
|
|
194
|
-
}
|
|
195
|
-
return getDataTypeMapRequest(backendUrl, tableName, pageContext.isTest).then((result) => {
|
|
196
|
-
if (!pageContext["dataTypeMaps"]) {
|
|
197
|
-
pageContext["dataTypeMaps"] = {};
|
|
198
|
-
}
|
|
199
|
-
pageContext["dataTypeMaps"][tableName] = result["dataTypeMap"];
|
|
200
|
-
});
|
|
201
|
-
}
|
|
202
189
|
function setOperationButtons(options) {
|
|
203
|
-
const
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
if (showOperation && operationButtonSettings) {
|
|
207
|
-
const operationButtons = [];
|
|
208
|
-
operationButtonSettings.forEach((buttonConfigure) => {
|
|
209
|
-
const myButtonSet = {};
|
|
210
|
-
const myButtonProps = Object.assign({}, buttonConfigure.props.base);
|
|
211
|
-
myButtonProps.elementType = "el-button";
|
|
212
|
-
if (buttonConfigure.isPermission === void 0 || buttonConfigure.isPermission + "" === "true") {
|
|
213
|
-
const functionCodes = getPermissionCodes(buttonConfigure, props.pageContext);
|
|
214
|
-
if (functionCodes) {
|
|
215
|
-
myButtonProps.permission = functionCodes;
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
myButtonProps.label = myButtonProps.title;
|
|
219
|
-
myButtonProps.sourceButton = { uuid: buttonConfigure.uuid };
|
|
220
|
-
myButtonSet["props"] = myButtonProps;
|
|
221
|
-
myButtonSet["onClick"] = getOperationButtonClickEvent(buttonConfigure);
|
|
222
|
-
operationButtons.push(myButtonSet);
|
|
223
|
-
});
|
|
224
|
-
if (!options.operations) {
|
|
225
|
-
options.operations = {};
|
|
226
|
-
}
|
|
227
|
-
options.operations.operation = operationButtons;
|
|
190
|
+
const operationButtons = [];
|
|
191
|
+
if (!options.operations) {
|
|
192
|
+
options.operations = {};
|
|
228
193
|
}
|
|
194
|
+
getOperationButtons(pageContext, configure, operationButtons, getOperationButtonClickEvent);
|
|
195
|
+
options.operations.operation = operationButtons;
|
|
229
196
|
}
|
|
230
197
|
function setTreeSetting(options) {
|
|
231
198
|
const dataOrigin = configure.props ? configure.props.dataOrigin : {};
|
|
@@ -297,6 +264,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
297
264
|
});
|
|
298
265
|
}
|
|
299
266
|
function getOperationButtonClickEvent(buttonConfigure) {
|
|
267
|
+
if (!buttonConfigure) {
|
|
268
|
+
return;
|
|
269
|
+
}
|
|
300
270
|
let onClick;
|
|
301
271
|
const eventName = getEventNameByType(buttonConfigure.events, "click");
|
|
302
272
|
if (eventName) {
|
|
@@ -311,8 +281,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
311
281
|
onClick = deleteRow;
|
|
312
282
|
}
|
|
313
283
|
if (!onClick) {
|
|
314
|
-
|
|
315
|
-
|
|
284
|
+
const eventFunc = getEventFuncByType(pageContext, buttonConfigure.events, "click");
|
|
285
|
+
onClick = eventFunc;
|
|
316
286
|
}
|
|
317
287
|
} else {
|
|
318
288
|
operationButtonObj.value[buttonConfigure.uuid] = buttonConfigure;
|
|
@@ -500,11 +470,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
500
470
|
}
|
|
501
471
|
}
|
|
502
472
|
function searchGridData(data) {
|
|
503
|
-
if (!pageContext["dataTypeMaps"]
|
|
473
|
+
if (!pageContext["dataTypeMaps"]) {
|
|
504
474
|
console.log("!pageContext['dataTypeMaps'] || !pageContext['dataTypeMaps'][tableName]");
|
|
505
475
|
return;
|
|
506
476
|
}
|
|
507
|
-
const dataTypeObj = pageContext["dataTypeMaps"]
|
|
477
|
+
const dataTypeObj = pageContext["dataTypeMaps"];
|
|
508
478
|
let toolbarFieldParam = [];
|
|
509
479
|
if (data) {
|
|
510
480
|
for (var key in data) {
|
|
@@ -707,7 +677,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
707
677
|
gridRef.value.showMobileSearch();
|
|
708
678
|
}
|
|
709
679
|
}
|
|
710
|
-
function
|
|
680
|
+
function canShowMobileSearchFunc(listCode2) {
|
|
711
681
|
isCanShowMobileSearch.value = true;
|
|
712
682
|
}
|
|
713
683
|
function getRowStyle(data) {
|
|
@@ -830,7 +800,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
830
800
|
onHeaderClick: headerClickEvent,
|
|
831
801
|
onRefresh: clearSelections,
|
|
832
802
|
onNewOpenGridDialog: unref(popupToPage),
|
|
833
|
-
onCanShowMobileSearch:
|
|
803
|
+
onCanShowMobileSearch: canShowMobileSearchFunc
|
|
834
804
|
}, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "onNewOpenGridDialog"])
|
|
835
805
|
]);
|
|
836
806
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, onUnmounted, resolveComponent, openBlock, createElementBlock, createBlock, unref, createCommentVNode } from "vue";
|
|
2
2
|
import { setTableEvents, gridSelectRecord, gridSelectAllRecords, gridSelectionChange, cellClick, cellDblClick, rowClick, rowDblClick, headerClick } from "../../../../utils/events/event-util.js";
|
|
3
|
-
import {
|
|
3
|
+
import { setVariableValue, getVariableValue, getSizeConfig } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { getModelFields, getDefaultValue } from "../../../../utils/page-init-util.js";
|
|
5
5
|
import eventBus from "../../../../utils/eventBus.js";
|
|
6
|
-
import { popupToPage } from "../../../../utils/table-utils.js";
|
|
6
|
+
import { popupToPage, getOperationButtons } from "../../../../utils/table-utils.js";
|
|
7
7
|
import { getListCode, getBaseUrl } from "../../../../utils/common-util.js";
|
|
8
8
|
import { getAdditionalParamMap } from "../../../../utils/events/standard-event.js";
|
|
9
9
|
import { getRowStyleUtil, getCellStyleUtil, getHeaderCellStyleUtil } from "../../chart/table/chart-table-util.js";
|
|
@@ -13,7 +13,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
pageContext: {},
|
|
14
14
|
configure: {}
|
|
15
15
|
},
|
|
16
|
-
|
|
16
|
+
emits: ["setSafeDeleteTableCode"],
|
|
17
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
17
18
|
const props = __props;
|
|
18
19
|
const pageContext = props.pageContext;
|
|
19
20
|
const configure = props.configure;
|
|
@@ -56,6 +57,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
56
57
|
rowStyleRender: getRowStyle,
|
|
57
58
|
titleStyleRender: getTitleStyle
|
|
58
59
|
});
|
|
60
|
+
const $emit = __emit;
|
|
59
61
|
if (runtimeStyle) {
|
|
60
62
|
listViewOptions.value["tableStyle"] = runtimeStyle;
|
|
61
63
|
}
|
|
@@ -80,15 +82,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
80
82
|
if (subTableWatchProps && subTableWatchProps[tableUuid] && subTableWatchProps[tableUuid].length > 0) {
|
|
81
83
|
const mainFormProps = subTableWatchProps[tableUuid];
|
|
82
84
|
if (mainFormProps.indexOf(propName) >= 0) {
|
|
83
|
-
|
|
84
|
-
changeInitializationSubTable();
|
|
85
|
-
}
|
|
85
|
+
reloadSubTableData();
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
});
|
|
89
89
|
eventBus.$on("_refreshSubTableHandle_" + tableUuid, (params) => {
|
|
90
90
|
console.log("-_refreshSubTableHandle_--tableUuid=", tableUuid, "params=", params);
|
|
91
|
-
|
|
91
|
+
reloadSubTableData();
|
|
92
92
|
});
|
|
93
93
|
eventBus.$on(
|
|
94
94
|
"_refreshChildData_" + tableUuid,
|
|
@@ -105,7 +105,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
105
105
|
console.log("superPage5555---listCode---scanDone--listCode=", listCode, "data=", data);
|
|
106
106
|
gridRef.value.scanDone(data);
|
|
107
107
|
});
|
|
108
|
+
if (listViewOptions.value && listViewOptions.value.configureObj.props.base && listViewOptions.value.configureObj.props.base.isSafeDelete) {
|
|
109
|
+
$emit("setSafeDeleteTableCode", listViewOptions.value.extraParam.tableName);
|
|
110
|
+
}
|
|
108
111
|
});
|
|
112
|
+
function reloadSubTableData() {
|
|
113
|
+
if (gridRef.value) {
|
|
114
|
+
listViewOptions.value["subTableData"] = null;
|
|
115
|
+
gridRef.value.reloadSubTableData(listCode);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
109
118
|
onUnmounted(() => {
|
|
110
119
|
const tableUuid = configure.uuid;
|
|
111
120
|
eventBus.$off("_refreshSubTable_" + tableUuid);
|
|
@@ -282,6 +291,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
282
291
|
};
|
|
283
292
|
operations.push(removeButton);
|
|
284
293
|
}
|
|
294
|
+
getOperationButtons(pageContext, configure, operations);
|
|
285
295
|
return operations;
|
|
286
296
|
}
|
|
287
297
|
initializationSubTable();
|
|
@@ -497,7 +507,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
497
507
|
}, 10);
|
|
498
508
|
}
|
|
499
509
|
function getRowStyle(data) {
|
|
500
|
-
|
|
510
|
+
const style = getRowStyleUtil(data, null, props);
|
|
511
|
+
console.log("getRowStyle----style=", style);
|
|
512
|
+
return style;
|
|
501
513
|
}
|
|
502
514
|
function getCellStyle(data) {
|
|
503
515
|
return getCellStyleUtil(data, data.cellStyle, props);
|
|
@@ -29,6 +29,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
29
29
|
return gridRef.value.validatorSunTableListData();
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
+
function setSafeDeleteTableCode(code) {
|
|
33
|
+
if (props.pageContext.entity.data._SAFE_DELETE_TABLE_NAMES) {
|
|
34
|
+
props.pageContext.entity.data._SAFE_DELETE_TABLE_NAMES.push(code);
|
|
35
|
+
} else {
|
|
36
|
+
props.pageContext.entity.data._SAFE_DELETE_TABLE_NAMES = [code];
|
|
37
|
+
}
|
|
38
|
+
}
|
|
32
39
|
function clearSelections() {
|
|
33
40
|
return gridRef.value.clearSelections();
|
|
34
41
|
}
|
|
@@ -81,13 +88,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
88
|
ref_key: "gridRef",
|
|
82
89
|
ref: gridRef,
|
|
83
90
|
pageContext: _ctx.pageContext,
|
|
84
|
-
configure: tableConfigure.value
|
|
91
|
+
configure: tableConfigure.value,
|
|
92
|
+
onSetSafeDeleteTableCode: setSafeDeleteTableCode
|
|
85
93
|
}, null, 8, ["pageContext", "configure"])) : (openBlock(), createBlock(_sfc_main$2, {
|
|
86
94
|
key: 1,
|
|
87
95
|
ref_key: "gridRef",
|
|
88
96
|
ref: gridRef,
|
|
89
97
|
pageContext: _ctx.pageContext,
|
|
90
|
-
configure: tableConfigure.value
|
|
98
|
+
configure: tableConfigure.value,
|
|
99
|
+
onSetSafeDeleteTableCode: setSafeDeleteTableCode
|
|
91
100
|
}, null, 8, ["pageContext", "configure"]))
|
|
92
101
|
]);
|
|
93
102
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, Fragment, renderList } from "vue";
|
|
1
|
+
import { defineComponent, computed, ref, onMounted, nextTick, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, Fragment, renderList } from "vue";
|
|
2
2
|
import { getVariableValue, setVariableValue, getOptionDatasFromPage, monitorFieldChange, autoSetAfterSelect, queryOptionDatasources } from "../../../../utils/page-helper-util.js";
|
|
3
3
|
import { getFormModelFields } from "../../../../utils/page-init-util.js";
|
|
4
|
-
import { handleFormEvent } from "../../../../utils/events/event-util.js";
|
|
4
|
+
import { handleFormEvent, handleAfterInitEvent } from "../../../../utils/events/event-util.js";
|
|
5
5
|
import { $t } from "../../../../utils/i18n-util.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "checkbox-runtime",
|
|
@@ -16,7 +16,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
16
|
const dynamicModelMethod = computed({
|
|
17
17
|
get() {
|
|
18
18
|
let val = getVariableValue(entity, dynamicFields);
|
|
19
|
-
if (val) {
|
|
19
|
+
if (val && typeof val === "string") {
|
|
20
20
|
val = val.split(",");
|
|
21
21
|
}
|
|
22
22
|
return val;
|
|
@@ -81,6 +81,27 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
81
|
function updateOptions(newOptions) {
|
|
82
82
|
listOptions.value = newOptions ? newOptions : [];
|
|
83
83
|
}
|
|
84
|
+
const formItemRef = ref(null);
|
|
85
|
+
const componentRef = ref(null);
|
|
86
|
+
const titleRef = ref(null);
|
|
87
|
+
onMounted(() => {
|
|
88
|
+
nextTick(() => {
|
|
89
|
+
const value = dynamicModelMethod.value;
|
|
90
|
+
handleAfterInitEvent(
|
|
91
|
+
value,
|
|
92
|
+
props.pageContext,
|
|
93
|
+
props.configure,
|
|
94
|
+
{
|
|
95
|
+
formItemRef: formItemRef.value,
|
|
96
|
+
componentRef: componentRef.value,
|
|
97
|
+
titleRef: titleRef.value,
|
|
98
|
+
value,
|
|
99
|
+
entity: props.pageContext.entity.data,
|
|
100
|
+
pageData: props.pageContext.entity.page
|
|
101
|
+
}
|
|
102
|
+
);
|
|
103
|
+
});
|
|
104
|
+
});
|
|
84
105
|
__expose({
|
|
85
106
|
updateOptions
|
|
86
107
|
});
|
|
@@ -89,6 +110,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
89
110
|
const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
|
|
90
111
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
91
112
|
return openBlock(), createBlock(_component_el_form_item, {
|
|
113
|
+
ref_key: "formItemRef",
|
|
114
|
+
ref: formItemRef,
|
|
92
115
|
class: normalizeClass(unref(runtimeClass)),
|
|
93
116
|
"label-width": designProperty.value.labelWidth,
|
|
94
117
|
style: normalizeStyle(unref(runtimeStyle))
|
|
@@ -96,11 +119,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
96
119
|
label: withCtx(() => [
|
|
97
120
|
designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
|
|
98
121
|
key: 0,
|
|
122
|
+
ref_key: "titleRef",
|
|
123
|
+
ref: titleRef,
|
|
99
124
|
style: normalizeStyle({ ...unref(headerStyle), ...unref(titleExceedStyle) })
|
|
100
125
|
}, toDisplayString(unref($t)(designProperty.value.title)), 5)) : createCommentVNode("", true)
|
|
101
126
|
]),
|
|
102
127
|
default: withCtx(() => [
|
|
103
128
|
createVNode(_component_el_checkbox_group, {
|
|
129
|
+
ref_key: "componentRef",
|
|
130
|
+
ref: componentRef,
|
|
104
131
|
disabled: designProperty.value.state === "disabled",
|
|
105
132
|
size: designProperty.value.size,
|
|
106
133
|
onChange: designProperty.value.changeMethod,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, onMounted, onUnmounted, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, resolveDynamicComponent } from "vue";
|
|
1
|
+
import { defineComponent, computed, ref, onMounted, nextTick, onUnmounted, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, resolveDynamicComponent } from "vue";
|
|
2
2
|
import { getFormModelFields } from "../../../../utils/page-init-util.js";
|
|
3
3
|
import { getVariableValue, setVariableValue, formatVariableValue, getFormPropName, setVariableValueWithProp } from "../../../../utils/page-helper-util.js";
|
|
4
|
-
import { handleEvent } from "../../../../utils/events/event-util.js";
|
|
4
|
+
import { handleAfterInitEvent, handleEvent } from "../../../../utils/events/event-util.js";
|
|
5
5
|
import { updateFormItemEditState } from "../../../../utils/events/validator-util.js";
|
|
6
6
|
import { getListCode } from "../../../../utils/common-util.js";
|
|
7
7
|
import { getComponentRef } from "../../../../utils/global-refs.js";
|
|
@@ -86,6 +86,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
86
86
|
dynamicFields && dynamicFields.length > 0 ? pageCode + "__" + dynamicFields.join("__") : null
|
|
87
87
|
);
|
|
88
88
|
const customRef = ref(null);
|
|
89
|
+
const formItemRef = ref(null);
|
|
90
|
+
const titleRef = ref(null);
|
|
89
91
|
onMounted(() => {
|
|
90
92
|
eventBus.$on(componentId.value + "-scanDone", (data) => {
|
|
91
93
|
const value = data.result;
|
|
@@ -100,6 +102,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
100
102
|
);
|
|
101
103
|
customRef.value.pickFileDone(data);
|
|
102
104
|
});
|
|
105
|
+
nextTick(() => {
|
|
106
|
+
const value = dynamicModelMethod.value;
|
|
107
|
+
handleAfterInitEvent(
|
|
108
|
+
value,
|
|
109
|
+
props.pageContext,
|
|
110
|
+
props.configure,
|
|
111
|
+
{
|
|
112
|
+
formItemRef: formItemRef.value,
|
|
113
|
+
componentRef: customRef.value,
|
|
114
|
+
titleRef: titleRef.value,
|
|
115
|
+
value,
|
|
116
|
+
entity: props.pageContext.entity.data,
|
|
117
|
+
pageData: props.pageContext.entity.page
|
|
118
|
+
}
|
|
119
|
+
);
|
|
120
|
+
});
|
|
103
121
|
});
|
|
104
122
|
function handleCustomEvent(eventType) {
|
|
105
123
|
handleEvent(dynamicModelMethod.value, props.pageContext, props.configure, eventType);
|
|
@@ -112,6 +130,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
112
130
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
113
131
|
return designProperty.value.tittleShow ? (openBlock(), createBlock(_component_el_form_item, {
|
|
114
132
|
key: 0,
|
|
133
|
+
ref_key: "formItemRef",
|
|
134
|
+
ref: formItemRef,
|
|
115
135
|
required: designProperty.value.required,
|
|
116
136
|
class: normalizeClass(unref(runtimeClass)),
|
|
117
137
|
"label-width": designProperty.value.labelWidth,
|
|
@@ -120,6 +140,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
120
140
|
label: withCtx(() => [
|
|
121
141
|
designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
|
|
122
142
|
key: 0,
|
|
143
|
+
ref_key: "titleRef",
|
|
144
|
+
ref: titleRef,
|
|
123
145
|
style: normalizeStyle({ ...unref(headerStyle) })
|
|
124
146
|
}, toDisplayString(unref($t)(designProperty.value.title)), 5)) : createCommentVNode("", true)
|
|
125
147
|
]),
|
package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode } from "vue";
|
|
1
|
+
import { defineComponent, ref, onMounted, nextTick, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
import { getFormModelFields } from "../../../../utils/page-init-util.js";
|
|
3
3
|
import { getDateShortCuts } from "../../../../utils/form/date-shortcuts.js";
|
|
4
4
|
import { getValueFromVariable, setVariableValue, getVariableValue } from "../../../../utils/page-helper-util.js";
|
|
5
|
-
import { getCustomFunc, handleFormEvent } from "../../../../utils/events/event-util.js";
|
|
5
|
+
import { handleAfterInitEvent, getCustomFunc, handleFormEvent } from "../../../../utils/events/event-util.js";
|
|
6
6
|
import _sfc_main$1 from "../common/title-suffix-element.vue.js";
|
|
7
7
|
import dayjs from "dayjs";
|
|
8
8
|
import { $t } from "../../../../utils/i18n-util.js";
|
|
@@ -40,13 +40,32 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
+
const formItemRef = ref(null);
|
|
44
|
+
const componentRef = ref(null);
|
|
45
|
+
const titleRef = ref(null);
|
|
46
|
+
onMounted(() => {
|
|
47
|
+
nextTick(() => {
|
|
48
|
+
const value = dynamicModelMethod.value;
|
|
49
|
+
handleAfterInitEvent(
|
|
50
|
+
value,
|
|
51
|
+
props.pageContext,
|
|
52
|
+
props.configure,
|
|
53
|
+
{
|
|
54
|
+
formItemRef: formItemRef.value,
|
|
55
|
+
componentRef: componentRef.value,
|
|
56
|
+
titleRef: titleRef.value,
|
|
57
|
+
value,
|
|
58
|
+
entity: props.pageContext.entity.data,
|
|
59
|
+
pageData: props.pageContext.entity.page
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
});
|
|
63
|
+
});
|
|
43
64
|
function formatDate(value, formatStr) {
|
|
44
65
|
if (!value) {
|
|
45
66
|
return value;
|
|
46
67
|
}
|
|
47
68
|
if (formatStr) {
|
|
48
|
-
console.log("formatStr", formatStr);
|
|
49
|
-
console.log("before", value);
|
|
50
69
|
try {
|
|
51
70
|
const convertValue = dayjs(value);
|
|
52
71
|
let value2 = null;
|
|
@@ -55,7 +74,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
55
74
|
} else {
|
|
56
75
|
value2 = dayjs(value).format(formatStr);
|
|
57
76
|
}
|
|
58
|
-
console.log("after", value2);
|
|
59
77
|
return value2;
|
|
60
78
|
} catch (e) {
|
|
61
79
|
console.error("日期值格式化错误", e);
|
|
@@ -143,6 +161,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
143
161
|
const _component_el_date_picker = resolveComponent("el-date-picker");
|
|
144
162
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
145
163
|
return openBlock(), createBlock(_component_el_form_item, {
|
|
164
|
+
ref_key: "formItemRef",
|
|
165
|
+
ref: formItemRef,
|
|
146
166
|
required: designProperty.value.required,
|
|
147
167
|
class: normalizeClass(unref(runtimeClass)),
|
|
148
168
|
"label-width": designProperty.value.labelWidth,
|
|
@@ -151,6 +171,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
151
171
|
label: withCtx(() => [
|
|
152
172
|
designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
|
|
153
173
|
key: 0,
|
|
174
|
+
ref_key: "titleRef",
|
|
175
|
+
ref: titleRef,
|
|
154
176
|
style: normalizeStyle({ ...unref(headerStyle), ...unref(titleExceedStyle) })
|
|
155
177
|
}, [
|
|
156
178
|
designProperty.value.prefixType ? (openBlock(), createBlock(_sfc_main$1, {
|
|
@@ -165,6 +187,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
165
187
|
default: withCtx(() => [
|
|
166
188
|
designProperty.value.dateType == "time" || designProperty.value.dateType == "timerange" ? (openBlock(), createBlock(_component_el_time_picker, {
|
|
167
189
|
key: 0,
|
|
190
|
+
ref_key: "componentRef",
|
|
191
|
+
ref: componentRef,
|
|
168
192
|
"is-range": designProperty.value.dateType == "timerange",
|
|
169
193
|
style: { "width": "100%" },
|
|
170
194
|
"range-separator": "-",
|
|
@@ -189,6 +213,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
189
213
|
onClear: _cache[6] || (_cache[6] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "clear"))
|
|
190
214
|
}, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"])) : (openBlock(), createBlock(_component_el_date_picker, {
|
|
191
215
|
key: 1,
|
|
216
|
+
ref_key: "componentRef",
|
|
217
|
+
ref: componentRef,
|
|
192
218
|
clearable: designProperty.value.clearable,
|
|
193
219
|
style: { "width": "100%" },
|
|
194
220
|
disabled: designProperty.value.state === "disabled",
|