jmash-core 0.0.11 → 0.0.13
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/401-LzXAVxnC.mjs +101 -0
- package/dist/404-BaS1xZmV.mjs +37 -0
- package/dist/{BarChart-CbBhpMpZ.mjs → BarChart-ClnlJEhi.mjs} +41 -41
- package/dist/{FileSaver.min-CivbhzMe.mjs → FileSaver.min-C7ddeQoo.mjs} +1 -1
- package/dist/{FunnelChart-Czy2TVI1.mjs → FunnelChart-CcCVox9E.mjs} +16 -15
- package/dist/{PieChart-B8Tay-HH.mjs → PieChart-BHM8amLk.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-CH5ME8e4.mjs → PieChart.vue_vue_type_script_setup_true_lang-BaJNQr7Z.mjs} +25 -24
- package/dist/{RadarChart-BzUQwTnX.mjs → RadarChart-ChaevZtZ.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-DC-Ww3Mu.mjs → RadarChart.vue_vue_type_script_setup_true_lang-DF4axEB-.mjs} +27 -26
- package/dist/{edit-DaxU7bBz.mjs → edit-5MpAgj0J.mjs} +1 -1
- package/dist/{edit-C0aHXOi3.mjs → edit-Bz0L-kJZ.mjs} +1 -1
- package/dist/{edit-B95ajyfH.mjs → edit-ClmR7gql.mjs} +1 -1
- package/dist/{edit-BJAAEDVd.mjs → edit-D2udSsbu.mjs} +1 -1
- package/dist/edit-DXSp7oE2.mjs +4 -0
- package/dist/{edit-CR7ZiKuo.mjs → edit-FahW6Usp.mjs} +51 -51
- package/dist/{edit-5ZpeysVY.mjs → edit-oUUjQ6s5.mjs} +47 -47
- package/dist/edit-zLDTi0zt.mjs +4 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-0Q5XHHkN.mjs → edit.vue_vue_type_script_setup_true_lang-BFSwE0WY.mjs} +24 -24
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DqqWi384.mjs → edit.vue_vue_type_script_setup_true_lang-BRk4mulZ.mjs} +22 -22
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CCq_E2KT.mjs → edit.vue_vue_type_script_setup_true_lang-BpmgWV6c.mjs} +14 -14
- package/dist/{edit.vue_vue_type_script_setup_true_lang-C-BRxRH6.mjs → edit.vue_vue_type_script_setup_true_lang-C5DH8_ra.mjs} +30 -30
- package/dist/edit.vue_vue_type_script_setup_true_lang-F-7AWta2.mjs +588 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D4w7Aa9M.mjs → edit.vue_vue_type_script_setup_true_lang-yaBZyiFi.mjs} +25 -25
- package/dist/{el-card-acRFAeYD.mjs → el-card-CjFpAXC4.mjs} +1 -1
- package/dist/{el-col-BFrxkvh3.mjs → el-col-D9kCVYAq.mjs} +17 -17
- package/dist/{el-date-picker-CjE5H0IY.mjs → el-date-picker-_cuHa2hi.mjs} +474 -474
- package/dist/el-divider-8Ov9f55F.mjs +45 -0
- package/dist/{el-dropdown-item-SBcx6_kX.mjs → el-dropdown-item-CSpUSfWV.mjs} +95 -95
- package/dist/{el-tree-select-RwYP-GEn.mjs → el-tree-select-BUK1QB3u.mjs} +75 -75
- package/dist/{index-CQlxUoOf.mjs → index-BYYYSOkP.mjs} +1 -1
- package/dist/{index-Bqg1CGw2.mjs → index-BeFhB4ZJ.mjs} +1 -1
- package/dist/{index-B7zhho5d.mjs → index-BkPB5eHC.mjs} +92 -92
- package/dist/{index-CcXjdXcD.mjs → index-C34zVC-7.mjs} +67 -67
- package/dist/{index-BcstP65E.mjs → index-C68JBxAE.mjs} +100 -100
- package/dist/{index-ChzNa2kp.mjs → index-CPqNZOs9.mjs} +21463 -21235
- package/dist/{index-u66O7nvc.mjs → index-CXJ-WW3h.mjs} +112 -111
- package/dist/{index-DvrFzTq2.mjs → index-CYAfQz-w.mjs} +1 -1
- package/dist/index-Cuk7sDz9.mjs +277 -0
- package/dist/{index-Dyn0k8Ib.mjs → index-D8zb68MK.mjs} +64 -64
- package/dist/{index-DBmv4w5y.mjs → index-D9itg8P7.mjs} +1 -1
- package/dist/{index-DAIdsjwj.mjs → index-DHQQEEWW.mjs} +53 -53
- package/dist/{index-DQtth-qu.mjs → index-DW1L3U1A.mjs} +53 -53
- package/dist/{index-B-lo0ywJ.mjs → index-Dav45Y13.mjs} +72 -72
- package/dist/index-DhjUimfd.mjs +272 -0
- package/dist/{index-DQbHbpgW.mjs → index-GPbjfqQg.mjs} +4 -4
- package/dist/{index-hr-nwn6C.mjs → index-W4pvCYhJ.mjs} +1 -1
- package/dist/{index-SUlMvdOg.mjs → index-gaeN4E1_.mjs} +88 -88
- package/dist/index-hZzxBNan.mjs +3447 -0
- package/dist/{index-4UdK9Nb9.mjs → index-l9Oeu9G-.mjs} +49 -49
- package/dist/index.mjs +27 -28
- package/dist/index.vue_vue_type_script_setup_true_lang-DWjQT4jn.mjs +54 -0
- package/dist/picture-DRU19T9b.mjs +587 -0
- package/dist/position-Ba7wRAlR.mjs +23 -0
- package/dist/{profile-BfDHQ_n5.mjs → profile-3Wsx53aV.mjs} +25 -25
- package/dist/runAs-CE2R49GJ.mjs +4 -0
- package/dist/runAs.vue_vue_type_script_setup_true_lang-i0DdmfK1.mjs +113 -0
- package/dist/style.css +1 -1
- package/dist/{types-D2vHMNqn.mjs → types-D3sIBzF1.mjs} +13 -13
- package/dist/{updatePwd-Dc31cBOV.mjs → updatePwd-2Dc9-bnF.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-Do-jRGf0.mjs → updatePwd.vue_vue_type_script_setup_true_lang-3mhiAxD4.mjs} +9 -9
- package/dts/src/components/AppLink/index.vue.d.ts +19 -0
- package/dts/src/components/DictSelect/index.vue.d.ts +1 -1
- package/dts/src/components/Dictionary/index.vue.d.ts +1 -1
- package/dts/src/components/IconSelect/requireIcons.d.ts +1 -1
- package/dts/src/components/Pagination/index.vue.d.ts +3 -3
- package/dts/src/enums/DeviceEnum.d.ts +13 -0
- package/dts/src/enums/LayoutEnum.d.ts +17 -0
- package/dts/src/enums/MenuTypeEnum.d.ts +4 -1
- package/dts/src/enums/SidebarStatusEnum.d.ts +13 -0
- package/dts/src/enums/ThemeEnum.d.ts +17 -0
- package/dts/src/index.d.ts +10 -3
- package/dts/src/lang/index.d.ts +90 -0
- package/dts/src/lang/package/en.d.ts +42 -0
- package/dts/src/lang/package/zh-cn.d.ts +48 -0
- package/dts/src/layout/components/AppMain/index.vue.d.ts +2 -0
- package/dts/src/layout/components/NavBar/components/NavbarLeft.vue.d.ts +2 -0
- package/dts/src/layout/components/NavBar/components/NavbarRight.vue.d.ts +2 -0
- package/dts/src/layout/components/Settings/components/LayoutSelect.vue.d.ts +10 -0
- package/dts/src/layout/components/Settings/components/ThemeColorPicker.vue.d.ts +10 -0
- package/dts/src/layout/components/Sidebar/components/SidebarLogo.vue.d.ts +12 -0
- package/dts/src/layout/components/Sidebar/components/SidebarMenu.vue.d.ts +50 -0
- package/dts/src/layout/components/Sidebar/components/SidebarMenuItem.vue.d.ts +42 -0
- package/dts/src/layout/components/Sidebar/components/SidebarMenuItemTitle.vue.d.ts +23 -0
- package/dts/src/layout/components/Sidebar/components/SidebarMixTopMenu.vue.d.ts +2 -0
- package/dts/src/stores/index.d.ts +5 -0
- package/dts/src/utils/color.d.ts +69 -0
- package/dts/src/utils/index.d.ts +9 -0
- package/dts/src/utils/nprogress.d.ts +4 -0
- package/dts/src/views/my/runAs.vue.d.ts +6 -0
- package/dts/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/401-BjFOoJaQ.mjs +0 -101
- package/dist/404-CT8Yk873.mjs +0 -37
- package/dist/anquanrizhi-BMAtNRi-.mjs +0 -4
- package/dist/api-DA2t0sYn.mjs +0 -4
- package/dist/bumenguanli-_DtFk-Tc.mjs +0 -4
- package/dist/caozuoguanliyuan-YxDi1qyM.mjs +0 -4
- package/dist/captcha-G9RskXh1.mjs +0 -4
- package/dist/caret-bottom-Lhe9M7aA.mjs +0 -59
- package/dist/cascader-CysbB3DR.mjs +0 -4
- package/dist/client-CmoE5d0v.mjs +0 -4
- package/dist/close-DwiHyvYJ.mjs +0 -4
- package/dist/close_all-ri0Fg4Yg.mjs +0 -4
- package/dist/close_left-DLmFYlJS.mjs +0 -4
- package/dist/close_other-B705ZMV6.mjs +0 -4
- package/dist/close_right-BUdNHbs5.mjs +0 -4
- package/dist/dict-C2cGjFov.mjs +0 -4
- package/dist/document-Bf2gTChB.mjs +0 -4
- package/dist/download-cG3k-vnb.mjs +0 -4
- package/dist/drag-CwjZNuUJ.mjs +0 -4
- package/dist/edit-CIq1RPVx.mjs +0 -4
- package/dist/edit-Di-ksvTh.mjs +0 -4
- package/dist/edit-II1vFfNu.mjs +0 -4
- package/dist/edit.vue_vue_type_script_setup_true_lang-VlMd6HAa.mjs +0 -575
- package/dist/email-B2AUCEGq.mjs +0 -4
- package/dist/exit-fullscreen-BJ7HY1Sq.mjs +0 -4
- package/dist/eye-DeDz_5CQ.mjs +0 -4
- package/dist/eye-open-Cm0N1Rcz.mjs +0 -4
- package/dist/fullscreen-BFXljl9l.mjs +0 -4
- package/dist/gangweiguanli-bkwyhEXB.mjs +0 -4
- package/dist/github-CL2t8fd5.mjs +0 -4
- package/dist/homepage-IeZtzO8Q.mjs +0 -4
- package/dist/icon-DwZ6Hkfk.mjs +0 -4
- package/dist/index-CF6p3ONN.mjs +0 -319
- package/dist/index-CJvo28Bb.mjs +0 -275
- package/dist/index-CS-ceXqM.mjs +0 -2580
- package/dist/ip-DOLbS1rT.mjs +0 -4
- package/dist/jiemianxijietubiao-26-mnbzByc9.mjs +0 -4
- package/dist/language-C1tgLxuP.mjs +0 -4
- package/dist/link-Cjm7RVX7.mjs +0 -4
- package/dist/log-ZFSIG9ZQ.mjs +0 -4
- package/dist/menu-B7SOjMUJ.mjs +0 -4
- package/dist/message-Bws5C_1u.mjs +0 -4
- package/dist/mokuaiguanli-nzRpK-Pe.mjs +0 -4
- package/dist/money-DM0ZKWD3.mjs +0 -4
- package/dist/monitor-CxsUJkcx.mjs +0 -4
- package/dist/order-DZ28J7CD.mjs +0 -4
- package/dist/password-BbtiGVLy.mjs +0 -4
- package/dist/peoples-3fyh79uv.mjs +0 -4
- package/dist/phone-CdpLww4_.mjs +0 -4
- package/dist/picture-877nN1qH.mjs +0 -598
- package/dist/project-DgVsw9u_.mjs +0 -4
- package/dist/publish-BCri5HbT.mjs +0 -4
- package/dist/quanxianguanli-Cpcc8C4D.mjs +0 -4
- package/dist/redis-fjUUmFu3.mjs +0 -4
- package/dist/refresh-BWNjEt3t.mjs +0 -4
- package/dist/role-BYKzPG5H.mjs +0 -4
- package/dist/security-BsMRfWoG.mjs +0 -4
- package/dist/shoujihao-BFt1tDJn.mjs +0 -4
- package/dist/shrink-kEdKK3G7.mjs +0 -4
- package/dist/size-jLonAeyJ.mjs +0 -4
- package/dist/system-BlPhikZo.mjs +0 -4
- package/dist/table-CCqA2qBP.mjs +0 -4
- package/dist/todolist-Ul73X2IJ.mjs +0 -4
- package/dist/tree-DrEt7UUZ.mjs +0 -4
- package/dist/user-B9bSWq2E.mjs +0 -4
- package/dist/visit-w_hKTLb6.mjs +0 -4
- package/dist/xingming-DHM4olm-.mjs +0 -4
- package/dist/yonghuguanli-B3vRkdqw.mjs +0 -4
- package/dist/youxiang-D68Zx-02.mjs +0 -4
- package/dist//345/210/227/350/241/250-nphA7BPW.mjs +0 -4
- package/dist//345/233/272/345/256/232_/345/233/276/351/222/211-CXYo1gbQ.mjs +0 -4
- package/dist//346/250/241/345/235/227-D528qA63.mjs +0 -4
- package/dist//347/234/274/347/235/233-BaPHKGgj.mjs +0 -4
- package/dist//351/227/255/347/234/274/347/235/233-D6BjbTd5.mjs +0 -4
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as ge, a as
|
|
1
|
+
import { aj as le, a0 as ie, aX as re, aY as se, s as de, aq as pe, t as me, ai as ce, aZ as ue, E as _e, aV as fe, bd as be } from "./index-CPqNZOs9.mjs";
|
|
2
|
+
import { E as ge, a as ye } from "./el-col-D9kCVYAq.mjs";
|
|
3
3
|
import "./el-form-item-l0sNRNKZ.mjs";
|
|
4
|
-
import { defineComponent as
|
|
5
|
-
import { g as we, d as $e, b as Ee, m as Oe, a as
|
|
6
|
-
const
|
|
4
|
+
import { defineComponent as Ce, reactive as c, resolveComponent as T, resolveDirective as ve, openBlock as d, createElementBlock as $, createVNode as t, withCtx as n, withKeys as N, unref as o, createTextVNode as p, toDisplayString as m, withDirectives as C, createBlock as v, isRef as he, createCommentVNode as S, createElementVNode as ke } from "vue";
|
|
5
|
+
import { g as we, d as $e, b as Ee, m as Oe, a as Ie, _ as Re } from "./edit.vue_vue_type_script_setup_true_lang-BFSwE0WY.mjs";
|
|
6
|
+
const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "clear" }, null, -1), Se = ["onClick"], Ve = ["onClick"], ze = /* @__PURE__ */ Ce({
|
|
7
7
|
__name: "index",
|
|
8
|
-
setup(
|
|
8
|
+
setup(De) {
|
|
9
9
|
const { t: r } = le(), i = c({
|
|
10
10
|
tenant: ie().user.tenant,
|
|
11
11
|
curPage: 1,
|
|
@@ -44,58 +44,58 @@ const Ie = { class: "app-container" }, Re = /* @__PURE__ */ ke("div", { class: "
|
|
|
44
44
|
const s = c({
|
|
45
45
|
visible: !1,
|
|
46
46
|
title: ""
|
|
47
|
-
}),
|
|
47
|
+
}), V = c({
|
|
48
48
|
list: we,
|
|
49
49
|
del: $e,
|
|
50
50
|
dels: Ee,
|
|
51
51
|
up: Oe,
|
|
52
|
-
down:
|
|
52
|
+
down: Ie
|
|
53
53
|
}), {
|
|
54
|
-
tableData:
|
|
54
|
+
tableData: D,
|
|
55
55
|
total: f,
|
|
56
56
|
listLoading: P,
|
|
57
|
-
selectionRows:
|
|
58
|
-
multipleTableRef:
|
|
57
|
+
selectionRows: F,
|
|
58
|
+
multipleTableRef: q,
|
|
59
59
|
queryFormRef: E,
|
|
60
60
|
getList: h,
|
|
61
61
|
handleQuery: b,
|
|
62
|
-
deleteRecord:
|
|
62
|
+
deleteRecord: B,
|
|
63
63
|
deleteRecords: U,
|
|
64
|
-
handleMoveTop:
|
|
64
|
+
handleMoveTop: z,
|
|
65
65
|
// 上移
|
|
66
|
-
handleMoveDown:
|
|
66
|
+
handleMoveDown: K
|
|
67
67
|
// 下移
|
|
68
|
-
} = re(r,
|
|
68
|
+
} = re(r, V, i), {
|
|
69
69
|
parIndex: L,
|
|
70
|
-
tableArray:
|
|
71
|
-
getLocalStorageContent:
|
|
72
|
-
fixedChange:
|
|
73
|
-
isShowChange:
|
|
70
|
+
tableArray: j,
|
|
71
|
+
getLocalStorageContent: x,
|
|
72
|
+
fixedChange: A,
|
|
73
|
+
isShowChange: M
|
|
74
74
|
} = se(_, "/system/operation");
|
|
75
|
-
function
|
|
76
|
-
|
|
75
|
+
function Q(e) {
|
|
76
|
+
F.value = e;
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function X() {
|
|
79
79
|
E.value.resetFields(), b();
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function Y() {
|
|
82
82
|
for (const e in u)
|
|
83
83
|
u[e] = "";
|
|
84
84
|
s.title = r("common.add"), s.visible = !0;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function Z(e) {
|
|
87
87
|
s.title = r("common.edit"), s.visible = !0, u = { ...e };
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function G(e) {
|
|
90
90
|
s.visible = e;
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function H(e) {
|
|
93
93
|
e && h();
|
|
94
94
|
}
|
|
95
|
-
return
|
|
96
|
-
const O =
|
|
97
|
-
return
|
|
98
|
-
t(
|
|
95
|
+
return x(), _ = j.value, h(), (e, l) => {
|
|
96
|
+
const O = de, k = pe, g = me, J = ce, I = ge, W = ue, ee = ye, oe = T("Bottom"), R = _e, te = T("Top"), ae = fe, ne = be, y = ve("hasPerm");
|
|
97
|
+
return d(), $("div", Te, [
|
|
98
|
+
t(J, {
|
|
99
99
|
ref_key: "queryFormRef",
|
|
100
100
|
ref: E,
|
|
101
101
|
model: i,
|
|
@@ -111,7 +111,7 @@ const Ie = { class: "app-container" }, Re = /* @__PURE__ */ ke("div", { class: "
|
|
|
111
111
|
modelValue: i.operationCode,
|
|
112
112
|
"onUpdate:modelValue": l[0] || (l[0] = (a) => i.operationCode = a),
|
|
113
113
|
placeholder: e.$t("sysOperation.codeRequired"),
|
|
114
|
-
onKeyup:
|
|
114
|
+
onKeyup: N(o(b), ["enter"])
|
|
115
115
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
116
116
|
]),
|
|
117
117
|
_: 1
|
|
@@ -126,7 +126,7 @@ const Ie = { class: "app-container" }, Re = /* @__PURE__ */ ke("div", { class: "
|
|
|
126
126
|
"onUpdate:modelValue": l[1] || (l[1] = (a) => i.likeOperationName = a),
|
|
127
127
|
placeholder: e.$t("sysOperation.nameRequired"),
|
|
128
128
|
clearable: "",
|
|
129
|
-
onKeyup:
|
|
129
|
+
onKeyup: N(o(b), ["enter"])
|
|
130
130
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
131
131
|
]),
|
|
132
132
|
_: 1
|
|
@@ -138,13 +138,13 @@ const Ie = { class: "app-container" }, Re = /* @__PURE__ */ ke("div", { class: "
|
|
|
138
138
|
onClick: o(b)
|
|
139
139
|
}, {
|
|
140
140
|
default: n(() => [
|
|
141
|
-
|
|
141
|
+
p(m(e.$t("common.search")), 1)
|
|
142
142
|
]),
|
|
143
143
|
_: 1
|
|
144
144
|
}, 8, ["onClick"]),
|
|
145
|
-
t(g, { onClick:
|
|
145
|
+
t(g, { onClick: X }, {
|
|
146
146
|
default: n(() => [
|
|
147
|
-
|
|
147
|
+
p(m(e.$t("common.reset")), 1)
|
|
148
148
|
]),
|
|
149
149
|
_: 1
|
|
150
150
|
})
|
|
@@ -154,46 +154,46 @@ const Ie = { class: "app-container" }, Re = /* @__PURE__ */ ke("div", { class: "
|
|
|
154
154
|
]),
|
|
155
155
|
_: 1
|
|
156
156
|
}, 8, ["model"]),
|
|
157
|
-
|
|
157
|
+
Ne,
|
|
158
158
|
t(ee, { justify: "space-between" }, {
|
|
159
159
|
default: n(() => [
|
|
160
|
-
t(
|
|
160
|
+
t(I, { span: 19 }, {
|
|
161
161
|
default: n(() => [
|
|
162
|
-
|
|
162
|
+
C((d(), v(g, {
|
|
163
163
|
type: "primary",
|
|
164
|
-
onClick:
|
|
164
|
+
onClick: Y
|
|
165
165
|
}, {
|
|
166
166
|
default: n(() => [
|
|
167
|
-
|
|
167
|
+
p(m(e.$t("common.add")), 1)
|
|
168
168
|
]),
|
|
169
169
|
_: 1
|
|
170
170
|
})), [
|
|
171
|
-
[
|
|
171
|
+
[y, ["rbac:operation:add"]]
|
|
172
172
|
]),
|
|
173
|
-
|
|
173
|
+
C((d(), v(g, {
|
|
174
174
|
type: "primary",
|
|
175
175
|
onClick: l[2] || (l[2] = (a) => o(U)("operationId"))
|
|
176
176
|
}, {
|
|
177
177
|
default: n(() => [
|
|
178
|
-
|
|
178
|
+
p(m(e.$t("common.batchDelete")), 1)
|
|
179
179
|
]),
|
|
180
180
|
_: 1
|
|
181
181
|
})), [
|
|
182
|
-
[
|
|
182
|
+
[y, ["rbac:operation:delete"]]
|
|
183
183
|
])
|
|
184
184
|
]),
|
|
185
185
|
_: 1
|
|
186
186
|
}),
|
|
187
|
-
t(
|
|
187
|
+
t(I, {
|
|
188
188
|
span: 5,
|
|
189
189
|
class: "container-float"
|
|
190
190
|
}, {
|
|
191
191
|
default: n(() => [
|
|
192
|
-
t(
|
|
192
|
+
t(W, {
|
|
193
193
|
"table-label": o(_),
|
|
194
194
|
"par-index": o(L),
|
|
195
|
-
onFixedChange: o(
|
|
196
|
-
onIsShowChange: o(
|
|
195
|
+
onFixedChange: o(A),
|
|
196
|
+
onIsShowChange: o(M)
|
|
197
197
|
}, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
|
|
198
198
|
]),
|
|
199
199
|
_: 1
|
|
@@ -204,26 +204,26 @@ const Ie = { class: "app-container" }, Re = /* @__PURE__ */ ke("div", { class: "
|
|
|
204
204
|
t(ae, {
|
|
205
205
|
class: "table-top",
|
|
206
206
|
ref_key: "multipleTableRef",
|
|
207
|
-
ref:
|
|
207
|
+
ref: q,
|
|
208
208
|
"row-keys": "operationId",
|
|
209
|
-
"table-data": o(
|
|
209
|
+
"table-data": o(D),
|
|
210
210
|
"list-loading": o(P),
|
|
211
211
|
"table-label": o(_),
|
|
212
|
-
onTableSelected:
|
|
212
|
+
onTableSelected: Q
|
|
213
213
|
}, {
|
|
214
214
|
sort: n((a) => [
|
|
215
|
-
t(
|
|
215
|
+
t(R, {
|
|
216
216
|
size: "16",
|
|
217
|
-
onClick: (w) => o(
|
|
217
|
+
onClick: (w) => o(K)(a.data.row.operationId)
|
|
218
218
|
}, {
|
|
219
219
|
default: n(() => [
|
|
220
220
|
t(oe)
|
|
221
221
|
]),
|
|
222
222
|
_: 2
|
|
223
223
|
}, 1032, ["onClick"]),
|
|
224
|
-
t(
|
|
224
|
+
t(R, {
|
|
225
225
|
size: "16",
|
|
226
|
-
onClick: (w) => o(
|
|
226
|
+
onClick: (w) => o(z)(a.data.row.operationId)
|
|
227
227
|
}, {
|
|
228
228
|
default: n(() => [
|
|
229
229
|
t(te)
|
|
@@ -232,26 +232,26 @@ const Ie = { class: "app-container" }, Re = /* @__PURE__ */ ke("div", { class: "
|
|
|
232
232
|
}, 1032, ["onClick"])
|
|
233
233
|
]),
|
|
234
234
|
operation: n((a) => [
|
|
235
|
-
|
|
235
|
+
C((d(), $("span", {
|
|
236
236
|
class: "el-button-color",
|
|
237
|
-
onClick: (w) =>
|
|
237
|
+
onClick: (w) => Z(a.data.row)
|
|
238
238
|
}, [
|
|
239
|
-
|
|
240
|
-
], 8,
|
|
241
|
-
[
|
|
239
|
+
p(m(e.$t("common.edit")), 1)
|
|
240
|
+
], 8, Se)), [
|
|
241
|
+
[y, ["rbac:operation:update"]]
|
|
242
242
|
]),
|
|
243
|
-
|
|
243
|
+
C((d(), $("span", {
|
|
244
244
|
class: "el-button-color dropdown-left",
|
|
245
|
-
onClick: (w) => o(
|
|
245
|
+
onClick: (w) => o(B)(a.data.row.operationId)
|
|
246
246
|
}, [
|
|
247
|
-
|
|
248
|
-
], 8,
|
|
249
|
-
[
|
|
247
|
+
p(m(e.$t("common.delete")), 1)
|
|
248
|
+
], 8, Ve)), [
|
|
249
|
+
[y, ["rbac:operation:delete"]]
|
|
250
250
|
])
|
|
251
251
|
]),
|
|
252
252
|
_: 1
|
|
253
253
|
}, 8, ["table-data", "list-loading", "table-label"]),
|
|
254
|
-
o(f) > 0 ? (
|
|
254
|
+
o(f) > 0 ? (d(), v(ne, {
|
|
255
255
|
key: 0,
|
|
256
256
|
total: o(f),
|
|
257
257
|
"onUpdate:total": l[3] || (l[3] = (a) => he(f) ? f.value = a : null),
|
|
@@ -260,18 +260,18 @@ const Ie = { class: "app-container" }, Re = /* @__PURE__ */ ke("div", { class: "
|
|
|
260
260
|
limit: i.pageSize,
|
|
261
261
|
"onUpdate:limit": l[5] || (l[5] = (a) => i.pageSize = a),
|
|
262
262
|
onPagination: o(h)
|
|
263
|
-
}, null, 8, ["total", "page", "limit", "onPagination"])) :
|
|
264
|
-
s.visible ? (
|
|
263
|
+
}, null, 8, ["total", "page", "limit", "onPagination"])) : S("", !0),
|
|
264
|
+
s.visible ? (d(), v(Re, {
|
|
265
265
|
key: 1,
|
|
266
266
|
dialog: s,
|
|
267
267
|
"form-data": o(u),
|
|
268
|
-
onDialogEvent:
|
|
269
|
-
onRefresh:
|
|
270
|
-
}, null, 8, ["dialog", "form-data"])) :
|
|
268
|
+
onDialogEvent: G,
|
|
269
|
+
onRefresh: H
|
|
270
|
+
}, null, 8, ["dialog", "form-data"])) : S("", !0)
|
|
271
271
|
]);
|
|
272
272
|
};
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
275
|
export {
|
|
276
|
-
|
|
276
|
+
ze as default
|
|
277
277
|
};
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
import { a1 as x, X as L, ah as ee, ai as T, aj as oe, a0 as te, Z as m, ak as se, al as le, am as ae, a8 as ne, ad as re, an as ce, ao as ie, ap as de, aq as pe, s as ue, r as me, t as _e, a6 as ge } from "./index-CPqNZOs9.mjs";
|
|
2
|
+
import { E as he } from "./el-card-CjFpAXC4.mjs";
|
|
3
|
+
import { _ as fe, E as ve } from "./picture-DRU19T9b.mjs";
|
|
4
|
+
import "./el-form-item-l0sNRNKZ.mjs";
|
|
5
|
+
import { defineComponent as we, ref as c, watchEffect as ke, computed as ye, onMounted as Ce, resolveComponent as be, openBlock as v, createElementBlock as U, createElementVNode as a, createVNode as s, unref as t, isRef as Ve, withCtx as n, toDisplayString as $, createTextVNode as I, createBlock as A, Fragment as Ee, renderList as Se, createCommentVNode as xe, withKeys as B, withModifiers as $e, withDirectives as Ie, vShow as Re, pushScopeId as De, popScopeId as qe } from "vue";
|
|
6
|
+
import { useRoute as Le } from "vue-router";
|
|
7
|
+
import { _ as Te } from "./index.vue_vue_type_script_setup_true_lang-DWjQT4jn.mjs";
|
|
8
|
+
const F = (_) => (De("data-v-8adbbfc2"), _ = _(), qe(), _), Ue = { class: "login-container" }, Ae = { class: "absolute top-0 flex items-center justify-end px-5 h-20 w-full" }, Be = { class: "text-center relative" }, Fe = { class: "p-2" }, Ne = { class: "p-2" }, Xe = { class: "p-2" }, Ke = { class: "p-2" }, je = { class: "captcha" }, ze = { class: "image-slot" }, Oe = { class: "forgot-pwd" }, Me = { class: "absolute bottom-1 text-[10px] text-center" }, Pe = /* @__PURE__ */ F(() => /* @__PURE__ */ a("p", null, " Copyright © 2024 All Rights Reserved. Apache 2.0 协议. ", -1)), We = /* @__PURE__ */ F(() => /* @__PURE__ */ a("p", null, "备案号: XXXX .", -1)), Ze = [
|
|
9
|
+
Pe,
|
|
10
|
+
We
|
|
11
|
+
], He = 992, Qe = /* @__PURE__ */ we({
|
|
12
|
+
__name: "index",
|
|
13
|
+
setup(_) {
|
|
14
|
+
const w = x(), { title: N, version: X } = w, k = c(w.theme === "dark"), K = (e) => {
|
|
15
|
+
se(e), w.changeSetting({
|
|
16
|
+
key: "theme",
|
|
17
|
+
value: e ? "dark" : "light"
|
|
18
|
+
});
|
|
19
|
+
}, y = L(), { width: j } = ee();
|
|
20
|
+
ke(() => {
|
|
21
|
+
j.value < He ? y.toggleDevice("mobile") : y.toggleDevice("desktop");
|
|
22
|
+
});
|
|
23
|
+
const C = c(!1), R = c(!1), g = c(!1), D = c(), q = c(T), b = c([]), r = c({
|
|
24
|
+
scope: "",
|
|
25
|
+
username: "",
|
|
26
|
+
password: ""
|
|
27
|
+
}), { t: V } = oe(), z = ye(() => {
|
|
28
|
+
const e = y.language === "en" ? "Please enter " : "请输入";
|
|
29
|
+
return {
|
|
30
|
+
username: [
|
|
31
|
+
{
|
|
32
|
+
required: !0,
|
|
33
|
+
trigger: "blur",
|
|
34
|
+
message: `${e}${V("login.username")}`
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
password: [
|
|
38
|
+
{
|
|
39
|
+
required: !0,
|
|
40
|
+
trigger: "blur",
|
|
41
|
+
validator: (o, p, i) => {
|
|
42
|
+
p.length < 5 ? i(new Error("The password can not be less than 5 digits")) : i();
|
|
43
|
+
},
|
|
44
|
+
message: `${e}${V("login.password")}`
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
captchaCode: [
|
|
48
|
+
{
|
|
49
|
+
required: !0,
|
|
50
|
+
trigger: "blur",
|
|
51
|
+
message: `${e}${V("login.captchaCode")}`
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
};
|
|
55
|
+
});
|
|
56
|
+
function O(e) {
|
|
57
|
+
const { key: o } = e;
|
|
58
|
+
R.value = o && o.length === 1 && o >= "A" && o <= "Z";
|
|
59
|
+
}
|
|
60
|
+
function h() {
|
|
61
|
+
le().then(({ data: e }) => {
|
|
62
|
+
r.value.captchaKey = e.captchaId, D.value = e.base64Image;
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
function M() {
|
|
66
|
+
ae().then(({ data: e }) => {
|
|
67
|
+
console.log(e), b.value = e.roleList;
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
const P = Le(), W = te();
|
|
71
|
+
function E() {
|
|
72
|
+
q.value.validate((e) => {
|
|
73
|
+
e && (C.value = !0, W.login(r.value).then(() => {
|
|
74
|
+
const o = P.query;
|
|
75
|
+
console.log(o);
|
|
76
|
+
const p = o.redirect ?? "/";
|
|
77
|
+
console.log(p);
|
|
78
|
+
const i = Object.keys(o).reduce(
|
|
79
|
+
(u, d) => (console.log(u[d], o[d]), d !== "redirect" && (u[d] = o[d]), u),
|
|
80
|
+
{}
|
|
81
|
+
);
|
|
82
|
+
console.log(i), ne.push({ path: p, query: i }), h();
|
|
83
|
+
}).catch(() => {
|
|
84
|
+
h();
|
|
85
|
+
}).finally(() => {
|
|
86
|
+
C.value = !1;
|
|
87
|
+
}));
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
return Ce(() => {
|
|
91
|
+
h(), M();
|
|
92
|
+
const e = x().theme;
|
|
93
|
+
x().changeSetting({ key: "theme", value: e }), e == "dark" ? document.documentElement.classList.add("dark") : document.documentElement.classList.remove("dark");
|
|
94
|
+
}), (e, o) => {
|
|
95
|
+
const p = re, i = ce, u = ie, d = de, f = pe, S = ue, Z = me, H = fe, Q = ve, G = be("router-link"), J = _e, Y = he;
|
|
96
|
+
return v(), U("div", Ue, [
|
|
97
|
+
a("div", Ae, [
|
|
98
|
+
s(p, {
|
|
99
|
+
modelValue: t(k),
|
|
100
|
+
"onUpdate:modelValue": o[0] || (o[0] = (l) => Ve(k) ? k.value = l : null),
|
|
101
|
+
"inline-prompt": "",
|
|
102
|
+
"active-color": "var(--el-fill-color-dark)",
|
|
103
|
+
"inactive-color": "var(--el-color-primary)",
|
|
104
|
+
onChange: K
|
|
105
|
+
}, null, 8, ["modelValue"]),
|
|
106
|
+
s(Te, { class: "ml-2 cursor-pointer" })
|
|
107
|
+
]),
|
|
108
|
+
s(Y, { class: "z-1 !border-none w-100 !bg-transparent !rounded-4% <sm:w-83" }, {
|
|
109
|
+
default: n(() => [
|
|
110
|
+
a("div", Be, [
|
|
111
|
+
a("h2", null, $(t(N)), 1),
|
|
112
|
+
s(i, { class: "ml-2 absolute top-0 right-0" }, {
|
|
113
|
+
default: n(() => [
|
|
114
|
+
I($(t(X)), 1)
|
|
115
|
+
]),
|
|
116
|
+
_: 1
|
|
117
|
+
})
|
|
118
|
+
]),
|
|
119
|
+
s(t(T), {
|
|
120
|
+
ref_key: "loginFormRef",
|
|
121
|
+
ref: q,
|
|
122
|
+
model: t(r),
|
|
123
|
+
rules: t(z),
|
|
124
|
+
size: "large",
|
|
125
|
+
class: "login-form"
|
|
126
|
+
}, {
|
|
127
|
+
default: n(() => [
|
|
128
|
+
t(b).length > 0 ? (v(), A(f, {
|
|
129
|
+
key: 0,
|
|
130
|
+
prop: "scope"
|
|
131
|
+
}, {
|
|
132
|
+
default: n(() => [
|
|
133
|
+
a("div", Fe, [
|
|
134
|
+
s(m, { "icon-class": "user" })
|
|
135
|
+
]),
|
|
136
|
+
s(d, {
|
|
137
|
+
modelValue: t(r).scope,
|
|
138
|
+
"onUpdate:modelValue": o[1] || (o[1] = (l) => t(r).scope = l),
|
|
139
|
+
placeholder: "Select",
|
|
140
|
+
class: "flex-1"
|
|
141
|
+
}, {
|
|
142
|
+
default: n(() => [
|
|
143
|
+
(v(!0), U(Ee, null, Se(t(b), (l) => (v(), A(u, {
|
|
144
|
+
key: l.roleCode,
|
|
145
|
+
label: l.roleName,
|
|
146
|
+
value: l.roleCode
|
|
147
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
148
|
+
]),
|
|
149
|
+
_: 1
|
|
150
|
+
}, 8, ["modelValue"])
|
|
151
|
+
]),
|
|
152
|
+
_: 1
|
|
153
|
+
})) : xe("", !0),
|
|
154
|
+
s(f, { prop: "username" }, {
|
|
155
|
+
default: n(() => [
|
|
156
|
+
a("div", Ne, [
|
|
157
|
+
s(m, { "icon-class": "user" })
|
|
158
|
+
]),
|
|
159
|
+
s(S, {
|
|
160
|
+
ref: "username",
|
|
161
|
+
modelValue: t(r).username,
|
|
162
|
+
"onUpdate:modelValue": o[2] || (o[2] = (l) => t(r).username = l),
|
|
163
|
+
class: "flex-1",
|
|
164
|
+
placeholder: e.$t("login.username"),
|
|
165
|
+
name: "username"
|
|
166
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
167
|
+
]),
|
|
168
|
+
_: 1
|
|
169
|
+
}),
|
|
170
|
+
s(Z, {
|
|
171
|
+
disabled: t(R) === !1,
|
|
172
|
+
content: "Caps lock is On",
|
|
173
|
+
placement: "right"
|
|
174
|
+
}, {
|
|
175
|
+
default: n(() => [
|
|
176
|
+
s(f, { prop: "password" }, {
|
|
177
|
+
default: n(() => [
|
|
178
|
+
a("span", Xe, [
|
|
179
|
+
s(m, { "icon-class": "password" })
|
|
180
|
+
]),
|
|
181
|
+
s(S, {
|
|
182
|
+
modelValue: t(r).password,
|
|
183
|
+
"onUpdate:modelValue": o[3] || (o[3] = (l) => t(r).password = l),
|
|
184
|
+
class: "flex-1",
|
|
185
|
+
placeholder: e.$t("login.password"),
|
|
186
|
+
type: t(g) === !1 ? "password" : "input",
|
|
187
|
+
name: "password",
|
|
188
|
+
onKeyup: [
|
|
189
|
+
O,
|
|
190
|
+
B(E, ["enter"])
|
|
191
|
+
]
|
|
192
|
+
}, null, 8, ["modelValue", "placeholder", "type"]),
|
|
193
|
+
a("span", {
|
|
194
|
+
class: "mr-2",
|
|
195
|
+
onClick: o[4] || (o[4] = (l) => g.value = !t(g))
|
|
196
|
+
}, [
|
|
197
|
+
s(m, {
|
|
198
|
+
"icon-class": t(g) === !1 ? "eye" : "eye-open",
|
|
199
|
+
class: "cursor-pointer"
|
|
200
|
+
}, null, 8, ["icon-class"])
|
|
201
|
+
])
|
|
202
|
+
]),
|
|
203
|
+
_: 1
|
|
204
|
+
})
|
|
205
|
+
]),
|
|
206
|
+
_: 1
|
|
207
|
+
}, 8, ["disabled"]),
|
|
208
|
+
s(f, { prop: "captchaCode" }, {
|
|
209
|
+
default: n(() => [
|
|
210
|
+
a("span", Ke, [
|
|
211
|
+
s(m, { "icon-class": "captcha" })
|
|
212
|
+
]),
|
|
213
|
+
s(S, {
|
|
214
|
+
modelValue: t(r).captchaCode,
|
|
215
|
+
"onUpdate:modelValue": o[5] || (o[5] = (l) => t(r).captchaCode = l),
|
|
216
|
+
"auto-complete": "off",
|
|
217
|
+
placeholder: e.$t("login.captchaCode"),
|
|
218
|
+
class: "w-[60%]",
|
|
219
|
+
onKeyup: B(E, ["enter"])
|
|
220
|
+
}, null, 8, ["modelValue", "placeholder"]),
|
|
221
|
+
a("div", je, [
|
|
222
|
+
s(Q, {
|
|
223
|
+
src: t(D),
|
|
224
|
+
onClick: h,
|
|
225
|
+
class: "w-[130px] h-[50px] cursor-pointer"
|
|
226
|
+
}, {
|
|
227
|
+
error: n(() => [
|
|
228
|
+
a("div", ze, [
|
|
229
|
+
s(H)
|
|
230
|
+
])
|
|
231
|
+
]),
|
|
232
|
+
_: 1
|
|
233
|
+
}, 8, ["src"])
|
|
234
|
+
])
|
|
235
|
+
]),
|
|
236
|
+
_: 1
|
|
237
|
+
}),
|
|
238
|
+
a("div", Oe, [
|
|
239
|
+
s(G, { to: "/secondLogin" }, {
|
|
240
|
+
default: n(() => [
|
|
241
|
+
I("手机号/邮箱登录")
|
|
242
|
+
]),
|
|
243
|
+
_: 1
|
|
244
|
+
})
|
|
245
|
+
]),
|
|
246
|
+
s(J, {
|
|
247
|
+
loading: t(C),
|
|
248
|
+
type: "primary",
|
|
249
|
+
class: "w-full",
|
|
250
|
+
onClick: $e(E, ["prevent"])
|
|
251
|
+
}, {
|
|
252
|
+
default: n(() => [
|
|
253
|
+
I($(e.$t("login.login")), 1)
|
|
254
|
+
]),
|
|
255
|
+
_: 1
|
|
256
|
+
}, 8, ["loading"])
|
|
257
|
+
]),
|
|
258
|
+
_: 1
|
|
259
|
+
}, 8, ["model", "rules"])
|
|
260
|
+
]),
|
|
261
|
+
_: 1
|
|
262
|
+
}),
|
|
263
|
+
Ie(a("div", Me, Ze, 512), [
|
|
264
|
+
[Re, t(L)().device == "desktop"]
|
|
265
|
+
])
|
|
266
|
+
]);
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
}), lo = /* @__PURE__ */ ge(Qe, [["__scopeId", "data-v-8adbbfc2"]]);
|
|
270
|
+
export {
|
|
271
|
+
lo as default
|
|
272
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { resolveComponent as o, openBlock as r, createBlock as t } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a6 as n } from "./index-CPqNZOs9.mjs";
|
|
3
3
|
const c = {};
|
|
4
|
-
function _(s,
|
|
4
|
+
function _(s, a) {
|
|
5
5
|
const e = o("router-view");
|
|
6
6
|
return r(), t(e);
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const m = /* @__PURE__ */ n(c, [["render", _]]);
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
m as default
|
|
11
11
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as s, openBlock as n, createBlock as r, Transition as l, mergeProps as p, unref as g, toHandlers as m, withCtx as f, renderSlot as y } from "vue";
|
|
2
|
-
import { u as c, _ as h } from "./index-
|
|
2
|
+
import { u as c, _ as h } from "./index-CPqNZOs9.mjs";
|
|
3
3
|
const _ = s({
|
|
4
4
|
name: "ElCollapseTransition"
|
|
5
5
|
}), v = /* @__PURE__ */ s({
|