yqform-h5 0.1.48 → 0.1.50

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.
@@ -12074,7 +12074,7 @@ Ft.AxiosHeaders = Ir;
12074
12074
  Ft.formToJSON = (e) => om(X.isHTMLForm(e) ? new FormData(e) : e);
12075
12075
  Ft.HttpStatusCode = IE;
12076
12076
  Ft.default = Ft;
12077
- const Zo = Ft, kE = { VITE_DOMAIN_URL: "/log", VITE_ENV: "proddev", VITE_VIDEO_APP_ID: "1310300221", BASE_URL: "/", MODE: "proddev", DEV: !1, PROD: !0, SSR: !1 }, TE = `${kE.VITE_DOMAIN_URL}`, mc = 3e4;
12077
+ const Zo = Ft, kE = { VITE_DOMAIN_URL: "", VITE_ENV: "prod", VITE_VIDEO_APP_ID: "1500014793", BASE_URL: "/", MODE: "prod", DEV: !1, PROD: !0, SSR: !1 }, TE = `${kE.VITE_DOMAIN_URL}`, mc = 3e4;
12078
12078
  Zo.defaults.withCredentials = !0;
12079
12079
  Zo.defaults.baseURL = TE;
12080
12080
  const Ss = (e, t, n, o) => new Promise((a, s) => {
@@ -12444,20 +12444,20 @@ const BE = {
12444
12444
  });
12445
12445
  });
12446
12446
  } else if (this.item.type === "hos") {
12447
- const t = { page: 0, size: 20, name: this.cusSearchValue, pid: this.$route.query.pid };
12448
- let n = 0;
12449
- Ss("get", "/services/bl/api/user/hospital", t).then((o) => {
12450
- if (n = o.totalPages, this.cusSearchValue === "" && (n = 2), this.item.options = o.content.map((a) => ({ id: a.id, content: content.name, ...a })), n === 0)
12447
+ const t = window.location.search, n = new URLSearchParams(t), o = { page: 0, size: 20, name: this.cusSearchValue, pid: n.get("pid") };
12448
+ let a = 0;
12449
+ Ss("get", "/services/bl/api/user/hospital", o).then((s) => {
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
12452
  else
12453
- for (let a = 1; a < n; a++)
12454
- this.optionEmpty = !1, t.page = a, t.size = 20, t.name = this.cusSearchValue, Ss("get", "/services/bl/api/user/hospital", t).then((s) => {
12455
- s.content.forEach((u) => {
12456
- let d = { id: u.id, content: u.name, ...u };
12457
- console.log("obj >>", u), this.item.options.push(d);
12453
+ for (let u = 1; u < a; u++)
12454
+ this.optionEmpty = !1, o.page = u, o.size = 20, o.name = this.cusSearchValue, Ss("get", "/services/bl/api/user/hospital", o).then((d) => {
12455
+ d.content.forEach((f) => {
12456
+ let c = { id: f.id, content: f.name, ...f };
12457
+ console.log("obj >>", f), this.item.options.push(c);
12458
12458
  }), this.loadCustom = !1;
12459
- }).catch((s) => {
12460
- this.loadCustom = !1, console.log(s);
12459
+ }).catch((d) => {
12460
+ this.loadCustom = !1, console.log(d);
12461
12461
  });
12462
12462
  });
12463
12463
  }
@@ -12630,7 +12630,7 @@ const BE = {
12630
12630
  created() {
12631
12631
  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
12632
  }
12633
- }, ba = (e) => (ld("data-v-b25998c7"), e = e(), ud(), e), RE = {
12633
+ }, ba = (e) => (ld("data-v-c326186a"), e = e(), ud(), e), RE = {
12634
12634
  key: 0,
12635
12635
  class: "form-item-container"
12636
12636
  }, FE = {
@@ -13243,7 +13243,7 @@ function kx(e, t, n, o, a, s) {
13243
13243
  }, 8, ["show"])
13244
13244
  ])) : Ce("", !0);
13245
13245
  }
13246
- const cm = /* @__PURE__ */ vo(BE, [["render", kx], ["__scopeId", "data-v-b25998c7"]]);
13246
+ const cm = /* @__PURE__ */ vo(BE, [["render", kx], ["__scopeId", "data-v-c326186a"]]);
13247
13247
  /*!
13248
13248
  * vue-draggable-next v2.2.0
13249
13249
  * (c) 2023 Anish George
@@ -15347,7 +15347,9 @@ const DS = {
15347
15347
  computed: {
15348
15348
  // 根据分组依赖项显示的表单项
15349
15349
  formVisible() {
15350
- const e = { ...this.form }, t = [];
15350
+ const e = { ...this.form };
15351
+ console.log("[ obj ] >", e);
15352
+ const t = [];
15351
15353
  if (this.form.groups)
15352
15354
  return this.form.groups.forEach((n) => {
15353
15355
  this.isShow(n) ? t.push(n) : n.items.forEach((a) => {
@@ -15426,7 +15428,7 @@ function RS(e, t, n, o, a, s) {
15426
15428
  ])) : Ce("", !0)
15427
15429
  ]);
15428
15430
  }
15429
- const xm = /* @__PURE__ */ vo(DS, [["render", RS], ["__scopeId", "data-v-61dc854b"]]);
15431
+ const xm = /* @__PURE__ */ vo(DS, [["render", RS], ["__scopeId", "data-v-12b196df"]]);
15430
15432
  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());
15431
15433
  function FS(e) {
15432
15434
  return e = e.replace(/[^-|\d]/g, ""), /^((\+86)|(86))?(1)\d{10}$/.test(e) || /^0[0-9-]{10,13}$/.test(e);