@okiss/oms 0.0.22 → 0.0.23
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 +187 -188
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as N, onBeforeMount as Ge, provide as yt, 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 vt, createElementBlock as f, Fragment as k, renderList as
|
|
2
|
-
import { ElConfigProvider as Ct, ElBreadcrumbItem as xt, ElBreadcrumb as Bt, ElRow as le, ElMain as
|
|
1
|
+
import { defineComponent as N, onBeforeMount as Ge, provide as yt, 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 vt, createElementBlock as f, Fragment as k, renderList as I, toDisplayString as B, normalizeClass as H, renderSlot as Y, mergeProps as q, createCommentVNode as E, toRefs as gt, ref as R, createElementVNode as b, Transition as kt, pushScopeId as Je, popScopeId as Ke, resolveDynamicComponent as ze, normalizeProps as J, guardReactiveProps as Z, withDirectives as ye, vModelText as Le, resolveDirective as Et, onMounted as wt, createApp as St } from "vue";
|
|
2
|
+
import { ElConfigProvider as Ct, ElBreadcrumbItem as xt, ElBreadcrumb as Bt, ElRow as le, ElMain as It, ElAside as $t, ElContainer as At, ElDivider as We, ElButton as ae, ElOption as Se, ElSelect as Ce, ElFormItem as Ze, ElForm as Qe, ElCol as ue, ElDrawer as Xe, ElDropdownItem as Tt, ElDropdownMenu as Ft, ElDropdown as Dt, ElMenuItem as Ot, ElSubMenu as Pt, ElOptionGroup as Rt, ElMenu as Lt, ElScrollbar as Mt, ElBacktop as jt, ElMessage as Nt, ElAlert as ve, ElTree as Vt, ElCard as xe } from "element-plus/es";
|
|
3
3
|
import "element-plus/es/components/config-provider/style/css";
|
|
4
4
|
import Be from "element-plus/lib/locale/lang/zh-cn";
|
|
5
|
-
import { addNewStyle as qt, addNewStyleTag as Ut, queryParams as Ht, logGroup as Gt, isString as
|
|
5
|
+
import { addNewStyle as qt, addNewStyleTag as Ut, queryParams as Ht, logGroup as Gt, isString as Ie, compactObject as Ye, showEleByClassName as Jt, Cache as fe, isExternal as Me, getQueryParam as Kt, createIFrame as zt, strVarReplace as z, obj2Param as Wt, isObject as $e, effectDataTrans as Zt, isArray as Qt } from "@okiss/utils";
|
|
6
6
|
import he from "mockjs";
|
|
7
7
|
import Xt, { cloneDeep as y, merge as D, get as ee, unset as et } from "lodash";
|
|
8
8
|
import ie from "axios";
|
|
@@ -23,7 +23,7 @@ import "element-plus/es/components/dropdown-item/style/css";
|
|
|
23
23
|
import "element-plus/es/components/col/style/css";
|
|
24
24
|
import "element-plus/es/components/breadcrumb/style/css";
|
|
25
25
|
import "element-plus/es/components/breadcrumb-item/style/css";
|
|
26
|
-
import * as
|
|
26
|
+
import * as dl from "path-to-regexp";
|
|
27
27
|
import "element-plus/es/components/form/style/css";
|
|
28
28
|
import "element-plus/es/components/form-item/style/css";
|
|
29
29
|
import "element-plus/es/components/select/style/css";
|
|
@@ -33,7 +33,7 @@ import "element-plus/es/components/divider/style/css";
|
|
|
33
33
|
import "element-plus/es/components/container/style/css";
|
|
34
34
|
import "element-plus/es/components/aside/style/css";
|
|
35
35
|
import "element-plus/es/components/main/style/css";
|
|
36
|
-
import
|
|
36
|
+
import pl from "mitt";
|
|
37
37
|
import "element-plus/es/components/scrollbar/style/css";
|
|
38
38
|
import "element-plus/es/components/menu/style/css";
|
|
39
39
|
import "element-plus/es/components/sub-menu/style/css";
|
|
@@ -69,10 +69,10 @@ const hl = /* @__PURE__ */ N({
|
|
|
69
69
|
});
|
|
70
70
|
const t = Be;
|
|
71
71
|
return (n = (l = window == null ? void 0 : window.OmsOptions) == null ? void 0 : l.form) != null && n.vsPath && yt("vsPath", (s = (o = window == null ? void 0 : window.OmsOptions) == null ? void 0 : o.form) == null ? void 0 : s.vsPath), (a, c) => {
|
|
72
|
-
const
|
|
73
|
-
return i(), m(
|
|
72
|
+
const d = v("router-view"), p = Ct;
|
|
73
|
+
return i(), m(p, { locale: T(t) }, {
|
|
74
74
|
default: r(() => [
|
|
75
|
-
u(
|
|
75
|
+
u(d)
|
|
76
76
|
]),
|
|
77
77
|
_: 1
|
|
78
78
|
}, 8, ["locale"]);
|
|
@@ -745,7 +745,7 @@ const bl = {
|
|
|
745
745
|
whiteRoutes: ["/login"],
|
|
746
746
|
tokenExpire: 7 * 24 * 60 * 60 * 1e3,
|
|
747
747
|
defaultAvatar: "http://assest.daodao.run/avatar.jpg"
|
|
748
|
-
},
|
|
748
|
+
}, de = {
|
|
749
749
|
axios: Sl,
|
|
750
750
|
settings: lt,
|
|
751
751
|
plugins: [],
|
|
@@ -760,15 +760,15 @@ function ot(e) {
|
|
|
760
760
|
ot(wl);
|
|
761
761
|
function nt(e) {
|
|
762
762
|
var n;
|
|
763
|
-
let t = e.url, l = e.baseURL || ((n =
|
|
763
|
+
let t = e.url, l = e.baseURL || ((n = de.axios) == null ? void 0 : n.baseURL);
|
|
764
764
|
return l || (l = ""), typeof t == "string" ? (t = ("/" + l + t).split("/").filter((o) => o).join("/"), t += "(|\\?.*)$", new RegExp(t)) : t;
|
|
765
765
|
}
|
|
766
766
|
function Cl() {
|
|
767
767
|
Object.keys(ke).forEach((e) => {
|
|
768
768
|
const t = ke[e], l = nt(t);
|
|
769
769
|
he.mock(l, t.method, function(n) {
|
|
770
|
-
const { url: o, type: s, body: a } = n, c = Ht(o),
|
|
771
|
-
return Gt(o, { type: s, query: c, data:
|
|
770
|
+
const { url: o, type: s, body: a } = n, c = Ht(o), d = a ? JSON.parse(a) : {}, p = t.response({ query: c, data: d }), h = he.mock(p);
|
|
771
|
+
return Gt(o, { type: s, query: c, data: d, response: h }), he.mock(h);
|
|
772
772
|
});
|
|
773
773
|
}), console.log("%c ApiMock is stared! ", "background: #606060; color: #fff; padding: 4px 5px; border-radius: 1px;");
|
|
774
774
|
}
|
|
@@ -795,7 +795,7 @@ const Bl = {
|
|
|
795
795
|
resource: {},
|
|
796
796
|
roleIds: [],
|
|
797
797
|
path: ""
|
|
798
|
-
},
|
|
798
|
+
}, Il = {
|
|
799
799
|
namespaced: !0,
|
|
800
800
|
state: Bl,
|
|
801
801
|
mutations: {
|
|
@@ -858,9 +858,9 @@ const Bl = {
|
|
|
858
858
|
url: "/user/info",
|
|
859
859
|
method: "GET"
|
|
860
860
|
}).then((o) => {
|
|
861
|
-
var a, c,
|
|
861
|
+
var a, c, d, p;
|
|
862
862
|
const s = ((a = o.data) == null ? void 0 : a.role_ids) || [];
|
|
863
|
-
e("updateState", { key: "name", value: (c = o.data) == null ? void 0 : c.name }), e("updateState", { key: "nickname", value: (
|
|
863
|
+
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: s }), !L.get("username") && L.set("username", (p = o.data) == null ? void 0 : p.name), l(!0);
|
|
864
864
|
}).catch((o) => {
|
|
865
865
|
n(o);
|
|
866
866
|
}) : n("http client not init");
|
|
@@ -884,9 +884,9 @@ const Bl = {
|
|
|
884
884
|
});
|
|
885
885
|
}
|
|
886
886
|
}
|
|
887
|
-
},
|
|
887
|
+
}, $l = y(lt), Al = {
|
|
888
888
|
namespaced: !0,
|
|
889
|
-
state:
|
|
889
|
+
state: $l,
|
|
890
890
|
mutations: {
|
|
891
891
|
updateSettings(e, t) {
|
|
892
892
|
e = D(e, t);
|
|
@@ -991,7 +991,7 @@ const Bl = {
|
|
|
991
991
|
}
|
|
992
992
|
},
|
|
993
993
|
modules: {
|
|
994
|
-
user:
|
|
994
|
+
user: Il,
|
|
995
995
|
settings: Al,
|
|
996
996
|
app: Fl,
|
|
997
997
|
builderSchema: Ol
|
|
@@ -1060,7 +1060,7 @@ const jl = {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
}, Nl = {
|
|
1062
1062
|
onFulfilled(e) {
|
|
1063
|
-
var n, o, s, a, c,
|
|
1063
|
+
var n, o, s, a, c, d, p;
|
|
1064
1064
|
if (!(((n = e.config) == null ? void 0 : n.notHoldApiErr) !== void 0 && ((o = e.config) == null ? void 0 : o.notHoldApiErr) === !0) && e.data.code !== 0) {
|
|
1065
1065
|
const h = e.data.message || `\u63A5\u53E3\u8BF7\u6C42\u9519\u8BEF ${e.config.method}::${(s = e.config.url) == null ? void 0 : s.split("?")[0]}`;
|
|
1066
1066
|
if (e.data.code === 401) {
|
|
@@ -1083,8 +1083,8 @@ const jl = {
|
|
|
1083
1083
|
return Promise.reject(h);
|
|
1084
1084
|
}
|
|
1085
1085
|
let l = (c = (a = e.data) == null ? void 0 : a.data) == null ? void 0 : c._message_box;
|
|
1086
|
-
return l !== void 0 && (
|
|
1087
|
-
message: (
|
|
1086
|
+
return l !== void 0 && (Ie(l) && (l = {
|
|
1087
|
+
message: (p = (d = e.data) == null ? void 0 : d.data) == null ? void 0 : p._message_box
|
|
1088
1088
|
}), Ve({
|
|
1089
1089
|
title: "\u63D0\u793A",
|
|
1090
1090
|
type: "success",
|
|
@@ -1110,7 +1110,7 @@ const jl = {
|
|
|
1110
1110
|
}
|
|
1111
1111
|
];
|
|
1112
1112
|
function Pe(e = {}) {
|
|
1113
|
-
const t =
|
|
1113
|
+
const t = de.axios || {}, l = D(t, e || {});
|
|
1114
1114
|
ie.create(l);
|
|
1115
1115
|
const n = ie.create({
|
|
1116
1116
|
...l
|
|
@@ -1121,7 +1121,7 @@ function Pe(e = {}) {
|
|
|
1121
1121
|
}
|
|
1122
1122
|
const ql = Pe();
|
|
1123
1123
|
const at = {};
|
|
1124
|
-
function
|
|
1124
|
+
function pi(e, t) {
|
|
1125
1125
|
at[e] = t;
|
|
1126
1126
|
}
|
|
1127
1127
|
function Ul(e) {
|
|
@@ -1143,7 +1143,7 @@ const C = (e, t) => {
|
|
|
1143
1143
|
for (const [n, o] of t)
|
|
1144
1144
|
l[n] = o;
|
|
1145
1145
|
return l;
|
|
1146
|
-
}, Gl = /* @__PURE__ */ C(Hl, [["__scopeId", "data-v-
|
|
1146
|
+
}, Gl = /* @__PURE__ */ C(Hl, [["__scopeId", "data-v-07cd0734"]]);
|
|
1147
1147
|
const Jl = {
|
|
1148
1148
|
data() {
|
|
1149
1149
|
return {
|
|
@@ -1170,7 +1170,7 @@ const Jl = {
|
|
|
1170
1170
|
},
|
|
1171
1171
|
pathCompile(e) {
|
|
1172
1172
|
const { params: t } = this.$route;
|
|
1173
|
-
return
|
|
1173
|
+
return dl.compile(e)(t);
|
|
1174
1174
|
},
|
|
1175
1175
|
handleLink(e) {
|
|
1176
1176
|
const { redirect: t, path: l } = e;
|
|
@@ -1194,14 +1194,14 @@ function Wl(e, t, l, n, o, s) {
|
|
|
1194
1194
|
default: r(() => [
|
|
1195
1195
|
u(vt, { name: "breadcrumb" }, {
|
|
1196
1196
|
default: r(() => [
|
|
1197
|
-
(i(!0), f(k, null,
|
|
1198
|
-
key:
|
|
1197
|
+
(i(!0), f(k, null, I(o.levelList, (d, p) => (i(), m(a, {
|
|
1198
|
+
key: d.path
|
|
1199
1199
|
}, {
|
|
1200
1200
|
default: r(() => [
|
|
1201
|
-
|
|
1201
|
+
d.path.indexOf("/DIR_") === 0 && d.redirect === void 0 || p === o.levelList.length - 1 ? (i(), f("span", Kl, B(d.meta.title), 1)) : (i(), f("a", {
|
|
1202
1202
|
key: 1,
|
|
1203
|
-
onClick: (h) => s.handleLink(
|
|
1204
|
-
}, B(
|
|
1203
|
+
onClick: (h) => s.handleLink(d)
|
|
1204
|
+
}, B(d.meta.title), 9, zl))
|
|
1205
1205
|
]),
|
|
1206
1206
|
_: 2
|
|
1207
1207
|
}, 1024))), 128))
|
|
@@ -1212,7 +1212,7 @@ function Wl(e, t, l, n, o, s) {
|
|
|
1212
1212
|
_: 1
|
|
1213
1213
|
});
|
|
1214
1214
|
}
|
|
1215
|
-
const Zl = /* @__PURE__ */ C(Jl, [["render", Wl], ["__scopeId", "data-v-
|
|
1215
|
+
const Zl = /* @__PURE__ */ C(Jl, [["render", Wl], ["__scopeId", "data-v-fa74804e"]]), Ql = {
|
|
1216
1216
|
name: "Hamburger",
|
|
1217
1217
|
props: {
|
|
1218
1218
|
isActive: {
|
|
@@ -1242,7 +1242,7 @@ function Xl(e, t, l, n, o, s) {
|
|
|
1242
1242
|
const Yl = /* @__PURE__ */ C(Ql, [["render", Xl]]);
|
|
1243
1243
|
const eo = {};
|
|
1244
1244
|
function to(e, t) {
|
|
1245
|
-
const l = le, n =
|
|
1245
|
+
const l = le, n = It, o = $t, s = At;
|
|
1246
1246
|
return i(), m(s, { style: { width: "100%", height: "100%" } }, {
|
|
1247
1247
|
default: r(() => [
|
|
1248
1248
|
u(l, { class: "aside" }, {
|
|
@@ -1274,7 +1274,7 @@ function to(e, t) {
|
|
|
1274
1274
|
_: 3
|
|
1275
1275
|
});
|
|
1276
1276
|
}
|
|
1277
|
-
const it = /* @__PURE__ */ C(eo, [["render", to], ["__scopeId", "data-v-
|
|
1277
|
+
const it = /* @__PURE__ */ C(eo, [["render", to], ["__scopeId", "data-v-7c3d697b"]]), lo = {
|
|
1278
1278
|
type: "input",
|
|
1279
1279
|
name: "\u6587\u672C\u6846",
|
|
1280
1280
|
default: {
|
|
@@ -2135,7 +2135,7 @@ const _o = {
|
|
|
2135
2135
|
}
|
|
2136
2136
|
}, vo = /* @__PURE__ */ g("\u4FDD\u5B58\u9875\u9762\u914D\u7F6E"), go = /* @__PURE__ */ g(" \xA0\xA0 ");
|
|
2137
2137
|
function ko(e, t, l, n, o, s) {
|
|
2138
|
-
const a = v("v-form"), c = We,
|
|
2138
|
+
const a = v("v-form"), c = We, d = ae, p = v("JsonView"), h = v("VButton"), _ = Se, A = Ce, $ = Ze, U = Qe, V = v("dev-layout");
|
|
2139
2139
|
return i(), m(V, null, {
|
|
2140
2140
|
main: r(() => [
|
|
2141
2141
|
o.builderSchema.formItems ? (i(), m(a, q({
|
|
@@ -2145,7 +2145,7 @@ function ko(e, t, l, n, o, s) {
|
|
|
2145
2145
|
dev: !0
|
|
2146
2146
|
}, o.builderSchema), null, 16)) : E("", !0),
|
|
2147
2147
|
u(c),
|
|
2148
|
-
u(
|
|
2148
|
+
u(d, {
|
|
2149
2149
|
type: "primary",
|
|
2150
2150
|
onClick: s.saveSchema
|
|
2151
2151
|
}, {
|
|
@@ -2160,7 +2160,7 @@ function ko(e, t, l, n, o, s) {
|
|
|
2160
2160
|
type: "modal"
|
|
2161
2161
|
}, {
|
|
2162
2162
|
default: r(() => [
|
|
2163
|
-
u(
|
|
2163
|
+
u(p, { data: s.getSaveSchema }, null, 8, ["data"])
|
|
2164
2164
|
]),
|
|
2165
2165
|
_: 1
|
|
2166
2166
|
})
|
|
@@ -2168,14 +2168,14 @@ function ko(e, t, l, n, o, s) {
|
|
|
2168
2168
|
"right-aside": r(() => [
|
|
2169
2169
|
o.activeIndex ? (i(), m(U, { key: 0 }, {
|
|
2170
2170
|
default: r(() => [
|
|
2171
|
-
u(
|
|
2171
|
+
u($, { label: "\u63A7\u4EF6\u7C7B\u578B" }, {
|
|
2172
2172
|
default: r(() => [
|
|
2173
2173
|
u(A, {
|
|
2174
2174
|
modelValue: o.currentCtrlType,
|
|
2175
2175
|
"onUpdate:modelValue": t[0] || (t[0] = (x) => o.currentCtrlType = x)
|
|
2176
2176
|
}, {
|
|
2177
2177
|
default: r(() => [
|
|
2178
|
-
(i(!0), f(k, null,
|
|
2178
|
+
(i(!0), f(k, null, I(o.types, (x, K) => (i(), m(_, {
|
|
2179
2179
|
key: K,
|
|
2180
2180
|
label: x.label,
|
|
2181
2181
|
value: x.value
|
|
@@ -2198,7 +2198,7 @@ function ko(e, t, l, n, o, s) {
|
|
|
2198
2198
|
_: 1
|
|
2199
2199
|
});
|
|
2200
2200
|
}
|
|
2201
|
-
const Eo = /* @__PURE__ */ C(yo, [["render", ko], ["__scopeId", "data-v-
|
|
2201
|
+
const Eo = /* @__PURE__ */ C(yo, [["render", ko], ["__scopeId", "data-v-d89bdb06"]]), wo = {
|
|
2202
2202
|
type: "input",
|
|
2203
2203
|
name: "\u6587\u672C\u6846",
|
|
2204
2204
|
default: {
|
|
@@ -2477,7 +2477,7 @@ const Eo = /* @__PURE__ */ C(yo, [["render", ko], ["__scopeId", "data-v-052612d8
|
|
|
2477
2477
|
trans(e) {
|
|
2478
2478
|
return e.options = e.options || [], e.label || (e.label = "\u8868\u5934"), e;
|
|
2479
2479
|
}
|
|
2480
|
-
},
|
|
2480
|
+
}, Io = {
|
|
2481
2481
|
type: "html",
|
|
2482
2482
|
name: "HTML",
|
|
2483
2483
|
default: {
|
|
@@ -2502,7 +2502,7 @@ const Eo = /* @__PURE__ */ C(yo, [["render", ko], ["__scopeId", "data-v-052612d8
|
|
|
2502
2502
|
label: "\u63D0\u793A"
|
|
2503
2503
|
}
|
|
2504
2504
|
]
|
|
2505
|
-
},
|
|
2505
|
+
}, $o = {
|
|
2506
2506
|
type: "icon",
|
|
2507
2507
|
name: "\u56FE\u6807",
|
|
2508
2508
|
default: {
|
|
@@ -2661,8 +2661,8 @@ const Eo = /* @__PURE__ */ C(yo, [["render", ko], ["__scopeId", "data-v-052612d8
|
|
|
2661
2661
|
}, Po = {
|
|
2662
2662
|
span: xo,
|
|
2663
2663
|
enum: Bo,
|
|
2664
|
-
html:
|
|
2665
|
-
icon:
|
|
2664
|
+
html: Io,
|
|
2665
|
+
icon: $o,
|
|
2666
2666
|
image: Ao,
|
|
2667
2667
|
json: To,
|
|
2668
2668
|
link: Fo,
|
|
@@ -3077,12 +3077,12 @@ const Vo = {
|
|
|
3077
3077
|
}
|
|
3078
3078
|
}, qo = /* @__PURE__ */ g("\u6DFB\u52A0\u641C\u7D22\u6761\u4EF6"), Uo = /* @__PURE__ */ g("\u6587\u672C\u6846"), Ho = /* @__PURE__ */ g("\u4E0B\u62C9\u6846"), Go = /* @__PURE__ */ g("\u65E5\u671F"), Jo = /* @__PURE__ */ g("\u6DFB\u52A0\u5217\u8868\u9879"), Ko = /* @__PURE__ */ g("\u6DFB\u52A0\u884C\u6309\u94AE"), zo = /* @__PURE__ */ g("\u6DFB\u52A0\u5E38\u89C4\u6309\u94AE"), Wo = /* @__PURE__ */ g("\u6309\u94AE\u7EC4"), Zo = /* @__PURE__ */ g("\u6DFB\u52A0\u6279\u91CF\u6309\u94AE"), Qo = /* @__PURE__ */ g("\u6309\u94AE\u7EC4"), Xo = /* @__PURE__ */ g("\u4FDD\u5B58\u9875\u9762\u914D\u7F6E"), Yo = /* @__PURE__ */ g(" \xA0\xA0 ");
|
|
3079
3079
|
function en(e, t, l, n, o, s) {
|
|
3080
|
-
const a = ue, c = ae,
|
|
3080
|
+
const a = ue, c = ae, d = le, p = v("v-table"), h = We, _ = ae, A = v("JsonView"), $ = v("VButton"), U = Se, V = Ce, x = Ze, K = Qe, bt = v("v-form"), _t = v("dev-layout");
|
|
3081
3081
|
return i(), m(_t, null, {
|
|
3082
3082
|
"left-aside": r(() => [
|
|
3083
|
-
u(
|
|
3083
|
+
u(d, { style: { width: "200px" } }, {
|
|
3084
3084
|
default: r(() => [
|
|
3085
|
-
u(
|
|
3085
|
+
u(d, null, {
|
|
3086
3086
|
default: r(() => [
|
|
3087
3087
|
u(a, {
|
|
3088
3088
|
class: "title",
|
|
@@ -3138,7 +3138,7 @@ function en(e, t, l, n, o, s) {
|
|
|
3138
3138
|
]),
|
|
3139
3139
|
_: 1
|
|
3140
3140
|
}),
|
|
3141
|
-
u(
|
|
3141
|
+
u(d, null, {
|
|
3142
3142
|
default: r(() => [
|
|
3143
3143
|
u(a, { class: "title" }, {
|
|
3144
3144
|
default: r(() => [
|
|
@@ -3146,7 +3146,7 @@ function en(e, t, l, n, o, s) {
|
|
|
3146
3146
|
]),
|
|
3147
3147
|
_: 1
|
|
3148
3148
|
}),
|
|
3149
|
-
(i(!0), f(k, null,
|
|
3149
|
+
(i(!0), f(k, null, I(Object.keys(o.ctrlMap.headers), (S, M) => (i(), m(a, {
|
|
3150
3150
|
key: `column-${M}`,
|
|
3151
3151
|
class: "ctrl"
|
|
3152
3152
|
}, {
|
|
@@ -3166,7 +3166,7 @@ function en(e, t, l, n, o, s) {
|
|
|
3166
3166
|
]),
|
|
3167
3167
|
_: 1
|
|
3168
3168
|
}),
|
|
3169
|
-
u(
|
|
3169
|
+
u(d, null, {
|
|
3170
3170
|
default: r(() => [
|
|
3171
3171
|
u(a, { class: "title" }, {
|
|
3172
3172
|
default: r(() => [
|
|
@@ -3174,7 +3174,7 @@ function en(e, t, l, n, o, s) {
|
|
|
3174
3174
|
]),
|
|
3175
3175
|
_: 1
|
|
3176
3176
|
}),
|
|
3177
|
-
(i(!0), f(k, null,
|
|
3177
|
+
(i(!0), f(k, null, I(Object.keys(o.ctrlMap.buttons), (S, M) => (i(), m(a, {
|
|
3178
3178
|
key: `column-${M}`,
|
|
3179
3179
|
class: "ctrl"
|
|
3180
3180
|
}, {
|
|
@@ -3194,7 +3194,7 @@ function en(e, t, l, n, o, s) {
|
|
|
3194
3194
|
]),
|
|
3195
3195
|
_: 1
|
|
3196
3196
|
}),
|
|
3197
|
-
u(
|
|
3197
|
+
u(d, null, {
|
|
3198
3198
|
default: r(() => [
|
|
3199
3199
|
u(a, { class: "title" }, {
|
|
3200
3200
|
default: r(() => [
|
|
@@ -3202,7 +3202,7 @@ function en(e, t, l, n, o, s) {
|
|
|
3202
3202
|
]),
|
|
3203
3203
|
_: 1
|
|
3204
3204
|
}),
|
|
3205
|
-
(i(!0), f(k, null,
|
|
3205
|
+
(i(!0), f(k, null, I(Object.keys(o.ctrlMap.buttons), (S, M) => (i(), m(a, {
|
|
3206
3206
|
key: `column-${M}`,
|
|
3207
3207
|
class: "ctrl"
|
|
3208
3208
|
}, {
|
|
@@ -3233,7 +3233,7 @@ function en(e, t, l, n, o, s) {
|
|
|
3233
3233
|
]),
|
|
3234
3234
|
_: 1
|
|
3235
3235
|
}),
|
|
3236
|
-
u(
|
|
3236
|
+
u(d, null, {
|
|
3237
3237
|
default: r(() => [
|
|
3238
3238
|
u(a, { class: "title" }, {
|
|
3239
3239
|
default: r(() => [
|
|
@@ -3241,7 +3241,7 @@ function en(e, t, l, n, o, s) {
|
|
|
3241
3241
|
]),
|
|
3242
3242
|
_: 1
|
|
3243
3243
|
}),
|
|
3244
|
-
(i(!0), f(k, null,
|
|
3244
|
+
(i(!0), f(k, null, I(Object.keys(o.ctrlMap.buttons), (S, M) => (i(), m(a, {
|
|
3245
3245
|
key: `column-${M}`,
|
|
3246
3246
|
class: "ctrl"
|
|
3247
3247
|
}, {
|
|
@@ -3277,7 +3277,7 @@ function en(e, t, l, n, o, s) {
|
|
|
3277
3277
|
})
|
|
3278
3278
|
]),
|
|
3279
3279
|
main: r(() => [
|
|
3280
|
-
(i(), m(
|
|
3280
|
+
(i(), m(p, q({
|
|
3281
3281
|
ref: "table",
|
|
3282
3282
|
key: o.key,
|
|
3283
3283
|
dev: !0
|
|
@@ -3293,7 +3293,7 @@ function en(e, t, l, n, o, s) {
|
|
|
3293
3293
|
_: 1
|
|
3294
3294
|
}, 8, ["onClick"]),
|
|
3295
3295
|
Yo,
|
|
3296
|
-
u(
|
|
3296
|
+
u($, {
|
|
3297
3297
|
text: "PageSchema",
|
|
3298
3298
|
type: "modal"
|
|
3299
3299
|
}, {
|
|
@@ -3313,7 +3313,7 @@ function en(e, t, l, n, o, s) {
|
|
|
3313
3313
|
"onUpdate:modelValue": t[3] || (t[3] = (S) => o.currentCtrlType = S)
|
|
3314
3314
|
}, {
|
|
3315
3315
|
default: r(() => [
|
|
3316
|
-
(i(!0), f(k, null,
|
|
3316
|
+
(i(!0), f(k, null, I(s.types, (S, M) => (i(), m(U, {
|
|
3317
3317
|
key: M,
|
|
3318
3318
|
label: S.label,
|
|
3319
3319
|
value: S.value
|
|
@@ -3336,7 +3336,7 @@ function en(e, t, l, n, o, s) {
|
|
|
3336
3336
|
_: 1
|
|
3337
3337
|
});
|
|
3338
3338
|
}
|
|
3339
|
-
const tn = /* @__PURE__ */ C(Vo, [["render", en], ["__scopeId", "data-v-
|
|
3339
|
+
const tn = /* @__PURE__ */ C(Vo, [["render", en], ["__scopeId", "data-v-77db3a16"]]), ln = {
|
|
3340
3340
|
name: "PageEditor",
|
|
3341
3341
|
components: { FormBuilder: Eo, TableBuilder: tn },
|
|
3342
3342
|
setup() {
|
|
@@ -3345,13 +3345,13 @@ const tn = /* @__PURE__ */ C(Vo, [["render", en], ["__scopeId", "data-v-5c1d4c60
|
|
|
3345
3345
|
}
|
|
3346
3346
|
};
|
|
3347
3347
|
function on(e, t, l, n, o, s) {
|
|
3348
|
-
const a = v("VIcon"), c = v("form-builder"),
|
|
3348
|
+
const a = v("VIcon"), c = v("form-builder"), d = v("table-builder"), p = Xe;
|
|
3349
3349
|
return i(), f(k, null, [
|
|
3350
3350
|
u(a, {
|
|
3351
3351
|
name: "ra-set",
|
|
3352
3352
|
onClick: t[0] || (t[0] = (h) => n.show = !n.show)
|
|
3353
3353
|
}),
|
|
3354
|
-
u(
|
|
3354
|
+
u(p, {
|
|
3355
3355
|
modelValue: n.show,
|
|
3356
3356
|
"onUpdate:modelValue": t[1] || (t[1] = (h) => n.show = h),
|
|
3357
3357
|
title: "\u9875\u9762\u8BBE\u8BA1",
|
|
@@ -3366,7 +3366,7 @@ function on(e, t, l, n, o, s) {
|
|
|
3366
3366
|
key: 0,
|
|
3367
3367
|
schema: n.pageSchema
|
|
3368
3368
|
}, null, 8, ["schema"])) : E("", !0),
|
|
3369
|
-
n.pageSchema.headers !== void 0 ? (i(), m(
|
|
3369
|
+
n.pageSchema.headers !== void 0 ? (i(), m(d, {
|
|
3370
3370
|
key: 1,
|
|
3371
3371
|
schema: n.pageSchema
|
|
3372
3372
|
}, null, 8, ["schema"])) : E("", !0)
|
|
@@ -3451,12 +3451,12 @@ const sn = {
|
|
|
3451
3451
|
}, cn = {
|
|
3452
3452
|
class: "right-item-button",
|
|
3453
3453
|
style: { padding: "0" }
|
|
3454
|
-
},
|
|
3454
|
+
}, dn = { class: "user-info" }, pn = ["src"], mn = /* @__PURE__ */ g(), fn = { class: "user-name" }, hn = /* @__PURE__ */ g("\u9996\u9875"), bn = /* @__PURE__ */ g("\u9000\u51FA\u767B\u5F55");
|
|
3455
3455
|
function _n(e, t, l, n, o, s) {
|
|
3456
|
-
const a = v("hamburger"), c = v("breadcrumb"),
|
|
3456
|
+
const a = v("hamburger"), c = v("breadcrumb"), d = ue, p = v("VIcon"), h = v("PageEditor"), _ = v("v-button"), A = Tt, $ = Ft, U = Dt, V = Xe, x = le;
|
|
3457
3457
|
return i(), m(x, { class: "navbar" }, {
|
|
3458
3458
|
default: r(() => [
|
|
3459
|
-
u(
|
|
3459
|
+
u(d, { span: 16 }, {
|
|
3460
3460
|
default: r(() => [
|
|
3461
3461
|
u(a, {
|
|
3462
3462
|
"is-active": e.sidebar.opened,
|
|
@@ -3467,11 +3467,11 @@ function _n(e, t, l, n, o, s) {
|
|
|
3467
3467
|
]),
|
|
3468
3468
|
_: 1
|
|
3469
3469
|
}),
|
|
3470
|
-
u(
|
|
3470
|
+
u(d, { span: 8 }, {
|
|
3471
3471
|
default: r(() => [
|
|
3472
3472
|
b("div", an, [
|
|
3473
3473
|
b("div", rn, [
|
|
3474
|
-
u(
|
|
3474
|
+
u(p, {
|
|
3475
3475
|
name: "ra-code",
|
|
3476
3476
|
onClick: s.gotoMenuEdit
|
|
3477
3477
|
}, null, 8, ["onClick"])
|
|
@@ -3487,7 +3487,7 @@ function _n(e, t, l, n, o, s) {
|
|
|
3487
3487
|
trigger: "click"
|
|
3488
3488
|
}, {
|
|
3489
3489
|
dropdown: r(() => [
|
|
3490
|
-
u(
|
|
3490
|
+
u($, { class: "user-dropdown" }, {
|
|
3491
3491
|
default: r(() => [
|
|
3492
3492
|
u(A, {
|
|
3493
3493
|
icon: "oms-icon-index",
|
|
@@ -3513,12 +3513,12 @@ function _n(e, t, l, n, o, s) {
|
|
|
3513
3513
|
})
|
|
3514
3514
|
]),
|
|
3515
3515
|
default: r(() => [
|
|
3516
|
-
b("div",
|
|
3516
|
+
b("div", dn, [
|
|
3517
3517
|
b("img", {
|
|
3518
3518
|
src: e.avatar ? e.avatar : o.defaultAvatar,
|
|
3519
3519
|
class: "user-avatar",
|
|
3520
3520
|
alt: "\u5934\u50CF"
|
|
3521
|
-
}, null, 8,
|
|
3521
|
+
}, null, 8, pn),
|
|
3522
3522
|
mn,
|
|
3523
3523
|
b("span", fn, B(e.nickname || e.name), 1)
|
|
3524
3524
|
])
|
|
@@ -3538,7 +3538,7 @@ function _n(e, t, l, n, o, s) {
|
|
|
3538
3538
|
_: 1
|
|
3539
3539
|
});
|
|
3540
3540
|
}
|
|
3541
|
-
const yn = /* @__PURE__ */ C(sn, [["render", _n], ["__scopeId", "data-v-
|
|
3541
|
+
const yn = /* @__PURE__ */ C(sn, [["render", _n], ["__scopeId", "data-v-37256b53"]]);
|
|
3542
3542
|
const vn = {
|
|
3543
3543
|
name: "SidebarLogo",
|
|
3544
3544
|
props: {
|
|
@@ -3555,7 +3555,7 @@ const vn = {
|
|
|
3555
3555
|
return this.$store.state.settings.logo;
|
|
3556
3556
|
}
|
|
3557
3557
|
}
|
|
3558
|
-
}, gn = (e) => (Je("data-v-
|
|
3558
|
+
}, gn = (e) => (Je("data-v-49084925"), e = e(), Ke(), e), kn = ["src"], En = {
|
|
3559
3559
|
key: 1,
|
|
3560
3560
|
class: "sidebar-title"
|
|
3561
3561
|
}, wn = /* @__PURE__ */ gn(() => /* @__PURE__ */ b("div", null, "\u7CFB\u7EDF", -1)), Sn = ["src"], Cn = { class: "sidebar-title" };
|
|
@@ -3600,7 +3600,7 @@ function xn(e, t, l, n, o, s) {
|
|
|
3600
3600
|
})
|
|
3601
3601
|
], 2);
|
|
3602
3602
|
}
|
|
3603
|
-
const Bn = /* @__PURE__ */ C(vn, [["render", xn], ["__scopeId", "data-v-
|
|
3603
|
+
const Bn = /* @__PURE__ */ C(vn, [["render", xn], ["__scopeId", "data-v-49084925"]]), In = {
|
|
3604
3604
|
props: {
|
|
3605
3605
|
to: {
|
|
3606
3606
|
type: String,
|
|
@@ -3639,7 +3639,7 @@ const Bn = /* @__PURE__ */ C(vn, [["render", xn], ["__scopeId", "data-v-232c1774
|
|
|
3639
3639
|
}
|
|
3640
3640
|
}
|
|
3641
3641
|
};
|
|
3642
|
-
function
|
|
3642
|
+
function $n(e, t, l, n, o, s) {
|
|
3643
3643
|
return i(), m(ze(s.compType(l.to)), J(Z(s.linkProps(l.to))), {
|
|
3644
3644
|
default: r(() => [
|
|
3645
3645
|
Y(e.$slots, "default")
|
|
@@ -3647,7 +3647,7 @@ function In(e, t, l, n, o, s) {
|
|
|
3647
3647
|
_: 3
|
|
3648
3648
|
}, 16);
|
|
3649
3649
|
}
|
|
3650
|
-
const An = /* @__PURE__ */ C(
|
|
3650
|
+
const An = /* @__PURE__ */ C(In, [["render", $n]]), Tn = {
|
|
3651
3651
|
computed: {
|
|
3652
3652
|
device() {
|
|
3653
3653
|
return this.$store.state.app.device;
|
|
@@ -3724,10 +3724,10 @@ const An = /* @__PURE__ */ C($n, [["render", In]]), Tn = {
|
|
|
3724
3724
|
class: "menu-wrapper"
|
|
3725
3725
|
};
|
|
3726
3726
|
function Rn(e, t, l, n, o, s) {
|
|
3727
|
-
const a = v("menu-content"), c = Ot,
|
|
3727
|
+
const a = v("menu-content"), c = Ot, d = v("app-link"), p = v("sidebar-item", !0), h = Pt;
|
|
3728
3728
|
return l.item.hidden !== !1 ? (i(), f("div", Pn, [
|
|
3729
3729
|
l.item.meta && l.item.meta.menuType === 2 ? (i(), f(k, { key: 0 }, [
|
|
3730
|
-
l.item.meta ? (i(), m(
|
|
3730
|
+
l.item.meta ? (i(), m(d, {
|
|
3731
3731
|
key: 0,
|
|
3732
3732
|
to: l.to,
|
|
3733
3733
|
"new-tab": l.item.meta.newTab
|
|
@@ -3755,7 +3755,7 @@ function Rn(e, t, l, n, o, s) {
|
|
|
3755
3755
|
"popper-append-to-body": ""
|
|
3756
3756
|
}, {
|
|
3757
3757
|
title: r(() => [
|
|
3758
|
-
l.item.redirect && l.item.redirect !== "#" ? (i(), m(
|
|
3758
|
+
l.item.redirect && l.item.redirect !== "#" ? (i(), m(d, {
|
|
3759
3759
|
key: 0,
|
|
3760
3760
|
to: l.to
|
|
3761
3761
|
}, {
|
|
@@ -3771,7 +3771,7 @@ function Rn(e, t, l, n, o, s) {
|
|
|
3771
3771
|
}, null, 8, ["meta"]))
|
|
3772
3772
|
]),
|
|
3773
3773
|
default: r(() => [
|
|
3774
|
-
(i(!0), f(k, null,
|
|
3774
|
+
(i(!0), f(k, null, I(l.item.children, (_) => (i(), m(p, {
|
|
3775
3775
|
key: _.path,
|
|
3776
3776
|
"is-nest": !0,
|
|
3777
3777
|
item: _,
|
|
@@ -3812,31 +3812,31 @@ const Mn = {
|
|
|
3812
3812
|
}
|
|
3813
3813
|
};
|
|
3814
3814
|
function jn(e, t, l, n, o, s) {
|
|
3815
|
-
const a = Se, c = Rt,
|
|
3816
|
-
return i(), m(
|
|
3815
|
+
const a = Se, c = Rt, d = Ce;
|
|
3816
|
+
return i(), m(d, {
|
|
3817
3817
|
modelValue: o.selected,
|
|
3818
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
3818
|
+
"onUpdate:modelValue": t[0] || (t[0] = (p) => o.selected = p),
|
|
3819
3819
|
filterable: "",
|
|
3820
3820
|
placeholder: "\u641C\u7D22\u83DC\u5355...",
|
|
3821
3821
|
class: "search-menu",
|
|
3822
3822
|
onChange: s.onselected
|
|
3823
3823
|
}, {
|
|
3824
3824
|
default: r(() => [
|
|
3825
|
-
(i(!0), f(k, null,
|
|
3826
|
-
key:
|
|
3825
|
+
(i(!0), f(k, null, I(s.filterRoutes, (p) => (i(), f(k, {
|
|
3826
|
+
key: p.path
|
|
3827
3827
|
}, [
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
key:
|
|
3831
|
-
label:
|
|
3828
|
+
p.children !== void 0 ? (i(), f(k, { key: 0 }, [
|
|
3829
|
+
p.meta.menuType !== 0 ? (i(), m(c, {
|
|
3830
|
+
key: p.path + "-",
|
|
3831
|
+
label: p.meta.title
|
|
3832
3832
|
}, {
|
|
3833
3833
|
default: r(() => [
|
|
3834
|
-
(i(!0), f(k, null,
|
|
3834
|
+
(i(!0), f(k, null, I(p.children, (h, _) => (i(), f(k, {
|
|
3835
3835
|
key: h.path
|
|
3836
3836
|
}, [
|
|
3837
|
-
|
|
3837
|
+
p.meta.menuType !== 0 ? (i(), m(a, {
|
|
3838
3838
|
key: 0,
|
|
3839
|
-
label: (_ ===
|
|
3839
|
+
label: (_ === p.children.length - 1 ? "\u2514\u2500" : "\u251C\u2500") + h.meta.title,
|
|
3840
3840
|
value: h.path
|
|
3841
3841
|
}, null, 8, ["label", "value"])) : E("", !0)
|
|
3842
3842
|
], 64))), 128))
|
|
@@ -3845,15 +3845,15 @@ function jn(e, t, l, n, o, s) {
|
|
|
3845
3845
|
}, 1032, ["label"])) : E("", !0)
|
|
3846
3846
|
], 64)) : (i(), m(a, {
|
|
3847
3847
|
key: 1,
|
|
3848
|
-
label: "" +
|
|
3849
|
-
value:
|
|
3848
|
+
label: "" + p.meta.title,
|
|
3849
|
+
value: p.path
|
|
3850
3850
|
}, null, 8, ["label", "value"]))
|
|
3851
3851
|
], 64))), 128))
|
|
3852
3852
|
]),
|
|
3853
3853
|
_: 1
|
|
3854
3854
|
}, 8, ["modelValue", "onChange"]);
|
|
3855
3855
|
}
|
|
3856
|
-
const Nn = /* @__PURE__ */ C(Mn, [["render", jn], ["__scopeId", "data-v-
|
|
3856
|
+
const Nn = /* @__PURE__ */ C(Mn, [["render", jn], ["__scopeId", "data-v-811395be"]]);
|
|
3857
3857
|
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 || {}), O = /* @__PURE__ */ ((e) => (e[e.hidden = 0] = "hidden", e[e.dir = 1] = "dir", e[e.menu = 2] = "menu", e[e.page = 3] = "page", e))(O || {});
|
|
3858
3858
|
const Vn = N({
|
|
3859
3859
|
components: { SidebarItem: Ln, Logo: Bn, SearchMenu: Nn },
|
|
@@ -3902,7 +3902,7 @@ const Vn = N({
|
|
|
3902
3902
|
}
|
|
3903
3903
|
});
|
|
3904
3904
|
function qn(e, t, l, n, o, s) {
|
|
3905
|
-
const a = v("logo"), c = v("search-menu"),
|
|
3905
|
+
const a = v("logo"), c = v("search-menu"), d = v("sidebar-item"), p = Lt, h = Mt;
|
|
3906
3906
|
return i(), f("div", {
|
|
3907
3907
|
class: H({ "has-logo": e.showLogo })
|
|
3908
3908
|
}, [
|
|
@@ -3913,7 +3913,7 @@ function qn(e, t, l, n, o, s) {
|
|
|
3913
3913
|
u(h, { "wrap-class": "scrollbar-wrapper" }, {
|
|
3914
3914
|
default: r(() => [
|
|
3915
3915
|
e.isCollapse ? E("", !0) : (i(), m(c, { key: 0 })),
|
|
3916
|
-
u(
|
|
3916
|
+
u(p, {
|
|
3917
3917
|
"default-active": e.activeMenu,
|
|
3918
3918
|
collapse: e.isCollapse,
|
|
3919
3919
|
"background-color": e.variables.menuBg,
|
|
@@ -3924,13 +3924,13 @@ function qn(e, t, l, n, o, s) {
|
|
|
3924
3924
|
mode: "vertical"
|
|
3925
3925
|
}, {
|
|
3926
3926
|
default: r(() => [
|
|
3927
|
-
(i(!0), f(k, null,
|
|
3927
|
+
(i(!0), f(k, null, I(e.routes, (_, A) => (i(), f(k, {
|
|
3928
3928
|
key: A + "-module"
|
|
3929
3929
|
}, [
|
|
3930
|
-
(i(!0), f(k, null,
|
|
3931
|
-
key:
|
|
3932
|
-
item:
|
|
3933
|
-
to: e.$router.resolve(
|
|
3930
|
+
(i(!0), f(k, null, I(e.filterRoute(_.routes), ($) => (i(), m(d, {
|
|
3931
|
+
key: $.path,
|
|
3932
|
+
item: $,
|
|
3933
|
+
to: e.$router.resolve($.redirect ? $.redirect : $).fullPath
|
|
3934
3934
|
}, null, 8, ["item", "to"]))), 128))
|
|
3935
3935
|
], 64))), 128))
|
|
3936
3936
|
]),
|
|
@@ -3941,7 +3941,7 @@ function qn(e, t, l, n, o, s) {
|
|
|
3941
3941
|
})
|
|
3942
3942
|
], 2);
|
|
3943
3943
|
}
|
|
3944
|
-
const Un = /* @__PURE__ */ C(Vn, [["render", qn], ["__scopeId", "data-v-
|
|
3944
|
+
const Un = /* @__PURE__ */ C(Vn, [["render", qn], ["__scopeId", "data-v-80b6b34b"]]);
|
|
3945
3945
|
const Hn = { class: "app-main" }, Gn = {
|
|
3946
3946
|
__name: "AppMain",
|
|
3947
3947
|
setup(e) {
|
|
@@ -3959,7 +3959,7 @@ const Hn = { class: "app-main" }, Gn = {
|
|
|
3959
3959
|
]);
|
|
3960
3960
|
};
|
|
3961
3961
|
}
|
|
3962
|
-
}, Jn = /* @__PURE__ */ C(Gn, [["__scopeId", "data-v-
|
|
3962
|
+
}, Jn = /* @__PURE__ */ C(Gn, [["__scopeId", "data-v-ca0f0d98"]]);
|
|
3963
3963
|
const Kn = { class: "main-container" }, zn = {
|
|
3964
3964
|
__name: "index",
|
|
3965
3965
|
setup(e) {
|
|
@@ -3968,13 +3968,13 @@ const Kn = { class: "main-container" }, zn = {
|
|
|
3968
3968
|
openSidebar: o.value.opened,
|
|
3969
3969
|
withoutAnimation: o.value.withoutAnimation,
|
|
3970
3970
|
mobile: s.value === "mobile"
|
|
3971
|
-
})),
|
|
3971
|
+
})), d = () => l.getBoundingClientRect().width - 1 < n;
|
|
3972
3972
|
ml(window, "resize", () => h());
|
|
3973
|
-
const
|
|
3973
|
+
const p = () => {
|
|
3974
3974
|
t.dispatch("app/closeSideBar", { withoutAnimation: !1 });
|
|
3975
3975
|
}, h = () => {
|
|
3976
3976
|
if (!document.hidden) {
|
|
3977
|
-
const _ =
|
|
3977
|
+
const _ = d();
|
|
3978
3978
|
t.dispatch("app/toggleDevice", _ ? "mobile" : "desktop"), _ && t.dispatch("app/closeSideBar", { withoutAnimation: !0 });
|
|
3979
3979
|
}
|
|
3980
3980
|
};
|
|
@@ -3984,7 +3984,7 @@ const Kn = { class: "main-container" }, zn = {
|
|
|
3984
3984
|
T(s) === "mobile" && T(o).opened ? (i(), f("div", {
|
|
3985
3985
|
key: 0,
|
|
3986
3986
|
class: "drawer-bg",
|
|
3987
|
-
onClick:
|
|
3987
|
+
onClick: p
|
|
3988
3988
|
})) : E("", !0),
|
|
3989
3989
|
u(T(Un), { class: "sidebar-container" }),
|
|
3990
3990
|
b("div", Kn, [
|
|
@@ -3997,7 +3997,7 @@ const Kn = { class: "main-container" }, zn = {
|
|
|
3997
3997
|
])
|
|
3998
3998
|
], 2));
|
|
3999
3999
|
}
|
|
4000
|
-
}, ct = /* @__PURE__ */ C(zn, [["__scopeId", "data-v-
|
|
4000
|
+
}, ct = /* @__PURE__ */ C(zn, [["__scopeId", "data-v-957442cd"]]);
|
|
4001
4001
|
class Wn {
|
|
4002
4002
|
constructor() {
|
|
4003
4003
|
this.type = "qrcode";
|
|
@@ -4070,7 +4070,7 @@ const es = { id: "login" }, ts = /* @__PURE__ */ b("h1", { id: "title" }, "\u767
|
|
|
4070
4070
|
ts,
|
|
4071
4071
|
b("form", ls, [
|
|
4072
4072
|
ye(b("input", {
|
|
4073
|
-
"onUpdate:modelValue": c[0] || (c[0] = (
|
|
4073
|
+
"onUpdate:modelValue": c[0] || (c[0] = (d) => o.value.username = d),
|
|
4074
4074
|
type: "text",
|
|
4075
4075
|
placeholder: "\u7528\u6237\u540D",
|
|
4076
4076
|
class: "input"
|
|
@@ -4078,7 +4078,7 @@ const es = { id: "login" }, ts = /* @__PURE__ */ b("h1", { id: "title" }, "\u767
|
|
|
4078
4078
|
[Le, o.value.username]
|
|
4079
4079
|
]),
|
|
4080
4080
|
ye(b("input", {
|
|
4081
|
-
"onUpdate:modelValue": c[1] || (c[1] = (
|
|
4081
|
+
"onUpdate:modelValue": c[1] || (c[1] = (d) => o.value.password = d),
|
|
4082
4082
|
type: "password",
|
|
4083
4083
|
placeholder: "\u5BC6\u7801",
|
|
4084
4084
|
class: "input"
|
|
@@ -4094,7 +4094,7 @@ const es = { id: "login" }, ts = /* @__PURE__ */ b("h1", { id: "title" }, "\u767
|
|
|
4094
4094
|
]),
|
|
4095
4095
|
b("div", ns, [
|
|
4096
4096
|
ss,
|
|
4097
|
-
(i(!0), f(k, null,
|
|
4097
|
+
(i(!0), f(k, null, I(Object.keys([]), (d) => (i(), f("div", { key: d }, B(d), 1))), 128))
|
|
4098
4098
|
])
|
|
4099
4099
|
])
|
|
4100
4100
|
]));
|
|
@@ -4102,7 +4102,7 @@ const es = { id: "login" }, ts = /* @__PURE__ */ b("h1", { id: "title" }, "\u767
|
|
|
4102
4102
|
});
|
|
4103
4103
|
const is = {
|
|
4104
4104
|
name: "NotFoundPage"
|
|
4105
|
-
},
|
|
4105
|
+
}, dt = (e) => (Je("data-v-26068803"), e = e(), Ke(), e), rs = { class: "not-found" }, us = /* @__PURE__ */ dt(() => /* @__PURE__ */ b("svg", {
|
|
4106
4106
|
width: "380px",
|
|
4107
4107
|
height: "500px",
|
|
4108
4108
|
viewBox: "0 0 837 1045",
|
|
@@ -4155,7 +4155,7 @@ const is = {
|
|
|
4155
4155
|
"sketch:type": "MSShapeGroup"
|
|
4156
4156
|
})
|
|
4157
4157
|
])
|
|
4158
|
-
], -1)), cs = /* @__PURE__ */
|
|
4158
|
+
], -1)), cs = /* @__PURE__ */ dt(() => /* @__PURE__ */ b("div", { class: "message-box" }, [
|
|
4159
4159
|
/* @__PURE__ */ b("h1", null, "404"),
|
|
4160
4160
|
/* @__PURE__ */ b("p", null, "Page not found"),
|
|
4161
4161
|
/* @__PURE__ */ b("div", { class: "buttons-con" }, [
|
|
@@ -4166,14 +4166,14 @@ const is = {
|
|
|
4166
4166
|
}, "Go to Home Page")
|
|
4167
4167
|
])
|
|
4168
4168
|
])
|
|
4169
|
-
], -1)),
|
|
4169
|
+
], -1)), ds = [
|
|
4170
4170
|
us,
|
|
4171
4171
|
cs
|
|
4172
4172
|
];
|
|
4173
|
-
function
|
|
4174
|
-
return i(), f("div", rs,
|
|
4173
|
+
function ps(e, t, l, n, o, s) {
|
|
4174
|
+
return i(), f("div", rs, ds);
|
|
4175
4175
|
}
|
|
4176
|
-
const ms = /* @__PURE__ */ C(is, [["render",
|
|
4176
|
+
const ms = /* @__PURE__ */ C(is, [["render", ps], ["__scopeId", "data-v-26068803"]]), fs = [
|
|
4177
4177
|
{
|
|
4178
4178
|
path: "/",
|
|
4179
4179
|
component: ct,
|
|
@@ -4221,7 +4221,7 @@ function hs(e) {
|
|
|
4221
4221
|
function bs() {
|
|
4222
4222
|
return w.state.user.isLodeRemoteRoutes;
|
|
4223
4223
|
}
|
|
4224
|
-
function
|
|
4224
|
+
function pt() {
|
|
4225
4225
|
return w.state.settings.whiteRoutes || [];
|
|
4226
4226
|
}
|
|
4227
4227
|
function _s() {
|
|
@@ -4229,13 +4229,13 @@ function _s() {
|
|
|
4229
4229
|
}
|
|
4230
4230
|
function ys(e) {
|
|
4231
4231
|
e.beforeEach(async (t, l, n) => {
|
|
4232
|
-
var
|
|
4233
|
-
if (
|
|
4232
|
+
var d, p;
|
|
4233
|
+
if (pt().indexOf(t.path) !== -1) {
|
|
4234
4234
|
n();
|
|
4235
4235
|
return;
|
|
4236
4236
|
}
|
|
4237
4237
|
if (_s()) {
|
|
4238
|
-
(
|
|
4238
|
+
(d = t.query) != null && d.redirect ? n((p = t.query) == null ? void 0 : p.redirect) : n();
|
|
4239
4239
|
return;
|
|
4240
4240
|
}
|
|
4241
4241
|
const s = t.query.redirect || t.path, a = Yn({});
|
|
@@ -4283,14 +4283,14 @@ const mt = /* @__PURE__ */ C(vs, [["render", ws]]), Ss = N({
|
|
|
4283
4283
|
beforeCreate() {
|
|
4284
4284
|
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 };
|
|
4285
4285
|
this.$http.get(this.$props.schemaApi || l, n).then(({ data: o }) => {
|
|
4286
|
-
this.loading = !1, o.notice !== void 0 && (this.haveNotice = !0,
|
|
4286
|
+
this.loading = !1, o.notice !== void 0 && (this.haveNotice = !0, Ie(o.notice) ? this.notice = {
|
|
4287
4287
|
title: o.notice
|
|
4288
|
-
} :
|
|
4288
|
+
} : $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 });
|
|
4289
4289
|
});
|
|
4290
4290
|
}
|
|
4291
4291
|
});
|
|
4292
4292
|
function Cs(e, t, l, n, o, s) {
|
|
4293
|
-
const a = ve, c = ve,
|
|
4293
|
+
const a = ve, c = ve, d = mt;
|
|
4294
4294
|
return i(), f(k, null, [
|
|
4295
4295
|
e.owners.length > 0 ? (i(), m(a, {
|
|
4296
4296
|
key: 0,
|
|
@@ -4300,10 +4300,10 @@ function Cs(e, t, l, n, o, s) {
|
|
|
4300
4300
|
closable: !1
|
|
4301
4301
|
}, null, 8, ["title"])) : E("", !0),
|
|
4302
4302
|
e.haveNotice ? (i(), m(c, q({ key: 1 }, e.notice, { style: { margin: "0 0 20px 0" } }), null, 16)) : E("", !0),
|
|
4303
|
-
e.loading ? (i(), m(
|
|
4303
|
+
e.loading ? (i(), m(d, { key: 2 })) : Y(e.$slots, "default", J(q({ key: 3 }, e.schema)))
|
|
4304
4304
|
], 64);
|
|
4305
4305
|
}
|
|
4306
|
-
const
|
|
4306
|
+
const pe = /* @__PURE__ */ C(Ss, [["render", Cs]]), ft = {
|
|
4307
4307
|
__name: "table",
|
|
4308
4308
|
setup(e) {
|
|
4309
4309
|
const t = (l, n) => {
|
|
@@ -4319,7 +4319,7 @@ const de = /* @__PURE__ */ C(Ss, [["render", Cs]]), ft = {
|
|
|
4319
4319
|
o.indexOf(s) === -1 && delete l[s];
|
|
4320
4320
|
}), l.listApi === void 0 && (l.listApi = `/${n}/list`), l;
|
|
4321
4321
|
};
|
|
4322
|
-
return (l, n) => (i(), m(
|
|
4322
|
+
return (l, n) => (i(), m(pe, { "schema-handler": t }, {
|
|
4323
4323
|
default: r((o) => [
|
|
4324
4324
|
u(T(re), J(Z(o)), null, 16)
|
|
4325
4325
|
]),
|
|
@@ -4344,7 +4344,7 @@ const de = /* @__PURE__ */ C(Ss, [["render", Cs]]), ft = {
|
|
|
4344
4344
|
mod: t.params.id ? "edit" : "create"
|
|
4345
4345
|
}, n), n;
|
|
4346
4346
|
};
|
|
4347
|
-
return (n, o) => (i(), m(
|
|
4347
|
+
return (n, o) => (i(), m(pe, { "schema-handler": l }, {
|
|
4348
4348
|
default: r((s) => [
|
|
4349
4349
|
u(T(W), J(Z(s)), null, 16)
|
|
4350
4350
|
]),
|
|
@@ -4493,7 +4493,7 @@ const de = /* @__PURE__ */ C(Ss, [["render", Cs]]), ft = {
|
|
|
4493
4493
|
}
|
|
4494
4494
|
}
|
|
4495
4495
|
});
|
|
4496
|
-
const Bs = { class: "card-header" },
|
|
4496
|
+
const Bs = { class: "card-header" }, Is = /* @__PURE__ */ b("span", null, "\u5217\u8868", -1), $s = /* @__PURE__ */ g("\u6DFB\u52A0"), As = { class: "tree-action" }, Ts = { key: 0 }, Fs = {
|
|
4497
4497
|
key: 1,
|
|
4498
4498
|
style: { color: "#E6A23C" }
|
|
4499
4499
|
}, Ds = /* @__PURE__ */ g("\u7F16\u8F91"), Os = /* @__PURE__ */ g("\u6DFB\u52A0"), Ps = /* @__PURE__ */ g("\u5220\u9664"), Rs = { class: "card-header" };
|
|
@@ -4512,13 +4512,13 @@ function Ls(e, t) {
|
|
|
4512
4512
|
u(o, { shadow: "never" }, {
|
|
4513
4513
|
header: r(() => [
|
|
4514
4514
|
b("div", Bs, [
|
|
4515
|
-
|
|
4515
|
+
Is,
|
|
4516
4516
|
u(l, {
|
|
4517
4517
|
type: "text",
|
|
4518
4518
|
onClick: t[0] || (t[0] = () => e.appendNew())
|
|
4519
4519
|
}, {
|
|
4520
4520
|
default: r(() => [
|
|
4521
|
-
|
|
4521
|
+
$s
|
|
4522
4522
|
]),
|
|
4523
4523
|
_: 1
|
|
4524
4524
|
})
|
|
@@ -4536,37 +4536,37 @@ function Ls(e, t) {
|
|
|
4536
4536
|
"allow-drop": e.allowDrop,
|
|
4537
4537
|
onNodeDragEnd: e.handleDragEnd
|
|
4538
4538
|
}), {
|
|
4539
|
-
default: r(({ node:
|
|
4539
|
+
default: r(({ node: d, data: p }) => [
|
|
4540
4540
|
b("span", As, [
|
|
4541
|
-
|
|
4541
|
+
p[e.localTreeProps.props.label] ? (i(), f("span", Ts, B(p[e.localTreeProps.props.label]), 1)) : (i(), f("span", Fs, "\u8BF7\u5728\u53F3\u4FA7\u8868\u5355\u4E2D\u4FEE\u6539 --> ")),
|
|
4542
4542
|
b("span", null, [
|
|
4543
|
-
|
|
4543
|
+
p[e.localTreeProps.props.label] ? (i(), m(l, {
|
|
4544
4544
|
key: 0,
|
|
4545
4545
|
class: "button",
|
|
4546
4546
|
type: "text",
|
|
4547
|
-
onClick: () => e.onclick(
|
|
4547
|
+
onClick: () => e.onclick(p)
|
|
4548
4548
|
}, {
|
|
4549
4549
|
default: r(() => [
|
|
4550
4550
|
Ds
|
|
4551
4551
|
]),
|
|
4552
4552
|
_: 2
|
|
4553
4553
|
}, 1032, ["onClick"])) : E("", !0),
|
|
4554
|
-
e.canAppend(
|
|
4554
|
+
e.canAppend(p, d) ? (i(), m(l, {
|
|
4555
4555
|
key: 1,
|
|
4556
4556
|
class: "button",
|
|
4557
4557
|
type: "text",
|
|
4558
|
-
onClick: () => e.append(
|
|
4558
|
+
onClick: () => e.append(p, d)
|
|
4559
4559
|
}, {
|
|
4560
4560
|
default: r(() => [
|
|
4561
4561
|
Os
|
|
4562
4562
|
]),
|
|
4563
4563
|
_: 2
|
|
4564
4564
|
}, 1032, ["onClick"])) : E("", !0),
|
|
4565
|
-
|
|
4565
|
+
p.children === void 0 || p.children.length === 0 ? (i(), m(l, {
|
|
4566
4566
|
key: 2,
|
|
4567
4567
|
class: "button",
|
|
4568
4568
|
type: "text",
|
|
4569
|
-
onClick: () => e.remove(
|
|
4569
|
+
onClick: () => e.remove(p)
|
|
4570
4570
|
}, {
|
|
4571
4571
|
default: r(() => [
|
|
4572
4572
|
Ps
|
|
@@ -4602,7 +4602,7 @@ function Ls(e, t) {
|
|
|
4602
4602
|
(i(), m(a, q({
|
|
4603
4603
|
key: e.formkey,
|
|
4604
4604
|
modelValue: e.formData,
|
|
4605
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
4605
|
+
"onUpdate:modelValue": t[1] || (t[1] = (d) => e.formData = d)
|
|
4606
4606
|
}, e.formProps, { onSubmit: e.submit }), null, 16, ["modelValue", "onSubmit"]))
|
|
4607
4607
|
]),
|
|
4608
4608
|
_: 1
|
|
@@ -4623,7 +4623,7 @@ const Ue = /* @__PURE__ */ C(xs, [["render", Ls]]), Ms = {
|
|
|
4623
4623
|
o.indexOf(s) === -1 && delete l[s];
|
|
4624
4624
|
}), l;
|
|
4625
4625
|
};
|
|
4626
|
-
return (l, n) => (i(), m(
|
|
4626
|
+
return (l, n) => (i(), m(pe, { "schema-handler": t }, {
|
|
4627
4627
|
default: r((o) => [
|
|
4628
4628
|
u(Ue, J(Z(o)), null, 16)
|
|
4629
4629
|
]),
|
|
@@ -4674,28 +4674,28 @@ function Ns(e, t, l) {
|
|
|
4674
4674
|
if (l.length === 0)
|
|
4675
4675
|
return {};
|
|
4676
4676
|
let n = D({}, js);
|
|
4677
|
-
if (n.title.text = e,
|
|
4677
|
+
if (n.title.text = e, Ie(t)) {
|
|
4678
4678
|
const o = [], s = Object.keys(l[0]);
|
|
4679
|
-
let a = s[0], c = s.filter((
|
|
4679
|
+
let a = s[0], c = s.filter((p, h) => h > 0), d = t;
|
|
4680
4680
|
if (t.indexOf(":") > -1) {
|
|
4681
|
-
const
|
|
4682
|
-
|
|
4681
|
+
const p = t.split(":"), h = p[1].split(",");
|
|
4682
|
+
d = p[0], a = h[0], c = h.filter((_, A) => A > 0);
|
|
4683
4683
|
}
|
|
4684
|
-
c.forEach((
|
|
4684
|
+
c.forEach((p) => {
|
|
4685
4685
|
const h = [];
|
|
4686
4686
|
l.forEach((_) => {
|
|
4687
|
-
h.push(_[
|
|
4687
|
+
h.push(_[p]);
|
|
4688
4688
|
}), n.series.push({
|
|
4689
|
-
name:
|
|
4690
|
-
type:
|
|
4689
|
+
name: p,
|
|
4690
|
+
type: d,
|
|
4691
4691
|
smooth: !0,
|
|
4692
4692
|
data: h
|
|
4693
|
-
}), n.legend.data.push(
|
|
4694
|
-
}), l.forEach((
|
|
4695
|
-
o.push(
|
|
4693
|
+
}), n.legend.data.push(p);
|
|
4694
|
+
}), l.forEach((p) => {
|
|
4695
|
+
o.push(p[a]);
|
|
4696
4696
|
}), n.xAxis.data = o;
|
|
4697
4697
|
}
|
|
4698
|
-
return
|
|
4698
|
+
return $e(t) && (n = D(n, t)), console.log(111, n), n;
|
|
4699
4699
|
}
|
|
4700
4700
|
const Vs = N({
|
|
4701
4701
|
name: "NumberPanel",
|
|
@@ -4710,20 +4710,19 @@ const Vs = N({
|
|
|
4710
4710
|
}
|
|
4711
4711
|
}), qs = { class: "number-panel-title" }, Us = { class: "number" }, Hs = { class: "name" };
|
|
4712
4712
|
function Gs(e, t, l, n, o, s) {
|
|
4713
|
-
return i(!0), f(k, null,
|
|
4713
|
+
return i(!0), f(k, null, I(e.dataList, (a, c) => (i(), f("span", { key: c }, [
|
|
4714
4714
|
b("div", qs, [
|
|
4715
|
-
(i(!0), f(k, null,
|
|
4716
|
-
key:
|
|
4715
|
+
(i(!0), f(k, null, I(Object.keys(a), (d, p) => (i(), f("div", {
|
|
4716
|
+
key: p,
|
|
4717
4717
|
class: "title-inner"
|
|
4718
4718
|
}, [
|
|
4719
|
-
b("p", Us, B(a[
|
|
4720
|
-
b("p", Hs, B(
|
|
4719
|
+
b("p", Us, B(a[d]), 1),
|
|
4720
|
+
b("p", Hs, B(d), 1)
|
|
4721
4721
|
]))), 128))
|
|
4722
4722
|
])
|
|
4723
4723
|
]))), 128);
|
|
4724
4724
|
}
|
|
4725
|
-
const Js = /* @__PURE__ */ C(Vs, [["render", Gs], ["__scopeId", "data-v-
|
|
4726
|
-
const Ks = {
|
|
4725
|
+
const Js = /* @__PURE__ */ C(Vs, [["render", Gs], ["__scopeId", "data-v-cc0d8293"]]), Ks = {
|
|
4727
4726
|
components: {
|
|
4728
4727
|
Chart: ol,
|
|
4729
4728
|
Md: fl,
|
|
@@ -4788,8 +4787,7 @@ function zs(e, t, l, n, o, s) {
|
|
|
4788
4787
|
[c, !0]
|
|
4789
4788
|
]);
|
|
4790
4789
|
}
|
|
4791
|
-
const Ws = /* @__PURE__ */ C(Ks, [["render", zs], ["__scopeId", "data-v-
|
|
4792
|
-
const Zs = /* @__PURE__ */ N({
|
|
4790
|
+
const Ws = /* @__PURE__ */ C(Ks, [["render", zs], ["__scopeId", "data-v-a5a65cc1"]]), Zs = /* @__PURE__ */ N({
|
|
4793
4791
|
__name: "index",
|
|
4794
4792
|
props: {
|
|
4795
4793
|
filter: {
|
|
@@ -4822,23 +4820,23 @@ const Zs = /* @__PURE__ */ N({
|
|
|
4822
4820
|
cancelButton: {
|
|
4823
4821
|
text: "\u91CD\u7F6E"
|
|
4824
4822
|
}
|
|
4825
|
-
}, s = R(1), a = R(t.filter), c = R(t.dataPart),
|
|
4823
|
+
}, s = R(1), a = R(t.filter), c = R(t.dataPart), d = j(() => {
|
|
4826
4824
|
let h = l.params.id;
|
|
4827
4825
|
if (!h) {
|
|
4828
4826
|
const _ = l.path.split("/");
|
|
4829
4827
|
h = _[_.length - 1];
|
|
4830
4828
|
}
|
|
4831
4829
|
return "/focusbi_report/view/" + h;
|
|
4832
|
-
}),
|
|
4833
|
-
ql.get(
|
|
4830
|
+
}), p = (h) => {
|
|
4831
|
+
ql.get(d.value, { params: h }).then(({ data: _ }) => {
|
|
4834
4832
|
a.value = _.filter, c.value = _.dataPart, s.value++;
|
|
4835
4833
|
});
|
|
4836
4834
|
};
|
|
4837
4835
|
return (h, _) => {
|
|
4838
|
-
const A = xe,
|
|
4836
|
+
const A = xe, $ = ue, U = ve, V = le;
|
|
4839
4837
|
return i(), m(V, null, {
|
|
4840
4838
|
default: r(() => [
|
|
4841
|
-
a.value.length > 0 ? (i(), m(
|
|
4839
|
+
a.value.length > 0 ? (i(), m($, {
|
|
4842
4840
|
key: 0,
|
|
4843
4841
|
span: 24
|
|
4844
4842
|
}, {
|
|
@@ -4853,7 +4851,7 @@ const Zs = /* @__PURE__ */ N({
|
|
|
4853
4851
|
"onUpdate:modelValue": _[0] || (_[0] = (x) => n.value = x),
|
|
4854
4852
|
"form-items": a.value,
|
|
4855
4853
|
options: o,
|
|
4856
|
-
onSubmit:
|
|
4854
|
+
onSubmit: p
|
|
4857
4855
|
}, null, 8, ["modelValue", "form-items"])
|
|
4858
4856
|
]),
|
|
4859
4857
|
_: 1
|
|
@@ -4861,11 +4859,11 @@ const Zs = /* @__PURE__ */ N({
|
|
|
4861
4859
|
]),
|
|
4862
4860
|
_: 1
|
|
4863
4861
|
})) : E("", !0),
|
|
4864
|
-
u(
|
|
4862
|
+
u($, { span: 24 }, {
|
|
4865
4863
|
default: r(() => [
|
|
4866
4864
|
u(V, { gutter: 20 }, {
|
|
4867
4865
|
default: r(() => [
|
|
4868
|
-
(i(!0), f(k, null,
|
|
4866
|
+
(i(!0), f(k, null, I(c.value, (x, K) => (i(), m($, {
|
|
4869
4867
|
key: K,
|
|
4870
4868
|
span: x.col || 24
|
|
4871
4869
|
}, {
|
|
@@ -4897,7 +4895,8 @@ const Zs = /* @__PURE__ */ N({
|
|
|
4897
4895
|
});
|
|
4898
4896
|
};
|
|
4899
4897
|
}
|
|
4900
|
-
})
|
|
4898
|
+
});
|
|
4899
|
+
const Qs = {
|
|
4901
4900
|
__name: "report",
|
|
4902
4901
|
setup(e) {
|
|
4903
4902
|
const t = useRoute(), l = j(() => {
|
|
@@ -4908,7 +4907,7 @@ const Zs = /* @__PURE__ */ N({
|
|
|
4908
4907
|
}
|
|
4909
4908
|
return "/focusbi_report/view/" + n;
|
|
4910
4909
|
});
|
|
4911
|
-
return (n, o) => (i(), m(
|
|
4910
|
+
return (n, o) => (i(), m(pe, { "schema-api": T(l) }, {
|
|
4912
4911
|
default: r((s) => [
|
|
4913
4912
|
u(Zs, J(Z(s)), null, 16)
|
|
4914
4913
|
]),
|
|
@@ -5039,7 +5038,7 @@ const ht = (e) => {
|
|
|
5039
5038
|
};
|
|
5040
5039
|
function la(e) {
|
|
5041
5040
|
e.beforeEach(async (t, l, n) => {
|
|
5042
|
-
if (
|
|
5041
|
+
if (pt().indexOf(t.path) !== -1) {
|
|
5043
5042
|
n();
|
|
5044
5043
|
return;
|
|
5045
5044
|
}
|
|
@@ -5064,9 +5063,9 @@ function oa(e) {
|
|
|
5064
5063
|
e.beforeEach(async (t, l, n) => {
|
|
5065
5064
|
var c;
|
|
5066
5065
|
const s = [w.state.settings.title || ""], a = t.matched.length;
|
|
5067
|
-
for (let
|
|
5068
|
-
const
|
|
5069
|
-
(c =
|
|
5066
|
+
for (let d = a; d > a - 3; d--) {
|
|
5067
|
+
const p = t.matched[d - 1];
|
|
5068
|
+
(c = p == null ? void 0 : p.meta) != null && c.title && s.push(p.meta.title + "");
|
|
5070
5069
|
}
|
|
5071
5070
|
s.length > 1 && (document.title = s.reverse().join("-")), n();
|
|
5072
5071
|
}), e.afterEach(async (t, l, n) => {
|
|
@@ -5086,7 +5085,7 @@ const sa = {
|
|
|
5086
5085
|
unmounted(e) {
|
|
5087
5086
|
document.body.removeEventListener("click", e.clickOutsideEvent);
|
|
5088
5087
|
}
|
|
5089
|
-
}, G =
|
|
5088
|
+
}, G = pl(), aa = {
|
|
5090
5089
|
mounted: (e, t) => {
|
|
5091
5090
|
e !== null && (t.value, e.oncontextmenu = (l) => {
|
|
5092
5091
|
l.preventDefault(), l.stopPropagation(), l.cancelBubble = !0, t.value && G.emit("right-click", { event: l, data: t.value });
|
|
@@ -5108,7 +5107,7 @@ const ra = {
|
|
|
5108
5107
|
return;
|
|
5109
5108
|
let l = e;
|
|
5110
5109
|
if (t.value.parent)
|
|
5111
|
-
for (let
|
|
5110
|
+
for (let d = 0; d < t.value.parent; d++)
|
|
5112
5111
|
l.parentElement && (l = l.parentElement);
|
|
5113
5112
|
l.classList.add("devtool-hover");
|
|
5114
5113
|
const n = document.createElement("i");
|
|
@@ -5118,14 +5117,14 @@ const ra = {
|
|
|
5118
5117
|
const o = document.createElement("span");
|
|
5119
5118
|
o.className = "dev-action-edit", o.title = "\u7F16\u8F91";
|
|
5120
5119
|
const s = document.createElement("i");
|
|
5121
|
-
s.className = "iconfont ra-editor1", o.appendChild(s), o.onclick = (
|
|
5122
|
-
G.emit("dev-action", { event:
|
|
5120
|
+
s.className = "iconfont ra-editor1", o.appendChild(s), o.onclick = (d) => {
|
|
5121
|
+
G.emit("dev-action", { event: d, data: { type: "edit", devId: t.value.devId } });
|
|
5123
5122
|
}, n.appendChild(o);
|
|
5124
5123
|
const a = document.createElement("span");
|
|
5125
5124
|
a.className = "dev-action-del", a.title = "\u5220\u9664";
|
|
5126
5125
|
const c = document.createElement("i");
|
|
5127
|
-
c.className = "iconfont ra-cut", a.appendChild(c), a.onclick = (
|
|
5128
|
-
G.emit("dev-action", { event:
|
|
5126
|
+
c.className = "iconfont ra-cut", a.appendChild(c), a.onclick = (d) => {
|
|
5127
|
+
G.emit("dev-action", { event: d, data: { type: "del", devId: t.value.devId } });
|
|
5129
5128
|
}, n.appendChild(a), l.insertBefore(n, l.firstChild);
|
|
5130
5129
|
}
|
|
5131
5130
|
}, ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -5137,10 +5136,10 @@ const ra = {
|
|
|
5137
5136
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5138
5137
|
let se;
|
|
5139
5138
|
function fi(e) {
|
|
5140
|
-
return e ? Pe(D(
|
|
5139
|
+
return e ? Pe(D(de.axios, e)) : se;
|
|
5141
5140
|
}
|
|
5142
5141
|
function hi(e) {
|
|
5143
|
-
const t = D(
|
|
5142
|
+
const t = D(de, e), l = St(hl), n = ba(t), o = t.plugins || [];
|
|
5144
5143
|
o.unshift(n), o.forEach((s) => {
|
|
5145
5144
|
ha(l, s);
|
|
5146
5145
|
}), t != null && t.mock && Cl(), se = Pe(t.axios), w.dispatch("setHttp", se).then(), w.dispatch("settings/updateSettings", e == null ? void 0 : e.settings).then(), l.config.globalProperties.$http = se, l.config.globalProperties.$router = te, window.App = l, window.OmsOptions = t, nl(() => ({
|
|
@@ -5152,14 +5151,14 @@ function ca(e, t = {}) {
|
|
|
5152
5151
|
e.component(l, t[l]);
|
|
5153
5152
|
});
|
|
5154
5153
|
}
|
|
5155
|
-
function
|
|
5154
|
+
function da(e = []) {
|
|
5156
5155
|
e.forEach((t) => {
|
|
5157
5156
|
te.addRoute(t);
|
|
5158
5157
|
}), w.commit("user/setCustomRoutes", e);
|
|
5159
5158
|
}
|
|
5160
|
-
function
|
|
5159
|
+
function pa(e, t) {
|
|
5161
5160
|
t.forEach((l) => {
|
|
5162
|
-
|
|
5161
|
+
$e(l) && (l = [l]), e.use(...l);
|
|
5163
5162
|
});
|
|
5164
5163
|
}
|
|
5165
5164
|
function ma(e, t = {}) {
|
|
@@ -5178,7 +5177,7 @@ function fa(e = {}) {
|
|
|
5178
5177
|
});
|
|
5179
5178
|
}
|
|
5180
5179
|
function ha(e, t) {
|
|
5181
|
-
ca(e, t.components || {}),
|
|
5180
|
+
ca(e, t.components || {}), da(t.routes || []), pa(e, t.use || []), ma(e, t.directives || {}), fa(t.storeModules || {}), ot(t.mockApis || []);
|
|
5182
5181
|
}
|
|
5183
5182
|
function ba(e) {
|
|
5184
5183
|
var t;
|
|
@@ -5208,7 +5207,7 @@ export {
|
|
|
5208
5207
|
se as http,
|
|
5209
5208
|
Pe as instance,
|
|
5210
5209
|
mi as regViews,
|
|
5211
|
-
|
|
5210
|
+
pi as setCmp,
|
|
5212
5211
|
ta as transRemoteModules,
|
|
5213
5212
|
fi as useHttp
|
|
5214
5213
|
};
|