yqform-h5 0.1.49 → 0.1.51
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/dist/style.css +1 -1
- package/dist/yqform-h5.es.js +34 -36
- package/dist/yqform-h5.umd.js +7 -7
- package/package.json +1 -1
package/dist/yqform-h5.es.js
CHANGED
|
@@ -12449,6 +12449,8 @@ const BE = {
|
|
|
12449
12449
|
Ss("get", "/services/bl/api/user/hospital", o).then((s) => {
|
|
12450
12450
|
if (a = s.totalPages, this.cusSearchValue === "" && (a = 2), this.item.options = s.content.map((u) => ({ id: u.id, content: u.name, ...u })), a === 0)
|
|
12451
12451
|
this.loadCustom = !1, this.optionEmpty = !0;
|
|
12452
|
+
else if (a === 1)
|
|
12453
|
+
this.loadCustom = !1, this.optionEmpty = !1;
|
|
12452
12454
|
else
|
|
12453
12455
|
for (let u = 1; u < a; u++)
|
|
12454
12456
|
this.optionEmpty = !1, o.page = u, o.size = 20, o.name = this.cusSearchValue, Ss("get", "/services/bl/api/user/hospital", o).then((d) => {
|
|
@@ -12630,7 +12632,7 @@ const BE = {
|
|
|
12630
12632
|
created() {
|
|
12631
12633
|
this.item.type === "rate" && (this.rateValue = 1), this.initDependValue(), this.item.type === "phone" && this.item.autoFill && this.item.autoFill.auto && this.item.autoFill.config && (this.textValue = this.item.autoFill.config()), this.item.type === "identity" && !this.item.emsg && (this.item.emsg = "身份证格式不正确");
|
|
12632
12634
|
}
|
|
12633
|
-
}, ba = (e) => (ld("data-v-
|
|
12635
|
+
}, ba = (e) => (ld("data-v-0d553b88"), e = e(), ud(), e), RE = {
|
|
12634
12636
|
key: 0,
|
|
12635
12637
|
class: "form-item-container"
|
|
12636
12638
|
}, FE = {
|
|
@@ -13243,7 +13245,7 @@ function kx(e, t, n, o, a, s) {
|
|
|
13243
13245
|
}, 8, ["show"])
|
|
13244
13246
|
])) : Ce("", !0);
|
|
13245
13247
|
}
|
|
13246
|
-
const cm = /* @__PURE__ */ vo(BE, [["render", kx], ["__scopeId", "data-v-
|
|
13248
|
+
const cm = /* @__PURE__ */ vo(BE, [["render", kx], ["__scopeId", "data-v-0d553b88"]]);
|
|
13247
13249
|
/*!
|
|
13248
13250
|
* vue-draggable-next v2.2.0
|
|
13249
13251
|
* (c) 2023 Anish George
|
|
@@ -15265,34 +15267,34 @@ const DS = {
|
|
|
15265
15267
|
required: !1,
|
|
15266
15268
|
default: !1
|
|
15267
15269
|
},
|
|
15268
|
-
|
|
15269
|
-
|
|
15270
|
-
|
|
15271
|
-
|
|
15272
|
-
|
|
15273
|
-
|
|
15274
|
-
|
|
15275
|
-
|
|
15276
|
-
|
|
15277
|
-
|
|
15278
|
-
|
|
15279
|
-
|
|
15280
|
-
|
|
15281
|
-
|
|
15282
|
-
|
|
15283
|
-
|
|
15284
|
-
|
|
15285
|
-
|
|
15286
|
-
|
|
15287
|
-
|
|
15288
|
-
|
|
15289
|
-
|
|
15290
|
-
|
|
15291
|
-
|
|
15292
|
-
|
|
15293
|
-
|
|
15294
|
-
|
|
15295
|
-
|
|
15270
|
+
form: {
|
|
15271
|
+
type: Object,
|
|
15272
|
+
default: function() {
|
|
15273
|
+
return {
|
|
15274
|
+
spec: {
|
|
15275
|
+
name: "",
|
|
15276
|
+
theme: {
|
|
15277
|
+
name: "show",
|
|
15278
|
+
color: "#07c160",
|
|
15279
|
+
header: "",
|
|
15280
|
+
footer: ""
|
|
15281
|
+
},
|
|
15282
|
+
unit: "页"
|
|
15283
|
+
},
|
|
15284
|
+
groups: [
|
|
15285
|
+
{
|
|
15286
|
+
gid: "templeteData",
|
|
15287
|
+
spec: {
|
|
15288
|
+
title: "",
|
|
15289
|
+
subtitle: "",
|
|
15290
|
+
unit: "页"
|
|
15291
|
+
},
|
|
15292
|
+
items: []
|
|
15293
|
+
}
|
|
15294
|
+
]
|
|
15295
|
+
};
|
|
15296
|
+
}
|
|
15297
|
+
},
|
|
15296
15298
|
answer: {
|
|
15297
15299
|
type: Object,
|
|
15298
15300
|
required: !1
|
|
@@ -15335,11 +15337,7 @@ const DS = {
|
|
|
15335
15337
|
data() {
|
|
15336
15338
|
return {
|
|
15337
15339
|
currentPageIndex: 0,
|
|
15338
|
-
dependValues: []
|
|
15339
|
-
form: {
|
|
15340
|
-
groups: [{ gid: "templeteData", spec: { unit: "页", title: "", subtitle: "" }, items: [{ key: "keyq3cb4y", emsg: "", type: "hos", title: "医院", weight: !1, depends: [], options: [], required: !0, subtitle: "", placeholder: "请选择医院" }], depends: [] }],
|
|
15341
|
-
spec: { name: "", unit: "页", theme: { name: "show", color: "#07c160", footer: "", header: "" } }
|
|
15342
|
-
}
|
|
15340
|
+
dependValues: []
|
|
15343
15341
|
};
|
|
15344
15342
|
},
|
|
15345
15343
|
provide() {
|
|
@@ -15432,7 +15430,7 @@ function RS(e, t, n, o, a, s) {
|
|
|
15432
15430
|
])) : Ce("", !0)
|
|
15433
15431
|
]);
|
|
15434
15432
|
}
|
|
15435
|
-
const xm = /* @__PURE__ */ vo(DS, [["render", RS], ["__scopeId", "data-v-
|
|
15433
|
+
const xm = /* @__PURE__ */ vo(DS, [["render", RS], ["__scopeId", "data-v-12b196df"]]);
|
|
15436
15434
|
const tt = (e) => e != null, go = (e) => typeof e == "function", er = (e) => e !== null && typeof e == "object", Md = (e) => er(e) && go(e.then) && go(e.catch), oo = (e) => Object.prototype.toString.call(e) === "[object Date]" && !Number.isNaN(e.getTime());
|
|
15437
15435
|
function FS(e) {
|
|
15438
15436
|
return e = e.replace(/[^-|\d]/g, ""), /^((\+86)|(86))?(1)\d{10}$/.test(e) || /^0[0-9-]{10,13}$/.test(e);
|