super-page-runtime 2.0.86 → 2.0.92
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/api-util.js +17 -11
- package/dist/es/components/runtime/utils/assemblys-config.js +260 -214
- package/dist/es/components/runtime/utils/common-util.d.ts +1 -0
- package/dist/es/components/runtime/utils/common-util.js +14 -0
- package/dist/es/components/runtime/utils/events/standard-event.js +15 -16
- package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +2 -2
- package/dist/es/components/runtime/utils/page-init-util.js +24 -3
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +36 -33
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +24 -9
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +16 -11
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +2 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +22 -56
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +4 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +4 -15
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +53 -0
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +5 -2
- package/dist/es/components/runtime/views/super-page.vue.d.ts +9 -0
- package/dist/es/components/runtime/views/super-page.vue.js +16 -4
- package/dist/es/index.d.ts +2 -0
- package/dist/es/index.js +2 -0
- package/package.json +2 -2
|
@@ -11,11 +11,15 @@ function refreshPage(pageContext, id) {
|
|
|
11
11
|
});
|
|
12
12
|
}
|
|
13
13
|
function getFormData(pageContext, id) {
|
|
14
|
+
var _a;
|
|
14
15
|
const pageType = pageContext.pageType;
|
|
15
16
|
if (pageType && pageType === "form") {
|
|
16
17
|
console.log("获取表单数据getData--pageContext=", pageContext);
|
|
17
18
|
pageContext.canClick = false;
|
|
18
|
-
|
|
19
|
+
let isWorkflow = false;
|
|
20
|
+
if ((_a = pageContext.props) == null ? void 0 : _a.activeWorkflow) {
|
|
21
|
+
isWorkflow = pageContext.workflowCode ? true : false;
|
|
22
|
+
}
|
|
19
23
|
if (isWorkflow) {
|
|
20
24
|
return getWorkflowFormData(pageContext, id);
|
|
21
25
|
} else {
|
|
@@ -47,7 +51,7 @@ function getCommonFormData(pageContext, id) {
|
|
|
47
51
|
id: dataId,
|
|
48
52
|
systemCode,
|
|
49
53
|
functionCode: permissionPrefix + ".gets",
|
|
50
|
-
|
|
54
|
+
listCodesMap: pageContext.listCodesMap
|
|
51
55
|
};
|
|
52
56
|
if (!param.id && additionalParamMap && additionalParamMap._t_ && getSessionCache(additionalParamMap._t_ + "_id")) {
|
|
53
57
|
param.id = getSessionCache(additionalParamMap._t_ + "_id");
|
|
@@ -67,13 +71,14 @@ function getCommonFormData(pageContext, id) {
|
|
|
67
71
|
if (taskId) {
|
|
68
72
|
param["taskId"] = taskId;
|
|
69
73
|
}
|
|
70
|
-
|
|
71
|
-
|
|
74
|
+
console.log("getCommonFormData---listCodesMap=", pageContext.listCodesMap);
|
|
75
|
+
if (!pageContext.listCodesMap && pageContext.tableUuids) {
|
|
76
|
+
const listCodesMap = {};
|
|
72
77
|
pageContext.tableUuids.forEach((tableUuid) => {
|
|
73
78
|
const listCode = getListCode(pageCode, pageVersion, tableUuid);
|
|
74
|
-
|
|
79
|
+
listCodesMap[listCode] = listCode;
|
|
75
80
|
});
|
|
76
|
-
param["
|
|
81
|
+
param["listCodesMap"] = listCodesMap;
|
|
77
82
|
}
|
|
78
83
|
if (pageContext.refercePropMap) {
|
|
79
84
|
param["refercePropMap"] = pageContext.refercePropMap;
|
|
@@ -127,15 +132,16 @@ function getWorkflowFormData(pageContext, id) {
|
|
|
127
132
|
isWorkflowEntity: true,
|
|
128
133
|
systemCode,
|
|
129
134
|
functionCode: permissionPrefix + ".gets",
|
|
130
|
-
|
|
135
|
+
listCodesMap: pageContext.listCodesMap
|
|
131
136
|
};
|
|
132
|
-
|
|
133
|
-
|
|
137
|
+
console.log("getWorkflowFormData---listCodesMap=", pageContext.listCodesMap);
|
|
138
|
+
if (!pageContext.listCodesMap && pageContext.tableUuids) {
|
|
139
|
+
const listCodesMap = {};
|
|
134
140
|
pageContext.tableUuids.forEach((tableUuid) => {
|
|
135
141
|
const listCode = getListCode(pageCode, pageVersion, tableUuid);
|
|
136
|
-
|
|
142
|
+
listCodesMap[listCode] = listCode;
|
|
137
143
|
});
|
|
138
|
-
param["
|
|
144
|
+
param["listCodesMap"] = listCodesMap;
|
|
139
145
|
}
|
|
140
146
|
if (ids) {
|
|
141
147
|
param["ids"] = formatAdditionalParamMapIds(ids);
|
|
@@ -4,197 +4,230 @@ const assemblyGroups = [
|
|
|
4
4
|
name: "container",
|
|
5
5
|
label: "容器",
|
|
6
6
|
icon: "assets/images/group-container.png",
|
|
7
|
-
items: [
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
7
|
+
items: [
|
|
8
|
+
{
|
|
9
|
+
name: "form",
|
|
10
|
+
label: "表单",
|
|
11
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
12
|
+
return import("../views/assemblys/container/form/form-runtime.vue.js");
|
|
13
|
+
})
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
name: "card",
|
|
17
|
+
label: "卡片",
|
|
18
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
19
|
+
return import("../views/assemblys/container/card/card-runtime.vue.js");
|
|
20
|
+
})
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: "collapse",
|
|
24
|
+
label: "折叠面板",
|
|
25
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
26
|
+
return import("../views/assemblys/container/collapse/collapse-runtime.vue.js");
|
|
27
|
+
})
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
name: "layout",
|
|
31
|
+
label: "Flex",
|
|
32
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
33
|
+
return import("../views/assemblys/container/flex/flex-runtime.vue.js");
|
|
34
|
+
})
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: "tabs",
|
|
38
|
+
label: "Tabs",
|
|
39
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
40
|
+
return import("../views/assemblys/container/tabs/tabs-runtime.vue.js");
|
|
41
|
+
})
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: "tools",
|
|
45
|
+
label: "工具栏",
|
|
46
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
47
|
+
return import("../views/assemblys/container/tools/tools-runtime.vue.js");
|
|
48
|
+
})
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: "iframe",
|
|
52
|
+
label: "Iframe",
|
|
53
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
54
|
+
return import("../views/assemblys/container/iframe/iframe-runtime.vue.js");
|
|
55
|
+
})
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: "container",
|
|
59
|
+
label: "布局",
|
|
60
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
61
|
+
return import("../views/assemblys/container/container/container-runtime.vue.js");
|
|
62
|
+
})
|
|
63
|
+
}
|
|
64
|
+
]
|
|
56
65
|
},
|
|
57
66
|
{
|
|
58
67
|
name: "form",
|
|
59
68
|
label: "表单",
|
|
60
|
-
items: [
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
69
|
+
items: [
|
|
70
|
+
{
|
|
71
|
+
name: "input-text",
|
|
72
|
+
label: "文本框",
|
|
73
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
74
|
+
return import("../views/assemblys/form/input-text/inputtext-runtime.vue.js");
|
|
75
|
+
})
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: "select",
|
|
79
|
+
label: "下拉框",
|
|
80
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
81
|
+
return import("../views/assemblys/form/select/select-runtime.vue.js");
|
|
82
|
+
})
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: "radio",
|
|
86
|
+
label: "单选框",
|
|
87
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
88
|
+
return import("../views/assemblys/form/radio/radio-runtime.vue.js");
|
|
89
|
+
})
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
name: "checkbox",
|
|
93
|
+
label: "复选框",
|
|
94
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
95
|
+
return import("../views/assemblys/form/checkbox/checkbox-runtime.vue.js");
|
|
96
|
+
})
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
name: "textarea",
|
|
100
|
+
label: "文本域",
|
|
101
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
102
|
+
return import("../views/assemblys/form/textarea/textarea-runtime.vue.js");
|
|
103
|
+
})
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
name: "datePicker",
|
|
107
|
+
label: "日期/时间",
|
|
108
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
109
|
+
return import("../views/assemblys/form/date-picker/datepicker-runtime.vue.js");
|
|
110
|
+
})
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: "switch",
|
|
114
|
+
label: "开关",
|
|
115
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
116
|
+
return import("../views/assemblys/form/switch/switch-runtime.vue.js");
|
|
117
|
+
})
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
name: "inputNumber",
|
|
121
|
+
label: "计数器",
|
|
122
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
123
|
+
return import("../views/assemblys/form/input-number/input-number-runtime.vue.js");
|
|
124
|
+
})
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
name: "tag",
|
|
128
|
+
label: "标签",
|
|
129
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
130
|
+
return import("../views/assemblys/form/tag/tag-runtime.vue.js");
|
|
131
|
+
})
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
name: "richText",
|
|
135
|
+
label: "富文本",
|
|
136
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
137
|
+
return import("../views/assemblys/form/rich-text/richtext-runtime.vue.js");
|
|
138
|
+
})
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
name: "divider",
|
|
142
|
+
label: "分割线",
|
|
143
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
144
|
+
return import("../views/assemblys/form/divider/divider-runtime.vue.js");
|
|
145
|
+
})
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
name: "separatelabel",
|
|
149
|
+
label: "分割标签",
|
|
150
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
151
|
+
return import("../views/assemblys/form/separatelabel/separatelabel-runtime.vue.js");
|
|
152
|
+
})
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
name: "placeholder",
|
|
156
|
+
label: "占位符",
|
|
157
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
158
|
+
return import("../views/assemblys/form/placeholder/placeholder-runtime.vue.js");
|
|
159
|
+
})
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
name: "link",
|
|
163
|
+
label: "链接",
|
|
164
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
165
|
+
return import("../views/assemblys/form/link/link-runtime.vue.js");
|
|
166
|
+
})
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
name: "label",
|
|
170
|
+
label: "Label组件",
|
|
171
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
172
|
+
return import("../views/assemblys/form/label/label-runtime.vue.js");
|
|
173
|
+
})
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
name: "dept-tree",
|
|
177
|
+
label: "组织树",
|
|
178
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
179
|
+
return import("../views/assemblys/form/dept-tree/depttree-runtime.vue.js");
|
|
180
|
+
})
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
name: "file-upload",
|
|
184
|
+
label: "文件上传",
|
|
185
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
186
|
+
return import("../views/assemblys/form/file-upload/fileupload-runtime.vue.js");
|
|
187
|
+
})
|
|
188
|
+
}
|
|
189
|
+
]
|
|
163
190
|
},
|
|
164
191
|
{
|
|
165
192
|
name: "button",
|
|
166
193
|
label: "按钮",
|
|
167
|
-
items: [
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
194
|
+
items: [
|
|
195
|
+
{
|
|
196
|
+
name: "button-detail",
|
|
197
|
+
label: "按钮",
|
|
198
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
199
|
+
return import("../views/assemblys/button/button/button-runtime.vue.js");
|
|
200
|
+
})
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
name: "button-group",
|
|
204
|
+
label: "按钮组",
|
|
205
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
206
|
+
return import("../views/assemblys/button/button-group/buttongroup-runtime.vue.js");
|
|
207
|
+
})
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
name: "dropdown",
|
|
211
|
+
label: "下拉菜单",
|
|
212
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
213
|
+
return import("../views/assemblys/button/dropdown/dropdown-runtime.vue.js");
|
|
214
|
+
})
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
name: "print-label",
|
|
218
|
+
label: "打印标签",
|
|
219
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
220
|
+
return import("../views/assemblys/button/print-label/printlabel-runtime.vue.js");
|
|
221
|
+
})
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
name: "export-pdf",
|
|
225
|
+
label: "打印标签",
|
|
226
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
227
|
+
return import("../views/assemblys/button/export-pdf/exportpdf-runtime.vue.js");
|
|
228
|
+
})
|
|
229
|
+
}
|
|
230
|
+
]
|
|
198
231
|
},
|
|
199
232
|
{
|
|
200
233
|
name: "workflow",
|
|
@@ -220,43 +253,56 @@ const assemblyGroups = [
|
|
|
220
253
|
runtimeComponent: defineAsyncComponent(() => {
|
|
221
254
|
return import("../views/assemblys/workflow/text-history/textflow-runtime.vue.js");
|
|
222
255
|
})
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
name: "workflow-node",
|
|
259
|
+
label: "流程环节",
|
|
260
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
261
|
+
return import("../views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js");
|
|
262
|
+
})
|
|
223
263
|
}
|
|
224
264
|
]
|
|
225
265
|
},
|
|
226
266
|
{
|
|
227
267
|
name: "chart",
|
|
228
268
|
label: "统计图",
|
|
229
|
-
items: [
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
269
|
+
items: [
|
|
270
|
+
{
|
|
271
|
+
name: "chart-column-line",
|
|
272
|
+
label: "柱/折图",
|
|
273
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
274
|
+
return import("../views/assemblys/chart/column-line/column-line-runtime.vue.js");
|
|
275
|
+
})
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
name: "chart-pie",
|
|
279
|
+
label: "饼图",
|
|
280
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
281
|
+
return import("../views/assemblys/chart/pie/pie-runtime.vue.js");
|
|
282
|
+
})
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
name: "chart-gauge",
|
|
286
|
+
label: "仪表盘",
|
|
287
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
288
|
+
return import("../views/assemblys/chart/gauge/gauge-runtime.vue.js");
|
|
289
|
+
})
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
name: "chart-radar",
|
|
293
|
+
label: "雷达图",
|
|
294
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
295
|
+
return import("../views/assemblys/chart/radar/radar-runtime.vue.js");
|
|
296
|
+
})
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
name: "chart-scatter",
|
|
300
|
+
label: "散点图",
|
|
301
|
+
runtimeComponent: defineAsyncComponent(() => {
|
|
302
|
+
return import("../views/assemblys/chart/scatter/scatter-runtime.vue.js");
|
|
303
|
+
})
|
|
304
|
+
}
|
|
305
|
+
]
|
|
260
306
|
},
|
|
261
307
|
{
|
|
262
308
|
name: "data",
|
|
@@ -115,6 +115,19 @@ function getPropClassName(configure) {
|
|
|
115
115
|
}
|
|
116
116
|
return propClassName;
|
|
117
117
|
}
|
|
118
|
+
function isNumber(numStr) {
|
|
119
|
+
try {
|
|
120
|
+
if (numStr !== void 0 && numStr !== null) {
|
|
121
|
+
const num = parseInt(numStr + "");
|
|
122
|
+
if (Number.isInteger(num)) {
|
|
123
|
+
return true;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
return false;
|
|
127
|
+
} catch (error) {
|
|
128
|
+
return false;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
118
131
|
export {
|
|
119
132
|
deepCopy,
|
|
120
133
|
getBaseUrl,
|
|
@@ -123,6 +136,7 @@ export {
|
|
|
123
136
|
getRealRestApiPath,
|
|
124
137
|
getWorkflowId,
|
|
125
138
|
isArrayFn,
|
|
139
|
+
isNumber,
|
|
126
140
|
packageTemplateFiles,
|
|
127
141
|
upperFirstCase
|
|
128
142
|
};
|