jtxa-ui 1.0.0-beta.1 → 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-
|
|
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");
|
|
@@ -12405,7 +12405,7 @@ const _I = {
|
|
|
12405
12405
|
`${n.value}ROOT`,
|
|
12406
12406
|
E
|
|
12407
12407
|
);
|
|
12408
|
-
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(() => {
|
|
12409
12409
|
d.value = !0, r.subTable || Po.emit("rootChange", o.value), Re(() => {
|
|
12410
12410
|
o.value[0].DataArray.length > 0 && (r.mode == 1 || r.mode == 2 || r.mode == 3) && l.value?.cardClick?.(o.value[0].DataArray[0]);
|
|
12411
12411
|
});
|
|
@@ -12779,7 +12779,7 @@ const _I = {
|
|
|
12779
12779
|
}, 8, ["locale"]);
|
|
12780
12780
|
};
|
|
12781
12781
|
}
|
|
12782
|
-
}), S_ = /* @__PURE__ */ On(lA, [["__scopeId", "data-v-
|
|
12782
|
+
}), S_ = /* @__PURE__ */ On(lA, [["__scopeId", "data-v-0884af99"]]), NB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12783
12783
|
__proto__: null,
|
|
12784
12784
|
default: S_
|
|
12785
12785
|
}, Symbol.toStringTag, { value: "Module" })), rA = {
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
key: 0,
|
|
5
|
+
class: "jt-form-mttable-pc"
|
|
6
|
+
}, j = { style: { display: "none" } }, k = {
|
|
7
|
+
__name: "jt-form-mttable-pc",
|
|
8
|
+
props: {
|
|
9
|
+
page: {
|
|
10
|
+
type: Object,
|
|
11
|
+
required: !0
|
|
12
|
+
},
|
|
13
|
+
axios: {
|
|
14
|
+
type: Function,
|
|
15
|
+
required: !0
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
emits: ["update:modelValue"],
|
|
19
|
+
setup(e, { expose: i, emit: q }) {
|
|
20
|
+
const r = d({
|
|
21
|
+
loader: () => import("./index-C8I6a2og.js").then((a) => a.a),
|
|
22
|
+
loadingComponent: {
|
|
23
|
+
template: '<div class="mtt-loading">组件加载中...</div>'
|
|
24
|
+
},
|
|
25
|
+
errorComponent: {
|
|
26
|
+
template: '<div class="mtt-error">组件加载失败,请刷新页面重试</div>'
|
|
27
|
+
},
|
|
28
|
+
delay: 200,
|
|
29
|
+
timeout: 1e4
|
|
30
|
+
}), c = e, o = n(), t = n(!1);
|
|
31
|
+
u(() => {
|
|
32
|
+
t.value = !0;
|
|
33
|
+
}), s(() => {
|
|
34
|
+
t.value = !0;
|
|
35
|
+
});
|
|
36
|
+
function m() {
|
|
37
|
+
return Promise.resolve(c.page?.model || {});
|
|
38
|
+
}
|
|
39
|
+
function l() {
|
|
40
|
+
o.value;
|
|
41
|
+
}
|
|
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), {
|
|
48
|
+
ref_key: "mttRef",
|
|
49
|
+
ref: o,
|
|
50
|
+
subTable: !0,
|
|
51
|
+
compPath: e.page.submit || e.page.path,
|
|
52
|
+
config: e.page.queryConfig || e.page.config || e.page.mttConfig,
|
|
53
|
+
mode: e.page.query_style || 0,
|
|
54
|
+
buttonWidth: e.page.button_width || 270,
|
|
55
|
+
axios: e.axios
|
|
56
|
+
}, null, 8, ["compPath", "config", "mode", "buttonWidth", "axios"])
|
|
57
|
+
])) : g("", !0);
|
|
58
|
+
}
|
|
59
|
+
}, F = /* @__PURE__ */ x(k, [["__scopeId", "data-v-ad0c2acb"]]);
|
|
60
|
+
export {
|
|
61
|
+
F as default
|
|
62
|
+
};
|
package/dist/jtui-vite.es.js
CHANGED