jmash-core 0.0.12 → 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-Do8xnEsN.mjs → 401-LzXAVxnC.mjs} +2 -2
- package/dist/{404-D1L3bBKj.mjs → 404-BaS1xZmV.mjs} +1 -1
- package/dist/{BarChart-CfcVJz3-.mjs → BarChart-ClnlJEhi.mjs} +2 -2
- package/dist/{FileSaver.min-C3PXR_ER.mjs → FileSaver.min-C7ddeQoo.mjs} +1 -1
- package/dist/{PieChart-6YLME4bj.mjs → PieChart-BHM8amLk.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-CzuULwXY.mjs → PieChart.vue_vue_type_script_setup_true_lang-BaJNQr7Z.mjs} +2 -2
- package/dist/{RadarChart-DkmgXM6y.mjs → RadarChart-ChaevZtZ.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-NTNi_I9_.mjs → RadarChart.vue_vue_type_script_setup_true_lang-DF4axEB-.mjs} +2 -2
- package/dist/{edit-YJP7pN6W.mjs → edit-5MpAgj0J.mjs} +1 -1
- package/dist/{edit-DjN392jC.mjs → edit-Bz0L-kJZ.mjs} +1 -1
- package/dist/{edit-BUeKYrEZ.mjs → edit-ClmR7gql.mjs} +1 -1
- package/dist/{edit-CkpeOqrr.mjs → edit-D2udSsbu.mjs} +1 -1
- package/dist/edit-DXSp7oE2.mjs +4 -0
- package/dist/{edit-DGe7AWsr.mjs → edit-FahW6Usp.mjs} +34 -34
- package/dist/{edit-CJuMrQ46.mjs → edit-oUUjQ6s5.mjs} +17 -17
- package/dist/edit-zLDTi0zt.mjs +4 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-djIfNPqQ.mjs → edit.vue_vue_type_script_setup_true_lang-BFSwE0WY.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DI-oeRPA.mjs → edit.vue_vue_type_script_setup_true_lang-BRk4mulZ.mjs} +4 -4
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BWtQvmLi.mjs → edit.vue_vue_type_script_setup_true_lang-BpmgWV6c.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-RBjkUr1y.mjs → edit.vue_vue_type_script_setup_true_lang-C5DH8_ra.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DEydJiSf.mjs → edit.vue_vue_type_script_setup_true_lang-F-7AWta2.mjs} +48 -48
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BtM452jP.mjs → edit.vue_vue_type_script_setup_true_lang-yaBZyiFi.mjs} +37 -37
- package/dist/{el-card-C861yBJo.mjs → el-card-CjFpAXC4.mjs} +1 -1
- package/dist/{el-col-BBiMr5pm.mjs → el-col-D9kCVYAq.mjs} +1 -1
- package/dist/{el-date-picker-N5aiMKSy.mjs → el-date-picker-_cuHa2hi.mjs} +143 -143
- package/dist/{el-divider-QMj1kMtJ.mjs → el-divider-8Ov9f55F.mjs} +1 -1
- package/dist/{el-dropdown-item-4ws609Gw.mjs → el-dropdown-item-CSpUSfWV.mjs} +22 -22
- package/dist/{el-tree-select-DdZxfrNV.mjs → el-tree-select-BUK1QB3u.mjs} +25 -25
- package/dist/{index-DtR1eBZg.mjs → index-BYYYSOkP.mjs} +1 -1
- package/dist/{index-H7-W4HC2.mjs → index-BeFhB4ZJ.mjs} +1 -1
- package/dist/{index-DOPTH9F2.mjs → index-BkPB5eHC.mjs} +62 -62
- package/dist/{index-AiS44_Xc.mjs → index-C34zVC-7.mjs} +26 -26
- package/dist/{index-BzT4__Is.mjs → index-C68JBxAE.mjs} +20 -20
- package/dist/{index-CkXpK-zH.mjs → index-CPqNZOs9.mjs} +5195 -5186
- package/dist/{index-Dn-psVpr.mjs → index-CXJ-WW3h.mjs} +6 -6
- package/dist/{index-DFVq4R0u.mjs → index-CYAfQz-w.mjs} +1 -1
- package/dist/{index-BZBpY0uA.mjs → index-Cuk7sDz9.mjs} +32 -32
- package/dist/{index-NVKBuLg_.mjs → index-D8zb68MK.mjs} +34 -34
- package/dist/{index-9TwUBNc5.mjs → index-D9itg8P7.mjs} +1 -1
- package/dist/{index-hMoSvG6q.mjs → index-DHQQEEWW.mjs} +25 -25
- package/dist/{index-Be59bIqU.mjs → index-DW1L3U1A.mjs} +21 -21
- package/dist/{index-CrZPfuW6.mjs → index-Dav45Y13.mjs} +42 -42
- package/dist/{index-C__OmU1O.mjs → index-DhjUimfd.mjs} +4 -4
- package/dist/{index-Cmlc_Bb4.mjs → index-GPbjfqQg.mjs} +1 -1
- package/dist/{index-BX1Jx_xA.mjs → index-W4pvCYhJ.mjs} +1 -1
- package/dist/{index-DD1K2w1b.mjs → index-gaeN4E1_.mjs} +43 -43
- package/dist/{index-DnSJxj9r.mjs → index-hZzxBNan.mjs} +1105 -1096
- package/dist/{index-B7u0TetV.mjs → index-l9Oeu9G-.mjs} +14 -14
- package/dist/index.mjs +20 -20
- package/dist/{index.vue_vue_type_script_setup_true_lang-up5cpReQ.mjs → index.vue_vue_type_script_setup_true_lang-DWjQT4jn.mjs} +2 -2
- package/dist/{picture-o8CKMR0j.mjs → picture-DRU19T9b.mjs} +2 -2
- package/dist/{position-BUALjtY9.mjs → position-Ba7wRAlR.mjs} +1 -1
- package/dist/{profile-BLq1IvXt.mjs → profile-3Wsx53aV.mjs} +6 -6
- 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-JT7Xyhpz.mjs → types-D3sIBzF1.mjs} +2 -2
- package/dist/{updatePwd-DnT8nEtM.mjs → updatePwd-2Dc9-bnF.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-Dks8j8my.mjs → updatePwd.vue_vue_type_script_setup_true_lang-3mhiAxD4.mjs} +3 -3
- 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/edit-lwVBGzDE.mjs +0 -4
- package/dist/edit-xlxZjC4R.mjs +0 -4
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { aj as
|
|
2
|
-
import { E as de, a as pe } from "./el-col-
|
|
1
|
+
import { aj as W, a0 as ee, aX as te, aY as oe, s as ae, aq as le, t as ne, ai as re, aZ as ie, aV as se, bd as me } from "./index-CPqNZOs9.mjs";
|
|
2
|
+
import { E as de, a as pe } from "./el-col-D9kCVYAq.mjs";
|
|
3
3
|
import "./el-form-item-l0sNRNKZ.mjs";
|
|
4
4
|
import { defineComponent as ue, reactive as u, resolveDirective as ce, openBlock as s, createElementBlock as v, createVNode as a, withCtx as n, withKeys as R, unref as t, createTextVNode as d, toDisplayString as p, withDirectives as C, createBlock as k, isRef as fe, createCommentVNode as S, createElementVNode as _e } from "vue";
|
|
5
|
-
import { _ as be } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { g as ge, d as ye, b as Ce } from "./index-
|
|
5
|
+
import { _ as be } from "./edit.vue_vue_type_script_setup_true_lang-C5DH8_ra.mjs";
|
|
6
|
+
import { g as ge, d as ye, b as Ce } from "./index-CYAfQz-w.mjs";
|
|
7
7
|
const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "clear" }, null, -1), he = ["onClick"], ve = ["onClick"], De = /* @__PURE__ */ ue({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup($e) {
|
|
10
|
-
const { t: m } =
|
|
10
|
+
const { t: m } = W(), r = u({
|
|
11
11
|
tenant: ee().user.tenant,
|
|
12
12
|
curPage: 1,
|
|
13
13
|
pageSize: 10
|
|
@@ -52,9 +52,9 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
52
52
|
getList: P,
|
|
53
53
|
handleQuery: b,
|
|
54
54
|
deleteRecord: F,
|
|
55
|
-
deleteRecords:
|
|
55
|
+
deleteRecords: q
|
|
56
56
|
} = te(m, V, r), {
|
|
57
|
-
parIndex:
|
|
57
|
+
parIndex: U,
|
|
58
58
|
tableArray: K,
|
|
59
59
|
getLocalStorageContent: L,
|
|
60
60
|
fixedChange: B,
|
|
@@ -74,16 +74,16 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
74
74
|
function Q(e) {
|
|
75
75
|
i.title = m("common.edit"), i.visible = !0, c = { ...e };
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function X(e) {
|
|
78
78
|
i.visible = e;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Y(e) {
|
|
81
81
|
e && P();
|
|
82
82
|
}
|
|
83
83
|
return L(), f = K.value, P(), (e, l) => {
|
|
84
|
-
const w = ae, h = le, g = ne,
|
|
84
|
+
const w = ae, h = le, g = ne, Z = re, E = de, G = ie, H = pe, J = se, M = me, y = ce("hasPerm");
|
|
85
85
|
return s(), v("div", ke, [
|
|
86
|
-
a(
|
|
86
|
+
a(Z, {
|
|
87
87
|
ref_key: "queryFormRef",
|
|
88
88
|
ref: $,
|
|
89
89
|
model: r,
|
|
@@ -142,7 +142,7 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
142
142
|
_: 1
|
|
143
143
|
}, 8, ["model"]),
|
|
144
144
|
Pe,
|
|
145
|
-
a(
|
|
145
|
+
a(H, { justify: "space-between" }, {
|
|
146
146
|
default: n(() => [
|
|
147
147
|
a(E, { span: 19 }, {
|
|
148
148
|
default: n(() => [
|
|
@@ -159,7 +159,7 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
159
159
|
]),
|
|
160
160
|
C((s(), k(g, {
|
|
161
161
|
type: "primary",
|
|
162
|
-
onClick: l[2] || (l[2] = (o) => t(
|
|
162
|
+
onClick: l[2] || (l[2] = (o) => t(q)("permId"))
|
|
163
163
|
}, {
|
|
164
164
|
default: n(() => [
|
|
165
165
|
d(p(e.$t("common.batchDelete")), 1)
|
|
@@ -176,9 +176,9 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
176
176
|
class: "container-float"
|
|
177
177
|
}, {
|
|
178
178
|
default: n(() => [
|
|
179
|
-
a(
|
|
179
|
+
a(G, {
|
|
180
180
|
"table-label": t(f),
|
|
181
|
-
"par-index": t(
|
|
181
|
+
"par-index": t(U),
|
|
182
182
|
onFixedChange: t(B),
|
|
183
183
|
onIsShowChange: t(z)
|
|
184
184
|
}, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
|
|
@@ -188,7 +188,7 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
188
188
|
]),
|
|
189
189
|
_: 1
|
|
190
190
|
}),
|
|
191
|
-
a(
|
|
191
|
+
a(J, {
|
|
192
192
|
class: "table-top",
|
|
193
193
|
ref_key: "multipleTableRef",
|
|
194
194
|
ref: T,
|
|
@@ -201,7 +201,7 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
201
201
|
operation: n((o) => [
|
|
202
202
|
C((s(), v("span", {
|
|
203
203
|
class: "el-button-color",
|
|
204
|
-
onClick: (
|
|
204
|
+
onClick: (O) => Q(o.data.row)
|
|
205
205
|
}, [
|
|
206
206
|
d(p(e.$t("common.edit")), 1)
|
|
207
207
|
], 8, he)), [
|
|
@@ -209,7 +209,7 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
209
209
|
]),
|
|
210
210
|
C((s(), v("span", {
|
|
211
211
|
class: "el-button-color dropdown-left",
|
|
212
|
-
onClick: (
|
|
212
|
+
onClick: (O) => t(F)(o.data.row.permId)
|
|
213
213
|
}, [
|
|
214
214
|
d(p(e.$t("common.delete")), 1)
|
|
215
215
|
], 8, ve)), [
|
|
@@ -218,7 +218,7 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
218
218
|
]),
|
|
219
219
|
_: 1
|
|
220
220
|
}, 8, ["table-data", "table-label", "list-loading"]),
|
|
221
|
-
t(_) > 0 ? (s(), k(
|
|
221
|
+
t(_) > 0 ? (s(), k(M, {
|
|
222
222
|
key: 0,
|
|
223
223
|
total: t(_),
|
|
224
224
|
"onUpdate:total": l[3] || (l[3] = (o) => fe(_) ? _.value = o : null),
|
|
@@ -232,8 +232,8 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
232
232
|
key: 1,
|
|
233
233
|
dialog: i,
|
|
234
234
|
"form-data": t(c),
|
|
235
|
-
onDialogEvent:
|
|
236
|
-
onRefresh:
|
|
235
|
+
onDialogEvent: X,
|
|
236
|
+
onRefresh: Y
|
|
237
237
|
}, null, 8, ["dialog", "form-data"])) : S("", !0)
|
|
238
238
|
]);
|
|
239
239
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { aj as le, a0 as ie,
|
|
2
|
-
import { E as ge, a as ye } from "./el-col-
|
|
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 Ce, reactive as c, resolveComponent 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
8
|
setup(De) {
|
|
9
9
|
const { t: r } = le(), i = c({
|
|
@@ -49,18 +49,18 @@ const Re = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
49
49
|
del: $e,
|
|
50
50
|
dels: Ee,
|
|
51
51
|
up: Oe,
|
|
52
|
-
down:
|
|
52
|
+
down: Ie
|
|
53
53
|
}), {
|
|
54
54
|
tableData: D,
|
|
55
55
|
total: f,
|
|
56
56
|
listLoading: P,
|
|
57
57
|
selectionRows: F,
|
|
58
|
-
multipleTableRef:
|
|
58
|
+
multipleTableRef: q,
|
|
59
59
|
queryFormRef: E,
|
|
60
60
|
getList: h,
|
|
61
61
|
handleQuery: b,
|
|
62
|
-
deleteRecord:
|
|
63
|
-
deleteRecords:
|
|
62
|
+
deleteRecord: B,
|
|
63
|
+
deleteRecords: U,
|
|
64
64
|
handleMoveTop: z,
|
|
65
65
|
// 上移
|
|
66
66
|
handleMoveDown: K
|
|
@@ -75,27 +75,27 @@ const Re = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
75
75
|
function Q(e) {
|
|
76
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
95
|
return x(), _ = j.value, h(), (e, l) => {
|
|
96
|
-
const O =
|
|
97
|
-
return
|
|
98
|
-
t(
|
|
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,
|
|
@@ -138,13 +138,13 @@ const Re = { class: "app-container" }, Ne = /* @__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
|
})
|
|
@@ -157,25 +157,25 @@ const Re = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
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
|
-
C((
|
|
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
|
-
C((
|
|
173
|
+
C((d(), v(g, {
|
|
174
174
|
type: "primary",
|
|
175
|
-
onClick: l[2] || (l[2] = (a) => o(
|
|
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
|
})), [
|
|
@@ -184,12 +184,12 @@ const Re = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
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
195
|
onFixedChange: o(A),
|
|
@@ -204,7 +204,7 @@ const Re = { class: "app-container" }, Ne = /* @__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
209
|
"table-data": o(D),
|
|
210
210
|
"list-loading": o(P),
|
|
@@ -212,7 +212,7 @@ const Re = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
212
212
|
onTableSelected: Q
|
|
213
213
|
}, {
|
|
214
214
|
sort: n((a) => [
|
|
215
|
-
t(
|
|
215
|
+
t(R, {
|
|
216
216
|
size: "16",
|
|
217
217
|
onClick: (w) => o(K)(a.data.row.operationId)
|
|
218
218
|
}, {
|
|
@@ -221,7 +221,7 @@ const Re = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
221
221
|
]),
|
|
222
222
|
_: 2
|
|
223
223
|
}, 1032, ["onClick"]),
|
|
224
|
-
t(
|
|
224
|
+
t(R, {
|
|
225
225
|
size: "16",
|
|
226
226
|
onClick: (w) => o(z)(a.data.row.operationId)
|
|
227
227
|
}, {
|
|
@@ -232,26 +232,26 @@ const Re = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
232
232
|
}, 1032, ["onClick"])
|
|
233
233
|
]),
|
|
234
234
|
operation: n((a) => [
|
|
235
|
-
C((
|
|
235
|
+
C((d(), $("span", {
|
|
236
236
|
class: "el-button-color",
|
|
237
|
-
onClick: (w) =>
|
|
237
|
+
onClick: (w) => Z(a.data.row)
|
|
238
238
|
}, [
|
|
239
|
-
|
|
239
|
+
p(m(e.$t("common.edit")), 1)
|
|
240
240
|
], 8, Se)), [
|
|
241
241
|
[y, ["rbac:operation:update"]]
|
|
242
242
|
]),
|
|
243
|
-
C((
|
|
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
|
-
|
|
247
|
+
p(m(e.$t("common.delete")), 1)
|
|
248
248
|
], 8, Ve)), [
|
|
249
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),
|
|
@@ -261,12 +261,12 @@ const Re = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
261
261
|
"onUpdate:limit": l[5] || (l[5] = (a) => i.pageSize = a),
|
|
262
262
|
onPagination: o(h)
|
|
263
263
|
}, null, 8, ["total", "page", "limit", "onPagination"])) : S("", !0),
|
|
264
|
-
s.visible ? (
|
|
264
|
+
s.visible ? (d(), v(Re, {
|
|
265
265
|
key: 1,
|
|
266
266
|
dialog: s,
|
|
267
267
|
"form-data": o(u),
|
|
268
|
-
onDialogEvent:
|
|
269
|
-
onRefresh:
|
|
268
|
+
onDialogEvent: G,
|
|
269
|
+
onRefresh: H
|
|
270
270
|
}, null, 8, ["dialog", "form-data"])) : S("", !0)
|
|
271
271
|
]);
|
|
272
272
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
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-
|
|
2
|
-
import { E as he } from "./el-card-
|
|
3
|
-
import { _ as fe, E as ve } from "./picture-
|
|
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
4
|
import "./el-form-item-l0sNRNKZ.mjs";
|
|
5
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
6
|
import { useRoute as Le } from "vue-router";
|
|
7
|
-
import { _ as Te } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as Te } from "./index.vue_vue_type_script_setup_true_lang-DWjQT4jn.mjs";
|
|
8
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
9
|
Pe,
|
|
10
10
|
We
|
|
@@ -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({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { aj as ke, a0 as $e,
|
|
2
|
-
import { E as
|
|
3
|
-
import { E as
|
|
1
|
+
import { aj as ke, a0 as $e, be as Ie, bf as Ee, bg as Te, bh as Me, bi as Re, aX as De, aY as Ne, bj as Ve, bk as qe, bl as Fe, Y as U, bm as Se, bn as Be, bo as Le, ao as Ue, ap as je, aq as Ae, s as Pe, t as xe, ai as He, aZ as Ke, Z as ze, an as Qe, E as Ye, aV as Ze, a_ as Oe } from "./index-CPqNZOs9.mjs";
|
|
2
|
+
import { E as Xe, a as Ge, b as Je } from "./el-dropdown-item-CSpUSfWV.mjs";
|
|
3
|
+
import { E as We, a as eo } from "./el-col-D9kCVYAq.mjs";
|
|
4
4
|
import "./el-form-item-l0sNRNKZ.mjs";
|
|
5
|
-
import { defineComponent as oo, reactive as g, ref as M, resolveComponent as R, resolveDirective as to, openBlock as a, createElementBlock as h, createVNode as t, withCtx as o, Fragment as lo, renderList as no, createBlock as
|
|
6
|
-
import { m as so } from "./index-
|
|
7
|
-
import { _ as ro } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { F as A } from "./FileSaver.min-
|
|
9
|
-
const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "clear" }, null, -1),
|
|
5
|
+
import { defineComponent as oo, reactive as g, ref as M, resolveComponent as R, resolveDirective as to, openBlock as a, createElementBlock as h, createVNode as t, withCtx as o, Fragment as lo, renderList as no, createBlock as m, withKeys as ao, unref as s, createTextVNode as u, toDisplayString as r, withDirectives as p, createElementVNode as E, createCommentVNode as j } from "vue";
|
|
6
|
+
import { m as so } from "./index-BYYYSOkP.mjs";
|
|
7
|
+
import { _ as ro } from "./edit.vue_vue_type_script_setup_true_lang-F-7AWta2.mjs";
|
|
8
|
+
import { F as A } from "./FileSaver.min-C7ddeQoo.mjs";
|
|
9
|
+
const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "clear" }, null, -1), mo = { style: { "padding-left": "5px" } }, co = ["onClick"], po = ["onClick"], fo = { class: "el-dropdown-link" }, $o = /* @__PURE__ */ oo({
|
|
10
10
|
__name: "index",
|
|
11
11
|
setup(_o) {
|
|
12
12
|
const { t: i } = ke(), d = g({
|
|
@@ -93,16 +93,16 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
93
93
|
queryFormRef: V,
|
|
94
94
|
handleQuery: b,
|
|
95
95
|
deleteRecord: Q,
|
|
96
|
-
deleteRecords:
|
|
97
|
-
handleMoveTop:
|
|
96
|
+
deleteRecords: Y,
|
|
97
|
+
handleMoveTop: Z,
|
|
98
98
|
// 上移
|
|
99
|
-
handleMoveDown:
|
|
99
|
+
handleMoveDown: O
|
|
100
100
|
// 下移
|
|
101
101
|
} = De(i, P, d), {
|
|
102
|
-
parIndex:
|
|
103
|
-
tableArray:
|
|
104
|
-
getLocalStorageContent:
|
|
105
|
-
fixedChange:
|
|
102
|
+
parIndex: X,
|
|
103
|
+
tableArray: G,
|
|
104
|
+
getLocalStorageContent: J,
|
|
105
|
+
fixedChange: W,
|
|
106
106
|
isShowChange: ee
|
|
107
107
|
} = Ne(k, "/system/menu");
|
|
108
108
|
function oe() {
|
|
@@ -177,10 +177,10 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
177
177
|
A.saveAs($, i("route.sysMenu") + ".xlsx");
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
|
-
return
|
|
181
|
-
const w = Ue, $ = je, I = Ae,
|
|
180
|
+
return J(), k = G.value, oe(), b(), (e, n) => {
|
|
181
|
+
const w = Ue, $ = je, I = Ae, me = Pe, y = xe, ce = He, S = We, pe = Ke, fe = eo, _e = ze, B = Qe, be = R("Bottom"), T = Ye, ye = R("Top"), he = R("arrow-down"), L = Xe, ve = Ge, we = Je, Ce = Ze, ge = Oe, c = to("hasPerm");
|
|
182
182
|
return a(), h("div", uo, [
|
|
183
|
-
t(
|
|
183
|
+
t(ce, {
|
|
184
184
|
ref_key: "queryFormRef",
|
|
185
185
|
ref: V,
|
|
186
186
|
model: d,
|
|
@@ -198,7 +198,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
198
198
|
placeholder: e.$t("sysMenu.moduleRequired")
|
|
199
199
|
}, {
|
|
200
200
|
default: o(() => [
|
|
201
|
-
(a(!0), h(lo, null, no(D.value, (l) => (a(),
|
|
201
|
+
(a(!0), h(lo, null, no(D.value, (l) => (a(), m(w, {
|
|
202
202
|
key: l.moduleId,
|
|
203
203
|
label: l.moduleName,
|
|
204
204
|
value: l.moduleId
|
|
@@ -214,7 +214,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
214
214
|
prop: "likeResourceName"
|
|
215
215
|
}, {
|
|
216
216
|
default: o(() => [
|
|
217
|
-
t(
|
|
217
|
+
t(me, {
|
|
218
218
|
modelValue: d.likeResourceName,
|
|
219
219
|
"onUpdate:modelValue": n[1] || (n[1] = (l) => d.likeResourceName = l),
|
|
220
220
|
placeholder: e.$t("sysMenu.nameRequired"),
|
|
@@ -277,7 +277,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
277
277
|
default: o(() => [
|
|
278
278
|
t(S, { span: 19 }, {
|
|
279
279
|
default: o(() => [
|
|
280
|
-
p((a(),
|
|
280
|
+
p((a(), m(y, {
|
|
281
281
|
type: "primary",
|
|
282
282
|
onClick: q
|
|
283
283
|
}, {
|
|
@@ -286,18 +286,18 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
286
286
|
]),
|
|
287
287
|
_: 1
|
|
288
288
|
})), [
|
|
289
|
-
[
|
|
289
|
+
[c, ["rbac:resource:add"]]
|
|
290
290
|
]),
|
|
291
|
-
p((a(),
|
|
291
|
+
p((a(), m(y, {
|
|
292
292
|
type: "primary",
|
|
293
|
-
onClick: n[3] || (n[3] = (l) => s(
|
|
293
|
+
onClick: n[3] || (n[3] = (l) => s(Y)("resourceId"))
|
|
294
294
|
}, {
|
|
295
295
|
default: o(() => [
|
|
296
296
|
u(r(e.$t("common.batchDelete")), 1)
|
|
297
297
|
]),
|
|
298
298
|
_: 1
|
|
299
299
|
})), [
|
|
300
|
-
[
|
|
300
|
+
[c, ["rbac:resource:delete"]]
|
|
301
301
|
])
|
|
302
302
|
]),
|
|
303
303
|
_: 1
|
|
@@ -307,7 +307,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
307
307
|
class: "container-float"
|
|
308
308
|
}, {
|
|
309
309
|
default: o(() => [
|
|
310
|
-
p((a(),
|
|
310
|
+
p((a(), m(y, {
|
|
311
311
|
class: "dropdown-left",
|
|
312
312
|
plain: "",
|
|
313
313
|
type: "primary",
|
|
@@ -318,9 +318,9 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
318
318
|
]),
|
|
319
319
|
_: 1
|
|
320
320
|
})), [
|
|
321
|
-
[
|
|
321
|
+
[c, ["rbac:resource:import"]]
|
|
322
322
|
]),
|
|
323
|
-
p((a(),
|
|
323
|
+
p((a(), m(y, {
|
|
324
324
|
class: "dropdown-left",
|
|
325
325
|
plain: "",
|
|
326
326
|
type: "primary",
|
|
@@ -331,12 +331,12 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
331
331
|
]),
|
|
332
332
|
_: 1
|
|
333
333
|
})), [
|
|
334
|
-
[
|
|
334
|
+
[c, ["rbac:resource:export"]]
|
|
335
335
|
]),
|
|
336
336
|
t(pe, {
|
|
337
337
|
"table-label": s(k),
|
|
338
|
-
"par-index": s(
|
|
339
|
-
onFixedChange: s(
|
|
338
|
+
"par-index": s(X),
|
|
339
|
+
onFixedChange: s(W),
|
|
340
340
|
onIsShowChange: s(ee)
|
|
341
341
|
}, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
|
|
342
342
|
]),
|
|
@@ -359,13 +359,13 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
359
359
|
t(_e, {
|
|
360
360
|
"icon-class": l.data.row.icon
|
|
361
361
|
}, null, 8, ["icon-class"]),
|
|
362
|
-
E("span",
|
|
362
|
+
E("span", mo, r(l.data.row.resourceName), 1)
|
|
363
363
|
]),
|
|
364
364
|
menuType: o((l) => [
|
|
365
365
|
E("span", null, r(s(Ve)(N.value, l.data.row.resourceType)), 1)
|
|
366
366
|
]),
|
|
367
367
|
status: o((l) => [
|
|
368
|
-
l.data.row.hidden === !1 ? (a(),
|
|
368
|
+
l.data.row.hidden === !1 ? (a(), m(B, {
|
|
369
369
|
key: 0,
|
|
370
370
|
type: "success"
|
|
371
371
|
}, {
|
|
@@ -373,7 +373,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
373
373
|
u(r(e.$t("common.show")), 1)
|
|
374
374
|
]),
|
|
375
375
|
_: 1
|
|
376
|
-
})) : (a(),
|
|
376
|
+
})) : (a(), m(B, {
|
|
377
377
|
key: 1,
|
|
378
378
|
type: "danger"
|
|
379
379
|
}, {
|
|
@@ -386,7 +386,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
386
386
|
sort: o((l) => [
|
|
387
387
|
t(T, {
|
|
388
388
|
size: "16",
|
|
389
|
-
onClick: (C) => s(
|
|
389
|
+
onClick: (C) => s(O)(l.data.row.resourceId)
|
|
390
390
|
}, {
|
|
391
391
|
default: o(() => [
|
|
392
392
|
t(be)
|
|
@@ -395,7 +395,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
395
395
|
}, 1032, ["onClick"]),
|
|
396
396
|
t(T, {
|
|
397
397
|
size: "16",
|
|
398
|
-
onClick: (C) => s(
|
|
398
|
+
onClick: (C) => s(Z)(l.data.row.resourceId)
|
|
399
399
|
}, {
|
|
400
400
|
default: o(() => [
|
|
401
401
|
t(ye)
|
|
@@ -409,8 +409,8 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
409
409
|
onClick: (C) => de(l.data.row)
|
|
410
410
|
}, [
|
|
411
411
|
u(r(e.$t("common.edit")), 1)
|
|
412
|
-
], 8,
|
|
413
|
-
[
|
|
412
|
+
], 8, co)), [
|
|
413
|
+
[c, ["rbac:resource:update"]]
|
|
414
414
|
]),
|
|
415
415
|
p((a(), h("span", {
|
|
416
416
|
class: "el-button-color dropdown-left",
|
|
@@ -418,7 +418,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
418
418
|
}, [
|
|
419
419
|
u(r(e.$t("common.delete")), 1)
|
|
420
420
|
], 8, po)), [
|
|
421
|
-
[
|
|
421
|
+
[c, ["rbac:resource:delete"]]
|
|
422
422
|
]),
|
|
423
423
|
t(we, { class: "dropdown-left" }, {
|
|
424
424
|
dropdown: o(() => [
|
|
@@ -434,7 +434,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
434
434
|
_: 2
|
|
435
435
|
}, 1032, ["onClick"])
|
|
436
436
|
])), [
|
|
437
|
-
[
|
|
437
|
+
[c, ["rbac:resource:add"]]
|
|
438
438
|
]),
|
|
439
439
|
p((a(), h("div", null, [
|
|
440
440
|
t(L, {
|
|
@@ -446,7 +446,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
446
446
|
_: 2
|
|
447
447
|
}, 1032, ["onClick"])
|
|
448
448
|
])), [
|
|
449
|
-
[
|
|
449
|
+
[c, ["rbac:resource:export"]]
|
|
450
450
|
])
|
|
451
451
|
]),
|
|
452
452
|
_: 2
|
|
@@ -468,14 +468,14 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
468
468
|
]),
|
|
469
469
|
_: 1
|
|
470
470
|
}, 8, ["table-data", "list-loading", "table-label"]),
|
|
471
|
-
f.visible ? (a(),
|
|
471
|
+
f.visible ? (a(), m(ro, {
|
|
472
472
|
key: 0,
|
|
473
473
|
dialog: f,
|
|
474
474
|
"form-data": s(_),
|
|
475
475
|
onDialogEvent: ue,
|
|
476
476
|
onRefresh: ie
|
|
477
477
|
}, null, 8, ["dialog", "form-data"])) : j("", !0),
|
|
478
|
-
v.value ? (a(),
|
|
478
|
+
v.value ? (a(), m(ge, {
|
|
479
479
|
key: 1,
|
|
480
480
|
"upload-visible": v.value,
|
|
481
481
|
"template-title": e.$t("sysMenu.templateDownload"),
|