fec-dev-designer 1.1.2 → 5.1.2
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/es/package.json.js +66 -0
- package/es/src/assets/approvalHistory.png.js +4 -0
- package/es/src/assets/logo.png.js +4 -0
- package/es/src/components/DataSourceSelect.vue.js +2 -1
- package/es/src/components/OptionConfig.vue.js +3 -2
- package/es/src/components/OptionConfig.vue2.js +2 -2
- package/es/src/components/ParamsConfig.vue.js +2 -2
- package/es/src/components/ParamsConfig.vue2.js +31 -32
- package/es/src/components/ValueSelector.vue2.js +49 -39
- package/es/src/layout/header/index.vue.js +95 -84
- package/es/src/packages/advancedFilter/ValueInput.vue2.js +57 -60
- package/es/src/packages/dataSource/dataSource.vue.js +98 -105
- package/es/src/packages/dialog/index.vue.js +443 -322
- package/es/src/packages/event/index.vue2.js +44 -44
- package/es/src/packages/event/useEventDialog.js +2 -2
- package/es/src/packages/eventFlow/dialog/action/FormSubmit.vue2.js +47 -54
- package/es/src/packages/eventFlow/dialog/action/Page.vue.js +42 -49
- package/es/src/packages/form/aside/index.js +27 -2
- package/es/src/packages/form/aside/roleSelect.js +156 -0
- package/es/src/packages/form/aside/userSelect.js +206 -0
- package/es/src/packages/form/components/ApprovalHistory.vue.js +73 -0
- package/es/src/packages/form/components/ApprovalHistory.vue2.js +4 -0
- package/es/src/packages/form/components/ComponentPreviewWrapper.vue.js +51 -41
- package/es/src/packages/form/components/H2Wrapper.vue.js +13 -10
- package/es/src/packages/form/index.vue.js +140 -130
- package/es/src/packages/form/property/approvalHistory.vue.js +178 -0
- package/es/src/packages/form/property/index.vue.js +23 -22
- package/es/src/packages/form/property/subTable.vue.js +37 -43
- package/es/src/packages/form/property/widgets.vue.js +258 -202
- package/es/src/packages/table/aside/index.js +2 -1
- package/es/src/packages/table/default.js +24 -21
- package/es/src/packages/table/property/widgets.vue.js +63 -47
- package/es/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
id: "dialog_1773471346472",
|
|
3
|
+
name: "角色选择",
|
|
4
|
+
dialogSize: "standard",
|
|
5
|
+
dialogParams: [],
|
|
6
|
+
customWidth: "",
|
|
7
|
+
customMaxHeight: "",
|
|
8
|
+
contentSource: "table",
|
|
9
|
+
tableContent: "custom",
|
|
10
|
+
selectionMode: "single",
|
|
11
|
+
isSubTablePagination: !0,
|
|
12
|
+
isSubTableReadOnly: !1,
|
|
13
|
+
componentPath: "",
|
|
14
|
+
fieldMapping: [],
|
|
15
|
+
subFormMode: "edit",
|
|
16
|
+
subFormFooterButtons: [],
|
|
17
|
+
customTableConfig: {
|
|
18
|
+
fieldsData: [
|
|
19
|
+
{
|
|
20
|
+
fieldType: "text",
|
|
21
|
+
label: "角色号",
|
|
22
|
+
fieldName: "roleNo",
|
|
23
|
+
format: "number",
|
|
24
|
+
hasDecimalPlaces: !0,
|
|
25
|
+
decimalPlaces: 2,
|
|
26
|
+
optionStyle: "default",
|
|
27
|
+
dateType: "date",
|
|
28
|
+
widthMode: "auto",
|
|
29
|
+
minWidth: 80,
|
|
30
|
+
headerAlign: "center",
|
|
31
|
+
align: "center",
|
|
32
|
+
isOverflowWrap: !0,
|
|
33
|
+
isShow: !0,
|
|
34
|
+
id: "roleNo"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
fieldType: "text",
|
|
38
|
+
label: "角色名",
|
|
39
|
+
fieldName: "roleName",
|
|
40
|
+
format: "number",
|
|
41
|
+
hasDecimalPlaces: !0,
|
|
42
|
+
decimalPlaces: 2,
|
|
43
|
+
optionStyle: "default",
|
|
44
|
+
dateType: "date",
|
|
45
|
+
widthMode: "auto",
|
|
46
|
+
minWidth: 80,
|
|
47
|
+
headerAlign: "center",
|
|
48
|
+
align: "center",
|
|
49
|
+
isOverflowWrap: !0,
|
|
50
|
+
isShow: !0,
|
|
51
|
+
id: "roleName"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
fieldType: "select",
|
|
55
|
+
label: "系统级别标志",
|
|
56
|
+
fieldName: "sysInd",
|
|
57
|
+
format: "number",
|
|
58
|
+
hasDecimalPlaces: !0,
|
|
59
|
+
decimalPlaces: 2,
|
|
60
|
+
optionStyle: "default",
|
|
61
|
+
dateType: "date",
|
|
62
|
+
widthMode: "auto",
|
|
63
|
+
minWidth: 80,
|
|
64
|
+
headerAlign: "center",
|
|
65
|
+
align: "center",
|
|
66
|
+
isOverflowWrap: !0,
|
|
67
|
+
isShow: !0,
|
|
68
|
+
id: "sysInd",
|
|
69
|
+
optionConfig: {
|
|
70
|
+
optionSource: "dictionary",
|
|
71
|
+
options: [
|
|
72
|
+
{
|
|
73
|
+
id: 1769067474103,
|
|
74
|
+
label: "选项1",
|
|
75
|
+
value: "1"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
id: 1769067474572,
|
|
79
|
+
label: "选项2",
|
|
80
|
+
value: "2"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
id: 1769067475160,
|
|
84
|
+
label: "选项3",
|
|
85
|
+
value: "3"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
dataSourceValue: "",
|
|
89
|
+
displayField: "",
|
|
90
|
+
valueField: "",
|
|
91
|
+
dictionaryValue: "YES_NO"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
isOptBtns: !0,
|
|
96
|
+
optBtns: [],
|
|
97
|
+
customBtns: {
|
|
98
|
+
left: [],
|
|
99
|
+
right: []
|
|
100
|
+
},
|
|
101
|
+
selectMode: "none",
|
|
102
|
+
showIndex: !1,
|
|
103
|
+
heightMode: "auto",
|
|
104
|
+
height: 500,
|
|
105
|
+
editable: !1,
|
|
106
|
+
events: {},
|
|
107
|
+
dataSourceId: "roleSelectDataSourceId",
|
|
108
|
+
sortRules: [],
|
|
109
|
+
paginationConfig: {
|
|
110
|
+
enabled: !0,
|
|
111
|
+
pageSize: 10,
|
|
112
|
+
pageSizes: [
|
|
113
|
+
10,
|
|
114
|
+
20,
|
|
115
|
+
50,
|
|
116
|
+
100,
|
|
117
|
+
200,
|
|
118
|
+
500
|
|
119
|
+
],
|
|
120
|
+
layout: "full",
|
|
121
|
+
background: !0,
|
|
122
|
+
size: "small"
|
|
123
|
+
},
|
|
124
|
+
mode: [],
|
|
125
|
+
dataSources: [],
|
|
126
|
+
dialogs: [],
|
|
127
|
+
queryConfig: {
|
|
128
|
+
enabled: !0,
|
|
129
|
+
mode: "fixed",
|
|
130
|
+
columnCount: 2,
|
|
131
|
+
collapseRows: 2,
|
|
132
|
+
filterFields: [
|
|
133
|
+
{
|
|
134
|
+
fieldId: "roleNo",
|
|
135
|
+
type: "filterWidgets",
|
|
136
|
+
queryType: "fuzzy"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
fieldId: "roleName",
|
|
140
|
+
type: "filterWidgets",
|
|
141
|
+
queryType: "fuzzy"
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
},
|
|
145
|
+
pkFieldName: "roleId"
|
|
146
|
+
},
|
|
147
|
+
dialogTitle: "角色选择",
|
|
148
|
+
displayFormatText: "「角色名」",
|
|
149
|
+
displayFormat: {
|
|
150
|
+
text: "{roleName}",
|
|
151
|
+
marks: []
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
export {
|
|
155
|
+
e as default
|
|
156
|
+
};
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
id: "dialog_1773471346472",
|
|
3
|
+
name: "用户选择",
|
|
4
|
+
dialogSize: "standard",
|
|
5
|
+
dialogParams: [],
|
|
6
|
+
customWidth: "",
|
|
7
|
+
customMaxHeight: "",
|
|
8
|
+
contentSource: "table",
|
|
9
|
+
tableContent: "custom",
|
|
10
|
+
selectionMode: "single",
|
|
11
|
+
isSubTablePagination: !0,
|
|
12
|
+
isSubTableReadOnly: !1,
|
|
13
|
+
componentPath: "",
|
|
14
|
+
fieldMapping: [],
|
|
15
|
+
subFormMode: "edit",
|
|
16
|
+
subFormFooterButtons: [],
|
|
17
|
+
customTableConfig: {
|
|
18
|
+
fieldsData: [
|
|
19
|
+
{
|
|
20
|
+
fieldType: "text",
|
|
21
|
+
label: "姓名",
|
|
22
|
+
fieldName: "opName",
|
|
23
|
+
format: "number",
|
|
24
|
+
hasDecimalPlaces: !0,
|
|
25
|
+
decimalPlaces: 2,
|
|
26
|
+
optionStyle: "default",
|
|
27
|
+
dateType: "date",
|
|
28
|
+
widthMode: "auto",
|
|
29
|
+
minWidth: 80,
|
|
30
|
+
headerAlign: "center",
|
|
31
|
+
align: "center",
|
|
32
|
+
isOverflowWrap: !0,
|
|
33
|
+
isShow: !0,
|
|
34
|
+
id: "opName"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
fieldType: "text",
|
|
38
|
+
label: "员工号",
|
|
39
|
+
fieldName: "employeeNo",
|
|
40
|
+
format: "number",
|
|
41
|
+
hasDecimalPlaces: !0,
|
|
42
|
+
decimalPlaces: 2,
|
|
43
|
+
optionStyle: "default",
|
|
44
|
+
dateType: "date",
|
|
45
|
+
widthMode: "auto",
|
|
46
|
+
minWidth: 80,
|
|
47
|
+
headerAlign: "center",
|
|
48
|
+
align: "center",
|
|
49
|
+
isOverflowWrap: !0,
|
|
50
|
+
isShow: !0,
|
|
51
|
+
id: "employeeNo"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
fieldType: "text",
|
|
55
|
+
label: "角色",
|
|
56
|
+
fieldName: "roleName",
|
|
57
|
+
format: "number",
|
|
58
|
+
hasDecimalPlaces: !0,
|
|
59
|
+
decimalPlaces: 2,
|
|
60
|
+
optionStyle: "default",
|
|
61
|
+
dateType: "date",
|
|
62
|
+
widthMode: "auto",
|
|
63
|
+
minWidth: 80,
|
|
64
|
+
headerAlign: "center",
|
|
65
|
+
align: "center",
|
|
66
|
+
isOverflowWrap: !0,
|
|
67
|
+
isShow: !0,
|
|
68
|
+
id: "roleName"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
fieldType: "text",
|
|
72
|
+
label: "机构",
|
|
73
|
+
fieldName: "brName",
|
|
74
|
+
format: "number",
|
|
75
|
+
hasDecimalPlaces: !0,
|
|
76
|
+
decimalPlaces: 2,
|
|
77
|
+
optionStyle: "default",
|
|
78
|
+
dateType: "date",
|
|
79
|
+
widthMode: "auto",
|
|
80
|
+
minWidth: 80,
|
|
81
|
+
headerAlign: "center",
|
|
82
|
+
align: "center",
|
|
83
|
+
isOverflowWrap: !0,
|
|
84
|
+
isShow: !0,
|
|
85
|
+
id: "brName"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
isOptBtns: !0,
|
|
89
|
+
optBtns: [],
|
|
90
|
+
customBtns: {
|
|
91
|
+
left: [],
|
|
92
|
+
right: []
|
|
93
|
+
},
|
|
94
|
+
selectMode: "none",
|
|
95
|
+
showIndex: !1,
|
|
96
|
+
heightMode: "auto",
|
|
97
|
+
height: 500,
|
|
98
|
+
editable: !1,
|
|
99
|
+
events: {},
|
|
100
|
+
dataSourceId: "userSelectDataSourceId",
|
|
101
|
+
sortRules: [],
|
|
102
|
+
paginationConfig: {
|
|
103
|
+
enabled: !0,
|
|
104
|
+
pageSize: 10,
|
|
105
|
+
pageSizes: [
|
|
106
|
+
10,
|
|
107
|
+
20,
|
|
108
|
+
50,
|
|
109
|
+
100,
|
|
110
|
+
200,
|
|
111
|
+
500
|
|
112
|
+
],
|
|
113
|
+
layout: "full",
|
|
114
|
+
background: !0,
|
|
115
|
+
size: "small"
|
|
116
|
+
},
|
|
117
|
+
mode: [],
|
|
118
|
+
dataSources: [
|
|
119
|
+
// {
|
|
120
|
+
// "id": 1770369261139,
|
|
121
|
+
// "name": "性别库中选择",
|
|
122
|
+
// "serverName": "base-server",
|
|
123
|
+
// "url": "/test/sex",
|
|
124
|
+
// "method": "post",
|
|
125
|
+
// "contentType": "json",
|
|
126
|
+
// "params": []
|
|
127
|
+
// },
|
|
128
|
+
// {
|
|
129
|
+
// "id": 1770799330053,
|
|
130
|
+
// "name": "表单保存",
|
|
131
|
+
// "serverName": "base-server",
|
|
132
|
+
// "url": "/test/save",
|
|
133
|
+
// "method": "post",
|
|
134
|
+
// "contentType": "json",
|
|
135
|
+
// "params": [
|
|
136
|
+
// {
|
|
137
|
+
// "id": 1770864334243,
|
|
138
|
+
// "key": "userId",
|
|
139
|
+
// "value": {
|
|
140
|
+
// "label": "${路由参数: userId}",
|
|
141
|
+
// "type": "urlParam",
|
|
142
|
+
// "value": "userId"
|
|
143
|
+
// }
|
|
144
|
+
// }
|
|
145
|
+
// ]
|
|
146
|
+
// },
|
|
147
|
+
// {
|
|
148
|
+
// "id": 1770814540751,
|
|
149
|
+
// "name": "获取表单数据",
|
|
150
|
+
// "serverName": "base-server",
|
|
151
|
+
// "url": "/test/getById",
|
|
152
|
+
// "method": "post",
|
|
153
|
+
// "contentType": "json",
|
|
154
|
+
// "params": [
|
|
155
|
+
// {
|
|
156
|
+
// "id": 1770814549210,
|
|
157
|
+
// "key": "userId",
|
|
158
|
+
// "value": {
|
|
159
|
+
// "label": "${路由参数: userId}",
|
|
160
|
+
// "type": "urlParam",
|
|
161
|
+
// "value": "userId"
|
|
162
|
+
// }
|
|
163
|
+
// }
|
|
164
|
+
// ]
|
|
165
|
+
// },
|
|
166
|
+
// {
|
|
167
|
+
// "id": 1772777330492,
|
|
168
|
+
// "name": "级联",
|
|
169
|
+
// "serverName": "base-server",
|
|
170
|
+
// "url": "/test/getCascader",
|
|
171
|
+
// "method": "post",
|
|
172
|
+
// "contentType": "json",
|
|
173
|
+
// "params": []
|
|
174
|
+
// }
|
|
175
|
+
],
|
|
176
|
+
dialogs: [],
|
|
177
|
+
queryConfig: {
|
|
178
|
+
enabled: !0,
|
|
179
|
+
mode: "fixed",
|
|
180
|
+
columnCount: 2,
|
|
181
|
+
collapseRows: 2,
|
|
182
|
+
filterFields: [
|
|
183
|
+
{
|
|
184
|
+
fieldId: "opName",
|
|
185
|
+
type: "filterWidgets",
|
|
186
|
+
queryType: "fuzzy"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
fieldId: "roleName",
|
|
190
|
+
type: "filterWidgets",
|
|
191
|
+
queryType: "fuzzy"
|
|
192
|
+
}
|
|
193
|
+
]
|
|
194
|
+
},
|
|
195
|
+
pkFieldName: "userId"
|
|
196
|
+
},
|
|
197
|
+
dialogTitle: "用户选择",
|
|
198
|
+
displayFormatText: "「姓名」",
|
|
199
|
+
displayFormat: {
|
|
200
|
+
text: "{opName}",
|
|
201
|
+
marks: []
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
export {
|
|
205
|
+
e as default
|
|
206
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import "../../../../node_modules/element-plus/theme-chalk/base.css.js";
|
|
2
|
+
import "../../../../node_modules/element-plus/theme-chalk/el-button.css.js";
|
|
3
|
+
import { computed as d, openBlock as o, createElementBlock as m, createBlock as l, withCtx as a, createVNode as i, createElementVNode as e, createCommentVNode as s } from "vue";
|
|
4
|
+
import v from "../../../assets/approvalHistory.png.js";
|
|
5
|
+
import y from "./H2Wrapper.vue.js";
|
|
6
|
+
import f from "./DividerWrapper.vue.js";
|
|
7
|
+
import "./ApprovalHistory.vue2.js";
|
|
8
|
+
import _ from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
9
|
+
import { ElButton as D } from "../../../../node_modules/element-plus/es/components/button/index.js";
|
|
10
|
+
const k = { class: "approval-history-container" }, b = {
|
|
11
|
+
key: 0,
|
|
12
|
+
style: { "margin-bottom": "12px" }
|
|
13
|
+
}, x = {
|
|
14
|
+
__name: "ApprovalHistory",
|
|
15
|
+
props: {
|
|
16
|
+
componentData: {
|
|
17
|
+
type: Object,
|
|
18
|
+
required: !0
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
setup(r) {
|
|
22
|
+
const c = r, n = d(() => {
|
|
23
|
+
var t;
|
|
24
|
+
return ((t = c.componentData) == null ? void 0 : t.titleMode) || "none";
|
|
25
|
+
});
|
|
26
|
+
return (u, t) => {
|
|
27
|
+
const p = D;
|
|
28
|
+
return o(), m("div", k, [
|
|
29
|
+
n.value !== "none" ? (o(), m("div", b, [
|
|
30
|
+
n.value === "label" ? (o(), l(y, {
|
|
31
|
+
key: 0,
|
|
32
|
+
componentData: r.componentData
|
|
33
|
+
}, {
|
|
34
|
+
default: a(() => [
|
|
35
|
+
i(p, {
|
|
36
|
+
link: "",
|
|
37
|
+
type: "primary"
|
|
38
|
+
}, {
|
|
39
|
+
default: a(() => [...t[0] || (t[0] = [
|
|
40
|
+
e("span", null, "时间轴", -1)
|
|
41
|
+
])]),
|
|
42
|
+
_: 1
|
|
43
|
+
}),
|
|
44
|
+
i(p, {
|
|
45
|
+
link: "",
|
|
46
|
+
type: "primary"
|
|
47
|
+
}, {
|
|
48
|
+
default: a(() => [...t[1] || (t[1] = [
|
|
49
|
+
e("span", null, "流程图", -1)
|
|
50
|
+
])]),
|
|
51
|
+
_: 1
|
|
52
|
+
})
|
|
53
|
+
]),
|
|
54
|
+
_: 1
|
|
55
|
+
}, 8, ["componentData"])) : n.value === "subLabel" ? (o(), l(f, {
|
|
56
|
+
key: 1,
|
|
57
|
+
componentData: r.componentData
|
|
58
|
+
}, null, 8, ["componentData"])) : s("", !0)
|
|
59
|
+
])) : s("", !0),
|
|
60
|
+
t[2] || (t[2] = e("div", { class: "approval-history-preview" }, [
|
|
61
|
+
e("img", {
|
|
62
|
+
src: v,
|
|
63
|
+
alt: "审批历史",
|
|
64
|
+
class: "approval-history-img"
|
|
65
|
+
})
|
|
66
|
+
], -1))
|
|
67
|
+
]);
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
}, M = /* @__PURE__ */ _(x, [["__scopeId", "data-v-b3503878"]]);
|
|
71
|
+
export {
|
|
72
|
+
M as default
|
|
73
|
+
};
|
|
@@ -17,7 +17,7 @@ import "../../../../node_modules/element-plus/theme-chalk/el-date-picker-panel.c
|
|
|
17
17
|
import "../../../../node_modules/element-plus/theme-chalk/el-input.css.js";
|
|
18
18
|
import "../../../../node_modules/element-plus/theme-chalk/el-button.css.js";
|
|
19
19
|
import "../../../../node_modules/element-plus/theme-chalk/el-tooltip.css.js";
|
|
20
|
-
import { computed as
|
|
20
|
+
import { computed as W, openBlock as t, createElementBlock as f, createBlock as o, createSlots as x, withCtx as n, normalizeProps as p, mergeProps as l, unref as i, createVNode as h, createTextVNode as D, toDisplayString as s, createCommentVNode as c, Fragment as T, renderList as g, createElementVNode as v } from "vue";
|
|
21
21
|
import "./ComponentPreviewWrapper.vue2.js";
|
|
22
22
|
import I from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
23
23
|
import { ElTooltip as L } from "../../../../node_modules/element-plus/es/components/tooltip/index.js";
|
|
@@ -45,30 +45,30 @@ const K = { class: "component-preview" }, Q = {
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
setup(e) {
|
|
48
|
-
const
|
|
49
|
-
disabled:
|
|
50
|
-
readonly:
|
|
51
|
-
placeholder:
|
|
52
|
-
modelValue:
|
|
53
|
-
maxlength:
|
|
54
|
-
showWordLimit:
|
|
48
|
+
const d = e, a = W(() => ({
|
|
49
|
+
disabled: d.componentData.disabled,
|
|
50
|
+
readonly: d.componentData.readOnly,
|
|
51
|
+
placeholder: d.componentData.placeholder || "",
|
|
52
|
+
modelValue: d.componentData.defaultValue,
|
|
53
|
+
maxlength: d.componentData.maxLength,
|
|
54
|
+
showWordLimit: d.componentData.showWordCount || !1
|
|
55
55
|
}));
|
|
56
56
|
return (Y, y) => {
|
|
57
|
-
const
|
|
58
|
-
return t(),
|
|
59
|
-
e.componentData.fieldType != "blank" ? (t(), o(
|
|
57
|
+
const b = L, k = z, u = F, E = G, w = O, B = R, C = j, S = J, N = M, P = Z, V = A, q = H;
|
|
58
|
+
return t(), f("div", K, [
|
|
59
|
+
e.componentData.fieldType != "blank" ? (t(), o(q, {
|
|
60
60
|
key: 0,
|
|
61
61
|
placeholder: e.componentData.placeholder,
|
|
62
62
|
required: e.componentData.required,
|
|
63
63
|
class: "preview-form-item"
|
|
64
|
-
},
|
|
65
|
-
default:
|
|
66
|
-
e.componentData.fieldType == "text" ? (t(), o(
|
|
64
|
+
}, x({
|
|
65
|
+
default: n(() => [
|
|
66
|
+
e.componentData.fieldType == "text" ? (t(), o(u, p(l({ key: 0 }, i(a))), x({ _: 2 }, [
|
|
67
67
|
e.componentData.suffixButton && e.componentData.suffixButton != "none" ? {
|
|
68
68
|
name: "append",
|
|
69
|
-
fn:
|
|
70
|
-
|
|
71
|
-
default:
|
|
69
|
+
fn: n(() => [
|
|
70
|
+
h(k, { class: "suffixButton" }, {
|
|
71
|
+
default: n(() => [
|
|
72
72
|
D(s(e.componentData.suffixButton == "dialog" ? e.componentData.suffixDialogName ? e.componentData.suffixDialogName : "选择" : e.componentData.suffixButtonName), 1)
|
|
73
73
|
]),
|
|
74
74
|
_: 1
|
|
@@ -76,26 +76,36 @@ const K = { class: "component-preview" }, Q = {
|
|
|
76
76
|
]),
|
|
77
77
|
key: "0"
|
|
78
78
|
} : void 0
|
|
79
|
-
]), 1040)) : e.componentData.fieldType == "
|
|
80
|
-
|
|
79
|
+
]), 1040)) : e.componentData.fieldType == "userSelect" || e.componentData.fieldType == "roleSelect" || e.componentData.fieldType == "orgSelect" ? (t(), o(u, p(l({ key: 1 }, i(a))), {
|
|
80
|
+
append: n(() => [
|
|
81
|
+
h(k, { class: "suffixButton" }, {
|
|
82
|
+
default: n(() => [...y[1] || (y[1] = [
|
|
83
|
+
D("选择", -1)
|
|
84
|
+
])]),
|
|
85
|
+
_: 1
|
|
86
|
+
})
|
|
87
|
+
]),
|
|
88
|
+
_: 1
|
|
89
|
+
}, 16)) : e.componentData.fieldType == "textarea" ? (t(), o(u, l({
|
|
90
|
+
key: 2,
|
|
81
91
|
rows: 4,
|
|
82
92
|
type: "textarea"
|
|
83
|
-
}, i(
|
|
93
|
+
}, i(a), {
|
|
84
94
|
resize: "none",
|
|
85
95
|
style: { height: "100%" }
|
|
86
96
|
}), null, 16)) : c("", !0),
|
|
87
|
-
e.componentData.fieldType == "number" ? (t(), o(
|
|
97
|
+
e.componentData.fieldType == "number" ? (t(), o(u, l({ key: 3 }, i(a), { controls: !1 }), null, 16)) : e.componentData.fieldType == "date" ? (t(), o(E, l({ key: 4 }, i(a), {
|
|
88
98
|
type: "date",
|
|
89
99
|
style: { width: "100%" }
|
|
90
|
-
}), null, 16)) : e.componentData.fieldType == "select" || e.componentData.fieldType == "multipleSelection" || e.componentData.fieldType == "cascader" || e.componentData.fieldType == "area" || e.componentData.fieldType == "industry" ? (t(), o(
|
|
91
|
-
default:
|
|
100
|
+
}), null, 16)) : e.componentData.fieldType == "select" || e.componentData.fieldType == "multipleSelection" || e.componentData.fieldType == "cascader" || e.componentData.fieldType == "area" || e.componentData.fieldType == "industry" ? (t(), o(w, p(l({ key: 5 }, i(a))), null, 16)) : e.componentData.fieldType == "radio" ? (t(), o(C, p(l({ key: 6 }, i(a))), {
|
|
101
|
+
default: n(() => {
|
|
92
102
|
var m;
|
|
93
103
|
return [
|
|
94
|
-
(t(!0),
|
|
104
|
+
(t(!0), f(T, null, g(((m = e.componentData.optionConfig) == null ? void 0 : m.options) || [], (r) => (t(), o(B, {
|
|
95
105
|
key: r.value,
|
|
96
106
|
value: r.value
|
|
97
107
|
}, {
|
|
98
|
-
default:
|
|
108
|
+
default: n(() => [
|
|
99
109
|
D(s(r.label), 1)
|
|
100
110
|
]),
|
|
101
111
|
_: 2
|
|
@@ -103,15 +113,15 @@ const K = { class: "component-preview" }, Q = {
|
|
|
103
113
|
];
|
|
104
114
|
}),
|
|
105
115
|
_: 1
|
|
106
|
-
}, 16)) : e.componentData.fieldType == "checkbox" ? (t(), o(N,
|
|
107
|
-
default:
|
|
116
|
+
}, 16)) : e.componentData.fieldType == "checkbox" ? (t(), o(N, p(l({ key: 7 }, i(a))), {
|
|
117
|
+
default: n(() => {
|
|
108
118
|
var m;
|
|
109
119
|
return [
|
|
110
|
-
(t(!0),
|
|
120
|
+
(t(!0), f(T, null, g(((m = e.componentData.optionConfig) == null ? void 0 : m.options) || [], (r) => (t(), o(S, {
|
|
111
121
|
key: r.value,
|
|
112
122
|
value: r.value
|
|
113
123
|
}, {
|
|
114
|
-
default:
|
|
124
|
+
default: n(() => [
|
|
115
125
|
D(s(r.label), 1)
|
|
116
126
|
]),
|
|
117
127
|
_: 2
|
|
@@ -120,27 +130,27 @@ const K = { class: "component-preview" }, Q = {
|
|
|
120
130
|
}),
|
|
121
131
|
_: 1
|
|
122
132
|
}, 16)) : c("", !0),
|
|
123
|
-
e.componentData.fieldType == "switch" ? (t(), o(P,
|
|
124
|
-
e.componentData.fieldType == "upload" ? (t(), o(
|
|
125
|
-
e.componentData.fieldType == "divider" ? (t(), o(V, { key:
|
|
133
|
+
e.componentData.fieldType == "switch" ? (t(), o(P, p(l({ key: 8 }, i(a))), null, 16)) : c("", !0),
|
|
134
|
+
e.componentData.fieldType == "upload" ? (t(), o(u, p(l({ key: 9 }, i(a))), null, 16)) : c("", !0),
|
|
135
|
+
e.componentData.fieldType == "divider" ? (t(), o(V, { key: 10 })) : c("", !0)
|
|
126
136
|
]),
|
|
127
137
|
_: 2
|
|
128
138
|
}, [
|
|
129
139
|
e.componentData.labelMode != "input" ? {
|
|
130
140
|
name: "label",
|
|
131
|
-
fn:
|
|
141
|
+
fn: n(() => {
|
|
132
142
|
var m;
|
|
133
143
|
return [
|
|
134
|
-
e.componentData.credit ? (t(),
|
|
135
|
-
e.componentData.regulation ? (t(),
|
|
136
|
-
|
|
137
|
-
(m = e.componentData.tooltip) != null && m.trim() ? (t(), o(
|
|
144
|
+
e.componentData.credit ? (t(), f("i", Q)) : c("", !0),
|
|
145
|
+
e.componentData.regulation ? (t(), f("i", U)) : c("", !0),
|
|
146
|
+
v("span", null, s(e.componentData.label), 1),
|
|
147
|
+
(m = e.componentData.tooltip) != null && m.trim() ? (t(), o(b, {
|
|
138
148
|
key: 2,
|
|
139
149
|
content: e.componentData.tooltip,
|
|
140
150
|
placement: "top"
|
|
141
151
|
}, {
|
|
142
|
-
default:
|
|
143
|
-
|
|
152
|
+
default: n(() => [...y[0] || (y[0] = [
|
|
153
|
+
v("i", { class: "iconfont icon-tooltip info-icon" }, null, -1)
|
|
144
154
|
])]),
|
|
145
155
|
_: 1
|
|
146
156
|
}, 8, ["content"])) : c("", !0)
|
|
@@ -152,7 +162,7 @@ const K = { class: "component-preview" }, Q = {
|
|
|
152
162
|
]);
|
|
153
163
|
};
|
|
154
164
|
}
|
|
155
|
-
},
|
|
165
|
+
}, Pe = /* @__PURE__ */ I(X, [["__scopeId", "data-v-85e2dea4"]]);
|
|
156
166
|
export {
|
|
157
|
-
|
|
167
|
+
Pe as default
|
|
158
168
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { openBlock as
|
|
1
|
+
import { openBlock as a, createElementBlock as c, createElementVNode as e, toDisplayString as o, renderSlot as n } from "vue";
|
|
2
2
|
import "./H2Wrapper.vue2.js";
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import r from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const i = { class: "fec-h2" }, d = { class: "fec-label" }, p = { class: "fec-label-title" }, _ = { class: "fec-label-sub-title" }, f = { class: "fec-buttons" }, u = {
|
|
5
5
|
__name: "H2Wrapper",
|
|
6
6
|
props: {
|
|
7
7
|
componentData: {
|
|
@@ -10,15 +10,18 @@ const n = { class: "fec-h2" }, r = { class: "fec-label" }, i = { class: "fec-lab
|
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
setup(t) {
|
|
13
|
-
return (
|
|
14
|
-
|
|
15
|
-
e("div",
|
|
16
|
-
e("div",
|
|
17
|
-
e("div",
|
|
13
|
+
return (l, s) => (a(), c("div", i, [
|
|
14
|
+
s[0] || (s[0] = e("div", { class: "fec-label-line" }, null, -1)),
|
|
15
|
+
e("div", d, [
|
|
16
|
+
e("div", p, o(t.componentData.label), 1),
|
|
17
|
+
e("div", _, o(t.componentData.subLabel), 1)
|
|
18
|
+
]),
|
|
19
|
+
e("div", f, [
|
|
20
|
+
n(l.$slots, "default", {}, void 0, !0)
|
|
18
21
|
])
|
|
19
22
|
]));
|
|
20
23
|
}
|
|
21
|
-
},
|
|
24
|
+
}, h = /* @__PURE__ */ r(u, [["__scopeId", "data-v-0ac00fd2"]]);
|
|
22
25
|
export {
|
|
23
|
-
|
|
26
|
+
h as default
|
|
24
27
|
};
|