yc-vep-ui 0.3.27 → 0.3.29
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.
|
@@ -131,11 +131,11 @@ var le = Object.defineProperty, L = (e, t) => {
|
|
|
131
131
|
return $()?.resolveComponent?.("el-descriptions-item") || "el-descriptions-item";
|
|
132
132
|
},
|
|
133
133
|
get Message() {
|
|
134
|
-
return
|
|
134
|
+
return Vi() || {
|
|
135
135
|
error: (e) => console.error("[Message.error]", e),
|
|
136
136
|
success: (e) => console.log("[Message.success]", e),
|
|
137
137
|
warning: (e) => console.warn("[Message.warning]", e)
|
|
138
|
-
}
|
|
138
|
+
};
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
141
|
//#endregion
|
|
@@ -1571,7 +1571,6 @@ var _n = /* @__PURE__ */ u({
|
|
|
1571
1571
|
},
|
|
1572
1572
|
emits: ["update:modelValue"],
|
|
1573
1573
|
setup(r, { emit: a }) {
|
|
1574
|
-
z.Message.success("提交成功, 即将刷新页面...");
|
|
1575
1574
|
let o = r, s = a, c = o.valueAt ?? "all", u = new Headers({
|
|
1576
1575
|
"Content-Type": "application/json",
|
|
1577
1576
|
"X-Requested-With": "XMLHttpRequest",
|
|
@@ -4421,7 +4420,7 @@ function Ci(e) {
|
|
|
4421
4420
|
...n.query,
|
|
4422
4421
|
instanceId: e
|
|
4423
4422
|
}, r = n.mode === "hash" ? `${window.location.hash.split("?")[0]}?${new URLSearchParams(t).toString()}` : `${window.location.pathname}?${new URLSearchParams(t).toString()}`;
|
|
4424
|
-
window.location.href = r;
|
|
4423
|
+
console.log("newUrl ->>>", r), window.location.href = r, window.location.reload();
|
|
4425
4424
|
} else z.Message.error(u?.message || "提交失败");
|
|
4426
4425
|
}
|
|
4427
4426
|
async function p(e) {
|
|
@@ -4802,8 +4801,11 @@ function Bi(e) {
|
|
|
4802
4801
|
function $() {
|
|
4803
4802
|
return zi;
|
|
4804
4803
|
}
|
|
4805
|
-
|
|
4806
|
-
|
|
4804
|
+
function Vi() {
|
|
4805
|
+
return zi?.config?.globalProperties?.$message ? zi.config.globalProperties.$message : null;
|
|
4806
|
+
}
|
|
4807
|
+
var Hi = { install(e, t) {
|
|
4808
|
+
zi ||= e, t?.elementPlus && t.elementPlus.install(e);
|
|
4807
4809
|
for (let [t, n] of Object.entries(Ri)) {
|
|
4808
4810
|
let r = n?.default || n;
|
|
4809
4811
|
if (r && (typeof r == "function" || typeof r == "object")) {
|
|
@@ -4817,4 +4819,4 @@ var Vi = { install(e, t) {
|
|
|
4817
4819
|
for (let [t, n] of Object.entries(Ii)) (typeof n == "function" || typeof n == "object") && e.directive(t, n);
|
|
4818
4820
|
} };
|
|
4819
4821
|
//#endregion
|
|
4820
|
-
export {
|
|
4822
|
+
export { z as C, Ne as S, nn as _, Mi as a, Ft as b, Yn as c, Un as d, Bn as f, cn as g, fn as h, Hi as i, Kn as l, Dn as m, Vi as n, xi as o, Nn as p, Bi as r, bi as s, $ as t, qn as u, Jt as v, fe as w, kt as x, zt as y };
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as e, d as t,
|
|
2
|
-
export {
|
|
1
|
+
import { c as e, d as t, f as n, l as r, s as i, u as a } from "../entry-D5QzKSB4.js";
|
|
2
|
+
export { e as useDictionary, n as useFetch, r as useRoute, a as useRouter, t as useTable, i as useUser };
|
package/dist/vep-ui.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as e, S as t, _ as n, a as r, b as i,
|
|
2
|
-
export {
|
|
1
|
+
import { C as e, S as t, _ as n, a as r, b as i, g as a, h as o, i as s, m as c, n as l, o as u, p as d, r as f, t as p, v as m, w as h, x as g, y as _ } from "./entry-D5QzKSB4.js";
|
|
2
|
+
export { e as El, h as UiCard, a as UiDescriptions, o as UiDialog, _ as UiEditor, g as UiFilter, i as UiForm, n as UiInfiniteScroll, c as UiStaffSelect, t as UiTable, m as UiTree, d as UiUpload, r as YcApproval, s as default, s as ycPlugin, p as getHostVue, l as getMessage, u as hooks, f as setHostVue };
|