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