sinosoft-common-form 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common-form.es.js +646 -263
- package/common-form.umd.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
package/common-form.es.js
CHANGED
|
@@ -1,15 +1,25 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
3
|
-
src:
|
|
1
|
+
import { defineComponent as Q, ref as W, computed as m, resolveComponent as k, openBlock as s, createBlock as y, withCtx as d, createVNode as o, mergeProps as ee, withModifiers as le, createElementBlock as v, Fragment as w, renderList as _, normalizeClass as ae, normalizeStyle as G, createElementVNode as P, toDisplayString as j, createTextVNode as V, withKeys as i, createCommentVNode as z, renderSlot as x, pushScopeId as oe, popScopeId as de } from "vue";
|
|
2
|
+
const Y = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAAAAAXNSR0IArs4c6QAAA+dJREFUWEftl1+IG1UUxr9zJ+6ubWkyM0oF6cIktRQsLUUUWiiWPllw8UFZEGtc9UERbBLXIhTEWR/KUtpNZgWrPli7FqUoKogKUrQ++GIptWsrVZoMtFpEyJ100do/yT0Sa2P+TJNJdrLtg/OYnHvO737nm3vPEG7Sh25SLvwP1m1nFlSxTTZHfvVKG5SABeZlTHRJMCRr9GN+T+xoPXzfwZiZ7kqXRirEDwN4EMzGNQAi/AxQ7lbSDp7MRuWCgVkvyjV0BXsZvKGpleeEoInlUf3twzaV/drcF8WqKiXS3k4GtgOsNShBOLR4SBv9YTLmtfNd6GC2zWLGk28x8HRzYQK9Pqzrqeup1LdWVqH2l7x9YE62QmFfwTGfCvp2hqqYlSk6UNjWAkU4NBwztgRRqvZiBN1BpzgrIzdC4RuAmzZL3sDg4Oqfdi0+1ylH6K3cZPPQmZI8zoyVzcWFEGP5rL6/G6hqbCitjKeLNjNe8TH7iaSur7VtUgsOtmKaB1XeO8vg232Kj7qO+UG3UKEoFk/Lx5j5gI/hfx+OGXd2Y/hQPRZPyW99TnYQialCTh/vRa15KxZ/SUb5EiSYRYvpNbE5P6V/fUPAEpniA0rhC5/iFxbphn7Spss3BMxKF18F42WfU/5IwTHv6xVq/q1My8+ZeUsLANGMmzOeWBCwFZniqALF64ux4hSAO3zADhPwZUNsBJ+5u43ZoLCBD9iV43O3lSvlj5h5Y9DktXuPMJHPGhNExEHXBgarJrzb5oG/PPkGA08GLHBRAGN5xzwYML4W1hXYtVWJlNyuCJN+x0QdwG8QkYfcbPS7bqFazG+li++AKXl1QiBPkHgkn4t95ZfYysgRUvweA0t8PPa9NjA0cnrXol+uB5VIlzYrVh8CrAPEIJ5xc+ZYrf31C62UVA1ji8C0mzWrBvd9/p3pP2Xw8H9+ok+WRPSts7vpz3ZKtc5uxK5j1A7qhlZaqWKjOYlec3NGy+DXsJkdfyzDhcsfg3k9gSbzOX1HEJNbaTkN5ufrc7mOWeOZN1g1cXXCgHv+/tPZWMMR0Vax+YAR0d5CzniuF/N2WhNPyepn3bM9KUag2aSur+tl0GsHdvVLyjvG4DU9gf3z2hK9r7HmKIFiJxWC/C8UzApVUsz8aHN8G4/JAsBWkALhx5DrOkbtymswfzwl32Xw1vCLds5IoAMFx3jc9xxLvFBczhWcYGBp51ThRRAwRxpW56fMs75g1R/j4+fv5XJ5BsCq8Eq3zXSKIpFkYU/0SH2U7115z5t8izw1t06o8lqQGOoLIKuLSkSOG6uWHjv6DF1prtHTJd4X0KakfwOtY3o2ZXuVHAAAAABJRU5ErkJggg==", $ = (U) => (oe("data-v-5cd9078d"), U = U(), de(), U), re = { class: "header-title" }, se = /* @__PURE__ */ $(() => /* @__PURE__ */ P("span", { class: "title-left" }, null, -1)), ne = { class: "title-content" }, pe = /* @__PURE__ */ $(() => /* @__PURE__ */ P("img", {
|
|
3
|
+
src: Y,
|
|
4
4
|
style: { width: "19px", "margin-right": "10px" },
|
|
5
5
|
alt: ""
|
|
6
|
-
}, null, -1)),
|
|
6
|
+
}, null, -1)), ue = { class: "item-address" }, te = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "item-address"
|
|
9
9
|
}, ce = {
|
|
10
10
|
key: 1,
|
|
11
11
|
class: "item-address"
|
|
12
|
-
}, ye =
|
|
12
|
+
}, ye = /* @__PURE__ */ $(() => /* @__PURE__ */ P("img", {
|
|
13
|
+
src: Y,
|
|
14
|
+
style: { width: "19px", "margin-right": "10px" },
|
|
15
|
+
alt: ""
|
|
16
|
+
}, null, -1)), be = { class: "item-address" }, fe = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "item-address"
|
|
19
|
+
}, he = {
|
|
20
|
+
key: 1,
|
|
21
|
+
class: "item-address"
|
|
22
|
+
}, ve = ["src"], ie = /* @__PURE__ */ Q({
|
|
13
23
|
__name: "Index",
|
|
14
24
|
props: {
|
|
15
25
|
fieldList: {},
|
|
@@ -17,8 +27,8 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
17
27
|
options: {}
|
|
18
28
|
},
|
|
19
29
|
emits: ["submit", "reset", "cancel"],
|
|
20
|
-
setup(U, { expose:
|
|
21
|
-
const g = U, a =
|
|
30
|
+
setup(U, { expose: H, emit: F }) {
|
|
31
|
+
const g = U, a = W({}), L = W(), E = m(() => Object.assign([
|
|
22
32
|
// {
|
|
23
33
|
// isShow: true,
|
|
24
34
|
// name: '提交',
|
|
@@ -52,91 +62,464 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
52
62
|
// style: 'margin-right: 30px'
|
|
53
63
|
// },
|
|
54
64
|
], g == null ? void 0 : g.options));
|
|
55
|
-
|
|
56
|
-
formRef:
|
|
65
|
+
H({
|
|
66
|
+
formRef: L
|
|
57
67
|
}), (() => {
|
|
58
68
|
g.fieldList.map((c) => {
|
|
59
|
-
const
|
|
69
|
+
const N = c.type === "checkbox" ? [] : "";
|
|
60
70
|
if (console.log("itttttttt", c.field, c.field != null), c.field && typeof c.field == "object")
|
|
61
|
-
for (let
|
|
62
|
-
g.model ? a.value = g.model : a.value[c.field[
|
|
63
|
-
g.model ? a.value = g.model : a.value[c.field] = c.value ||
|
|
71
|
+
for (let p of Object.keys(c.field))
|
|
72
|
+
g.model ? a.value = g.model : a.value[c.field[p]] = c.value || N;
|
|
73
|
+
g.model ? a.value = g.model : a.value[c.field] = c.value || N, c.type === "address" && c.field.objectName && (a.value[c.field.objectName][c.field] = c.value);
|
|
64
74
|
});
|
|
65
75
|
})();
|
|
66
|
-
const
|
|
67
|
-
console.log("modecodecodecodecode", c),
|
|
68
|
-
if (
|
|
69
|
-
|
|
76
|
+
const M = (c, N, p, C) => {
|
|
77
|
+
console.log("modecodecodecodecode", c), N && (p ? N.validate((S) => {
|
|
78
|
+
if (S)
|
|
79
|
+
F(C, a.value, c);
|
|
70
80
|
else
|
|
71
81
|
return !1;
|
|
72
|
-
}) :
|
|
82
|
+
}) : C === "reset" ? N.resetFields() : F(C, a.value, c));
|
|
73
83
|
}, h = (c) => {
|
|
74
|
-
c &&
|
|
84
|
+
c && M("", L.value, !0, "submit");
|
|
75
85
|
};
|
|
76
|
-
return (c,
|
|
77
|
-
const
|
|
78
|
-
return s(),
|
|
79
|
-
default:
|
|
80
|
-
|
|
81
|
-
onSubmit:
|
|
86
|
+
return (c, N) => {
|
|
87
|
+
const p = k("el-form-item"), C = k("el-button"), S = k("el-radio"), I = k("el-radio-group"), K = k("el-option"), A = k("el-select"), f = k("el-input"), O = k("el-checkbox"), X = k("el-checkbox-group"), q = k("el-date-picker"), J = k("sinosoft-common-button"), T = k("el-form"), D = k("el-card");
|
|
88
|
+
return s(), y(D, { class: "mb-5" }, {
|
|
89
|
+
default: d(() => [
|
|
90
|
+
o(T, ee({
|
|
91
|
+
onSubmit: N[0] || (N[0] = le(() => {
|
|
82
92
|
}, ["prevent"])),
|
|
83
93
|
model: a.value
|
|
84
94
|
}, E.value, {
|
|
85
95
|
"label-position": E.value.labelPosition,
|
|
86
96
|
ref_key: "formRef",
|
|
87
|
-
ref:
|
|
97
|
+
ref: L
|
|
88
98
|
}), {
|
|
89
|
-
default:
|
|
90
|
-
(s(!0),
|
|
91
|
-
key:
|
|
92
|
-
class:
|
|
93
|
-
style:
|
|
99
|
+
default: d(() => [
|
|
100
|
+
(s(!0), v(w, null, _(c.fieldList, (e, B) => (s(), v("div", {
|
|
101
|
+
key: B,
|
|
102
|
+
class: ae(e.type === "title" || e.type === "address" || e.type === "name" ? "form-item-title" : "form-item"),
|
|
103
|
+
style: G(e.style)
|
|
94
104
|
}, [
|
|
95
|
-
e.type === "title" ? (s(),
|
|
96
|
-
default:
|
|
105
|
+
e.type === "title" ? (s(), y(p, { key: 0 }, {
|
|
106
|
+
default: d(() => [
|
|
97
107
|
P("div", re, [
|
|
98
108
|
se,
|
|
99
|
-
P("span", ne,
|
|
109
|
+
P("span", ne, j(e.title), 1)
|
|
100
110
|
])
|
|
101
111
|
]),
|
|
102
112
|
_: 2
|
|
103
|
-
}, 1024)) : e.type === "address" ? (s(),
|
|
113
|
+
}, 1024)) : e.type === "address" && e.field.objectName ? (s(), y(p, {
|
|
104
114
|
key: 1,
|
|
105
115
|
rules: e.rules,
|
|
106
116
|
prop: [e.field],
|
|
107
117
|
class: "container-address"
|
|
108
118
|
}, {
|
|
109
|
-
default:
|
|
110
|
-
|
|
119
|
+
default: d(() => [
|
|
120
|
+
o(C, {
|
|
121
|
+
style: { "margin-bottom": "20px", "margin-right": "60px" },
|
|
122
|
+
onClick: c.downLoad
|
|
123
|
+
}, {
|
|
124
|
+
default: d(() => [
|
|
125
|
+
pe,
|
|
126
|
+
V(" 載入已有地址 ")
|
|
127
|
+
]),
|
|
128
|
+
_: 1
|
|
129
|
+
}, 8, ["onClick"]),
|
|
130
|
+
o(I, {
|
|
131
|
+
style: { "margin-bottom": "20px" },
|
|
132
|
+
modelValue: a.value[e.field.objectName][e.field.addressLang],
|
|
133
|
+
"onUpdate:modelValue": (l) => a.value[e.field.objectName][e.field.addressLang] = l,
|
|
134
|
+
disabled: e.disabled
|
|
135
|
+
}, {
|
|
136
|
+
default: d(() => {
|
|
137
|
+
var l;
|
|
138
|
+
return [
|
|
139
|
+
(s(!0), v(w, null, _((l = e.optionsLang) == null ? void 0 : l.data, (r) => {
|
|
140
|
+
var n, u;
|
|
141
|
+
return s(), y(S, {
|
|
142
|
+
label: r[((n = e.optionsLang) == null ? void 0 : n.valueKey) || "code"],
|
|
143
|
+
size: "large",
|
|
144
|
+
key: r[((u = e.optionsLang) == null ? void 0 : u.valueKey) || "code"]
|
|
145
|
+
}, {
|
|
146
|
+
default: d(() => {
|
|
147
|
+
var t;
|
|
148
|
+
return [
|
|
149
|
+
V(j(r[((t = e.optionsLang) == null ? void 0 : t.labelkey) || "name"]), 1)
|
|
150
|
+
];
|
|
151
|
+
}),
|
|
152
|
+
_: 2
|
|
153
|
+
}, 1032, ["label"]);
|
|
154
|
+
}), 128))
|
|
155
|
+
];
|
|
156
|
+
}),
|
|
157
|
+
_: 2
|
|
158
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled"]),
|
|
159
|
+
P("div", ue, [
|
|
160
|
+
o(p, {
|
|
161
|
+
rules: e.rules.addressNation,
|
|
162
|
+
prop: [e.field.addressNation],
|
|
163
|
+
style: { display: "inline-block!important", "margin-right": "40px", width: "20%" }
|
|
164
|
+
}, {
|
|
165
|
+
default: d(() => {
|
|
166
|
+
var l;
|
|
167
|
+
return [
|
|
168
|
+
o(A, {
|
|
169
|
+
modelValue: a.value[e.field.objectName][e.field.addressNation],
|
|
170
|
+
"onUpdate:modelValue": (r) => a.value[e.field.objectName][e.field.addressNation] = r,
|
|
171
|
+
placeholder: ((l = e.optionsSelectNation) == null ? void 0 : l.placeholder) || "请选择",
|
|
172
|
+
clearable: e.clearable
|
|
173
|
+
}, {
|
|
174
|
+
default: d(() => {
|
|
175
|
+
var r;
|
|
176
|
+
return [
|
|
177
|
+
(s(!0), v(w, null, _((r = e.optionsSelectNation) == null ? void 0 : r.data, (n) => {
|
|
178
|
+
var u, t, b;
|
|
179
|
+
return s(), y(K, {
|
|
180
|
+
key: n[((u = e.optionsSelectNation) == null ? void 0 : u.valueKey) || "code"],
|
|
181
|
+
label: n[((t = e.optionsSelectNation) == null ? void 0 : t.labelkey) || "name"],
|
|
182
|
+
value: n[((b = e.optionsSelectNation) == null ? void 0 : b.valueKey) || "code"]
|
|
183
|
+
}, null, 8, ["label", "value"]);
|
|
184
|
+
}), 128))
|
|
185
|
+
];
|
|
186
|
+
}),
|
|
187
|
+
_: 2
|
|
188
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable"])
|
|
189
|
+
];
|
|
190
|
+
}),
|
|
191
|
+
_: 2
|
|
192
|
+
}, 1032, ["rules", "prop"]),
|
|
193
|
+
o(p, {
|
|
194
|
+
rules: e.rules.addressCity,
|
|
195
|
+
prop: [e.field.addressCity],
|
|
196
|
+
style: { display: "inline-block!important", "margin-right": "40px", width: "20%" }
|
|
197
|
+
}, {
|
|
198
|
+
default: d(() => {
|
|
199
|
+
var l;
|
|
200
|
+
return [
|
|
201
|
+
o(A, {
|
|
202
|
+
modelValue: a.value[e.field.objectName][e.field.addressCity],
|
|
203
|
+
"onUpdate:modelValue": (r) => a.value[e.field.objectName][e.field.addressCity] = r,
|
|
204
|
+
placeholder: ((l = e.optionsSelectCity) == null ? void 0 : l.placeholder) || "请选择",
|
|
205
|
+
clearable: e.clearable
|
|
206
|
+
}, {
|
|
207
|
+
default: d(() => {
|
|
208
|
+
var r;
|
|
209
|
+
return [
|
|
210
|
+
(s(!0), v(w, null, _((r = e.optionsSelectCity) == null ? void 0 : r.data, (n) => {
|
|
211
|
+
var u, t, b;
|
|
212
|
+
return s(), y(K, {
|
|
213
|
+
key: n[((u = e.optionsSelectCity) == null ? void 0 : u.valueKey) || "code"],
|
|
214
|
+
label: n[((t = e.optionsSelectCity) == null ? void 0 : t.labelkey) || "name"],
|
|
215
|
+
value: n[((b = e.optionsSelectCity) == null ? void 0 : b.valueKey) || "code"]
|
|
216
|
+
}, null, 8, ["label", "value"]);
|
|
217
|
+
}), 128))
|
|
218
|
+
];
|
|
219
|
+
}),
|
|
220
|
+
_: 2
|
|
221
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable"])
|
|
222
|
+
];
|
|
223
|
+
}),
|
|
224
|
+
_: 2
|
|
225
|
+
}, 1032, ["rules", "prop"]),
|
|
226
|
+
o(p, {
|
|
227
|
+
rules: e.rules.addressArea,
|
|
228
|
+
prop: [e.field.addressArea],
|
|
229
|
+
style: { display: "inline-block!important", "margin-right": "40px", width: "20%" }
|
|
230
|
+
}, {
|
|
231
|
+
default: d(() => {
|
|
232
|
+
var l;
|
|
233
|
+
return [
|
|
234
|
+
o(A, {
|
|
235
|
+
modelValue: a.value[e.field.objectName][e.field.addressArea],
|
|
236
|
+
"onUpdate:modelValue": (r) => a.value[e.field.objectName][e.field.addressArea] = r,
|
|
237
|
+
placeholder: ((l = e.optionsSelectArea) == null ? void 0 : l.placeholder) || "请选择",
|
|
238
|
+
clearable: e.clearable
|
|
239
|
+
}, {
|
|
240
|
+
default: d(() => {
|
|
241
|
+
var r;
|
|
242
|
+
return [
|
|
243
|
+
(s(!0), v(w, null, _((r = e.optionsSelectArea) == null ? void 0 : r.data, (n) => {
|
|
244
|
+
var u, t, b;
|
|
245
|
+
return s(), y(K, {
|
|
246
|
+
key: n[((u = e.optionsSelectArea) == null ? void 0 : u.valueKey) || "code"],
|
|
247
|
+
label: n[((t = e.optionsSelectArea) == null ? void 0 : t.labelkey) || "name"],
|
|
248
|
+
value: n[((b = e.optionsSelectArea) == null ? void 0 : b.valueKey) || "code"]
|
|
249
|
+
}, null, 8, ["label", "value"]);
|
|
250
|
+
}), 128))
|
|
251
|
+
];
|
|
252
|
+
}),
|
|
253
|
+
_: 2
|
|
254
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable"])
|
|
255
|
+
];
|
|
256
|
+
}),
|
|
257
|
+
_: 2
|
|
258
|
+
}, 1032, ["rules", "prop"]),
|
|
259
|
+
o(p, {
|
|
260
|
+
rules: e.rules.addressAreaC,
|
|
261
|
+
prop: [e.field.addressAreaC],
|
|
262
|
+
style: { display: "inline-block!important", "margin-right": "40px", width: "20%" }
|
|
263
|
+
}, {
|
|
264
|
+
default: d(() => {
|
|
265
|
+
var l;
|
|
266
|
+
return [
|
|
267
|
+
o(A, {
|
|
268
|
+
modelValue: a.value[e.field.objectName][e.field.addressAreaC],
|
|
269
|
+
"onUpdate:modelValue": (r) => a.value[e.field.objectName][e.field.addressAreaC] = r,
|
|
270
|
+
placeholder: ((l = e.optionsSelectAreaC) == null ? void 0 : l.placeholder) || "请选择",
|
|
271
|
+
clearable: e.clearable
|
|
272
|
+
}, {
|
|
273
|
+
default: d(() => {
|
|
274
|
+
var r;
|
|
275
|
+
return [
|
|
276
|
+
(s(!0), v(w, null, _((r = e.optionsSelectAreaC) == null ? void 0 : r.data, (n) => {
|
|
277
|
+
var u, t, b;
|
|
278
|
+
return s(), y(K, {
|
|
279
|
+
key: n[((u = e.optionsSelectAreaC) == null ? void 0 : u.valueKey) || "code"],
|
|
280
|
+
label: n[((t = e.optionsSelectAreaC) == null ? void 0 : t.labelkey) || "name"],
|
|
281
|
+
value: n[((b = e.optionsSelectAreaC) == null ? void 0 : b.valueKey) || "code"]
|
|
282
|
+
}, null, 8, ["label", "value"]);
|
|
283
|
+
}), 128))
|
|
284
|
+
];
|
|
285
|
+
}),
|
|
286
|
+
_: 2
|
|
287
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable"])
|
|
288
|
+
];
|
|
289
|
+
}),
|
|
290
|
+
_: 2
|
|
291
|
+
}, 1032, ["rules", "prop"])
|
|
292
|
+
]),
|
|
293
|
+
o(p, {
|
|
294
|
+
rules: e.rules.addressStreet,
|
|
295
|
+
prop: [e.field.addressStreet],
|
|
296
|
+
class: "item-address"
|
|
297
|
+
}, {
|
|
298
|
+
default: d(() => [
|
|
299
|
+
o(f, {
|
|
300
|
+
modelValue: a.value[e.field.objectName][e.field.addressStreet],
|
|
301
|
+
"onUpdate:modelValue": (l) => a.value[e.field.objectName][e.field.addressStreet] = l,
|
|
302
|
+
readonly: e.readonly,
|
|
303
|
+
type: e.type ? e.type : "text",
|
|
304
|
+
placeholder: e.field.placeholderAddressStreet,
|
|
305
|
+
disabled: e.disabled,
|
|
306
|
+
showPassword: e.showPassword,
|
|
307
|
+
clearable: e.clearable,
|
|
308
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
309
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
310
|
+
]),
|
|
311
|
+
_: 2
|
|
312
|
+
}, 1032, ["rules", "prop"]),
|
|
313
|
+
o(p, {
|
|
314
|
+
rules: e.rules.addressHouse,
|
|
315
|
+
prop: [e.field.addressHouse],
|
|
316
|
+
class: "item-address"
|
|
317
|
+
}, {
|
|
318
|
+
default: d(() => [
|
|
319
|
+
o(f, {
|
|
320
|
+
modelValue: a.value[e.field.objectName][e.field.addressHouse],
|
|
321
|
+
"onUpdate:modelValue": (l) => a.value[e.field.objectName][e.field.addressHouse] = l,
|
|
322
|
+
readonly: e.readonly,
|
|
323
|
+
type: e.type ? e.type : "text",
|
|
324
|
+
placeholder: e.field.placeholderAddressHouse,
|
|
325
|
+
disabled: e.disabled,
|
|
326
|
+
showPassword: e.showPassword,
|
|
327
|
+
clearable: e.clearable,
|
|
328
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
329
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
330
|
+
]),
|
|
331
|
+
_: 2
|
|
332
|
+
}, 1032, ["rules", "prop"]),
|
|
333
|
+
o(p, {
|
|
334
|
+
rules: e.rules.addressMansion,
|
|
335
|
+
prop: [e.field.addressMansion],
|
|
336
|
+
class: "item-address"
|
|
337
|
+
}, {
|
|
338
|
+
default: d(() => [
|
|
339
|
+
o(f, {
|
|
340
|
+
modelValue: a.value[e.field.objectName][e.field.addressMansion],
|
|
341
|
+
"onUpdate:modelValue": (l) => a.value[e.field.objectName][e.field.addressMansion] = l,
|
|
342
|
+
readonly: e.readonly,
|
|
343
|
+
type: e.type ? e.type : "text",
|
|
344
|
+
placeholder: e.field.placeholderAddressMansion,
|
|
345
|
+
disabled: e.disabled,
|
|
346
|
+
showPassword: e.showPassword,
|
|
347
|
+
clearable: e.clearable,
|
|
348
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
349
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
350
|
+
]),
|
|
351
|
+
_: 2
|
|
352
|
+
}, 1032, ["rules", "prop"]),
|
|
353
|
+
a.value[e.field.objectName].addressLang == "1" ? (s(), v("div", te, [
|
|
354
|
+
o(p, {
|
|
355
|
+
rules: e.rules.block,
|
|
356
|
+
prop: [e.field.block],
|
|
357
|
+
style: { display: "inline-block!important", width: "24%" }
|
|
358
|
+
}, {
|
|
359
|
+
default: d(() => [
|
|
360
|
+
o(f, {
|
|
361
|
+
modelValue: a.value[e.field.objectName][e.field.block],
|
|
362
|
+
"onUpdate:modelValue": (l) => a.value[e.field.objectName][e.field.block] = l,
|
|
363
|
+
readonly: e.readonly,
|
|
364
|
+
type: e.type ? e.type : "text",
|
|
365
|
+
placeholder: e.field.placeholderBlock,
|
|
366
|
+
disabled: e.disabled,
|
|
367
|
+
showPassword: e.showPassword,
|
|
368
|
+
clearable: e.clearable,
|
|
369
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
370
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
371
|
+
]),
|
|
372
|
+
_: 2
|
|
373
|
+
}, 1032, ["rules", "prop"]),
|
|
374
|
+
V(" 座 "),
|
|
375
|
+
o(p, {
|
|
376
|
+
rules: e.rules.floor,
|
|
377
|
+
prop: [e.field.floor],
|
|
378
|
+
style: { display: "inline-block!important", width: "24%", "margin-left": "60px" }
|
|
379
|
+
}, {
|
|
380
|
+
default: d(() => [
|
|
381
|
+
o(f, {
|
|
382
|
+
modelValue: a.value[e.field.objectName][e.field.floor],
|
|
383
|
+
"onUpdate:modelValue": (l) => a.value[e.field.objectName][e.field.floor] = l,
|
|
384
|
+
readonly: e.readonly,
|
|
385
|
+
type: e.type ? e.type : "text",
|
|
386
|
+
placeholder: e.field.placeholderFloor,
|
|
387
|
+
disabled: e.disabled,
|
|
388
|
+
showPassword: e.showPassword,
|
|
389
|
+
clearable: e.clearable,
|
|
390
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
391
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
392
|
+
]),
|
|
393
|
+
_: 2
|
|
394
|
+
}, 1032, ["rules", "prop"]),
|
|
395
|
+
V(" 樓 "),
|
|
396
|
+
o(p, {
|
|
397
|
+
rules: e.rules.flat,
|
|
398
|
+
prop: [e.field.flat],
|
|
399
|
+
style: { display: "inline-block!important", width: "24%", "margin-left": "60px" }
|
|
400
|
+
}, {
|
|
401
|
+
default: d(() => [
|
|
402
|
+
o(f, {
|
|
403
|
+
modelValue: a.value[e.field.objectName][e.field.flat],
|
|
404
|
+
"onUpdate:modelValue": (l) => a.value[e.field.objectName][e.field.flat] = l,
|
|
405
|
+
readonly: e.readonly,
|
|
406
|
+
type: e.type ? e.type : "text",
|
|
407
|
+
placeholder: e.field.placeholderFlat,
|
|
408
|
+
disabled: e.disabled,
|
|
409
|
+
showPassword: e.showPassword,
|
|
410
|
+
clearable: e.clearable,
|
|
411
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
412
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
413
|
+
]),
|
|
414
|
+
_: 2
|
|
415
|
+
}, 1032, ["rules", "prop"]),
|
|
416
|
+
V(" 室 ")
|
|
417
|
+
])) : z("", !0),
|
|
418
|
+
a.value[e.field.objectName].addressLang == "2" ? (s(), v("div", ce, [
|
|
419
|
+
o(p, {
|
|
420
|
+
rules: e.rules.block,
|
|
421
|
+
prop: [e.field.block],
|
|
422
|
+
style: { display: "inline-block!important", width: "24%" }
|
|
423
|
+
}, {
|
|
424
|
+
default: d(() => [
|
|
425
|
+
o(f, {
|
|
426
|
+
modelValue: a.value[e.field.objectName][e.field.block],
|
|
427
|
+
"onUpdate:modelValue": (l) => a.value[e.field.objectName][e.field.block] = l,
|
|
428
|
+
readonly: e.readonly,
|
|
429
|
+
type: e.type ? e.type : "text",
|
|
430
|
+
placeholder: e.field.placeholderBlock,
|
|
431
|
+
disabled: e.disabled,
|
|
432
|
+
showPassword: e.showPassword,
|
|
433
|
+
clearable: e.clearable,
|
|
434
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
435
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
436
|
+
]),
|
|
437
|
+
_: 2
|
|
438
|
+
}, 1032, ["rules", "prop"]),
|
|
439
|
+
V(" Block "),
|
|
440
|
+
o(p, {
|
|
441
|
+
rules: e.rules.floor,
|
|
442
|
+
prop: [e.field.floor],
|
|
443
|
+
style: { display: "inline-block!important", width: "24%", "margin-left": "60px" }
|
|
444
|
+
}, {
|
|
445
|
+
default: d(() => [
|
|
446
|
+
o(f, {
|
|
447
|
+
modelValue: a.value[e.field.objectName][e.field.floor],
|
|
448
|
+
"onUpdate:modelValue": (l) => a.value[e.field.objectName][e.field.floor] = l,
|
|
449
|
+
readonly: e.readonly,
|
|
450
|
+
type: e.type ? e.type : "text",
|
|
451
|
+
placeholder: e.rules.placeholderFloor,
|
|
452
|
+
disabled: e.disabled,
|
|
453
|
+
showPassword: e.showPassword,
|
|
454
|
+
clearable: e.clearable,
|
|
455
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
456
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
457
|
+
]),
|
|
458
|
+
_: 2
|
|
459
|
+
}, 1032, ["rules", "prop"]),
|
|
460
|
+
V(" Floor "),
|
|
461
|
+
o(p, {
|
|
462
|
+
rules: e.rules.flat,
|
|
463
|
+
prop: [e.field.flat],
|
|
464
|
+
style: { display: "inline-block!important", width: "24%", "margin-left": "60px" }
|
|
465
|
+
}, {
|
|
466
|
+
default: d(() => [
|
|
467
|
+
o(f, {
|
|
468
|
+
modelValue: a.value[e.field.objectName][e.field.flat],
|
|
469
|
+
"onUpdate:modelValue": (l) => a.value[e.field.objectName][e.field.flat] = l,
|
|
470
|
+
readonly: e.readonly,
|
|
471
|
+
type: e.type ? e.type : "text",
|
|
472
|
+
placeholder: e.rules.placeholderFlat,
|
|
473
|
+
disabled: e.disabled,
|
|
474
|
+
showPassword: e.showPassword,
|
|
475
|
+
clearable: e.clearable,
|
|
476
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
477
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
478
|
+
]),
|
|
479
|
+
_: 2
|
|
480
|
+
}, 1032, ["rules", "prop"]),
|
|
481
|
+
V(" Flat ")
|
|
482
|
+
])) : z("", !0),
|
|
483
|
+
x(c.$slots, "address", {}, void 0, !0)
|
|
484
|
+
]),
|
|
485
|
+
_: 2
|
|
486
|
+
}, 1032, ["rules", "prop"])) : e.type === "address" && !e.field.objectName ? (s(), y(p, {
|
|
487
|
+
key: 2,
|
|
488
|
+
rules: e.rules,
|
|
489
|
+
prop: [e.field],
|
|
490
|
+
class: "container-address"
|
|
491
|
+
}, {
|
|
492
|
+
default: d(() => [
|
|
493
|
+
o(C, {
|
|
111
494
|
style: { "margin-bottom": "20px", "margin-right": "60px" },
|
|
112
495
|
onClick: c.downLoad
|
|
113
496
|
}, {
|
|
114
|
-
default:
|
|
115
|
-
|
|
116
|
-
|
|
497
|
+
default: d(() => [
|
|
498
|
+
ye,
|
|
499
|
+
V(" 載入已有地址 ")
|
|
117
500
|
]),
|
|
118
501
|
_: 1
|
|
119
502
|
}, 8, ["onClick"]),
|
|
120
|
-
|
|
503
|
+
o(I, {
|
|
121
504
|
style: { "margin-bottom": "20px" },
|
|
122
505
|
modelValue: a.value[e.field.addressLang],
|
|
123
506
|
"onUpdate:modelValue": (l) => a.value[e.field.addressLang] = l,
|
|
124
507
|
disabled: e.disabled
|
|
125
508
|
}, {
|
|
126
|
-
default:
|
|
509
|
+
default: d(() => {
|
|
127
510
|
var l;
|
|
128
511
|
return [
|
|
129
|
-
(s(!0),
|
|
130
|
-
var
|
|
131
|
-
return s(),
|
|
132
|
-
label: r[((
|
|
512
|
+
(s(!0), v(w, null, _((l = e.optionsLang) == null ? void 0 : l.data, (r) => {
|
|
513
|
+
var n, u;
|
|
514
|
+
return s(), y(S, {
|
|
515
|
+
label: r[((n = e.optionsLang) == null ? void 0 : n.valueKey) || "code"],
|
|
133
516
|
size: "large",
|
|
134
|
-
key: r[((
|
|
517
|
+
key: r[((u = e.optionsLang) == null ? void 0 : u.valueKey) || "code"]
|
|
135
518
|
}, {
|
|
136
|
-
default:
|
|
137
|
-
var
|
|
519
|
+
default: d(() => {
|
|
520
|
+
var t;
|
|
138
521
|
return [
|
|
139
|
-
|
|
522
|
+
V(j(r[((t = e.optionsLang) == null ? void 0 : t.labelkey) || "name"]), 1)
|
|
140
523
|
];
|
|
141
524
|
}),
|
|
142
525
|
_: 2
|
|
@@ -146,30 +529,30 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
146
529
|
}),
|
|
147
530
|
_: 2
|
|
148
531
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled"]),
|
|
149
|
-
P("div",
|
|
150
|
-
|
|
532
|
+
P("div", be, [
|
|
533
|
+
o(p, {
|
|
151
534
|
rules: e.rules.addressNation,
|
|
152
535
|
prop: [e.field.addressNation],
|
|
153
536
|
style: { display: "inline-block!important", "margin-right": "40px", width: "20%" }
|
|
154
537
|
}, {
|
|
155
|
-
default:
|
|
538
|
+
default: d(() => {
|
|
156
539
|
var l;
|
|
157
540
|
return [
|
|
158
|
-
|
|
541
|
+
o(A, {
|
|
159
542
|
modelValue: a.value[e.field.addressNation],
|
|
160
543
|
"onUpdate:modelValue": (r) => a.value[e.field.addressNation] = r,
|
|
161
544
|
placeholder: ((l = e.optionsSelectNation) == null ? void 0 : l.placeholder) || "请选择",
|
|
162
545
|
clearable: e.clearable
|
|
163
546
|
}, {
|
|
164
|
-
default:
|
|
547
|
+
default: d(() => {
|
|
165
548
|
var r;
|
|
166
549
|
return [
|
|
167
|
-
(s(!0),
|
|
168
|
-
var
|
|
169
|
-
return s(),
|
|
170
|
-
key:
|
|
171
|
-
label:
|
|
172
|
-
value:
|
|
550
|
+
(s(!0), v(w, null, _((r = e.optionsSelectNation) == null ? void 0 : r.data, (n) => {
|
|
551
|
+
var u, t, b;
|
|
552
|
+
return s(), y(K, {
|
|
553
|
+
key: n[((u = e.optionsSelectNation) == null ? void 0 : u.valueKey) || "code"],
|
|
554
|
+
label: n[((t = e.optionsSelectNation) == null ? void 0 : t.labelkey) || "name"],
|
|
555
|
+
value: n[((b = e.optionsSelectNation) == null ? void 0 : b.valueKey) || "code"]
|
|
173
556
|
}, null, 8, ["label", "value"]);
|
|
174
557
|
}), 128))
|
|
175
558
|
];
|
|
@@ -180,29 +563,29 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
180
563
|
}),
|
|
181
564
|
_: 2
|
|
182
565
|
}, 1032, ["rules", "prop"]),
|
|
183
|
-
|
|
566
|
+
o(p, {
|
|
184
567
|
rules: e.rules.addressCity,
|
|
185
568
|
prop: [e.field.addressCity],
|
|
186
569
|
style: { display: "inline-block!important", "margin-right": "40px", width: "20%" }
|
|
187
570
|
}, {
|
|
188
|
-
default:
|
|
571
|
+
default: d(() => {
|
|
189
572
|
var l;
|
|
190
573
|
return [
|
|
191
|
-
|
|
574
|
+
o(A, {
|
|
192
575
|
modelValue: a.value[e.field.addressCity],
|
|
193
576
|
"onUpdate:modelValue": (r) => a.value[e.field.addressCity] = r,
|
|
194
577
|
placeholder: ((l = e.optionsSelectCity) == null ? void 0 : l.placeholder) || "请选择",
|
|
195
578
|
clearable: e.clearable
|
|
196
579
|
}, {
|
|
197
|
-
default:
|
|
580
|
+
default: d(() => {
|
|
198
581
|
var r;
|
|
199
582
|
return [
|
|
200
|
-
(s(!0),
|
|
201
|
-
var
|
|
202
|
-
return s(),
|
|
203
|
-
key:
|
|
204
|
-
label:
|
|
205
|
-
value:
|
|
583
|
+
(s(!0), v(w, null, _((r = e.optionsSelectCity) == null ? void 0 : r.data, (n) => {
|
|
584
|
+
var u, t, b;
|
|
585
|
+
return s(), y(K, {
|
|
586
|
+
key: n[((u = e.optionsSelectCity) == null ? void 0 : u.valueKey) || "code"],
|
|
587
|
+
label: n[((t = e.optionsSelectCity) == null ? void 0 : t.labelkey) || "name"],
|
|
588
|
+
value: n[((b = e.optionsSelectCity) == null ? void 0 : b.valueKey) || "code"]
|
|
206
589
|
}, null, 8, ["label", "value"]);
|
|
207
590
|
}), 128))
|
|
208
591
|
];
|
|
@@ -213,29 +596,29 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
213
596
|
}),
|
|
214
597
|
_: 2
|
|
215
598
|
}, 1032, ["rules", "prop"]),
|
|
216
|
-
|
|
599
|
+
o(p, {
|
|
217
600
|
rules: e.rules.addressArea,
|
|
218
601
|
prop: [e.field.addressArea],
|
|
219
602
|
style: { display: "inline-block!important", "margin-right": "40px", width: "20%" }
|
|
220
603
|
}, {
|
|
221
|
-
default:
|
|
604
|
+
default: d(() => {
|
|
222
605
|
var l;
|
|
223
606
|
return [
|
|
224
|
-
|
|
607
|
+
o(A, {
|
|
225
608
|
modelValue: a.value[e.field.addressArea],
|
|
226
609
|
"onUpdate:modelValue": (r) => a.value[e.field.addressArea] = r,
|
|
227
610
|
placeholder: ((l = e.optionsSelectArea) == null ? void 0 : l.placeholder) || "请选择",
|
|
228
611
|
clearable: e.clearable
|
|
229
612
|
}, {
|
|
230
|
-
default:
|
|
613
|
+
default: d(() => {
|
|
231
614
|
var r;
|
|
232
615
|
return [
|
|
233
|
-
(s(!0),
|
|
234
|
-
var
|
|
235
|
-
return s(),
|
|
236
|
-
key:
|
|
237
|
-
label:
|
|
238
|
-
value:
|
|
616
|
+
(s(!0), v(w, null, _((r = e.optionsSelectArea) == null ? void 0 : r.data, (n) => {
|
|
617
|
+
var u, t, b;
|
|
618
|
+
return s(), y(K, {
|
|
619
|
+
key: n[((u = e.optionsSelectArea) == null ? void 0 : u.valueKey) || "code"],
|
|
620
|
+
label: n[((t = e.optionsSelectArea) == null ? void 0 : t.labelkey) || "name"],
|
|
621
|
+
value: n[((b = e.optionsSelectArea) == null ? void 0 : b.valueKey) || "code"]
|
|
239
622
|
}, null, 8, ["label", "value"]);
|
|
240
623
|
}), 128))
|
|
241
624
|
];
|
|
@@ -246,29 +629,29 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
246
629
|
}),
|
|
247
630
|
_: 2
|
|
248
631
|
}, 1032, ["rules", "prop"]),
|
|
249
|
-
|
|
632
|
+
o(p, {
|
|
250
633
|
rules: e.rules.addressAreaC,
|
|
251
634
|
prop: [e.field.addressAreaC],
|
|
252
635
|
style: { display: "inline-block!important", "margin-right": "40px", width: "20%" }
|
|
253
636
|
}, {
|
|
254
|
-
default:
|
|
637
|
+
default: d(() => {
|
|
255
638
|
var l;
|
|
256
639
|
return [
|
|
257
|
-
|
|
640
|
+
o(A, {
|
|
258
641
|
modelValue: a.value[e.field.addressAreaC],
|
|
259
642
|
"onUpdate:modelValue": (r) => a.value[e.field.addressAreaC] = r,
|
|
260
643
|
placeholder: ((l = e.optionsSelectAreaC) == null ? void 0 : l.placeholder) || "请选择",
|
|
261
644
|
clearable: e.clearable
|
|
262
645
|
}, {
|
|
263
|
-
default:
|
|
646
|
+
default: d(() => {
|
|
264
647
|
var r;
|
|
265
648
|
return [
|
|
266
|
-
(s(!0),
|
|
267
|
-
var
|
|
268
|
-
return s(),
|
|
269
|
-
key:
|
|
270
|
-
label:
|
|
271
|
-
value:
|
|
649
|
+
(s(!0), v(w, null, _((r = e.optionsSelectAreaC) == null ? void 0 : r.data, (n) => {
|
|
650
|
+
var u, t, b;
|
|
651
|
+
return s(), y(K, {
|
|
652
|
+
key: n[((u = e.optionsSelectAreaC) == null ? void 0 : u.valueKey) || "code"],
|
|
653
|
+
label: n[((t = e.optionsSelectAreaC) == null ? void 0 : t.labelkey) || "name"],
|
|
654
|
+
value: n[((b = e.optionsSelectAreaC) == null ? void 0 : b.valueKey) || "code"]
|
|
272
655
|
}, null, 8, ["label", "value"]);
|
|
273
656
|
}), 128))
|
|
274
657
|
];
|
|
@@ -280,13 +663,13 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
280
663
|
_: 2
|
|
281
664
|
}, 1032, ["rules", "prop"])
|
|
282
665
|
]),
|
|
283
|
-
|
|
666
|
+
o(p, {
|
|
284
667
|
rules: e.rules.addressStreet,
|
|
285
668
|
prop: [e.field.addressStreet],
|
|
286
669
|
class: "item-address"
|
|
287
670
|
}, {
|
|
288
|
-
default:
|
|
289
|
-
|
|
671
|
+
default: d(() => [
|
|
672
|
+
o(f, {
|
|
290
673
|
modelValue: a.value[e.field.addressStreet],
|
|
291
674
|
"onUpdate:modelValue": (l) => a.value[e.field.addressStreet] = l,
|
|
292
675
|
readonly: e.readonly,
|
|
@@ -295,18 +678,18 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
295
678
|
disabled: e.disabled,
|
|
296
679
|
showPassword: e.showPassword,
|
|
297
680
|
clearable: e.clearable,
|
|
298
|
-
onKeyup:
|
|
681
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
299
682
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
300
683
|
]),
|
|
301
684
|
_: 2
|
|
302
685
|
}, 1032, ["rules", "prop"]),
|
|
303
|
-
|
|
686
|
+
o(p, {
|
|
304
687
|
rules: e.rules.addressHouse,
|
|
305
688
|
prop: [e.field.addressHouse],
|
|
306
689
|
class: "item-address"
|
|
307
690
|
}, {
|
|
308
|
-
default:
|
|
309
|
-
|
|
691
|
+
default: d(() => [
|
|
692
|
+
o(f, {
|
|
310
693
|
modelValue: a.value[e.field.addressHouse],
|
|
311
694
|
"onUpdate:modelValue": (l) => a.value[e.field.addressHouse] = l,
|
|
312
695
|
readonly: e.readonly,
|
|
@@ -315,18 +698,18 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
315
698
|
disabled: e.disabled,
|
|
316
699
|
showPassword: e.showPassword,
|
|
317
700
|
clearable: e.clearable,
|
|
318
|
-
onKeyup:
|
|
701
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
319
702
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
320
703
|
]),
|
|
321
704
|
_: 2
|
|
322
705
|
}, 1032, ["rules", "prop"]),
|
|
323
|
-
|
|
706
|
+
o(p, {
|
|
324
707
|
rules: e.rules.addressMansion,
|
|
325
708
|
prop: [e.field.addressMansion],
|
|
326
709
|
class: "item-address"
|
|
327
710
|
}, {
|
|
328
|
-
default:
|
|
329
|
-
|
|
711
|
+
default: d(() => [
|
|
712
|
+
o(f, {
|
|
330
713
|
modelValue: a.value[e.field.addressMansion],
|
|
331
714
|
"onUpdate:modelValue": (l) => a.value[e.field.addressMansion] = l,
|
|
332
715
|
readonly: e.readonly,
|
|
@@ -335,19 +718,19 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
335
718
|
disabled: e.disabled,
|
|
336
719
|
showPassword: e.showPassword,
|
|
337
720
|
clearable: e.clearable,
|
|
338
|
-
onKeyup:
|
|
721
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
339
722
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
340
723
|
]),
|
|
341
724
|
_: 2
|
|
342
725
|
}, 1032, ["rules", "prop"]),
|
|
343
|
-
a.value.addressLang == "1" ? (s(),
|
|
344
|
-
|
|
726
|
+
a.value.addressLang == "1" ? (s(), v("div", fe, [
|
|
727
|
+
o(p, {
|
|
345
728
|
rules: e.rules.block,
|
|
346
729
|
prop: [e.field.block],
|
|
347
730
|
style: { display: "inline-block!important", width: "24%" }
|
|
348
731
|
}, {
|
|
349
|
-
default:
|
|
350
|
-
|
|
732
|
+
default: d(() => [
|
|
733
|
+
o(f, {
|
|
351
734
|
modelValue: a.value[e.field.block],
|
|
352
735
|
"onUpdate:modelValue": (l) => a.value[e.field.block] = l,
|
|
353
736
|
readonly: e.readonly,
|
|
@@ -356,19 +739,19 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
356
739
|
disabled: e.disabled,
|
|
357
740
|
showPassword: e.showPassword,
|
|
358
741
|
clearable: e.clearable,
|
|
359
|
-
onKeyup:
|
|
742
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
360
743
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
361
744
|
]),
|
|
362
745
|
_: 2
|
|
363
746
|
}, 1032, ["rules", "prop"]),
|
|
364
|
-
|
|
365
|
-
|
|
747
|
+
V(" 座 "),
|
|
748
|
+
o(p, {
|
|
366
749
|
rules: e.rules.floor,
|
|
367
750
|
prop: [e.field.floor],
|
|
368
751
|
style: { display: "inline-block!important", width: "24%", "margin-left": "60px" }
|
|
369
752
|
}, {
|
|
370
|
-
default:
|
|
371
|
-
|
|
753
|
+
default: d(() => [
|
|
754
|
+
o(f, {
|
|
372
755
|
modelValue: a.value[e.field.floor],
|
|
373
756
|
"onUpdate:modelValue": (l) => a.value[e.field.floor] = l,
|
|
374
757
|
readonly: e.readonly,
|
|
@@ -377,19 +760,19 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
377
760
|
disabled: e.disabled,
|
|
378
761
|
showPassword: e.showPassword,
|
|
379
762
|
clearable: e.clearable,
|
|
380
|
-
onKeyup:
|
|
763
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
381
764
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
382
765
|
]),
|
|
383
766
|
_: 2
|
|
384
767
|
}, 1032, ["rules", "prop"]),
|
|
385
|
-
|
|
386
|
-
|
|
768
|
+
V(" 樓 "),
|
|
769
|
+
o(p, {
|
|
387
770
|
rules: e.rules.flat,
|
|
388
771
|
prop: [e.field.flat],
|
|
389
772
|
style: { display: "inline-block!important", width: "24%", "margin-left": "60px" }
|
|
390
773
|
}, {
|
|
391
|
-
default:
|
|
392
|
-
|
|
774
|
+
default: d(() => [
|
|
775
|
+
o(f, {
|
|
393
776
|
modelValue: a.value[e.field.flat],
|
|
394
777
|
"onUpdate:modelValue": (l) => a.value[e.field.flat] = l,
|
|
395
778
|
readonly: e.readonly,
|
|
@@ -398,21 +781,21 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
398
781
|
disabled: e.disabled,
|
|
399
782
|
showPassword: e.showPassword,
|
|
400
783
|
clearable: e.clearable,
|
|
401
|
-
onKeyup:
|
|
784
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
402
785
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
403
786
|
]),
|
|
404
787
|
_: 2
|
|
405
788
|
}, 1032, ["rules", "prop"]),
|
|
406
|
-
|
|
407
|
-
])) :
|
|
408
|
-
a.value.addressLang == "2" ? (s(),
|
|
409
|
-
|
|
789
|
+
V(" 室 ")
|
|
790
|
+
])) : z("", !0),
|
|
791
|
+
a.value.addressLang == "2" ? (s(), v("div", he, [
|
|
792
|
+
o(p, {
|
|
410
793
|
rules: e.rules.block,
|
|
411
794
|
prop: [e.field.block],
|
|
412
795
|
style: { display: "inline-block!important", width: "24%" }
|
|
413
796
|
}, {
|
|
414
|
-
default:
|
|
415
|
-
|
|
797
|
+
default: d(() => [
|
|
798
|
+
o(f, {
|
|
416
799
|
modelValue: a.value[e.field.block],
|
|
417
800
|
"onUpdate:modelValue": (l) => a.value[e.field.block] = l,
|
|
418
801
|
readonly: e.readonly,
|
|
@@ -421,19 +804,19 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
421
804
|
disabled: e.disabled,
|
|
422
805
|
showPassword: e.showPassword,
|
|
423
806
|
clearable: e.clearable,
|
|
424
|
-
onKeyup:
|
|
807
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
425
808
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
426
809
|
]),
|
|
427
810
|
_: 2
|
|
428
811
|
}, 1032, ["rules", "prop"]),
|
|
429
|
-
|
|
430
|
-
|
|
812
|
+
V(" Block "),
|
|
813
|
+
o(p, {
|
|
431
814
|
rules: e.rules.floor,
|
|
432
815
|
prop: [e.field.floor],
|
|
433
816
|
style: { display: "inline-block!important", width: "24%", "margin-left": "60px" }
|
|
434
817
|
}, {
|
|
435
|
-
default:
|
|
436
|
-
|
|
818
|
+
default: d(() => [
|
|
819
|
+
o(f, {
|
|
437
820
|
modelValue: a.value[e.field.floor],
|
|
438
821
|
"onUpdate:modelValue": (l) => a.value[e.field.floor] = l,
|
|
439
822
|
readonly: e.readonly,
|
|
@@ -442,19 +825,19 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
442
825
|
disabled: e.disabled,
|
|
443
826
|
showPassword: e.showPassword,
|
|
444
827
|
clearable: e.clearable,
|
|
445
|
-
onKeyup:
|
|
828
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
446
829
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
447
830
|
]),
|
|
448
831
|
_: 2
|
|
449
832
|
}, 1032, ["rules", "prop"]),
|
|
450
|
-
|
|
451
|
-
|
|
833
|
+
V(" Floor "),
|
|
834
|
+
o(p, {
|
|
452
835
|
rules: e.rules.flat,
|
|
453
836
|
prop: [e.field.flat],
|
|
454
837
|
style: { display: "inline-block!important", width: "24%", "margin-left": "60px" }
|
|
455
838
|
}, {
|
|
456
|
-
default:
|
|
457
|
-
|
|
839
|
+
default: d(() => [
|
|
840
|
+
o(f, {
|
|
458
841
|
modelValue: a.value[e.field.flat],
|
|
459
842
|
"onUpdate:modelValue": (l) => a.value[e.field.flat] = l,
|
|
460
843
|
readonly: e.readonly,
|
|
@@ -463,125 +846,125 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
463
846
|
disabled: e.disabled,
|
|
464
847
|
showPassword: e.showPassword,
|
|
465
848
|
clearable: e.clearable,
|
|
466
|
-
onKeyup:
|
|
849
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
467
850
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
468
851
|
]),
|
|
469
852
|
_: 2
|
|
470
853
|
}, 1032, ["rules", "prop"]),
|
|
471
|
-
|
|
472
|
-
])) :
|
|
473
|
-
|
|
854
|
+
V(" Flat ")
|
|
855
|
+
])) : z("", !0),
|
|
856
|
+
x(c.$slots, "address", {}, void 0, !0)
|
|
474
857
|
]),
|
|
475
858
|
_: 2
|
|
476
|
-
}, 1032, ["rules", "prop"])) : e.type === "name" ? (s(),
|
|
477
|
-
key:
|
|
859
|
+
}, 1032, ["rules", "prop"])) : e.type === "name" ? (s(), y(p, {
|
|
860
|
+
key: 3,
|
|
478
861
|
label: e.label,
|
|
479
862
|
class: "container",
|
|
480
863
|
rules: e.rules.nameEnFamily
|
|
481
864
|
}, {
|
|
482
|
-
default:
|
|
483
|
-
|
|
865
|
+
default: d(() => [
|
|
866
|
+
o(p, {
|
|
484
867
|
rules: e.rules.nameEnFamily,
|
|
485
868
|
prop: [e.field.nameEnFamily],
|
|
486
869
|
class: "item-name"
|
|
487
870
|
}, {
|
|
488
|
-
default:
|
|
489
|
-
|
|
871
|
+
default: d(() => [
|
|
872
|
+
o(f, {
|
|
490
873
|
modelValue: a.value[e.field.nameEnFamily],
|
|
491
874
|
"onUpdate:modelValue": (l) => a.value[e.field.nameEnFamily] = l,
|
|
492
875
|
readonly: e.readonly,
|
|
493
876
|
type: e.type ? e.type : "text",
|
|
494
877
|
placeholder: e.placeholderNameEnFamily,
|
|
495
878
|
disabled: e.disabled,
|
|
496
|
-
onKeyup:
|
|
879
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
497
880
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
498
881
|
]),
|
|
499
882
|
_: 2
|
|
500
883
|
}, 1032, ["rules", "prop"]),
|
|
501
|
-
|
|
884
|
+
o(p, {
|
|
502
885
|
rules: e.rules.nameChFamily,
|
|
503
886
|
prop: [e.field.nameChFamily],
|
|
504
887
|
class: "item-name"
|
|
505
888
|
}, {
|
|
506
|
-
default:
|
|
507
|
-
|
|
889
|
+
default: d(() => [
|
|
890
|
+
o(f, {
|
|
508
891
|
modelValue: a.value[e.field.nameChFamily],
|
|
509
892
|
"onUpdate:modelValue": (l) => a.value[e.field.nameChFamily] = l,
|
|
510
893
|
readonly: e.readonly,
|
|
511
894
|
type: e.type ? e.type : "text",
|
|
512
895
|
placeholder: e.placeholderNameChFamily,
|
|
513
896
|
disabled: e.disabled,
|
|
514
|
-
onKeyup:
|
|
897
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
515
898
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
516
899
|
]),
|
|
517
900
|
_: 2
|
|
518
901
|
}, 1032, ["rules", "prop"]),
|
|
519
|
-
|
|
902
|
+
o(p, {
|
|
520
903
|
rules: e.rules.nameEn,
|
|
521
904
|
prop: [e.field.nameEn],
|
|
522
905
|
class: "item-name"
|
|
523
906
|
}, {
|
|
524
|
-
default:
|
|
525
|
-
|
|
907
|
+
default: d(() => [
|
|
908
|
+
o(f, {
|
|
526
909
|
modelValue: a.value[e.field.nameEn],
|
|
527
910
|
"onUpdate:modelValue": (l) => a.value[e.field.nameEn] = l,
|
|
528
911
|
readonly: e.readonly,
|
|
529
912
|
type: e.type ? e.type : "text",
|
|
530
913
|
placeholder: e.placeholderNameEn,
|
|
531
914
|
disabled: e.disabled,
|
|
532
|
-
onKeyup:
|
|
915
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
533
916
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
534
917
|
]),
|
|
535
918
|
_: 2
|
|
536
919
|
}, 1032, ["rules", "prop"]),
|
|
537
|
-
|
|
920
|
+
o(p, {
|
|
538
921
|
rules: e.rules.nameCh,
|
|
539
922
|
prop: [e.field.nameCh],
|
|
540
923
|
class: "item-name"
|
|
541
924
|
}, {
|
|
542
|
-
default:
|
|
543
|
-
|
|
925
|
+
default: d(() => [
|
|
926
|
+
o(f, {
|
|
544
927
|
modelValue: a.value[e.field.nameCh],
|
|
545
928
|
"onUpdate:modelValue": (l) => a.value[e.field.nameCh] = l,
|
|
546
929
|
readonly: e.readonly,
|
|
547
930
|
type: e.type ? e.type : "text",
|
|
548
931
|
placeholder: e.placeholderNameCh,
|
|
549
932
|
disabled: e.disabled,
|
|
550
|
-
onKeyup:
|
|
933
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
551
934
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
552
935
|
]),
|
|
553
936
|
_: 2
|
|
554
937
|
}, 1032, ["rules", "prop"])
|
|
555
938
|
]),
|
|
556
939
|
_: 2
|
|
557
|
-
}, 1032, ["label", "rules"])) : e.type === "gender" ? (s(),
|
|
558
|
-
key:
|
|
940
|
+
}, 1032, ["label", "rules"])) : e.type === "gender" ? (s(), y(p, {
|
|
941
|
+
key: 4,
|
|
559
942
|
label: e.label,
|
|
560
943
|
rules: e.rules,
|
|
561
944
|
prop: [e.field]
|
|
562
945
|
}, {
|
|
563
|
-
default:
|
|
564
|
-
|
|
946
|
+
default: d(() => [
|
|
947
|
+
o(I, {
|
|
565
948
|
modelValue: a.value[e.field],
|
|
566
949
|
"onUpdate:modelValue": (l) => a.value[e.field] = l,
|
|
567
950
|
disabled: e.disabled
|
|
568
951
|
}, {
|
|
569
|
-
default:
|
|
952
|
+
default: d(() => {
|
|
570
953
|
var l;
|
|
571
954
|
return [
|
|
572
|
-
(s(!0),
|
|
573
|
-
var
|
|
574
|
-
return s(),
|
|
575
|
-
label: r[((
|
|
955
|
+
(s(!0), v(w, null, _((l = e.options) == null ? void 0 : l.data, (r) => {
|
|
956
|
+
var n, u;
|
|
957
|
+
return s(), y(S, {
|
|
958
|
+
label: r[((n = e.options) == null ? void 0 : n.valueKey) || "code"],
|
|
576
959
|
size: "large",
|
|
577
|
-
key: r[((
|
|
960
|
+
key: r[((u = e.options) == null ? void 0 : u.valueKey) || "code"]
|
|
578
961
|
}, {
|
|
579
|
-
default:
|
|
962
|
+
default: d(() => [
|
|
580
963
|
P("img", {
|
|
581
964
|
src: r.code === "M" ? "http://192.168.5.200:9000/test/sex_img_M.png" : "http://192.168.5.200:9000/test/sex_img_F.png",
|
|
582
965
|
style: { width: "44px", height: "44px", "margin-bottom": "-15px", "margin-left": "4px" },
|
|
583
966
|
alt: ""
|
|
584
|
-
}, null, 8,
|
|
967
|
+
}, null, 8, ve)
|
|
585
968
|
]),
|
|
586
969
|
_: 2
|
|
587
970
|
}, 1032, ["label"]);
|
|
@@ -592,32 +975,32 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
592
975
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
593
976
|
]),
|
|
594
977
|
_: 2
|
|
595
|
-
}, 1032, ["label", "rules", "prop"])) : e.type === "radio" ? (s(),
|
|
596
|
-
key:
|
|
978
|
+
}, 1032, ["label", "rules", "prop"])) : e.type === "radio" ? (s(), y(p, {
|
|
979
|
+
key: 5,
|
|
597
980
|
label: e.label,
|
|
598
981
|
rules: e.rules,
|
|
599
982
|
prop: [e.field]
|
|
600
983
|
}, {
|
|
601
|
-
default:
|
|
602
|
-
|
|
984
|
+
default: d(() => [
|
|
985
|
+
o(I, {
|
|
603
986
|
modelValue: a.value[e.field],
|
|
604
987
|
"onUpdate:modelValue": (l) => a.value[e.field] = l,
|
|
605
988
|
disabled: e.disabled
|
|
606
989
|
}, {
|
|
607
|
-
default:
|
|
990
|
+
default: d(() => {
|
|
608
991
|
var l;
|
|
609
992
|
return [
|
|
610
|
-
(s(!0),
|
|
611
|
-
var
|
|
612
|
-
return s(),
|
|
993
|
+
(s(!0), v(w, null, _((l = e.options) == null ? void 0 : l.data, (r) => {
|
|
994
|
+
var n, u;
|
|
995
|
+
return s(), y(S, {
|
|
613
996
|
size: "large",
|
|
614
|
-
label: r[((
|
|
615
|
-
key: r[((
|
|
997
|
+
label: r[((n = e.options) == null ? void 0 : n.valueKey) || "code"],
|
|
998
|
+
key: r[((u = e.options) == null ? void 0 : u.valueKey) || "code"]
|
|
616
999
|
}, {
|
|
617
|
-
default:
|
|
618
|
-
var
|
|
1000
|
+
default: d(() => {
|
|
1001
|
+
var t;
|
|
619
1002
|
return [
|
|
620
|
-
|
|
1003
|
+
V(j(r[((t = e.options) == null ? void 0 : t.labelkey) || "name"]), 1)
|
|
621
1004
|
];
|
|
622
1005
|
}),
|
|
623
1006
|
_: 2
|
|
@@ -629,34 +1012,34 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
629
1012
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
630
1013
|
]),
|
|
631
1014
|
_: 2
|
|
632
|
-
}, 1032, ["label", "rules", "prop"])) : e.type === "checkbox" ? (s(),
|
|
633
|
-
key:
|
|
1015
|
+
}, 1032, ["label", "rules", "prop"])) : e.type === "checkbox" ? (s(), y(p, {
|
|
1016
|
+
key: 6,
|
|
634
1017
|
label: e.label,
|
|
635
1018
|
rules: e.rules,
|
|
636
1019
|
prop: [e.field]
|
|
637
1020
|
}, {
|
|
638
|
-
default:
|
|
639
|
-
|
|
1021
|
+
default: d(() => [
|
|
1022
|
+
o(X, {
|
|
640
1023
|
modelValue: a.value[e.field],
|
|
641
1024
|
"onUpdate:modelValue": (l) => a.value[e.field] = l,
|
|
642
1025
|
disabled: e.disabled,
|
|
643
|
-
style:
|
|
1026
|
+
style: G(
|
|
644
1027
|
e.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
645
1028
|
)
|
|
646
1029
|
}, {
|
|
647
|
-
default:
|
|
1030
|
+
default: d(() => {
|
|
648
1031
|
var l;
|
|
649
1032
|
return [
|
|
650
|
-
(s(!0),
|
|
651
|
-
var
|
|
652
|
-
return s(),
|
|
653
|
-
key: r[((
|
|
654
|
-
label: r[((
|
|
1033
|
+
(s(!0), v(w, null, _((l = e.options) == null ? void 0 : l.data, (r) => {
|
|
1034
|
+
var n, u;
|
|
1035
|
+
return s(), y(O, {
|
|
1036
|
+
key: r[((n = e.options) == null ? void 0 : n.valueKey) || "code"],
|
|
1037
|
+
label: r[((u = e.options) == null ? void 0 : u.valueKey) || "code"]
|
|
655
1038
|
}, {
|
|
656
|
-
default:
|
|
657
|
-
var
|
|
1039
|
+
default: d(() => {
|
|
1040
|
+
var t;
|
|
658
1041
|
return [
|
|
659
|
-
|
|
1042
|
+
V(j(r[((t = e.options) == null ? void 0 : t.labelkey) || "name"]), 1)
|
|
660
1043
|
];
|
|
661
1044
|
}),
|
|
662
1045
|
_: 2
|
|
@@ -668,30 +1051,30 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
668
1051
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "style"])
|
|
669
1052
|
]),
|
|
670
1053
|
_: 2
|
|
671
|
-
}, 1032, ["label", "rules", "prop"])) : e.type === "select" ? (s(),
|
|
672
|
-
key:
|
|
1054
|
+
}, 1032, ["label", "rules", "prop"])) : e.type === "select" ? (s(), y(p, {
|
|
1055
|
+
key: 7,
|
|
673
1056
|
label: e.label,
|
|
674
1057
|
rules: e.rules,
|
|
675
1058
|
prop: [e.field]
|
|
676
1059
|
}, {
|
|
677
|
-
default:
|
|
1060
|
+
default: d(() => {
|
|
678
1061
|
var l;
|
|
679
1062
|
return [
|
|
680
|
-
|
|
1063
|
+
o(A, {
|
|
681
1064
|
modelValue: a.value[e.field],
|
|
682
1065
|
"onUpdate:modelValue": (r) => a.value[e.field] = r,
|
|
683
1066
|
placeholder: ((l = e.options) == null ? void 0 : l.placeholder) || "请选择",
|
|
684
1067
|
clearable: e.clearable
|
|
685
1068
|
}, {
|
|
686
|
-
default:
|
|
1069
|
+
default: d(() => {
|
|
687
1070
|
var r;
|
|
688
1071
|
return [
|
|
689
|
-
(s(!0),
|
|
690
|
-
var
|
|
691
|
-
return s(),
|
|
692
|
-
key:
|
|
693
|
-
label:
|
|
694
|
-
value:
|
|
1072
|
+
(s(!0), v(w, null, _((r = e.options) == null ? void 0 : r.data, (n) => {
|
|
1073
|
+
var u, t, b;
|
|
1074
|
+
return s(), y(K, {
|
|
1075
|
+
key: n[((u = e.options) == null ? void 0 : u.valueKey) || "code"],
|
|
1076
|
+
label: n[((t = e.options) == null ? void 0 : t.labelkey) || "name"],
|
|
1077
|
+
value: n[((b = e.options) == null ? void 0 : b.valueKey) || "code"]
|
|
695
1078
|
}, null, 8, ["label", "value"]);
|
|
696
1079
|
}), 128))
|
|
697
1080
|
];
|
|
@@ -701,14 +1084,14 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
701
1084
|
];
|
|
702
1085
|
}),
|
|
703
1086
|
_: 2
|
|
704
|
-
}, 1032, ["label", "rules", "prop"])) : e.type === "datetime" ? (s(),
|
|
705
|
-
key:
|
|
1087
|
+
}, 1032, ["label", "rules", "prop"])) : e.type === "datetime" ? (s(), y(p, {
|
|
1088
|
+
key: 8,
|
|
706
1089
|
label: e.label,
|
|
707
1090
|
rules: e.rules,
|
|
708
1091
|
prop: [e.field]
|
|
709
1092
|
}, {
|
|
710
|
-
default:
|
|
711
|
-
|
|
1093
|
+
default: d(() => [
|
|
1094
|
+
o(q, {
|
|
712
1095
|
modelValue: a.value[e.field],
|
|
713
1096
|
"onUpdate:modelValue": (l) => a.value[e.field] = l,
|
|
714
1097
|
readonly: e.readonly,
|
|
@@ -719,60 +1102,60 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
719
1102
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "placeholder", "default-time", "value-format"])
|
|
720
1103
|
]),
|
|
721
1104
|
_: 2
|
|
722
|
-
}, 1032, ["label", "rules", "prop"])) : e.type === "slotItem1" ? (s(),
|
|
723
|
-
default:
|
|
724
|
-
|
|
1105
|
+
}, 1032, ["label", "rules", "prop"])) : e.type === "slotItem1" ? (s(), y(p, { key: 9 }, {
|
|
1106
|
+
default: d(() => [
|
|
1107
|
+
x(c.$slots, "slotItem1", {}, void 0, !0)
|
|
725
1108
|
]),
|
|
726
1109
|
_: 3
|
|
727
|
-
})) : e.type === "slotItem2" ? (s(),
|
|
728
|
-
default:
|
|
729
|
-
|
|
1110
|
+
})) : e.type === "slotItem2" ? (s(), y(p, { key: 10 }, {
|
|
1111
|
+
default: d(() => [
|
|
1112
|
+
x(c.$slots, "slotItem2", {}, void 0, !0)
|
|
730
1113
|
]),
|
|
731
1114
|
_: 3
|
|
732
|
-
})) : e.type === "slotItem3" ? (s(),
|
|
733
|
-
default:
|
|
734
|
-
|
|
1115
|
+
})) : e.type === "slotItem3" ? (s(), y(p, { key: 11 }, {
|
|
1116
|
+
default: d(() => [
|
|
1117
|
+
x(c.$slots, "slotItem3", {}, void 0, !0)
|
|
735
1118
|
]),
|
|
736
1119
|
_: 3
|
|
737
|
-
})) : e.type === "slotItem4" ? (s(),
|
|
738
|
-
default:
|
|
739
|
-
|
|
1120
|
+
})) : e.type === "slotItem4" ? (s(), y(p, { key: 12 }, {
|
|
1121
|
+
default: d(() => [
|
|
1122
|
+
x(c.$slots, "slotItem4", {}, void 0, !0)
|
|
740
1123
|
]),
|
|
741
1124
|
_: 3
|
|
742
|
-
})) : e.type === "slotItem5" ? (s(),
|
|
743
|
-
default:
|
|
744
|
-
|
|
1125
|
+
})) : e.type === "slotItem5" ? (s(), y(p, { key: 13 }, {
|
|
1126
|
+
default: d(() => [
|
|
1127
|
+
x(c.$slots, "slotItem5", {}, void 0, !0)
|
|
745
1128
|
]),
|
|
746
1129
|
_: 3
|
|
747
|
-
})) : e.type === "phone" ? (s(),
|
|
748
|
-
key:
|
|
1130
|
+
})) : e.type === "phone" ? (s(), y(p, {
|
|
1131
|
+
key: 14,
|
|
749
1132
|
label: e.label,
|
|
750
1133
|
rules: e.rules.phoneNumber,
|
|
751
1134
|
prop: [e.field.phoneNumber]
|
|
752
1135
|
}, {
|
|
753
|
-
default:
|
|
754
|
-
|
|
1136
|
+
default: d(() => [
|
|
1137
|
+
o(f, {
|
|
755
1138
|
modelValue: a.value[e.field.phoneNumber],
|
|
756
1139
|
"onUpdate:modelValue": (l) => a.value[e.field.phoneNumber] = l,
|
|
757
1140
|
placeholder: e.placeholder || "请选择",
|
|
758
1141
|
clearable: e.clearable
|
|
759
1142
|
}, {
|
|
760
|
-
prepend:
|
|
1143
|
+
prepend: d(() => {
|
|
761
1144
|
var l;
|
|
762
1145
|
return [
|
|
763
|
-
|
|
1146
|
+
o(A, {
|
|
764
1147
|
modelValue: a.value[e.field.areaCode],
|
|
765
1148
|
"onUpdate:modelValue": (r) => a.value[e.field.areaCode] = r,
|
|
766
1149
|
placeholder: ((l = e.options) == null ? void 0 : l.placeholder) || "请选择",
|
|
767
1150
|
style: { width: "115px" }
|
|
768
1151
|
}, {
|
|
769
|
-
default:
|
|
1152
|
+
default: d(() => {
|
|
770
1153
|
var r;
|
|
771
1154
|
return [
|
|
772
|
-
(s(!0),
|
|
773
|
-
label:
|
|
774
|
-
value:
|
|
775
|
-
key:
|
|
1155
|
+
(s(!0), v(w, null, _((r = e.options) == null ? void 0 : r.data, (n, u) => (s(), y(K, {
|
|
1156
|
+
label: n.name,
|
|
1157
|
+
value: n.code,
|
|
1158
|
+
key: u
|
|
776
1159
|
}, null, 8, ["label", "value"]))), 128))
|
|
777
1160
|
];
|
|
778
1161
|
}),
|
|
@@ -784,14 +1167,14 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
784
1167
|
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable"])
|
|
785
1168
|
]),
|
|
786
1169
|
_: 2
|
|
787
|
-
}, 1032, ["label", "rules", "prop"])) : (s(),
|
|
788
|
-
key:
|
|
1170
|
+
}, 1032, ["label", "rules", "prop"])) : (s(), y(p, {
|
|
1171
|
+
key: 15,
|
|
789
1172
|
label: e.label,
|
|
790
1173
|
rules: e.rules,
|
|
791
1174
|
prop: [e.field]
|
|
792
1175
|
}, {
|
|
793
|
-
default:
|
|
794
|
-
|
|
1176
|
+
default: d(() => [
|
|
1177
|
+
o(f, {
|
|
795
1178
|
modelValue: a.value[e.field],
|
|
796
1179
|
"onUpdate:modelValue": (l) => a.value[e.field] = l,
|
|
797
1180
|
readonly: e.readonly,
|
|
@@ -800,34 +1183,34 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
800
1183
|
disabled: e.disabled,
|
|
801
1184
|
showPassword: e.showPassword,
|
|
802
1185
|
clearable: e.clearable,
|
|
803
|
-
onKeyup:
|
|
1186
|
+
onKeyup: i((l) => h(e.enterable), ["enter"])
|
|
804
1187
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "showPassword", "clearable", "onKeyup"])
|
|
805
1188
|
]),
|
|
806
1189
|
_: 2
|
|
807
1190
|
}, 1032, ["label", "rules", "prop"]))
|
|
808
1191
|
], 6))), 128)),
|
|
809
|
-
|
|
810
|
-
default:
|
|
811
|
-
|
|
1192
|
+
o(p, { class: "btnsItem" }, {
|
|
1193
|
+
default: d(() => [
|
|
1194
|
+
x(c.$slots, "buttons", {
|
|
812
1195
|
model: a.value,
|
|
813
|
-
formRef:
|
|
1196
|
+
formRef: L.value
|
|
814
1197
|
}, () => [
|
|
815
|
-
(s(!0),
|
|
816
|
-
e.isShow ? (s(),
|
|
1198
|
+
(s(!0), v(w, null, _(E.value.btnConfig, (e, B) => (s(), v("div", { key: B }, [
|
|
1199
|
+
e.isShow ? (s(), y(J, {
|
|
817
1200
|
key: 0,
|
|
818
1201
|
size: 15,
|
|
819
1202
|
width: e.size,
|
|
820
1203
|
btnCode: e.btnCode,
|
|
821
1204
|
onHandleClick: (l) => {
|
|
822
|
-
|
|
1205
|
+
M(l, L.value, e.isRule, e.emitName);
|
|
823
1206
|
},
|
|
824
|
-
style:
|
|
1207
|
+
style: G(e.style)
|
|
825
1208
|
}, {
|
|
826
|
-
default:
|
|
827
|
-
|
|
1209
|
+
default: d(() => [
|
|
1210
|
+
V(j(e.name), 1)
|
|
828
1211
|
]),
|
|
829
1212
|
_: 2
|
|
830
|
-
}, 1032, ["width", "btnCode", "onHandleClick", "style"])) :
|
|
1213
|
+
}, 1032, ["width", "btnCode", "onHandleClick", "style"])) : z("", !0)
|
|
831
1214
|
]))), 128))
|
|
832
1215
|
], !0)
|
|
833
1216
|
]),
|
|
@@ -842,16 +1225,16 @@ const de = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAA
|
|
|
842
1225
|
};
|
|
843
1226
|
}
|
|
844
1227
|
});
|
|
845
|
-
const
|
|
846
|
-
const
|
|
847
|
-
for (const [g, a] of
|
|
848
|
-
|
|
849
|
-
return
|
|
850
|
-
},
|
|
851
|
-
function
|
|
852
|
-
|
|
1228
|
+
const Ve = (U, H) => {
|
|
1229
|
+
const F = U.__vccOpts || U;
|
|
1230
|
+
for (const [g, a] of H)
|
|
1231
|
+
F[g] = a;
|
|
1232
|
+
return F;
|
|
1233
|
+
}, Z = /* @__PURE__ */ Ve(ie, [["__scopeId", "data-v-5cd9078d"]]);
|
|
1234
|
+
function R(U, H = {}) {
|
|
1235
|
+
R.installed || (R.installed = !0, U.component("common-el-form", Z));
|
|
853
1236
|
}
|
|
854
|
-
|
|
1237
|
+
Z.install = R;
|
|
855
1238
|
export {
|
|
856
|
-
|
|
1239
|
+
Z as default
|
|
857
1240
|
};
|