yc-vep-ui 0.3.25 → 0.3.26
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,7 +131,13 @@ var le = Object.defineProperty, L = (e, t) => {
|
|
|
131
131
|
return $()?.resolveComponent?.("el-descriptions-item") || "el-descriptions-item";
|
|
132
132
|
},
|
|
133
133
|
get Message() {
|
|
134
|
-
|
|
134
|
+
let e = $()?.config?.globalProperties?.$message;
|
|
135
|
+
if (e) return e;
|
|
136
|
+
try {
|
|
137
|
+
let e = window.ELEMENT || window.element;
|
|
138
|
+
if (e?.Message) return e.Message;
|
|
139
|
+
} catch {}
|
|
140
|
+
return {
|
|
135
141
|
error: (e) => console.error("[Message.error]", e),
|
|
136
142
|
success: (e) => console.log("[Message.success]", e),
|
|
137
143
|
warning: (e) => console.warn("[Message.warning]", e)
|
|
@@ -1571,6 +1577,7 @@ var _n = /* @__PURE__ */ u({
|
|
|
1571
1577
|
},
|
|
1572
1578
|
emits: ["update:modelValue"],
|
|
1573
1579
|
setup(r, { emit: a }) {
|
|
1580
|
+
z.Message.success("提交成功, 即将刷新页面...");
|
|
1574
1581
|
let o = r, s = a, c = o.valueAt ?? "all", u = new Headers({
|
|
1575
1582
|
"Content-Type": "application/json",
|
|
1576
1583
|
"X-Requested-With": "XMLHttpRequest",
|
|
@@ -4415,14 +4422,12 @@ function Ci(e) {
|
|
|
4415
4422
|
nextActivity: c.nextActivityVisible ? l.nextActivity : void 0
|
|
4416
4423
|
});
|
|
4417
4424
|
if (u.code === "ok" && u.data) {
|
|
4418
|
-
if (z.Message.success("提交成功, 即将刷新页面..."),
|
|
4419
|
-
let e = u.data
|
|
4420
|
-
console.log("route.query ->>", n.query);
|
|
4421
|
-
let t = {
|
|
4425
|
+
if (z.Message.success("提交成功, 即将刷新页面..."), !u?.data) return z.Message.warning("刷新页面失败...");
|
|
4426
|
+
let e = u.data, t = {
|
|
4422
4427
|
...n.query,
|
|
4423
4428
|
instanceId: e
|
|
4424
|
-
}, r = window.location.hash.split("?")[0]
|
|
4425
|
-
window.
|
|
4429
|
+
}, r = n.mode === "hash" ? `${window.location.hash.split("?")[0]}?${new URLSearchParams(t).toString()}` : `${window.location.pathname}?${new URLSearchParams(t).toString()}`;
|
|
4430
|
+
window.location.href = r;
|
|
4426
4431
|
} else z.Message.error(u?.message || "提交失败");
|
|
4427
4432
|
}
|
|
4428
4433
|
async function p(e) {
|
|
@@ -4796,15 +4801,15 @@ var Ti = { key: 0 }, Ei = /* @__PURE__ */ u({
|
|
|
4796
4801
|
UiStaffSelect: Dn,
|
|
4797
4802
|
UiUpload: Nn,
|
|
4798
4803
|
YcApproval: Mi
|
|
4799
|
-
}, zi = null;
|
|
4800
|
-
function
|
|
4801
|
-
zi = e;
|
|
4804
|
+
}, zi = null, Bi = null;
|
|
4805
|
+
function Vi(e) {
|
|
4806
|
+
zi = e, e?.config?.globalProperties && Bi && (e.config.globalProperties.$message = Bi.ElMessage);
|
|
4802
4807
|
}
|
|
4803
4808
|
function $() {
|
|
4804
4809
|
return zi;
|
|
4805
4810
|
}
|
|
4806
|
-
var
|
|
4807
|
-
t?.elementPlus && t.elementPlus.install(e), zi ||= {
|
|
4811
|
+
var Hi = { install(e, t) {
|
|
4812
|
+
t?.elementPlus && (t.elementPlus.install(e), Bi = t.elementPlus, e.config.globalProperties.$message = t.elementPlus.ElMessage), zi ||= {
|
|
4808
4813
|
...e,
|
|
4809
4814
|
h: f
|
|
4810
4815
|
};
|
|
@@ -4821,4 +4826,4 @@ var Vi = { install(e, t) {
|
|
|
4821
4826
|
for (let [t, n] of Object.entries(Ii)) (typeof n == "function" || typeof n == "object") && e.directive(t, n);
|
|
4822
4827
|
} };
|
|
4823
4828
|
//#endregion
|
|
4824
|
-
export { fe as S, Jt as _, xi as a, kt as b, Kn as c, Bn as d, Nn as f, nn as g, cn as h, Mi as i, qn as l, fn as m,
|
|
4829
|
+
export { fe as C, z as S, Jt as _, xi as a, kt as b, Kn as c, Bn as d, Nn as f, nn as g, cn as h, Mi as i, qn as l, fn as m, Vi as n, bi as o, Dn as p, Hi as r, Yn as s, $ as t, Un as u, zt as v, Ne as x, Ft as y };
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as e, d as t, l as n, o as r, s as i, u as a } from "../entry-
|
|
1
|
+
import { c as e, d as t, l as n, o as r, s as i, u as a } from "../entry-C-wD7Q6S.js";
|
|
2
2
|
export { i as useDictionary, t as useFetch, e as useRoute, n as useRouter, a as useTable, r as useUser };
|
package/dist/vep-ui.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { e as UiCard,
|
|
1
|
+
import { C as e, S as t, _ as n, a as r, b as i, f as a, g as o, h as s, i as c, m as l, n as u, p as d, r as f, t as p, v as m, x as h, y as g } from "./entry-C-wD7Q6S.js";
|
|
2
|
+
export { t as El, e as UiCard, s as UiDescriptions, l as UiDialog, m as UiEditor, i as UiFilter, g as UiForm, o as UiInfiniteScroll, d as UiStaffSelect, h as UiTable, n as UiTree, a as UiUpload, c as YcApproval, f as default, f as ycPlugin, p as getHostVue, r as hooks, u as setHostVue };
|