jtxa-ui 1.0.0-beta.2 → 1.0.0-beta.3

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.
@@ -6148,7 +6148,7 @@ const Po = {
6148
6148
  },
6149
6149
  setup(e, { expose: t }) {
6150
6150
  const o = dD(
6151
- () => import("./jt-form-mttable-pc-DzRKhi09.js")
6151
+ () => import("./jt-form-mttable-pc-BHnc4Tn2.js")
6152
6152
  ), n = e, { page: r, form: l } = n, c = Ce(), u = rn(r), a = u.formtype === "jt-form-mttable-pc";
6153
6153
  if (!a && u.formConfig && u.formConfig.length) {
6154
6154
  const x = u.formConfig.filter((P) => P.type !== "empty"), A = sessionStorage.getItem("active_row");
@@ -12394,7 +12394,6 @@ const _I = {
12394
12394
  }
12395
12395
  async function x() {
12396
12396
  try {
12397
- debugger;
12398
12397
  y.value = u.value?.in_bottons || [], o.value = [{ retjson: {}, DataArray: [], Result: "" }], c.value = !0;
12399
12398
  const E = or(a);
12400
12399
  E.checkbox = Array.isArray(E.checkbox) ? E.checkbox.join(",") : E.checkbox || "", E.stime && (E.stime = So(E.stime).format(
@@ -12406,7 +12405,7 @@ const _I = {
12406
12405
  `${n.value}ROOT`,
12407
12406
  E
12408
12407
  );
12409
- console.log("search path: ", n), console.log("search queryParmasClone: ", E), console.log("search data: ", T), o.value = T, "radio_bottons" in o.value[0] && y.value.push(...o.value[0].radio_bottons), Re(() => {
12408
+ o.value = T, "radio_bottons" in o.value[0] && y.value.push(...o.value[0].radio_bottons), console.log("search path ", n.value), console.log("search queryParmasClone ", E), console.log("search data ", T), Re(() => {
12410
12409
  d.value = !0, r.subTable || Po.emit("rootChange", o.value), Re(() => {
12411
12410
  o.value[0].DataArray.length > 0 && (r.mode == 1 || r.mode == 2 || r.mode == 3) && l.value?.cardClick?.(o.value[0].DataArray[0]);
12412
12411
  });
@@ -12780,7 +12779,7 @@ const _I = {
12780
12779
  }, 8, ["locale"]);
12781
12780
  };
12782
12781
  }
12783
- }), S_ = /* @__PURE__ */ On(lA, [["__scopeId", "data-v-7ee34062"]]), NB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12782
+ }), S_ = /* @__PURE__ */ On(lA, [["__scopeId", "data-v-0884af99"]]), NB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12784
12783
  __proto__: null,
12785
12784
  default: S_
12786
12785
  }, Symbol.toStringTag, { value: "Module" })), rA = {
@@ -1,9 +1,9 @@
1
- import { defineAsyncComponent as d, ref as n, onMounted as l, onActivated as s, createElementBlock as f, createCommentVNode as p, openBlock as g, createVNode as v, unref as b } from "vue";
2
- import { _ as h } from "./index-D_IPO63c.js";
3
- const y = {
1
+ import { defineAsyncComponent as d, ref as n, onMounted as u, onActivated as s, createElementBlock as f, createCommentVNode as g, openBlock as p, createElementVNode as v, createVNode as y, toDisplayString as b, unref as h } from "vue";
2
+ import { _ as x } from "./index-C8I6a2og.js";
3
+ const C = {
4
4
  key: 0,
5
5
  class: "jt-form-mttable-pc"
6
- }, x = {
6
+ }, j = { style: { display: "none" } }, k = {
7
7
  __name: "jt-form-mttable-pc",
8
8
  props: {
9
9
  page: {
@@ -16,9 +16,9 @@ const y = {
16
16
  }
17
17
  },
18
18
  emits: ["update:modelValue"],
19
- setup(e, { expose: r, emit: C }) {
20
- const i = d({
21
- loader: () => import("./index-D_IPO63c.js").then((a) => a.a),
19
+ setup(e, { expose: i, emit: q }) {
20
+ const r = d({
21
+ loader: () => import("./index-C8I6a2og.js").then((a) => a.a),
22
22
  loadingComponent: {
23
23
  template: '<div class="mtt-loading">组件加载中...</div>'
24
24
  },
@@ -27,23 +27,24 @@ const y = {
27
27
  },
28
28
  delay: 200,
29
29
  timeout: 1e4
30
- }), m = e, o = n(), t = n(!1);
31
- l(() => {
30
+ }), c = e, o = n(), t = n(!1);
31
+ u(() => {
32
32
  t.value = !0;
33
33
  }), s(() => {
34
34
  t.value = !0;
35
35
  });
36
- function c() {
37
- return Promise.resolve(m.page?.model || {});
36
+ function m() {
37
+ return Promise.resolve(c.page?.model || {});
38
38
  }
39
- function u() {
39
+ function l() {
40
40
  o.value;
41
41
  }
42
- return r({
43
- validateForm: c,
44
- reload: u
45
- }), (a, j) => t.value ? (g(), f("div", y, [
46
- v(b(i), {
42
+ return i({
43
+ validateForm: m,
44
+ reload: l
45
+ }), (a, N) => t.value ? (p(), f("div", C, [
46
+ v("div", j, b(JSON.stringify(e.page, null, 2)), 1),
47
+ y(h(r), {
47
48
  ref_key: "mttRef",
48
49
  ref: o,
49
50
  subTable: !0,
@@ -53,9 +54,9 @@ const y = {
53
54
  buttonWidth: e.page.button_width || 270,
54
55
  axios: e.axios
55
56
  }, null, 8, ["compPath", "config", "mode", "buttonWidth", "axios"])
56
- ])) : p("", !0);
57
+ ])) : g("", !0);
57
58
  }
58
- }, P = /* @__PURE__ */ h(x, [["__scopeId", "data-v-2079eb18"]]);
59
+ }, F = /* @__PURE__ */ x(k, [["__scopeId", "data-v-ad0c2acb"]]);
59
60
  export {
60
- P as default
61
+ F as default
61
62
  };
@@ -1,5 +1,5 @@
1
1
  import './jtxa-ui.css';
2
- import { i as a } from "./index-D_IPO63c.js";
2
+ import { i as a } from "./index-C8I6a2og.js";
3
3
  import "element-plus";
4
4
  export {
5
5
  a as default