jmash-core 0.0.11 → 0.0.12
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 +101 -0
- package/dist/404-D1L3bBKj.mjs +37 -0
- package/dist/{BarChart-CbBhpMpZ.mjs → BarChart-CfcVJz3-.mjs} +41 -41
- package/dist/{FileSaver.min-CivbhzMe.mjs → FileSaver.min-C3PXR_ER.mjs} +1 -1
- package/dist/{FunnelChart-Czy2TVI1.mjs → FunnelChart-CcCVox9E.mjs} +16 -15
- package/dist/{PieChart-B8Tay-HH.mjs → PieChart-6YLME4bj.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-CH5ME8e4.mjs → PieChart.vue_vue_type_script_setup_true_lang-CzuULwXY.mjs} +25 -24
- package/dist/{RadarChart-BzUQwTnX.mjs → RadarChart-DkmgXM6y.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-DC-Ww3Mu.mjs → RadarChart.vue_vue_type_script_setup_true_lang-NTNi_I9_.mjs} +27 -26
- package/dist/{edit-DaxU7bBz.mjs → edit-BUeKYrEZ.mjs} +1 -1
- package/dist/{edit-5ZpeysVY.mjs → edit-CJuMrQ46.mjs} +54 -54
- package/dist/{edit-C0aHXOi3.mjs → edit-CkpeOqrr.mjs} +1 -1
- package/dist/{edit-CR7ZiKuo.mjs → edit-DGe7AWsr.mjs} +53 -53
- package/dist/{edit-B95ajyfH.mjs → edit-DjN392jC.mjs} +1 -1
- package/dist/{edit-BJAAEDVd.mjs → edit-YJP7pN6W.mjs} +1 -1
- package/dist/edit-lwVBGzDE.mjs +4 -0
- package/dist/edit-xlxZjC4R.mjs +4 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CCq_E2KT.mjs → edit.vue_vue_type_script_setup_true_lang-BWtQvmLi.mjs} +14 -14
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D4w7Aa9M.mjs → edit.vue_vue_type_script_setup_true_lang-BtM452jP.mjs} +46 -46
- package/dist/edit.vue_vue_type_script_setup_true_lang-DEydJiSf.mjs +588 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DqqWi384.mjs → edit.vue_vue_type_script_setup_true_lang-DI-oeRPA.mjs} +22 -22
- package/dist/{edit.vue_vue_type_script_setup_true_lang-C-BRxRH6.mjs → edit.vue_vue_type_script_setup_true_lang-RBjkUr1y.mjs} +30 -30
- package/dist/{edit.vue_vue_type_script_setup_true_lang-0Q5XHHkN.mjs → edit.vue_vue_type_script_setup_true_lang-djIfNPqQ.mjs} +24 -24
- package/dist/{el-card-acRFAeYD.mjs → el-card-C861yBJo.mjs} +1 -1
- package/dist/{el-col-BFrxkvh3.mjs → el-col-BBiMr5pm.mjs} +17 -17
- package/dist/{el-date-picker-CjE5H0IY.mjs → el-date-picker-N5aiMKSy.mjs} +372 -372
- package/dist/el-divider-QMj1kMtJ.mjs +45 -0
- package/dist/{el-dropdown-item-SBcx6_kX.mjs → el-dropdown-item-4ws609Gw.mjs} +76 -76
- package/dist/{el-tree-select-RwYP-GEn.mjs → el-tree-select-DdZxfrNV.mjs} +75 -75
- package/dist/{index-DBmv4w5y.mjs → index-9TwUBNc5.mjs} +1 -1
- package/dist/{index-CcXjdXcD.mjs → index-AiS44_Xc.mjs} +64 -64
- package/dist/{index-4UdK9Nb9.mjs → index-B7u0TetV.mjs} +48 -48
- package/dist/{index-hr-nwn6C.mjs → index-BX1Jx_xA.mjs} +1 -1
- package/dist/index-BZBpY0uA.mjs +277 -0
- package/dist/{index-DQtth-qu.mjs → index-Be59bIqU.mjs} +51 -51
- package/dist/{index-BcstP65E.mjs → index-BzT4__Is.mjs} +101 -101
- package/dist/index-C__OmU1O.mjs +272 -0
- package/dist/{index-ChzNa2kp.mjs → index-CkXpK-zH.mjs} +21620 -21401
- package/dist/{index-DQbHbpgW.mjs → index-Cmlc_Bb4.mjs} +4 -4
- package/dist/{index-B-lo0ywJ.mjs → index-CrZPfuW6.mjs} +60 -60
- package/dist/{index-SUlMvdOg.mjs → index-DD1K2w1b.mjs} +71 -71
- package/dist/{index-DvrFzTq2.mjs → index-DFVq4R0u.mjs} +1 -1
- package/dist/{index-B7zhho5d.mjs → index-DOPTH9F2.mjs} +65 -65
- package/dist/{index-u66O7nvc.mjs → index-Dn-psVpr.mjs} +112 -111
- package/dist/index-DnSJxj9r.mjs +3438 -0
- package/dist/{index-CQlxUoOf.mjs → index-DtR1eBZg.mjs} +1 -1
- package/dist/{index-Bqg1CGw2.mjs → index-H7-W4HC2.mjs} +1 -1
- package/dist/{index-Dyn0k8Ib.mjs → index-NVKBuLg_.mjs} +59 -59
- package/dist/{index-DAIdsjwj.mjs → index-hMoSvG6q.mjs} +58 -58
- package/dist/index.mjs +26 -27
- package/dist/index.vue_vue_type_script_setup_true_lang-up5cpReQ.mjs +54 -0
- package/dist/picture-o8CKMR0j.mjs +587 -0
- package/dist/position-BUALjtY9.mjs +23 -0
- package/dist/{profile-BfDHQ_n5.mjs → profile-BLq1IvXt.mjs} +25 -25
- package/dist/style.css +1 -1
- package/dist/{types-D2vHMNqn.mjs → types-JT7Xyhpz.mjs} +13 -13
- package/dist/{updatePwd-Dc31cBOV.mjs → updatePwd-DnT8nEtM.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-Do-jRGf0.mjs → updatePwd.vue_vue_type_script_setup_true_lang-Dks8j8my.mjs} +9 -9
- package/package.json +1 -1
- 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,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as
|
|
1
|
+
import { aj as ne, a0 as de, aT as se, aU as ie, s as re, aq as me, t as ue, ai as ce, aV as pe, E as _e, aW as fe, ba as be } from "./index-CkXpK-zH.mjs";
|
|
2
|
+
import { E as ge, a as ye } from "./el-col-BBiMr5pm.mjs";
|
|
3
3
|
import "./el-form-item-l0sNRNKZ.mjs";
|
|
4
|
-
import { defineComponent as
|
|
5
|
-
import { g as we, d as $e, b as Me, a as Ee, c as Ie } from "./index-
|
|
6
|
-
import { _ as Te } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
const
|
|
4
|
+
import { defineComponent as Ce, reactive as c, resolveComponent as N, resolveDirective as ve, openBlock as r, createElementBlock as $, createVNode as l, withCtx as a, withKeys as R, unref as o, createTextVNode as m, toDisplayString as u, 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 Me, a as Ee, c as Ie } from "./index-DtR1eBZg.mjs";
|
|
6
|
+
import { _ as Te } from "./edit.vue_vue_type_script_setup_true_lang-BWtQvmLi.mjs";
|
|
7
|
+
const Ne = { class: "app-container" }, Re = /* @__PURE__ */ ke("div", { class: "clear" }, null, -1), Se = ["onClick"], Ve = ["onClick"], Ke = /* @__PURE__ */ Ce({
|
|
8
8
|
__name: "index",
|
|
9
|
-
setup(
|
|
9
|
+
setup(De) {
|
|
10
10
|
const { t: s } = ne(), d = c({
|
|
11
11
|
tenant: de().user.tenant,
|
|
12
12
|
curPage: 1,
|
|
@@ -55,57 +55,57 @@ const De = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
55
55
|
const i = c({
|
|
56
56
|
visible: !1,
|
|
57
57
|
title: ""
|
|
58
|
-
}),
|
|
58
|
+
}), V = c({
|
|
59
59
|
list: we,
|
|
60
60
|
del: $e,
|
|
61
61
|
dels: Me,
|
|
62
62
|
up: Ee,
|
|
63
63
|
down: Ie
|
|
64
64
|
}), {
|
|
65
|
-
tableData:
|
|
65
|
+
tableData: D,
|
|
66
66
|
total: f,
|
|
67
67
|
listLoading: P,
|
|
68
|
-
selectionRows:
|
|
69
|
-
multipleTableRef:
|
|
68
|
+
selectionRows: F,
|
|
69
|
+
multipleTableRef: U,
|
|
70
70
|
queryFormRef: M,
|
|
71
71
|
getList: h,
|
|
72
72
|
handleQuery: b,
|
|
73
|
-
deleteRecord:
|
|
74
|
-
deleteRecords:
|
|
75
|
-
handleMoveTop:
|
|
73
|
+
deleteRecord: q,
|
|
74
|
+
deleteRecords: B,
|
|
75
|
+
handleMoveTop: z,
|
|
76
76
|
// 上移
|
|
77
|
-
handleMoveDown:
|
|
77
|
+
handleMoveDown: K
|
|
78
78
|
// 下移
|
|
79
|
-
} = se(s,
|
|
79
|
+
} = se(s, V, d), {
|
|
80
80
|
parIndex: L,
|
|
81
|
-
tableArray:
|
|
82
|
-
getLocalStorageContent:
|
|
83
|
-
fixedChange:
|
|
84
|
-
isShowChange:
|
|
81
|
+
tableArray: j,
|
|
82
|
+
getLocalStorageContent: x,
|
|
83
|
+
fixedChange: A,
|
|
84
|
+
isShowChange: Q
|
|
85
85
|
} = ie(_, "/system/module");
|
|
86
86
|
function W(e) {
|
|
87
|
-
|
|
87
|
+
F.value = e;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function G() {
|
|
90
90
|
M.value.resetFields(), b();
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function H() {
|
|
93
93
|
for (const e in p)
|
|
94
94
|
p[e] = "";
|
|
95
95
|
i.title = s("common.add"), i.visible = !0;
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function J(e) {
|
|
98
98
|
i.title = s("common.edit"), i.visible = !0, p = { ...e };
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function O(e) {
|
|
101
101
|
i.visible = e;
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function X(e) {
|
|
104
104
|
e && h();
|
|
105
105
|
}
|
|
106
|
-
return
|
|
107
|
-
const E = re, k = me,
|
|
108
|
-
return r(), $("div",
|
|
106
|
+
return x(), _ = j.value, h(), (e, n) => {
|
|
107
|
+
const E = re, k = me, g = ue, Y = ce, I = ge, Z = pe, ee = ye, oe = N("Bottom"), T = _e, le = N("Top"), te = fe, ae = be, y = ve("hasPerm");
|
|
108
|
+
return r(), $("div", Ne, [
|
|
109
109
|
l(Y, {
|
|
110
110
|
ref_key: "queryFormRef",
|
|
111
111
|
ref: M,
|
|
@@ -122,7 +122,7 @@ const De = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
122
122
|
modelValue: d.moduleCode,
|
|
123
123
|
"onUpdate:modelValue": n[0] || (n[0] = (t) => d.moduleCode = t),
|
|
124
124
|
placeholder: e.$t("sysModule.codeRequired"),
|
|
125
|
-
onKeyup:
|
|
125
|
+
onKeyup: R(o(b), ["enter"])
|
|
126
126
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
127
127
|
]),
|
|
128
128
|
_: 1
|
|
@@ -136,14 +136,14 @@ const De = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
136
136
|
modelValue: d.likeModuleName,
|
|
137
137
|
"onUpdate:modelValue": n[1] || (n[1] = (t) => d.likeModuleName = t),
|
|
138
138
|
placeholder: e.$t("sysModule.nameRequired"),
|
|
139
|
-
onKeyup:
|
|
139
|
+
onKeyup: R(o(b), ["enter"])
|
|
140
140
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
141
141
|
]),
|
|
142
142
|
_: 1
|
|
143
143
|
}, 8, ["label"]),
|
|
144
144
|
l(k, { class: "search-container" }, {
|
|
145
145
|
default: a(() => [
|
|
146
|
-
l(
|
|
146
|
+
l(g, {
|
|
147
147
|
type: "primary",
|
|
148
148
|
onClick: o(b)
|
|
149
149
|
}, {
|
|
@@ -152,7 +152,7 @@ const De = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
152
152
|
]),
|
|
153
153
|
_: 1
|
|
154
154
|
}, 8, ["onClick"]),
|
|
155
|
-
l(
|
|
155
|
+
l(g, { onClick: G }, {
|
|
156
156
|
default: a(() => [
|
|
157
157
|
m(u(e.$t("common.reset")), 1)
|
|
158
158
|
]),
|
|
@@ -164,32 +164,32 @@ const De = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
164
164
|
]),
|
|
165
165
|
_: 1
|
|
166
166
|
}, 8, ["model"]),
|
|
167
|
-
|
|
167
|
+
Re,
|
|
168
168
|
l(ee, { justify: "space-between" }, {
|
|
169
169
|
default: a(() => [
|
|
170
170
|
l(I, { span: 19 }, {
|
|
171
171
|
default: a(() => [
|
|
172
|
-
|
|
172
|
+
C((r(), v(g, {
|
|
173
173
|
type: "primary",
|
|
174
|
-
onClick:
|
|
174
|
+
onClick: H
|
|
175
175
|
}, {
|
|
176
176
|
default: a(() => [
|
|
177
177
|
m(u(e.$t("common.add")), 1)
|
|
178
178
|
]),
|
|
179
179
|
_: 1
|
|
180
180
|
})), [
|
|
181
|
-
[
|
|
181
|
+
[y, ["rbac:module:add"]]
|
|
182
182
|
]),
|
|
183
|
-
|
|
183
|
+
C((r(), v(g, {
|
|
184
184
|
type: "primary",
|
|
185
|
-
onClick: n[2] || (n[2] = (t) => o(
|
|
185
|
+
onClick: n[2] || (n[2] = (t) => o(B)("moduleId"))
|
|
186
186
|
}, {
|
|
187
187
|
default: a(() => [
|
|
188
188
|
m(u(e.$t("common.batchDelete")), 1)
|
|
189
189
|
]),
|
|
190
190
|
_: 1
|
|
191
191
|
})), [
|
|
192
|
-
[
|
|
192
|
+
[y, ["rbac:module:delete"]]
|
|
193
193
|
])
|
|
194
194
|
]),
|
|
195
195
|
_: 1
|
|
@@ -202,8 +202,8 @@ const De = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
202
202
|
l(Z, {
|
|
203
203
|
"table-label": o(_),
|
|
204
204
|
"par-index": o(L),
|
|
205
|
-
onFixedChange: o(
|
|
206
|
-
onIsShowChange: o(
|
|
205
|
+
onFixedChange: o(A),
|
|
206
|
+
onIsShowChange: o(Q)
|
|
207
207
|
}, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
|
|
208
208
|
]),
|
|
209
209
|
_: 1
|
|
@@ -214,9 +214,9 @@ const De = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
214
214
|
l(te, {
|
|
215
215
|
class: "table-top",
|
|
216
216
|
ref_key: "multipleTableRef",
|
|
217
|
-
ref:
|
|
217
|
+
ref: U,
|
|
218
218
|
"row-keys": "moduleId",
|
|
219
|
-
"table-data": o(
|
|
219
|
+
"table-data": o(D),
|
|
220
220
|
"list-loading": o(P),
|
|
221
221
|
"table-label": o(_),
|
|
222
222
|
onTableSelected: W
|
|
@@ -224,7 +224,7 @@ const De = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
224
224
|
sort: a((t) => [
|
|
225
225
|
l(T, {
|
|
226
226
|
size: "16",
|
|
227
|
-
onClick: (w) => o(
|
|
227
|
+
onClick: (w) => o(K)(t.data.row.moduleId)
|
|
228
228
|
}, {
|
|
229
229
|
default: a(() => [
|
|
230
230
|
l(oe)
|
|
@@ -233,7 +233,7 @@ const De = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
233
233
|
}, 1032, ["onClick"]),
|
|
234
234
|
l(T, {
|
|
235
235
|
size: "16",
|
|
236
|
-
onClick: (w) => o(
|
|
236
|
+
onClick: (w) => o(z)(t.data.row.moduleId)
|
|
237
237
|
}, {
|
|
238
238
|
default: a(() => [
|
|
239
239
|
l(le)
|
|
@@ -242,21 +242,21 @@ const De = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
242
242
|
}, 1032, ["onClick"])
|
|
243
243
|
]),
|
|
244
244
|
operation: a((t) => [
|
|
245
|
-
|
|
245
|
+
C((r(), $("span", {
|
|
246
246
|
class: "el-button-color",
|
|
247
|
-
onClick: (w) =>
|
|
247
|
+
onClick: (w) => J(t.data.row)
|
|
248
248
|
}, [
|
|
249
249
|
m(u(e.$t("common.edit")), 1)
|
|
250
|
-
], 8,
|
|
251
|
-
[
|
|
250
|
+
], 8, Se)), [
|
|
251
|
+
[y, ["rbac:module:update"]]
|
|
252
252
|
]),
|
|
253
|
-
|
|
253
|
+
C((r(), $("span", {
|
|
254
254
|
class: "el-button-color dropdown-left",
|
|
255
|
-
onClick: (w) => o(
|
|
255
|
+
onClick: (w) => o(q)(t.data.row.moduleId)
|
|
256
256
|
}, [
|
|
257
257
|
m(u(e.$t("common.delete")), 1)
|
|
258
|
-
], 8,
|
|
259
|
-
[
|
|
258
|
+
], 8, Ve)), [
|
|
259
|
+
[y, ["rbac:module:delete"]]
|
|
260
260
|
])
|
|
261
261
|
]),
|
|
262
262
|
_: 1
|
|
@@ -270,18 +270,18 @@ const De = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
270
270
|
limit: d.pageSize,
|
|
271
271
|
"onUpdate:limit": n[5] || (n[5] = (t) => d.pageSize = t),
|
|
272
272
|
onPagination: o(h)
|
|
273
|
-
}, null, 8, ["total", "page", "limit", "onPagination"])) :
|
|
273
|
+
}, null, 8, ["total", "page", "limit", "onPagination"])) : S("", !0),
|
|
274
274
|
i.visible ? (r(), v(Te, {
|
|
275
275
|
key: 1,
|
|
276
276
|
dialog: i,
|
|
277
277
|
"form-data": o(p),
|
|
278
|
-
onDialogEvent:
|
|
279
|
-
onRefresh:
|
|
280
|
-
}, null, 8, ["dialog", "form-data"])) :
|
|
278
|
+
onDialogEvent: O,
|
|
279
|
+
onRefresh: X
|
|
280
|
+
}, null, 8, ["dialog", "form-data"])) : S("", !0)
|
|
281
281
|
]);
|
|
282
282
|
};
|
|
283
283
|
}
|
|
284
284
|
});
|
|
285
285
|
export {
|
|
286
|
-
|
|
286
|
+
Ke as default
|
|
287
287
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as
|
|
3
|
-
import { E as
|
|
1
|
+
import { aj as ke, a0 as U, aT as Ee, aU as $e, Y as w, a5 as x, s as Te, aq as Ie, ao as Se, ap as Ve, t as Ne, ai as Be, E as Re, aV as Fe, ad as Ue, aW as xe, aX as Le } from "./index-CkXpK-zH.mjs";
|
|
2
|
+
import { E as qe, a as Me } from "./el-col-BBiMr5pm.mjs";
|
|
3
|
+
import { E as Ae, a as ze, b as Pe } from "./el-dropdown-item-4ws609Gw.mjs";
|
|
4
4
|
import "./el-form-item-l0sNRNKZ.mjs";
|
|
5
|
-
import { defineComponent as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { g as
|
|
8
|
-
import { F as
|
|
9
|
-
const lt = { class: "app-container" }, st = /* @__PURE__ */
|
|
5
|
+
import { defineComponent as Ke, reactive as k, ref as je, resolveComponent as E, resolveDirective as Oe, openBlock as p, createElementBlock as S, createVNode as t, unref as n, withCtx as o, withKeys as Qe, createTextVNode as d, toDisplayString as m, withDirectives as b, createBlock as y, createCommentVNode as L, createElementVNode as Je } from "vue";
|
|
6
|
+
import { _ as We } from "./edit.vue_vue_type_script_setup_true_lang-BtM452jP.mjs";
|
|
7
|
+
import { g as Xe, d as Ye, b as Ge, m as He, a as Ze, c as et, i as tt, e as ot, f as at, h as nt } from "./index-9TwUBNc5.mjs";
|
|
8
|
+
import { F as q } from "./FileSaver.min-C3PXR_ER.mjs";
|
|
9
|
+
const lt = { class: "app-container" }, st = /* @__PURE__ */ Je("div", { class: "clear" }, null, -1), mt = ["onClick"], dt = ["onClick"], ht = /* @__PURE__ */ Ke({
|
|
10
10
|
__name: "index",
|
|
11
11
|
setup(it) {
|
|
12
12
|
const { t: a } = ke(), i = k({
|
|
13
|
-
tenant:
|
|
13
|
+
tenant: U().user.tenant
|
|
14
14
|
});
|
|
15
15
|
let $ = k([
|
|
16
16
|
{
|
|
@@ -52,38 +52,38 @@ const lt = { class: "app-container" }, st = /* @__PURE__ */ He("div", { class: "
|
|
|
52
52
|
const c = k({
|
|
53
53
|
title: "",
|
|
54
54
|
visible: !1
|
|
55
|
-
}), v =
|
|
56
|
-
list:
|
|
57
|
-
del:
|
|
55
|
+
}), v = je(!1), M = k({
|
|
56
|
+
list: Xe,
|
|
57
|
+
del: Ye,
|
|
58
58
|
dels: Ge,
|
|
59
|
-
up:
|
|
59
|
+
up: He,
|
|
60
60
|
down: Ze
|
|
61
61
|
}), {
|
|
62
|
-
tableData:
|
|
62
|
+
tableData: A,
|
|
63
63
|
listLoading: z,
|
|
64
64
|
selectionRows: D,
|
|
65
|
-
multipleTableRef:
|
|
66
|
-
queryFormRef:
|
|
65
|
+
multipleTableRef: V,
|
|
66
|
+
queryFormRef: N,
|
|
67
67
|
handleQuery: r,
|
|
68
|
-
deleteRecord:
|
|
69
|
-
deleteRecords:
|
|
70
|
-
handleMoveTop:
|
|
68
|
+
deleteRecord: P,
|
|
69
|
+
deleteRecords: K,
|
|
70
|
+
handleMoveTop: j,
|
|
71
71
|
// 上移
|
|
72
72
|
handleMoveDown: O
|
|
73
73
|
// 下移
|
|
74
74
|
} = Ee(a, M, i), {
|
|
75
|
-
parIndex:
|
|
76
|
-
tableArray:
|
|
77
|
-
getLocalStorageContent:
|
|
78
|
-
fixedChange:
|
|
79
|
-
isShowChange:
|
|
75
|
+
parIndex: Q,
|
|
76
|
+
tableArray: J,
|
|
77
|
+
getLocalStorageContent: W,
|
|
78
|
+
fixedChange: X,
|
|
79
|
+
isShowChange: Y
|
|
80
80
|
} = $e($, "/system/dept");
|
|
81
81
|
function G(e) {
|
|
82
82
|
D.value = e;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function H() {
|
|
85
85
|
var e;
|
|
86
|
-
(e =
|
|
86
|
+
(e = N.value) == null || e.resetFields(), i.hasStatus = !1, r();
|
|
87
87
|
}
|
|
88
88
|
function Z() {
|
|
89
89
|
i.hasStatus = i.status !== void 0;
|
|
@@ -93,7 +93,7 @@ const lt = { class: "app-container" }, st = /* @__PURE__ */ He("div", { class: "
|
|
|
93
93
|
const l = new Blob([e.data], {
|
|
94
94
|
type: "application/octet-stream"
|
|
95
95
|
});
|
|
96
|
-
|
|
96
|
+
q.saveAs(l, a("sysDept.deptTemplate") + ".xlsx");
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
function te(e) {
|
|
@@ -137,7 +137,7 @@ const lt = { class: "app-container" }, st = /* @__PURE__ */ He("div", { class: "
|
|
|
137
137
|
});
|
|
138
138
|
return;
|
|
139
139
|
}
|
|
140
|
-
|
|
140
|
+
x.confirm(a("common.confirmDisable"), a("common.disable"), {
|
|
141
141
|
cancelButtonText: a("common.cancel"),
|
|
142
142
|
confirmButtonText: a("common.confirm"),
|
|
143
143
|
type: "warning"
|
|
@@ -156,7 +156,7 @@ const lt = { class: "app-container" }, st = /* @__PURE__ */ He("div", { class: "
|
|
|
156
156
|
});
|
|
157
157
|
return;
|
|
158
158
|
}
|
|
159
|
-
|
|
159
|
+
x.confirm(a("common.confirmEnable"), a("common.enable"), {
|
|
160
160
|
cancelButtonText: a("common.cancel"),
|
|
161
161
|
confirmButtonText: a("common.confirm"),
|
|
162
162
|
type: "warning"
|
|
@@ -171,19 +171,19 @@ const lt = { class: "app-container" }, st = /* @__PURE__ */ He("div", { class: "
|
|
|
171
171
|
}
|
|
172
172
|
function B(e, l) {
|
|
173
173
|
const I = {
|
|
174
|
-
tenant:
|
|
174
|
+
tenant: U().user.tenant,
|
|
175
175
|
enable: JSON.parse(e),
|
|
176
176
|
deptId: l
|
|
177
177
|
};
|
|
178
178
|
ot(I).then((u) => {
|
|
179
|
-
var
|
|
179
|
+
var g;
|
|
180
180
|
u.status === 200 && (e === "false" ? w({
|
|
181
181
|
message: a("common.successDisable") + u.data + a("common.stripData"),
|
|
182
182
|
type: "success"
|
|
183
183
|
}) : w({
|
|
184
184
|
message: a("common.successEnable") + u.data + a("common.stripData"),
|
|
185
185
|
type: "success"
|
|
186
|
-
}), r(), (
|
|
186
|
+
}), r(), (g = V.value) == null || g.tableSelection());
|
|
187
187
|
});
|
|
188
188
|
}
|
|
189
189
|
function de(e) {
|
|
@@ -195,15 +195,15 @@ const lt = { class: "app-container" }, st = /* @__PURE__ */ He("div", { class: "
|
|
|
195
195
|
const l = new Blob([e], {
|
|
196
196
|
type: "application/octet-stream"
|
|
197
197
|
});
|
|
198
|
-
|
|
198
|
+
q.saveAs(l, a("route.sysDept") + ".xlsx");
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
|
-
return
|
|
202
|
-
const I = Te, u = Ie,
|
|
201
|
+
return W(), $ = J.value, r(), (e, l) => {
|
|
202
|
+
const I = Te, u = Ie, g = Se, pe = Ve, f = Ne, ce = Be, re = E("arrow-down"), C = Re, ue = E("Unlock"), R = Ae, fe = E("Lock"), _e = ze, be = Pe, F = qe, ye = Fe, he = Me, we = Ue, ve = E("Bottom"), De = E("Top"), ge = xe, Ce = Le, _ = Oe("hasPerm");
|
|
203
203
|
return p(), S("div", lt, [
|
|
204
204
|
t(ce, {
|
|
205
205
|
ref_key: "queryFormRef",
|
|
206
|
-
ref:
|
|
206
|
+
ref: N,
|
|
207
207
|
inline: !0,
|
|
208
208
|
model: n(i)
|
|
209
209
|
}, {
|
|
@@ -217,7 +217,7 @@ const lt = { class: "app-container" }, st = /* @__PURE__ */ He("div", { class: "
|
|
|
217
217
|
modelValue: n(i).likeDeptName,
|
|
218
218
|
"onUpdate:modelValue": l[0] || (l[0] = (s) => n(i).likeDeptName = s),
|
|
219
219
|
placeholder: e.$t("sysDept.nameRequired"),
|
|
220
|
-
onKeyup:
|
|
220
|
+
onKeyup: Qe(n(r), ["enter"])
|
|
221
221
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
222
222
|
]),
|
|
223
223
|
_: 1
|
|
@@ -234,11 +234,11 @@ const lt = { class: "app-container" }, st = /* @__PURE__ */ He("div", { class: "
|
|
|
234
234
|
onChange: Z
|
|
235
235
|
}, {
|
|
236
236
|
default: o(() => [
|
|
237
|
-
t(
|
|
237
|
+
t(g, {
|
|
238
238
|
label: e.$t("common.enable"),
|
|
239
239
|
value: !0
|
|
240
240
|
}, null, 8, ["label"]),
|
|
241
|
-
t(
|
|
241
|
+
t(g, {
|
|
242
242
|
label: e.$t("common.disable"),
|
|
243
243
|
value: !1
|
|
244
244
|
}, null, 8, ["label"])
|
|
@@ -259,7 +259,7 @@ const lt = { class: "app-container" }, st = /* @__PURE__ */ He("div", { class: "
|
|
|
259
259
|
]),
|
|
260
260
|
_: 1
|
|
261
261
|
}, 8, ["onClick"]),
|
|
262
|
-
t(f, { onClick:
|
|
262
|
+
t(f, { onClick: H }, {
|
|
263
263
|
default: o(() => [
|
|
264
264
|
d(m(e.$t("common.reset")), 1)
|
|
265
265
|
]),
|
|
@@ -289,7 +289,7 @@ const lt = { class: "app-container" }, st = /* @__PURE__ */ He("div", { class: "
|
|
|
289
289
|
]),
|
|
290
290
|
b((p(), y(f, {
|
|
291
291
|
type: "primary",
|
|
292
|
-
onClick: l[2] || (l[2] = (s) => n(
|
|
292
|
+
onClick: l[2] || (l[2] = (s) => n(K)("deptId"))
|
|
293
293
|
}, {
|
|
294
294
|
default: o(() => [
|
|
295
295
|
d(m(e.$t("common.batchDelete")), 1)
|
|
@@ -307,7 +307,7 @@ const lt = { class: "app-container" }, st = /* @__PURE__ */ He("div", { class: "
|
|
|
307
307
|
default: o(() => [
|
|
308
308
|
t(R, { command: "true" }, {
|
|
309
309
|
default: o(() => [
|
|
310
|
-
t(
|
|
310
|
+
t(C, { size: "14" }, {
|
|
311
311
|
default: o(() => [
|
|
312
312
|
t(ue)
|
|
313
313
|
]),
|
|
@@ -319,7 +319,7 @@ const lt = { class: "app-container" }, st = /* @__PURE__ */ He("div", { class: "
|
|
|
319
319
|
}),
|
|
320
320
|
t(R, { command: "false" }, {
|
|
321
321
|
default: o(() => [
|
|
322
|
-
t(
|
|
322
|
+
t(C, { size: "14" }, {
|
|
323
323
|
default: o(() => [
|
|
324
324
|
t(fe)
|
|
325
325
|
]),
|
|
@@ -337,7 +337,7 @@ const lt = { class: "app-container" }, st = /* @__PURE__ */ He("div", { class: "
|
|
|
337
337
|
t(f, { type: "primary" }, {
|
|
338
338
|
default: o(() => [
|
|
339
339
|
d(m(e.$t("common.enable")) + "/" + m(e.$t("common.disable")) + " ", 1),
|
|
340
|
-
t(
|
|
340
|
+
t(C, { class: "el-icon--right" }, {
|
|
341
341
|
default: o(() => [
|
|
342
342
|
t(re)
|
|
343
343
|
]),
|
|
@@ -386,9 +386,9 @@ const lt = { class: "app-container" }, st = /* @__PURE__ */ He("div", { class: "
|
|
|
386
386
|
]),
|
|
387
387
|
t(ye, {
|
|
388
388
|
"table-label": n($),
|
|
389
|
-
"par-index": n(
|
|
390
|
-
onFixedChange: n(
|
|
391
|
-
onIsShowChange: n(
|
|
389
|
+
"par-index": n(Q),
|
|
390
|
+
onFixedChange: n(X),
|
|
391
|
+
onIsShowChange: n(Y)
|
|
392
392
|
}, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
|
|
393
393
|
]),
|
|
394
394
|
_: 1
|
|
@@ -396,14 +396,14 @@ const lt = { class: "app-container" }, st = /* @__PURE__ */ He("div", { class: "
|
|
|
396
396
|
]),
|
|
397
397
|
_: 1
|
|
398
398
|
}),
|
|
399
|
-
t(
|
|
399
|
+
t(ge, {
|
|
400
400
|
class: "table-top",
|
|
401
401
|
ref_key: "multipleTableRef",
|
|
402
|
-
ref:
|
|
402
|
+
ref: V,
|
|
403
403
|
"row-keys": "deptId",
|
|
404
404
|
"list-loading": n(z),
|
|
405
405
|
"table-label": n($),
|
|
406
|
-
"table-data": n(
|
|
406
|
+
"table-data": n(A),
|
|
407
407
|
onTableSelected: G
|
|
408
408
|
}, {
|
|
409
409
|
status: o((s) => [
|
|
@@ -414,7 +414,7 @@ const lt = { class: "app-container" }, st = /* @__PURE__ */ He("div", { class: "
|
|
|
414
414
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
415
415
|
]),
|
|
416
416
|
sort: o((s) => [
|
|
417
|
-
t(
|
|
417
|
+
t(C, {
|
|
418
418
|
size: "16",
|
|
419
419
|
onClick: (h) => n(O)(s.data.row.deptId)
|
|
420
420
|
}, {
|
|
@@ -423,9 +423,9 @@ const lt = { class: "app-container" }, st = /* @__PURE__ */ He("div", { class: "
|
|
|
423
423
|
]),
|
|
424
424
|
_: 2
|
|
425
425
|
}, 1032, ["onClick"]),
|
|
426
|
-
t(
|
|
426
|
+
t(C, {
|
|
427
427
|
size: "16",
|
|
428
|
-
onClick: (h) => n(
|
|
428
|
+
onClick: (h) => n(j)(s.data.row.deptId)
|
|
429
429
|
}, {
|
|
430
430
|
default: o(() => [
|
|
431
431
|
t(De)
|
|
@@ -444,7 +444,7 @@ const lt = { class: "app-container" }, st = /* @__PURE__ */ He("div", { class: "
|
|
|
444
444
|
]),
|
|
445
445
|
b((p(), S("span", {
|
|
446
446
|
class: "el-button-color dropdown-left",
|
|
447
|
-
onClick: (h) => n(
|
|
447
|
+
onClick: (h) => n(P)(s.data.row.deptId)
|
|
448
448
|
}, [
|
|
449
449
|
d(m(e.$t("common.delete")), 1)
|
|
450
450
|
], 8, dt)), [
|
|
@@ -453,21 +453,21 @@ const lt = { class: "app-container" }, st = /* @__PURE__ */ He("div", { class: "
|
|
|
453
453
|
]),
|
|
454
454
|
_: 1
|
|
455
455
|
}, 8, ["list-loading", "table-label", "table-data"]),
|
|
456
|
-
n(c).visible ? (p(), y(
|
|
456
|
+
n(c).visible ? (p(), y(We, {
|
|
457
457
|
key: 0,
|
|
458
458
|
dialog: n(c),
|
|
459
459
|
"form-data": n(T),
|
|
460
460
|
onDialogEvent: le,
|
|
461
461
|
onRefresh: se
|
|
462
|
-
}, null, 8, ["dialog", "form-data"])) :
|
|
463
|
-
n(v) ? (p(), y(
|
|
462
|
+
}, null, 8, ["dialog", "form-data"])) : L("", !0),
|
|
463
|
+
n(v) ? (p(), y(Ce, {
|
|
464
464
|
key: 1,
|
|
465
465
|
"upload-visible": n(v),
|
|
466
466
|
"template-title": e.$t("sysDept.templateDownload"),
|
|
467
467
|
onTemplateDown: ee,
|
|
468
468
|
onImportEvents: te,
|
|
469
469
|
onUploadClosed: oe
|
|
470
|
-
}, null, 8, ["upload-visible", "template-title"])) :
|
|
470
|
+
}, null, 8, ["upload-visible", "template-title"])) : L("", !0)
|
|
471
471
|
]);
|
|
472
472
|
};
|
|
473
473
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cn as e, cl as r, cm as t, ch as o, ci as c, cj as u, ck as i, cq as g, cr as n, b7 as p, co as d, bh as P, cg as S, cu as l, a7 as m, cp as b, b6 as M, cy as k, a8 as v, cv as y, cs as E, ct as f, X as L, cw as T, aU as h, bg as D, aT as H, a9 as U, cf as q, a1 as w, $ as x, a0 as A, cx as V, as as j } from "./index-CkXpK-zH.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as DashboardPage,
|
|
4
4
|
r as Error401Page,
|
|
@@ -7,32 +7,31 @@ export {
|
|
|
7
7
|
c as LoginPage,
|
|
8
8
|
u as MultiFactorLoginPage,
|
|
9
9
|
i as ProfilePage,
|
|
10
|
-
g as
|
|
11
|
-
n as
|
|
12
|
-
|
|
13
|
-
d as
|
|
14
|
-
|
|
15
|
-
S as
|
|
16
|
-
l as
|
|
17
|
-
m as
|
|
18
|
-
M as i18n,
|
|
10
|
+
g as addViteMenus,
|
|
11
|
+
n as addWebpackMenus,
|
|
12
|
+
p as clearEmpty,
|
|
13
|
+
d as default,
|
|
14
|
+
P as dictMap,
|
|
15
|
+
S as directive,
|
|
16
|
+
l as getQueryParams,
|
|
17
|
+
m as i18n,
|
|
19
18
|
b as menus,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
M as request,
|
|
20
|
+
k as resetRouter,
|
|
21
|
+
v as router,
|
|
22
|
+
y as store,
|
|
23
|
+
E as updateMetaEnv,
|
|
24
|
+
f as updateSettings,
|
|
26
25
|
L as useAppStore,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
26
|
+
T as useAppStoreHook,
|
|
27
|
+
h as useColumnToggleTable,
|
|
28
|
+
D as useDictionary,
|
|
29
|
+
H as useListData,
|
|
30
|
+
U as usePermissionStore,
|
|
31
|
+
q as usePermissionStoreHook,
|
|
32
|
+
w as useSettingsStore,
|
|
33
|
+
x as useTagsViewStore,
|
|
34
|
+
A as useUserStore,
|
|
35
|
+
V as useUserStoreHook,
|
|
36
|
+
j as vueMetaEnv
|
|
38
37
|
};
|