@okiss/oms 0.0.25 → 0.0.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.
- package/dist/index.es.js +484 -476
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as N, onBeforeMount as Ge, provide as
|
|
2
|
-
import { ElConfigProvider as
|
|
1
|
+
import { defineComponent as N, onBeforeMount as Ge, provide as vt, resolveComponent as v, openBlock as i, createBlock as m, unref as T, withCtx as r, createVNode as u, computed as j, createTextVNode as g, TransitionGroup as gt, createElementBlock as h, Fragment as k, renderList as $, toDisplayString as B, normalizeClass as H, renderSlot as Y, mergeProps as q, createCommentVNode as E, toRefs as kt, ref as R, normalizeStyle as Et, createElementVNode as b, Transition as wt, pushScopeId as Je, popScopeId as ze, resolveDynamicComponent as Ke, normalizeProps as J, guardReactiveProps as Z, withDirectives as _e, vModelText as Le, resolveDirective as St, onMounted as Ct, createApp as xt } from "vue";
|
|
2
|
+
import { ElConfigProvider as Bt, ElBreadcrumbItem as $t, ElBreadcrumb as It, ElRow as le, ElMain as At, ElAside as Tt, ElContainer as Ft, ElDivider as We, ElButton as se, ElOption as we, ElSelect as Se, ElFormItem as Ze, ElForm as Qe, ElCol as re, ElDrawer as Xe, ElDropdownItem as Dt, ElDropdownMenu as Ot, ElDropdown as Pt, ElMenuItem as Rt, ElSubMenu as Lt, ElOptionGroup as Mt, ElMenu as jt, ElScrollbar as Nt, ElBacktop as Vt, ElMessage as qt, ElAlert as ye, ElTree as Ut, ElCard as Ce } from "element-plus/es";
|
|
3
3
|
import "element-plus/es/components/config-provider/style/css";
|
|
4
|
-
import
|
|
5
|
-
import { addNewStyle as
|
|
6
|
-
import
|
|
7
|
-
import el, { cloneDeep as y, merge as
|
|
8
|
-
import
|
|
4
|
+
import xe from "element-plus/lib/locale/lang/zh-cn";
|
|
5
|
+
import { addNewStyle as Ht, addNewStyleTag as Gt, queryParams as Jt, logGroup as zt, isString as Be, compactObject as Ye, showEleByClassName as et, waterMarker as Kt, Cache as me, isExternal as Me, getQueryParam as Wt, createIFrame as Zt, strVarReplace as K, obj2Param as Qt, isObject as $e, effectDataTrans as Xt, isArray as Yt } from "@okiss/utils";
|
|
6
|
+
import fe from "mockjs";
|
|
7
|
+
import el, { cloneDeep as y, merge as O, get as ee, unset as tt } from "lodash";
|
|
8
|
+
import Ie from "axios";
|
|
9
9
|
import L from "js-cookie";
|
|
10
|
-
import { createStore as tl, useStore as
|
|
10
|
+
import { createStore as tl, useStore as lt, mapGetters as Ae } from "vuex";
|
|
11
11
|
import ll, { ElMessage as ol, ElMessageBox as nl } from "element-plus";
|
|
12
12
|
import "element-plus/dist/index.css";
|
|
13
13
|
import "dayjs/locale/zh-cn";
|
|
14
|
-
import { VForm as W, VBtn as Te, JsonView as Fe, VTable as
|
|
14
|
+
import { VForm as W, VBtn as Te, JsonView as Fe, VTable as ie, VChart as al, setUploadHeaderHandle as sl, VIcon as il } from "@okiss/vbtf";
|
|
15
15
|
import "normalize.css/normalize.css";
|
|
16
16
|
import "@okiss/vbtf/style.css";
|
|
17
|
-
import { useRoute as
|
|
17
|
+
import { useRoute as ue, onBeforeRouteLeave as rl, useRouter as ul, createRouter as cl, createWebHashHistory as dl, onBeforeRouteUpdate as pl } from "vue-router";
|
|
18
18
|
import "element-plus/es/components/row/style/css";
|
|
19
19
|
import "element-plus/es/components/drawer/style/css";
|
|
20
20
|
import "element-plus/es/components/dropdown/style/css";
|
|
@@ -46,7 +46,7 @@ import "element-plus/es/components/card/style/css";
|
|
|
46
46
|
import "element-plus/es/components/tree/style/css";
|
|
47
47
|
import bl from "vue3-markdown-it";
|
|
48
48
|
import "element-plus/es/components/message/style/css";
|
|
49
|
-
import
|
|
49
|
+
import ve from "nprogress";
|
|
50
50
|
import "nprogress/nprogress.css";
|
|
51
51
|
String.prototype.format || (String.prototype.format = function() {
|
|
52
52
|
const e = arguments;
|
|
@@ -57,19 +57,19 @@ String.prototype.format || (String.prototype.format = function() {
|
|
|
57
57
|
const _l = /* @__PURE__ */ N({
|
|
58
58
|
__name: "App",
|
|
59
59
|
setup(e) {
|
|
60
|
-
var l, n, o,
|
|
60
|
+
var l, n, o, a;
|
|
61
61
|
Ge(() => {
|
|
62
|
-
const
|
|
63
|
-
|
|
62
|
+
const s = document.getElementById("preloader");
|
|
63
|
+
s !== null && (document.body.removeChild(s), Ht("test-icon", "//at.alicdn.com/t/font_2246548_zclaqxwmzq8.css"), Gt(`.iconfont {
|
|
64
64
|
font-size: 19px;
|
|
65
65
|
font-style: normal;
|
|
66
66
|
-webkit-font-smoothing: antialiased;
|
|
67
67
|
font-family: iconfont !important;
|
|
68
68
|
}`));
|
|
69
69
|
});
|
|
70
|
-
const t =
|
|
71
|
-
return (n = (l = window == null ? void 0 : window.OmsOptions) == null ? void 0 : l.form) != null && n.vsPath &&
|
|
72
|
-
const d = v("router-view"), p =
|
|
70
|
+
const t = xe;
|
|
71
|
+
return (n = (l = window == null ? void 0 : window.OmsOptions) == null ? void 0 : l.form) != null && n.vsPath && vt("vsPath", (a = (o = window == null ? void 0 : window.OmsOptions) == null ? void 0 : o.form) == null ? void 0 : a.vsPath), (s, c) => {
|
|
72
|
+
const d = v("router-view"), p = Bt;
|
|
73
73
|
return i(), m(p, { locale: T(t) }, {
|
|
74
74
|
default: r(() => [
|
|
75
75
|
u(d)
|
|
@@ -634,7 +634,7 @@ const yl = {
|
|
|
634
634
|
label: "span"
|
|
635
635
|
}
|
|
636
636
|
]
|
|
637
|
-
},
|
|
637
|
+
}, El = {
|
|
638
638
|
afterSubmit: "",
|
|
639
639
|
afterReset: "",
|
|
640
640
|
formItems: [
|
|
@@ -673,7 +673,7 @@ const yl = {
|
|
|
673
673
|
label: "span"
|
|
674
674
|
}
|
|
675
675
|
]
|
|
676
|
-
},
|
|
676
|
+
}, wl = { form: yl, table: vl, listMock: gl, layoutForm: kl, layoutSection: El }, Sl = [
|
|
677
677
|
{
|
|
678
678
|
method: Q.POST,
|
|
679
679
|
url: "/login",
|
|
@@ -717,15 +717,16 @@ const yl = {
|
|
|
717
717
|
{
|
|
718
718
|
url: "/user/list",
|
|
719
719
|
method: Q.GET,
|
|
720
|
-
response: (e) =>
|
|
720
|
+
response: (e) => wl.listMock
|
|
721
721
|
}
|
|
722
722
|
], Cl = [
|
|
723
723
|
...Sl
|
|
724
724
|
], xl = {
|
|
725
725
|
baseURL: "/api",
|
|
726
726
|
withCredentials: !0,
|
|
727
|
-
timeout: 5e3
|
|
728
|
-
|
|
727
|
+
timeout: 5e3,
|
|
728
|
+
cacheEnable: !0
|
|
729
|
+
}, ot = {
|
|
729
730
|
title: "oms",
|
|
730
731
|
fixedHeader: !1,
|
|
731
732
|
sidebarLogo: !0,
|
|
@@ -739,7 +740,7 @@ const yl = {
|
|
|
739
740
|
ElementPlus: {
|
|
740
741
|
size: "default",
|
|
741
742
|
zIndex: 3e3,
|
|
742
|
-
locale:
|
|
743
|
+
locale: xe
|
|
743
744
|
},
|
|
744
745
|
nav: [],
|
|
745
746
|
whiteRoutes: ["/login"],
|
|
@@ -749,30 +750,30 @@ const yl = {
|
|
|
749
750
|
uat: "gray",
|
|
750
751
|
pre: "green"
|
|
751
752
|
}
|
|
752
|
-
},
|
|
753
|
+
}, ce = {
|
|
753
754
|
axios: xl,
|
|
754
|
-
settings:
|
|
755
|
+
settings: ot,
|
|
755
756
|
plugins: [],
|
|
756
757
|
mock: !1
|
|
757
|
-
},
|
|
758
|
-
function
|
|
758
|
+
}, ge = {};
|
|
759
|
+
function nt(e) {
|
|
759
760
|
e.forEach((t) => {
|
|
760
|
-
const l =
|
|
761
|
-
|
|
761
|
+
const l = at(t);
|
|
762
|
+
ge[`${t.method}::${l}`] = t;
|
|
762
763
|
});
|
|
763
764
|
}
|
|
764
|
-
|
|
765
|
-
function
|
|
765
|
+
nt(Cl);
|
|
766
|
+
function at(e) {
|
|
766
767
|
var n;
|
|
767
|
-
let t = e.url, l = e.baseURL || ((n =
|
|
768
|
+
let t = e.url, l = e.baseURL || ((n = ce.axios) == null ? void 0 : n.baseURL);
|
|
768
769
|
return l || (l = ""), typeof t == "string" ? (t = ("/" + l + t).split("/").filter((o) => o).join("/"), t += "(|\\?.*)$", new RegExp(t)) : t;
|
|
769
770
|
}
|
|
770
771
|
function Bl() {
|
|
771
|
-
Object.keys(
|
|
772
|
-
const t =
|
|
773
|
-
|
|
774
|
-
const { url: o, type:
|
|
775
|
-
return
|
|
772
|
+
Object.keys(ge).forEach((e) => {
|
|
773
|
+
const t = ge[e], l = at(t);
|
|
774
|
+
fe.mock(l, t.method, function(n) {
|
|
775
|
+
const { url: o, type: a, body: s } = n, c = Jt(o), d = s ? JSON.parse(s) : {}, p = t.response({ query: c, data: d }), f = fe.mock(p);
|
|
776
|
+
return zt(o, { type: a, query: c, data: d, response: f }), fe.mock(f);
|
|
776
777
|
});
|
|
777
778
|
}), console.log("%c ApiMock is stared! ", "background: #606060; color: #fff; padding: 4px 5px; border-radius: 1px;");
|
|
778
779
|
}
|
|
@@ -781,7 +782,7 @@ function Oe() {
|
|
|
781
782
|
return L.get(De) || "";
|
|
782
783
|
}
|
|
783
784
|
function $l(e) {
|
|
784
|
-
const t = new Date(new Date().getTime() + (
|
|
785
|
+
const t = new Date(new Date().getTime() + (w.state.settings.tokenExpire || 864e5));
|
|
785
786
|
return L.set(De, e, { expires: t });
|
|
786
787
|
}
|
|
787
788
|
function st() {
|
|
@@ -842,17 +843,17 @@ const Il = {
|
|
|
842
843
|
state: t,
|
|
843
844
|
rootState: l
|
|
844
845
|
}, n) {
|
|
845
|
-
return new Promise((o,
|
|
846
|
+
return new Promise((o, a) => {
|
|
846
847
|
l.http ? l.http.request({
|
|
847
848
|
url: "/user/login",
|
|
848
849
|
method: "POST",
|
|
849
850
|
data: n
|
|
850
|
-
}).then((
|
|
851
|
+
}).then((s) => {
|
|
851
852
|
var c;
|
|
852
|
-
e("updateToken", (c =
|
|
853
|
-
}).catch((
|
|
854
|
-
s
|
|
855
|
-
}) :
|
|
853
|
+
e("updateToken", (c = s.data) == null ? void 0 : c.token), o(!0);
|
|
854
|
+
}).catch((s) => {
|
|
855
|
+
a(s);
|
|
856
|
+
}) : a("http client not init");
|
|
856
857
|
});
|
|
857
858
|
},
|
|
858
859
|
logout({ commit: e }) {
|
|
@@ -864,9 +865,9 @@ const Il = {
|
|
|
864
865
|
url: "/user/info",
|
|
865
866
|
method: "GET"
|
|
866
867
|
}).then((o) => {
|
|
867
|
-
var
|
|
868
|
-
const
|
|
869
|
-
e("updateState", { key: "name", value: (c = o.data) == null ? void 0 : c.name }), e("updateState", { key: "nickname", value: (d = o.data) == null ? void 0 : d.nickname }), e("updateState", { key: "roleIds", value:
|
|
868
|
+
var s, c, d, p, f;
|
|
869
|
+
const a = ((s = o.data) == null ? void 0 : s.role_ids) || [];
|
|
870
|
+
e("updateState", { key: "name", value: (c = o.data) == null ? void 0 : c.name }), e("updateState", { key: "nickname", value: (d = o.data) == null ? void 0 : d.nickname }), e("updateState", { key: "roleIds", value: a }), e("updateState", { key: "env", value: (p = o.data) == null ? void 0 : p.env }), !L.get("username") && L.set("username", (f = o.data) == null ? void 0 : f.name), l(!0);
|
|
870
871
|
}).catch((o) => {
|
|
871
872
|
n(o);
|
|
872
873
|
}) : n("http client not init");
|
|
@@ -878,24 +879,24 @@ const Il = {
|
|
|
878
879
|
(o = t.http) == null || o.request({
|
|
879
880
|
url: "/user/routes",
|
|
880
881
|
method: "get"
|
|
881
|
-
}).then((
|
|
882
|
-
if (
|
|
883
|
-
const
|
|
884
|
-
l(
|
|
882
|
+
}).then((a) => {
|
|
883
|
+
if (a.code === 0) {
|
|
884
|
+
const s = a.data || [];
|
|
885
|
+
l(s);
|
|
885
886
|
} else
|
|
886
887
|
n("error");
|
|
887
|
-
}).catch((
|
|
888
|
-
console.log(
|
|
888
|
+
}).catch((a) => {
|
|
889
|
+
console.log(a), n(a);
|
|
889
890
|
});
|
|
890
891
|
});
|
|
891
892
|
}
|
|
892
893
|
}
|
|
893
|
-
}, Tl = y(
|
|
894
|
+
}, Tl = y(ot), Fl = {
|
|
894
895
|
namespaced: !0,
|
|
895
896
|
state: Tl,
|
|
896
897
|
mutations: {
|
|
897
898
|
updateSettings(e, t) {
|
|
898
|
-
e =
|
|
899
|
+
e = O(e, t);
|
|
899
900
|
}
|
|
900
901
|
},
|
|
901
902
|
actions: {
|
|
@@ -970,7 +971,7 @@ const Il = {
|
|
|
970
971
|
e("SET_CURRENT_CELLITEM", t);
|
|
971
972
|
}
|
|
972
973
|
}
|
|
973
|
-
},
|
|
974
|
+
}, w = tl({
|
|
974
975
|
state: void 0,
|
|
975
976
|
getters: {
|
|
976
977
|
http: (e) => e.http,
|
|
@@ -1002,7 +1003,7 @@ const Il = {
|
|
|
1002
1003
|
app: Ol,
|
|
1003
1004
|
builderSchema: Rl
|
|
1004
1005
|
}
|
|
1005
|
-
}), Ne = ol, Ve = nl, Ll =
|
|
1006
|
+
}), Ne = ol, Ve = nl, Ll = Ie.CancelToken, ne = {
|
|
1006
1007
|
taskList: {},
|
|
1007
1008
|
cacheList: /* @__PURE__ */ new Map(),
|
|
1008
1009
|
uniqueId(e) {
|
|
@@ -1040,23 +1041,23 @@ const Il = {
|
|
|
1040
1041
|
}
|
|
1041
1042
|
}, Ml = {
|
|
1042
1043
|
onFulfilled: function(e) {
|
|
1043
|
-
return ne.pending(e) && ne.delTask(e), e.cancelToken = new Ll((t) => {
|
|
1044
|
+
return e.cacheEnable === !1 || (ne.pending(e) && ne.delTask(e), e.cancelToken = new Ll((t) => {
|
|
1044
1045
|
ne.addTask(e, t);
|
|
1045
|
-
}), e;
|
|
1046
|
+
})), e;
|
|
1046
1047
|
},
|
|
1047
1048
|
onRejected(e) {
|
|
1048
1049
|
return Promise.reject(e);
|
|
1049
1050
|
}
|
|
1050
1051
|
}, jl = {
|
|
1051
1052
|
onFulfilled: function(e) {
|
|
1052
|
-
return e.config.method === "get" && Object.keys(e.data).length > 0 && ne.addCache(e.config, e.data), e;
|
|
1053
|
+
return console.log(e.config), e.config.cacheEnable === !1 || e.config.method === "get" && Object.keys(e.data).length > 0 && ne.addCache(e.config, e.data), e;
|
|
1053
1054
|
},
|
|
1054
1055
|
onRejected(e) {
|
|
1055
1056
|
return Promise.reject(e);
|
|
1056
1057
|
}
|
|
1057
1058
|
};
|
|
1058
1059
|
function Nl() {
|
|
1059
|
-
return
|
|
1060
|
+
return w.state.user.token;
|
|
1060
1061
|
}
|
|
1061
1062
|
const Vl = {
|
|
1062
1063
|
onFulfilled: function(e) {
|
|
@@ -1066,9 +1067,9 @@ const Vl = {
|
|
|
1066
1067
|
}
|
|
1067
1068
|
}, ql = {
|
|
1068
1069
|
onFulfilled(e) {
|
|
1069
|
-
var n, o,
|
|
1070
|
+
var n, o, a, s, c, d, p;
|
|
1070
1071
|
if (!(((n = e.config) == null ? void 0 : n.notHoldApiErr) !== void 0 && ((o = e.config) == null ? void 0 : o.notHoldApiErr) === !0) && e.data.code !== 0) {
|
|
1071
|
-
const f = e.data.message || `\u63A5\u53E3\u8BF7\u6C42\u9519\u8BEF ${e.config.method}::${(
|
|
1072
|
+
const f = e.data.message || `\u63A5\u53E3\u8BF7\u6C42\u9519\u8BEF ${e.config.method}::${(a = e.config.url) == null ? void 0 : a.split("?")[0]}`;
|
|
1072
1073
|
if (e.data.code === 401) {
|
|
1073
1074
|
Ve.alert("\u767B\u5F55\u4FE1\u606F\u5DF2\u8FC7\u671F\u6216\u672A\u767B\u5F55, \u662F\u5426\u8DF3\u8F6C\u767B\u5F55", "\u64CD\u4F5C\u63D0\u9192", {
|
|
1074
1075
|
showClose: !1,
|
|
@@ -1088,8 +1089,8 @@ const Vl = {
|
|
|
1088
1089
|
});
|
|
1089
1090
|
return Promise.reject(f);
|
|
1090
1091
|
}
|
|
1091
|
-
let l = (c = (
|
|
1092
|
-
return l !== void 0 && (
|
|
1092
|
+
let l = (c = (s = e.data) == null ? void 0 : s.data) == null ? void 0 : c._message_box;
|
|
1093
|
+
return l !== void 0 && (Be(l) && (l = {
|
|
1093
1094
|
message: (p = (d = e.data) == null ? void 0 : d.data) == null ? void 0 : p._message_box
|
|
1094
1095
|
}), Ve({
|
|
1095
1096
|
title: "\u63D0\u793A",
|
|
@@ -1099,7 +1100,7 @@ const Vl = {
|
|
|
1099
1100
|
},
|
|
1100
1101
|
onRejected(e) {
|
|
1101
1102
|
var t;
|
|
1102
|
-
return
|
|
1103
|
+
return Ie.isCancel(e) ? Promise.reject("") : (Ne({
|
|
1103
1104
|
message: `${e.message} ${e.config.method}::${(t = e.config.url) == null ? void 0 : t.split("?")[0]}`,
|
|
1104
1105
|
type: "error",
|
|
1105
1106
|
duration: 5 * 1e3
|
|
@@ -1116,9 +1117,7 @@ const Vl = {
|
|
|
1116
1117
|
}
|
|
1117
1118
|
];
|
|
1118
1119
|
function Pe(e = {}) {
|
|
1119
|
-
const t =
|
|
1120
|
-
ie.create(l);
|
|
1121
|
-
const n = ie.create({
|
|
1120
|
+
const t = ce.axios || {}, l = O(t, e || {}), n = Ie.create({
|
|
1122
1121
|
...l
|
|
1123
1122
|
});
|
|
1124
1123
|
return Ul.forEach((o) => {
|
|
@@ -1126,17 +1125,17 @@ function Pe(e = {}) {
|
|
|
1126
1125
|
}), n;
|
|
1127
1126
|
}
|
|
1128
1127
|
const Hl = Pe();
|
|
1129
|
-
const
|
|
1128
|
+
const it = {};
|
|
1130
1129
|
function fi(e, t) {
|
|
1131
|
-
|
|
1130
|
+
it[e] = t;
|
|
1132
1131
|
}
|
|
1133
1132
|
function Gl(e) {
|
|
1134
|
-
return
|
|
1133
|
+
return it[e];
|
|
1135
1134
|
}
|
|
1136
1135
|
const Jl = N({
|
|
1137
1136
|
name: "Dashboard",
|
|
1138
1137
|
setup() {
|
|
1139
|
-
const e =
|
|
1138
|
+
const e = lt(), t = j(() => e.getters.name), l = Gl("test");
|
|
1140
1139
|
return l ? () => u(l, null, null) : () => u("div", {
|
|
1141
1140
|
class: "dashboard-container"
|
|
1142
1141
|
}, [u("div", {
|
|
@@ -1197,22 +1196,22 @@ const Kl = {
|
|
|
1197
1196
|
key: 0,
|
|
1198
1197
|
class: "no-redirect"
|
|
1199
1198
|
}, Zl = ["onClick"];
|
|
1200
|
-
function Ql(e, t, l, n, o,
|
|
1201
|
-
const
|
|
1199
|
+
function Ql(e, t, l, n, o, a) {
|
|
1200
|
+
const s = $t, c = It;
|
|
1202
1201
|
return i(), m(c, {
|
|
1203
1202
|
class: "app-breadcrumb",
|
|
1204
1203
|
separator: "/"
|
|
1205
1204
|
}, {
|
|
1206
1205
|
default: r(() => [
|
|
1207
|
-
u(
|
|
1206
|
+
u(gt, { name: "breadcrumb" }, {
|
|
1208
1207
|
default: r(() => [
|
|
1209
|
-
(i(!0), h(k, null, $(o.levelList, (d, p) => (i(), m(
|
|
1208
|
+
(i(!0), h(k, null, $(o.levelList, (d, p) => (i(), m(s, {
|
|
1210
1209
|
key: d.path
|
|
1211
1210
|
}, {
|
|
1212
1211
|
default: r(() => [
|
|
1213
1212
|
d.path.indexOf("/DIR_") === 0 && d.redirect === void 0 || p === o.levelList.length - 1 ? (i(), h("span", Wl, B(d.meta.title), 1)) : (i(), h("a", {
|
|
1214
1213
|
key: 1,
|
|
1215
|
-
onClick: (f) =>
|
|
1214
|
+
onClick: (f) => a.handleLink(d)
|
|
1216
1215
|
}, B(d.meta.title), 9, Zl))
|
|
1217
1216
|
]),
|
|
1218
1217
|
_: 2
|
|
@@ -1239,13 +1238,13 @@ const Xl = /* @__PURE__ */ C(Kl, [["render", Ql], ["__scopeId", "data-v-fa74804e
|
|
|
1239
1238
|
}
|
|
1240
1239
|
}
|
|
1241
1240
|
};
|
|
1242
|
-
function eo(e, t, l, n, o,
|
|
1243
|
-
const
|
|
1241
|
+
function eo(e, t, l, n, o, a) {
|
|
1242
|
+
const s = v("v-icon");
|
|
1244
1243
|
return i(), h("div", {
|
|
1245
1244
|
style: { padding: "0 15px" },
|
|
1246
|
-
onClick: t[0] || (t[0] = (...c) =>
|
|
1245
|
+
onClick: t[0] || (t[0] = (...c) => a.toggleClick && a.toggleClick(...c))
|
|
1247
1246
|
}, [
|
|
1248
|
-
u(
|
|
1247
|
+
u(s, {
|
|
1249
1248
|
class: H({ "is-active": l.isActive }),
|
|
1250
1249
|
name: "ra-leftalignment"
|
|
1251
1250
|
}, null, 8, ["class"])
|
|
@@ -1254,8 +1253,8 @@ function eo(e, t, l, n, o, s) {
|
|
|
1254
1253
|
const to = /* @__PURE__ */ C(Yl, [["render", eo]]);
|
|
1255
1254
|
const lo = {};
|
|
1256
1255
|
function oo(e, t) {
|
|
1257
|
-
const l = le, n =
|
|
1258
|
-
return i(), m(
|
|
1256
|
+
const l = le, n = At, o = Tt, a = Ft;
|
|
1257
|
+
return i(), m(a, { style: { width: "100%", height: "100%" } }, {
|
|
1259
1258
|
default: r(() => [
|
|
1260
1259
|
u(l, { class: "aside" }, {
|
|
1261
1260
|
default: r(() => [
|
|
@@ -1286,7 +1285,7 @@ function oo(e, t) {
|
|
|
1286
1285
|
_: 3
|
|
1287
1286
|
});
|
|
1288
1287
|
}
|
|
1289
|
-
const
|
|
1288
|
+
const rt = /* @__PURE__ */ C(lo, [["render", oo], ["__scopeId", "data-v-7c3d697b"]]), no = {
|
|
1290
1289
|
type: "input",
|
|
1291
1290
|
name: "\u6587\u672C\u6846",
|
|
1292
1291
|
default: {
|
|
@@ -1354,7 +1353,7 @@ const it = /* @__PURE__ */ C(lo, [["render", oo], ["__scopeId", "data-v-7c3d697b
|
|
|
1354
1353
|
}
|
|
1355
1354
|
}
|
|
1356
1355
|
]
|
|
1357
|
-
},
|
|
1356
|
+
}, ao = {
|
|
1358
1357
|
type: "number",
|
|
1359
1358
|
name: "\u6570\u5B57",
|
|
1360
1359
|
default: {
|
|
@@ -1396,7 +1395,7 @@ const it = /* @__PURE__ */ C(lo, [["render", oo], ["__scopeId", "data-v-7c3d697b
|
|
|
1396
1395
|
}
|
|
1397
1396
|
}
|
|
1398
1397
|
]
|
|
1399
|
-
},
|
|
1398
|
+
}, so = {
|
|
1400
1399
|
type: "number-range",
|
|
1401
1400
|
name: "\u6570\u5B57\u533A\u95F4",
|
|
1402
1401
|
default: {
|
|
@@ -1859,14 +1858,14 @@ const it = /* @__PURE__ */ C(lo, [["render", oo], ["__scopeId", "data-v-7c3d697b
|
|
|
1859
1858
|
}
|
|
1860
1859
|
}
|
|
1861
1860
|
]
|
|
1862
|
-
},
|
|
1861
|
+
}, ut = {};
|
|
1863
1862
|
function F(e) {
|
|
1864
|
-
|
|
1863
|
+
ut[e.type] = e;
|
|
1865
1864
|
}
|
|
1866
1865
|
F(no);
|
|
1867
1866
|
F(io);
|
|
1868
|
-
F(so);
|
|
1869
1867
|
F(ao);
|
|
1868
|
+
F(so);
|
|
1870
1869
|
F(uo);
|
|
1871
1870
|
F(bo);
|
|
1872
1871
|
F(ro);
|
|
@@ -1876,7 +1875,7 @@ F(po);
|
|
|
1876
1875
|
F(mo);
|
|
1877
1876
|
F(ho);
|
|
1878
1877
|
F(fo);
|
|
1879
|
-
const
|
|
1878
|
+
const ke = ut, yo = {
|
|
1880
1879
|
options: {
|
|
1881
1880
|
labelPosition: "top",
|
|
1882
1881
|
submitButton: !1,
|
|
@@ -1975,13 +1974,13 @@ const we = rt, yo = {
|
|
|
1975
1974
|
}
|
|
1976
1975
|
]
|
|
1977
1976
|
};
|
|
1978
|
-
const
|
|
1977
|
+
const he = {
|
|
1979
1978
|
labelPosition: "top",
|
|
1980
1979
|
submitButton: !1,
|
|
1981
1980
|
cancelButton: !1
|
|
1982
1981
|
}, Re = [];
|
|
1983
|
-
Object.keys(
|
|
1984
|
-
Re.push({ value: e, label:
|
|
1982
|
+
Object.keys(ke).forEach((e) => {
|
|
1983
|
+
Re.push({ value: e, label: ke[e].name });
|
|
1985
1984
|
});
|
|
1986
1985
|
const vo = {
|
|
1987
1986
|
options: {
|
|
@@ -2016,7 +2015,7 @@ const vo = {
|
|
|
2016
2015
|
}
|
|
2017
2016
|
]
|
|
2018
2017
|
}, go = {
|
|
2019
|
-
components: { DevLayout:
|
|
2018
|
+
components: { DevLayout: rt, VForm: W, VButton: Te, JsonView: Fe },
|
|
2020
2019
|
props: {
|
|
2021
2020
|
schema: {
|
|
2022
2021
|
type: Object,
|
|
@@ -2048,7 +2047,7 @@ const vo = {
|
|
|
2048
2047
|
ctrlSchema: {},
|
|
2049
2048
|
ctrlName: "",
|
|
2050
2049
|
activeIndex: void 0,
|
|
2051
|
-
ctrlMap:
|
|
2050
|
+
ctrlMap: ke,
|
|
2052
2051
|
activeIndexReg: /(formItems)?\[(\d+)\]/,
|
|
2053
2052
|
tableStruct: "",
|
|
2054
2053
|
activeName: "1",
|
|
@@ -2069,7 +2068,7 @@ const vo = {
|
|
|
2069
2068
|
immediate: !0,
|
|
2070
2069
|
handler(e) {
|
|
2071
2070
|
const t = y(e);
|
|
2072
|
-
e.showSubmitButton === !1 && (t.submitButton = !1), e.cancelSubmitButton === !1 && (t.cancelButton = !1), delete t.showSubmitButton, delete t.showCancelButton, Object.keys(t).length > 0 && (this.builderSchema =
|
|
2071
|
+
e.showSubmitButton === !1 && (t.submitButton = !1), e.cancelSubmitButton === !1 && (t.cancelButton = !1), delete t.showSubmitButton, delete t.showCancelButton, Object.keys(t).length > 0 && (this.builderSchema = O(this.builderSchema, { options: t }), this.key++);
|
|
2073
2072
|
}
|
|
2074
2073
|
},
|
|
2075
2074
|
ctrlOptions: {
|
|
@@ -2081,8 +2080,8 @@ const vo = {
|
|
|
2081
2080
|
const l = t ? t.type : "", n = this.ctrlMap[l], o = n.trans ? n.trans(e) : e;
|
|
2082
2081
|
if (o && Object.keys(o).length > 0) {
|
|
2083
2082
|
if (o.type = l, this.activeIndex.indexOf("[") > -1) {
|
|
2084
|
-
const [
|
|
2085
|
-
this.builderSchema[
|
|
2083
|
+
const [a, s, c] = this.activeIndex.match(/(\w+)\[(\d+)\]/);
|
|
2084
|
+
this.builderSchema[s][c] = { ...o };
|
|
2086
2085
|
} else
|
|
2087
2086
|
this.builderSchema[this.activeIndex] = o;
|
|
2088
2087
|
this.key++;
|
|
@@ -2093,7 +2092,7 @@ const vo = {
|
|
|
2093
2092
|
handler(e) {
|
|
2094
2093
|
const t = this.ctrlMap[e];
|
|
2095
2094
|
this.ctrlSchema = y({
|
|
2096
|
-
options: y(
|
|
2095
|
+
options: y(he),
|
|
2097
2096
|
formItems: y(t.builder)
|
|
2098
2097
|
});
|
|
2099
2098
|
const l = ee(this.builderSchema, this.activeIndex);
|
|
@@ -2118,12 +2117,12 @@ const vo = {
|
|
|
2118
2117
|
this.ctrlOptions = {}, this.builderSchema[t] = this.builderSchema[t] || [];
|
|
2119
2118
|
const l = this.ctrlMap[e];
|
|
2120
2119
|
this.activeCtrl = l, this.builderSchema[t].push(y(l.default)), this.ctrlSchema = y({
|
|
2121
|
-
options: y(
|
|
2120
|
+
options: y(he),
|
|
2122
2121
|
formItems: y(l.builder)
|
|
2123
2122
|
}), this.ctrlKey++, this.key++, this.activeIndex = `${t}[${this.builderSchema[t].length - 1}]`, this.activeTab = "ctrl";
|
|
2124
2123
|
},
|
|
2125
2124
|
removeOne() {
|
|
2126
|
-
|
|
2125
|
+
tt(this.builderSchema, this.activeIndex), this.builderSchema = y(Ye(this.builderSchema)), this.activeIndex = "", this.ctrlOptions = {}, this.ctrlSchema = {}, this.key++, this.ctrlKey++;
|
|
2127
2126
|
},
|
|
2128
2127
|
clicklabel() {
|
|
2129
2128
|
const e = this.activeIndex;
|
|
@@ -2134,7 +2133,7 @@ const vo = {
|
|
|
2134
2133
|
return;
|
|
2135
2134
|
}
|
|
2136
2135
|
this.currentCtrlType = n, this.ctrlOptions = l, this.ctrlSchema = y({
|
|
2137
|
-
options: y(
|
|
2136
|
+
options: y(he),
|
|
2138
2137
|
formItems: y(o.builder)
|
|
2139
2138
|
}), this.ctrlKey++;
|
|
2140
2139
|
}
|
|
@@ -2149,34 +2148,34 @@ const vo = {
|
|
|
2149
2148
|
});
|
|
2150
2149
|
}
|
|
2151
2150
|
}
|
|
2152
|
-
}, ko = /* @__PURE__ */ g("\u4FDD\u5B58\u9875\u9762\u914D\u7F6E"),
|
|
2153
|
-
function
|
|
2154
|
-
const
|
|
2151
|
+
}, ko = /* @__PURE__ */ g("\u4FDD\u5B58\u9875\u9762\u914D\u7F6E"), Eo = /* @__PURE__ */ g(" \xA0\xA0 ");
|
|
2152
|
+
function wo(e, t, l, n, o, a) {
|
|
2153
|
+
const s = v("v-form"), c = We, d = se, p = v("JsonView"), f = v("VButton"), _ = we, A = Se, I = Ze, U = Qe, V = v("dev-layout");
|
|
2155
2154
|
return i(), m(V, null, {
|
|
2156
2155
|
main: r(() => [
|
|
2157
|
-
o.builderSchema.formItems ? (i(), m(
|
|
2156
|
+
o.builderSchema.formItems ? (i(), m(s, q({
|
|
2158
2157
|
key: 0,
|
|
2159
2158
|
ref: "form",
|
|
2160
2159
|
key: o.key,
|
|
2161
2160
|
dev: !0
|
|
2162
|
-
}, o.builderSchema), null, 16)) :
|
|
2161
|
+
}, o.builderSchema), null, 16)) : E("", !0),
|
|
2163
2162
|
u(c),
|
|
2164
2163
|
u(d, {
|
|
2165
2164
|
type: "primary",
|
|
2166
|
-
onClick:
|
|
2165
|
+
onClick: a.saveSchema
|
|
2167
2166
|
}, {
|
|
2168
2167
|
default: r(() => [
|
|
2169
2168
|
ko
|
|
2170
2169
|
]),
|
|
2171
2170
|
_: 1
|
|
2172
2171
|
}, 8, ["onClick"]),
|
|
2173
|
-
|
|
2172
|
+
Eo,
|
|
2174
2173
|
u(f, {
|
|
2175
2174
|
text: "PageSchema",
|
|
2176
2175
|
type: "modal"
|
|
2177
2176
|
}, {
|
|
2178
2177
|
default: r(() => [
|
|
2179
|
-
u(p, { data:
|
|
2178
|
+
u(p, { data: a.getSaveSchema }, null, 8, ["data"])
|
|
2180
2179
|
]),
|
|
2181
2180
|
_: 1
|
|
2182
2181
|
})
|
|
@@ -2204,8 +2203,8 @@ function Eo(e, t, l, n, o, s) {
|
|
|
2204
2203
|
})
|
|
2205
2204
|
]),
|
|
2206
2205
|
_: 1
|
|
2207
|
-
})) :
|
|
2208
|
-
(i(), m(
|
|
2206
|
+
})) : E("", !0),
|
|
2207
|
+
(i(), m(s, q({
|
|
2209
2208
|
key: o.ctrlKey,
|
|
2210
2209
|
modelValue: o.ctrlOptions,
|
|
2211
2210
|
"onUpdate:modelValue": t[1] || (t[1] = (x) => o.ctrlOptions = x)
|
|
@@ -2214,7 +2213,7 @@ function Eo(e, t, l, n, o, s) {
|
|
|
2214
2213
|
_: 1
|
|
2215
2214
|
});
|
|
2216
2215
|
}
|
|
2217
|
-
const So = /* @__PURE__ */ C(go, [["render",
|
|
2216
|
+
const So = /* @__PURE__ */ C(go, [["render", wo], ["__scopeId", "data-v-d89bdb06"]]), Co = {
|
|
2218
2217
|
type: "input",
|
|
2219
2218
|
name: "\u6587\u672C\u6846",
|
|
2220
2219
|
default: {
|
|
@@ -2408,7 +2407,7 @@ const So = /* @__PURE__ */ C(go, [["render", Eo], ["__scopeId", "data-v-d89bdb06
|
|
|
2408
2407
|
label: "\u5BFC\u51FA\u6309\u94AE"
|
|
2409
2408
|
}
|
|
2410
2409
|
]
|
|
2411
|
-
},
|
|
2410
|
+
}, be = {
|
|
2412
2411
|
labelPosition: "top",
|
|
2413
2412
|
submitButton: !1,
|
|
2414
2413
|
cancelButton: !1
|
|
@@ -2915,7 +2914,7 @@ const So = /* @__PURE__ */ C(go, [["render", Eo], ["__scopeId", "data-v-d89bdb06
|
|
|
2915
2914
|
table: Vo
|
|
2916
2915
|
};
|
|
2917
2916
|
const Uo = {
|
|
2918
|
-
components: { JsonView: Fe, DevLayout:
|
|
2917
|
+
components: { JsonView: Fe, DevLayout: rt, VTable: ie, VForm: W, VButton: Te },
|
|
2919
2918
|
props: {
|
|
2920
2919
|
schema: {
|
|
2921
2920
|
type: Object,
|
|
@@ -2924,7 +2923,7 @@ const Uo = {
|
|
|
2924
2923
|
}
|
|
2925
2924
|
},
|
|
2926
2925
|
data() {
|
|
2927
|
-
const e =
|
|
2926
|
+
const e = kt(this.$props.schema);
|
|
2928
2927
|
return delete e.listApi, e.list = [{}], {
|
|
2929
2928
|
baseSchema: qe,
|
|
2930
2929
|
activeTab: "base",
|
|
@@ -2976,7 +2975,7 @@ const Uo = {
|
|
|
2976
2975
|
deep: !0,
|
|
2977
2976
|
immediate: !0,
|
|
2978
2977
|
handler(e) {
|
|
2979
|
-
this.builderSchema =
|
|
2978
|
+
this.builderSchema = O(this.builderSchema, e), this.key++, this.updateBuilderSchema();
|
|
2980
2979
|
}
|
|
2981
2980
|
},
|
|
2982
2981
|
ctrlOptions: {
|
|
@@ -2993,8 +2992,8 @@ const Uo = {
|
|
|
2993
2992
|
const o = n.trans ? n.trans(e) : e;
|
|
2994
2993
|
if (o && Object.keys(o).length > 0) {
|
|
2995
2994
|
if (o.type = l, this.activeIndex.indexOf("[") > -1) {
|
|
2996
|
-
const [
|
|
2997
|
-
this.builderSchema[
|
|
2995
|
+
const [a, s, c] = this.activeIndex.match(/(\w+)\[(\d+)\]/);
|
|
2996
|
+
this.builderSchema[s][c] = { ...o };
|
|
2998
2997
|
} else
|
|
2999
2998
|
this.builderSchema[this.activeIndex] = o;
|
|
3000
2999
|
this.key++;
|
|
@@ -3006,7 +3005,7 @@ const Uo = {
|
|
|
3006
3005
|
handler(e) {
|
|
3007
3006
|
const t = this.ctrlMap[this.activeBrick][e];
|
|
3008
3007
|
this.ctrlSchema = y({
|
|
3009
|
-
options: y(
|
|
3008
|
+
options: y(be),
|
|
3010
3009
|
formItems: y(t.builder)
|
|
3011
3010
|
});
|
|
3012
3011
|
const l = ee(this.builderSchema, this.activeIndex);
|
|
@@ -3053,12 +3052,12 @@ const Uo = {
|
|
|
3053
3052
|
return;
|
|
3054
3053
|
}
|
|
3055
3054
|
this.activeCtrl = o[e], this.activeBrick = n, this.ctrlOptions = {}, this.builderSchema[t] = this.builderSchema[t] || [], this.builderSchema[t].push(y(o[e].default)), this.ctrlSchema = y({
|
|
3056
|
-
options: y(
|
|
3055
|
+
options: y(be),
|
|
3057
3056
|
formItems: y(o[e].builder)
|
|
3058
3057
|
}), this.key++, this.ctrlKey++, this.activeIndex = `${t}[${this.builderSchema[t].length - 1}]`, this.activeTab = "ctrl";
|
|
3059
3058
|
},
|
|
3060
3059
|
removeOne() {
|
|
3061
|
-
|
|
3060
|
+
tt(this.builderSchema, this.activeIndex), this.builderSchema = y(Ye(this.builderSchema)), console.log(this.builderSchema), this.activeIndex = "", this.ctrlOptions = {}, this.ctrlSchema = {}, this.key++, this.ctrlKey++;
|
|
3062
3061
|
},
|
|
3063
3062
|
clicklabel() {
|
|
3064
3063
|
const e = this.activeIndex, t = e.match(this.activeIndexReg);
|
|
@@ -3073,7 +3072,7 @@ const Uo = {
|
|
|
3073
3072
|
return;
|
|
3074
3073
|
}
|
|
3075
3074
|
this.ctrlOptions = l, this.currentCtrlType = n, this.ctrlSchema = y({
|
|
3076
|
-
options: y(
|
|
3075
|
+
options: y(be),
|
|
3077
3076
|
formItems: y(o.builder)
|
|
3078
3077
|
}), this.ctrlKey++;
|
|
3079
3078
|
}
|
|
@@ -3090,21 +3089,21 @@ const Uo = {
|
|
|
3090
3089
|
normalButton: n,
|
|
3091
3090
|
batchButton: o
|
|
3092
3091
|
}
|
|
3093
|
-
}).then(({ data:
|
|
3094
|
-
|
|
3092
|
+
}).then(({ data: a }) => {
|
|
3093
|
+
a && this.$message({ type: "success", message: "\u4FDD\u5B58\u6210\u529F, \u8BF7\u5237\u65B0\u9875\u9762\u67E5\u770B\u6548\u679C" });
|
|
3095
3094
|
});
|
|
3096
3095
|
}
|
|
3097
3096
|
}
|
|
3098
3097
|
}, Ho = /* @__PURE__ */ g("\u6DFB\u52A0\u641C\u7D22\u6761\u4EF6"), Go = /* @__PURE__ */ g("\u6587\u672C\u6846"), Jo = /* @__PURE__ */ g("\u4E0B\u62C9\u6846"), zo = /* @__PURE__ */ g("\u65E5\u671F"), Ko = /* @__PURE__ */ g("\u6DFB\u52A0\u5217\u8868\u9879"), Wo = /* @__PURE__ */ g("\u6DFB\u52A0\u884C\u6309\u94AE"), Zo = /* @__PURE__ */ g("\u6DFB\u52A0\u5E38\u89C4\u6309\u94AE"), Qo = /* @__PURE__ */ g("\u6309\u94AE\u7EC4"), Xo = /* @__PURE__ */ g("\u6DFB\u52A0\u6279\u91CF\u6309\u94AE"), Yo = /* @__PURE__ */ g("\u6309\u94AE\u7EC4"), en = /* @__PURE__ */ g("\u4FDD\u5B58\u9875\u9762\u914D\u7F6E"), tn = /* @__PURE__ */ g(" \xA0\xA0 ");
|
|
3099
|
-
function ln(e, t, l, n, o,
|
|
3100
|
-
const
|
|
3101
|
-
return i(), m(
|
|
3098
|
+
function ln(e, t, l, n, o, a) {
|
|
3099
|
+
const s = re, c = se, d = le, p = v("v-table"), f = We, _ = se, A = v("JsonView"), I = v("VButton"), U = we, V = Se, x = Ze, z = Qe, _t = v("v-form"), yt = v("dev-layout");
|
|
3100
|
+
return i(), m(yt, null, {
|
|
3102
3101
|
"left-aside": r(() => [
|
|
3103
3102
|
u(d, { style: { width: "200px" } }, {
|
|
3104
3103
|
default: r(() => [
|
|
3105
3104
|
u(d, null, {
|
|
3106
3105
|
default: r(() => [
|
|
3107
|
-
u(
|
|
3106
|
+
u(s, {
|
|
3108
3107
|
class: "title",
|
|
3109
3108
|
"data-id": 22222
|
|
3110
3109
|
}, {
|
|
@@ -3113,11 +3112,11 @@ function ln(e, t, l, n, o, s) {
|
|
|
3113
3112
|
]),
|
|
3114
3113
|
_: 1
|
|
3115
3114
|
}),
|
|
3116
|
-
u(
|
|
3115
|
+
u(s, { class: "ctrl" }, {
|
|
3117
3116
|
default: r(() => [
|
|
3118
3117
|
u(c, {
|
|
3119
3118
|
class: "ctrl-btn",
|
|
3120
|
-
onClick: t[0] || (t[0] = (S) =>
|
|
3119
|
+
onClick: t[0] || (t[0] = (S) => a.pushFilter("input"))
|
|
3121
3120
|
}, {
|
|
3122
3121
|
default: r(() => [
|
|
3123
3122
|
Go
|
|
@@ -3127,11 +3126,11 @@ function ln(e, t, l, n, o, s) {
|
|
|
3127
3126
|
]),
|
|
3128
3127
|
_: 1
|
|
3129
3128
|
}),
|
|
3130
|
-
u(
|
|
3129
|
+
u(s, { class: "ctrl" }, {
|
|
3131
3130
|
default: r(() => [
|
|
3132
3131
|
u(c, {
|
|
3133
3132
|
class: "ctrl-btn",
|
|
3134
|
-
onClick: t[1] || (t[1] = (S) =>
|
|
3133
|
+
onClick: t[1] || (t[1] = (S) => a.pushFilter("select"))
|
|
3135
3134
|
}, {
|
|
3136
3135
|
default: r(() => [
|
|
3137
3136
|
Jo
|
|
@@ -3141,11 +3140,11 @@ function ln(e, t, l, n, o, s) {
|
|
|
3141
3140
|
]),
|
|
3142
3141
|
_: 1
|
|
3143
3142
|
}),
|
|
3144
|
-
u(
|
|
3143
|
+
u(s, { class: "ctrl" }, {
|
|
3145
3144
|
default: r(() => [
|
|
3146
3145
|
u(c, {
|
|
3147
3146
|
class: "ctrl-btn",
|
|
3148
|
-
onClick: t[2] || (t[2] = (S) =>
|
|
3147
|
+
onClick: t[2] || (t[2] = (S) => a.pushFilter("date"))
|
|
3149
3148
|
}, {
|
|
3150
3149
|
default: r(() => [
|
|
3151
3150
|
zo
|
|
@@ -3160,20 +3159,20 @@ function ln(e, t, l, n, o, s) {
|
|
|
3160
3159
|
}),
|
|
3161
3160
|
u(d, null, {
|
|
3162
3161
|
default: r(() => [
|
|
3163
|
-
u(
|
|
3162
|
+
u(s, { class: "title" }, {
|
|
3164
3163
|
default: r(() => [
|
|
3165
3164
|
Ko
|
|
3166
3165
|
]),
|
|
3167
3166
|
_: 1
|
|
3168
3167
|
}),
|
|
3169
|
-
(i(!0), h(k, null, $(Object.keys(o.ctrlMap.headers), (S, M) => (i(), m(
|
|
3168
|
+
(i(!0), h(k, null, $(Object.keys(o.ctrlMap.headers), (S, M) => (i(), m(s, {
|
|
3170
3169
|
key: `column-${M}`,
|
|
3171
3170
|
class: "ctrl"
|
|
3172
3171
|
}, {
|
|
3173
3172
|
default: r(() => [
|
|
3174
3173
|
u(c, {
|
|
3175
3174
|
class: "ctrl-btn",
|
|
3176
|
-
onClick: (
|
|
3175
|
+
onClick: (pe) => a.pushHeaders(o.ctrlMap.headers[S].type)
|
|
3177
3176
|
}, {
|
|
3178
3177
|
default: r(() => [
|
|
3179
3178
|
g(B(o.ctrlMap.headers[S].name), 1)
|
|
@@ -3188,20 +3187,20 @@ function ln(e, t, l, n, o, s) {
|
|
|
3188
3187
|
}),
|
|
3189
3188
|
u(d, null, {
|
|
3190
3189
|
default: r(() => [
|
|
3191
|
-
u(
|
|
3190
|
+
u(s, { class: "title" }, {
|
|
3192
3191
|
default: r(() => [
|
|
3193
3192
|
Wo
|
|
3194
3193
|
]),
|
|
3195
3194
|
_: 1
|
|
3196
3195
|
}),
|
|
3197
|
-
(i(!0), h(k, null, $(Object.keys(o.ctrlMap.buttons), (S, M) => (i(), m(
|
|
3196
|
+
(i(!0), h(k, null, $(Object.keys(o.ctrlMap.buttons), (S, M) => (i(), m(s, {
|
|
3198
3197
|
key: `column-${M}`,
|
|
3199
3198
|
class: "ctrl"
|
|
3200
3199
|
}, {
|
|
3201
3200
|
default: r(() => [
|
|
3202
3201
|
u(c, {
|
|
3203
3202
|
class: "ctrl-btn",
|
|
3204
|
-
onClick: (
|
|
3203
|
+
onClick: (pe) => a.pushRowButton(o.ctrlMap.buttons[S].type)
|
|
3205
3204
|
}, {
|
|
3206
3205
|
default: r(() => [
|
|
3207
3206
|
g(B(o.ctrlMap.buttons[S].name), 1)
|
|
@@ -3216,20 +3215,20 @@ function ln(e, t, l, n, o, s) {
|
|
|
3216
3215
|
}),
|
|
3217
3216
|
u(d, null, {
|
|
3218
3217
|
default: r(() => [
|
|
3219
|
-
u(
|
|
3218
|
+
u(s, { class: "title" }, {
|
|
3220
3219
|
default: r(() => [
|
|
3221
3220
|
Zo
|
|
3222
3221
|
]),
|
|
3223
3222
|
_: 1
|
|
3224
3223
|
}),
|
|
3225
|
-
(i(!0), h(k, null, $(Object.keys(o.ctrlMap.buttons), (S, M) => (i(), m(
|
|
3224
|
+
(i(!0), h(k, null, $(Object.keys(o.ctrlMap.buttons), (S, M) => (i(), m(s, {
|
|
3226
3225
|
key: `column-${M}`,
|
|
3227
3226
|
class: "ctrl"
|
|
3228
3227
|
}, {
|
|
3229
3228
|
default: r(() => [
|
|
3230
3229
|
u(c, {
|
|
3231
3230
|
class: "ctrl-btn",
|
|
3232
|
-
onClick: (
|
|
3231
|
+
onClick: (pe) => a.pushNormalButton(o.ctrlMap.buttons[S].type)
|
|
3233
3232
|
}, {
|
|
3234
3233
|
default: r(() => [
|
|
3235
3234
|
g(B(o.ctrlMap.buttons[S].name), 1)
|
|
@@ -3239,7 +3238,7 @@ function ln(e, t, l, n, o, s) {
|
|
|
3239
3238
|
]),
|
|
3240
3239
|
_: 2
|
|
3241
3240
|
}, 1024))), 128)),
|
|
3242
|
-
u(
|
|
3241
|
+
u(s, { class: "ctrl" }, {
|
|
3243
3242
|
default: r(() => [
|
|
3244
3243
|
u(c, { class: "ctrl-btn" }, {
|
|
3245
3244
|
default: r(() => [
|
|
@@ -3255,20 +3254,20 @@ function ln(e, t, l, n, o, s) {
|
|
|
3255
3254
|
}),
|
|
3256
3255
|
u(d, null, {
|
|
3257
3256
|
default: r(() => [
|
|
3258
|
-
u(
|
|
3257
|
+
u(s, { class: "title" }, {
|
|
3259
3258
|
default: r(() => [
|
|
3260
3259
|
Xo
|
|
3261
3260
|
]),
|
|
3262
3261
|
_: 1
|
|
3263
3262
|
}),
|
|
3264
|
-
(i(!0), h(k, null, $(Object.keys(o.ctrlMap.buttons), (S, M) => (i(), m(
|
|
3263
|
+
(i(!0), h(k, null, $(Object.keys(o.ctrlMap.buttons), (S, M) => (i(), m(s, {
|
|
3265
3264
|
key: `column-${M}`,
|
|
3266
3265
|
class: "ctrl"
|
|
3267
3266
|
}, {
|
|
3268
3267
|
default: r(() => [
|
|
3269
3268
|
u(c, {
|
|
3270
3269
|
class: "ctrl-btn",
|
|
3271
|
-
onClick: (
|
|
3270
|
+
onClick: (pe) => a.pushBatchButton(o.ctrlMap.buttons[S].type)
|
|
3272
3271
|
}, {
|
|
3273
3272
|
default: r(() => [
|
|
3274
3273
|
g(B(o.ctrlMap.buttons[S].name), 1)
|
|
@@ -3278,7 +3277,7 @@ function ln(e, t, l, n, o, s) {
|
|
|
3278
3277
|
]),
|
|
3279
3278
|
_: 2
|
|
3280
3279
|
}, 1024))), 128)),
|
|
3281
|
-
u(
|
|
3280
|
+
u(s, { class: "ctrl" }, {
|
|
3282
3281
|
default: r(() => [
|
|
3283
3282
|
u(c, { class: "ctrl-btn" }, {
|
|
3284
3283
|
default: r(() => [
|
|
@@ -3305,7 +3304,7 @@ function ln(e, t, l, n, o, s) {
|
|
|
3305
3304
|
u(f),
|
|
3306
3305
|
u(_, {
|
|
3307
3306
|
type: "primary",
|
|
3308
|
-
onClick:
|
|
3307
|
+
onClick: a.saveSchema
|
|
3309
3308
|
}, {
|
|
3310
3309
|
default: r(() => [
|
|
3311
3310
|
en
|
|
@@ -3318,7 +3317,7 @@ function ln(e, t, l, n, o, s) {
|
|
|
3318
3317
|
type: "modal"
|
|
3319
3318
|
}, {
|
|
3320
3319
|
default: r(() => [
|
|
3321
|
-
u(A, { data:
|
|
3320
|
+
u(A, { data: a.getSaveSchema }, null, 8, ["data"])
|
|
3322
3321
|
]),
|
|
3323
3322
|
_: 1
|
|
3324
3323
|
})
|
|
@@ -3333,7 +3332,7 @@ function ln(e, t, l, n, o, s) {
|
|
|
3333
3332
|
"onUpdate:modelValue": t[3] || (t[3] = (S) => o.currentCtrlType = S)
|
|
3334
3333
|
}, {
|
|
3335
3334
|
default: r(() => [
|
|
3336
|
-
(i(!0), h(k, null, $(
|
|
3335
|
+
(i(!0), h(k, null, $(a.types, (S, M) => (i(), m(U, {
|
|
3337
3336
|
key: M,
|
|
3338
3337
|
label: S.label,
|
|
3339
3338
|
value: S.value
|
|
@@ -3346,8 +3345,8 @@ function ln(e, t, l, n, o, s) {
|
|
|
3346
3345
|
})
|
|
3347
3346
|
]),
|
|
3348
3347
|
_: 1
|
|
3349
|
-
})) :
|
|
3350
|
-
(i(), m(
|
|
3348
|
+
})) : E("", !0),
|
|
3349
|
+
(i(), m(_t, q({
|
|
3351
3350
|
key: o.ctrlKey,
|
|
3352
3351
|
modelValue: o.ctrlOptions,
|
|
3353
3352
|
"onUpdate:modelValue": t[4] || (t[4] = (S) => o.ctrlOptions = S)
|
|
@@ -3360,14 +3359,14 @@ const on = /* @__PURE__ */ C(Uo, [["render", ln], ["__scopeId", "data-v-77db3a16
|
|
|
3360
3359
|
name: "PageEditor",
|
|
3361
3360
|
components: { FormBuilder: So, TableBuilder: on },
|
|
3362
3361
|
setup() {
|
|
3363
|
-
const e = R(!1), t = R(1), l = "rtl", n =
|
|
3362
|
+
const e = R(!1), t = R(1), l = "rtl", n = ue(), o = j(() => w.state.app.pages[n.path]);
|
|
3364
3363
|
return { show: e, key: t, direction: l, pageSchema: o };
|
|
3365
3364
|
}
|
|
3366
3365
|
};
|
|
3367
|
-
function
|
|
3368
|
-
const
|
|
3366
|
+
function an(e, t, l, n, o, a) {
|
|
3367
|
+
const s = v("VIcon"), c = v("form-builder"), d = v("table-builder"), p = Xe;
|
|
3369
3368
|
return i(), h(k, null, [
|
|
3370
|
-
u(
|
|
3369
|
+
u(s, {
|
|
3371
3370
|
name: "ra-set",
|
|
3372
3371
|
onClick: t[0] || (t[0] = (f) => n.show = !n.show)
|
|
3373
3372
|
}),
|
|
@@ -3385,23 +3384,23 @@ function sn(e, t, l, n, o, s) {
|
|
|
3385
3384
|
n.pageSchema.formItems !== void 0 ? (i(), m(c, {
|
|
3386
3385
|
key: 0,
|
|
3387
3386
|
schema: n.pageSchema
|
|
3388
|
-
}, null, 8, ["schema"])) :
|
|
3387
|
+
}, null, 8, ["schema"])) : E("", !0),
|
|
3389
3388
|
n.pageSchema.headers !== void 0 ? (i(), m(d, {
|
|
3390
3389
|
key: 1,
|
|
3391
3390
|
schema: n.pageSchema
|
|
3392
|
-
}, null, 8, ["schema"])) :
|
|
3391
|
+
}, null, 8, ["schema"])) : E("", !0)
|
|
3393
3392
|
]),
|
|
3394
3393
|
_: 1
|
|
3395
3394
|
}, 8, ["modelValue", "direction"])
|
|
3396
3395
|
], 64);
|
|
3397
3396
|
}
|
|
3398
|
-
const
|
|
3397
|
+
const sn = /* @__PURE__ */ C(nn, [["render", an]]);
|
|
3399
3398
|
const rn = {
|
|
3400
3399
|
components: {
|
|
3401
3400
|
Breadcrumb: Xl,
|
|
3402
3401
|
Hamburger: to,
|
|
3403
3402
|
VButton: Te,
|
|
3404
|
-
PageEditor:
|
|
3403
|
+
PageEditor: sn
|
|
3405
3404
|
},
|
|
3406
3405
|
data() {
|
|
3407
3406
|
return {
|
|
@@ -3432,7 +3431,7 @@ const rn = {
|
|
|
3432
3431
|
}
|
|
3433
3432
|
},
|
|
3434
3433
|
mounted() {
|
|
3435
|
-
|
|
3434
|
+
et("el-submenu is-active");
|
|
3436
3435
|
const e = this.getSetting("navBarNotice");
|
|
3437
3436
|
e.length > 0 && !this.getSetting("closeNavNotice") && this.showNotice(e) && this.$notify({
|
|
3438
3437
|
title: "\u63D0\u793A",
|
|
@@ -3465,11 +3464,11 @@ const rn = {
|
|
|
3465
3464
|
},
|
|
3466
3465
|
showNotice(e) {
|
|
3467
3466
|
const t = "dismiss:navbar_notice";
|
|
3468
|
-
return
|
|
3467
|
+
return me.exist(t) ? me.get(t) !== e : !0;
|
|
3469
3468
|
},
|
|
3470
3469
|
closeNotice(e) {
|
|
3471
3470
|
const t = "dismiss:navbar_notice";
|
|
3472
|
-
|
|
3471
|
+
me.set(t, e);
|
|
3473
3472
|
},
|
|
3474
3473
|
gotoMenuEdit() {
|
|
3475
3474
|
var e, t, l, n;
|
|
@@ -3483,20 +3482,20 @@ const rn = {
|
|
|
3483
3482
|
class: "right-item-button",
|
|
3484
3483
|
style: { padding: "0" }
|
|
3485
3484
|
}, mn = { class: "user-info" }, fn = ["src"], hn = /* @__PURE__ */ g(), bn = { class: "user-name" }, _n = /* @__PURE__ */ g("\u9996\u9875"), yn = /* @__PURE__ */ g("\u9000\u51FA\u767B\u5F55");
|
|
3486
|
-
function vn(e, t, l, n, o,
|
|
3487
|
-
const
|
|
3485
|
+
function vn(e, t, l, n, o, a) {
|
|
3486
|
+
const s = v("hamburger"), c = v("breadcrumb"), d = re, p = v("VIcon"), f = v("PageEditor"), _ = v("v-button"), A = Dt, I = Ot, U = Pt, V = Xe, x = le;
|
|
3488
3487
|
return i(), m(x, {
|
|
3489
3488
|
ref: "header",
|
|
3490
3489
|
class: "navbar",
|
|
3491
|
-
style:
|
|
3490
|
+
style: Et({ background: a.setting.envColor[a.user.env] })
|
|
3492
3491
|
}, {
|
|
3493
3492
|
default: r(() => [
|
|
3494
3493
|
u(d, { span: 16 }, {
|
|
3495
3494
|
default: r(() => [
|
|
3496
|
-
u(
|
|
3495
|
+
u(s, {
|
|
3497
3496
|
"is-active": e.sidebar.opened,
|
|
3498
3497
|
class: "hamburger-container",
|
|
3499
|
-
onToggleClick:
|
|
3498
|
+
onToggleClick: a.toggleSideBar
|
|
3500
3499
|
}, null, 8, ["is-active", "onToggleClick"]),
|
|
3501
3500
|
u(c, { class: "breadcrumb-container" })
|
|
3502
3501
|
]),
|
|
@@ -3508,12 +3507,12 @@ function vn(e, t, l, n, o, s) {
|
|
|
3508
3507
|
b("div", cn, [
|
|
3509
3508
|
u(p, {
|
|
3510
3509
|
name: "ra-code",
|
|
3511
|
-
onClick:
|
|
3510
|
+
onClick: a.gotoMenuEdit
|
|
3512
3511
|
}, null, 8, ["onClick"])
|
|
3513
3512
|
]),
|
|
3514
|
-
|
|
3513
|
+
a.showPageJsonSchemaIcon ? (i(), h("div", dn, [
|
|
3515
3514
|
u(f)
|
|
3516
|
-
])) :
|
|
3515
|
+
])) : E("", !0),
|
|
3517
3516
|
b("div", pn, [
|
|
3518
3517
|
u(_, { buttons: e.nav }, null, 8, ["buttons"])
|
|
3519
3518
|
]),
|
|
@@ -3536,7 +3535,7 @@ function vn(e, t, l, n, o, s) {
|
|
|
3536
3535
|
u(A, {
|
|
3537
3536
|
divided: "",
|
|
3538
3537
|
icon: "el-icon-switch-button",
|
|
3539
|
-
onClick:
|
|
3538
|
+
onClick: a.logout
|
|
3540
3539
|
}, {
|
|
3541
3540
|
default: r(() => [
|
|
3542
3541
|
yn
|
|
@@ -3568,7 +3567,7 @@ function vn(e, t, l, n, o, s) {
|
|
|
3568
3567
|
key: 0,
|
|
3569
3568
|
"with-header": !1,
|
|
3570
3569
|
size: "50%"
|
|
3571
|
-
})) :
|
|
3570
|
+
})) : E("", !0)
|
|
3572
3571
|
]),
|
|
3573
3572
|
_: 1
|
|
3574
3573
|
}, 8, ["style"]);
|
|
@@ -3590,43 +3589,43 @@ const kn = {
|
|
|
3590
3589
|
return this.$store.state.settings.logo;
|
|
3591
3590
|
}
|
|
3592
3591
|
}
|
|
3593
|
-
},
|
|
3592
|
+
}, En = (e) => (Je("data-v-49084925"), e = e(), ze(), e), wn = ["src"], Sn = {
|
|
3594
3593
|
key: 1,
|
|
3595
3594
|
class: "sidebar-title"
|
|
3596
|
-
}, Cn = /* @__PURE__ */
|
|
3597
|
-
function $n(e, t, l, n, o,
|
|
3598
|
-
const
|
|
3595
|
+
}, Cn = /* @__PURE__ */ En(() => /* @__PURE__ */ b("div", null, "\u7CFB\u7EDF", -1)), xn = ["src"], Bn = { class: "sidebar-title" };
|
|
3596
|
+
function $n(e, t, l, n, o, a) {
|
|
3597
|
+
const s = v("router-link");
|
|
3599
3598
|
return i(), h("div", {
|
|
3600
3599
|
class: H(["sidebar-logo-container", { collapse: l.collapse }])
|
|
3601
3600
|
}, [
|
|
3602
3601
|
u(wt, { name: "sidebarLogoFade" }, {
|
|
3603
3602
|
default: r(() => [
|
|
3604
|
-
l.collapse ? (i(), m(
|
|
3603
|
+
l.collapse ? (i(), m(s, {
|
|
3605
3604
|
key: "collapse",
|
|
3606
3605
|
class: "sidebar-logo-link",
|
|
3607
3606
|
to: "/"
|
|
3608
3607
|
}, {
|
|
3609
3608
|
default: r(() => [
|
|
3610
|
-
|
|
3609
|
+
a.logo ? (i(), h("img", {
|
|
3611
3610
|
key: 0,
|
|
3612
|
-
src:
|
|
3611
|
+
src: a.logo,
|
|
3613
3612
|
class: "sidebar-logo"
|
|
3614
|
-
}, null, 8,
|
|
3613
|
+
}, null, 8, wn)) : (i(), h("h1", Sn, B(a.title), 1)),
|
|
3615
3614
|
Cn
|
|
3616
3615
|
]),
|
|
3617
3616
|
_: 1
|
|
3618
|
-
})) : (i(), m(
|
|
3617
|
+
})) : (i(), m(s, {
|
|
3619
3618
|
key: "expand",
|
|
3620
3619
|
class: "sidebar-logo-link",
|
|
3621
3620
|
to: "/"
|
|
3622
3621
|
}, {
|
|
3623
3622
|
default: r(() => [
|
|
3624
|
-
|
|
3623
|
+
a.logo ? (i(), h("img", {
|
|
3625
3624
|
key: 0,
|
|
3626
|
-
src:
|
|
3625
|
+
src: a.logo,
|
|
3627
3626
|
class: "sidebar-logo"
|
|
3628
|
-
}, null, 8, xn)) :
|
|
3629
|
-
b("h1", Bn, B(
|
|
3627
|
+
}, null, 8, xn)) : E("", !0),
|
|
3628
|
+
b("h1", Bn, B(a.title), 1)
|
|
3630
3629
|
]),
|
|
3631
3630
|
_: 1
|
|
3632
3631
|
}))
|
|
@@ -3674,8 +3673,8 @@ const In = /* @__PURE__ */ C(kn, [["render", $n], ["__scopeId", "data-v-49084925
|
|
|
3674
3673
|
}
|
|
3675
3674
|
}
|
|
3676
3675
|
};
|
|
3677
|
-
function Tn(e, t, l, n, o,
|
|
3678
|
-
return i(), m(Ke(
|
|
3676
|
+
function Tn(e, t, l, n, o, a) {
|
|
3677
|
+
return i(), m(Ke(a.compType(l.to)), J(Z(a.linkProps(l.to))), {
|
|
3679
3678
|
default: r(() => [
|
|
3680
3679
|
Y(e.$slots, "default")
|
|
3681
3680
|
]),
|
|
@@ -3758,8 +3757,8 @@ const Fn = /* @__PURE__ */ C(An, [["render", Tn]]), Dn = {
|
|
|
3758
3757
|
key: 0,
|
|
3759
3758
|
class: "menu-wrapper"
|
|
3760
3759
|
};
|
|
3761
|
-
function Mn(e, t, l, n, o,
|
|
3762
|
-
const
|
|
3760
|
+
function Mn(e, t, l, n, o, a) {
|
|
3761
|
+
const s = v("menu-content"), c = Rt, d = v("app-link"), p = v("sidebar-item", !0), f = Lt;
|
|
3763
3762
|
return l.item.hidden !== !1 ? (i(), h("div", Ln, [
|
|
3764
3763
|
l.item.meta && l.item.meta.menuType === 2 ? (i(), h(k, { key: 0 }, [
|
|
3765
3764
|
l.item.meta ? (i(), m(d, {
|
|
@@ -3773,7 +3772,7 @@ function Mn(e, t, l, n, o, s) {
|
|
|
3773
3772
|
class: H({ "submenu-title-noDropdown": !l.isNest })
|
|
3774
3773
|
}, {
|
|
3775
3774
|
default: r(() => [
|
|
3776
|
-
u(
|
|
3775
|
+
u(s, {
|
|
3777
3776
|
meta: l.item.meta
|
|
3778
3777
|
}, null, 8, ["meta"])
|
|
3779
3778
|
]),
|
|
@@ -3781,7 +3780,7 @@ function Mn(e, t, l, n, o, s) {
|
|
|
3781
3780
|
}, 8, ["index", "class"])
|
|
3782
3781
|
]),
|
|
3783
3782
|
_: 1
|
|
3784
|
-
}, 8, ["to", "new-tab"])) :
|
|
3783
|
+
}, 8, ["to", "new-tab"])) : E("", !0)
|
|
3785
3784
|
], 64)) : l.item.meta && l.item.meta.menuType === 1 ? (i(), m(f, {
|
|
3786
3785
|
key: 1,
|
|
3787
3786
|
ref: "subMenu",
|
|
@@ -3795,12 +3794,12 @@ function Mn(e, t, l, n, o, s) {
|
|
|
3795
3794
|
to: l.to
|
|
3796
3795
|
}, {
|
|
3797
3796
|
default: r(() => [
|
|
3798
|
-
u(
|
|
3797
|
+
u(s, {
|
|
3799
3798
|
meta: l.item.meta
|
|
3800
3799
|
}, null, 8, ["meta"])
|
|
3801
3800
|
]),
|
|
3802
3801
|
_: 1
|
|
3803
|
-
}, 8, ["to"])) : (i(), m(
|
|
3802
|
+
}, 8, ["to"])) : (i(), m(s, {
|
|
3804
3803
|
key: 1,
|
|
3805
3804
|
meta: l.item.meta
|
|
3806
3805
|
}, null, 8, ["meta"]))
|
|
@@ -3810,19 +3809,19 @@ function Mn(e, t, l, n, o, s) {
|
|
|
3810
3809
|
key: _.path,
|
|
3811
3810
|
"is-nest": !0,
|
|
3812
3811
|
item: _,
|
|
3813
|
-
to:
|
|
3812
|
+
to: a.getTo(_),
|
|
3814
3813
|
class: "nest-menu"
|
|
3815
3814
|
}, null, 8, ["item", "to"]))), 128))
|
|
3816
3815
|
]),
|
|
3817
3816
|
_: 1
|
|
3818
|
-
}, 8, ["index", "class"])) :
|
|
3819
|
-
])) :
|
|
3817
|
+
}, 8, ["index", "class"])) : E("", !0)
|
|
3818
|
+
])) : E("", !0);
|
|
3820
3819
|
}
|
|
3821
3820
|
const jn = /* @__PURE__ */ C(Rn, [["render", Mn]]);
|
|
3822
|
-
function
|
|
3821
|
+
function ct(e) {
|
|
3823
3822
|
return e.filter((t) => {
|
|
3824
3823
|
var l;
|
|
3825
|
-
return ((l = t.meta) == null ? void 0 : l.menuType) === 0 ? !1 : (t.children && (t.children =
|
|
3824
|
+
return ((l = t.meta) == null ? void 0 : l.menuType) === 0 ? !1 : (t.children && (t.children = ct(t.children), t.children.length === 0 && delete t.children), !0);
|
|
3826
3825
|
});
|
|
3827
3826
|
}
|
|
3828
3827
|
const Nn = {
|
|
@@ -3837,7 +3836,7 @@ const Nn = {
|
|
|
3837
3836
|
let e = [];
|
|
3838
3837
|
return this.remoteRouter.forEach((t) => {
|
|
3839
3838
|
e = e.concat(y(t.routes));
|
|
3840
|
-
}),
|
|
3839
|
+
}), ct(e);
|
|
3841
3840
|
}
|
|
3842
3841
|
},
|
|
3843
3842
|
methods: {
|
|
@@ -3846,18 +3845,18 @@ const Nn = {
|
|
|
3846
3845
|
}
|
|
3847
3846
|
}
|
|
3848
3847
|
};
|
|
3849
|
-
function Vn(e, t, l, n, o,
|
|
3850
|
-
const
|
|
3848
|
+
function Vn(e, t, l, n, o, a) {
|
|
3849
|
+
const s = we, c = Mt, d = Se;
|
|
3851
3850
|
return i(), m(d, {
|
|
3852
3851
|
modelValue: o.selected,
|
|
3853
3852
|
"onUpdate:modelValue": t[0] || (t[0] = (p) => o.selected = p),
|
|
3854
3853
|
filterable: "",
|
|
3855
3854
|
placeholder: "\u641C\u7D22\u83DC\u5355...",
|
|
3856
3855
|
class: "search-menu",
|
|
3857
|
-
onChange:
|
|
3856
|
+
onChange: a.onselected
|
|
3858
3857
|
}, {
|
|
3859
3858
|
default: r(() => [
|
|
3860
|
-
(i(!0), h(k, null, $(
|
|
3859
|
+
(i(!0), h(k, null, $(a.filterRoutes, (p) => (i(), h(k, {
|
|
3861
3860
|
key: p.path
|
|
3862
3861
|
}, [
|
|
3863
3862
|
p.children !== void 0 ? (i(), h(k, { key: 0 }, [
|
|
@@ -3869,16 +3868,16 @@ function Vn(e, t, l, n, o, s) {
|
|
|
3869
3868
|
(i(!0), h(k, null, $(p.children, (f, _) => (i(), h(k, {
|
|
3870
3869
|
key: f.path
|
|
3871
3870
|
}, [
|
|
3872
|
-
p.meta.menuType !== 0 ? (i(), m(
|
|
3871
|
+
p.meta.menuType !== 0 ? (i(), m(s, {
|
|
3873
3872
|
key: 0,
|
|
3874
3873
|
label: (_ === p.children.length - 1 ? "\u2514\u2500" : "\u251C\u2500") + f.meta.title,
|
|
3875
3874
|
value: f.path
|
|
3876
|
-
}, null, 8, ["label", "value"])) :
|
|
3875
|
+
}, null, 8, ["label", "value"])) : E("", !0)
|
|
3877
3876
|
], 64))), 128))
|
|
3878
3877
|
]),
|
|
3879
3878
|
_: 2
|
|
3880
|
-
}, 1032, ["label"])) :
|
|
3881
|
-
], 64)) : (i(), m(
|
|
3879
|
+
}, 1032, ["label"])) : E("", !0)
|
|
3880
|
+
], 64)) : (i(), m(s, {
|
|
3882
3881
|
key: 1,
|
|
3883
3882
|
label: "" + p.meta.title,
|
|
3884
3883
|
value: p.path
|
|
@@ -3889,7 +3888,7 @@ function Vn(e, t, l, n, o, s) {
|
|
|
3889
3888
|
}, 8, ["modelValue", "onChange"]);
|
|
3890
3889
|
}
|
|
3891
3890
|
const qn = /* @__PURE__ */ C(Nn, [["render", Vn], ["__scopeId", "data-v-811395be"]]);
|
|
3892
|
-
var P = /* @__PURE__ */ ((e) => (e[e.custom = 0] = "custom", e[e.list = 1] = "list", e[e.form = 2] = "form", e[e.customSchema = 3] = "customSchema", e[e.localComp = 4] = "localComp", e[e.tree = 5] = "tree", e[e.report = 6] = "report", e[e.entity = 7] = "entity", e))(P || {}),
|
|
3891
|
+
var P = /* @__PURE__ */ ((e) => (e[e.custom = 0] = "custom", e[e.list = 1] = "list", e[e.form = 2] = "form", e[e.customSchema = 3] = "customSchema", e[e.localComp = 4] = "localComp", e[e.tree = 5] = "tree", e[e.report = 6] = "report", e[e.entity = 7] = "entity", e))(P || {}), D = /* @__PURE__ */ ((e) => (e[e.hidden = 0] = "hidden", e[e.dir = 1] = "dir", e[e.menu = 2] = "menu", e[e.page = 3] = "page", e))(D || {});
|
|
3893
3892
|
const Un = N({
|
|
3894
3893
|
components: { SidebarItem: jn, Logo: In, SearchMenu: qn },
|
|
3895
3894
|
computed: {
|
|
@@ -3913,8 +3912,14 @@ const Un = N({
|
|
|
3913
3912
|
]);
|
|
3914
3913
|
},
|
|
3915
3914
|
activeMenu() {
|
|
3916
|
-
|
|
3917
|
-
|
|
3915
|
+
console.log(2222, this.$route);
|
|
3916
|
+
let e = this.$route.matched;
|
|
3917
|
+
for (let t = e.length - 1; t >= 0; t--) {
|
|
3918
|
+
let l = e[t];
|
|
3919
|
+
if (l.meta.menuType == D.menu)
|
|
3920
|
+
return this.$router.resolve(l.redirect ? l.redirect : l).fullPath;
|
|
3921
|
+
}
|
|
3922
|
+
return "";
|
|
3918
3923
|
},
|
|
3919
3924
|
showLogo() {
|
|
3920
3925
|
return this.$store.state.settings.sidebarLogo;
|
|
@@ -3930,24 +3935,27 @@ const Un = N({
|
|
|
3930
3935
|
return !this.sidebar.opened;
|
|
3931
3936
|
}
|
|
3932
3937
|
},
|
|
3938
|
+
mounted() {
|
|
3939
|
+
et("is-active");
|
|
3940
|
+
},
|
|
3933
3941
|
methods: {
|
|
3934
3942
|
filterRoute(e) {
|
|
3935
|
-
return e.filter((t) => [
|
|
3943
|
+
return e.filter((t) => [D.dir, D.menu].indexOf(t.meta.menuType) !== -1).map((t) => (t = Object.assign({}, t), t.children && (t.children = this.filterRoute(t.children)), t));
|
|
3936
3944
|
}
|
|
3937
3945
|
}
|
|
3938
3946
|
});
|
|
3939
|
-
function Hn(e, t, l, n, o,
|
|
3940
|
-
const
|
|
3947
|
+
function Hn(e, t, l, n, o, a) {
|
|
3948
|
+
const s = v("logo"), c = v("search-menu"), d = v("sidebar-item"), p = jt, f = Nt;
|
|
3941
3949
|
return i(), h("div", {
|
|
3942
3950
|
class: H({ "has-logo": e.showLogo })
|
|
3943
3951
|
}, [
|
|
3944
|
-
e.showLogo ? (i(), m(
|
|
3952
|
+
e.showLogo ? (i(), m(s, {
|
|
3945
3953
|
key: 0,
|
|
3946
3954
|
collapse: e.isCollapse
|
|
3947
|
-
}, null, 8, ["collapse"])) :
|
|
3955
|
+
}, null, 8, ["collapse"])) : E("", !0),
|
|
3948
3956
|
u(f, { "wrap-class": "scrollbar-wrapper" }, {
|
|
3949
3957
|
default: r(() => [
|
|
3950
|
-
e.isCollapse ?
|
|
3958
|
+
e.isCollapse ? E("", !0) : (i(), m(c, { key: 0 })),
|
|
3951
3959
|
u(p, {
|
|
3952
3960
|
"default-active": e.activeMenu,
|
|
3953
3961
|
collapse: e.isCollapse,
|
|
@@ -3976,18 +3984,18 @@ function Hn(e, t, l, n, o, s) {
|
|
|
3976
3984
|
})
|
|
3977
3985
|
], 2);
|
|
3978
3986
|
}
|
|
3979
|
-
const Gn = /* @__PURE__ */ C(Un, [["render", Hn], ["__scopeId", "data-v-
|
|
3987
|
+
const Gn = /* @__PURE__ */ C(Un, [["render", Hn], ["__scopeId", "data-v-cf9a1835"]]);
|
|
3980
3988
|
const Jn = { class: "app-main" }, zn = {
|
|
3981
3989
|
__name: "AppMain",
|
|
3982
3990
|
setup(e) {
|
|
3983
|
-
const t =
|
|
3991
|
+
const t = ue(), l = [], n = R(0);
|
|
3984
3992
|
return rl(() => {
|
|
3985
3993
|
var o;
|
|
3986
3994
|
(o = t.meta) != null && o.keepAlive && l.indexOf(t.name) && l.push(t.name), n.value++;
|
|
3987
|
-
}), (o,
|
|
3988
|
-
const
|
|
3995
|
+
}), (o, a) => {
|
|
3996
|
+
const s = v("router-view"), c = Vt;
|
|
3989
3997
|
return i(), h("section", Jn, [
|
|
3990
|
-
(i(), m(
|
|
3998
|
+
(i(), m(s, {
|
|
3991
3999
|
key: o.$route.fullPath + n.value
|
|
3992
4000
|
})),
|
|
3993
4001
|
u(c, { bottom: 50 })
|
|
@@ -3998,11 +4006,11 @@ const Jn = { class: "app-main" }, zn = {
|
|
|
3998
4006
|
const Wn = { class: "main-container" }, Zn = {
|
|
3999
4007
|
__name: "index",
|
|
4000
4008
|
setup(e) {
|
|
4001
|
-
const t =
|
|
4009
|
+
const t = lt(), { body: l } = document, n = 992, o = j(() => t.state.app.sidebar), a = j(() => t.state.app.device), s = j(() => t.state.settings.fixedHeader), c = j(() => ({
|
|
4002
4010
|
hideSidebar: !o.value.opened,
|
|
4003
4011
|
openSidebar: o.value.opened,
|
|
4004
4012
|
withoutAnimation: o.value.withoutAnimation,
|
|
4005
|
-
mobile:
|
|
4013
|
+
mobile: a.value === "mobile"
|
|
4006
4014
|
})), d = () => l.getBoundingClientRect().width - 1 < n;
|
|
4007
4015
|
hl(window, "resize", () => f());
|
|
4008
4016
|
const p = () => {
|
|
@@ -4016,15 +4024,15 @@ const Wn = { class: "main-container" }, Zn = {
|
|
|
4016
4024
|
return (_, A) => (i(), h("div", {
|
|
4017
4025
|
class: H([T(c), "app-wrapper"])
|
|
4018
4026
|
}, [
|
|
4019
|
-
T(
|
|
4027
|
+
T(a) === "mobile" && T(o).opened ? (i(), h("div", {
|
|
4020
4028
|
key: 0,
|
|
4021
4029
|
class: "drawer-bg",
|
|
4022
4030
|
onClick: p
|
|
4023
|
-
})) :
|
|
4031
|
+
})) : E("", !0),
|
|
4024
4032
|
u(T(Gn), { class: "sidebar-container" }),
|
|
4025
4033
|
b("div", Wn, [
|
|
4026
4034
|
b("div", {
|
|
4027
|
-
class: H({ "fixed-header": T(
|
|
4035
|
+
class: H({ "fixed-header": T(s) })
|
|
4028
4036
|
}, [
|
|
4029
4037
|
u(T(gn))
|
|
4030
4038
|
], 2),
|
|
@@ -4032,7 +4040,7 @@ const Wn = { class: "main-container" }, Zn = {
|
|
|
4032
4040
|
])
|
|
4033
4041
|
], 2));
|
|
4034
4042
|
}
|
|
4035
|
-
},
|
|
4043
|
+
}, dt = /* @__PURE__ */ C(Zn, [["__scopeId", "data-v-957442cd"]]);
|
|
4036
4044
|
class Qn {
|
|
4037
4045
|
constructor() {
|
|
4038
4046
|
this.type = "qrcode";
|
|
@@ -4056,11 +4064,11 @@ class Xn extends Qn {
|
|
|
4056
4064
|
}
|
|
4057
4065
|
showQrCode() {
|
|
4058
4066
|
const t = (o) => {
|
|
4059
|
-
const
|
|
4067
|
+
const a = {
|
|
4060
4068
|
appid: this.appid,
|
|
4061
4069
|
redirect_uri: encodeURIComponent(this.redirectUri)
|
|
4062
4070
|
};
|
|
4063
|
-
return K(this.reloadUrl,
|
|
4071
|
+
return K(this.reloadUrl, a) + "&" + Qt(o || {});
|
|
4064
4072
|
}, l = () => {
|
|
4065
4073
|
const o = {
|
|
4066
4074
|
goto: encodeURIComponent(t()),
|
|
@@ -4068,8 +4076,8 @@ class Xn extends Qn {
|
|
|
4068
4076
|
};
|
|
4069
4077
|
return K(this.qrCodeUrl, o);
|
|
4070
4078
|
}, n = (o) => {
|
|
4071
|
-
const { origin:
|
|
4072
|
-
|
|
4079
|
+
const { origin: a, data: s } = o;
|
|
4080
|
+
a === "https://login.dingtalk.com" && (window.location.href = t({ loginTmpCode: s }));
|
|
4073
4081
|
};
|
|
4074
4082
|
this.iframe.src = l(), Zt({ elId: this.elId, attrs: this.iframe }), typeof window.addEventListener < "u" ? window.addEventListener(
|
|
4075
4083
|
"message",
|
|
@@ -4081,34 +4089,34 @@ class Xn extends Qn {
|
|
|
4081
4089
|
const Yn = {
|
|
4082
4090
|
dingtalk: (e) => new Xn(e)
|
|
4083
4091
|
};
|
|
4084
|
-
function
|
|
4085
|
-
return
|
|
4092
|
+
function ea() {
|
|
4093
|
+
return O(w.state.settings.sso || {}, Yn);
|
|
4086
4094
|
}
|
|
4087
|
-
function
|
|
4088
|
-
const t =
|
|
4095
|
+
function ta(e) {
|
|
4096
|
+
const t = ea(), l = w.state.settings.activeSsoKey || "", n = t[l];
|
|
4089
4097
|
if (n !== void 0)
|
|
4090
4098
|
return n(e);
|
|
4091
4099
|
}
|
|
4092
|
-
const
|
|
4100
|
+
const la = { id: "login" }, oa = /* @__PURE__ */ b("h1", { id: "title" }, "\u767B\u5F55", -1), na = { id: "form" }, aa = { class: "tips" }, sa = { class: "sso" }, ia = /* @__PURE__ */ b("div", { id: "sso-qrcode" }, null, -1), ra = /* @__PURE__ */ N({
|
|
4093
4101
|
__name: "login",
|
|
4094
4102
|
setup(e) {
|
|
4095
|
-
const t = ul(), l =
|
|
4103
|
+
const t = ul(), l = ue(), n = j(() => w.state.settings.loginTips), o = R({
|
|
4096
4104
|
username: "",
|
|
4097
4105
|
password: ""
|
|
4098
|
-
}),
|
|
4106
|
+
}), a = () => {
|
|
4099
4107
|
if (o.value.username === "" || o.value.password === "") {
|
|
4100
|
-
|
|
4108
|
+
qt.error("\u8BF7\u586B\u5199\u7528\u6237\u540D\u548C\u5BC6\u7801");
|
|
4101
4109
|
return;
|
|
4102
4110
|
}
|
|
4103
|
-
|
|
4111
|
+
w.dispatch("user/login", o.value).then((s) => {
|
|
4104
4112
|
var c;
|
|
4105
4113
|
t.push({ path: ((c = l.query) == null ? void 0 : c.redirect) || "/" });
|
|
4106
4114
|
});
|
|
4107
4115
|
};
|
|
4108
|
-
return R(), (
|
|
4109
|
-
|
|
4110
|
-
b("form",
|
|
4111
|
-
|
|
4116
|
+
return R(), (s, c) => (i(), h("div", la, [
|
|
4117
|
+
oa,
|
|
4118
|
+
b("form", na, [
|
|
4119
|
+
_e(b("input", {
|
|
4112
4120
|
"onUpdate:modelValue": c[0] || (c[0] = (d) => o.value.username = d),
|
|
4113
4121
|
type: "text",
|
|
4114
4122
|
placeholder: "\u7528\u6237\u540D",
|
|
@@ -4116,7 +4124,7 @@ const ls = { id: "login" }, os = /* @__PURE__ */ b("h1", { id: "title" }, "\u767
|
|
|
4116
4124
|
}, null, 512), [
|
|
4117
4125
|
[Le, o.value.username]
|
|
4118
4126
|
]),
|
|
4119
|
-
|
|
4127
|
+
_e(b("input", {
|
|
4120
4128
|
"onUpdate:modelValue": c[1] || (c[1] = (d) => o.value.password = d),
|
|
4121
4129
|
type: "password",
|
|
4122
4130
|
placeholder: "\u5BC6\u7801",
|
|
@@ -4126,22 +4134,22 @@ const ls = { id: "login" }, os = /* @__PURE__ */ b("h1", { id: "title" }, "\u767
|
|
|
4126
4134
|
]),
|
|
4127
4135
|
b("div", {
|
|
4128
4136
|
class: "input button",
|
|
4129
|
-
onClick:
|
|
4137
|
+
onClick: a
|
|
4130
4138
|
}, "\u767B\u5F55"),
|
|
4131
|
-
b("div",
|
|
4139
|
+
b("div", aa, [
|
|
4132
4140
|
b("div", null, B(T(n)), 1)
|
|
4133
4141
|
]),
|
|
4134
|
-
b("div",
|
|
4135
|
-
|
|
4142
|
+
b("div", sa, [
|
|
4143
|
+
ia,
|
|
4136
4144
|
(i(!0), h(k, null, $(Object.keys([]), (d) => (i(), h("div", { key: d }, B(d), 1))), 128))
|
|
4137
4145
|
])
|
|
4138
4146
|
])
|
|
4139
4147
|
]));
|
|
4140
4148
|
}
|
|
4141
4149
|
});
|
|
4142
|
-
const
|
|
4150
|
+
const ua = {
|
|
4143
4151
|
name: "NotFoundPage"
|
|
4144
|
-
},
|
|
4152
|
+
}, pt = (e) => (Je("data-v-26068803"), e = e(), ze(), e), ca = { class: "not-found" }, da = /* @__PURE__ */ pt(() => /* @__PURE__ */ b("svg", {
|
|
4145
4153
|
width: "380px",
|
|
4146
4154
|
height: "500px",
|
|
4147
4155
|
viewBox: "0 0 837 1045",
|
|
@@ -4194,7 +4202,7 @@ const us = {
|
|
|
4194
4202
|
"sketch:type": "MSShapeGroup"
|
|
4195
4203
|
})
|
|
4196
4204
|
])
|
|
4197
|
-
], -1)),
|
|
4205
|
+
], -1)), pa = /* @__PURE__ */ pt(() => /* @__PURE__ */ b("div", { class: "message-box" }, [
|
|
4198
4206
|
/* @__PURE__ */ b("h1", null, "404"),
|
|
4199
4207
|
/* @__PURE__ */ b("p", null, "Page not found"),
|
|
4200
4208
|
/* @__PURE__ */ b("div", { class: "buttons-con" }, [
|
|
@@ -4205,17 +4213,17 @@ const us = {
|
|
|
4205
4213
|
}, "Go to Home Page")
|
|
4206
4214
|
])
|
|
4207
4215
|
])
|
|
4208
|
-
], -1)),
|
|
4209
|
-
|
|
4210
|
-
|
|
4216
|
+
], -1)), ma = [
|
|
4217
|
+
da,
|
|
4218
|
+
pa
|
|
4211
4219
|
];
|
|
4212
|
-
function
|
|
4213
|
-
return i(), h("div",
|
|
4220
|
+
function fa(e, t, l, n, o, a) {
|
|
4221
|
+
return i(), h("div", ca, ma);
|
|
4214
4222
|
}
|
|
4215
|
-
const
|
|
4223
|
+
const ha = /* @__PURE__ */ C(ua, [["render", fa], ["__scopeId", "data-v-26068803"]]), ba = [
|
|
4216
4224
|
{
|
|
4217
4225
|
path: "/",
|
|
4218
|
-
component:
|
|
4226
|
+
component: dt,
|
|
4219
4227
|
redirect: "/dashboard",
|
|
4220
4228
|
name: "Root",
|
|
4221
4229
|
meta: {
|
|
@@ -4232,72 +4240,72 @@ const hs = /* @__PURE__ */ C(us, [["render", fs], ["__scopeId", "data-v-26068803
|
|
|
4232
4240
|
},
|
|
4233
4241
|
{
|
|
4234
4242
|
path: "/login",
|
|
4235
|
-
component:
|
|
4243
|
+
component: ra,
|
|
4236
4244
|
meta: { title: "\u7528\u6237\u767B\u5F55", menuType: 0 },
|
|
4237
4245
|
hidden: !0
|
|
4238
4246
|
},
|
|
4239
4247
|
{
|
|
4240
4248
|
path: "/404",
|
|
4241
|
-
component:
|
|
4249
|
+
component: ha,
|
|
4242
4250
|
meta: { menuType: 0 },
|
|
4243
4251
|
hidden: !0
|
|
4244
4252
|
}
|
|
4245
4253
|
], te = cl({
|
|
4246
4254
|
history: dl(),
|
|
4247
|
-
routes:
|
|
4255
|
+
routes: ba
|
|
4248
4256
|
});
|
|
4249
|
-
|
|
4250
|
-
function
|
|
4257
|
+
ve.configure({ showSpinner: !1 });
|
|
4258
|
+
function _a(e) {
|
|
4251
4259
|
e.beforeEach((t, l, n) => {
|
|
4252
|
-
|
|
4260
|
+
ve.start(), t.preHash = location.hash.replace("#", ""), n();
|
|
4253
4261
|
}), e.afterEach((t) => {
|
|
4254
|
-
t.matched.length > 0 &&
|
|
4262
|
+
t.matched.length > 0 && w.commit("user/updateState", {
|
|
4255
4263
|
key: "path",
|
|
4256
4264
|
value: t.matched[t.matched.length - 1].path.replace("(\\d+)", "")
|
|
4257
|
-
}),
|
|
4265
|
+
}), ve.done();
|
|
4258
4266
|
});
|
|
4259
4267
|
}
|
|
4260
|
-
function
|
|
4261
|
-
return
|
|
4268
|
+
function ya() {
|
|
4269
|
+
return w.state.user.isLodeRemoteRoutes;
|
|
4262
4270
|
}
|
|
4263
|
-
function
|
|
4264
|
-
return
|
|
4271
|
+
function mt() {
|
|
4272
|
+
return w.state.settings.whiteRoutes || [];
|
|
4265
4273
|
}
|
|
4266
|
-
function
|
|
4267
|
-
return
|
|
4274
|
+
function va() {
|
|
4275
|
+
return w.state.user.token;
|
|
4268
4276
|
}
|
|
4269
|
-
function
|
|
4277
|
+
function ga(e) {
|
|
4270
4278
|
e.beforeEach(async (t, l, n) => {
|
|
4271
4279
|
var d, p;
|
|
4272
|
-
if (
|
|
4280
|
+
if (mt().indexOf(t.path) !== -1) {
|
|
4273
4281
|
n();
|
|
4274
4282
|
return;
|
|
4275
4283
|
}
|
|
4276
|
-
if (
|
|
4284
|
+
if (va()) {
|
|
4277
4285
|
(d = t.query) != null && d.redirect ? n((p = t.query) == null ? void 0 : p.redirect) : n();
|
|
4278
4286
|
return;
|
|
4279
4287
|
}
|
|
4280
|
-
const
|
|
4281
|
-
if (!
|
|
4282
|
-
n(`/login?redirect=${
|
|
4288
|
+
const a = t.query.redirect || t.path, s = ta({});
|
|
4289
|
+
if (!s) {
|
|
4290
|
+
n(`/login?redirect=${a}`);
|
|
4283
4291
|
return;
|
|
4284
4292
|
}
|
|
4285
|
-
const c =
|
|
4286
|
-
if (c && await
|
|
4293
|
+
const c = s.flag();
|
|
4294
|
+
if (c && await w.dispatch("user/login", { ticket: c })) {
|
|
4287
4295
|
n();
|
|
4288
4296
|
return;
|
|
4289
4297
|
}
|
|
4290
|
-
|
|
4298
|
+
s.jumpToLoginPage(n, `/login?redirect=${a}`);
|
|
4291
4299
|
});
|
|
4292
4300
|
}
|
|
4293
|
-
const
|
|
4294
|
-
|
|
4301
|
+
const ka = {}, Ea = { class: "loading preloader" }, wa = /* @__PURE__ */ b("div", { class: "preloader-inner" }, null, -1), Sa = [
|
|
4302
|
+
wa
|
|
4295
4303
|
];
|
|
4296
|
-
function
|
|
4297
|
-
return i(), h("div",
|
|
4304
|
+
function Ca(e, t) {
|
|
4305
|
+
return i(), h("div", Ea, Sa);
|
|
4298
4306
|
}
|
|
4299
|
-
const
|
|
4300
|
-
components: { VLoading:
|
|
4307
|
+
const ft = /* @__PURE__ */ C(ka, [["render", Ca]]), xa = N({
|
|
4308
|
+
components: { VLoading: ft },
|
|
4301
4309
|
props: {
|
|
4302
4310
|
schemaHandler: {
|
|
4303
4311
|
type: Function,
|
|
@@ -4322,45 +4330,45 @@ const mt = /* @__PURE__ */ C(ks, [["render", Cs]]), xs = N({
|
|
|
4322
4330
|
beforeCreate() {
|
|
4323
4331
|
const e = this.$route.path.split("/").filter((o) => o), t = e.length > 1 ? e.slice(0, e.length - 1).join("/") : e[0], l = "/schema" + this.$route.meta.path, n = { params: this.$route.params };
|
|
4324
4332
|
this.$http.get(this.$props.schemaApi || l, n).then(({ data: o }) => {
|
|
4325
|
-
this.loading = !1, o.notice !== void 0 && (this.haveNotice = !0,
|
|
4333
|
+
this.loading = !1, o.notice !== void 0 && (this.haveNotice = !0, Be(o.notice) ? this.notice = {
|
|
4326
4334
|
title: o.notice
|
|
4327
|
-
} :
|
|
4335
|
+
} : $e(o.notice) && (this.notice = o.notice), delete o.notice), this.owners = o.ownerNames || [], this.schema = this.$props.schemaHandler(o, t), w.commit("app/SET_PAGE_JSON_SCHEMA", { page: this.$route.path, json: this.schema });
|
|
4328
4336
|
});
|
|
4329
4337
|
}
|
|
4330
4338
|
});
|
|
4331
|
-
function
|
|
4332
|
-
const
|
|
4339
|
+
function Ba(e, t, l, n, o, a) {
|
|
4340
|
+
const s = ye, c = ye, d = ft;
|
|
4333
4341
|
return i(), h(k, null, [
|
|
4334
|
-
e.owners.length > 0 ? (i(), m(
|
|
4342
|
+
e.owners.length > 0 ? (i(), m(s, {
|
|
4335
4343
|
key: 0,
|
|
4336
4344
|
title: `\u8BE5\u9875\u9762\u529F\u80FD\u5BF9\u5E94\u5F00\u53D1: [ ${e.owners.join(", ")} ] \u6709\u95EE\u9898\u53EF\u76F4\u63A5\u4F01\u5FAE\u53CD\u9988`,
|
|
4337
4345
|
type: "info",
|
|
4338
4346
|
style: { margin: "0 0 20px 0" },
|
|
4339
4347
|
closable: !1
|
|
4340
|
-
}, null, 8, ["title"])) :
|
|
4341
|
-
e.haveNotice ? (i(), m(c, q({ key: 1 }, e.notice, { style: { margin: "0 0 20px 0" } }), null, 16)) :
|
|
4348
|
+
}, null, 8, ["title"])) : E("", !0),
|
|
4349
|
+
e.haveNotice ? (i(), m(c, q({ key: 1 }, e.notice, { style: { margin: "0 0 20px 0" } }), null, 16)) : E("", !0),
|
|
4342
4350
|
e.loading ? (i(), m(d, { key: 2 })) : Y(e.$slots, "default", J(q({ key: 3 }, e.schema)))
|
|
4343
4351
|
], 64);
|
|
4344
4352
|
}
|
|
4345
|
-
const
|
|
4353
|
+
const de = /* @__PURE__ */ C(xa, [["render", Ba]]), ht = {
|
|
4346
4354
|
__name: "table",
|
|
4347
4355
|
setup(e) {
|
|
4348
4356
|
const t = (l, n) => {
|
|
4349
4357
|
if (l.orderBy) {
|
|
4350
|
-
const
|
|
4358
|
+
const a = {
|
|
4351
4359
|
prop: l.orderBy.field,
|
|
4352
4360
|
order: l.orderBy.mod === "desc" ? "descending" : "ascending"
|
|
4353
4361
|
};
|
|
4354
|
-
l.tableProps =
|
|
4362
|
+
l.tableProps = O(l.tableProps, { defaultSort: a });
|
|
4355
4363
|
}
|
|
4356
|
-
const o = Object.keys(
|
|
4357
|
-
return Object.keys(l).forEach((
|
|
4358
|
-
o.indexOf(
|
|
4364
|
+
const o = Object.keys(ie.props);
|
|
4365
|
+
return Object.keys(l).forEach((a) => {
|
|
4366
|
+
o.indexOf(a) === -1 && delete l[a];
|
|
4359
4367
|
}), l.listApi === void 0 && (l.listApi = `/${n}/list`), l;
|
|
4360
4368
|
};
|
|
4361
|
-
return (l, n) => (i(), m(
|
|
4369
|
+
return (l, n) => (i(), m(de, { "schema-handler": t }, {
|
|
4362
4370
|
default: r((o) => [
|
|
4363
|
-
u(T(
|
|
4371
|
+
u(T(ie), J(Z(o)), null, 16)
|
|
4364
4372
|
]),
|
|
4365
4373
|
_: 1
|
|
4366
4374
|
}));
|
|
@@ -4368,29 +4376,29 @@ const pe = /* @__PURE__ */ C(xs, [["render", Bs]]), ft = {
|
|
|
4368
4376
|
}, Ee = {
|
|
4369
4377
|
__name: "form",
|
|
4370
4378
|
setup(e) {
|
|
4371
|
-
const t =
|
|
4372
|
-
const
|
|
4373
|
-
return Object.keys(n).forEach((
|
|
4374
|
-
if (
|
|
4375
|
-
delete n[
|
|
4379
|
+
const t = ue(), l = (n, o) => {
|
|
4380
|
+
const a = Object.keys(W.props);
|
|
4381
|
+
return Object.keys(n).forEach((s) => {
|
|
4382
|
+
if (a.indexOf(s) === -1) {
|
|
4383
|
+
delete n[s];
|
|
4376
4384
|
return;
|
|
4377
4385
|
}
|
|
4378
|
-
/.*Api$/.test(
|
|
4379
|
-
}), n.saveApi === void 0 && (t.params.id !== void 0 ? (n.saveApi = `/${o}/update/${t.params.id}`, n.getApi || (n.getApi = `/${o}/get/${t.params.id}`)) : (delete n.getApi, n.saveApi = `/${o}/create`)), n =
|
|
4386
|
+
/.*Api$/.test(s) && (n[s] = K(n[s], t.params));
|
|
4387
|
+
}), n.saveApi === void 0 && (t.params.id !== void 0 ? (n.saveApi = `/${o}/update/${t.params.id}`, n.getApi || (n.getApi = `/${o}/get/${t.params.id}`)) : (delete n.getApi, n.saveApi = `/${o}/create`)), n = O({
|
|
4380
4388
|
saveApi: o + "/save",
|
|
4381
4389
|
afterSubmit: "goback",
|
|
4382
4390
|
afterReset: "goback",
|
|
4383
4391
|
mod: t.params.id ? "edit" : "create"
|
|
4384
4392
|
}, n), n;
|
|
4385
4393
|
};
|
|
4386
|
-
return (n, o) => (i(), m(
|
|
4387
|
-
default: r((
|
|
4388
|
-
u(T(W), J(Z(
|
|
4394
|
+
return (n, o) => (i(), m(de, { "schema-handler": l }, {
|
|
4395
|
+
default: r((a) => [
|
|
4396
|
+
u(T(W), J(Z(a)), null, 16)
|
|
4389
4397
|
]),
|
|
4390
4398
|
_: 1
|
|
4391
4399
|
}));
|
|
4392
4400
|
}
|
|
4393
|
-
}, $
|
|
4401
|
+
}, $a = N({
|
|
4394
4402
|
name: "VTree",
|
|
4395
4403
|
components: {
|
|
4396
4404
|
VForm: W
|
|
@@ -4445,7 +4453,7 @@ const pe = /* @__PURE__ */ C(xs, [["render", Bs]]), ft = {
|
|
|
4445
4453
|
type: 0,
|
|
4446
4454
|
treeData: [],
|
|
4447
4455
|
formData: {},
|
|
4448
|
-
localTreeProps:
|
|
4456
|
+
localTreeProps: O({
|
|
4449
4457
|
"default-expand-all": !0,
|
|
4450
4458
|
"expand-on-click-node": !1,
|
|
4451
4459
|
props: {
|
|
@@ -4487,9 +4495,9 @@ const pe = /* @__PURE__ */ C(xs, [["render", Bs]]), ft = {
|
|
|
4487
4495
|
this.type = 2, this.formData = e, this.formkey++;
|
|
4488
4496
|
},
|
|
4489
4497
|
append(e, t) {
|
|
4490
|
-
var n, o,
|
|
4498
|
+
var n, o, a;
|
|
4491
4499
|
this.type = 1;
|
|
4492
|
-
const l = { pid: e.id, [(o = (n = this.$props.props) == null ? void 0 : n.levelKey) != null ? o : "level"]: t.level + 1, ...Xt((
|
|
4500
|
+
const l = { pid: e.id, [(o = (n = this.$props.props) == null ? void 0 : n.levelKey) != null ? o : "level"]: t.level + 1, ...Xt((a = this.$props.props) == null ? void 0 : a.effectData, e) };
|
|
4493
4501
|
console.log(111, l), e.children || (e.children = []), this.formData = l, this.formkey++, e.children.push(l), this.treeData = [...this.treeData];
|
|
4494
4502
|
},
|
|
4495
4503
|
canAppend(e, t) {
|
|
@@ -4526,38 +4534,38 @@ const pe = /* @__PURE__ */ C(xs, [["render", Bs]]), ft = {
|
|
|
4526
4534
|
method: "POST",
|
|
4527
4535
|
url: K(this.$props.saveApi, o),
|
|
4528
4536
|
data: o
|
|
4529
|
-
}).then(({ code:
|
|
4530
|
-
|
|
4537
|
+
}).then(({ code: a }) => {
|
|
4538
|
+
a !== 0 && this.$message.error("\u64CD\u4F5C\u5931\u8D25");
|
|
4531
4539
|
});
|
|
4532
4540
|
}
|
|
4533
4541
|
}
|
|
4534
4542
|
});
|
|
4535
|
-
const
|
|
4543
|
+
const Ia = { class: "card-header" }, Aa = /* @__PURE__ */ b("span", null, "\u5217\u8868", -1), Ta = /* @__PURE__ */ g("\u6DFB\u52A0"), Fa = { class: "tree-action" }, Da = { key: 0 }, Oa = {
|
|
4536
4544
|
key: 1,
|
|
4537
4545
|
style: { color: "#E6A23C" }
|
|
4538
|
-
},
|
|
4539
|
-
function
|
|
4540
|
-
const l =
|
|
4546
|
+
}, Pa = /* @__PURE__ */ g("\u7F16\u8F91"), Ra = /* @__PURE__ */ g("\u6DFB\u52A0"), La = /* @__PURE__ */ g("\u5220\u9664"), Ma = { class: "card-header" };
|
|
4547
|
+
function ja(e, t) {
|
|
4548
|
+
const l = se, n = Ut, o = Ce, a = re, s = v("v-form"), c = le;
|
|
4541
4549
|
return i(), m(c, {
|
|
4542
4550
|
class: "tree-box",
|
|
4543
4551
|
gutter: 20
|
|
4544
4552
|
}, {
|
|
4545
4553
|
default: r(() => [
|
|
4546
|
-
u(
|
|
4554
|
+
u(a, {
|
|
4547
4555
|
span: 8,
|
|
4548
4556
|
class: "tree-tree"
|
|
4549
4557
|
}, {
|
|
4550
4558
|
default: r(() => [
|
|
4551
4559
|
u(o, { shadow: "never" }, {
|
|
4552
4560
|
header: r(() => [
|
|
4553
|
-
b("div",
|
|
4554
|
-
|
|
4561
|
+
b("div", Ia, [
|
|
4562
|
+
Aa,
|
|
4555
4563
|
u(l, {
|
|
4556
4564
|
type: "text",
|
|
4557
4565
|
onClick: t[0] || (t[0] = () => e.appendNew())
|
|
4558
4566
|
}, {
|
|
4559
4567
|
default: r(() => [
|
|
4560
|
-
|
|
4568
|
+
Ta
|
|
4561
4569
|
]),
|
|
4562
4570
|
_: 1
|
|
4563
4571
|
})
|
|
@@ -4576,8 +4584,8 @@ function js(e, t) {
|
|
|
4576
4584
|
onNodeDragEnd: e.handleDragEnd
|
|
4577
4585
|
}), {
|
|
4578
4586
|
default: r(({ node: d, data: p }) => [
|
|
4579
|
-
b("span",
|
|
4580
|
-
p[e.localTreeProps.props.label] ? (i(), h("span",
|
|
4587
|
+
b("span", Fa, [
|
|
4588
|
+
p[e.localTreeProps.props.label] ? (i(), h("span", Da, B(p[e.localTreeProps.props.label]), 1)) : (i(), h("span", Oa, "\u8BF7\u5728\u53F3\u4FA7\u8868\u5355\u4E2D\u4FEE\u6539 --> ")),
|
|
4581
4589
|
b("span", null, [
|
|
4582
4590
|
p[e.localTreeProps.props.label] ? (i(), m(l, {
|
|
4583
4591
|
key: 0,
|
|
@@ -4586,10 +4594,10 @@ function js(e, t) {
|
|
|
4586
4594
|
onClick: () => e.onclick(p)
|
|
4587
4595
|
}, {
|
|
4588
4596
|
default: r(() => [
|
|
4589
|
-
|
|
4597
|
+
Pa
|
|
4590
4598
|
]),
|
|
4591
4599
|
_: 2
|
|
4592
|
-
}, 1032, ["onClick"])) :
|
|
4600
|
+
}, 1032, ["onClick"])) : E("", !0),
|
|
4593
4601
|
e.canAppend(p, d) ? (i(), m(l, {
|
|
4594
4602
|
key: 1,
|
|
4595
4603
|
class: "button",
|
|
@@ -4597,10 +4605,10 @@ function js(e, t) {
|
|
|
4597
4605
|
onClick: () => e.append(p, d)
|
|
4598
4606
|
}, {
|
|
4599
4607
|
default: r(() => [
|
|
4600
|
-
|
|
4608
|
+
Ra
|
|
4601
4609
|
]),
|
|
4602
4610
|
_: 2
|
|
4603
|
-
}, 1032, ["onClick"])) :
|
|
4611
|
+
}, 1032, ["onClick"])) : E("", !0),
|
|
4604
4612
|
p.children === void 0 || p.children.length === 0 ? (i(), m(l, {
|
|
4605
4613
|
key: 2,
|
|
4606
4614
|
class: "button",
|
|
@@ -4608,22 +4616,22 @@ function js(e, t) {
|
|
|
4608
4616
|
onClick: () => e.remove(p)
|
|
4609
4617
|
}, {
|
|
4610
4618
|
default: r(() => [
|
|
4611
|
-
|
|
4619
|
+
La
|
|
4612
4620
|
]),
|
|
4613
4621
|
_: 2
|
|
4614
|
-
}, 1032, ["onClick"])) :
|
|
4622
|
+
}, 1032, ["onClick"])) : E("", !0)
|
|
4615
4623
|
])
|
|
4616
4624
|
])
|
|
4617
4625
|
]),
|
|
4618
4626
|
_: 1
|
|
4619
|
-
}, 16, ["data", "allow-drag", "allow-drop", "onNodeDragEnd"])) :
|
|
4627
|
+
}, 16, ["data", "allow-drag", "allow-drop", "onNodeDragEnd"])) : E("", !0)
|
|
4620
4628
|
]),
|
|
4621
4629
|
_: 1
|
|
4622
4630
|
})
|
|
4623
4631
|
]),
|
|
4624
4632
|
_: 1
|
|
4625
4633
|
}),
|
|
4626
|
-
u(
|
|
4634
|
+
u(a, {
|
|
4627
4635
|
span: 16,
|
|
4628
4636
|
class: "tree-form"
|
|
4629
4637
|
}, {
|
|
@@ -4633,19 +4641,19 @@ function js(e, t) {
|
|
|
4633
4641
|
shadow: "never"
|
|
4634
4642
|
}, {
|
|
4635
4643
|
header: r(() => [
|
|
4636
|
-
b("div",
|
|
4644
|
+
b("div", Ma, [
|
|
4637
4645
|
b("span", null, B(e.formType), 1)
|
|
4638
4646
|
])
|
|
4639
4647
|
]),
|
|
4640
4648
|
default: r(() => [
|
|
4641
|
-
(i(), m(
|
|
4649
|
+
(i(), m(s, q({
|
|
4642
4650
|
key: e.formkey,
|
|
4643
4651
|
modelValue: e.formData,
|
|
4644
4652
|
"onUpdate:modelValue": t[1] || (t[1] = (d) => e.formData = d)
|
|
4645
4653
|
}, e.formProps, { onSubmit: e.submit }), null, 16, ["modelValue", "onSubmit"]))
|
|
4646
4654
|
]),
|
|
4647
4655
|
_: 1
|
|
4648
|
-
})) :
|
|
4656
|
+
})) : E("", !0)
|
|
4649
4657
|
]),
|
|
4650
4658
|
_: 1
|
|
4651
4659
|
})
|
|
@@ -4653,16 +4661,16 @@ function js(e, t) {
|
|
|
4653
4661
|
_: 1
|
|
4654
4662
|
});
|
|
4655
4663
|
}
|
|
4656
|
-
const Ue = /* @__PURE__ */ C($
|
|
4664
|
+
const Ue = /* @__PURE__ */ C($a, [["render", ja]]), Na = {
|
|
4657
4665
|
__name: "tree",
|
|
4658
4666
|
setup(e) {
|
|
4659
4667
|
const t = (l, n) => {
|
|
4660
4668
|
const o = Object.keys(Ue.props);
|
|
4661
|
-
return Object.keys(l).forEach((
|
|
4662
|
-
o.indexOf(
|
|
4669
|
+
return Object.keys(l).forEach((a) => {
|
|
4670
|
+
o.indexOf(a) === -1 && delete l[a];
|
|
4663
4671
|
}), l;
|
|
4664
4672
|
};
|
|
4665
|
-
return (l, n) => (i(), m(
|
|
4673
|
+
return (l, n) => (i(), m(de, { "schema-handler": t }, {
|
|
4666
4674
|
default: r((o) => [
|
|
4667
4675
|
u(Ue, J(Z(o)), null, 16)
|
|
4668
4676
|
]),
|
|
@@ -4680,7 +4688,7 @@ const Ue = /* @__PURE__ */ C($s, [["render", js]]), Ns = {
|
|
|
4680
4688
|
return i(), m(o);
|
|
4681
4689
|
};
|
|
4682
4690
|
}
|
|
4683
|
-
},
|
|
4691
|
+
}, Va = {
|
|
4684
4692
|
title: {
|
|
4685
4693
|
text: ""
|
|
4686
4694
|
},
|
|
@@ -4709,16 +4717,16 @@ const Ue = /* @__PURE__ */ C($s, [["render", js]]), Ns = {
|
|
|
4709
4717
|
},
|
|
4710
4718
|
series: []
|
|
4711
4719
|
};
|
|
4712
|
-
function
|
|
4720
|
+
function qa(e, t, l) {
|
|
4713
4721
|
if (l.length === 0)
|
|
4714
4722
|
return {};
|
|
4715
|
-
let n =
|
|
4716
|
-
if (n.title.text = e,
|
|
4717
|
-
const o = [],
|
|
4718
|
-
let
|
|
4723
|
+
let n = O({}, Va);
|
|
4724
|
+
if (n.title.text = e, Be(t)) {
|
|
4725
|
+
const o = [], a = Object.keys(l[0]);
|
|
4726
|
+
let s = a[0], c = a.filter((p, f) => f > 0), d = t;
|
|
4719
4727
|
if (t.indexOf(":") > -1) {
|
|
4720
4728
|
const p = t.split(":"), f = p[1].split(",");
|
|
4721
|
-
d = p[0],
|
|
4729
|
+
d = p[0], s = f[0], c = f.filter((_, A) => A > 0);
|
|
4722
4730
|
}
|
|
4723
4731
|
c.forEach((p) => {
|
|
4724
4732
|
const f = [];
|
|
@@ -4731,12 +4739,12 @@ function qs(e, t, l) {
|
|
|
4731
4739
|
data: f
|
|
4732
4740
|
}), n.legend.data.push(p);
|
|
4733
4741
|
}), l.forEach((p) => {
|
|
4734
|
-
o.push(p[
|
|
4742
|
+
o.push(p[s]);
|
|
4735
4743
|
}), n.xAxis.data = o;
|
|
4736
4744
|
}
|
|
4737
|
-
return
|
|
4745
|
+
return $e(t) && (n = O(n, t)), console.log(111, n), n;
|
|
4738
4746
|
}
|
|
4739
|
-
const
|
|
4747
|
+
const Ua = N({
|
|
4740
4748
|
name: "NumberPanel",
|
|
4741
4749
|
props: {
|
|
4742
4750
|
dataList: {
|
|
@@ -4747,27 +4755,27 @@ const Us = N({
|
|
|
4747
4755
|
data() {
|
|
4748
4756
|
return {};
|
|
4749
4757
|
}
|
|
4750
|
-
}),
|
|
4751
|
-
function
|
|
4752
|
-
return i(!0), h(k, null, $(e.dataList, (
|
|
4753
|
-
b("div",
|
|
4754
|
-
(i(!0), h(k, null, $(Object.keys(
|
|
4758
|
+
}), Ha = { class: "number-panel-title" }, Ga = { class: "number" }, Ja = { class: "name" };
|
|
4759
|
+
function za(e, t, l, n, o, a) {
|
|
4760
|
+
return i(!0), h(k, null, $(e.dataList, (s, c) => (i(), h("span", { key: c }, [
|
|
4761
|
+
b("div", Ha, [
|
|
4762
|
+
(i(!0), h(k, null, $(Object.keys(s), (d, p) => (i(), h("div", {
|
|
4755
4763
|
key: p,
|
|
4756
4764
|
class: "title-inner"
|
|
4757
4765
|
}, [
|
|
4758
|
-
b("p",
|
|
4759
|
-
b("p",
|
|
4766
|
+
b("p", Ga, B(s[d]), 1),
|
|
4767
|
+
b("p", Ja, B(d), 1)
|
|
4760
4768
|
]))), 128))
|
|
4761
4769
|
])
|
|
4762
4770
|
]))), 128);
|
|
4763
4771
|
}
|
|
4764
|
-
const
|
|
4772
|
+
const Ka = /* @__PURE__ */ C(Ua, [["render", za], ["__scopeId", "data-v-cc0d8293"]]), Wa = {
|
|
4765
4773
|
components: {
|
|
4766
|
-
Chart:
|
|
4774
|
+
Chart: al,
|
|
4767
4775
|
Md: bl,
|
|
4768
4776
|
Json: Fe,
|
|
4769
|
-
Table:
|
|
4770
|
-
Number:
|
|
4777
|
+
Table: ie,
|
|
4778
|
+
Number: Ka,
|
|
4771
4779
|
Html: ""
|
|
4772
4780
|
},
|
|
4773
4781
|
props: {
|
|
@@ -4788,7 +4796,7 @@ const Ks = /* @__PURE__ */ C(Us, [["render", zs], ["__scopeId", "data-v-cc0d8293
|
|
|
4788
4796
|
};
|
|
4789
4797
|
if (o === "chart")
|
|
4790
4798
|
return {
|
|
4791
|
-
options:
|
|
4799
|
+
options: qa(n.id, n.chart, n.data)
|
|
4792
4800
|
};
|
|
4793
4801
|
if (o === "md")
|
|
4794
4802
|
return {
|
|
@@ -4797,11 +4805,11 @@ const Ks = /* @__PURE__ */ C(Us, [["render", zs], ["__scopeId", "data-v-cc0d8293
|
|
|
4797
4805
|
if (o === "table") {
|
|
4798
4806
|
if (!Yt(n.data))
|
|
4799
4807
|
return { showPagination: !1 };
|
|
4800
|
-
const
|
|
4801
|
-
return n.data[0] && Object.keys(n.data[0]).forEach((
|
|
4802
|
-
|
|
4808
|
+
const a = [];
|
|
4809
|
+
return n.data[0] && Object.keys(n.data[0]).forEach((s, c) => {
|
|
4810
|
+
a.push({ field: s, label: s });
|
|
4803
4811
|
}), {
|
|
4804
|
-
headers:
|
|
4812
|
+
headers: a,
|
|
4805
4813
|
list: n.data,
|
|
4806
4814
|
showPagination: !1
|
|
4807
4815
|
};
|
|
@@ -4812,9 +4820,9 @@ const Ks = /* @__PURE__ */ C(Us, [["render", zs], ["__scopeId", "data-v-cc0d8293
|
|
|
4812
4820
|
};
|
|
4813
4821
|
}
|
|
4814
4822
|
};
|
|
4815
|
-
function
|
|
4816
|
-
const
|
|
4817
|
-
return
|
|
4823
|
+
function Za(e, t, l, n, o, a) {
|
|
4824
|
+
const s = Ce, c = St("resize");
|
|
4825
|
+
return _e((i(), m(s, {
|
|
4818
4826
|
shadow: "never",
|
|
4819
4827
|
class: "part"
|
|
4820
4828
|
}, {
|
|
@@ -4826,7 +4834,7 @@ function Zs(e, t, l, n, o, s) {
|
|
|
4826
4834
|
[c, !0]
|
|
4827
4835
|
]);
|
|
4828
4836
|
}
|
|
4829
|
-
const
|
|
4837
|
+
const Qa = /* @__PURE__ */ C(Wa, [["render", Za], ["__scopeId", "data-v-a5a65cc1"]]), Xa = /* @__PURE__ */ N({
|
|
4830
4838
|
__name: "index",
|
|
4831
4839
|
props: {
|
|
4832
4840
|
filter: {
|
|
@@ -4840,7 +4848,7 @@ const Qs = /* @__PURE__ */ C(Ws, [["render", Zs], ["__scopeId", "data-v-a5a65cc1
|
|
|
4840
4848
|
},
|
|
4841
4849
|
setup(e) {
|
|
4842
4850
|
const t = e, l = useRoute();
|
|
4843
|
-
|
|
4851
|
+
Ct(() => {
|
|
4844
4852
|
});
|
|
4845
4853
|
const n = R({});
|
|
4846
4854
|
Ge(() => {
|
|
@@ -4859,7 +4867,7 @@ const Qs = /* @__PURE__ */ C(Ws, [["render", Zs], ["__scopeId", "data-v-a5a65cc1
|
|
|
4859
4867
|
cancelButton: {
|
|
4860
4868
|
text: "\u91CD\u7F6E"
|
|
4861
4869
|
}
|
|
4862
|
-
},
|
|
4870
|
+
}, a = R(1), s = R(t.filter), c = R(t.dataPart), d = j(() => {
|
|
4863
4871
|
let f = l.params.id;
|
|
4864
4872
|
if (!f) {
|
|
4865
4873
|
const _ = l.path.split("/");
|
|
@@ -4868,14 +4876,14 @@ const Qs = /* @__PURE__ */ C(Ws, [["render", Zs], ["__scopeId", "data-v-a5a65cc1
|
|
|
4868
4876
|
return "/focusbi_report/view/" + f;
|
|
4869
4877
|
}), p = (f) => {
|
|
4870
4878
|
Hl.get(d.value, { params: f }).then(({ data: _ }) => {
|
|
4871
|
-
|
|
4879
|
+
s.value = _.filter, c.value = _.dataPart, a.value++;
|
|
4872
4880
|
});
|
|
4873
4881
|
};
|
|
4874
4882
|
return (f, _) => {
|
|
4875
|
-
const A =
|
|
4883
|
+
const A = Ce, I = re, U = ye, V = le;
|
|
4876
4884
|
return i(), m(V, null, {
|
|
4877
4885
|
default: r(() => [
|
|
4878
|
-
|
|
4886
|
+
s.value.length > 0 ? (i(), m(I, {
|
|
4879
4887
|
key: 0,
|
|
4880
4888
|
span: 24
|
|
4881
4889
|
}, {
|
|
@@ -4888,7 +4896,7 @@ const Qs = /* @__PURE__ */ C(Ws, [["render", Zs], ["__scopeId", "data-v-a5a65cc1
|
|
|
4888
4896
|
u(T(W), {
|
|
4889
4897
|
modelValue: n.value,
|
|
4890
4898
|
"onUpdate:modelValue": _[0] || (_[0] = (x) => n.value = x),
|
|
4891
|
-
"form-items":
|
|
4899
|
+
"form-items": s.value,
|
|
4892
4900
|
options: o,
|
|
4893
4901
|
onSubmit: p
|
|
4894
4902
|
}, null, 8, ["modelValue", "form-items"])
|
|
@@ -4897,7 +4905,7 @@ const Qs = /* @__PURE__ */ C(Ws, [["render", Zs], ["__scopeId", "data-v-a5a65cc1
|
|
|
4897
4905
|
})
|
|
4898
4906
|
]),
|
|
4899
4907
|
_: 1
|
|
4900
|
-
})) :
|
|
4908
|
+
})) : E("", !0),
|
|
4901
4909
|
u(I, { span: 24 }, {
|
|
4902
4910
|
default: r(() => [
|
|
4903
4911
|
u(V, { gutter: 20 }, {
|
|
@@ -4916,8 +4924,8 @@ const Qs = /* @__PURE__ */ C(Ws, [["render", Zs], ["__scopeId", "data-v-a5a65cc1
|
|
|
4916
4924
|
g(B(x.errMsg), 1)
|
|
4917
4925
|
]),
|
|
4918
4926
|
_: 2
|
|
4919
|
-
}, 1032, ["title"])) : (i(), m(
|
|
4920
|
-
key:
|
|
4927
|
+
}, 1032, ["title"])) : (i(), m(Qa, {
|
|
4928
|
+
key: a.value,
|
|
4921
4929
|
option: x
|
|
4922
4930
|
}, null, 8, ["option"]))
|
|
4923
4931
|
]),
|
|
@@ -4935,7 +4943,7 @@ const Qs = /* @__PURE__ */ C(Ws, [["render", Zs], ["__scopeId", "data-v-a5a65cc1
|
|
|
4935
4943
|
};
|
|
4936
4944
|
}
|
|
4937
4945
|
});
|
|
4938
|
-
const
|
|
4946
|
+
const Ya = {
|
|
4939
4947
|
__name: "report",
|
|
4940
4948
|
setup(e) {
|
|
4941
4949
|
const t = useRoute(), l = j(() => {
|
|
@@ -4946,9 +4954,9 @@ const Ys = {
|
|
|
4946
4954
|
}
|
|
4947
4955
|
return "/focusbi_report/view/" + n;
|
|
4948
4956
|
});
|
|
4949
|
-
return (n, o) => (i(), m(
|
|
4950
|
-
default: r((
|
|
4951
|
-
u(
|
|
4957
|
+
return (n, o) => (i(), m(de, { "schema-api": T(l) }, {
|
|
4958
|
+
default: r((a) => [
|
|
4959
|
+
u(Xa, J(Z(a)), null, 16)
|
|
4952
4960
|
]),
|
|
4953
4961
|
_: 1
|
|
4954
4962
|
}, 8, ["schema-api"]));
|
|
@@ -4958,7 +4966,7 @@ let X = {};
|
|
|
4958
4966
|
function hi(e) {
|
|
4959
4967
|
X = e;
|
|
4960
4968
|
}
|
|
4961
|
-
const
|
|
4969
|
+
const es = (e) => {
|
|
4962
4970
|
const t = (l) => {
|
|
4963
4971
|
const n = "./views/" + l + ".vue";
|
|
4964
4972
|
return X && X[n] && X[n].default ? X[n].default : (console.error(`\u81EA\u5B9A\u4E49\u7EC4\u4EF6\u4E0D\u5B58\u5728 ${e.name} ${e.view}`), oe);
|
|
@@ -4967,33 +4975,33 @@ const ea = (e) => {
|
|
|
4967
4975
|
return oe;
|
|
4968
4976
|
switch (e.page_type) {
|
|
4969
4977
|
case P.list:
|
|
4970
|
-
return
|
|
4978
|
+
return ht;
|
|
4971
4979
|
case P.form:
|
|
4972
4980
|
return Ee;
|
|
4973
4981
|
case P.custom:
|
|
4974
4982
|
case P.localComp:
|
|
4975
4983
|
return t(e.view || "");
|
|
4976
4984
|
case P.tree:
|
|
4977
|
-
return
|
|
4985
|
+
return Na;
|
|
4978
4986
|
case P.report:
|
|
4979
|
-
return
|
|
4987
|
+
return Ya;
|
|
4980
4988
|
case P.customSchema:
|
|
4981
4989
|
return oe;
|
|
4982
4990
|
}
|
|
4983
4991
|
return oe;
|
|
4984
4992
|
};
|
|
4985
|
-
function
|
|
4993
|
+
function ts(e) {
|
|
4986
4994
|
let t = e.path;
|
|
4987
|
-
return e.type ===
|
|
4995
|
+
return e.type === D.menu && e.page_type === P.entity && (t = "#"), t.indexOf(":id") > -1 && t.indexOf(":id") + 3 === t.length && (t = t.replace(":id", ":id(\\d+)")), t === "#" ? "/" + e.id + "_DIR_" + e.name : t[0] !== "/" ? "/" + t : t;
|
|
4988
4996
|
}
|
|
4989
|
-
function
|
|
4997
|
+
function ls(e) {
|
|
4990
4998
|
return (e.path + e.name).split("/").filter((t) => t).join("_");
|
|
4991
4999
|
}
|
|
4992
|
-
const
|
|
4993
|
-
const t = e.type !==
|
|
4994
|
-
path:
|
|
4995
|
-
name: e.id + "_" +
|
|
4996
|
-
component:
|
|
5000
|
+
const bt = (e) => {
|
|
5001
|
+
const t = e.type !== D.page, l = {
|
|
5002
|
+
path: ts(e),
|
|
5003
|
+
name: e.id + "_" + ls(e) + "_" + e.path.replaceAll("/", "_"),
|
|
5004
|
+
component: es(e),
|
|
4997
5005
|
meta: {
|
|
4998
5006
|
id: e.id,
|
|
4999
5007
|
pageId: e.id,
|
|
@@ -5004,18 +5012,18 @@ const ht = (e) => {
|
|
|
5004
5012
|
menuType: e.type,
|
|
5005
5013
|
keepAlive: !1
|
|
5006
5014
|
},
|
|
5007
|
-
children: e.children ? e.children.map((n) =>
|
|
5015
|
+
children: e.children ? e.children.map((n) => bt(n)) : []
|
|
5008
5016
|
};
|
|
5009
5017
|
if (e.page_type === P.entity) {
|
|
5010
|
-
const n = e.path + "/list", o = e.path + "/form",
|
|
5018
|
+
const n = e.path + "/list", o = e.path + "/form", a = e.path + "/:id", s = [{
|
|
5011
5019
|
path: n,
|
|
5012
5020
|
name: e.name + "\u5217\u8868" + e.id,
|
|
5013
|
-
component:
|
|
5021
|
+
component: ht,
|
|
5014
5022
|
meta: {
|
|
5015
5023
|
id: e.id + 99999,
|
|
5016
5024
|
title: "\u5217\u8868",
|
|
5017
5025
|
hidden: !0,
|
|
5018
|
-
menuType:
|
|
5026
|
+
menuType: D.hidden,
|
|
5019
5027
|
keepAlive: !1,
|
|
5020
5028
|
pageId: e.id
|
|
5021
5029
|
}
|
|
@@ -5027,42 +5035,42 @@ const ht = (e) => {
|
|
|
5027
5035
|
id: e.id + 99999 + 1,
|
|
5028
5036
|
title: "\u65B0\u5EFA",
|
|
5029
5037
|
hidden: !0,
|
|
5030
|
-
menuType:
|
|
5038
|
+
menuType: D.hidden,
|
|
5031
5039
|
keepAlive: !1,
|
|
5032
5040
|
pageId: e.id
|
|
5033
5041
|
}
|
|
5034
5042
|
}, {
|
|
5035
|
-
path:
|
|
5043
|
+
path: a,
|
|
5036
5044
|
name: e.name + "\u7F16\u8F91" + e.id,
|
|
5037
5045
|
component: Ee,
|
|
5038
5046
|
meta: {
|
|
5039
5047
|
id: e.id + 99999 + 2,
|
|
5040
5048
|
title: "\u7F16\u8F91",
|
|
5041
5049
|
hidden: !0,
|
|
5042
|
-
menuType:
|
|
5050
|
+
menuType: D.hidden,
|
|
5043
5051
|
keepAlive: !1,
|
|
5044
5052
|
pageId: e.id
|
|
5045
5053
|
}
|
|
5046
5054
|
}];
|
|
5047
|
-
l.children = [...
|
|
5055
|
+
l.children = [...s, ...l.children];
|
|
5048
5056
|
}
|
|
5049
5057
|
if (l.children && l.children.length > 0) {
|
|
5050
5058
|
let n = !0;
|
|
5051
5059
|
if (l.children.forEach((o) => {
|
|
5052
5060
|
o.meta && !o.meta.hidden && (n = !1);
|
|
5053
|
-
}), l.meta && (l.meta.menuType = t ?
|
|
5054
|
-
l.meta && (l.meta.menuType =
|
|
5061
|
+
}), l.meta && (l.meta.menuType = t ? D.dir : D.hidden), n) {
|
|
5062
|
+
l.meta && (l.meta.menuType = D.menu);
|
|
5055
5063
|
let o = "/";
|
|
5056
|
-
for (let
|
|
5057
|
-
if (l.children[
|
|
5058
|
-
o = l.children[
|
|
5064
|
+
for (let a = 0; a < l.children.length; a++)
|
|
5065
|
+
if (l.children[a].path.indexOf("/:") === -1) {
|
|
5066
|
+
o = l.children[a].path;
|
|
5059
5067
|
break;
|
|
5060
5068
|
}
|
|
5061
5069
|
l.redirect = o, l.path = "/" + e.id + "_DIR" + l.redirect.replaceAll("/", "_").toUpperCase();
|
|
5062
5070
|
}
|
|
5063
5071
|
}
|
|
5064
5072
|
return l;
|
|
5065
|
-
},
|
|
5073
|
+
}, os = (e) => {
|
|
5066
5074
|
const t = [];
|
|
5067
5075
|
return e.forEach((l) => {
|
|
5068
5076
|
const n = {
|
|
@@ -5071,51 +5079,51 @@ const ht = (e) => {
|
|
|
5071
5079
|
routes: []
|
|
5072
5080
|
};
|
|
5073
5081
|
l.routes.forEach((o) => {
|
|
5074
|
-
n.routes.push(
|
|
5082
|
+
n.routes.push(bt(o));
|
|
5075
5083
|
}), t.push(n);
|
|
5076
5084
|
}), t;
|
|
5077
5085
|
};
|
|
5078
|
-
function
|
|
5086
|
+
function ns(e) {
|
|
5079
5087
|
e.beforeEach(async (t, l, n) => {
|
|
5080
|
-
if (
|
|
5088
|
+
if (mt().indexOf(t.path) !== -1) {
|
|
5081
5089
|
n();
|
|
5082
5090
|
return;
|
|
5083
5091
|
}
|
|
5084
|
-
if (
|
|
5092
|
+
if (ya()) {
|
|
5085
5093
|
n();
|
|
5086
5094
|
return;
|
|
5087
5095
|
}
|
|
5088
|
-
await
|
|
5089
|
-
const o = await
|
|
5090
|
-
|
|
5091
|
-
|
|
5096
|
+
await w.dispatch("user/info");
|
|
5097
|
+
const o = await w.dispatch("user/loadRemoteRoutes"), a = os(o);
|
|
5098
|
+
a.forEach((s) => {
|
|
5099
|
+
s.routes.forEach((c) => {
|
|
5092
5100
|
e.addRoute({
|
|
5093
5101
|
path: "/",
|
|
5094
|
-
component:
|
|
5102
|
+
component: dt,
|
|
5095
5103
|
children: [c]
|
|
5096
5104
|
});
|
|
5097
5105
|
});
|
|
5098
|
-
}), e.addRoute({ name: "404", path: "/:pathMatch(.*)*", redirect: "/404", hidden: !0 }),
|
|
5106
|
+
}), e.addRoute({ name: "404", path: "/:pathMatch(.*)*", redirect: "/404", hidden: !0 }), w.commit("user/updateRemoteRouter", a), await e.replace(t), n();
|
|
5099
5107
|
});
|
|
5100
5108
|
}
|
|
5101
|
-
function
|
|
5109
|
+
function as(e) {
|
|
5102
5110
|
e.beforeEach(async (t, l, n) => {
|
|
5103
5111
|
var c;
|
|
5104
|
-
const
|
|
5105
|
-
for (let d =
|
|
5112
|
+
const a = [w.state.settings.title || ""], s = t.matched.length;
|
|
5113
|
+
for (let d = s; d > s - 3; d--) {
|
|
5106
5114
|
const p = t.matched[d - 1];
|
|
5107
|
-
(c = p == null ? void 0 : p.meta) != null && c.title &&
|
|
5115
|
+
(c = p == null ? void 0 : p.meta) != null && c.title && a.push(p.meta.title + "");
|
|
5108
5116
|
}
|
|
5109
|
-
|
|
5117
|
+
a.length > 1 && (document.title = a.reverse().join("-")), n();
|
|
5110
5118
|
}), e.afterEach(async (t, l, n) => {
|
|
5111
|
-
Object.keys(t.meta).length > 0 && await
|
|
5119
|
+
Object.keys(t.meta).length > 0 && await w.dispatch("app/setCurrentMeta", t.meta);
|
|
5112
5120
|
});
|
|
5113
5121
|
}
|
|
5114
|
-
function
|
|
5115
|
-
|
|
5122
|
+
function ss(e) {
|
|
5123
|
+
ga(e), _a(e), ns(e), as(e);
|
|
5116
5124
|
}
|
|
5117
|
-
|
|
5118
|
-
const
|
|
5125
|
+
ss(te);
|
|
5126
|
+
const is = {
|
|
5119
5127
|
beforeMount(e, t) {
|
|
5120
5128
|
e.clickOutsideEvent = function(l) {
|
|
5121
5129
|
e === l.target || e.contains(l.target) || t.value(l, e);
|
|
@@ -5124,13 +5132,13 @@ const ia = {
|
|
|
5124
5132
|
unmounted(e) {
|
|
5125
5133
|
document.body.removeEventListener("click", e.clickOutsideEvent);
|
|
5126
5134
|
}
|
|
5127
|
-
}, G = fl(),
|
|
5135
|
+
}, G = fl(), rs = {
|
|
5128
5136
|
mounted: (e, t) => {
|
|
5129
5137
|
e !== null && (t.value, e.oncontextmenu = (l) => {
|
|
5130
5138
|
l.preventDefault(), l.stopPropagation(), l.cancelBubble = !0, t.value && G.emit("right-click", { event: l, data: t.value });
|
|
5131
5139
|
});
|
|
5132
5140
|
}
|
|
5133
|
-
},
|
|
5141
|
+
}, us = {
|
|
5134
5142
|
mounted(e) {
|
|
5135
5143
|
}
|
|
5136
5144
|
};
|
|
@@ -5140,7 +5148,7 @@ function He(e, t) {
|
|
|
5140
5148
|
l += n[`offset${t}`], n = n.offsetParent;
|
|
5141
5149
|
return l;
|
|
5142
5150
|
}
|
|
5143
|
-
const
|
|
5151
|
+
const cs = {
|
|
5144
5152
|
mounted: (e, t) => {
|
|
5145
5153
|
if (e === null || !t.value.dev)
|
|
5146
5154
|
return;
|
|
@@ -5155,78 +5163,78 @@ const ca = {
|
|
|
5155
5163
|
};
|
|
5156
5164
|
const o = document.createElement("span");
|
|
5157
5165
|
o.className = "dev-action-edit", o.title = "\u7F16\u8F91";
|
|
5158
|
-
const
|
|
5159
|
-
|
|
5166
|
+
const a = document.createElement("i");
|
|
5167
|
+
a.className = "iconfont ra-editor1", o.appendChild(a), o.onclick = (d) => {
|
|
5160
5168
|
G.emit("dev-action", { event: d, data: { type: "edit", devId: t.value.devId } });
|
|
5161
5169
|
}, n.appendChild(o);
|
|
5162
|
-
const
|
|
5163
|
-
|
|
5170
|
+
const s = document.createElement("span");
|
|
5171
|
+
s.className = "dev-action-del", s.title = "\u5220\u9664";
|
|
5164
5172
|
const c = document.createElement("i");
|
|
5165
|
-
c.className = "iconfont ra-cut",
|
|
5173
|
+
c.className = "iconfont ra-cut", s.appendChild(c), s.onclick = (d) => {
|
|
5166
5174
|
G.emit("dev-action", { event: d, data: { type: "del", devId: t.value.devId } });
|
|
5167
|
-
}, n.appendChild(
|
|
5175
|
+
}, n.appendChild(s), l.insertBefore(n, l.firstChild);
|
|
5168
5176
|
}
|
|
5169
|
-
},
|
|
5177
|
+
}, ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5170
5178
|
__proto__: null,
|
|
5171
|
-
outClick:
|
|
5172
|
-
rightClick:
|
|
5173
|
-
resize:
|
|
5174
|
-
devtool:
|
|
5179
|
+
outClick: is,
|
|
5180
|
+
rightClick: rs,
|
|
5181
|
+
resize: us,
|
|
5182
|
+
devtool: cs
|
|
5175
5183
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5176
|
-
let
|
|
5184
|
+
let ae;
|
|
5177
5185
|
function bi(e) {
|
|
5178
|
-
return e ? Pe(
|
|
5186
|
+
return e ? Pe(O(ce.axios, e)) : ae;
|
|
5179
5187
|
}
|
|
5180
5188
|
function _i(e) {
|
|
5181
|
-
const t =
|
|
5182
|
-
o.unshift(n), o.forEach((
|
|
5183
|
-
|
|
5184
|
-
}), t != null && t.mock && Bl(),
|
|
5189
|
+
const t = O(ce, e), l = xt(_l), n = ys(t), o = t.plugins || [];
|
|
5190
|
+
o.unshift(n), o.forEach((a) => {
|
|
5191
|
+
_s(l, a);
|
|
5192
|
+
}), t != null && t.mock && Bl(), ae = Pe(t.axios), w.dispatch("setHttp", ae).then(), w.dispatch("settings/updateSettings", e == null ? void 0 : e.settings).then(), l.config.globalProperties.$http = ae, l.config.globalProperties.$router = te, window.App = l, window.OmsOptions = t, sl(() => ({
|
|
5185
5193
|
"X-Token": Oe()
|
|
5186
5194
|
})), te.isReady().then(() => l.mount("#app"));
|
|
5187
5195
|
}
|
|
5188
|
-
function
|
|
5196
|
+
function ps(e, t = {}) {
|
|
5189
5197
|
Object.keys(t).forEach((l) => {
|
|
5190
5198
|
e.component(l, t[l]);
|
|
5191
5199
|
});
|
|
5192
5200
|
}
|
|
5193
|
-
function
|
|
5201
|
+
function ms(e = []) {
|
|
5194
5202
|
e.forEach((t) => {
|
|
5195
5203
|
te.addRoute(t);
|
|
5196
|
-
}),
|
|
5204
|
+
}), w.commit("user/setCustomRoutes", e);
|
|
5197
5205
|
}
|
|
5198
|
-
function
|
|
5206
|
+
function fs(e, t) {
|
|
5199
5207
|
t.forEach((l) => {
|
|
5200
|
-
|
|
5208
|
+
$e(l) && (l = [l]), e.use(...l);
|
|
5201
5209
|
});
|
|
5202
5210
|
}
|
|
5203
|
-
function
|
|
5211
|
+
function hs(e, t = {}) {
|
|
5204
5212
|
Object.keys(t).forEach((l) => {
|
|
5205
5213
|
e.directive(l, t[l]);
|
|
5206
5214
|
});
|
|
5207
5215
|
}
|
|
5208
|
-
function
|
|
5216
|
+
function bs(e = {}) {
|
|
5209
5217
|
const t = ["app", "settings", "user"];
|
|
5210
5218
|
Object.keys(e).forEach((l) => {
|
|
5211
5219
|
if (t.indexOf(l) !== -1) {
|
|
5212
5220
|
console.warn(`storeModule name [${l}] is use by base, please change it!`);
|
|
5213
5221
|
return;
|
|
5214
5222
|
}
|
|
5215
|
-
|
|
5223
|
+
w.registerModule(l, e[l]);
|
|
5216
5224
|
});
|
|
5217
5225
|
}
|
|
5218
|
-
function
|
|
5219
|
-
|
|
5226
|
+
function _s(e, t) {
|
|
5227
|
+
ps(e, t.components || {}), ms(t.routes || []), fs(e, t.use || []), hs(e, t.directives || {}), bs(t.storeModules || {}), nt(t.mockApis || []);
|
|
5220
5228
|
}
|
|
5221
|
-
function
|
|
5229
|
+
function ys(e) {
|
|
5222
5230
|
var t;
|
|
5223
5231
|
return {
|
|
5224
5232
|
components: { VIcon: il },
|
|
5225
|
-
directives:
|
|
5233
|
+
directives: ds,
|
|
5226
5234
|
use: [
|
|
5227
|
-
|
|
5235
|
+
w,
|
|
5228
5236
|
te,
|
|
5229
|
-
[ll, { locale:
|
|
5237
|
+
[ll, { locale: xe, ...(t = e.settings) == null ? void 0 : t.ElementPlus }]
|
|
5230
5238
|
]
|
|
5231
5239
|
};
|
|
5232
5240
|
}
|
|
@@ -5234,20 +5242,20 @@ export {
|
|
|
5234
5242
|
Qn as BaseSso,
|
|
5235
5243
|
oe as Container,
|
|
5236
5244
|
Xn as DingTalk,
|
|
5237
|
-
|
|
5238
|
-
|
|
5245
|
+
dt as Layout,
|
|
5246
|
+
D as MenuType,
|
|
5239
5247
|
Ne as Message,
|
|
5240
5248
|
Ve as MessageBox,
|
|
5241
5249
|
P as PageType,
|
|
5242
|
-
|
|
5250
|
+
ea as allSso,
|
|
5243
5251
|
_i as createAdmin,
|
|
5244
5252
|
G as eventBus,
|
|
5245
5253
|
Gl as getCmp,
|
|
5246
|
-
|
|
5254
|
+
ae as http,
|
|
5247
5255
|
Pe as instance,
|
|
5248
5256
|
hi as regViews,
|
|
5249
5257
|
fi as setCmp,
|
|
5250
|
-
|
|
5258
|
+
os as transRemoteModules,
|
|
5251
5259
|
bi as useHttp
|
|
5252
5260
|
};
|
|
5253
5261
|
//# sourceMappingURL=index.es.js.map
|