yc-vep-ui 0.3.25 → 0.3.27
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 $()?.config?.globalProperties?.$message || {
|
|
134
|
+
return $()?.config?.globalProperties?.$message || (window.$message ? window.$message : {
|
|
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,6 +1571,7 @@ var _n = /* @__PURE__ */ u({
|
|
|
1571
1571
|
},
|
|
1572
1572
|
emits: ["update:modelValue"],
|
|
1573
1573
|
setup(r, { emit: a }) {
|
|
1574
|
+
z.Message.success("提交成功, 即将刷新页面...");
|
|
1574
1575
|
let o = r, s = a, c = o.valueAt ?? "all", u = new Headers({
|
|
1575
1576
|
"Content-Type": "application/json",
|
|
1576
1577
|
"X-Requested-With": "XMLHttpRequest",
|
|
@@ -4415,14 +4416,12 @@ function Ci(e) {
|
|
|
4415
4416
|
nextActivity: c.nextActivityVisible ? l.nextActivity : void 0
|
|
4416
4417
|
});
|
|
4417
4418
|
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 = {
|
|
4419
|
+
if (z.Message.success("提交成功, 即将刷新页面..."), !u?.data) return z.Message.warning("刷新页面失败...");
|
|
4420
|
+
let e = u.data, t = {
|
|
4422
4421
|
...n.query,
|
|
4423
4422
|
instanceId: e
|
|
4424
|
-
}, r = window.location.hash.split("?")[0]
|
|
4425
|
-
window.
|
|
4423
|
+
}, 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;
|
|
4426
4425
|
} else z.Message.error(u?.message || "提交失败");
|
|
4427
4426
|
}
|
|
4428
4427
|
async function p(e) {
|
|
@@ -4804,10 +4803,7 @@ function $() {
|
|
|
4804
4803
|
return zi;
|
|
4805
4804
|
}
|
|
4806
4805
|
var Vi = { install(e, t) {
|
|
4807
|
-
t?.elementPlus && t.elementPlus.install(e), zi ||=
|
|
4808
|
-
...e,
|
|
4809
|
-
h: f
|
|
4810
|
-
};
|
|
4806
|
+
t?.elementPlus && t.elementPlus.install(e), zi ||= e;
|
|
4811
4807
|
for (let [t, n] of Object.entries(Ri)) {
|
|
4812
4808
|
let r = n?.default || n;
|
|
4813
4809
|
if (r && (typeof r == "function" || typeof r == "object")) {
|
|
@@ -4821,4 +4817,4 @@ var Vi = { install(e, t) {
|
|
|
4821
4817
|
for (let [t, n] of Object.entries(Ii)) (typeof n == "function" || typeof n == "object") && e.directive(t, n);
|
|
4822
4818
|
} };
|
|
4823
4819
|
//#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, Bi as n, bi as o, Dn as p, Vi as r, Yn as s, $ as t, Un as u, zt as v, Ne as x, Ft as y };
|
|
4820
|
+
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, Bi as n, bi as o, Dn as p, Vi 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-CEEhiZj2.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-CEEhiZj2.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 };
|