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