jmash-core 0.0.40 → 0.0.42
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-CEl3xZ9U.mjs → 401-CJFCHgSZ.mjs} +2 -2
- package/dist/{404-BJI4jQGp.mjs → 404-CIMxkP9D.mjs} +1 -1
- package/dist/{BarChart-DdL2YjH9.mjs → BarChart-DU09mkLm.mjs} +2 -2
- package/dist/{PieChart-DpRLzU_D.mjs → PieChart-CoqFm60I.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-Db-lqTD8.mjs → PieChart.vue_vue_type_script_setup_true_lang-sfYOFNKO.mjs} +2 -2
- package/dist/{RadarChart-2a1QGb0r.mjs → RadarChart-0WISsxpt.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-CwF9slnO.mjs → RadarChart.vue_vue_type_script_setup_true_lang-BIOHXswr.mjs} +2 -2
- package/dist/{el-card-FMIPeWk6.mjs → el-card-DTXS4SWb.mjs} +1 -1
- package/dist/{el-col-8K1Xv7aq.mjs → el-col-C1oER81S.mjs} +1 -1
- package/dist/{el-form-item-J_27GFln.mjs → el-form-item-CJcAbcqr.mjs} +76 -76
- package/dist/{index-BB9i38wB.mjs → index-BAk-5oG9.mjs} +1 -1
- package/dist/{index--oHFkGGF.mjs → index-BwIx8FCt.mjs} +32 -32
- package/dist/{index-C_arFWKZ.mjs → index-C195Pa7c.mjs} +9759 -11332
- package/dist/{index-Ca93omwQ.mjs → index-DB4OW-7Q.mjs} +980 -944
- package/dist/{index-BUndPokw.mjs → index-ORr19rEl.mjs} +42 -42
- package/dist/index.mjs +36 -36
- package/dist/index.vue_vue_type_script_setup_true_lang-fPrQh0lj.mjs +720 -0
- package/dist/{picture-BQKPWIIU.mjs → picture-Cpgh-vo-.mjs} +106 -106
- package/dist/{position-DZbY0x3r.mjs → position-M0AZIV5D.mjs} +1 -1
- package/dist/profile-DBegP-cF.mjs +4904 -0
- package/dist/{runAs-DSfasz8M.mjs → runAs-xhA9mf-i.mjs} +1 -1
- package/dist/runAs.vue_vue_type_script_setup_true_lang-DLfQ0lsg.mjs +610 -0
- package/dist/style.css +1 -1
- package/dist/{types-BHZ78WKD.mjs → types-FkPgztcJ.mjs} +4 -3
- package/dist/{updatePwd-D2U2rq9Q.mjs → updatePwd-D1EnTbTY.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-HlhGZun3.mjs → updatePwd.vue_vue_type_script_setup_true_lang-DkH3J5K0.mjs} +20 -20
- package/dts/src/api/auth/index.d.ts +27 -2
- package/dts/src/api/auth/types.d.ts +42 -34
- package/dts/src/index.d.ts +3 -4
- package/dts/src/lang/package/zh-cn.d.ts +2 -0
- package/dts/src/types/index.d.ts +7 -0
- package/dts/src/utils/request.d.ts +2 -0
- package/package.json +1 -1
- package/dist/edit-BEz2CGVA.mjs +0 -4
- package/dist/edit-BfCUuHU7.mjs +0 -823
- package/dist/edit-BjIGOyRY.mjs +0 -4
- package/dist/edit-ByyeESA7.mjs +0 -4
- package/dist/edit-DCqdRa7R.mjs +0 -4
- package/dist/edit-DaPZ7RSc.mjs +0 -4
- package/dist/edit-Mg7mOWDc.mjs +0 -4
- package/dist/edit-voW3EO87.mjs +0 -459
- package/dist/edit.vue_vue_type_script_setup_true_lang-BCgNC4mY.mjs +0 -136
- package/dist/edit.vue_vue_type_script_setup_true_lang-BMYBrnHy.mjs +0 -280
- package/dist/edit.vue_vue_type_script_setup_true_lang-C-WS99W7.mjs +0 -157
- package/dist/edit.vue_vue_type_script_setup_true_lang-CylQxP9Z.mjs +0 -226
- package/dist/edit.vue_vue_type_script_setup_true_lang-DDCQNqdc.mjs +0 -593
- package/dist/edit.vue_vue_type_script_setup_true_lang-DyO-f1Lc.mjs +0 -216
- package/dist/el-checkbox-group-l0sNRNKZ.mjs +0 -1
- package/dist/el-date-picker-CHigi6WN.mjs +0 -3345
- package/dist/el-divider-Cg4Mgsu-.mjs +0 -45
- package/dist/el-dropdown-item-DHcRJ-Fg.mjs +0 -671
- package/dist/el-tree-select-C4cU2Ot7.mjs +0 -1313
- package/dist/index-9e59vbzb.mjs +0 -949
- package/dist/index-B5IfrzOt.mjs +0 -63
- package/dist/index-BcxeqvFF.mjs +0 -505
- package/dist/index-BoT8a4D9.mjs +0 -480
- package/dist/index-BzsE8aZb.mjs +0 -280
- package/dist/index-CKu3Vm7Y.mjs +0 -246
- package/dist/index-CPi9CcGt.mjs +0 -134
- package/dist/index-CdarTP7Q.mjs +0 -471
- package/dist/index-D3kdKwxs.mjs +0 -292
- package/dist/index-D7uxePGV.mjs +0 -501
- package/dist/index-DSwTLzp1.mjs +0 -74
- package/dist/index-Dd9wDjLG.mjs +0 -280
- package/dist/index-DdnQhmYX.mjs +0 -502
- package/dist/index-DsmvLyNJ.mjs +0 -93
- package/dist/index-VD2Oa87u.mjs +0 -280
- package/dist/index.vue_vue_type_script_setup_true_lang-BUTwLlja.mjs +0 -55
- package/dist/moment-CMYwqyVT.mjs +0 -2579
- package/dist/profile-Blgfj6Pw.mjs +0 -262
- package/dist/runAs.vue_vue_type_script_setup_true_lang-xOMc-WaC.mjs +0 -114
package/dist/index-BzsE8aZb.mjs
DELETED
|
@@ -1,280 +0,0 @@
|
|
|
1
|
-
import { $ as oe, aZ as te, a_ as le, aS as ae, aT as ne, a$ as se, s as re, t as ie, aV as de, E as me, aQ as ce } from "./index-C_arFWKZ.mjs";
|
|
2
|
-
import { E as pe, a as ue } from "./el-col-8K1Xv7aq.mjs";
|
|
3
|
-
import { E as be, a as _e } from "./el-form-item-J_27GFln.mjs";
|
|
4
|
-
import { defineComponent as fe, reactive as m, resolveComponent as I, resolveDirective as Ce, openBlock as c, createElementBlock as w, createVNode as o, withCtx as t, withKeys as T, unref as l, createTextVNode as p, toDisplayString as u, withDirectives as C, createBlock as g, createCommentVNode as ye, createElementVNode as he } from "vue";
|
|
5
|
-
import "element-plus";
|
|
6
|
-
import { useI18n as ve } from "vue-i18n";
|
|
7
|
-
import { g as we, d as ge, b as ke } from "./index-B5IfrzOt.mjs";
|
|
8
|
-
import { _ as $e } from "./edit.vue_vue_type_script_setup_true_lang-BMYBrnHy.mjs";
|
|
9
|
-
const Re = { class: "app-container" }, Ee = /* @__PURE__ */ he("div", { class: "clear" }, null, -1), Ie = ["onClick"], Te = ["onClick"], qe = /* @__PURE__ */ fe({
|
|
10
|
-
__name: "index",
|
|
11
|
-
setup(Ne) {
|
|
12
|
-
const { t: n } = ve(), i = m({
|
|
13
|
-
tenant: oe().user.tenant,
|
|
14
|
-
roleType: "job"
|
|
15
|
-
});
|
|
16
|
-
let b = m([
|
|
17
|
-
{
|
|
18
|
-
label: n("sysJob.code"),
|
|
19
|
-
prop: "roleCode",
|
|
20
|
-
width: "140",
|
|
21
|
-
isColumn: !0
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
label: n("sysJob.name"),
|
|
25
|
-
prop: "roleName",
|
|
26
|
-
width: "140",
|
|
27
|
-
isColumn: !0
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
label: n("sysJob.description"),
|
|
31
|
-
prop: "description",
|
|
32
|
-
isColumn: !0
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
label: n("sysJob.sort"),
|
|
36
|
-
width: "100",
|
|
37
|
-
columnType: "slot",
|
|
38
|
-
slotName: "sort",
|
|
39
|
-
isColumn: !0
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
label: n("common.operate"),
|
|
43
|
-
width: "200",
|
|
44
|
-
columnType: "slot",
|
|
45
|
-
slotName: "operation",
|
|
46
|
-
fixed: "right",
|
|
47
|
-
isColumn: !0
|
|
48
|
-
}
|
|
49
|
-
]);
|
|
50
|
-
const r = m({
|
|
51
|
-
visible: !1,
|
|
52
|
-
title: ""
|
|
53
|
-
});
|
|
54
|
-
let y = m({
|
|
55
|
-
roleCode: "",
|
|
56
|
-
roleName: "",
|
|
57
|
-
description: ""
|
|
58
|
-
});
|
|
59
|
-
const N = m({
|
|
60
|
-
list: we,
|
|
61
|
-
del: ge,
|
|
62
|
-
dels: ke,
|
|
63
|
-
up: te,
|
|
64
|
-
down: le
|
|
65
|
-
}), {
|
|
66
|
-
tableData: V,
|
|
67
|
-
listLoading: D,
|
|
68
|
-
selectionRows: J,
|
|
69
|
-
multipleTableRef: S,
|
|
70
|
-
queryFormRef: k,
|
|
71
|
-
handleQuery: d,
|
|
72
|
-
deleteRecord: j,
|
|
73
|
-
deleteRecords: F,
|
|
74
|
-
handleMoveTop: B,
|
|
75
|
-
// 上移
|
|
76
|
-
handleMoveDown: K
|
|
77
|
-
// 下移
|
|
78
|
-
} = ae(n, N, i), {
|
|
79
|
-
parIndex: q,
|
|
80
|
-
tableArray: L,
|
|
81
|
-
getLocalStorageContent: P,
|
|
82
|
-
fixedChange: Q,
|
|
83
|
-
isShowChange: U
|
|
84
|
-
} = ne(b, "/system/job");
|
|
85
|
-
function x(e) {
|
|
86
|
-
J.value = e;
|
|
87
|
-
}
|
|
88
|
-
function z() {
|
|
89
|
-
k.value.resetFields(), d();
|
|
90
|
-
}
|
|
91
|
-
function A() {
|
|
92
|
-
y = m({
|
|
93
|
-
roleCode: "",
|
|
94
|
-
roleName: "",
|
|
95
|
-
description: ""
|
|
96
|
-
}), r.visible = !0, r.title = n("common.add");
|
|
97
|
-
}
|
|
98
|
-
function M(e) {
|
|
99
|
-
r.title = n("common.edit"), se(e.roleId).then(({ data: s }) => {
|
|
100
|
-
y = { ...s }, r.visible = !0;
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
function Z(e) {
|
|
104
|
-
r.visible = e;
|
|
105
|
-
}
|
|
106
|
-
function G(e) {
|
|
107
|
-
e && d();
|
|
108
|
-
}
|
|
109
|
-
return P(), b = L.value, d(), (e, s) => {
|
|
110
|
-
const $ = re, h = be, _ = ie, H = _e, R = pe, O = de, W = ue, X = I("Bottom"), E = me, Y = I("Top"), ee = ce, f = Ce("hasPerm");
|
|
111
|
-
return c(), w("div", Re, [
|
|
112
|
-
o(H, {
|
|
113
|
-
ref_key: "queryFormRef",
|
|
114
|
-
ref: k,
|
|
115
|
-
model: i,
|
|
116
|
-
inline: !0
|
|
117
|
-
}, {
|
|
118
|
-
default: t(() => [
|
|
119
|
-
o(h, {
|
|
120
|
-
label: e.$t("sysJob.code"),
|
|
121
|
-
prop: "roleCode"
|
|
122
|
-
}, {
|
|
123
|
-
default: t(() => [
|
|
124
|
-
o($, {
|
|
125
|
-
modelValue: i.roleCode,
|
|
126
|
-
"onUpdate:modelValue": s[0] || (s[0] = (a) => i.roleCode = a),
|
|
127
|
-
placeholder: e.$t("sysJob.codeRequired"),
|
|
128
|
-
onKeyup: T(l(d), ["enter"])
|
|
129
|
-
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
130
|
-
]),
|
|
131
|
-
_: 1
|
|
132
|
-
}, 8, ["label"]),
|
|
133
|
-
o(h, {
|
|
134
|
-
label: e.$t("sysJob.name"),
|
|
135
|
-
prop: "likeRoleName"
|
|
136
|
-
}, {
|
|
137
|
-
default: t(() => [
|
|
138
|
-
o($, {
|
|
139
|
-
modelValue: i.likeRoleName,
|
|
140
|
-
"onUpdate:modelValue": s[1] || (s[1] = (a) => i.likeRoleName = a),
|
|
141
|
-
placeholder: e.$t("sysJob.nameRequired"),
|
|
142
|
-
onKeyup: T(l(d), ["enter"])
|
|
143
|
-
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
144
|
-
]),
|
|
145
|
-
_: 1
|
|
146
|
-
}, 8, ["label"]),
|
|
147
|
-
o(h, { class: "search-container" }, {
|
|
148
|
-
default: t(() => [
|
|
149
|
-
o(_, {
|
|
150
|
-
type: "primary",
|
|
151
|
-
onClick: l(d)
|
|
152
|
-
}, {
|
|
153
|
-
default: t(() => [
|
|
154
|
-
p(u(e.$t("common.search")), 1)
|
|
155
|
-
]),
|
|
156
|
-
_: 1
|
|
157
|
-
}, 8, ["onClick"]),
|
|
158
|
-
o(_, { onClick: z }, {
|
|
159
|
-
default: t(() => [
|
|
160
|
-
p(u(e.$t("common.reset")), 1)
|
|
161
|
-
]),
|
|
162
|
-
_: 1
|
|
163
|
-
})
|
|
164
|
-
]),
|
|
165
|
-
_: 1
|
|
166
|
-
})
|
|
167
|
-
]),
|
|
168
|
-
_: 1
|
|
169
|
-
}, 8, ["model"]),
|
|
170
|
-
Ee,
|
|
171
|
-
o(W, { justify: "space-between" }, {
|
|
172
|
-
default: t(() => [
|
|
173
|
-
o(R, { span: 19 }, {
|
|
174
|
-
default: t(() => [
|
|
175
|
-
C((c(), g(_, {
|
|
176
|
-
type: "primary",
|
|
177
|
-
onClick: A
|
|
178
|
-
}, {
|
|
179
|
-
default: t(() => [
|
|
180
|
-
p(u(e.$t("common.add")), 1)
|
|
181
|
-
]),
|
|
182
|
-
_: 1
|
|
183
|
-
})), [
|
|
184
|
-
[f, ["rbac:job:add"]]
|
|
185
|
-
]),
|
|
186
|
-
C((c(), g(_, {
|
|
187
|
-
type: "primary",
|
|
188
|
-
onClick: s[2] || (s[2] = (a) => l(F)("roleId"))
|
|
189
|
-
}, {
|
|
190
|
-
default: t(() => [
|
|
191
|
-
p(u(e.$t("common.batchDelete")), 1)
|
|
192
|
-
]),
|
|
193
|
-
_: 1
|
|
194
|
-
})), [
|
|
195
|
-
[f, ["rbac:job:delete"]]
|
|
196
|
-
])
|
|
197
|
-
]),
|
|
198
|
-
_: 1
|
|
199
|
-
}),
|
|
200
|
-
o(R, {
|
|
201
|
-
span: 5,
|
|
202
|
-
class: "container-float"
|
|
203
|
-
}, {
|
|
204
|
-
default: t(() => [
|
|
205
|
-
o(O, {
|
|
206
|
-
"table-label": l(b),
|
|
207
|
-
"par-index": l(q),
|
|
208
|
-
onFixedChange: l(Q),
|
|
209
|
-
onIsShowChange: l(U)
|
|
210
|
-
}, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
|
|
211
|
-
]),
|
|
212
|
-
_: 1
|
|
213
|
-
})
|
|
214
|
-
]),
|
|
215
|
-
_: 1
|
|
216
|
-
}),
|
|
217
|
-
o(ee, {
|
|
218
|
-
class: "table-top",
|
|
219
|
-
ref_key: "multipleTableRef",
|
|
220
|
-
ref: S,
|
|
221
|
-
rowKeys: "roleId",
|
|
222
|
-
"table-data": l(V),
|
|
223
|
-
"table-label": l(b),
|
|
224
|
-
"list-loading": l(D),
|
|
225
|
-
onTableSelected: x
|
|
226
|
-
}, {
|
|
227
|
-
sort: t((a) => [
|
|
228
|
-
o(E, {
|
|
229
|
-
size: "16",
|
|
230
|
-
onClick: (v) => l(K)(a.data.row.roleId)
|
|
231
|
-
}, {
|
|
232
|
-
default: t(() => [
|
|
233
|
-
o(X)
|
|
234
|
-
]),
|
|
235
|
-
_: 2
|
|
236
|
-
}, 1032, ["onClick"]),
|
|
237
|
-
o(E, {
|
|
238
|
-
size: "16",
|
|
239
|
-
onClick: (v) => l(B)(a.data.row.roleId)
|
|
240
|
-
}, {
|
|
241
|
-
default: t(() => [
|
|
242
|
-
o(Y)
|
|
243
|
-
]),
|
|
244
|
-
_: 2
|
|
245
|
-
}, 1032, ["onClick"])
|
|
246
|
-
]),
|
|
247
|
-
operation: t((a) => [
|
|
248
|
-
C((c(), w("span", {
|
|
249
|
-
class: "el-button-color",
|
|
250
|
-
onClick: (v) => M(a.data.row)
|
|
251
|
-
}, [
|
|
252
|
-
p(u(e.$t("common.edit")), 1)
|
|
253
|
-
], 8, Ie)), [
|
|
254
|
-
[f, ["rbac:job:update"]]
|
|
255
|
-
]),
|
|
256
|
-
C((c(), w("span", {
|
|
257
|
-
class: "el-button-color dropdown-left",
|
|
258
|
-
onClick: (v) => l(j)(a.data.row.roleId)
|
|
259
|
-
}, [
|
|
260
|
-
p(u(e.$t("common.delete")), 1)
|
|
261
|
-
], 8, Te)), [
|
|
262
|
-
[f, ["rbac:job:delete"]]
|
|
263
|
-
])
|
|
264
|
-
]),
|
|
265
|
-
_: 1
|
|
266
|
-
}, 8, ["table-data", "table-label", "list-loading"]),
|
|
267
|
-
r.visible ? (c(), g($e, {
|
|
268
|
-
key: 0,
|
|
269
|
-
dialog: r,
|
|
270
|
-
"form-data": l(y),
|
|
271
|
-
onDialogEvent: Z,
|
|
272
|
-
onRefresh: G
|
|
273
|
-
}, null, 8, ["dialog", "form-data"])) : ye("", !0)
|
|
274
|
-
]);
|
|
275
|
-
};
|
|
276
|
-
}
|
|
277
|
-
});
|
|
278
|
-
export {
|
|
279
|
-
qe as default
|
|
280
|
-
};
|
package/dist/index-CKu3Vm7Y.mjs
DELETED
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
import { $ as Z, aS as ee, aT as te, s as oe, t as le, aV as ae, aQ as ne, b9 as re } from "./index-C_arFWKZ.mjs";
|
|
2
|
-
import { E as ie, a as se } from "./el-col-8K1Xv7aq.mjs";
|
|
3
|
-
import { E as me, a as de } from "./el-form-item-J_27GFln.mjs";
|
|
4
|
-
import { defineComponent as pe, reactive as d, resolveDirective as ue, openBlock as s, createElementBlock as v, createVNode as l, withCtx as n, withKeys as R, unref as t, createTextVNode as p, toDisplayString as u, withDirectives as y, createBlock as C, isRef as ce, createCommentVNode as S, createElementVNode as fe } from "vue";
|
|
5
|
-
import { useI18n as _e } from "vue-i18n";
|
|
6
|
-
import { _ as be } from "./edit.vue_vue_type_script_setup_true_lang-BCgNC4mY.mjs";
|
|
7
|
-
import { g as ge, d as ye, b as Ce } from "./index-DSwTLzp1.mjs";
|
|
8
|
-
const ke = { class: "app-container" }, Pe = /* @__PURE__ */ fe("div", { class: "clear" }, null, -1), he = ["onClick"], ve = ["onClick"], Ie = /* @__PURE__ */ pe({
|
|
9
|
-
__name: "index",
|
|
10
|
-
setup($e) {
|
|
11
|
-
const { t: m } = _e(), r = d({
|
|
12
|
-
tenant: Z().user.tenant,
|
|
13
|
-
curPage: 1,
|
|
14
|
-
pageSize: 10
|
|
15
|
-
});
|
|
16
|
-
let k = d({
|
|
17
|
-
permCode: "",
|
|
18
|
-
permName: ""
|
|
19
|
-
}), c = d([
|
|
20
|
-
{
|
|
21
|
-
label: m("sysPerm.code"),
|
|
22
|
-
prop: "permCode",
|
|
23
|
-
isColumn: !0
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
label: m("sysPerm.name"),
|
|
27
|
-
prop: "permName",
|
|
28
|
-
isColumn: !0
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
label: m("common.operate"),
|
|
32
|
-
width: "200",
|
|
33
|
-
columnType: "slot",
|
|
34
|
-
slotName: "operation",
|
|
35
|
-
fixed: "right",
|
|
36
|
-
isColumn: !0
|
|
37
|
-
}
|
|
38
|
-
]);
|
|
39
|
-
const i = d({
|
|
40
|
-
visible: !1,
|
|
41
|
-
title: ""
|
|
42
|
-
}), N = d({
|
|
43
|
-
list: ge,
|
|
44
|
-
del: ye,
|
|
45
|
-
dels: Ce
|
|
46
|
-
}), {
|
|
47
|
-
tableData: V,
|
|
48
|
-
total: f,
|
|
49
|
-
listLoading: D,
|
|
50
|
-
selectionRows: I,
|
|
51
|
-
multipleTableRef: T,
|
|
52
|
-
queryFormRef: $,
|
|
53
|
-
getList: P,
|
|
54
|
-
handleQuery: _,
|
|
55
|
-
deleteRecord: F,
|
|
56
|
-
deleteRecords: U
|
|
57
|
-
} = ee(m, N, r), {
|
|
58
|
-
parIndex: q,
|
|
59
|
-
tableArray: K,
|
|
60
|
-
getLocalStorageContent: L,
|
|
61
|
-
fixedChange: B,
|
|
62
|
-
isShowChange: z
|
|
63
|
-
} = te(c, "/system/permission");
|
|
64
|
-
function Q() {
|
|
65
|
-
$.value.resetFields(), _();
|
|
66
|
-
}
|
|
67
|
-
function x() {
|
|
68
|
-
k = d({
|
|
69
|
-
permCode: "",
|
|
70
|
-
permName: ""
|
|
71
|
-
}), i.visible = !0, i.title = m("common.add");
|
|
72
|
-
}
|
|
73
|
-
function A(e) {
|
|
74
|
-
I.value = e;
|
|
75
|
-
}
|
|
76
|
-
function j(e) {
|
|
77
|
-
i.title = m("common.edit"), i.visible = !0, k = { ...e };
|
|
78
|
-
}
|
|
79
|
-
function G(e) {
|
|
80
|
-
i.visible = e;
|
|
81
|
-
}
|
|
82
|
-
function H(e) {
|
|
83
|
-
e && P();
|
|
84
|
-
}
|
|
85
|
-
return L(), c = K.value, P(), (e, a) => {
|
|
86
|
-
const w = oe, h = me, b = le, J = de, E = ie, M = ae, O = se, W = ne, X = re, g = ue("hasPerm");
|
|
87
|
-
return s(), v("div", ke, [
|
|
88
|
-
l(J, {
|
|
89
|
-
ref_key: "queryFormRef",
|
|
90
|
-
ref: $,
|
|
91
|
-
model: r,
|
|
92
|
-
inline: !0
|
|
93
|
-
}, {
|
|
94
|
-
default: n(() => [
|
|
95
|
-
l(h, {
|
|
96
|
-
label: e.$t("sysPerm.code"),
|
|
97
|
-
prop: "likePermCode"
|
|
98
|
-
}, {
|
|
99
|
-
default: n(() => [
|
|
100
|
-
l(w, {
|
|
101
|
-
modelValue: r.likePermCode,
|
|
102
|
-
"onUpdate:modelValue": a[0] || (a[0] = (o) => r.likePermCode = o),
|
|
103
|
-
placeholder: e.$t("sysPerm.codeRequired"),
|
|
104
|
-
onKeyup: R(t(_), ["enter"])
|
|
105
|
-
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
106
|
-
]),
|
|
107
|
-
_: 1
|
|
108
|
-
}, 8, ["label"]),
|
|
109
|
-
l(h, {
|
|
110
|
-
label: e.$t("sysPerm.name"),
|
|
111
|
-
prop: "likePermName"
|
|
112
|
-
}, {
|
|
113
|
-
default: n(() => [
|
|
114
|
-
l(w, {
|
|
115
|
-
modelValue: r.likePermName,
|
|
116
|
-
"onUpdate:modelValue": a[1] || (a[1] = (o) => r.likePermName = o),
|
|
117
|
-
placeholder: e.$t("sysPerm.nameRequired"),
|
|
118
|
-
onKeyup: R(t(_), ["enter"])
|
|
119
|
-
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
120
|
-
]),
|
|
121
|
-
_: 1
|
|
122
|
-
}, 8, ["label"]),
|
|
123
|
-
l(h, { class: "search-container" }, {
|
|
124
|
-
default: n(() => [
|
|
125
|
-
l(b, {
|
|
126
|
-
type: "primary",
|
|
127
|
-
onClick: t(_)
|
|
128
|
-
}, {
|
|
129
|
-
default: n(() => [
|
|
130
|
-
p(u(e.$t("common.search")), 1)
|
|
131
|
-
]),
|
|
132
|
-
_: 1
|
|
133
|
-
}, 8, ["onClick"]),
|
|
134
|
-
l(b, { onClick: Q }, {
|
|
135
|
-
default: n(() => [
|
|
136
|
-
p(u(e.$t("common.reset")), 1)
|
|
137
|
-
]),
|
|
138
|
-
_: 1
|
|
139
|
-
})
|
|
140
|
-
]),
|
|
141
|
-
_: 1
|
|
142
|
-
})
|
|
143
|
-
]),
|
|
144
|
-
_: 1
|
|
145
|
-
}, 8, ["model"]),
|
|
146
|
-
Pe,
|
|
147
|
-
l(O, { justify: "space-between" }, {
|
|
148
|
-
default: n(() => [
|
|
149
|
-
l(E, { span: 19 }, {
|
|
150
|
-
default: n(() => [
|
|
151
|
-
y((s(), C(b, {
|
|
152
|
-
type: "primary",
|
|
153
|
-
onClick: x
|
|
154
|
-
}, {
|
|
155
|
-
default: n(() => [
|
|
156
|
-
p(u(e.$t("common.add")), 1)
|
|
157
|
-
]),
|
|
158
|
-
_: 1
|
|
159
|
-
})), [
|
|
160
|
-
[g, ["rbac:perm:add"]]
|
|
161
|
-
]),
|
|
162
|
-
y((s(), C(b, {
|
|
163
|
-
type: "primary",
|
|
164
|
-
onClick: a[2] || (a[2] = (o) => t(U)("permId"))
|
|
165
|
-
}, {
|
|
166
|
-
default: n(() => [
|
|
167
|
-
p(u(e.$t("common.batchDelete")), 1)
|
|
168
|
-
]),
|
|
169
|
-
_: 1
|
|
170
|
-
})), [
|
|
171
|
-
[g, ["rbac:perm:delete"]]
|
|
172
|
-
])
|
|
173
|
-
]),
|
|
174
|
-
_: 1
|
|
175
|
-
}),
|
|
176
|
-
l(E, {
|
|
177
|
-
span: 5,
|
|
178
|
-
class: "container-float"
|
|
179
|
-
}, {
|
|
180
|
-
default: n(() => [
|
|
181
|
-
l(M, {
|
|
182
|
-
"table-label": t(c),
|
|
183
|
-
"par-index": t(q),
|
|
184
|
-
onFixedChange: t(B),
|
|
185
|
-
onIsShowChange: t(z)
|
|
186
|
-
}, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
|
|
187
|
-
]),
|
|
188
|
-
_: 1
|
|
189
|
-
})
|
|
190
|
-
]),
|
|
191
|
-
_: 1
|
|
192
|
-
}),
|
|
193
|
-
l(W, {
|
|
194
|
-
class: "table-top",
|
|
195
|
-
ref_key: "multipleTableRef",
|
|
196
|
-
ref: T,
|
|
197
|
-
"row-key": "permId",
|
|
198
|
-
"table-data": t(V),
|
|
199
|
-
"table-label": t(c),
|
|
200
|
-
"list-loading": t(D),
|
|
201
|
-
onTableSelected: A
|
|
202
|
-
}, {
|
|
203
|
-
operation: n((o) => [
|
|
204
|
-
y((s(), v("span", {
|
|
205
|
-
class: "el-button-color",
|
|
206
|
-
onClick: (Y) => j(o.data.row)
|
|
207
|
-
}, [
|
|
208
|
-
p(u(e.$t("common.edit")), 1)
|
|
209
|
-
], 8, he)), [
|
|
210
|
-
[g, ["rbac:perm:update"]]
|
|
211
|
-
]),
|
|
212
|
-
y((s(), v("span", {
|
|
213
|
-
class: "el-button-color dropdown-left",
|
|
214
|
-
onClick: (Y) => t(F)(o.data.row.permId)
|
|
215
|
-
}, [
|
|
216
|
-
p(u(e.$t("common.delete")), 1)
|
|
217
|
-
], 8, ve)), [
|
|
218
|
-
[g, ["rbac:perm:delete"]]
|
|
219
|
-
])
|
|
220
|
-
]),
|
|
221
|
-
_: 1
|
|
222
|
-
}, 8, ["table-data", "table-label", "list-loading"]),
|
|
223
|
-
t(f) > 0 ? (s(), C(X, {
|
|
224
|
-
key: 0,
|
|
225
|
-
total: t(f),
|
|
226
|
-
"onUpdate:total": a[3] || (a[3] = (o) => ce(f) ? f.value = o : null),
|
|
227
|
-
page: r.curPage,
|
|
228
|
-
"onUpdate:page": a[4] || (a[4] = (o) => r.curPage = o),
|
|
229
|
-
limit: r.pageSize,
|
|
230
|
-
"onUpdate:limit": a[5] || (a[5] = (o) => r.pageSize = o),
|
|
231
|
-
onPagination: t(P)
|
|
232
|
-
}, null, 8, ["total", "page", "limit", "onPagination"])) : S("", !0),
|
|
233
|
-
i.visible ? (s(), C(be, {
|
|
234
|
-
key: 1,
|
|
235
|
-
dialog: i,
|
|
236
|
-
"form-data": t(k),
|
|
237
|
-
onDialogEvent: G,
|
|
238
|
-
onRefresh: H
|
|
239
|
-
}, null, 8, ["dialog", "form-data"])) : S("", !0)
|
|
240
|
-
]);
|
|
241
|
-
};
|
|
242
|
-
}
|
|
243
|
-
});
|
|
244
|
-
export {
|
|
245
|
-
Ie as default
|
|
246
|
-
};
|
package/dist/index-CPi9CcGt.mjs
DELETED
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import { b5 as e, $ as n } from "./index-C_arFWKZ.mjs";
|
|
2
|
-
function p(t) {
|
|
3
|
-
return e({
|
|
4
|
-
url: "/v1/rbac/dept/list",
|
|
5
|
-
method: "get",
|
|
6
|
-
params: t
|
|
7
|
-
});
|
|
8
|
-
}
|
|
9
|
-
function o(t) {
|
|
10
|
-
return e({
|
|
11
|
-
url: "/v1/rbac/dept",
|
|
12
|
-
method: "post",
|
|
13
|
-
data: t
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
function u(t) {
|
|
17
|
-
return e({
|
|
18
|
-
url: "/v1/rbac/dept",
|
|
19
|
-
method: "patch",
|
|
20
|
-
data: t
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
function s(t) {
|
|
24
|
-
const r = {
|
|
25
|
-
tenant: n().user.tenant,
|
|
26
|
-
deptId: t
|
|
27
|
-
};
|
|
28
|
-
return e({
|
|
29
|
-
url: "/v1/rbac/dept/id",
|
|
30
|
-
method: "delete",
|
|
31
|
-
params: r
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
function d(t) {
|
|
35
|
-
const r = {
|
|
36
|
-
tenant: n().user.tenant,
|
|
37
|
-
deptId: t
|
|
38
|
-
};
|
|
39
|
-
return e({
|
|
40
|
-
url: "/v1/rbac/dept/batch",
|
|
41
|
-
method: "put",
|
|
42
|
-
data: r
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
function c(t) {
|
|
46
|
-
const r = {
|
|
47
|
-
tenant: n().user.tenant,
|
|
48
|
-
deptId: t
|
|
49
|
-
};
|
|
50
|
-
return e({
|
|
51
|
-
url: "/v1/rbac/dept/movedown",
|
|
52
|
-
method: "post",
|
|
53
|
-
params: r
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
function m(t) {
|
|
57
|
-
const r = {
|
|
58
|
-
tenant: n().user.tenant,
|
|
59
|
-
deptId: t
|
|
60
|
-
};
|
|
61
|
-
return e({
|
|
62
|
-
url: "/v1/rbac/dept/moveup",
|
|
63
|
-
method: "post",
|
|
64
|
-
params: r
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
function l(t) {
|
|
68
|
-
const r = {
|
|
69
|
-
tenant: n().user.tenant,
|
|
70
|
-
excludeId: t
|
|
71
|
-
};
|
|
72
|
-
return e({
|
|
73
|
-
url: "/v1/rbac/dept/treelist",
|
|
74
|
-
method: "get",
|
|
75
|
-
params: r
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
function i(t) {
|
|
79
|
-
return e({
|
|
80
|
-
url: "/v1/rbac/dept/lock",
|
|
81
|
-
method: "post",
|
|
82
|
-
data: t
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
function b(t) {
|
|
86
|
-
return e({
|
|
87
|
-
url: "/v1/rbac/dept/depts.xlsx",
|
|
88
|
-
method: "get",
|
|
89
|
-
responseType: "blob",
|
|
90
|
-
params: t
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
function h(t) {
|
|
94
|
-
return e({
|
|
95
|
-
url: "/v1/rbac/dept/import",
|
|
96
|
-
method: "patch",
|
|
97
|
-
data: t
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
function v() {
|
|
101
|
-
return e({
|
|
102
|
-
url: "/v1/rbac/dept/template.xlsx",
|
|
103
|
-
method: "get",
|
|
104
|
-
responseType: "blob",
|
|
105
|
-
params: {
|
|
106
|
-
tenant: n().user.tenant
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
function f(t) {
|
|
111
|
-
return e({
|
|
112
|
-
url: "/v1/rbac/dept/enable",
|
|
113
|
-
method: "post",
|
|
114
|
-
params: {
|
|
115
|
-
tenant: n().user.tenant,
|
|
116
|
-
deptId: t
|
|
117
|
-
}
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
export {
|
|
121
|
-
c as a,
|
|
122
|
-
d as b,
|
|
123
|
-
v as c,
|
|
124
|
-
s as d,
|
|
125
|
-
i as e,
|
|
126
|
-
f,
|
|
127
|
-
p as g,
|
|
128
|
-
b as h,
|
|
129
|
-
h as i,
|
|
130
|
-
u as j,
|
|
131
|
-
o as k,
|
|
132
|
-
m,
|
|
133
|
-
l as t
|
|
134
|
-
};
|