jtxa-ui 1.0.0-beta.1 → 1.0.0-beta.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.
@@ -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-y7tlTm4x.js")
6151
+ () => import("./jt-form-mttable-pc-DzRKhi09.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,6 +12394,7 @@ const _I = {
12394
12394
  }
12395
12395
  async function x() {
12396
12396
  try {
12397
+ debugger;
12397
12398
  y.value = u.value?.in_bottons || [], o.value = [{ retjson: {}, DataArray: [], Result: "" }], c.value = !0;
12398
12399
  const E = or(a);
12399
12400
  E.checkbox = Array.isArray(E.checkbox) ? E.checkbox.join(",") : E.checkbox || "", E.stime && (E.stime = So(E.stime).format(
@@ -12405,7 +12406,7 @@ const _I = {
12405
12406
  `${n.value}ROOT`,
12406
12407
  E
12407
12408
  );
12408
- o.value = T, "radio_bottons" in o.value[0] && y.value.push(...o.value[0].radio_bottons), Re(() => {
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(() => {
12409
12410
  d.value = !0, r.subTable || Po.emit("rootChange", o.value), Re(() => {
12410
12411
  o.value[0].DataArray.length > 0 && (r.mode == 1 || r.mode == 2 || r.mode == 3) && l.value?.cardClick?.(o.value[0].DataArray[0]);
12411
12412
  });
@@ -12779,7 +12780,7 @@ const _I = {
12779
12780
  }, 8, ["locale"]);
12780
12781
  };
12781
12782
  }
12782
- }), S_ = /* @__PURE__ */ On(lA, [["__scopeId", "data-v-c436b0ff"]]), NB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12783
+ }), S_ = /* @__PURE__ */ On(lA, [["__scopeId", "data-v-7ee34062"]]), NB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12783
12784
  __proto__: null,
12784
12785
  default: S_
12785
12786
  }, Symbol.toStringTag, { value: "Module" })), rA = {
@@ -1,9 +1,9 @@
1
- import { defineAsyncComponent as l, ref as n, onMounted as u, 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-QYUH-_TJ.js";
3
- const x = {
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 = {
4
4
  key: 0,
5
5
  class: "jt-form-mttable-pc"
6
- }, y = {
6
+ }, x = {
7
7
  __name: "jt-form-mttable-pc",
8
8
  props: {
9
9
  page: {
@@ -17,8 +17,8 @@ const x = {
17
17
  },
18
18
  emits: ["update:modelValue"],
19
19
  setup(e, { expose: r, emit: C }) {
20
- const i = l({
21
- loader: () => import("./index-QYUH-_TJ.js").then((a) => a.a),
20
+ const i = d({
21
+ loader: () => import("./index-D_IPO63c.js").then((a) => a.a),
22
22
  loadingComponent: {
23
23
  template: '<div class="mtt-loading">组件加载中...</div>'
24
24
  },
@@ -28,7 +28,7 @@ const x = {
28
28
  delay: 200,
29
29
  timeout: 1e4
30
30
  }), m = e, o = n(), t = n(!1);
31
- u(() => {
31
+ l(() => {
32
32
  t.value = !0;
33
33
  }), s(() => {
34
34
  t.value = !0;
@@ -36,26 +36,26 @@ const x = {
36
36
  function c() {
37
37
  return Promise.resolve(m.page?.model || {});
38
38
  }
39
- function d() {
39
+ function u() {
40
40
  o.value;
41
41
  }
42
42
  return r({
43
43
  validateForm: c,
44
- reload: d
45
- }), (a, P) => t.value ? (g(), f("div", x, [
44
+ reload: u
45
+ }), (a, j) => t.value ? (g(), f("div", y, [
46
46
  v(b(i), {
47
47
  ref_key: "mttRef",
48
48
  ref: o,
49
49
  subTable: !0,
50
- compPath: e.page.compPath || e.page.path,
51
- config: e.page.mttConfig || e.page.config || {},
52
- mode: 0,
53
- buttonWidth: e.page.buttonWidth || 270,
50
+ compPath: e.page.submit || e.page.path,
51
+ config: e.page.queryConfig || e.page.config || e.page.mttConfig,
52
+ mode: e.page.query_style || 0,
53
+ buttonWidth: e.page.button_width || 270,
54
54
  axios: e.axios
55
- }, null, 8, ["compPath", "config", "buttonWidth", "axios"])
55
+ }, null, 8, ["compPath", "config", "mode", "buttonWidth", "axios"])
56
56
  ])) : p("", !0);
57
57
  }
58
- }, _ = /* @__PURE__ */ h(y, [["__scopeId", "data-v-d4296f0a"]]);
58
+ }, P = /* @__PURE__ */ h(x, [["__scopeId", "data-v-2079eb18"]]);
59
59
  export {
60
- _ as default
60
+ P as default
61
61
  };
@@ -1,5 +1,5 @@
1
1
  import './jtxa-ui.css';
2
- import { i as a } from "./index-QYUH-_TJ.js";
2
+ import { i as a } from "./index-D_IPO63c.js";
3
3
  import "element-plus";
4
4
  export {
5
5
  a as default