sinosoft-common-form 1.1.9 → 1.2.0
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/common-form.es.js +1567 -1411
- package/common-form.umd.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
package/common-form.es.js
CHANGED
|
@@ -1,197 +1,197 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as rl, ref as el, computed as ul, resolveComponent as S, openBlock as d, createBlock as r, withCtx as a, createVNode as c, mergeProps as nl, withModifiers as pl, createElementBlock as u, Fragment as k, renderList as g, withDirectives as t, createElementVNode as b, toDisplayString as p, vShow as h, createCommentVNode as _, withKeys as x, normalizeClass as H, createTextVNode as q, normalizeStyle as j, renderSlot as U, createSlots as W, pushScopeId as bl, popScopeId as cl } from "vue";
|
|
2
|
+
const X = ($) => (bl("data-v-259dd497"), $ = $(), cl(), $), yl = { key: 0 }, tl = { class: "header-title" }, hl = { class: "title-content" }, fl = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "custom-required"
|
|
5
|
-
},
|
|
5
|
+
}, _l = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "custom-required"
|
|
8
|
-
},
|
|
8
|
+
}, vl = ["src"], il = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "custom-required"
|
|
11
|
-
},
|
|
11
|
+
}, Vl = { class: "lable" }, kl = { class: "lable_note" }, gl = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "custom-required"
|
|
14
|
-
},
|
|
14
|
+
}, wl = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: "custom-required"
|
|
17
|
-
},
|
|
17
|
+
}, ql = {
|
|
18
18
|
key: 0,
|
|
19
19
|
class: "custom-required"
|
|
20
|
-
},
|
|
20
|
+
}, Ul = {
|
|
21
21
|
key: 0,
|
|
22
22
|
class: "custom-required"
|
|
23
|
-
},
|
|
23
|
+
}, Cl = {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "custom-required"
|
|
26
|
-
},
|
|
26
|
+
}, xl = {
|
|
27
27
|
key: 0,
|
|
28
28
|
class: "custom-required"
|
|
29
|
-
},
|
|
29
|
+
}, Kl = {
|
|
30
30
|
key: 0,
|
|
31
31
|
class: "custom-required"
|
|
32
|
-
},
|
|
32
|
+
}, Sl = {
|
|
33
33
|
key: 0,
|
|
34
34
|
class: "custom-required"
|
|
35
|
-
},
|
|
35
|
+
}, Dl = {
|
|
36
36
|
key: 0,
|
|
37
37
|
class: "custom-required"
|
|
38
|
-
},
|
|
38
|
+
}, Nl = {
|
|
39
39
|
key: 0,
|
|
40
40
|
class: "custom-required"
|
|
41
|
-
},
|
|
41
|
+
}, Il = {
|
|
42
42
|
key: 0,
|
|
43
43
|
class: "custom-required"
|
|
44
|
-
},
|
|
44
|
+
}, El = {
|
|
45
45
|
key: 0,
|
|
46
46
|
class: "custom-required"
|
|
47
|
-
},
|
|
47
|
+
}, Fl = /* @__PURE__ */ X(() => /* @__PURE__ */ b("div", {
|
|
48
48
|
class: "line",
|
|
49
49
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "20px 0" }
|
|
50
|
-
}, null, -1)),
|
|
50
|
+
}, null, -1)), $l = { key: 1 }, Yl = { class: "header-title" }, Ml = { class: "title-content" }, zl = {
|
|
51
51
|
key: 0,
|
|
52
52
|
class: "custom-required"
|
|
53
|
-
},
|
|
53
|
+
}, Pl = {
|
|
54
54
|
key: 0,
|
|
55
55
|
class: "custom-required"
|
|
56
|
-
},
|
|
56
|
+
}, Hl = ["src"], Bl = {
|
|
57
57
|
key: 0,
|
|
58
58
|
class: "custom-required"
|
|
59
|
-
},
|
|
59
|
+
}, Ll = { class: "lable" }, jl = { class: "lable_note" }, Tl = {
|
|
60
60
|
key: 0,
|
|
61
61
|
class: "custom-required"
|
|
62
|
-
},
|
|
62
|
+
}, Ol = {
|
|
63
63
|
key: 0,
|
|
64
64
|
class: "custom-required"
|
|
65
|
-
},
|
|
65
|
+
}, Rl = {
|
|
66
66
|
key: 0,
|
|
67
67
|
class: "custom-required"
|
|
68
|
-
},
|
|
68
|
+
}, Al = {
|
|
69
69
|
key: 0,
|
|
70
70
|
class: "custom-required"
|
|
71
|
-
},
|
|
71
|
+
}, Gl = {
|
|
72
72
|
key: 0,
|
|
73
73
|
class: "custom-required"
|
|
74
|
-
},
|
|
74
|
+
}, Jl = {
|
|
75
75
|
key: 0,
|
|
76
76
|
class: "custom-required"
|
|
77
|
-
},
|
|
77
|
+
}, Ql = {
|
|
78
78
|
key: 0,
|
|
79
79
|
class: "custom-required"
|
|
80
|
-
},
|
|
80
|
+
}, Wl = {
|
|
81
81
|
key: 0,
|
|
82
82
|
class: "custom-required"
|
|
83
|
-
},
|
|
83
|
+
}, Xl = {
|
|
84
84
|
key: 0,
|
|
85
85
|
class: "custom-required"
|
|
86
|
-
},
|
|
86
|
+
}, Zl = {
|
|
87
87
|
key: 0,
|
|
88
88
|
class: "custom-required"
|
|
89
|
-
},
|
|
89
|
+
}, ml = {
|
|
90
90
|
key: 0,
|
|
91
91
|
class: "custom-required"
|
|
92
|
-
},
|
|
92
|
+
}, le = {
|
|
93
93
|
key: 0,
|
|
94
94
|
class: "custom-required"
|
|
95
|
-
},
|
|
95
|
+
}, ee = /* @__PURE__ */ X(() => /* @__PURE__ */ b("div", {
|
|
96
96
|
class: "line",
|
|
97
97
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "20px 0" }
|
|
98
|
-
}, null, -1)),
|
|
98
|
+
}, null, -1)), ae = { key: 2 }, de = { class: "header-title" }, oe = { class: "title-content" }, se = {
|
|
99
99
|
key: 0,
|
|
100
100
|
class: "custom-required"
|
|
101
|
-
},
|
|
101
|
+
}, re = {
|
|
102
102
|
key: 0,
|
|
103
103
|
class: "custom-required"
|
|
104
|
-
},
|
|
104
|
+
}, ue = ["src"], ne = {
|
|
105
105
|
key: 0,
|
|
106
106
|
class: "custom-required"
|
|
107
|
-
},
|
|
107
|
+
}, pe = { class: "lable" }, be = { class: "lable_note" }, ce = {
|
|
108
108
|
key: 0,
|
|
109
109
|
class: "custom-required"
|
|
110
|
-
},
|
|
110
|
+
}, ye = {
|
|
111
111
|
key: 0,
|
|
112
112
|
class: "custom-required"
|
|
113
|
-
},
|
|
113
|
+
}, te = {
|
|
114
114
|
key: 0,
|
|
115
115
|
class: "custom-required"
|
|
116
|
-
},
|
|
116
|
+
}, he = {
|
|
117
117
|
key: 0,
|
|
118
118
|
class: "custom-required"
|
|
119
|
-
},
|
|
119
|
+
}, fe = {
|
|
120
120
|
key: 0,
|
|
121
121
|
class: "custom-required"
|
|
122
|
-
},
|
|
122
|
+
}, _e = {
|
|
123
123
|
key: 0,
|
|
124
124
|
class: "custom-required"
|
|
125
|
-
},
|
|
125
|
+
}, ve = {
|
|
126
126
|
key: 0,
|
|
127
127
|
class: "custom-required"
|
|
128
|
-
},
|
|
128
|
+
}, ie = {
|
|
129
129
|
key: 0,
|
|
130
130
|
class: "custom-required"
|
|
131
|
-
},
|
|
131
|
+
}, Ve = {
|
|
132
132
|
key: 0,
|
|
133
133
|
class: "custom-required"
|
|
134
|
-
},
|
|
134
|
+
}, ke = {
|
|
135
135
|
key: 0,
|
|
136
136
|
class: "custom-required"
|
|
137
|
-
},
|
|
137
|
+
}, ge = {
|
|
138
138
|
key: 0,
|
|
139
139
|
class: "custom-required"
|
|
140
|
-
},
|
|
140
|
+
}, we = {
|
|
141
141
|
key: 0,
|
|
142
142
|
class: "custom-required"
|
|
143
|
-
},
|
|
143
|
+
}, qe = /* @__PURE__ */ X(() => /* @__PURE__ */ b("div", {
|
|
144
144
|
class: "line",
|
|
145
145
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "20px 0" }
|
|
146
|
-
}, null, -1)),
|
|
146
|
+
}, null, -1)), Ue = { key: 3 }, Ce = { class: "header-title" }, xe = { class: "title-content" }, Ke = {
|
|
147
147
|
key: 0,
|
|
148
148
|
class: "custom-required"
|
|
149
|
-
},
|
|
149
|
+
}, Se = {
|
|
150
150
|
key: 0,
|
|
151
151
|
class: "custom-required"
|
|
152
|
-
},
|
|
152
|
+
}, De = ["src"], Ne = {
|
|
153
153
|
key: 0,
|
|
154
154
|
class: "custom-required"
|
|
155
|
-
},
|
|
155
|
+
}, Ie = { class: "lable" }, Ee = { class: "lable_note" }, Fe = {
|
|
156
156
|
key: 0,
|
|
157
157
|
class: "custom-required"
|
|
158
|
-
},
|
|
158
|
+
}, $e = {
|
|
159
159
|
key: 0,
|
|
160
160
|
class: "custom-required"
|
|
161
|
-
},
|
|
161
|
+
}, Ye = {
|
|
162
162
|
key: 0,
|
|
163
163
|
class: "custom-required"
|
|
164
|
-
},
|
|
164
|
+
}, Me = {
|
|
165
165
|
key: 0,
|
|
166
166
|
class: "custom-required"
|
|
167
|
-
},
|
|
167
|
+
}, ze = {
|
|
168
168
|
key: 0,
|
|
169
169
|
class: "custom-required"
|
|
170
|
-
},
|
|
170
|
+
}, Pe = {
|
|
171
171
|
key: 0,
|
|
172
172
|
class: "custom-required"
|
|
173
|
-
},
|
|
173
|
+
}, He = {
|
|
174
174
|
key: 0,
|
|
175
175
|
class: "custom-required"
|
|
176
|
-
},
|
|
176
|
+
}, Be = {
|
|
177
177
|
key: 0,
|
|
178
178
|
class: "custom-required"
|
|
179
|
-
},
|
|
179
|
+
}, Le = {
|
|
180
180
|
key: 0,
|
|
181
181
|
class: "custom-required"
|
|
182
|
-
},
|
|
182
|
+
}, je = {
|
|
183
183
|
key: 0,
|
|
184
184
|
class: "custom-required"
|
|
185
|
-
},
|
|
185
|
+
}, Te = {
|
|
186
186
|
key: 0,
|
|
187
187
|
class: "custom-required"
|
|
188
|
-
},
|
|
188
|
+
}, Oe = {
|
|
189
189
|
key: 0,
|
|
190
190
|
class: "custom-required"
|
|
191
|
-
},
|
|
191
|
+
}, Re = /* @__PURE__ */ X(() => /* @__PURE__ */ b("div", {
|
|
192
192
|
class: "line",
|
|
193
193
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "20px 0" }
|
|
194
|
-
}, null, -1)),
|
|
194
|
+
}, null, -1)), Ae = /* @__PURE__ */ rl({
|
|
195
195
|
__name: "Index",
|
|
196
196
|
props: {
|
|
197
197
|
fieldList: {},
|
|
@@ -199,8 +199,8 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
199
199
|
options: {}
|
|
200
200
|
},
|
|
201
201
|
emits: ["submit", "reset", "cancel"],
|
|
202
|
-
setup(
|
|
203
|
-
const
|
|
202
|
+
setup($, { expose: T, emit: Y }) {
|
|
203
|
+
const F = $, o = el({}), L = el(), v = ul(() => Object.assign([
|
|
204
204
|
// {
|
|
205
205
|
// isShow: true,
|
|
206
206
|
// name: '提交',
|
|
@@ -233,183 +233,192 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
233
233
|
// isRule: true,
|
|
234
234
|
// style: 'margin-right: 30px'
|
|
235
235
|
// },
|
|
236
|
-
],
|
|
237
|
-
|
|
236
|
+
], F == null ? void 0 : F.options)), O = (i, D) => {
|
|
237
|
+
Y("selectChange", i, D);
|
|
238
|
+
}, N = (i, D) => {
|
|
239
|
+
Y("radioChange", i, D);
|
|
240
|
+
}, R = (i, D) => {
|
|
241
|
+
Y("checkChange", i, D);
|
|
238
242
|
};
|
|
239
|
-
|
|
240
|
-
formRef:
|
|
243
|
+
T({
|
|
244
|
+
formRef: L
|
|
241
245
|
}), (() => {
|
|
242
|
-
|
|
243
|
-
const
|
|
244
|
-
if (
|
|
245
|
-
for (let n of Object.keys(
|
|
246
|
-
|
|
247
|
-
|
|
246
|
+
F.fieldList.map((i) => {
|
|
247
|
+
const D = i.type === "checkbox" ? [] : "";
|
|
248
|
+
if (i.field && typeof i.field == "object")
|
|
249
|
+
for (let n of Object.keys(i.field))
|
|
250
|
+
F.model ? o.value = F.model : o.value[i.field[n]] = i.value || D;
|
|
251
|
+
F.model ? o.value = F.model : o.value[i.field] = i.value || D, i.type === "address" && i.field.objectName && (o.value[i.field.objectName][i.field] = i.value);
|
|
248
252
|
});
|
|
249
|
-
})(), console.log("pppp",
|
|
250
|
-
const
|
|
251
|
-
|
|
252
|
-
if (
|
|
253
|
-
|
|
253
|
+
})(), console.log("pppp", F.model, o.value);
|
|
254
|
+
const Z = (i, D, n) => {
|
|
255
|
+
L.value && (D ? L.value.validate((w) => {
|
|
256
|
+
if (w)
|
|
257
|
+
Y(n, o.value, i);
|
|
254
258
|
else
|
|
255
259
|
return !1;
|
|
256
|
-
}) : n === "reset" ?
|
|
257
|
-
},
|
|
258
|
-
|
|
260
|
+
}) : n === "reset" ? L.value.resetFields() : Y(n, o.value, i));
|
|
261
|
+
}, C = (i) => {
|
|
262
|
+
i && Z("", L.value, !0);
|
|
259
263
|
};
|
|
260
|
-
return (
|
|
261
|
-
const n =
|
|
262
|
-
return d(), r(
|
|
263
|
-
default:
|
|
264
|
-
|
|
264
|
+
return (i, D) => {
|
|
265
|
+
const n = S("el-form-item"), w = S("el-input"), I = S("el-radio"), E = S("el-radio-group"), A = S("el-checkbox"), G = S("el-checkbox-group"), M = S("el-option"), z = S("el-select"), P = S("el-date-picker"), J = S("el-col"), Q = S("el-row"), dl = S("sinosoft-common-button"), ol = S("el-form"), sl = S("el-card");
|
|
266
|
+
return d(), r(sl, { class: "mb-5" }, {
|
|
267
|
+
default: a(() => [
|
|
268
|
+
c(ol, nl({
|
|
265
269
|
"hide-required-asterisk": "",
|
|
266
|
-
onSubmit:
|
|
270
|
+
onSubmit: D[0] || (D[0] = pl(() => {
|
|
267
271
|
}, ["prevent"])),
|
|
268
272
|
model: o.value
|
|
269
|
-
},
|
|
270
|
-
"label-position":
|
|
273
|
+
}, v.value, {
|
|
274
|
+
"label-position": v.value.labelPosition,
|
|
271
275
|
ref_key: "formRef",
|
|
272
|
-
ref:
|
|
276
|
+
ref: L
|
|
273
277
|
}), {
|
|
274
|
-
default:
|
|
275
|
-
(d(!0), u(
|
|
276
|
-
K.colNum === 4 ? (d(), u("div",
|
|
277
|
-
|
|
278
|
-
default:
|
|
279
|
-
(d(!0), u(
|
|
278
|
+
default: a(() => [
|
|
279
|
+
(d(!0), u(k, null, g(i.fieldList, (K, m) => (d(), u("div", { key: m }, [
|
|
280
|
+
K.colNum === 4 ? (d(), u("div", yl, [
|
|
281
|
+
c(Q, { gutter: 10 }, {
|
|
282
|
+
default: a(() => [
|
|
283
|
+
(d(!0), u(k, null, g(K.formItemList, (l, B) => (d(), r(J, {
|
|
280
284
|
xs: 8,
|
|
281
285
|
sm: 6,
|
|
282
286
|
md: 4,
|
|
283
287
|
lg: 3,
|
|
284
288
|
xl: 1,
|
|
285
|
-
key:
|
|
289
|
+
key: B
|
|
286
290
|
}, {
|
|
287
|
-
default:
|
|
288
|
-
|
|
289
|
-
default:
|
|
290
|
-
b("div",
|
|
291
|
-
b("span",
|
|
291
|
+
default: a(() => [
|
|
292
|
+
l.type === "title" ? t((d(), r(n, { key: 0 }, {
|
|
293
|
+
default: a(() => [
|
|
294
|
+
b("div", tl, [
|
|
295
|
+
b("span", hl, p(l.title), 1)
|
|
292
296
|
])
|
|
293
297
|
]),
|
|
294
298
|
_: 2
|
|
295
|
-
},
|
|
299
|
+
}, 1536)), [
|
|
300
|
+
[h, !l.isShow]
|
|
301
|
+
]) : l.type === "name" ? t((d(), r(n, {
|
|
296
302
|
key: 1,
|
|
297
|
-
label:
|
|
298
|
-
disabled:
|
|
303
|
+
label: l.label,
|
|
304
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
299
305
|
class: "container_name",
|
|
300
|
-
rules:
|
|
306
|
+
rules: l.rules.nameEnFamily
|
|
301
307
|
}, {
|
|
302
|
-
label:
|
|
303
|
-
b("span", null, p(
|
|
304
|
-
|
|
305
|
-
]),
|
|
306
|
-
default:
|
|
307
|
-
|
|
308
|
-
rules:
|
|
309
|
-
prop: [
|
|
308
|
+
label: a(() => [
|
|
309
|
+
b("span", null, p(l.label), 1),
|
|
310
|
+
l.required ? (d(), u("span", fl, "*")) : _("", !0)
|
|
311
|
+
]),
|
|
312
|
+
default: a(() => [
|
|
313
|
+
c(n, {
|
|
314
|
+
rules: l.rules.nameEnFamily,
|
|
315
|
+
prop: [l.field.nameEnFamily],
|
|
310
316
|
class: "item-name"
|
|
311
317
|
}, {
|
|
312
|
-
default:
|
|
313
|
-
|
|
314
|
-
modelValue: o.value[
|
|
315
|
-
"onUpdate:modelValue": (
|
|
316
|
-
readonly:
|
|
317
|
-
type:
|
|
318
|
-
placeholder:
|
|
319
|
-
disabled:
|
|
320
|
-
onKeyup: x((
|
|
318
|
+
default: a(() => [
|
|
319
|
+
c(w, {
|
|
320
|
+
modelValue: o.value[l.field.nameEnFamily],
|
|
321
|
+
"onUpdate:modelValue": (e) => o.value[l.field.nameEnFamily] = e,
|
|
322
|
+
readonly: l.readonly,
|
|
323
|
+
type: l.type ? l.type : "text",
|
|
324
|
+
placeholder: l.placeholderNameEnFamily,
|
|
325
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
326
|
+
onKeyup: x((e) => C(l.enterable), ["enter"])
|
|
321
327
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
322
328
|
]),
|
|
323
329
|
_: 2
|
|
324
330
|
}, 1032, ["rules", "prop"]),
|
|
325
|
-
|
|
326
|
-
rules:
|
|
327
|
-
prop: [
|
|
331
|
+
c(n, {
|
|
332
|
+
rules: l.rules.nameEn,
|
|
333
|
+
prop: [l.field.nameEn],
|
|
328
334
|
class: "item-name-right"
|
|
329
335
|
}, {
|
|
330
|
-
default:
|
|
331
|
-
|
|
332
|
-
modelValue: o.value[
|
|
333
|
-
"onUpdate:modelValue": (
|
|
334
|
-
readonly:
|
|
335
|
-
type:
|
|
336
|
-
placeholder:
|
|
337
|
-
disabled:
|
|
338
|
-
onKeyup: x((
|
|
336
|
+
default: a(() => [
|
|
337
|
+
c(w, {
|
|
338
|
+
modelValue: o.value[l.field.nameEn],
|
|
339
|
+
"onUpdate:modelValue": (e) => o.value[l.field.nameEn] = e,
|
|
340
|
+
readonly: l.readonly,
|
|
341
|
+
type: l.type ? l.type : "text",
|
|
342
|
+
placeholder: l.placeholderNameEn,
|
|
343
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
344
|
+
onKeyup: x((e) => C(l.enterable), ["enter"])
|
|
339
345
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
340
346
|
]),
|
|
341
347
|
_: 2
|
|
342
348
|
}, 1032, ["rules", "prop"]),
|
|
343
|
-
|
|
344
|
-
rules:
|
|
345
|
-
prop: [
|
|
349
|
+
c(n, {
|
|
350
|
+
rules: l.rules.nameChFamily,
|
|
351
|
+
prop: [l.field.nameChFamily],
|
|
346
352
|
class: "item-name"
|
|
347
353
|
}, {
|
|
348
|
-
default:
|
|
349
|
-
|
|
350
|
-
modelValue: o.value[
|
|
351
|
-
"onUpdate:modelValue": (
|
|
352
|
-
readonly:
|
|
353
|
-
type:
|
|
354
|
-
placeholder:
|
|
355
|
-
disabled:
|
|
356
|
-
onKeyup: x((
|
|
354
|
+
default: a(() => [
|
|
355
|
+
c(w, {
|
|
356
|
+
modelValue: o.value[l.field.nameChFamily],
|
|
357
|
+
"onUpdate:modelValue": (e) => o.value[l.field.nameChFamily] = e,
|
|
358
|
+
readonly: l.readonly,
|
|
359
|
+
type: l.type ? l.type : "text",
|
|
360
|
+
placeholder: l.placeholderNameChFamily,
|
|
361
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
362
|
+
onKeyup: x((e) => C(l.enterable), ["enter"])
|
|
357
363
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
358
364
|
]),
|
|
359
365
|
_: 2
|
|
360
366
|
}, 1032, ["rules", "prop"]),
|
|
361
|
-
|
|
362
|
-
rules:
|
|
363
|
-
prop: [
|
|
367
|
+
c(n, {
|
|
368
|
+
rules: l.rules.nameCh,
|
|
369
|
+
prop: [l.field.nameCh],
|
|
364
370
|
class: "item-name-right"
|
|
365
371
|
}, {
|
|
366
|
-
default:
|
|
367
|
-
|
|
368
|
-
modelValue: o.value[
|
|
369
|
-
"onUpdate:modelValue": (
|
|
370
|
-
readonly:
|
|
371
|
-
type:
|
|
372
|
-
placeholder:
|
|
373
|
-
disabled:
|
|
374
|
-
onKeyup: x((
|
|
372
|
+
default: a(() => [
|
|
373
|
+
c(w, {
|
|
374
|
+
modelValue: o.value[l.field.nameCh],
|
|
375
|
+
"onUpdate:modelValue": (e) => o.value[l.field.nameCh] = e,
|
|
376
|
+
readonly: l.readonly,
|
|
377
|
+
type: l.type ? l.type : "text",
|
|
378
|
+
placeholder: l.placeholderNameCh,
|
|
379
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
380
|
+
onKeyup: x((e) => C(l.enterable), ["enter"])
|
|
375
381
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
376
382
|
]),
|
|
377
383
|
_: 2
|
|
378
384
|
}, 1032, ["rules", "prop"])
|
|
379
385
|
]),
|
|
380
386
|
_: 2
|
|
381
|
-
}, 1032, ["label", "disabled", "rules"]))
|
|
387
|
+
}, 1032, ["label", "disabled", "rules"])), [
|
|
388
|
+
[h, !l.isShow]
|
|
389
|
+
]) : l.type === "gender" ? t((d(), r(n, {
|
|
382
390
|
key: 2,
|
|
383
|
-
label:
|
|
384
|
-
rules:
|
|
385
|
-
prop: [
|
|
391
|
+
label: l.label,
|
|
392
|
+
rules: l.rules,
|
|
393
|
+
prop: [l.field]
|
|
386
394
|
}, {
|
|
387
|
-
label:
|
|
388
|
-
b("span", null, p(
|
|
389
|
-
|
|
390
|
-
]),
|
|
391
|
-
default:
|
|
392
|
-
|
|
393
|
-
modelValue: o.value[
|
|
394
|
-
"onUpdate:modelValue": (
|
|
395
|
-
disabled:
|
|
395
|
+
label: a(() => [
|
|
396
|
+
b("span", null, p(l.label), 1),
|
|
397
|
+
l.required ? (d(), u("span", _l, "*")) : _("", !0)
|
|
398
|
+
]),
|
|
399
|
+
default: a(() => [
|
|
400
|
+
c(E, {
|
|
401
|
+
modelValue: o.value[l.field],
|
|
402
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
403
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
404
|
+
onChange: (e) => N(e, l.field)
|
|
396
405
|
}, {
|
|
397
|
-
default:
|
|
398
|
-
var
|
|
406
|
+
default: a(() => {
|
|
407
|
+
var e;
|
|
399
408
|
return [
|
|
400
|
-
(d(!0), u(
|
|
401
|
-
var
|
|
402
|
-
return d(), r(
|
|
403
|
-
label: s[((
|
|
409
|
+
(d(!0), u(k, null, g((e = l.options) == null ? void 0 : e.data, (s) => {
|
|
410
|
+
var y, f;
|
|
411
|
+
return d(), r(I, {
|
|
412
|
+
label: s[((y = l.options) == null ? void 0 : y.valueKey) || "code"],
|
|
404
413
|
size: "large",
|
|
405
|
-
key: s[((
|
|
414
|
+
key: s[((f = l.options) == null ? void 0 : f.valueKey) || "code"]
|
|
406
415
|
}, {
|
|
407
|
-
default:
|
|
416
|
+
default: a(() => [
|
|
408
417
|
b("img", {
|
|
409
418
|
src: s.code === "M" ? "http://192.168.5.200:9000/test/sex_img_M.png" : "http://192.168.5.200:9000/test/sex_img_F.png",
|
|
410
419
|
style: { width: "44px", height: "44px", "margin-bottom": "-15px", "margin-left": "4px" },
|
|
411
420
|
alt: ""
|
|
412
|
-
}, null, 8,
|
|
421
|
+
}, null, 8, vl)
|
|
413
422
|
]),
|
|
414
423
|
_: 2
|
|
415
424
|
}, 1032, ["label"]);
|
|
@@ -417,40 +426,43 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
417
426
|
];
|
|
418
427
|
}),
|
|
419
428
|
_: 2
|
|
420
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
429
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
421
430
|
]),
|
|
422
431
|
_: 2
|
|
423
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
432
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
433
|
+
[h, !l.isShow]
|
|
434
|
+
]) : l.type === "radio" ? t((d(), r(n, {
|
|
424
435
|
key: 3,
|
|
425
|
-
label:
|
|
426
|
-
rules:
|
|
427
|
-
prop: [
|
|
428
|
-
class:
|
|
436
|
+
label: l.label,
|
|
437
|
+
rules: l.rules,
|
|
438
|
+
prop: [l.field],
|
|
439
|
+
class: H([l.labelNode ? "radio_Note" : "rule_err"])
|
|
429
440
|
}, {
|
|
430
|
-
label:
|
|
431
|
-
b("span", null, p(
|
|
432
|
-
|
|
433
|
-
]),
|
|
434
|
-
default:
|
|
435
|
-
|
|
436
|
-
modelValue: o.value[
|
|
437
|
-
"onUpdate:modelValue": (
|
|
438
|
-
disabled:
|
|
441
|
+
label: a(() => [
|
|
442
|
+
b("span", null, p(l.label), 1),
|
|
443
|
+
l.required ? (d(), u("span", il, "*")) : _("", !0)
|
|
444
|
+
]),
|
|
445
|
+
default: a(() => [
|
|
446
|
+
c(E, {
|
|
447
|
+
modelValue: o.value[l.field],
|
|
448
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
449
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
450
|
+
onChange: (e) => N(e, l.field)
|
|
439
451
|
}, {
|
|
440
|
-
default:
|
|
441
|
-
var
|
|
452
|
+
default: a(() => {
|
|
453
|
+
var e;
|
|
442
454
|
return [
|
|
443
|
-
(d(!0), u(
|
|
444
|
-
var
|
|
445
|
-
return d(), r(
|
|
455
|
+
(d(!0), u(k, null, g((e = l.options) == null ? void 0 : e.data, (s) => {
|
|
456
|
+
var y, f;
|
|
457
|
+
return d(), r(I, {
|
|
446
458
|
size: "large",
|
|
447
|
-
label: s[((
|
|
448
|
-
key: s[((
|
|
459
|
+
label: s[((y = l.options) == null ? void 0 : y.valueKey) || "code"],
|
|
460
|
+
key: s[((f = l.options) == null ? void 0 : f.valueKey) || "code"]
|
|
449
461
|
}, {
|
|
450
|
-
default:
|
|
451
|
-
var
|
|
462
|
+
default: a(() => {
|
|
463
|
+
var V;
|
|
452
464
|
return [
|
|
453
|
-
q(p(s[((
|
|
465
|
+
q(p(s[((V = l.options) == null ? void 0 : V.labelkey) || "name"]), 1)
|
|
454
466
|
];
|
|
455
467
|
}),
|
|
456
468
|
_: 2
|
|
@@ -459,41 +471,44 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
459
471
|
];
|
|
460
472
|
}),
|
|
461
473
|
_: 2
|
|
462
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
474
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
463
475
|
]),
|
|
464
476
|
_: 2
|
|
465
|
-
}, 1032, ["label", "rules", "prop", "class"]))
|
|
477
|
+
}, 1032, ["label", "rules", "prop", "class"])), [
|
|
478
|
+
[h, !l.isShow]
|
|
479
|
+
]) : l.type === "radioNote" ? t((d(), r(n, {
|
|
466
480
|
key: 4,
|
|
467
|
-
label:
|
|
468
|
-
rules:
|
|
469
|
-
prop: [
|
|
470
|
-
class:
|
|
481
|
+
label: l.label,
|
|
482
|
+
rules: l.rules,
|
|
483
|
+
prop: [l.field],
|
|
484
|
+
class: H([l.labelNode ? "radio_Note" : "rule_err"])
|
|
471
485
|
}, {
|
|
472
|
-
default:
|
|
486
|
+
default: a(() => [
|
|
473
487
|
b("div", null, [
|
|
474
|
-
b("span",
|
|
475
|
-
b("span",
|
|
476
|
-
|
|
488
|
+
b("span", Vl, p(l.labelBefore), 1),
|
|
489
|
+
b("span", kl, p(l.labelNode), 1),
|
|
490
|
+
l.required ? (d(), u("span", gl, "*")) : _("", !0)
|
|
477
491
|
]),
|
|
478
|
-
|
|
479
|
-
modelValue: o.value[
|
|
480
|
-
"onUpdate:modelValue": (
|
|
481
|
-
disabled:
|
|
492
|
+
c(E, {
|
|
493
|
+
modelValue: o.value[l.field],
|
|
494
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
495
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
496
|
+
onChange: (e) => N(e, l.field)
|
|
482
497
|
}, {
|
|
483
|
-
default:
|
|
484
|
-
var
|
|
498
|
+
default: a(() => {
|
|
499
|
+
var e;
|
|
485
500
|
return [
|
|
486
|
-
(d(!0), u(
|
|
487
|
-
var
|
|
488
|
-
return d(), r(
|
|
501
|
+
(d(!0), u(k, null, g((e = l.options) == null ? void 0 : e.data, (s) => {
|
|
502
|
+
var y, f;
|
|
503
|
+
return d(), r(I, {
|
|
489
504
|
size: "large",
|
|
490
|
-
label: s[((
|
|
491
|
-
key: s[((
|
|
505
|
+
label: s[((y = l.options) == null ? void 0 : y.valueKey) || "code"],
|
|
506
|
+
key: s[((f = l.options) == null ? void 0 : f.valueKey) || "code"]
|
|
492
507
|
}, {
|
|
493
|
-
default:
|
|
494
|
-
var
|
|
508
|
+
default: a(() => {
|
|
509
|
+
var V;
|
|
495
510
|
return [
|
|
496
|
-
q(p(s[((
|
|
511
|
+
q(p(s[((V = l.options) == null ? void 0 : V.labelkey) || "name"]), 1)
|
|
497
512
|
];
|
|
498
513
|
}),
|
|
499
514
|
_: 2
|
|
@@ -502,41 +517,44 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
502
517
|
];
|
|
503
518
|
}),
|
|
504
519
|
_: 2
|
|
505
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
520
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
506
521
|
]),
|
|
507
522
|
_: 2
|
|
508
|
-
}, 1032, ["label", "rules", "prop", "class"]))
|
|
523
|
+
}, 1032, ["label", "rules", "prop", "class"])), [
|
|
524
|
+
[h, !l.isShow]
|
|
525
|
+
]) : l.type === "checkbox" ? t((d(), r(n, {
|
|
509
526
|
key: 5,
|
|
510
|
-
label:
|
|
511
|
-
rules:
|
|
512
|
-
prop: [
|
|
527
|
+
label: l.label,
|
|
528
|
+
rules: l.rules,
|
|
529
|
+
prop: [l.field]
|
|
513
530
|
}, {
|
|
514
|
-
label:
|
|
515
|
-
b("span", null, p(
|
|
516
|
-
|
|
517
|
-
]),
|
|
518
|
-
default:
|
|
519
|
-
|
|
520
|
-
modelValue: o.value[
|
|
521
|
-
"onUpdate:modelValue": (
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
531
|
+
label: a(() => [
|
|
532
|
+
b("span", null, p(l.label), 1),
|
|
533
|
+
l.required ? (d(), u("span", wl, "*")) : _("", !0)
|
|
534
|
+
]),
|
|
535
|
+
default: a(() => [
|
|
536
|
+
c(G, {
|
|
537
|
+
modelValue: o.value[l.field],
|
|
538
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
539
|
+
onChange: (e) => R(e, l.field),
|
|
540
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
541
|
+
style: j(
|
|
542
|
+
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
525
543
|
)
|
|
526
544
|
}, {
|
|
527
|
-
default:
|
|
528
|
-
var
|
|
545
|
+
default: a(() => {
|
|
546
|
+
var e;
|
|
529
547
|
return [
|
|
530
|
-
(d(!0), u(
|
|
531
|
-
var
|
|
532
|
-
return d(), r(
|
|
533
|
-
key: s[((
|
|
534
|
-
label: s[((
|
|
548
|
+
(d(!0), u(k, null, g((e = l.options) == null ? void 0 : e.data, (s) => {
|
|
549
|
+
var y, f;
|
|
550
|
+
return d(), r(A, {
|
|
551
|
+
key: s[((y = l.options) == null ? void 0 : y.valueKey) || "code"],
|
|
552
|
+
label: s[((f = l.options) == null ? void 0 : f.valueKey) || "code"]
|
|
535
553
|
}, {
|
|
536
|
-
default:
|
|
537
|
-
var
|
|
554
|
+
default: a(() => {
|
|
555
|
+
var V;
|
|
538
556
|
return [
|
|
539
|
-
q(p(s[((
|
|
557
|
+
q(p(s[((V = l.options) == null ? void 0 : V.labelkey) || "name"]), 1)
|
|
540
558
|
];
|
|
541
559
|
}),
|
|
542
560
|
_: 2
|
|
@@ -545,38 +563,40 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
545
563
|
];
|
|
546
564
|
}),
|
|
547
565
|
_: 2
|
|
548
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "style"])
|
|
566
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
549
567
|
]),
|
|
550
568
|
_: 2
|
|
551
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
569
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
570
|
+
[h, !l.isShow]
|
|
571
|
+
]) : l.type === "select" ? t((d(), r(n, {
|
|
552
572
|
key: 6,
|
|
553
|
-
label:
|
|
554
|
-
rules:
|
|
555
|
-
disabled:
|
|
556
|
-
prop: [
|
|
573
|
+
label: l.label,
|
|
574
|
+
rules: l.rules,
|
|
575
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
576
|
+
prop: [l.field]
|
|
557
577
|
}, {
|
|
558
|
-
label:
|
|
559
|
-
b("span", null, p(
|
|
560
|
-
|
|
561
|
-
]),
|
|
562
|
-
default:
|
|
563
|
-
|
|
564
|
-
onChange: (
|
|
565
|
-
modelValue: o.value[
|
|
566
|
-
"onUpdate:modelValue": (
|
|
567
|
-
disabled:
|
|
568
|
-
placeholder:
|
|
569
|
-
clearable:
|
|
578
|
+
label: a(() => [
|
|
579
|
+
b("span", null, p(l.label), 1),
|
|
580
|
+
l.required ? (d(), u("span", ql, "*")) : _("", !0)
|
|
581
|
+
]),
|
|
582
|
+
default: a(() => [
|
|
583
|
+
c(z, {
|
|
584
|
+
onChange: (e) => O(e, l.field),
|
|
585
|
+
modelValue: o.value[l.field],
|
|
586
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
587
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
588
|
+
placeholder: l.placeholder,
|
|
589
|
+
clearable: l.clearable
|
|
570
590
|
}, {
|
|
571
|
-
default:
|
|
572
|
-
var
|
|
591
|
+
default: a(() => {
|
|
592
|
+
var e;
|
|
573
593
|
return [
|
|
574
|
-
(d(!0), u(
|
|
575
|
-
var
|
|
576
|
-
return d(), r(
|
|
577
|
-
key: s[((
|
|
578
|
-
label: s[((
|
|
579
|
-
value: s[((
|
|
594
|
+
(d(!0), u(k, null, g((e = l.options) == null ? void 0 : e.data, (s) => {
|
|
595
|
+
var y, f, V;
|
|
596
|
+
return d(), r(M, {
|
|
597
|
+
key: s[((y = l.options) == null ? void 0 : y.valueKey) || "code"],
|
|
598
|
+
label: s[((f = l.options) == null ? void 0 : f.labelkey) || "name"],
|
|
599
|
+
value: s[((V = l.options) == null ? void 0 : V.valueKey) || "code"]
|
|
580
600
|
}, null, 8, ["label", "value"]);
|
|
581
601
|
}), 128))
|
|
582
602
|
];
|
|
@@ -585,161 +605,177 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
585
605
|
}, 1032, ["onChange", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "clearable"])
|
|
586
606
|
]),
|
|
587
607
|
_: 2
|
|
588
|
-
}, 1032, ["label", "rules", "disabled", "prop"]))
|
|
608
|
+
}, 1032, ["label", "rules", "disabled", "prop"])), [
|
|
609
|
+
[h, !l.isShow]
|
|
610
|
+
]) : l.type === "date" ? t((d(), r(n, {
|
|
589
611
|
key: 7,
|
|
590
|
-
label:
|
|
591
|
-
rules:
|
|
592
|
-
prop: [
|
|
612
|
+
label: l.label,
|
|
613
|
+
rules: l.rules,
|
|
614
|
+
prop: [l.field]
|
|
593
615
|
}, {
|
|
594
|
-
label:
|
|
595
|
-
b("span", null, p(
|
|
596
|
-
|
|
597
|
-
]),
|
|
598
|
-
default:
|
|
599
|
-
|
|
600
|
-
modelValue: o.value[
|
|
601
|
-
"onUpdate:modelValue": (
|
|
602
|
-
disabled:
|
|
603
|
-
readonly:
|
|
604
|
-
type:
|
|
605
|
-
placeholder:
|
|
606
|
-
"value-format":
|
|
616
|
+
label: a(() => [
|
|
617
|
+
b("span", null, p(l.label), 1),
|
|
618
|
+
l.required ? (d(), u("span", Ul, "*")) : _("", !0)
|
|
619
|
+
]),
|
|
620
|
+
default: a(() => [
|
|
621
|
+
c(P, {
|
|
622
|
+
modelValue: o.value[l.field],
|
|
623
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
624
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
625
|
+
readonly: l.readonly,
|
|
626
|
+
type: l.type,
|
|
627
|
+
placeholder: l.placeholder || l.label,
|
|
628
|
+
"value-format": l.format || "YYYY-MM-DD HH:mm:ss"
|
|
607
629
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "readonly", "type", "placeholder", "value-format"])
|
|
608
630
|
]),
|
|
609
631
|
_: 2
|
|
610
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
632
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
633
|
+
[h, !l.isShow]
|
|
634
|
+
]) : l.type === "daterange" ? t((d(), r(n, {
|
|
611
635
|
key: 8,
|
|
612
|
-
label:
|
|
613
|
-
rules:
|
|
614
|
-
prop: [
|
|
636
|
+
label: l.label,
|
|
637
|
+
rules: l.rules,
|
|
638
|
+
prop: [l.field]
|
|
615
639
|
}, {
|
|
616
|
-
label:
|
|
617
|
-
b("span", null, p(
|
|
618
|
-
|
|
619
|
-
]),
|
|
620
|
-
default:
|
|
621
|
-
|
|
622
|
-
modelValue: o.value[
|
|
623
|
-
"onUpdate:modelValue": (
|
|
640
|
+
label: a(() => [
|
|
641
|
+
b("span", null, p(l.label), 1),
|
|
642
|
+
l.required ? (d(), u("span", Cl, "*")) : _("", !0)
|
|
643
|
+
]),
|
|
644
|
+
default: a(() => [
|
|
645
|
+
c(P, {
|
|
646
|
+
modelValue: o.value[l.field],
|
|
647
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
624
648
|
type: "daterange",
|
|
625
649
|
"range-separator": "To",
|
|
626
|
-
"start-placeholder":
|
|
627
|
-
"end-placeholder":
|
|
628
|
-
"value-format":
|
|
650
|
+
"start-placeholder": l.startPlaceholder,
|
|
651
|
+
"end-placeholder": l.endPlaceholder,
|
|
652
|
+
"value-format": l.format || "YYYY-MM-DD HH:mm:ss",
|
|
629
653
|
size: "large"
|
|
630
654
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "value-format"])
|
|
631
655
|
]),
|
|
632
656
|
_: 2
|
|
633
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
657
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
658
|
+
[h, !l.isShow]
|
|
659
|
+
]) : l.type === "slotItem1" ? t((d(), r(n, {
|
|
634
660
|
key: 9,
|
|
635
|
-
label:
|
|
636
|
-
rules:
|
|
637
|
-
prop: [
|
|
661
|
+
label: l.label,
|
|
662
|
+
rules: l.rules,
|
|
663
|
+
prop: [l.field],
|
|
638
664
|
class: "rule_err"
|
|
639
665
|
}, {
|
|
640
|
-
label:
|
|
641
|
-
b("span", null, p(
|
|
642
|
-
|
|
666
|
+
label: a(() => [
|
|
667
|
+
b("span", null, p(l.label), 1),
|
|
668
|
+
l.required ? (d(), u("span", xl, "*")) : _("", !0)
|
|
643
669
|
]),
|
|
644
|
-
default:
|
|
645
|
-
|
|
670
|
+
default: a(() => [
|
|
671
|
+
U(i.$slots, "slotItem1", {}, void 0, !0)
|
|
646
672
|
]),
|
|
647
673
|
_: 2
|
|
648
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
674
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
675
|
+
[h, !l.isShow]
|
|
676
|
+
]) : l.type === "slotItem2" ? t((d(), r(n, {
|
|
649
677
|
key: 10,
|
|
650
|
-
label:
|
|
651
|
-
rules:
|
|
652
|
-
prop: [
|
|
678
|
+
label: l.label,
|
|
679
|
+
rules: l.rules,
|
|
680
|
+
prop: [l.field],
|
|
653
681
|
class: "rule_err"
|
|
654
682
|
}, {
|
|
655
|
-
label:
|
|
656
|
-
b("span", null, p(
|
|
657
|
-
|
|
683
|
+
label: a(() => [
|
|
684
|
+
b("span", null, p(l.label), 1),
|
|
685
|
+
l.required ? (d(), u("span", Kl, "*")) : _("", !0)
|
|
658
686
|
]),
|
|
659
|
-
default:
|
|
660
|
-
|
|
687
|
+
default: a(() => [
|
|
688
|
+
U(i.$slots, "slotItem2", {}, void 0, !0)
|
|
661
689
|
]),
|
|
662
690
|
_: 2
|
|
663
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
691
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
692
|
+
[h, !l.isShow]
|
|
693
|
+
]) : l.type === "slotItem3" ? t((d(), r(n, {
|
|
664
694
|
key: 11,
|
|
665
|
-
label:
|
|
666
|
-
rules:
|
|
667
|
-
prop: [
|
|
695
|
+
label: l.label,
|
|
696
|
+
rules: l.rules,
|
|
697
|
+
prop: [l.field],
|
|
668
698
|
class: "rule_err"
|
|
669
699
|
}, {
|
|
670
|
-
label:
|
|
671
|
-
b("span", null, p(
|
|
672
|
-
|
|
700
|
+
label: a(() => [
|
|
701
|
+
b("span", null, p(l.label), 1),
|
|
702
|
+
l.required ? (d(), u("span", Sl, "*")) : _("", !0)
|
|
673
703
|
]),
|
|
674
|
-
default:
|
|
675
|
-
|
|
704
|
+
default: a(() => [
|
|
705
|
+
U(i.$slots, "slotItem3", {}, void 0, !0)
|
|
676
706
|
]),
|
|
677
707
|
_: 2
|
|
678
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
708
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
709
|
+
[h, !l.isShow]
|
|
710
|
+
]) : l.type === "slotItem4" ? t((d(), r(n, {
|
|
679
711
|
key: 12,
|
|
680
|
-
label:
|
|
681
|
-
rules:
|
|
682
|
-
prop: [
|
|
712
|
+
label: l.label,
|
|
713
|
+
rules: l.rules,
|
|
714
|
+
prop: [l.field],
|
|
683
715
|
class: "rule_err"
|
|
684
716
|
}, {
|
|
685
|
-
label:
|
|
686
|
-
b("span", null, p(
|
|
687
|
-
|
|
717
|
+
label: a(() => [
|
|
718
|
+
b("span", null, p(l.label), 1),
|
|
719
|
+
l.required ? (d(), u("span", Dl, "*")) : _("", !0)
|
|
688
720
|
]),
|
|
689
|
-
default:
|
|
690
|
-
|
|
721
|
+
default: a(() => [
|
|
722
|
+
U(i.$slots, "slotItem4", {}, void 0, !0)
|
|
691
723
|
]),
|
|
692
724
|
_: 2
|
|
693
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
725
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
726
|
+
[h, !l.isShow]
|
|
727
|
+
]) : l.type === "slotItem5" ? t((d(), r(n, {
|
|
694
728
|
key: 13,
|
|
695
|
-
label:
|
|
696
|
-
rules:
|
|
697
|
-
prop: [
|
|
729
|
+
label: l.label,
|
|
730
|
+
rules: l.rules,
|
|
731
|
+
prop: [l.field],
|
|
698
732
|
class: "rule_err"
|
|
699
733
|
}, {
|
|
700
|
-
label:
|
|
701
|
-
b("span", null, p(
|
|
702
|
-
|
|
734
|
+
label: a(() => [
|
|
735
|
+
b("span", null, p(l.label), 1),
|
|
736
|
+
l.required ? (d(), u("span", Nl, "*")) : _("", !0)
|
|
703
737
|
]),
|
|
704
|
-
default:
|
|
705
|
-
|
|
738
|
+
default: a(() => [
|
|
739
|
+
U(i.$slots, "slotItem5", {}, void 0, !0)
|
|
706
740
|
]),
|
|
707
741
|
_: 2
|
|
708
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
742
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
743
|
+
[h, !l.isShow]
|
|
744
|
+
]) : l.type === "phone" ? t((d(), r(n, {
|
|
709
745
|
key: 14,
|
|
710
|
-
label:
|
|
711
|
-
rules:
|
|
712
|
-
prop: [
|
|
746
|
+
label: l.label,
|
|
747
|
+
rules: l.rules.phoneNumber,
|
|
748
|
+
prop: [l.field.phoneNumber]
|
|
713
749
|
}, {
|
|
714
|
-
label:
|
|
715
|
-
b("span", null, p(
|
|
716
|
-
|
|
717
|
-
]),
|
|
718
|
-
default:
|
|
719
|
-
|
|
720
|
-
modelValue: o.value[
|
|
721
|
-
"onUpdate:modelValue": (
|
|
722
|
-
disabled:
|
|
723
|
-
placeholder:
|
|
724
|
-
clearable:
|
|
750
|
+
label: a(() => [
|
|
751
|
+
b("span", null, p(l.label), 1),
|
|
752
|
+
l.required ? (d(), u("span", Il, "*")) : _("", !0)
|
|
753
|
+
]),
|
|
754
|
+
default: a(() => [
|
|
755
|
+
c(w, {
|
|
756
|
+
modelValue: o.value[l.field.phoneNumber],
|
|
757
|
+
"onUpdate:modelValue": (e) => o.value[l.field.phoneNumber] = e,
|
|
758
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
759
|
+
placeholder: l.placeholder || "请选择",
|
|
760
|
+
clearable: l.clearable
|
|
725
761
|
}, {
|
|
726
|
-
prepend:
|
|
727
|
-
var
|
|
762
|
+
prepend: a(() => {
|
|
763
|
+
var e;
|
|
728
764
|
return [
|
|
729
|
-
|
|
730
|
-
disabled:
|
|
731
|
-
modelValue: o.value[
|
|
732
|
-
"onUpdate:modelValue": (s) => o.value[
|
|
733
|
-
placeholder: ((
|
|
765
|
+
c(z, {
|
|
766
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
767
|
+
modelValue: o.value[l.field.areaCode],
|
|
768
|
+
"onUpdate:modelValue": (s) => o.value[l.field.areaCode] = s,
|
|
769
|
+
placeholder: ((e = l.options) == null ? void 0 : e.placeholder) || "请选择",
|
|
734
770
|
style: { width: "115px" }
|
|
735
771
|
}, {
|
|
736
|
-
default:
|
|
772
|
+
default: a(() => {
|
|
737
773
|
var s;
|
|
738
774
|
return [
|
|
739
|
-
(d(!0), u(
|
|
740
|
-
label:
|
|
741
|
-
value:
|
|
742
|
-
key:
|
|
775
|
+
(d(!0), u(k, null, g((s = l.options) == null ? void 0 : s.data, (y, f) => (d(), r(M, {
|
|
776
|
+
label: y.name,
|
|
777
|
+
value: y.code,
|
|
778
|
+
key: f
|
|
743
779
|
}, null, 8, ["label", "value"]))), 128))
|
|
744
780
|
];
|
|
745
781
|
}),
|
|
@@ -751,197 +787,208 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
751
787
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "placeholder", "clearable"])
|
|
752
788
|
]),
|
|
753
789
|
_: 2
|
|
754
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
790
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
791
|
+
[h, !l.isShow]
|
|
792
|
+
]) : l.type === "input" ? t((d(), r(n, {
|
|
755
793
|
key: 15,
|
|
756
|
-
label:
|
|
757
|
-
rules:
|
|
758
|
-
prop: [
|
|
794
|
+
label: l.label,
|
|
795
|
+
rules: l.rules,
|
|
796
|
+
prop: [l.field]
|
|
759
797
|
}, {
|
|
760
|
-
label:
|
|
761
|
-
b("span", null, p(
|
|
762
|
-
|
|
763
|
-
]),
|
|
764
|
-
default:
|
|
765
|
-
|
|
766
|
-
modelValue: o.value[
|
|
767
|
-
"onUpdate:modelValue": (
|
|
768
|
-
readonly:
|
|
769
|
-
type:
|
|
770
|
-
placeholder:
|
|
771
|
-
disabled:
|
|
772
|
-
showPassword:
|
|
773
|
-
clearable:
|
|
774
|
-
onKeyup: x((
|
|
775
|
-
},
|
|
776
|
-
|
|
798
|
+
label: a(() => [
|
|
799
|
+
b("span", null, p(l.label), 1),
|
|
800
|
+
l.required ? (d(), u("span", El, "*")) : _("", !0)
|
|
801
|
+
]),
|
|
802
|
+
default: a(() => [
|
|
803
|
+
c(w, {
|
|
804
|
+
modelValue: o.value[l.field],
|
|
805
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
806
|
+
readonly: l.readonly,
|
|
807
|
+
type: l.type ? l.type : "text",
|
|
808
|
+
placeholder: l.placeholder || l.label,
|
|
809
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
810
|
+
showPassword: l.showPassword,
|
|
811
|
+
clearable: l.clearable,
|
|
812
|
+
onKeyup: x((e) => C(l.enterable), ["enter"])
|
|
813
|
+
}, W({ _: 2 }, [
|
|
814
|
+
l.prepend ? {
|
|
777
815
|
name: "prepend",
|
|
778
|
-
fn:
|
|
779
|
-
q(p(
|
|
816
|
+
fn: a(() => [
|
|
817
|
+
q(p(l.field), 1)
|
|
780
818
|
]),
|
|
781
819
|
key: "0"
|
|
782
820
|
} : void 0,
|
|
783
|
-
|
|
821
|
+
l.append ? {
|
|
784
822
|
name: "append",
|
|
785
|
-
fn:
|
|
786
|
-
q(p(
|
|
823
|
+
fn: a(() => [
|
|
824
|
+
q(p(l.append), 1)
|
|
787
825
|
]),
|
|
788
826
|
key: "1"
|
|
789
827
|
} : void 0
|
|
790
828
|
]), 1032, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
791
829
|
]),
|
|
792
830
|
_: 2
|
|
793
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
831
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
832
|
+
[h, !l.isShow]
|
|
833
|
+
]) : l.type === "line" ? t((d(), r(n, {
|
|
794
834
|
key: 16,
|
|
795
|
-
label:
|
|
835
|
+
label: l.label
|
|
796
836
|
}, {
|
|
797
|
-
default:
|
|
798
|
-
|
|
837
|
+
default: a(() => [
|
|
838
|
+
Fl
|
|
799
839
|
]),
|
|
800
840
|
_: 2
|
|
801
|
-
}, 1032, ["label"]))
|
|
841
|
+
}, 1032, ["label"])), [
|
|
842
|
+
[h, !l.isShow]
|
|
843
|
+
]) : _("", !0)
|
|
802
844
|
]),
|
|
803
845
|
_: 2
|
|
804
846
|
}, 1024))), 128))
|
|
805
847
|
]),
|
|
806
848
|
_: 2
|
|
807
849
|
}, 1024)
|
|
808
|
-
])) : K.colNum === 3 ? (d(), u("div",
|
|
809
|
-
|
|
810
|
-
default:
|
|
811
|
-
(d(!0), u(
|
|
850
|
+
])) : K.colNum === 3 ? (d(), u("div", $l, [
|
|
851
|
+
c(Q, { gutter: 20 }, {
|
|
852
|
+
default: a(() => [
|
|
853
|
+
(d(!0), u(k, null, g(K.formItemList, (l, B) => (d(), r(J, {
|
|
812
854
|
xs: 24,
|
|
813
855
|
sm: 8,
|
|
814
856
|
md: 8,
|
|
815
857
|
lg: 8,
|
|
816
858
|
xl: 8,
|
|
817
|
-
key:
|
|
859
|
+
key: B
|
|
818
860
|
}, {
|
|
819
|
-
default:
|
|
820
|
-
|
|
821
|
-
default:
|
|
822
|
-
b("div",
|
|
823
|
-
b("span",
|
|
861
|
+
default: a(() => [
|
|
862
|
+
l.type === "title" ? t((d(), r(n, { key: 0 }, {
|
|
863
|
+
default: a(() => [
|
|
864
|
+
b("div", Yl, [
|
|
865
|
+
b("span", Ml, p(l.title), 1)
|
|
824
866
|
])
|
|
825
867
|
]),
|
|
826
868
|
_: 2
|
|
827
|
-
},
|
|
869
|
+
}, 1536)), [
|
|
870
|
+
[h, !l.isShow]
|
|
871
|
+
]) : l.type === "name" ? t((d(), r(n, {
|
|
828
872
|
key: 1,
|
|
829
|
-
label:
|
|
830
|
-
disabled:
|
|
873
|
+
label: l.label,
|
|
874
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
831
875
|
class: "container_name",
|
|
832
|
-
rules:
|
|
876
|
+
rules: l.rules.nameEnFamily
|
|
833
877
|
}, {
|
|
834
|
-
label:
|
|
835
|
-
b("span", null, p(
|
|
836
|
-
|
|
837
|
-
]),
|
|
838
|
-
default:
|
|
839
|
-
|
|
840
|
-
rules:
|
|
841
|
-
prop: [
|
|
878
|
+
label: a(() => [
|
|
879
|
+
b("span", null, p(l.label), 1),
|
|
880
|
+
l.required ? (d(), u("span", zl, "*")) : _("", !0)
|
|
881
|
+
]),
|
|
882
|
+
default: a(() => [
|
|
883
|
+
c(n, {
|
|
884
|
+
rules: l.rules.nameEnFamily,
|
|
885
|
+
prop: [l.field.nameEnFamily],
|
|
842
886
|
class: "item-name"
|
|
843
887
|
}, {
|
|
844
|
-
default:
|
|
845
|
-
|
|
846
|
-
modelValue: o.value[
|
|
847
|
-
"onUpdate:modelValue": (
|
|
848
|
-
readonly:
|
|
849
|
-
type:
|
|
850
|
-
placeholder:
|
|
851
|
-
disabled:
|
|
852
|
-
onKeyup: x((
|
|
888
|
+
default: a(() => [
|
|
889
|
+
c(w, {
|
|
890
|
+
modelValue: o.value[l.field.nameEnFamily],
|
|
891
|
+
"onUpdate:modelValue": (e) => o.value[l.field.nameEnFamily] = e,
|
|
892
|
+
readonly: l.readonly,
|
|
893
|
+
type: l.type ? l.type : "text",
|
|
894
|
+
placeholder: l.placeholderNameEnFamily,
|
|
895
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
896
|
+
onKeyup: x((e) => C(l.enterable), ["enter"])
|
|
853
897
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
854
898
|
]),
|
|
855
899
|
_: 2
|
|
856
900
|
}, 1032, ["rules", "prop"]),
|
|
857
|
-
|
|
858
|
-
rules:
|
|
859
|
-
prop: [
|
|
901
|
+
c(n, {
|
|
902
|
+
rules: l.rules.nameEn,
|
|
903
|
+
prop: [l.field.nameEn],
|
|
860
904
|
class: "item-name-right"
|
|
861
905
|
}, {
|
|
862
|
-
default:
|
|
863
|
-
|
|
864
|
-
modelValue: o.value[
|
|
865
|
-
"onUpdate:modelValue": (
|
|
866
|
-
readonly:
|
|
867
|
-
type:
|
|
868
|
-
placeholder:
|
|
869
|
-
disabled:
|
|
870
|
-
onKeyup: x((
|
|
906
|
+
default: a(() => [
|
|
907
|
+
c(w, {
|
|
908
|
+
modelValue: o.value[l.field.nameEn],
|
|
909
|
+
"onUpdate:modelValue": (e) => o.value[l.field.nameEn] = e,
|
|
910
|
+
readonly: l.readonly,
|
|
911
|
+
type: l.type ? l.type : "text",
|
|
912
|
+
placeholder: l.placeholderNameEn,
|
|
913
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
914
|
+
onKeyup: x((e) => C(l.enterable), ["enter"])
|
|
871
915
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
872
916
|
]),
|
|
873
917
|
_: 2
|
|
874
918
|
}, 1032, ["rules", "prop"]),
|
|
875
|
-
|
|
876
|
-
rules:
|
|
877
|
-
prop: [
|
|
919
|
+
c(n, {
|
|
920
|
+
rules: l.rules.nameChFamily,
|
|
921
|
+
prop: [l.field.nameChFamily],
|
|
878
922
|
class: "item-name"
|
|
879
923
|
}, {
|
|
880
|
-
default:
|
|
881
|
-
|
|
882
|
-
modelValue: o.value[
|
|
883
|
-
"onUpdate:modelValue": (
|
|
884
|
-
readonly:
|
|
885
|
-
type:
|
|
886
|
-
placeholder:
|
|
887
|
-
disabled:
|
|
888
|
-
onKeyup: x((
|
|
924
|
+
default: a(() => [
|
|
925
|
+
c(w, {
|
|
926
|
+
modelValue: o.value[l.field.nameChFamily],
|
|
927
|
+
"onUpdate:modelValue": (e) => o.value[l.field.nameChFamily] = e,
|
|
928
|
+
readonly: l.readonly,
|
|
929
|
+
type: l.type ? l.type : "text",
|
|
930
|
+
placeholder: l.placeholderNameChFamily,
|
|
931
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
932
|
+
onKeyup: x((e) => C(l.enterable), ["enter"])
|
|
889
933
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
890
934
|
]),
|
|
891
935
|
_: 2
|
|
892
936
|
}, 1032, ["rules", "prop"]),
|
|
893
|
-
|
|
894
|
-
rules:
|
|
895
|
-
prop: [
|
|
937
|
+
c(n, {
|
|
938
|
+
rules: l.rules.nameCh,
|
|
939
|
+
prop: [l.field.nameCh],
|
|
896
940
|
class: "item-name-right"
|
|
897
941
|
}, {
|
|
898
|
-
default:
|
|
899
|
-
|
|
900
|
-
modelValue: o.value[
|
|
901
|
-
"onUpdate:modelValue": (
|
|
902
|
-
readonly:
|
|
903
|
-
type:
|
|
904
|
-
placeholder:
|
|
905
|
-
disabled:
|
|
906
|
-
onKeyup: x((
|
|
942
|
+
default: a(() => [
|
|
943
|
+
c(w, {
|
|
944
|
+
modelValue: o.value[l.field.nameCh],
|
|
945
|
+
"onUpdate:modelValue": (e) => o.value[l.field.nameCh] = e,
|
|
946
|
+
readonly: l.readonly,
|
|
947
|
+
type: l.type ? l.type : "text",
|
|
948
|
+
placeholder: l.placeholderNameCh,
|
|
949
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
950
|
+
onKeyup: x((e) => C(l.enterable), ["enter"])
|
|
907
951
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
908
952
|
]),
|
|
909
953
|
_: 2
|
|
910
954
|
}, 1032, ["rules", "prop"])
|
|
911
955
|
]),
|
|
912
956
|
_: 2
|
|
913
|
-
}, 1032, ["label", "disabled", "rules"]))
|
|
957
|
+
}, 1032, ["label", "disabled", "rules"])), [
|
|
958
|
+
[h, !l.isShow]
|
|
959
|
+
]) : l.type === "gender" ? t((d(), r(n, {
|
|
914
960
|
key: 2,
|
|
915
|
-
label:
|
|
916
|
-
rules:
|
|
917
|
-
prop: [
|
|
961
|
+
label: l.label,
|
|
962
|
+
rules: l.rules,
|
|
963
|
+
prop: [l.field]
|
|
918
964
|
}, {
|
|
919
|
-
label:
|
|
920
|
-
b("span", null, p(
|
|
921
|
-
|
|
922
|
-
]),
|
|
923
|
-
default:
|
|
924
|
-
|
|
925
|
-
modelValue: o.value[
|
|
926
|
-
"onUpdate:modelValue": (
|
|
927
|
-
disabled:
|
|
965
|
+
label: a(() => [
|
|
966
|
+
b("span", null, p(l.label), 1),
|
|
967
|
+
l.required ? (d(), u("span", Pl, "*")) : _("", !0)
|
|
968
|
+
]),
|
|
969
|
+
default: a(() => [
|
|
970
|
+
c(E, {
|
|
971
|
+
modelValue: o.value[l.field],
|
|
972
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
973
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
974
|
+
onChange: (e) => N(e, l.field)
|
|
928
975
|
}, {
|
|
929
|
-
default:
|
|
930
|
-
var
|
|
976
|
+
default: a(() => {
|
|
977
|
+
var e;
|
|
931
978
|
return [
|
|
932
|
-
(d(!0), u(
|
|
933
|
-
var
|
|
934
|
-
return d(), r(
|
|
935
|
-
label: s[((
|
|
979
|
+
(d(!0), u(k, null, g((e = l.options) == null ? void 0 : e.data, (s) => {
|
|
980
|
+
var y, f;
|
|
981
|
+
return d(), r(I, {
|
|
982
|
+
label: s[((y = l.options) == null ? void 0 : y.valueKey) || "code"],
|
|
936
983
|
size: "large",
|
|
937
|
-
key: s[((
|
|
984
|
+
key: s[((f = l.options) == null ? void 0 : f.valueKey) || "code"]
|
|
938
985
|
}, {
|
|
939
|
-
default:
|
|
986
|
+
default: a(() => [
|
|
940
987
|
b("img", {
|
|
941
988
|
src: s.code === "M" ? "http://192.168.5.200:9000/test/sex_img_M.png" : "http://192.168.5.200:9000/test/sex_img_F.png",
|
|
942
989
|
style: { width: "44px", height: "44px", "margin-bottom": "-15px", "margin-left": "4px" },
|
|
943
990
|
alt: ""
|
|
944
|
-
}, null, 8,
|
|
991
|
+
}, null, 8, Hl)
|
|
945
992
|
]),
|
|
946
993
|
_: 2
|
|
947
994
|
}, 1032, ["label"]);
|
|
@@ -949,40 +996,43 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
949
996
|
];
|
|
950
997
|
}),
|
|
951
998
|
_: 2
|
|
952
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
999
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
953
1000
|
]),
|
|
954
1001
|
_: 2
|
|
955
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1002
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1003
|
+
[h, !l.isShow]
|
|
1004
|
+
]) : l.type === "radio" ? t((d(), r(n, {
|
|
956
1005
|
key: 3,
|
|
957
|
-
label:
|
|
958
|
-
rules:
|
|
959
|
-
prop: [
|
|
960
|
-
class:
|
|
1006
|
+
label: l.label,
|
|
1007
|
+
rules: l.rules,
|
|
1008
|
+
prop: [l.field],
|
|
1009
|
+
class: H([l.labelNode ? "radio_Note" : "rule_err"])
|
|
961
1010
|
}, {
|
|
962
|
-
label:
|
|
963
|
-
b("span", null, p(
|
|
964
|
-
|
|
965
|
-
]),
|
|
966
|
-
default:
|
|
967
|
-
|
|
968
|
-
modelValue: o.value[
|
|
969
|
-
"onUpdate:modelValue": (
|
|
970
|
-
disabled:
|
|
1011
|
+
label: a(() => [
|
|
1012
|
+
b("span", null, p(l.label), 1),
|
|
1013
|
+
l.required ? (d(), u("span", Bl, "*")) : _("", !0)
|
|
1014
|
+
]),
|
|
1015
|
+
default: a(() => [
|
|
1016
|
+
c(E, {
|
|
1017
|
+
modelValue: o.value[l.field],
|
|
1018
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
1019
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1020
|
+
onChange: (e) => N(e, l.field)
|
|
971
1021
|
}, {
|
|
972
|
-
default:
|
|
973
|
-
var
|
|
1022
|
+
default: a(() => {
|
|
1023
|
+
var e;
|
|
974
1024
|
return [
|
|
975
|
-
(d(!0), u(
|
|
976
|
-
var
|
|
977
|
-
return d(), r(
|
|
1025
|
+
(d(!0), u(k, null, g((e = l.options) == null ? void 0 : e.data, (s) => {
|
|
1026
|
+
var y, f;
|
|
1027
|
+
return d(), r(I, {
|
|
978
1028
|
size: "large",
|
|
979
|
-
label: s[((
|
|
980
|
-
key: s[((
|
|
1029
|
+
label: s[((y = l.options) == null ? void 0 : y.valueKey) || "code"],
|
|
1030
|
+
key: s[((f = l.options) == null ? void 0 : f.valueKey) || "code"]
|
|
981
1031
|
}, {
|
|
982
|
-
default:
|
|
983
|
-
var
|
|
1032
|
+
default: a(() => {
|
|
1033
|
+
var V;
|
|
984
1034
|
return [
|
|
985
|
-
q(p(s[((
|
|
1035
|
+
q(p(s[((V = l.options) == null ? void 0 : V.labelkey) || "name"]), 1)
|
|
986
1036
|
];
|
|
987
1037
|
}),
|
|
988
1038
|
_: 2
|
|
@@ -991,41 +1041,44 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
991
1041
|
];
|
|
992
1042
|
}),
|
|
993
1043
|
_: 2
|
|
994
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
1044
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
995
1045
|
]),
|
|
996
1046
|
_: 2
|
|
997
|
-
}, 1032, ["label", "rules", "prop", "class"]))
|
|
1047
|
+
}, 1032, ["label", "rules", "prop", "class"])), [
|
|
1048
|
+
[h, !l.isShow]
|
|
1049
|
+
]) : l.type === "radioNote" ? t((d(), r(n, {
|
|
998
1050
|
key: 4,
|
|
999
|
-
label:
|
|
1000
|
-
rules:
|
|
1001
|
-
prop: [
|
|
1002
|
-
class:
|
|
1051
|
+
label: l.label,
|
|
1052
|
+
rules: l.rules,
|
|
1053
|
+
prop: [l.field],
|
|
1054
|
+
class: H([l.labelNode ? "radio_Note" : "rule_err"])
|
|
1003
1055
|
}, {
|
|
1004
|
-
default:
|
|
1056
|
+
default: a(() => [
|
|
1005
1057
|
b("div", null, [
|
|
1006
|
-
b("span",
|
|
1007
|
-
b("span",
|
|
1008
|
-
|
|
1058
|
+
b("span", Ll, p(l.labelBefore), 1),
|
|
1059
|
+
b("span", jl, p(l.labelNode), 1),
|
|
1060
|
+
l.required ? (d(), u("span", Tl, "*")) : _("", !0)
|
|
1009
1061
|
]),
|
|
1010
|
-
|
|
1011
|
-
modelValue: o.value[
|
|
1012
|
-
"onUpdate:modelValue": (
|
|
1013
|
-
disabled:
|
|
1062
|
+
c(E, {
|
|
1063
|
+
modelValue: o.value[l.field],
|
|
1064
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
1065
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1066
|
+
onChange: (e) => N(e, l.field)
|
|
1014
1067
|
}, {
|
|
1015
|
-
default:
|
|
1016
|
-
var
|
|
1068
|
+
default: a(() => {
|
|
1069
|
+
var e;
|
|
1017
1070
|
return [
|
|
1018
|
-
(d(!0), u(
|
|
1019
|
-
var
|
|
1020
|
-
return d(), r(
|
|
1071
|
+
(d(!0), u(k, null, g((e = l.options) == null ? void 0 : e.data, (s) => {
|
|
1072
|
+
var y, f;
|
|
1073
|
+
return d(), r(I, {
|
|
1021
1074
|
size: "large",
|
|
1022
|
-
label: s[((
|
|
1023
|
-
key: s[((
|
|
1075
|
+
label: s[((y = l.options) == null ? void 0 : y.valueKey) || "code"],
|
|
1076
|
+
key: s[((f = l.options) == null ? void 0 : f.valueKey) || "code"]
|
|
1024
1077
|
}, {
|
|
1025
|
-
default:
|
|
1026
|
-
var
|
|
1078
|
+
default: a(() => {
|
|
1079
|
+
var V;
|
|
1027
1080
|
return [
|
|
1028
|
-
q(p(s[((
|
|
1081
|
+
q(p(s[((V = l.options) == null ? void 0 : V.labelkey) || "name"]), 1)
|
|
1029
1082
|
];
|
|
1030
1083
|
}),
|
|
1031
1084
|
_: 2
|
|
@@ -1034,41 +1087,44 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
1034
1087
|
];
|
|
1035
1088
|
}),
|
|
1036
1089
|
_: 2
|
|
1037
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
1090
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
1038
1091
|
]),
|
|
1039
1092
|
_: 2
|
|
1040
|
-
}, 1032, ["label", "rules", "prop", "class"]))
|
|
1093
|
+
}, 1032, ["label", "rules", "prop", "class"])), [
|
|
1094
|
+
[h, !l.isShow]
|
|
1095
|
+
]) : l.type === "checkbox" ? t((d(), r(n, {
|
|
1041
1096
|
key: 5,
|
|
1042
|
-
label:
|
|
1043
|
-
rules:
|
|
1044
|
-
prop: [
|
|
1097
|
+
label: l.label,
|
|
1098
|
+
rules: l.rules,
|
|
1099
|
+
prop: [l.field]
|
|
1045
1100
|
}, {
|
|
1046
|
-
label:
|
|
1047
|
-
b("span", null, p(
|
|
1048
|
-
|
|
1049
|
-
]),
|
|
1050
|
-
default:
|
|
1051
|
-
|
|
1052
|
-
modelValue: o.value[
|
|
1053
|
-
"onUpdate:modelValue": (
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1101
|
+
label: a(() => [
|
|
1102
|
+
b("span", null, p(l.label), 1),
|
|
1103
|
+
l.required ? (d(), u("span", Ol, "*")) : _("", !0)
|
|
1104
|
+
]),
|
|
1105
|
+
default: a(() => [
|
|
1106
|
+
c(G, {
|
|
1107
|
+
modelValue: o.value[l.field],
|
|
1108
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
1109
|
+
onChange: (e) => R(e, l.field),
|
|
1110
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1111
|
+
style: j(
|
|
1112
|
+
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
1057
1113
|
)
|
|
1058
1114
|
}, {
|
|
1059
|
-
default:
|
|
1060
|
-
var
|
|
1115
|
+
default: a(() => {
|
|
1116
|
+
var e;
|
|
1061
1117
|
return [
|
|
1062
|
-
(d(!0), u(
|
|
1063
|
-
var
|
|
1064
|
-
return d(), r(
|
|
1065
|
-
key: s[((
|
|
1066
|
-
label: s[((
|
|
1118
|
+
(d(!0), u(k, null, g((e = l.options) == null ? void 0 : e.data, (s) => {
|
|
1119
|
+
var y, f;
|
|
1120
|
+
return d(), r(A, {
|
|
1121
|
+
key: s[((y = l.options) == null ? void 0 : y.valueKey) || "code"],
|
|
1122
|
+
label: s[((f = l.options) == null ? void 0 : f.valueKey) || "code"]
|
|
1067
1123
|
}, {
|
|
1068
|
-
default:
|
|
1069
|
-
var
|
|
1124
|
+
default: a(() => {
|
|
1125
|
+
var V;
|
|
1070
1126
|
return [
|
|
1071
|
-
q(p(s[((
|
|
1127
|
+
q(p(s[((V = l.options) == null ? void 0 : V.labelkey) || "name"]), 1)
|
|
1072
1128
|
];
|
|
1073
1129
|
}),
|
|
1074
1130
|
_: 2
|
|
@@ -1077,38 +1133,40 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
1077
1133
|
];
|
|
1078
1134
|
}),
|
|
1079
1135
|
_: 2
|
|
1080
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "style"])
|
|
1136
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
1081
1137
|
]),
|
|
1082
1138
|
_: 2
|
|
1083
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1139
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1140
|
+
[h, !l.isShow]
|
|
1141
|
+
]) : l.type === "select" ? t((d(), r(n, {
|
|
1084
1142
|
key: 6,
|
|
1085
|
-
label:
|
|
1086
|
-
rules:
|
|
1087
|
-
disabled:
|
|
1088
|
-
prop: [
|
|
1143
|
+
label: l.label,
|
|
1144
|
+
rules: l.rules,
|
|
1145
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1146
|
+
prop: [l.field]
|
|
1089
1147
|
}, {
|
|
1090
|
-
label:
|
|
1091
|
-
b("span", null, p(
|
|
1092
|
-
|
|
1093
|
-
]),
|
|
1094
|
-
default:
|
|
1095
|
-
|
|
1096
|
-
onChange: (
|
|
1097
|
-
modelValue: o.value[
|
|
1098
|
-
"onUpdate:modelValue": (
|
|
1099
|
-
disabled:
|
|
1100
|
-
placeholder:
|
|
1101
|
-
clearable:
|
|
1148
|
+
label: a(() => [
|
|
1149
|
+
b("span", null, p(l.label), 1),
|
|
1150
|
+
l.required ? (d(), u("span", Rl, "*")) : _("", !0)
|
|
1151
|
+
]),
|
|
1152
|
+
default: a(() => [
|
|
1153
|
+
c(z, {
|
|
1154
|
+
onChange: (e) => O(e, l.field),
|
|
1155
|
+
modelValue: o.value[l.field],
|
|
1156
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
1157
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1158
|
+
placeholder: l.placeholder,
|
|
1159
|
+
clearable: l.clearable
|
|
1102
1160
|
}, {
|
|
1103
|
-
default:
|
|
1104
|
-
var
|
|
1161
|
+
default: a(() => {
|
|
1162
|
+
var e;
|
|
1105
1163
|
return [
|
|
1106
|
-
(d(!0), u(
|
|
1107
|
-
var
|
|
1108
|
-
return d(), r(
|
|
1109
|
-
key: s[((
|
|
1110
|
-
label: s[((
|
|
1111
|
-
value: s[((
|
|
1164
|
+
(d(!0), u(k, null, g((e = l.options) == null ? void 0 : e.data, (s) => {
|
|
1165
|
+
var y, f, V;
|
|
1166
|
+
return d(), r(M, {
|
|
1167
|
+
key: s[((y = l.options) == null ? void 0 : y.valueKey) || "code"],
|
|
1168
|
+
label: s[((f = l.options) == null ? void 0 : f.labelkey) || "name"],
|
|
1169
|
+
value: s[((V = l.options) == null ? void 0 : V.valueKey) || "code"]
|
|
1112
1170
|
}, null, 8, ["label", "value"]);
|
|
1113
1171
|
}), 128))
|
|
1114
1172
|
];
|
|
@@ -1117,161 +1175,177 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
1117
1175
|
}, 1032, ["onChange", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "clearable"])
|
|
1118
1176
|
]),
|
|
1119
1177
|
_: 2
|
|
1120
|
-
}, 1032, ["label", "rules", "disabled", "prop"]))
|
|
1178
|
+
}, 1032, ["label", "rules", "disabled", "prop"])), [
|
|
1179
|
+
[h, !l.isShow]
|
|
1180
|
+
]) : l.type === "date" ? t((d(), r(n, {
|
|
1121
1181
|
key: 7,
|
|
1122
|
-
label:
|
|
1123
|
-
rules:
|
|
1124
|
-
prop: [
|
|
1182
|
+
label: l.label,
|
|
1183
|
+
rules: l.rules,
|
|
1184
|
+
prop: [l.field]
|
|
1125
1185
|
}, {
|
|
1126
|
-
label:
|
|
1127
|
-
b("span", null, p(
|
|
1128
|
-
|
|
1129
|
-
]),
|
|
1130
|
-
default:
|
|
1131
|
-
|
|
1132
|
-
modelValue: o.value[
|
|
1133
|
-
"onUpdate:modelValue": (
|
|
1134
|
-
disabled:
|
|
1135
|
-
readonly:
|
|
1136
|
-
type:
|
|
1137
|
-
placeholder:
|
|
1138
|
-
"value-format":
|
|
1186
|
+
label: a(() => [
|
|
1187
|
+
b("span", null, p(l.label), 1),
|
|
1188
|
+
l.required ? (d(), u("span", Al, "*")) : _("", !0)
|
|
1189
|
+
]),
|
|
1190
|
+
default: a(() => [
|
|
1191
|
+
c(P, {
|
|
1192
|
+
modelValue: o.value[l.field],
|
|
1193
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
1194
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1195
|
+
readonly: l.readonly,
|
|
1196
|
+
type: l.type,
|
|
1197
|
+
placeholder: l.placeholder || l.label,
|
|
1198
|
+
"value-format": l.format || "YYYY-MM-DD HH:mm:ss"
|
|
1139
1199
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "readonly", "type", "placeholder", "value-format"])
|
|
1140
1200
|
]),
|
|
1141
1201
|
_: 2
|
|
1142
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1202
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1203
|
+
[h, !l.isShow]
|
|
1204
|
+
]) : l.type === "daterange" ? t((d(), r(n, {
|
|
1143
1205
|
key: 8,
|
|
1144
|
-
label:
|
|
1145
|
-
rules:
|
|
1146
|
-
prop: [
|
|
1206
|
+
label: l.label,
|
|
1207
|
+
rules: l.rules,
|
|
1208
|
+
prop: [l.field]
|
|
1147
1209
|
}, {
|
|
1148
|
-
label:
|
|
1149
|
-
b("span", null, p(
|
|
1150
|
-
|
|
1151
|
-
]),
|
|
1152
|
-
default:
|
|
1153
|
-
|
|
1154
|
-
modelValue: o.value[
|
|
1155
|
-
"onUpdate:modelValue": (
|
|
1210
|
+
label: a(() => [
|
|
1211
|
+
b("span", null, p(l.label), 1),
|
|
1212
|
+
l.required ? (d(), u("span", Gl, "*")) : _("", !0)
|
|
1213
|
+
]),
|
|
1214
|
+
default: a(() => [
|
|
1215
|
+
c(P, {
|
|
1216
|
+
modelValue: o.value[l.field],
|
|
1217
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
1156
1218
|
type: "daterange",
|
|
1157
1219
|
"range-separator": "To",
|
|
1158
|
-
"start-placeholder":
|
|
1159
|
-
"end-placeholder":
|
|
1160
|
-
"value-format":
|
|
1220
|
+
"start-placeholder": l.startPlaceholder,
|
|
1221
|
+
"end-placeholder": l.endPlaceholder,
|
|
1222
|
+
"value-format": l.format || "YYYY-MM-DD HH:mm:ss",
|
|
1161
1223
|
size: "large"
|
|
1162
1224
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "value-format"])
|
|
1163
1225
|
]),
|
|
1164
1226
|
_: 2
|
|
1165
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1227
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1228
|
+
[h, !l.isShow]
|
|
1229
|
+
]) : l.type === "slotItem1" ? t((d(), r(n, {
|
|
1166
1230
|
key: 9,
|
|
1167
|
-
label:
|
|
1168
|
-
rules:
|
|
1169
|
-
prop: [
|
|
1231
|
+
label: l.label,
|
|
1232
|
+
rules: l.rules,
|
|
1233
|
+
prop: [l.field],
|
|
1170
1234
|
class: "rule_err"
|
|
1171
1235
|
}, {
|
|
1172
|
-
label:
|
|
1173
|
-
b("span", null, p(
|
|
1174
|
-
|
|
1236
|
+
label: a(() => [
|
|
1237
|
+
b("span", null, p(l.label), 1),
|
|
1238
|
+
l.required ? (d(), u("span", Jl, "*")) : _("", !0)
|
|
1175
1239
|
]),
|
|
1176
|
-
default:
|
|
1177
|
-
|
|
1240
|
+
default: a(() => [
|
|
1241
|
+
U(i.$slots, "slotItem1", {}, void 0, !0)
|
|
1178
1242
|
]),
|
|
1179
1243
|
_: 2
|
|
1180
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1244
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1245
|
+
[h, !l.isShow]
|
|
1246
|
+
]) : l.type === "slotItem2" ? t((d(), r(n, {
|
|
1181
1247
|
key: 10,
|
|
1182
|
-
label:
|
|
1183
|
-
rules:
|
|
1184
|
-
prop: [
|
|
1248
|
+
label: l.label,
|
|
1249
|
+
rules: l.rules,
|
|
1250
|
+
prop: [l.field],
|
|
1185
1251
|
class: "rule_err"
|
|
1186
1252
|
}, {
|
|
1187
|
-
label:
|
|
1188
|
-
b("span", null, p(
|
|
1189
|
-
|
|
1253
|
+
label: a(() => [
|
|
1254
|
+
b("span", null, p(l.label), 1),
|
|
1255
|
+
l.required ? (d(), u("span", Ql, "*")) : _("", !0)
|
|
1190
1256
|
]),
|
|
1191
|
-
default:
|
|
1192
|
-
|
|
1257
|
+
default: a(() => [
|
|
1258
|
+
U(i.$slots, "slotItem2", {}, void 0, !0)
|
|
1193
1259
|
]),
|
|
1194
1260
|
_: 2
|
|
1195
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1261
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1262
|
+
[h, !l.isShow]
|
|
1263
|
+
]) : l.type === "slotItem3" ? t((d(), r(n, {
|
|
1196
1264
|
key: 11,
|
|
1197
|
-
label:
|
|
1198
|
-
rules:
|
|
1199
|
-
prop: [
|
|
1265
|
+
label: l.label,
|
|
1266
|
+
rules: l.rules,
|
|
1267
|
+
prop: [l.field],
|
|
1200
1268
|
class: "rule_err"
|
|
1201
1269
|
}, {
|
|
1202
|
-
label:
|
|
1203
|
-
b("span", null, p(
|
|
1204
|
-
|
|
1270
|
+
label: a(() => [
|
|
1271
|
+
b("span", null, p(l.label), 1),
|
|
1272
|
+
l.required ? (d(), u("span", Wl, "*")) : _("", !0)
|
|
1205
1273
|
]),
|
|
1206
|
-
default:
|
|
1207
|
-
|
|
1274
|
+
default: a(() => [
|
|
1275
|
+
U(i.$slots, "slotItem3", {}, void 0, !0)
|
|
1208
1276
|
]),
|
|
1209
1277
|
_: 2
|
|
1210
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1278
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1279
|
+
[h, !l.isShow]
|
|
1280
|
+
]) : l.type === "slotItem4" ? t((d(), r(n, {
|
|
1211
1281
|
key: 12,
|
|
1212
|
-
label:
|
|
1213
|
-
rules:
|
|
1214
|
-
prop: [
|
|
1282
|
+
label: l.label,
|
|
1283
|
+
rules: l.rules,
|
|
1284
|
+
prop: [l.field],
|
|
1215
1285
|
class: "rule_err"
|
|
1216
1286
|
}, {
|
|
1217
|
-
label:
|
|
1218
|
-
b("span", null, p(
|
|
1219
|
-
|
|
1287
|
+
label: a(() => [
|
|
1288
|
+
b("span", null, p(l.label), 1),
|
|
1289
|
+
l.required ? (d(), u("span", Xl, "*")) : _("", !0)
|
|
1220
1290
|
]),
|
|
1221
|
-
default:
|
|
1222
|
-
|
|
1291
|
+
default: a(() => [
|
|
1292
|
+
U(i.$slots, "slotItem4", {}, void 0, !0)
|
|
1223
1293
|
]),
|
|
1224
1294
|
_: 2
|
|
1225
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1295
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1296
|
+
[h, !l.isShow]
|
|
1297
|
+
]) : l.type === "slotItem5" ? t((d(), r(n, {
|
|
1226
1298
|
key: 13,
|
|
1227
|
-
label:
|
|
1228
|
-
rules:
|
|
1229
|
-
prop: [
|
|
1299
|
+
label: l.label,
|
|
1300
|
+
rules: l.rules,
|
|
1301
|
+
prop: [l.field],
|
|
1230
1302
|
class: "rule_err"
|
|
1231
1303
|
}, {
|
|
1232
|
-
label:
|
|
1233
|
-
b("span", null, p(
|
|
1234
|
-
|
|
1304
|
+
label: a(() => [
|
|
1305
|
+
b("span", null, p(l.label), 1),
|
|
1306
|
+
l.required ? (d(), u("span", Zl, "*")) : _("", !0)
|
|
1235
1307
|
]),
|
|
1236
|
-
default:
|
|
1237
|
-
|
|
1308
|
+
default: a(() => [
|
|
1309
|
+
U(i.$slots, "slotItem5", {}, void 0, !0)
|
|
1238
1310
|
]),
|
|
1239
1311
|
_: 2
|
|
1240
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1312
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1313
|
+
[h, !l.isShow]
|
|
1314
|
+
]) : l.type === "phone" ? t((d(), r(n, {
|
|
1241
1315
|
key: 14,
|
|
1242
|
-
label:
|
|
1243
|
-
rules:
|
|
1244
|
-
prop: [
|
|
1316
|
+
label: l.label,
|
|
1317
|
+
rules: l.rules.phoneNumber,
|
|
1318
|
+
prop: [l.field.phoneNumber]
|
|
1245
1319
|
}, {
|
|
1246
|
-
label:
|
|
1247
|
-
b("span", null, p(
|
|
1248
|
-
|
|
1249
|
-
]),
|
|
1250
|
-
default:
|
|
1251
|
-
|
|
1252
|
-
modelValue: o.value[
|
|
1253
|
-
"onUpdate:modelValue": (
|
|
1254
|
-
disabled:
|
|
1255
|
-
placeholder:
|
|
1256
|
-
clearable:
|
|
1320
|
+
label: a(() => [
|
|
1321
|
+
b("span", null, p(l.label), 1),
|
|
1322
|
+
l.required ? (d(), u("span", ml, "*")) : _("", !0)
|
|
1323
|
+
]),
|
|
1324
|
+
default: a(() => [
|
|
1325
|
+
c(w, {
|
|
1326
|
+
modelValue: o.value[l.field.phoneNumber],
|
|
1327
|
+
"onUpdate:modelValue": (e) => o.value[l.field.phoneNumber] = e,
|
|
1328
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1329
|
+
placeholder: l.placeholder || "请选择",
|
|
1330
|
+
clearable: l.clearable
|
|
1257
1331
|
}, {
|
|
1258
|
-
prepend:
|
|
1259
|
-
var
|
|
1332
|
+
prepend: a(() => {
|
|
1333
|
+
var e;
|
|
1260
1334
|
return [
|
|
1261
|
-
|
|
1262
|
-
disabled:
|
|
1263
|
-
modelValue: o.value[
|
|
1264
|
-
"onUpdate:modelValue": (s) => o.value[
|
|
1265
|
-
placeholder: ((
|
|
1335
|
+
c(z, {
|
|
1336
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1337
|
+
modelValue: o.value[l.field.areaCode],
|
|
1338
|
+
"onUpdate:modelValue": (s) => o.value[l.field.areaCode] = s,
|
|
1339
|
+
placeholder: ((e = l.options) == null ? void 0 : e.placeholder) || "请选择",
|
|
1266
1340
|
style: { width: "115px" }
|
|
1267
1341
|
}, {
|
|
1268
|
-
default:
|
|
1342
|
+
default: a(() => {
|
|
1269
1343
|
var s;
|
|
1270
1344
|
return [
|
|
1271
|
-
(d(!0), u(
|
|
1272
|
-
label:
|
|
1273
|
-
value:
|
|
1274
|
-
key:
|
|
1345
|
+
(d(!0), u(k, null, g((s = l.options) == null ? void 0 : s.data, (y, f) => (d(), r(M, {
|
|
1346
|
+
label: y.name,
|
|
1347
|
+
value: y.code,
|
|
1348
|
+
key: f
|
|
1275
1349
|
}, null, 8, ["label", "value"]))), 128))
|
|
1276
1350
|
];
|
|
1277
1351
|
}),
|
|
@@ -1283,200 +1357,211 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
1283
1357
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "placeholder", "clearable"])
|
|
1284
1358
|
]),
|
|
1285
1359
|
_: 2
|
|
1286
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1360
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1361
|
+
[h, !l.isShow]
|
|
1362
|
+
]) : l.type === "input" ? t((d(), r(n, {
|
|
1287
1363
|
key: 15,
|
|
1288
|
-
label:
|
|
1289
|
-
rules:
|
|
1290
|
-
prop: [
|
|
1364
|
+
label: l.label,
|
|
1365
|
+
rules: l.rules,
|
|
1366
|
+
prop: [l.field]
|
|
1291
1367
|
}, {
|
|
1292
|
-
label:
|
|
1293
|
-
b("span", null, p(
|
|
1294
|
-
|
|
1295
|
-
]),
|
|
1296
|
-
default:
|
|
1297
|
-
|
|
1298
|
-
modelValue: o.value[
|
|
1299
|
-
"onUpdate:modelValue": (
|
|
1300
|
-
readonly:
|
|
1301
|
-
type:
|
|
1302
|
-
placeholder:
|
|
1303
|
-
disabled:
|
|
1304
|
-
showPassword:
|
|
1305
|
-
clearable:
|
|
1306
|
-
onKeyup: x((
|
|
1307
|
-
},
|
|
1308
|
-
|
|
1368
|
+
label: a(() => [
|
|
1369
|
+
b("span", null, p(l.label), 1),
|
|
1370
|
+
l.required ? (d(), u("span", le, "*")) : _("", !0)
|
|
1371
|
+
]),
|
|
1372
|
+
default: a(() => [
|
|
1373
|
+
c(w, {
|
|
1374
|
+
modelValue: o.value[l.field],
|
|
1375
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
1376
|
+
readonly: l.readonly,
|
|
1377
|
+
type: l.type ? l.type : "text",
|
|
1378
|
+
placeholder: l.placeholder || l.label,
|
|
1379
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1380
|
+
showPassword: l.showPassword,
|
|
1381
|
+
clearable: l.clearable,
|
|
1382
|
+
onKeyup: x((e) => C(l.enterable), ["enter"])
|
|
1383
|
+
}, W({ _: 2 }, [
|
|
1384
|
+
l.prepend ? {
|
|
1309
1385
|
name: "prepend",
|
|
1310
|
-
fn:
|
|
1311
|
-
q(p(
|
|
1386
|
+
fn: a(() => [
|
|
1387
|
+
q(p(l.field), 1)
|
|
1312
1388
|
]),
|
|
1313
1389
|
key: "0"
|
|
1314
1390
|
} : void 0,
|
|
1315
|
-
|
|
1391
|
+
l.append ? {
|
|
1316
1392
|
name: "append",
|
|
1317
|
-
fn:
|
|
1318
|
-
q(p(
|
|
1393
|
+
fn: a(() => [
|
|
1394
|
+
q(p(l.append), 1)
|
|
1319
1395
|
]),
|
|
1320
1396
|
key: "1"
|
|
1321
1397
|
} : void 0
|
|
1322
1398
|
]), 1032, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
1323
1399
|
]),
|
|
1324
1400
|
_: 2
|
|
1325
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1401
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1402
|
+
[h, !l.isShow]
|
|
1403
|
+
]) : l.type === "line" ? t((d(), r(n, {
|
|
1326
1404
|
key: 16,
|
|
1327
|
-
label:
|
|
1405
|
+
label: l.label
|
|
1328
1406
|
}, {
|
|
1329
|
-
default:
|
|
1330
|
-
|
|
1407
|
+
default: a(() => [
|
|
1408
|
+
ee
|
|
1331
1409
|
]),
|
|
1332
1410
|
_: 2
|
|
1333
|
-
}, 1032, ["label"]))
|
|
1411
|
+
}, 1032, ["label"])), [
|
|
1412
|
+
[h, !l.isShow]
|
|
1413
|
+
]) : _("", !0)
|
|
1334
1414
|
]),
|
|
1335
1415
|
_: 2
|
|
1336
1416
|
}, 1024))), 128))
|
|
1337
1417
|
]),
|
|
1338
1418
|
_: 2
|
|
1339
1419
|
}, 1024)
|
|
1340
|
-
])) : K.colNum === 2 ? (d(), u("div",
|
|
1341
|
-
|
|
1342
|
-
default:
|
|
1343
|
-
(d(!0), u(
|
|
1420
|
+
])) : K.colNum === 2 ? (d(), u("div", ae, [
|
|
1421
|
+
c(Q, { gutter: 20 }, {
|
|
1422
|
+
default: a(() => [
|
|
1423
|
+
(d(!0), u(k, null, g(K.formItemList, (l, B) => (d(), r(J, {
|
|
1344
1424
|
xs: 24,
|
|
1345
1425
|
sm: 12,
|
|
1346
1426
|
md: 12,
|
|
1347
1427
|
lg: 12,
|
|
1348
1428
|
xl: 12,
|
|
1349
|
-
key:
|
|
1429
|
+
key: B
|
|
1350
1430
|
}, {
|
|
1351
|
-
default:
|
|
1431
|
+
default: a(() => [
|
|
1352
1432
|
b("div", {
|
|
1353
|
-
style:
|
|
1433
|
+
style: j(l.style)
|
|
1354
1434
|
}, [
|
|
1355
|
-
|
|
1356
|
-
default:
|
|
1357
|
-
b("div",
|
|
1358
|
-
b("span",
|
|
1435
|
+
l.type === "title" ? t((d(), r(n, { key: 0 }, {
|
|
1436
|
+
default: a(() => [
|
|
1437
|
+
b("div", de, [
|
|
1438
|
+
b("span", oe, p(l.title), 1)
|
|
1359
1439
|
])
|
|
1360
1440
|
]),
|
|
1361
1441
|
_: 2
|
|
1362
|
-
},
|
|
1442
|
+
}, 1536)), [
|
|
1443
|
+
[h, !l.isShow]
|
|
1444
|
+
]) : l.type === "name" ? t((d(), r(n, {
|
|
1363
1445
|
key: 1,
|
|
1364
|
-
label:
|
|
1365
|
-
disabled:
|
|
1446
|
+
label: l.label,
|
|
1447
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1366
1448
|
class: "container_name",
|
|
1367
|
-
rules:
|
|
1449
|
+
rules: l.rules.nameEnFamily
|
|
1368
1450
|
}, {
|
|
1369
|
-
label:
|
|
1370
|
-
b("span", null, p(
|
|
1371
|
-
|
|
1451
|
+
label: a(() => [
|
|
1452
|
+
b("span", null, p(l.label), 1),
|
|
1453
|
+
l.required ? (d(), u("span", se, "*")) : _("", !0)
|
|
1372
1454
|
]),
|
|
1373
|
-
default:
|
|
1374
|
-
|
|
1375
|
-
rules:
|
|
1376
|
-
prop: [
|
|
1455
|
+
default: a(() => [
|
|
1456
|
+
c(n, {
|
|
1457
|
+
rules: l.rules.nameEnFamily,
|
|
1458
|
+
prop: [l.field.nameEnFamily],
|
|
1377
1459
|
class: "item-name"
|
|
1378
1460
|
}, {
|
|
1379
|
-
default:
|
|
1380
|
-
|
|
1381
|
-
modelValue: o.value[
|
|
1382
|
-
"onUpdate:modelValue": (
|
|
1383
|
-
readonly:
|
|
1384
|
-
type:
|
|
1385
|
-
placeholder:
|
|
1386
|
-
disabled:
|
|
1387
|
-
onKeyup: x((
|
|
1461
|
+
default: a(() => [
|
|
1462
|
+
c(w, {
|
|
1463
|
+
modelValue: o.value[l.field.nameEnFamily],
|
|
1464
|
+
"onUpdate:modelValue": (e) => o.value[l.field.nameEnFamily] = e,
|
|
1465
|
+
readonly: l.readonly,
|
|
1466
|
+
type: l.type ? l.type : "text",
|
|
1467
|
+
placeholder: l.placeholderNameEnFamily,
|
|
1468
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1469
|
+
onKeyup: x((e) => C(l.enterable), ["enter"])
|
|
1388
1470
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
1389
1471
|
]),
|
|
1390
1472
|
_: 2
|
|
1391
1473
|
}, 1032, ["rules", "prop"]),
|
|
1392
|
-
|
|
1393
|
-
rules:
|
|
1394
|
-
prop: [
|
|
1474
|
+
c(n, {
|
|
1475
|
+
rules: l.rules.nameEn,
|
|
1476
|
+
prop: [l.field.nameEn],
|
|
1395
1477
|
class: "item-name-right"
|
|
1396
1478
|
}, {
|
|
1397
|
-
default:
|
|
1398
|
-
|
|
1399
|
-
modelValue: o.value[
|
|
1400
|
-
"onUpdate:modelValue": (
|
|
1401
|
-
readonly:
|
|
1402
|
-
type:
|
|
1403
|
-
placeholder:
|
|
1404
|
-
disabled:
|
|
1405
|
-
onKeyup: x((
|
|
1479
|
+
default: a(() => [
|
|
1480
|
+
c(w, {
|
|
1481
|
+
modelValue: o.value[l.field.nameEn],
|
|
1482
|
+
"onUpdate:modelValue": (e) => o.value[l.field.nameEn] = e,
|
|
1483
|
+
readonly: l.readonly,
|
|
1484
|
+
type: l.type ? l.type : "text",
|
|
1485
|
+
placeholder: l.placeholderNameEn,
|
|
1486
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1487
|
+
onKeyup: x((e) => C(l.enterable), ["enter"])
|
|
1406
1488
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
1407
1489
|
]),
|
|
1408
1490
|
_: 2
|
|
1409
1491
|
}, 1032, ["rules", "prop"]),
|
|
1410
|
-
|
|
1411
|
-
rules:
|
|
1412
|
-
prop: [
|
|
1492
|
+
c(n, {
|
|
1493
|
+
rules: l.rules.nameChFamily,
|
|
1494
|
+
prop: [l.field.nameChFamily],
|
|
1413
1495
|
class: "item-name"
|
|
1414
1496
|
}, {
|
|
1415
|
-
default:
|
|
1416
|
-
|
|
1417
|
-
modelValue: o.value[
|
|
1418
|
-
"onUpdate:modelValue": (
|
|
1419
|
-
readonly:
|
|
1420
|
-
type:
|
|
1421
|
-
placeholder:
|
|
1422
|
-
disabled:
|
|
1423
|
-
onKeyup: x((
|
|
1497
|
+
default: a(() => [
|
|
1498
|
+
c(w, {
|
|
1499
|
+
modelValue: o.value[l.field.nameChFamily],
|
|
1500
|
+
"onUpdate:modelValue": (e) => o.value[l.field.nameChFamily] = e,
|
|
1501
|
+
readonly: l.readonly,
|
|
1502
|
+
type: l.type ? l.type : "text",
|
|
1503
|
+
placeholder: l.placeholderNameChFamily,
|
|
1504
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1505
|
+
onKeyup: x((e) => C(l.enterable), ["enter"])
|
|
1424
1506
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
1425
1507
|
]),
|
|
1426
1508
|
_: 2
|
|
1427
1509
|
}, 1032, ["rules", "prop"]),
|
|
1428
|
-
|
|
1429
|
-
rules:
|
|
1430
|
-
prop: [
|
|
1510
|
+
c(n, {
|
|
1511
|
+
rules: l.rules.nameCh,
|
|
1512
|
+
prop: [l.field.nameCh],
|
|
1431
1513
|
class: "item-name-right"
|
|
1432
1514
|
}, {
|
|
1433
|
-
default:
|
|
1434
|
-
|
|
1435
|
-
modelValue: o.value[
|
|
1436
|
-
"onUpdate:modelValue": (
|
|
1437
|
-
readonly:
|
|
1438
|
-
type:
|
|
1439
|
-
placeholder:
|
|
1440
|
-
disabled:
|
|
1441
|
-
onKeyup: x((
|
|
1515
|
+
default: a(() => [
|
|
1516
|
+
c(w, {
|
|
1517
|
+
modelValue: o.value[l.field.nameCh],
|
|
1518
|
+
"onUpdate:modelValue": (e) => o.value[l.field.nameCh] = e,
|
|
1519
|
+
readonly: l.readonly,
|
|
1520
|
+
type: l.type ? l.type : "text",
|
|
1521
|
+
placeholder: l.placeholderNameCh,
|
|
1522
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1523
|
+
onKeyup: x((e) => C(l.enterable), ["enter"])
|
|
1442
1524
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
1443
1525
|
]),
|
|
1444
1526
|
_: 2
|
|
1445
1527
|
}, 1032, ["rules", "prop"])
|
|
1446
1528
|
]),
|
|
1447
1529
|
_: 2
|
|
1448
|
-
}, 1032, ["label", "disabled", "rules"]))
|
|
1530
|
+
}, 1032, ["label", "disabled", "rules"])), [
|
|
1531
|
+
[h, !l.isShow]
|
|
1532
|
+
]) : l.type === "gender" ? t((d(), r(n, {
|
|
1449
1533
|
key: 2,
|
|
1450
|
-
label:
|
|
1451
|
-
rules:
|
|
1452
|
-
prop: [
|
|
1534
|
+
label: l.label,
|
|
1535
|
+
rules: l.rules,
|
|
1536
|
+
prop: [l.field]
|
|
1453
1537
|
}, {
|
|
1454
|
-
label:
|
|
1455
|
-
b("span", null, p(
|
|
1456
|
-
|
|
1538
|
+
label: a(() => [
|
|
1539
|
+
b("span", null, p(l.label), 1),
|
|
1540
|
+
l.required ? (d(), u("span", re, "*")) : _("", !0)
|
|
1457
1541
|
]),
|
|
1458
|
-
default:
|
|
1459
|
-
|
|
1460
|
-
modelValue: o.value[
|
|
1461
|
-
"onUpdate:modelValue": (
|
|
1462
|
-
disabled:
|
|
1542
|
+
default: a(() => [
|
|
1543
|
+
c(E, {
|
|
1544
|
+
modelValue: o.value[l.field],
|
|
1545
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
1546
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1547
|
+
onChange: (e) => N(e, l.field)
|
|
1463
1548
|
}, {
|
|
1464
|
-
default:
|
|
1465
|
-
var
|
|
1549
|
+
default: a(() => {
|
|
1550
|
+
var e;
|
|
1466
1551
|
return [
|
|
1467
|
-
(d(!0), u(
|
|
1468
|
-
var
|
|
1469
|
-
return d(), r(
|
|
1470
|
-
label: s[((
|
|
1552
|
+
(d(!0), u(k, null, g((e = l.options) == null ? void 0 : e.data, (s) => {
|
|
1553
|
+
var y, f;
|
|
1554
|
+
return d(), r(I, {
|
|
1555
|
+
label: s[((y = l.options) == null ? void 0 : y.valueKey) || "code"],
|
|
1471
1556
|
size: "large",
|
|
1472
|
-
key: s[((
|
|
1557
|
+
key: s[((f = l.options) == null ? void 0 : f.valueKey) || "code"]
|
|
1473
1558
|
}, {
|
|
1474
|
-
default:
|
|
1559
|
+
default: a(() => [
|
|
1475
1560
|
b("img", {
|
|
1476
1561
|
src: s.code === "M" ? "http://192.168.5.200:9000/test/sex_img_M.png" : "http://192.168.5.200:9000/test/sex_img_F.png",
|
|
1477
1562
|
style: { width: "44px", height: "44px", "margin-bottom": "-15px", "margin-left": "4px" },
|
|
1478
1563
|
alt: ""
|
|
1479
|
-
}, null, 8,
|
|
1564
|
+
}, null, 8, ue)
|
|
1480
1565
|
]),
|
|
1481
1566
|
_: 2
|
|
1482
1567
|
}, 1032, ["label"]);
|
|
@@ -1484,40 +1569,43 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
1484
1569
|
];
|
|
1485
1570
|
}),
|
|
1486
1571
|
_: 2
|
|
1487
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
1572
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
1488
1573
|
]),
|
|
1489
1574
|
_: 2
|
|
1490
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1575
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1576
|
+
[h, !l.isShow]
|
|
1577
|
+
]) : l.type === "radio" ? t((d(), r(n, {
|
|
1491
1578
|
key: 3,
|
|
1492
|
-
label:
|
|
1493
|
-
rules:
|
|
1494
|
-
prop: [
|
|
1495
|
-
class:
|
|
1579
|
+
label: l.label,
|
|
1580
|
+
rules: l.rules,
|
|
1581
|
+
prop: [l.field],
|
|
1582
|
+
class: H([l.labelNode ? "radio_Note" : "rule_err"])
|
|
1496
1583
|
}, {
|
|
1497
|
-
label:
|
|
1498
|
-
b("span", null, p(
|
|
1499
|
-
|
|
1584
|
+
label: a(() => [
|
|
1585
|
+
b("span", null, p(l.label), 1),
|
|
1586
|
+
l.required ? (d(), u("span", ne, "*")) : _("", !0)
|
|
1500
1587
|
]),
|
|
1501
|
-
default:
|
|
1502
|
-
|
|
1503
|
-
modelValue: o.value[
|
|
1504
|
-
"onUpdate:modelValue": (
|
|
1505
|
-
disabled:
|
|
1588
|
+
default: a(() => [
|
|
1589
|
+
c(E, {
|
|
1590
|
+
modelValue: o.value[l.field],
|
|
1591
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
1592
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1593
|
+
onChange: (e) => N(e, l.field)
|
|
1506
1594
|
}, {
|
|
1507
|
-
default:
|
|
1508
|
-
var
|
|
1595
|
+
default: a(() => {
|
|
1596
|
+
var e;
|
|
1509
1597
|
return [
|
|
1510
|
-
(d(!0), u(
|
|
1511
|
-
var
|
|
1512
|
-
return d(), r(
|
|
1598
|
+
(d(!0), u(k, null, g((e = l.options) == null ? void 0 : e.data, (s) => {
|
|
1599
|
+
var y, f;
|
|
1600
|
+
return d(), r(I, {
|
|
1513
1601
|
size: "large",
|
|
1514
|
-
label: s[((
|
|
1515
|
-
key: s[((
|
|
1602
|
+
label: s[((y = l.options) == null ? void 0 : y.valueKey) || "code"],
|
|
1603
|
+
key: s[((f = l.options) == null ? void 0 : f.valueKey) || "code"]
|
|
1516
1604
|
}, {
|
|
1517
|
-
default:
|
|
1518
|
-
var
|
|
1605
|
+
default: a(() => {
|
|
1606
|
+
var V;
|
|
1519
1607
|
return [
|
|
1520
|
-
q(p(s[((
|
|
1608
|
+
q(p(s[((V = l.options) == null ? void 0 : V.labelkey) || "name"]), 1)
|
|
1521
1609
|
];
|
|
1522
1610
|
}),
|
|
1523
1611
|
_: 2
|
|
@@ -1526,41 +1614,44 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
1526
1614
|
];
|
|
1527
1615
|
}),
|
|
1528
1616
|
_: 2
|
|
1529
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
1617
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
1530
1618
|
]),
|
|
1531
1619
|
_: 2
|
|
1532
|
-
}, 1032, ["label", "rules", "prop", "class"]))
|
|
1620
|
+
}, 1032, ["label", "rules", "prop", "class"])), [
|
|
1621
|
+
[h, !l.isShow]
|
|
1622
|
+
]) : l.type === "radioNote" ? t((d(), r(n, {
|
|
1533
1623
|
key: 4,
|
|
1534
|
-
label:
|
|
1535
|
-
rules:
|
|
1536
|
-
prop: [
|
|
1537
|
-
class:
|
|
1624
|
+
label: l.label,
|
|
1625
|
+
rules: l.rules,
|
|
1626
|
+
prop: [l.field],
|
|
1627
|
+
class: H([l.labelNode ? "radio_Note" : "rule_err"])
|
|
1538
1628
|
}, {
|
|
1539
|
-
default:
|
|
1629
|
+
default: a(() => [
|
|
1540
1630
|
b("div", null, [
|
|
1541
|
-
b("span",
|
|
1542
|
-
b("span",
|
|
1543
|
-
|
|
1631
|
+
b("span", pe, p(l.labelBefore), 1),
|
|
1632
|
+
b("span", be, p(l.labelNode), 1),
|
|
1633
|
+
l.required ? (d(), u("span", ce, "*")) : _("", !0)
|
|
1544
1634
|
]),
|
|
1545
|
-
|
|
1546
|
-
modelValue: o.value[
|
|
1547
|
-
"onUpdate:modelValue": (
|
|
1548
|
-
disabled:
|
|
1635
|
+
c(E, {
|
|
1636
|
+
modelValue: o.value[l.field],
|
|
1637
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
1638
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1639
|
+
onChange: (e) => N(e, l.field)
|
|
1549
1640
|
}, {
|
|
1550
|
-
default:
|
|
1551
|
-
var
|
|
1641
|
+
default: a(() => {
|
|
1642
|
+
var e;
|
|
1552
1643
|
return [
|
|
1553
|
-
(d(!0), u(
|
|
1554
|
-
var
|
|
1555
|
-
return d(), r(
|
|
1644
|
+
(d(!0), u(k, null, g((e = l.options) == null ? void 0 : e.data, (s) => {
|
|
1645
|
+
var y, f;
|
|
1646
|
+
return d(), r(I, {
|
|
1556
1647
|
size: "large",
|
|
1557
|
-
label: s[((
|
|
1558
|
-
key: s[((
|
|
1648
|
+
label: s[((y = l.options) == null ? void 0 : y.valueKey) || "code"],
|
|
1649
|
+
key: s[((f = l.options) == null ? void 0 : f.valueKey) || "code"]
|
|
1559
1650
|
}, {
|
|
1560
|
-
default:
|
|
1561
|
-
var
|
|
1651
|
+
default: a(() => {
|
|
1652
|
+
var V;
|
|
1562
1653
|
return [
|
|
1563
|
-
q(p(s[((
|
|
1654
|
+
q(p(s[((V = l.options) == null ? void 0 : V.labelkey) || "name"]), 1)
|
|
1564
1655
|
];
|
|
1565
1656
|
}),
|
|
1566
1657
|
_: 2
|
|
@@ -1569,41 +1660,44 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
1569
1660
|
];
|
|
1570
1661
|
}),
|
|
1571
1662
|
_: 2
|
|
1572
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
1663
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
1573
1664
|
]),
|
|
1574
1665
|
_: 2
|
|
1575
|
-
}, 1032, ["label", "rules", "prop", "class"]))
|
|
1666
|
+
}, 1032, ["label", "rules", "prop", "class"])), [
|
|
1667
|
+
[h, !l.isShow]
|
|
1668
|
+
]) : l.type === "checkbox" ? t((d(), r(n, {
|
|
1576
1669
|
key: 5,
|
|
1577
|
-
label:
|
|
1578
|
-
rules:
|
|
1579
|
-
prop: [
|
|
1670
|
+
label: l.label,
|
|
1671
|
+
rules: l.rules,
|
|
1672
|
+
prop: [l.field]
|
|
1580
1673
|
}, {
|
|
1581
|
-
label:
|
|
1582
|
-
b("span", null, p(
|
|
1583
|
-
|
|
1674
|
+
label: a(() => [
|
|
1675
|
+
b("span", null, p(l.label), 1),
|
|
1676
|
+
l.required ? (d(), u("span", ye, "*")) : _("", !0)
|
|
1584
1677
|
]),
|
|
1585
|
-
default:
|
|
1586
|
-
|
|
1587
|
-
modelValue: o.value[
|
|
1588
|
-
"onUpdate:modelValue": (
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1678
|
+
default: a(() => [
|
|
1679
|
+
c(G, {
|
|
1680
|
+
modelValue: o.value[l.field],
|
|
1681
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
1682
|
+
onChange: (e) => R(e, l.field),
|
|
1683
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1684
|
+
style: j(
|
|
1685
|
+
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
1592
1686
|
)
|
|
1593
1687
|
}, {
|
|
1594
|
-
default:
|
|
1595
|
-
var
|
|
1688
|
+
default: a(() => {
|
|
1689
|
+
var e;
|
|
1596
1690
|
return [
|
|
1597
|
-
(d(!0), u(
|
|
1598
|
-
var
|
|
1599
|
-
return d(), r(
|
|
1600
|
-
key: s[((
|
|
1601
|
-
label: s[((
|
|
1691
|
+
(d(!0), u(k, null, g((e = l.options) == null ? void 0 : e.data, (s) => {
|
|
1692
|
+
var y, f;
|
|
1693
|
+
return d(), r(A, {
|
|
1694
|
+
key: s[((y = l.options) == null ? void 0 : y.valueKey) || "code"],
|
|
1695
|
+
label: s[((f = l.options) == null ? void 0 : f.valueKey) || "code"]
|
|
1602
1696
|
}, {
|
|
1603
|
-
default:
|
|
1604
|
-
var
|
|
1697
|
+
default: a(() => {
|
|
1698
|
+
var V;
|
|
1605
1699
|
return [
|
|
1606
|
-
q(p(s[((
|
|
1700
|
+
q(p(s[((V = l.options) == null ? void 0 : V.labelkey) || "name"]), 1)
|
|
1607
1701
|
];
|
|
1608
1702
|
}),
|
|
1609
1703
|
_: 2
|
|
@@ -1612,38 +1706,40 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
1612
1706
|
];
|
|
1613
1707
|
}),
|
|
1614
1708
|
_: 2
|
|
1615
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "style"])
|
|
1709
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
1616
1710
|
]),
|
|
1617
1711
|
_: 2
|
|
1618
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1712
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1713
|
+
[h, !l.isShow]
|
|
1714
|
+
]) : l.type === "select" ? t((d(), r(n, {
|
|
1619
1715
|
key: 6,
|
|
1620
|
-
label:
|
|
1621
|
-
rules:
|
|
1622
|
-
disabled:
|
|
1623
|
-
prop: [
|
|
1716
|
+
label: l.label,
|
|
1717
|
+
rules: l.rules,
|
|
1718
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1719
|
+
prop: [l.field]
|
|
1624
1720
|
}, {
|
|
1625
|
-
label:
|
|
1626
|
-
b("span", null, p(
|
|
1627
|
-
|
|
1721
|
+
label: a(() => [
|
|
1722
|
+
b("span", null, p(l.label), 1),
|
|
1723
|
+
l.required ? (d(), u("span", te, "*")) : _("", !0)
|
|
1628
1724
|
]),
|
|
1629
|
-
default:
|
|
1630
|
-
|
|
1631
|
-
onChange: (
|
|
1632
|
-
modelValue: o.value[
|
|
1633
|
-
"onUpdate:modelValue": (
|
|
1634
|
-
disabled:
|
|
1635
|
-
placeholder:
|
|
1636
|
-
clearable:
|
|
1725
|
+
default: a(() => [
|
|
1726
|
+
c(z, {
|
|
1727
|
+
onChange: (e) => O(e, l.field),
|
|
1728
|
+
modelValue: o.value[l.field],
|
|
1729
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
1730
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1731
|
+
placeholder: l.placeholder,
|
|
1732
|
+
clearable: l.clearable
|
|
1637
1733
|
}, {
|
|
1638
|
-
default:
|
|
1639
|
-
var
|
|
1734
|
+
default: a(() => {
|
|
1735
|
+
var e;
|
|
1640
1736
|
return [
|
|
1641
|
-
(d(!0), u(
|
|
1642
|
-
var
|
|
1643
|
-
return d(), r(
|
|
1644
|
-
key: s[((
|
|
1645
|
-
label: s[((
|
|
1646
|
-
value: s[((
|
|
1737
|
+
(d(!0), u(k, null, g((e = l.options) == null ? void 0 : e.data, (s) => {
|
|
1738
|
+
var y, f, V;
|
|
1739
|
+
return d(), r(M, {
|
|
1740
|
+
key: s[((y = l.options) == null ? void 0 : y.valueKey) || "code"],
|
|
1741
|
+
label: s[((f = l.options) == null ? void 0 : f.labelkey) || "name"],
|
|
1742
|
+
value: s[((V = l.options) == null ? void 0 : V.valueKey) || "code"]
|
|
1647
1743
|
}, null, 8, ["label", "value"]);
|
|
1648
1744
|
}), 128))
|
|
1649
1745
|
];
|
|
@@ -1652,161 +1748,177 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
1652
1748
|
}, 1032, ["onChange", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "clearable"])
|
|
1653
1749
|
]),
|
|
1654
1750
|
_: 2
|
|
1655
|
-
}, 1032, ["label", "rules", "disabled", "prop"]))
|
|
1751
|
+
}, 1032, ["label", "rules", "disabled", "prop"])), [
|
|
1752
|
+
[h, !l.isShow]
|
|
1753
|
+
]) : l.type === "date" ? t((d(), r(n, {
|
|
1656
1754
|
key: 7,
|
|
1657
|
-
label:
|
|
1658
|
-
rules:
|
|
1659
|
-
prop: [
|
|
1755
|
+
label: l.label,
|
|
1756
|
+
rules: l.rules,
|
|
1757
|
+
prop: [l.field]
|
|
1660
1758
|
}, {
|
|
1661
|
-
label:
|
|
1662
|
-
b("span", null, p(
|
|
1663
|
-
|
|
1759
|
+
label: a(() => [
|
|
1760
|
+
b("span", null, p(l.label), 1),
|
|
1761
|
+
l.required ? (d(), u("span", he, "*")) : _("", !0)
|
|
1664
1762
|
]),
|
|
1665
|
-
default:
|
|
1666
|
-
|
|
1667
|
-
modelValue: o.value[
|
|
1668
|
-
"onUpdate:modelValue": (
|
|
1669
|
-
disabled:
|
|
1670
|
-
readonly:
|
|
1671
|
-
type:
|
|
1672
|
-
placeholder:
|
|
1673
|
-
"value-format":
|
|
1763
|
+
default: a(() => [
|
|
1764
|
+
c(P, {
|
|
1765
|
+
modelValue: o.value[l.field],
|
|
1766
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
1767
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1768
|
+
readonly: l.readonly,
|
|
1769
|
+
type: l.type,
|
|
1770
|
+
placeholder: l.placeholder || l.label,
|
|
1771
|
+
"value-format": l.format || "YYYY-MM-DD HH:mm:ss"
|
|
1674
1772
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "readonly", "type", "placeholder", "value-format"])
|
|
1675
1773
|
]),
|
|
1676
1774
|
_: 2
|
|
1677
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1775
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1776
|
+
[h, !l.isShow]
|
|
1777
|
+
]) : l.type === "daterange" ? t((d(), r(n, {
|
|
1678
1778
|
key: 8,
|
|
1679
|
-
label:
|
|
1680
|
-
rules:
|
|
1681
|
-
prop: [
|
|
1779
|
+
label: l.label,
|
|
1780
|
+
rules: l.rules,
|
|
1781
|
+
prop: [l.field]
|
|
1682
1782
|
}, {
|
|
1683
|
-
label:
|
|
1684
|
-
b("span", null, p(
|
|
1685
|
-
|
|
1783
|
+
label: a(() => [
|
|
1784
|
+
b("span", null, p(l.label), 1),
|
|
1785
|
+
l.required ? (d(), u("span", fe, "*")) : _("", !0)
|
|
1686
1786
|
]),
|
|
1687
|
-
default:
|
|
1688
|
-
|
|
1689
|
-
modelValue: o.value[
|
|
1690
|
-
"onUpdate:modelValue": (
|
|
1787
|
+
default: a(() => [
|
|
1788
|
+
c(P, {
|
|
1789
|
+
modelValue: o.value[l.field],
|
|
1790
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
1691
1791
|
type: "daterange",
|
|
1692
1792
|
"range-separator": "To",
|
|
1693
|
-
"start-placeholder":
|
|
1694
|
-
"end-placeholder":
|
|
1695
|
-
"value-format":
|
|
1793
|
+
"start-placeholder": l.startPlaceholder,
|
|
1794
|
+
"end-placeholder": l.endPlaceholder,
|
|
1795
|
+
"value-format": l.format || "YYYY-MM-DD HH:mm:ss",
|
|
1696
1796
|
size: "large"
|
|
1697
1797
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "value-format"])
|
|
1698
1798
|
]),
|
|
1699
1799
|
_: 2
|
|
1700
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1800
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1801
|
+
[h, !l.isShow]
|
|
1802
|
+
]) : l.type === "slotItem1" ? t((d(), r(n, {
|
|
1701
1803
|
key: 9,
|
|
1702
|
-
label:
|
|
1703
|
-
rules:
|
|
1704
|
-
prop: [
|
|
1804
|
+
label: l.label,
|
|
1805
|
+
rules: l.rules,
|
|
1806
|
+
prop: [l.field],
|
|
1705
1807
|
class: "rule_err"
|
|
1706
1808
|
}, {
|
|
1707
|
-
label:
|
|
1708
|
-
b("span", null, p(
|
|
1709
|
-
|
|
1809
|
+
label: a(() => [
|
|
1810
|
+
b("span", null, p(l.label), 1),
|
|
1811
|
+
l.required ? (d(), u("span", _e, "*")) : _("", !0)
|
|
1710
1812
|
]),
|
|
1711
|
-
default:
|
|
1712
|
-
|
|
1813
|
+
default: a(() => [
|
|
1814
|
+
U(i.$slots, "slotItem1", {}, void 0, !0)
|
|
1713
1815
|
]),
|
|
1714
1816
|
_: 2
|
|
1715
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1817
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1818
|
+
[h, !l.isShow]
|
|
1819
|
+
]) : l.type === "slotItem2" ? t((d(), r(n, {
|
|
1716
1820
|
key: 10,
|
|
1717
|
-
label:
|
|
1718
|
-
rules:
|
|
1719
|
-
prop: [
|
|
1821
|
+
label: l.label,
|
|
1822
|
+
rules: l.rules,
|
|
1823
|
+
prop: [l.field],
|
|
1720
1824
|
class: "rule_err"
|
|
1721
1825
|
}, {
|
|
1722
|
-
label:
|
|
1723
|
-
b("span", null, p(
|
|
1724
|
-
|
|
1826
|
+
label: a(() => [
|
|
1827
|
+
b("span", null, p(l.label), 1),
|
|
1828
|
+
l.required ? (d(), u("span", ve, "*")) : _("", !0)
|
|
1725
1829
|
]),
|
|
1726
|
-
default:
|
|
1727
|
-
|
|
1830
|
+
default: a(() => [
|
|
1831
|
+
U(i.$slots, "slotItem2", {}, void 0, !0)
|
|
1728
1832
|
]),
|
|
1729
1833
|
_: 2
|
|
1730
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1834
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1835
|
+
[h, !l.isShow]
|
|
1836
|
+
]) : l.type === "slotItem3" ? t((d(), r(n, {
|
|
1731
1837
|
key: 11,
|
|
1732
|
-
label:
|
|
1733
|
-
rules:
|
|
1734
|
-
prop: [
|
|
1838
|
+
label: l.label,
|
|
1839
|
+
rules: l.rules,
|
|
1840
|
+
prop: [l.field],
|
|
1735
1841
|
class: "rule_err"
|
|
1736
1842
|
}, {
|
|
1737
|
-
label:
|
|
1738
|
-
b("span", null, p(
|
|
1739
|
-
|
|
1843
|
+
label: a(() => [
|
|
1844
|
+
b("span", null, p(l.label), 1),
|
|
1845
|
+
l.required ? (d(), u("span", ie, "*")) : _("", !0)
|
|
1740
1846
|
]),
|
|
1741
|
-
default:
|
|
1742
|
-
|
|
1847
|
+
default: a(() => [
|
|
1848
|
+
U(i.$slots, "slotItem3", {}, void 0, !0)
|
|
1743
1849
|
]),
|
|
1744
1850
|
_: 2
|
|
1745
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1851
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1852
|
+
[h, !l.isShow]
|
|
1853
|
+
]) : l.type === "slotItem4" ? t((d(), r(n, {
|
|
1746
1854
|
key: 12,
|
|
1747
|
-
label:
|
|
1748
|
-
rules:
|
|
1749
|
-
prop: [
|
|
1855
|
+
label: l.label,
|
|
1856
|
+
rules: l.rules,
|
|
1857
|
+
prop: [l.field],
|
|
1750
1858
|
class: "rule_err"
|
|
1751
1859
|
}, {
|
|
1752
|
-
label:
|
|
1753
|
-
b("span", null, p(
|
|
1754
|
-
|
|
1860
|
+
label: a(() => [
|
|
1861
|
+
b("span", null, p(l.label), 1),
|
|
1862
|
+
l.required ? (d(), u("span", Ve, "*")) : _("", !0)
|
|
1755
1863
|
]),
|
|
1756
|
-
default:
|
|
1757
|
-
|
|
1864
|
+
default: a(() => [
|
|
1865
|
+
U(i.$slots, "slotItem4", {}, void 0, !0)
|
|
1758
1866
|
]),
|
|
1759
1867
|
_: 2
|
|
1760
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1868
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1869
|
+
[h, !l.isShow]
|
|
1870
|
+
]) : l.type === "slotItem5" ? t((d(), r(n, {
|
|
1761
1871
|
key: 13,
|
|
1762
|
-
label:
|
|
1763
|
-
rules:
|
|
1764
|
-
prop: [
|
|
1872
|
+
label: l.label,
|
|
1873
|
+
rules: l.rules,
|
|
1874
|
+
prop: [l.field],
|
|
1765
1875
|
class: "rule_err"
|
|
1766
1876
|
}, {
|
|
1767
|
-
label:
|
|
1768
|
-
b("span", null, p(
|
|
1769
|
-
|
|
1877
|
+
label: a(() => [
|
|
1878
|
+
b("span", null, p(l.label), 1),
|
|
1879
|
+
l.required ? (d(), u("span", ke, "*")) : _("", !0)
|
|
1770
1880
|
]),
|
|
1771
|
-
default:
|
|
1772
|
-
|
|
1881
|
+
default: a(() => [
|
|
1882
|
+
U(i.$slots, "slotItem5", {}, void 0, !0)
|
|
1773
1883
|
]),
|
|
1774
1884
|
_: 2
|
|
1775
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1885
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1886
|
+
[h, !l.isShow]
|
|
1887
|
+
]) : l.type === "phone" ? t((d(), r(n, {
|
|
1776
1888
|
key: 14,
|
|
1777
|
-
label:
|
|
1778
|
-
rules:
|
|
1779
|
-
prop: [
|
|
1889
|
+
label: l.label,
|
|
1890
|
+
rules: l.rules.phoneNumber,
|
|
1891
|
+
prop: [l.field.phoneNumber]
|
|
1780
1892
|
}, {
|
|
1781
|
-
label:
|
|
1782
|
-
b("span", null, p(
|
|
1783
|
-
|
|
1893
|
+
label: a(() => [
|
|
1894
|
+
b("span", null, p(l.label), 1),
|
|
1895
|
+
l.required ? (d(), u("span", ge, "*")) : _("", !0)
|
|
1784
1896
|
]),
|
|
1785
|
-
default:
|
|
1786
|
-
|
|
1787
|
-
modelValue: o.value[
|
|
1788
|
-
"onUpdate:modelValue": (
|
|
1789
|
-
disabled:
|
|
1790
|
-
placeholder:
|
|
1791
|
-
clearable:
|
|
1897
|
+
default: a(() => [
|
|
1898
|
+
c(w, {
|
|
1899
|
+
modelValue: o.value[l.field.phoneNumber],
|
|
1900
|
+
"onUpdate:modelValue": (e) => o.value[l.field.phoneNumber] = e,
|
|
1901
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1902
|
+
placeholder: l.placeholder || "请选择",
|
|
1903
|
+
clearable: l.clearable
|
|
1792
1904
|
}, {
|
|
1793
|
-
prepend:
|
|
1794
|
-
var
|
|
1905
|
+
prepend: a(() => {
|
|
1906
|
+
var e;
|
|
1795
1907
|
return [
|
|
1796
|
-
|
|
1797
|
-
disabled:
|
|
1798
|
-
modelValue: o.value[
|
|
1799
|
-
"onUpdate:modelValue": (s) => o.value[
|
|
1800
|
-
placeholder: ((
|
|
1908
|
+
c(z, {
|
|
1909
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1910
|
+
modelValue: o.value[l.field.areaCode],
|
|
1911
|
+
"onUpdate:modelValue": (s) => o.value[l.field.areaCode] = s,
|
|
1912
|
+
placeholder: ((e = l.options) == null ? void 0 : e.placeholder) || "请选择",
|
|
1801
1913
|
style: { width: "115px" }
|
|
1802
1914
|
}, {
|
|
1803
|
-
default:
|
|
1915
|
+
default: a(() => {
|
|
1804
1916
|
var s;
|
|
1805
1917
|
return [
|
|
1806
|
-
(d(!0), u(
|
|
1807
|
-
label:
|
|
1808
|
-
value:
|
|
1809
|
-
key:
|
|
1918
|
+
(d(!0), u(k, null, g((s = l.options) == null ? void 0 : s.data, (y, f) => (d(), r(M, {
|
|
1919
|
+
label: y.name,
|
|
1920
|
+
value: y.code,
|
|
1921
|
+
key: f
|
|
1810
1922
|
}, null, 8, ["label", "value"]))), 128))
|
|
1811
1923
|
];
|
|
1812
1924
|
}),
|
|
@@ -1818,54 +1930,60 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
1818
1930
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "placeholder", "clearable"])
|
|
1819
1931
|
]),
|
|
1820
1932
|
_: 2
|
|
1821
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1933
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1934
|
+
[h, !l.isShow]
|
|
1935
|
+
]) : l.type === "input" ? t((d(), r(n, {
|
|
1822
1936
|
key: 15,
|
|
1823
|
-
label:
|
|
1824
|
-
rules:
|
|
1825
|
-
prop: [
|
|
1937
|
+
label: l.label,
|
|
1938
|
+
rules: l.rules,
|
|
1939
|
+
prop: [l.field]
|
|
1826
1940
|
}, {
|
|
1827
|
-
label:
|
|
1828
|
-
b("span", null, p(
|
|
1829
|
-
|
|
1941
|
+
label: a(() => [
|
|
1942
|
+
b("span", null, p(l.label), 1),
|
|
1943
|
+
l.required ? (d(), u("span", we, "*")) : _("", !0)
|
|
1830
1944
|
]),
|
|
1831
|
-
default:
|
|
1832
|
-
|
|
1833
|
-
modelValue: o.value[
|
|
1834
|
-
"onUpdate:modelValue": (
|
|
1835
|
-
readonly:
|
|
1836
|
-
type:
|
|
1837
|
-
placeholder:
|
|
1838
|
-
disabled:
|
|
1839
|
-
showPassword:
|
|
1840
|
-
clearable:
|
|
1841
|
-
onKeyup: x((
|
|
1842
|
-
},
|
|
1843
|
-
|
|
1945
|
+
default: a(() => [
|
|
1946
|
+
c(w, {
|
|
1947
|
+
modelValue: o.value[l.field],
|
|
1948
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
1949
|
+
readonly: l.readonly,
|
|
1950
|
+
type: l.type ? l.type : "text",
|
|
1951
|
+
placeholder: l.placeholder || l.label,
|
|
1952
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1953
|
+
showPassword: l.showPassword,
|
|
1954
|
+
clearable: l.clearable,
|
|
1955
|
+
onKeyup: x((e) => C(l.enterable), ["enter"])
|
|
1956
|
+
}, W({ _: 2 }, [
|
|
1957
|
+
l.prepend ? {
|
|
1844
1958
|
name: "prepend",
|
|
1845
|
-
fn:
|
|
1846
|
-
q(p(
|
|
1959
|
+
fn: a(() => [
|
|
1960
|
+
q(p(l.field), 1)
|
|
1847
1961
|
]),
|
|
1848
1962
|
key: "0"
|
|
1849
1963
|
} : void 0,
|
|
1850
|
-
|
|
1964
|
+
l.append ? {
|
|
1851
1965
|
name: "append",
|
|
1852
|
-
fn:
|
|
1853
|
-
q(p(
|
|
1966
|
+
fn: a(() => [
|
|
1967
|
+
q(p(l.append), 1)
|
|
1854
1968
|
]),
|
|
1855
1969
|
key: "1"
|
|
1856
1970
|
} : void 0
|
|
1857
1971
|
]), 1032, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
1858
1972
|
]),
|
|
1859
1973
|
_: 2
|
|
1860
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
1974
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
1975
|
+
[h, !l.isShow]
|
|
1976
|
+
]) : l.type === "line" ? t((d(), r(n, {
|
|
1861
1977
|
key: 16,
|
|
1862
|
-
label:
|
|
1978
|
+
label: l.label
|
|
1863
1979
|
}, {
|
|
1864
|
-
default:
|
|
1865
|
-
|
|
1980
|
+
default: a(() => [
|
|
1981
|
+
qe
|
|
1866
1982
|
]),
|
|
1867
1983
|
_: 2
|
|
1868
|
-
}, 1032, ["label"]))
|
|
1984
|
+
}, 1032, ["label"])), [
|
|
1985
|
+
[h, !l.isShow]
|
|
1986
|
+
]) : _("", !0)
|
|
1869
1987
|
], 4)
|
|
1870
1988
|
]),
|
|
1871
1989
|
_: 2
|
|
@@ -1873,143 +1991,148 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
1873
1991
|
]),
|
|
1874
1992
|
_: 2
|
|
1875
1993
|
}, 1024)
|
|
1876
|
-
])) : K.colNum === 1 ? (d(), u("div",
|
|
1877
|
-
|
|
1878
|
-
default:
|
|
1879
|
-
(d(!0), u(
|
|
1994
|
+
])) : K.colNum === 1 ? (d(), u("div", Ue, [
|
|
1995
|
+
c(Q, { gutter: 20 }, {
|
|
1996
|
+
default: a(() => [
|
|
1997
|
+
(d(!0), u(k, null, g(K.formItemList, (l, B) => (d(), r(J, {
|
|
1880
1998
|
xs: 24,
|
|
1881
1999
|
sm: 24,
|
|
1882
2000
|
md: 24,
|
|
1883
2001
|
lg: 24,
|
|
1884
2002
|
xl: 24,
|
|
1885
|
-
key:
|
|
2003
|
+
key: B
|
|
1886
2004
|
}, {
|
|
1887
|
-
default:
|
|
1888
|
-
|
|
1889
|
-
default:
|
|
1890
|
-
b("div",
|
|
1891
|
-
b("span",
|
|
2005
|
+
default: a(() => [
|
|
2006
|
+
l.type === "title" ? t((d(), r(n, { key: 0 }, {
|
|
2007
|
+
default: a(() => [
|
|
2008
|
+
b("div", Ce, [
|
|
2009
|
+
b("span", xe, p(l.title), 1)
|
|
1892
2010
|
])
|
|
1893
2011
|
]),
|
|
1894
2012
|
_: 2
|
|
1895
|
-
},
|
|
2013
|
+
}, 1536)), [
|
|
2014
|
+
[h, !l.isShow]
|
|
2015
|
+
]) : l.type === "name" ? t((d(), r(n, {
|
|
1896
2016
|
key: 1,
|
|
1897
|
-
label:
|
|
1898
|
-
disabled:
|
|
2017
|
+
label: l.label,
|
|
2018
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
1899
2019
|
class: "container_name",
|
|
1900
|
-
rules:
|
|
2020
|
+
rules: l.rules.nameEnFamily
|
|
1901
2021
|
}, {
|
|
1902
|
-
label:
|
|
1903
|
-
b("span", null, p(
|
|
1904
|
-
|
|
1905
|
-
]),
|
|
1906
|
-
default:
|
|
1907
|
-
|
|
1908
|
-
rules:
|
|
1909
|
-
prop: [
|
|
2022
|
+
label: a(() => [
|
|
2023
|
+
b("span", null, p(l.label), 1),
|
|
2024
|
+
l.required ? (d(), u("span", Ke, "*")) : _("", !0)
|
|
2025
|
+
]),
|
|
2026
|
+
default: a(() => [
|
|
2027
|
+
c(n, {
|
|
2028
|
+
rules: l.rules.nameEnFamily,
|
|
2029
|
+
prop: [l.field.nameEnFamily],
|
|
1910
2030
|
class: "item-name"
|
|
1911
2031
|
}, {
|
|
1912
|
-
default:
|
|
1913
|
-
|
|
1914
|
-
modelValue: o.value[
|
|
1915
|
-
"onUpdate:modelValue": (
|
|
1916
|
-
readonly:
|
|
1917
|
-
type:
|
|
1918
|
-
placeholder:
|
|
1919
|
-
disabled:
|
|
1920
|
-
onKeyup: x((
|
|
2032
|
+
default: a(() => [
|
|
2033
|
+
c(w, {
|
|
2034
|
+
modelValue: o.value[l.field.nameEnFamily],
|
|
2035
|
+
"onUpdate:modelValue": (e) => o.value[l.field.nameEnFamily] = e,
|
|
2036
|
+
readonly: l.readonly,
|
|
2037
|
+
type: l.type ? l.type : "text",
|
|
2038
|
+
placeholder: l.placeholderNameEnFamily,
|
|
2039
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
2040
|
+
onKeyup: x((e) => C(l.enterable), ["enter"])
|
|
1921
2041
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
1922
2042
|
]),
|
|
1923
2043
|
_: 2
|
|
1924
2044
|
}, 1032, ["rules", "prop"]),
|
|
1925
|
-
|
|
1926
|
-
rules:
|
|
1927
|
-
prop: [
|
|
2045
|
+
c(n, {
|
|
2046
|
+
rules: l.rules.nameEn,
|
|
2047
|
+
prop: [l.field.nameEn],
|
|
1928
2048
|
class: "item-name-right"
|
|
1929
2049
|
}, {
|
|
1930
|
-
default:
|
|
1931
|
-
|
|
1932
|
-
modelValue: o.value[
|
|
1933
|
-
"onUpdate:modelValue": (
|
|
1934
|
-
readonly:
|
|
1935
|
-
type:
|
|
1936
|
-
placeholder:
|
|
1937
|
-
disabled:
|
|
1938
|
-
onKeyup: x((
|
|
2050
|
+
default: a(() => [
|
|
2051
|
+
c(w, {
|
|
2052
|
+
modelValue: o.value[l.field.nameEn],
|
|
2053
|
+
"onUpdate:modelValue": (e) => o.value[l.field.nameEn] = e,
|
|
2054
|
+
readonly: l.readonly,
|
|
2055
|
+
type: l.type ? l.type : "text",
|
|
2056
|
+
placeholder: l.placeholderNameEn,
|
|
2057
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
2058
|
+
onKeyup: x((e) => C(l.enterable), ["enter"])
|
|
1939
2059
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
1940
2060
|
]),
|
|
1941
2061
|
_: 2
|
|
1942
2062
|
}, 1032, ["rules", "prop"]),
|
|
1943
|
-
|
|
1944
|
-
rules:
|
|
1945
|
-
prop: [
|
|
2063
|
+
c(n, {
|
|
2064
|
+
rules: l.rules.nameChFamily,
|
|
2065
|
+
prop: [l.field.nameChFamily],
|
|
1946
2066
|
class: "item-name"
|
|
1947
2067
|
}, {
|
|
1948
|
-
default:
|
|
1949
|
-
|
|
1950
|
-
modelValue: o.value[
|
|
1951
|
-
"onUpdate:modelValue": (
|
|
1952
|
-
readonly:
|
|
1953
|
-
type:
|
|
1954
|
-
placeholder:
|
|
1955
|
-
disabled:
|
|
1956
|
-
onKeyup: x((
|
|
2068
|
+
default: a(() => [
|
|
2069
|
+
c(w, {
|
|
2070
|
+
modelValue: o.value[l.field.nameChFamily],
|
|
2071
|
+
"onUpdate:modelValue": (e) => o.value[l.field.nameChFamily] = e,
|
|
2072
|
+
readonly: l.readonly,
|
|
2073
|
+
type: l.type ? l.type : "text",
|
|
2074
|
+
placeholder: l.placeholderNameChFamily,
|
|
2075
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
2076
|
+
onKeyup: x((e) => C(l.enterable), ["enter"])
|
|
1957
2077
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
1958
2078
|
]),
|
|
1959
2079
|
_: 2
|
|
1960
2080
|
}, 1032, ["rules", "prop"]),
|
|
1961
|
-
|
|
1962
|
-
rules:
|
|
1963
|
-
prop: [
|
|
2081
|
+
c(n, {
|
|
2082
|
+
rules: l.rules.nameCh,
|
|
2083
|
+
prop: [l.field.nameCh],
|
|
1964
2084
|
class: "item-name-right"
|
|
1965
2085
|
}, {
|
|
1966
|
-
default:
|
|
1967
|
-
|
|
1968
|
-
modelValue: o.value[
|
|
1969
|
-
"onUpdate:modelValue": (
|
|
1970
|
-
readonly:
|
|
1971
|
-
type:
|
|
1972
|
-
placeholder:
|
|
1973
|
-
disabled:
|
|
1974
|
-
onKeyup: x((
|
|
2086
|
+
default: a(() => [
|
|
2087
|
+
c(w, {
|
|
2088
|
+
modelValue: o.value[l.field.nameCh],
|
|
2089
|
+
"onUpdate:modelValue": (e) => o.value[l.field.nameCh] = e,
|
|
2090
|
+
readonly: l.readonly,
|
|
2091
|
+
type: l.type ? l.type : "text",
|
|
2092
|
+
placeholder: l.placeholderNameCh,
|
|
2093
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
2094
|
+
onKeyup: x((e) => C(l.enterable), ["enter"])
|
|
1975
2095
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
1976
2096
|
]),
|
|
1977
2097
|
_: 2
|
|
1978
2098
|
}, 1032, ["rules", "prop"])
|
|
1979
2099
|
]),
|
|
1980
2100
|
_: 2
|
|
1981
|
-
}, 1032, ["label", "disabled", "rules"]))
|
|
2101
|
+
}, 1032, ["label", "disabled", "rules"])), [
|
|
2102
|
+
[h, !l.isShow]
|
|
2103
|
+
]) : l.type === "gender" ? t((d(), r(n, {
|
|
1982
2104
|
key: 2,
|
|
1983
|
-
label:
|
|
1984
|
-
rules:
|
|
1985
|
-
prop: [
|
|
2105
|
+
label: l.label,
|
|
2106
|
+
rules: l.rules,
|
|
2107
|
+
prop: [l.field]
|
|
1986
2108
|
}, {
|
|
1987
|
-
label:
|
|
1988
|
-
b("span", null, p(
|
|
1989
|
-
|
|
1990
|
-
]),
|
|
1991
|
-
default:
|
|
1992
|
-
|
|
1993
|
-
modelValue: o.value[
|
|
1994
|
-
"onUpdate:modelValue": (
|
|
1995
|
-
disabled:
|
|
2109
|
+
label: a(() => [
|
|
2110
|
+
b("span", null, p(l.label), 1),
|
|
2111
|
+
l.required ? (d(), u("span", Se, "*")) : _("", !0)
|
|
2112
|
+
]),
|
|
2113
|
+
default: a(() => [
|
|
2114
|
+
c(E, {
|
|
2115
|
+
modelValue: o.value[l.field],
|
|
2116
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
2117
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
2118
|
+
onChange: (e) => N(e, l.field)
|
|
1996
2119
|
}, {
|
|
1997
|
-
default:
|
|
1998
|
-
var
|
|
2120
|
+
default: a(() => {
|
|
2121
|
+
var e;
|
|
1999
2122
|
return [
|
|
2000
|
-
(d(!0), u(
|
|
2001
|
-
var
|
|
2002
|
-
return d(), r(
|
|
2003
|
-
label: s[((
|
|
2123
|
+
(d(!0), u(k, null, g((e = l.options) == null ? void 0 : e.data, (s) => {
|
|
2124
|
+
var y, f;
|
|
2125
|
+
return d(), r(I, {
|
|
2126
|
+
label: s[((y = l.options) == null ? void 0 : y.valueKey) || "code"],
|
|
2004
2127
|
size: "large",
|
|
2005
|
-
key: s[((
|
|
2128
|
+
key: s[((f = l.options) == null ? void 0 : f.valueKey) || "code"]
|
|
2006
2129
|
}, {
|
|
2007
|
-
default:
|
|
2130
|
+
default: a(() => [
|
|
2008
2131
|
b("img", {
|
|
2009
2132
|
src: s.code === "M" ? "http://192.168.5.200:9000/test/sex_img_M.png" : "http://192.168.5.200:9000/test/sex_img_F.png",
|
|
2010
2133
|
style: { width: "44px", height: "44px", "margin-bottom": "-15px", "margin-left": "4px" },
|
|
2011
2134
|
alt: ""
|
|
2012
|
-
}, null, 8,
|
|
2135
|
+
}, null, 8, De)
|
|
2013
2136
|
]),
|
|
2014
2137
|
_: 2
|
|
2015
2138
|
}, 1032, ["label"]);
|
|
@@ -2017,40 +2140,43 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
2017
2140
|
];
|
|
2018
2141
|
}),
|
|
2019
2142
|
_: 2
|
|
2020
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
2143
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
2021
2144
|
]),
|
|
2022
2145
|
_: 2
|
|
2023
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
2146
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
2147
|
+
[h, !l.isShow]
|
|
2148
|
+
]) : l.type === "radio" ? t((d(), r(n, {
|
|
2024
2149
|
key: 3,
|
|
2025
|
-
label:
|
|
2026
|
-
rules:
|
|
2027
|
-
prop: [
|
|
2028
|
-
class:
|
|
2150
|
+
label: l.label,
|
|
2151
|
+
rules: l.rules,
|
|
2152
|
+
prop: [l.field],
|
|
2153
|
+
class: H([l.labelNode ? "radio_Note" : "rule_err"])
|
|
2029
2154
|
}, {
|
|
2030
|
-
label:
|
|
2031
|
-
b("span", null, p(
|
|
2032
|
-
|
|
2033
|
-
]),
|
|
2034
|
-
default:
|
|
2035
|
-
|
|
2036
|
-
modelValue: o.value[
|
|
2037
|
-
"onUpdate:modelValue": (
|
|
2038
|
-
disabled:
|
|
2155
|
+
label: a(() => [
|
|
2156
|
+
b("span", null, p(l.label), 1),
|
|
2157
|
+
l.required ? (d(), u("span", Ne, "*")) : _("", !0)
|
|
2158
|
+
]),
|
|
2159
|
+
default: a(() => [
|
|
2160
|
+
c(E, {
|
|
2161
|
+
modelValue: o.value[l.field],
|
|
2162
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
2163
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
2164
|
+
onChange: (e) => N(e, l.field)
|
|
2039
2165
|
}, {
|
|
2040
|
-
default:
|
|
2041
|
-
var
|
|
2166
|
+
default: a(() => {
|
|
2167
|
+
var e;
|
|
2042
2168
|
return [
|
|
2043
|
-
(d(!0), u(
|
|
2044
|
-
var
|
|
2045
|
-
return d(), r(
|
|
2169
|
+
(d(!0), u(k, null, g((e = l.options) == null ? void 0 : e.data, (s) => {
|
|
2170
|
+
var y, f;
|
|
2171
|
+
return d(), r(I, {
|
|
2046
2172
|
size: "large",
|
|
2047
|
-
label: s[((
|
|
2048
|
-
key: s[((
|
|
2173
|
+
label: s[((y = l.options) == null ? void 0 : y.valueKey) || "code"],
|
|
2174
|
+
key: s[((f = l.options) == null ? void 0 : f.valueKey) || "code"]
|
|
2049
2175
|
}, {
|
|
2050
|
-
default:
|
|
2051
|
-
var
|
|
2176
|
+
default: a(() => {
|
|
2177
|
+
var V;
|
|
2052
2178
|
return [
|
|
2053
|
-
q(p(s[((
|
|
2179
|
+
q(p(s[((V = l.options) == null ? void 0 : V.labelkey) || "name"]), 1)
|
|
2054
2180
|
];
|
|
2055
2181
|
}),
|
|
2056
2182
|
_: 2
|
|
@@ -2059,41 +2185,44 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
2059
2185
|
];
|
|
2060
2186
|
}),
|
|
2061
2187
|
_: 2
|
|
2062
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
2188
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
2063
2189
|
]),
|
|
2064
2190
|
_: 2
|
|
2065
|
-
}, 1032, ["label", "rules", "prop", "class"]))
|
|
2191
|
+
}, 1032, ["label", "rules", "prop", "class"])), [
|
|
2192
|
+
[h, !l.isShow]
|
|
2193
|
+
]) : l.type === "radioNote" ? t((d(), r(n, {
|
|
2066
2194
|
key: 4,
|
|
2067
|
-
label:
|
|
2068
|
-
rules:
|
|
2069
|
-
prop: [
|
|
2070
|
-
class:
|
|
2195
|
+
label: l.label,
|
|
2196
|
+
rules: l.rules,
|
|
2197
|
+
prop: [l.field],
|
|
2198
|
+
class: H([l.labelNode ? "radio_Note" : "rule_err"])
|
|
2071
2199
|
}, {
|
|
2072
|
-
default:
|
|
2200
|
+
default: a(() => [
|
|
2073
2201
|
b("div", null, [
|
|
2074
|
-
b("span",
|
|
2075
|
-
b("span",
|
|
2076
|
-
|
|
2202
|
+
b("span", Ie, p(l.labelBefore), 1),
|
|
2203
|
+
b("span", Ee, p(l.labelNode), 1),
|
|
2204
|
+
l.required ? (d(), u("span", Fe, "*")) : _("", !0)
|
|
2077
2205
|
]),
|
|
2078
|
-
|
|
2079
|
-
modelValue: o.value[
|
|
2080
|
-
"onUpdate:modelValue": (
|
|
2081
|
-
disabled:
|
|
2206
|
+
c(E, {
|
|
2207
|
+
modelValue: o.value[l.field],
|
|
2208
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
2209
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
2210
|
+
onChange: (e) => N(e, l.field)
|
|
2082
2211
|
}, {
|
|
2083
|
-
default:
|
|
2084
|
-
var
|
|
2212
|
+
default: a(() => {
|
|
2213
|
+
var e;
|
|
2085
2214
|
return [
|
|
2086
|
-
(d(!0), u(
|
|
2087
|
-
var
|
|
2088
|
-
return d(), r(
|
|
2215
|
+
(d(!0), u(k, null, g((e = l.options) == null ? void 0 : e.data, (s) => {
|
|
2216
|
+
var y, f;
|
|
2217
|
+
return d(), r(I, {
|
|
2089
2218
|
size: "large",
|
|
2090
|
-
label: s[((
|
|
2091
|
-
key: s[((
|
|
2219
|
+
label: s[((y = l.options) == null ? void 0 : y.valueKey) || "code"],
|
|
2220
|
+
key: s[((f = l.options) == null ? void 0 : f.valueKey) || "code"]
|
|
2092
2221
|
}, {
|
|
2093
|
-
default:
|
|
2094
|
-
var
|
|
2222
|
+
default: a(() => {
|
|
2223
|
+
var V;
|
|
2095
2224
|
return [
|
|
2096
|
-
q(p(s[((
|
|
2225
|
+
q(p(s[((V = l.options) == null ? void 0 : V.labelkey) || "name"]), 1)
|
|
2097
2226
|
];
|
|
2098
2227
|
}),
|
|
2099
2228
|
_: 2
|
|
@@ -2102,41 +2231,44 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
2102
2231
|
];
|
|
2103
2232
|
}),
|
|
2104
2233
|
_: 2
|
|
2105
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
2234
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
2106
2235
|
]),
|
|
2107
2236
|
_: 2
|
|
2108
|
-
}, 1032, ["label", "rules", "prop", "class"]))
|
|
2237
|
+
}, 1032, ["label", "rules", "prop", "class"])), [
|
|
2238
|
+
[h, !l.isShow]
|
|
2239
|
+
]) : l.type === "checkbox" ? t((d(), r(n, {
|
|
2109
2240
|
key: 5,
|
|
2110
|
-
label:
|
|
2111
|
-
rules:
|
|
2112
|
-
prop: [
|
|
2241
|
+
label: l.label,
|
|
2242
|
+
rules: l.rules,
|
|
2243
|
+
prop: [l.field]
|
|
2113
2244
|
}, {
|
|
2114
|
-
label:
|
|
2115
|
-
b("span", null, p(
|
|
2116
|
-
|
|
2117
|
-
]),
|
|
2118
|
-
default:
|
|
2119
|
-
|
|
2120
|
-
modelValue: o.value[
|
|
2121
|
-
"onUpdate:modelValue": (
|
|
2122
|
-
disabled:
|
|
2123
|
-
|
|
2124
|
-
|
|
2245
|
+
label: a(() => [
|
|
2246
|
+
b("span", null, p(l.label), 1),
|
|
2247
|
+
l.required ? (d(), u("span", $e, "*")) : _("", !0)
|
|
2248
|
+
]),
|
|
2249
|
+
default: a(() => [
|
|
2250
|
+
c(G, {
|
|
2251
|
+
modelValue: o.value[l.field],
|
|
2252
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
2253
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
2254
|
+
onChange: (e) => R(e, l.field),
|
|
2255
|
+
style: j(
|
|
2256
|
+
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
2125
2257
|
)
|
|
2126
2258
|
}, {
|
|
2127
|
-
default:
|
|
2128
|
-
var
|
|
2259
|
+
default: a(() => {
|
|
2260
|
+
var e;
|
|
2129
2261
|
return [
|
|
2130
|
-
(d(!0), u(
|
|
2131
|
-
var
|
|
2132
|
-
return d(), r(
|
|
2133
|
-
key: s[((
|
|
2134
|
-
label: s[((
|
|
2262
|
+
(d(!0), u(k, null, g((e = l.options) == null ? void 0 : e.data, (s) => {
|
|
2263
|
+
var y, f;
|
|
2264
|
+
return d(), r(A, {
|
|
2265
|
+
key: s[((y = l.options) == null ? void 0 : y.valueKey) || "code"],
|
|
2266
|
+
label: s[((f = l.options) == null ? void 0 : f.valueKey) || "code"]
|
|
2135
2267
|
}, {
|
|
2136
|
-
default:
|
|
2137
|
-
var
|
|
2268
|
+
default: a(() => {
|
|
2269
|
+
var V;
|
|
2138
2270
|
return [
|
|
2139
|
-
q(p(s[((
|
|
2271
|
+
q(p(s[((V = l.options) == null ? void 0 : V.labelkey) || "name"]), 1)
|
|
2140
2272
|
];
|
|
2141
2273
|
}),
|
|
2142
2274
|
_: 2
|
|
@@ -2145,38 +2277,40 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
2145
2277
|
];
|
|
2146
2278
|
}),
|
|
2147
2279
|
_: 2
|
|
2148
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "style"])
|
|
2280
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style"])
|
|
2149
2281
|
]),
|
|
2150
2282
|
_: 2
|
|
2151
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
2283
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
2284
|
+
[h, !l.isShow]
|
|
2285
|
+
]) : l.type === "select" ? t((d(), r(n, {
|
|
2152
2286
|
key: 6,
|
|
2153
|
-
label:
|
|
2154
|
-
rules:
|
|
2155
|
-
disabled:
|
|
2156
|
-
prop: [
|
|
2287
|
+
label: l.label,
|
|
2288
|
+
rules: l.rules,
|
|
2289
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
2290
|
+
prop: [l.field]
|
|
2157
2291
|
}, {
|
|
2158
|
-
label:
|
|
2159
|
-
b("span", null, p(
|
|
2160
|
-
|
|
2161
|
-
]),
|
|
2162
|
-
default:
|
|
2163
|
-
|
|
2164
|
-
onChange: (
|
|
2165
|
-
modelValue: o.value[
|
|
2166
|
-
"onUpdate:modelValue": (
|
|
2167
|
-
disabled:
|
|
2168
|
-
placeholder:
|
|
2169
|
-
clearable:
|
|
2292
|
+
label: a(() => [
|
|
2293
|
+
b("span", null, p(l.label), 1),
|
|
2294
|
+
l.required ? (d(), u("span", Ye, "*")) : _("", !0)
|
|
2295
|
+
]),
|
|
2296
|
+
default: a(() => [
|
|
2297
|
+
c(z, {
|
|
2298
|
+
onChange: (e) => O(e, l.field),
|
|
2299
|
+
modelValue: o.value[l.field],
|
|
2300
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
2301
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
2302
|
+
placeholder: l.placeholder,
|
|
2303
|
+
clearable: l.clearable
|
|
2170
2304
|
}, {
|
|
2171
|
-
default:
|
|
2172
|
-
var
|
|
2305
|
+
default: a(() => {
|
|
2306
|
+
var e;
|
|
2173
2307
|
return [
|
|
2174
|
-
(d(!0), u(
|
|
2175
|
-
var
|
|
2176
|
-
return d(), r(
|
|
2177
|
-
key: s[((
|
|
2178
|
-
label: s[((
|
|
2179
|
-
value: s[((
|
|
2308
|
+
(d(!0), u(k, null, g((e = l.options) == null ? void 0 : e.data, (s) => {
|
|
2309
|
+
var y, f, V;
|
|
2310
|
+
return d(), r(M, {
|
|
2311
|
+
key: s[((y = l.options) == null ? void 0 : y.valueKey) || "code"],
|
|
2312
|
+
label: s[((f = l.options) == null ? void 0 : f.labelkey) || "name"],
|
|
2313
|
+
value: s[((V = l.options) == null ? void 0 : V.valueKey) || "code"]
|
|
2180
2314
|
}, null, 8, ["label", "value"]);
|
|
2181
2315
|
}), 128))
|
|
2182
2316
|
];
|
|
@@ -2185,161 +2319,177 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
2185
2319
|
}, 1032, ["onChange", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "clearable"])
|
|
2186
2320
|
]),
|
|
2187
2321
|
_: 2
|
|
2188
|
-
}, 1032, ["label", "rules", "disabled", "prop"]))
|
|
2322
|
+
}, 1032, ["label", "rules", "disabled", "prop"])), [
|
|
2323
|
+
[h, !l.isShow]
|
|
2324
|
+
]) : l.type === "date" ? t((d(), r(n, {
|
|
2189
2325
|
key: 7,
|
|
2190
|
-
label:
|
|
2191
|
-
rules:
|
|
2192
|
-
prop: [
|
|
2326
|
+
label: l.label,
|
|
2327
|
+
rules: l.rules,
|
|
2328
|
+
prop: [l.field]
|
|
2193
2329
|
}, {
|
|
2194
|
-
label:
|
|
2195
|
-
b("span", null, p(
|
|
2196
|
-
|
|
2197
|
-
]),
|
|
2198
|
-
default:
|
|
2199
|
-
|
|
2200
|
-
modelValue: o.value[
|
|
2201
|
-
"onUpdate:modelValue": (
|
|
2202
|
-
disabled:
|
|
2203
|
-
readonly:
|
|
2204
|
-
type:
|
|
2205
|
-
placeholder:
|
|
2206
|
-
"value-format":
|
|
2330
|
+
label: a(() => [
|
|
2331
|
+
b("span", null, p(l.label), 1),
|
|
2332
|
+
l.required ? (d(), u("span", Me, "*")) : _("", !0)
|
|
2333
|
+
]),
|
|
2334
|
+
default: a(() => [
|
|
2335
|
+
c(P, {
|
|
2336
|
+
modelValue: o.value[l.field],
|
|
2337
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
2338
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
2339
|
+
readonly: l.readonly,
|
|
2340
|
+
type: l.type,
|
|
2341
|
+
placeholder: l.placeholder || l.label,
|
|
2342
|
+
"value-format": l.format || "YYYY-MM-DD HH:mm:ss"
|
|
2207
2343
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "readonly", "type", "placeholder", "value-format"])
|
|
2208
2344
|
]),
|
|
2209
2345
|
_: 2
|
|
2210
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
2346
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
2347
|
+
[h, !l.isShow]
|
|
2348
|
+
]) : l.type === "daterange" ? t((d(), r(n, {
|
|
2211
2349
|
key: 8,
|
|
2212
|
-
label:
|
|
2213
|
-
rules:
|
|
2214
|
-
prop: [
|
|
2350
|
+
label: l.label,
|
|
2351
|
+
rules: l.rules,
|
|
2352
|
+
prop: [l.field]
|
|
2215
2353
|
}, {
|
|
2216
|
-
label:
|
|
2217
|
-
b("span", null, p(
|
|
2218
|
-
|
|
2219
|
-
]),
|
|
2220
|
-
default:
|
|
2221
|
-
|
|
2222
|
-
modelValue: o.value[
|
|
2223
|
-
"onUpdate:modelValue": (
|
|
2354
|
+
label: a(() => [
|
|
2355
|
+
b("span", null, p(l.label), 1),
|
|
2356
|
+
l.required ? (d(), u("span", ze, "*")) : _("", !0)
|
|
2357
|
+
]),
|
|
2358
|
+
default: a(() => [
|
|
2359
|
+
c(P, {
|
|
2360
|
+
modelValue: o.value[l.field],
|
|
2361
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
2224
2362
|
type: "daterange",
|
|
2225
2363
|
"range-separator": "To",
|
|
2226
|
-
"start-placeholder":
|
|
2227
|
-
"end-placeholder":
|
|
2228
|
-
"value-format":
|
|
2364
|
+
"start-placeholder": l.startPlaceholder,
|
|
2365
|
+
"end-placeholder": l.endPlaceholder,
|
|
2366
|
+
"value-format": l.format || "YYYY-MM-DD HH:mm:ss",
|
|
2229
2367
|
size: "large"
|
|
2230
2368
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "value-format"])
|
|
2231
2369
|
]),
|
|
2232
2370
|
_: 2
|
|
2233
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
2371
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
2372
|
+
[h, !l.isShow]
|
|
2373
|
+
]) : l.type === "slotItem1" ? t((d(), r(n, {
|
|
2234
2374
|
key: 9,
|
|
2235
|
-
label:
|
|
2236
|
-
rules:
|
|
2237
|
-
prop: [
|
|
2375
|
+
label: l.label,
|
|
2376
|
+
rules: l.rules,
|
|
2377
|
+
prop: [l.field],
|
|
2238
2378
|
class: "rule_err"
|
|
2239
2379
|
}, {
|
|
2240
|
-
label:
|
|
2241
|
-
b("span", null, p(
|
|
2242
|
-
|
|
2380
|
+
label: a(() => [
|
|
2381
|
+
b("span", null, p(l.label), 1),
|
|
2382
|
+
l.required ? (d(), u("span", Pe, "*")) : _("", !0)
|
|
2243
2383
|
]),
|
|
2244
|
-
default:
|
|
2245
|
-
|
|
2384
|
+
default: a(() => [
|
|
2385
|
+
U(i.$slots, "slotItem1", {}, void 0, !0)
|
|
2246
2386
|
]),
|
|
2247
2387
|
_: 2
|
|
2248
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
2388
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
2389
|
+
[h, !l.isShow]
|
|
2390
|
+
]) : l.type === "slotItem2" ? t((d(), r(n, {
|
|
2249
2391
|
key: 10,
|
|
2250
|
-
label:
|
|
2251
|
-
rules:
|
|
2252
|
-
prop: [
|
|
2392
|
+
label: l.label,
|
|
2393
|
+
rules: l.rules,
|
|
2394
|
+
prop: [l.field],
|
|
2253
2395
|
class: "rule_err"
|
|
2254
2396
|
}, {
|
|
2255
|
-
label:
|
|
2256
|
-
b("span", null, p(
|
|
2257
|
-
|
|
2397
|
+
label: a(() => [
|
|
2398
|
+
b("span", null, p(l.label), 1),
|
|
2399
|
+
l.required ? (d(), u("span", He, "*")) : _("", !0)
|
|
2258
2400
|
]),
|
|
2259
|
-
default:
|
|
2260
|
-
|
|
2401
|
+
default: a(() => [
|
|
2402
|
+
U(i.$slots, "slotItem2", {}, void 0, !0)
|
|
2261
2403
|
]),
|
|
2262
2404
|
_: 2
|
|
2263
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
2405
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
2406
|
+
[h, !l.isShow]
|
|
2407
|
+
]) : l.type === "slotItem3" ? t((d(), r(n, {
|
|
2264
2408
|
key: 11,
|
|
2265
|
-
label:
|
|
2266
|
-
rules:
|
|
2267
|
-
prop: [
|
|
2409
|
+
label: l.label,
|
|
2410
|
+
rules: l.rules,
|
|
2411
|
+
prop: [l.field],
|
|
2268
2412
|
class: "rule_err"
|
|
2269
2413
|
}, {
|
|
2270
|
-
label:
|
|
2271
|
-
b("span", null, p(
|
|
2272
|
-
|
|
2414
|
+
label: a(() => [
|
|
2415
|
+
b("span", null, p(l.label), 1),
|
|
2416
|
+
l.required ? (d(), u("span", Be, "*")) : _("", !0)
|
|
2273
2417
|
]),
|
|
2274
|
-
default:
|
|
2275
|
-
|
|
2418
|
+
default: a(() => [
|
|
2419
|
+
U(i.$slots, "slotItem3", {}, void 0, !0)
|
|
2276
2420
|
]),
|
|
2277
2421
|
_: 2
|
|
2278
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
2422
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
2423
|
+
[h, !l.isShow]
|
|
2424
|
+
]) : l.type === "slotItem4" ? t((d(), r(n, {
|
|
2279
2425
|
key: 12,
|
|
2280
|
-
label:
|
|
2281
|
-
rules:
|
|
2282
|
-
prop: [
|
|
2426
|
+
label: l.label,
|
|
2427
|
+
rules: l.rules,
|
|
2428
|
+
prop: [l.field],
|
|
2283
2429
|
class: "rule_err"
|
|
2284
2430
|
}, {
|
|
2285
|
-
label:
|
|
2286
|
-
b("span", null, p(
|
|
2287
|
-
|
|
2431
|
+
label: a(() => [
|
|
2432
|
+
b("span", null, p(l.label), 1),
|
|
2433
|
+
l.required ? (d(), u("span", Le, "*")) : _("", !0)
|
|
2288
2434
|
]),
|
|
2289
|
-
default:
|
|
2290
|
-
|
|
2435
|
+
default: a(() => [
|
|
2436
|
+
U(i.$slots, "slotItem4", {}, void 0, !0)
|
|
2291
2437
|
]),
|
|
2292
2438
|
_: 2
|
|
2293
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
2439
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
2440
|
+
[h, !l.isShow]
|
|
2441
|
+
]) : l.type === "slotItem5" ? t((d(), r(n, {
|
|
2294
2442
|
key: 13,
|
|
2295
|
-
label:
|
|
2296
|
-
rules:
|
|
2297
|
-
prop: [
|
|
2443
|
+
label: l.label,
|
|
2444
|
+
rules: l.rules,
|
|
2445
|
+
prop: [l.field],
|
|
2298
2446
|
class: "rule_err"
|
|
2299
2447
|
}, {
|
|
2300
|
-
label:
|
|
2301
|
-
b("span", null, p(
|
|
2302
|
-
|
|
2448
|
+
label: a(() => [
|
|
2449
|
+
b("span", null, p(l.label), 1),
|
|
2450
|
+
l.required ? (d(), u("span", je, "*")) : _("", !0)
|
|
2303
2451
|
]),
|
|
2304
|
-
default:
|
|
2305
|
-
|
|
2452
|
+
default: a(() => [
|
|
2453
|
+
U(i.$slots, "slotItem5", {}, void 0, !0)
|
|
2306
2454
|
]),
|
|
2307
2455
|
_: 2
|
|
2308
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
2456
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
2457
|
+
[h, !l.isShow]
|
|
2458
|
+
]) : l.type === "phone" ? t((d(), r(n, {
|
|
2309
2459
|
key: 14,
|
|
2310
|
-
label:
|
|
2311
|
-
rules:
|
|
2312
|
-
prop: [
|
|
2460
|
+
label: l.label,
|
|
2461
|
+
rules: l.rules.phoneNumber,
|
|
2462
|
+
prop: [l.field.phoneNumber]
|
|
2313
2463
|
}, {
|
|
2314
|
-
label:
|
|
2315
|
-
b("span", null, p(
|
|
2316
|
-
|
|
2317
|
-
]),
|
|
2318
|
-
default:
|
|
2319
|
-
|
|
2320
|
-
modelValue: o.value[
|
|
2321
|
-
"onUpdate:modelValue": (
|
|
2322
|
-
disabled:
|
|
2323
|
-
placeholder:
|
|
2324
|
-
clearable:
|
|
2464
|
+
label: a(() => [
|
|
2465
|
+
b("span", null, p(l.label), 1),
|
|
2466
|
+
l.required ? (d(), u("span", Te, "*")) : _("", !0)
|
|
2467
|
+
]),
|
|
2468
|
+
default: a(() => [
|
|
2469
|
+
c(w, {
|
|
2470
|
+
modelValue: o.value[l.field.phoneNumber],
|
|
2471
|
+
"onUpdate:modelValue": (e) => o.value[l.field.phoneNumber] = e,
|
|
2472
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
2473
|
+
placeholder: l.placeholder || "请选择",
|
|
2474
|
+
clearable: l.clearable
|
|
2325
2475
|
}, {
|
|
2326
|
-
prepend:
|
|
2327
|
-
var
|
|
2476
|
+
prepend: a(() => {
|
|
2477
|
+
var e;
|
|
2328
2478
|
return [
|
|
2329
|
-
|
|
2330
|
-
disabled:
|
|
2331
|
-
modelValue: o.value[
|
|
2332
|
-
"onUpdate:modelValue": (s) => o.value[
|
|
2333
|
-
placeholder: ((
|
|
2479
|
+
c(z, {
|
|
2480
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
2481
|
+
modelValue: o.value[l.field.areaCode],
|
|
2482
|
+
"onUpdate:modelValue": (s) => o.value[l.field.areaCode] = s,
|
|
2483
|
+
placeholder: ((e = l.options) == null ? void 0 : e.placeholder) || "请选择",
|
|
2334
2484
|
style: { width: "115px" }
|
|
2335
2485
|
}, {
|
|
2336
|
-
default:
|
|
2486
|
+
default: a(() => {
|
|
2337
2487
|
var s;
|
|
2338
2488
|
return [
|
|
2339
|
-
(d(!0), u(
|
|
2340
|
-
label:
|
|
2341
|
-
value:
|
|
2342
|
-
key:
|
|
2489
|
+
(d(!0), u(k, null, g((s = l.options) == null ? void 0 : s.data, (y, f) => (d(), r(M, {
|
|
2490
|
+
label: y.name,
|
|
2491
|
+
value: y.code,
|
|
2492
|
+
key: f
|
|
2343
2493
|
}, null, 8, ["label", "value"]))), 128))
|
|
2344
2494
|
];
|
|
2345
2495
|
}),
|
|
@@ -2351,84 +2501,90 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
2351
2501
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "placeholder", "clearable"])
|
|
2352
2502
|
]),
|
|
2353
2503
|
_: 2
|
|
2354
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
2504
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
2505
|
+
[h, !l.isShow]
|
|
2506
|
+
]) : l.type === "input" ? t((d(), r(n, {
|
|
2355
2507
|
key: 15,
|
|
2356
|
-
label:
|
|
2357
|
-
rules:
|
|
2358
|
-
prop: [
|
|
2508
|
+
label: l.label,
|
|
2509
|
+
rules: l.rules,
|
|
2510
|
+
prop: [l.field]
|
|
2359
2511
|
}, {
|
|
2360
|
-
label:
|
|
2361
|
-
b("span", null, p(
|
|
2362
|
-
|
|
2363
|
-
]),
|
|
2364
|
-
default:
|
|
2365
|
-
|
|
2366
|
-
modelValue: o.value[
|
|
2367
|
-
"onUpdate:modelValue": (
|
|
2368
|
-
readonly:
|
|
2369
|
-
type:
|
|
2370
|
-
placeholder:
|
|
2371
|
-
disabled:
|
|
2372
|
-
showPassword:
|
|
2373
|
-
clearable:
|
|
2374
|
-
onKeyup: x((
|
|
2375
|
-
},
|
|
2376
|
-
|
|
2512
|
+
label: a(() => [
|
|
2513
|
+
b("span", null, p(l.label), 1),
|
|
2514
|
+
l.required ? (d(), u("span", Oe, "*")) : _("", !0)
|
|
2515
|
+
]),
|
|
2516
|
+
default: a(() => [
|
|
2517
|
+
c(w, {
|
|
2518
|
+
modelValue: o.value[l.field],
|
|
2519
|
+
"onUpdate:modelValue": (e) => o.value[l.field] = e,
|
|
2520
|
+
readonly: l.readonly,
|
|
2521
|
+
type: l.type ? l.type : "text",
|
|
2522
|
+
placeholder: l.placeholder || l.label,
|
|
2523
|
+
disabled: l.disabled || v.value.isDisabled,
|
|
2524
|
+
showPassword: l.showPassword,
|
|
2525
|
+
clearable: l.clearable,
|
|
2526
|
+
onKeyup: x((e) => C(l.enterable), ["enter"])
|
|
2527
|
+
}, W({ _: 2 }, [
|
|
2528
|
+
l.prepend ? {
|
|
2377
2529
|
name: "prepend",
|
|
2378
|
-
fn:
|
|
2379
|
-
q(p(
|
|
2530
|
+
fn: a(() => [
|
|
2531
|
+
q(p(l.field), 1)
|
|
2380
2532
|
]),
|
|
2381
2533
|
key: "0"
|
|
2382
2534
|
} : void 0,
|
|
2383
|
-
|
|
2535
|
+
l.append ? {
|
|
2384
2536
|
name: "append",
|
|
2385
|
-
fn:
|
|
2386
|
-
q(p(
|
|
2537
|
+
fn: a(() => [
|
|
2538
|
+
q(p(l.append), 1)
|
|
2387
2539
|
]),
|
|
2388
2540
|
key: "1"
|
|
2389
2541
|
} : void 0
|
|
2390
2542
|
]), 1032, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
2391
2543
|
]),
|
|
2392
2544
|
_: 2
|
|
2393
|
-
}, 1032, ["label", "rules", "prop"]))
|
|
2545
|
+
}, 1032, ["label", "rules", "prop"])), [
|
|
2546
|
+
[h, !l.isShow]
|
|
2547
|
+
]) : l.type === "line" ? t((d(), r(n, {
|
|
2394
2548
|
key: 16,
|
|
2395
|
-
label:
|
|
2549
|
+
label: l.label
|
|
2396
2550
|
}, {
|
|
2397
|
-
default:
|
|
2398
|
-
|
|
2551
|
+
default: a(() => [
|
|
2552
|
+
Re
|
|
2399
2553
|
]),
|
|
2400
2554
|
_: 2
|
|
2401
|
-
}, 1032, ["label"]))
|
|
2555
|
+
}, 1032, ["label"])), [
|
|
2556
|
+
[h, !l.isShow]
|
|
2557
|
+
]) : _("", !0)
|
|
2402
2558
|
]),
|
|
2403
2559
|
_: 2
|
|
2404
2560
|
}, 1024))), 128))
|
|
2405
2561
|
]),
|
|
2406
2562
|
_: 2
|
|
2407
2563
|
}, 1024)
|
|
2408
|
-
])) :
|
|
2564
|
+
])) : _("", !0)
|
|
2409
2565
|
]))), 128)),
|
|
2410
|
-
|
|
2411
|
-
default:
|
|
2412
|
-
|
|
2566
|
+
c(n, { class: "btnsItem" }, {
|
|
2567
|
+
default: a(() => [
|
|
2568
|
+
U(i.$slots, "buttons", {
|
|
2413
2569
|
model: o.value,
|
|
2414
|
-
onBtnClick:
|
|
2570
|
+
onBtnClick: Z
|
|
2415
2571
|
}, () => [
|
|
2416
|
-
(d(!0), u(
|
|
2417
|
-
K.isShow ? (d(), r(
|
|
2572
|
+
(d(!0), u(k, null, g(v.value.btnConfig, (K, m) => (d(), u("div", { key: m }, [
|
|
2573
|
+
K.isShow ? (d(), r(dl, {
|
|
2418
2574
|
key: 0,
|
|
2419
2575
|
size: 15,
|
|
2420
2576
|
width: K.size,
|
|
2421
2577
|
btnCode: K.btnCode,
|
|
2422
|
-
onHandleClick: (
|
|
2423
|
-
|
|
2578
|
+
onHandleClick: (l) => {
|
|
2579
|
+
Z(l, K.isRule, K.emitName);
|
|
2424
2580
|
},
|
|
2425
|
-
style:
|
|
2581
|
+
style: j(K.style)
|
|
2426
2582
|
}, {
|
|
2427
|
-
default:
|
|
2583
|
+
default: a(() => [
|
|
2428
2584
|
q(p(K.name), 1)
|
|
2429
2585
|
]),
|
|
2430
2586
|
_: 2
|
|
2431
|
-
}, 1032, ["width", "btnCode", "onHandleClick", "style"])) :
|
|
2587
|
+
}, 1032, ["width", "btnCode", "onHandleClick", "style"])) : _("", !0)
|
|
2432
2588
|
]))), 128))
|
|
2433
2589
|
], !0)
|
|
2434
2590
|
]),
|
|
@@ -2443,16 +2599,16 @@ const G = (I) => (re("data-v-f1a791f9"), I = I(), ue(), I), ne = { key: 0 }, pe
|
|
|
2443
2599
|
};
|
|
2444
2600
|
}
|
|
2445
2601
|
});
|
|
2446
|
-
const
|
|
2447
|
-
const
|
|
2448
|
-
for (const [
|
|
2449
|
-
|
|
2450
|
-
return
|
|
2451
|
-
},
|
|
2452
|
-
function
|
|
2453
|
-
|
|
2602
|
+
const Ge = ($, T) => {
|
|
2603
|
+
const Y = $.__vccOpts || $;
|
|
2604
|
+
for (const [F, o] of T)
|
|
2605
|
+
Y[F] = o;
|
|
2606
|
+
return Y;
|
|
2607
|
+
}, al = /* @__PURE__ */ Ge(Ae, [["__scopeId", "data-v-259dd497"]]);
|
|
2608
|
+
function ll($, T = {}) {
|
|
2609
|
+
ll.installed || (ll.installed = !0, $.component("common-el-form", al));
|
|
2454
2610
|
}
|
|
2455
|
-
|
|
2611
|
+
al.install = ll;
|
|
2456
2612
|
export {
|
|
2457
|
-
|
|
2613
|
+
al as default
|
|
2458
2614
|
};
|