jmash-core 0.0.12 → 0.0.14
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-BkJPlIzp.mjs} +2 -2
- package/dist/{404-D1L3bBKj.mjs → 404-BBmYfUdE.mjs} +1 -1
- package/dist/{BarChart-CfcVJz3-.mjs → BarChart-B6A8iUXj.mjs} +2 -2
- package/dist/{FileSaver.min-C3PXR_ER.mjs → FileSaver.min-CgOjN3Qg.mjs} +1 -1
- package/dist/{PieChart-6YLME4bj.mjs → PieChart-DX64TYZz.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-CzuULwXY.mjs → PieChart.vue_vue_type_script_setup_true_lang-DtGRvxtk.mjs} +2 -2
- package/dist/{RadarChart-DkmgXM6y.mjs → RadarChart-bUPojoRx.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-NTNi_I9_.mjs → RadarChart.vue_vue_type_script_setup_true_lang-BmDtds_e.mjs} +2 -2
- package/dist/{edit-YJP7pN6W.mjs → edit-BSOs3vN5.mjs} +1 -1
- package/dist/{edit-DjN392jC.mjs → edit-B_7Qd0xx.mjs} +1 -1
- package/dist/{edit-DGe7AWsr.mjs → edit-Cm32AuKE.mjs} +37 -37
- package/dist/{edit-BUeKYrEZ.mjs → edit-DI9xVL3f.mjs} +1 -1
- package/dist/{edit-CkpeOqrr.mjs → edit-HfjGZfbA.mjs} +1 -1
- package/dist/edit-K-SeNsHi.mjs +4 -0
- package/dist/{edit-CJuMrQ46.mjs → edit-SaGTHCRi.mjs} +52 -51
- package/dist/edit-syovGHsx.mjs +4 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-RBjkUr1y.mjs → edit.vue_vue_type_script_setup_true_lang-BY6U7HyH.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DEydJiSf.mjs → edit.vue_vue_type_script_setup_true_lang-BZIGUF15.mjs} +19 -19
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BtM452jP.mjs → edit.vue_vue_type_script_setup_true_lang-CXKNjagX.mjs} +12 -12
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BWtQvmLi.mjs → edit.vue_vue_type_script_setup_true_lang-CvQyDvvs.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DI-oeRPA.mjs → edit.vue_vue_type_script_setup_true_lang-DOBRRSJo.mjs} +4 -4
- package/dist/{edit.vue_vue_type_script_setup_true_lang-djIfNPqQ.mjs → edit.vue_vue_type_script_setup_true_lang-DdpRY-Il.mjs} +1 -1
- package/dist/{el-card-C861yBJo.mjs → el-card-DO00Wvz9.mjs} +1 -1
- package/dist/{el-col-BBiMr5pm.mjs → el-col-DFdwiQq6.mjs} +1 -1
- package/dist/{el-date-picker-N5aiMKSy.mjs → el-date-picker-BiAhUGOG.mjs} +143 -143
- package/dist/{el-divider-QMj1kMtJ.mjs → el-divider-c2CLca4o.mjs} +1 -1
- package/dist/{el-dropdown-item-4ws609Gw.mjs → el-dropdown-item-9E9GqcUL.mjs} +22 -22
- package/dist/{el-tree-select-DdZxfrNV.mjs → el-tree-select-CC0XwXVL.mjs} +25 -25
- package/dist/{index-C__OmU1O.mjs → index-B2TvQOt9.mjs} +4 -4
- package/dist/{index-DnSJxj9r.mjs → index-BBMnmuNy.mjs} +1105 -1096
- package/dist/{index-Dn-psVpr.mjs → index-BLIll5te.mjs} +6 -6
- package/dist/{index-CrZPfuW6.mjs → index-Bozt9oGT.mjs} +73 -71
- package/dist/{index-H7-W4HC2.mjs → index-ByZF--LW.mjs} +1 -1
- package/dist/{index-BzT4__Is.mjs → index-CMrLCILj.mjs} +105 -104
- package/dist/{index-B7u0TetV.mjs → index-CRuu1sq3.mjs} +63 -60
- package/dist/{index-DFVq4R0u.mjs → index-CgTJTyzP.mjs} +1 -1
- package/dist/{index-hMoSvG6q.mjs → index-CiTJNDrg.mjs} +76 -73
- package/dist/{index-DD1K2w1b.mjs → index-CovctCXh.mjs} +80 -71
- package/dist/{index-NVKBuLg_.mjs → index-DDZExl-h.mjs} +77 -73
- package/dist/{index-BZBpY0uA.mjs → index-DQe98_8-.mjs} +65 -62
- package/dist/{index-Cmlc_Bb4.mjs → index-DSMgAe9r.mjs} +1 -1
- package/dist/{index-DtR1eBZg.mjs → index-DfG2Ushb.mjs} +1 -1
- package/dist/{index-CkXpK-zH.mjs → index-Dy5Mc1xa.mjs} +6911 -7001
- package/dist/{index-AiS44_Xc.mjs → index-Dzz_DJ2A.mjs} +25 -24
- package/dist/{index-BX1Jx_xA.mjs → index-QGbAm-j4.mjs} +1 -1
- package/dist/{index-9TwUBNc5.mjs → index-UYeY7Byx.mjs} +1 -1
- package/dist/{index-DOPTH9F2.mjs → index-WXrB1MMY.mjs} +112 -110
- package/dist/{index-Be59bIqU.mjs → index-qw7NC8eE.mjs} +67 -65
- package/dist/index.mjs +16 -16
- package/dist/{index.vue_vue_type_script_setup_true_lang-up5cpReQ.mjs → index.vue_vue_type_script_setup_true_lang-DNUiKzAB.mjs} +2 -2
- package/dist/index.vue_vue_type_script_setup_true_lang-KEqvSfud.mjs +280 -0
- package/dist/{picture-o8CKMR0j.mjs → picture-B-Z93WvM.mjs} +2 -2
- package/dist/{position-BUALjtY9.mjs → position-vpBZqxst.mjs} +1 -1
- package/dist/{profile-BLq1IvXt.mjs → profile-yHqe9ckz.mjs} +6 -6
- package/dist/runAs-30DZ0fw7.mjs +4 -0
- package/dist/runAs.vue_vue_type_script_setup_true_lang-Df5JuFXX.mjs +114 -0
- package/dist/style.css +1 -1
- package/dist/{types-JT7Xyhpz.mjs → types-B-kpFO60.mjs} +2 -2
- package/dist/{updatePwd-DnT8nEtM.mjs → updatePwd-B0jx4S2G.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-Dks8j8my.mjs → updatePwd.vue_vue_type_script_setup_true_lang-DqPa62Sx.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/JmashColumnSelect/index.vue.d.ts +16 -0
- package/dts/src/components/JmashTable/index.vue.d.ts +31 -0
- package/dts/src/components/Pagination/index.vue.d.ts +3 -3
- package/dts/src/components/Table/index.vue.d.ts +2 -2
- package/dts/src/components/TableSet/index.vue.d.ts +5 -5
- 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/hooks/useList.d.ts +1 -0
- package/dts/src/index.d.ts +10 -3
- package/dts/src/lang/index.d.ts +91 -1
- 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/stores/modules/app.d.ts +2 -0
- package/dts/src/stores/modules/permission.d.ts +2 -0
- package/dts/src/stores/modules/settings.d.ts +1 -0
- package/dts/src/stores/modules/user.d.ts +2 -0
- package/dts/src/utils/color.d.ts +69 -0
- package/dts/src/utils/common.d.ts +1 -1
- 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/src/views/system/dept/edit.vue.d.ts +3 -3
- package/dts/src/views/system/job/edit.vue.d.ts +3 -3
- package/dts/src/views/system/menu/edit.vue.d.ts +3 -3
- package/dts/src/views/system/module/edit.vue.d.ts +3 -3
- package/dts/src/views/system/operation/edit.vue.d.ts +3 -3
- package/dts/src/views/system/permission/edit.vue.d.ts +3 -3
- package/dts/src/views/system/role/edit.vue.d.ts +3 -3
- package/dts/src/views/system/user/edit.vue.d.ts +3 -3
- package/dts/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -4
- package/dist/edit-lwVBGzDE.mjs +0 -4
- package/dist/edit-xlxZjC4R.mjs +0 -4
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { aj as ke, a0 as $e,
|
|
2
|
-
import {
|
|
3
|
-
import { E as
|
|
1
|
+
import { aj as ke, a0 as $e, bd as Ie, be as Ee, bf as Te, bg as Me, bh as Re, aW as De, aX as Ne, bi as Ve, bj as qe, bk as Fe, Y as U, bl as Se, bm as Be, bn as Le, ao as Ue, ap as je, aq as Ae, s as Pe, t as xe, ai as He, aY as Ke, Z as ze, an as Qe, E as Ye, aZ as Ze } from "./index-Dy5Mc1xa.mjs";
|
|
2
|
+
import { _ as Oe } from "./index.vue_vue_type_script_setup_true_lang-KEqvSfud.mjs";
|
|
3
|
+
import { E as We, a as Xe, b as Ge } from "./el-dropdown-item-9E9GqcUL.mjs";
|
|
4
|
+
import { E as Je, a as eo } from "./el-col-DFdwiQq6.mjs";
|
|
4
5
|
import "./el-form-item-l0sNRNKZ.mjs";
|
|
5
|
-
import { defineComponent as oo, reactive 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),
|
|
6
|
+
import { defineComponent as oo, reactive as y, 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";
|
|
7
|
+
import { m as so } from "./index-DfG2Ushb.mjs";
|
|
8
|
+
import { _ as ro } from "./edit.vue_vue_type_script_setup_true_lang-BZIGUF15.mjs";
|
|
9
|
+
import { F as A } from "./FileSaver.min-CgOjN3Qg.mjs";
|
|
10
|
+
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" }, Io = /* @__PURE__ */ oo({
|
|
10
11
|
__name: "index",
|
|
11
12
|
setup(_o) {
|
|
12
|
-
const { t: i } = ke(), d =
|
|
13
|
+
const { t: i } = ke(), d = y({
|
|
13
14
|
tenant: $e().user.tenant,
|
|
14
15
|
resourceId: ""
|
|
15
16
|
}), D = M([]), N = M([]);
|
|
16
|
-
let
|
|
17
|
+
let v = y({
|
|
17
18
|
moduleId: "",
|
|
18
19
|
parentId: "",
|
|
19
20
|
resourceType: "",
|
|
@@ -23,7 +24,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
23
24
|
icon: "",
|
|
24
25
|
operCodes: [],
|
|
25
26
|
target: ""
|
|
26
|
-
}), k =
|
|
27
|
+
}), k = y([
|
|
27
28
|
{
|
|
28
29
|
label: i("sysMenu.name"),
|
|
29
30
|
width: "200",
|
|
@@ -76,10 +77,10 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
76
77
|
isColumn: !0
|
|
77
78
|
}
|
|
78
79
|
]);
|
|
79
|
-
const f =
|
|
80
|
+
const f = y({
|
|
80
81
|
visible: !1,
|
|
81
82
|
title: ""
|
|
82
|
-
}),
|
|
83
|
+
}), w = M(!1), P = y({
|
|
83
84
|
list: Ie,
|
|
84
85
|
del: Ee,
|
|
85
86
|
dels: Te,
|
|
@@ -91,16 +92,16 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
91
92
|
selectionRows: K,
|
|
92
93
|
multipleTableRef: z,
|
|
93
94
|
queryFormRef: V,
|
|
94
|
-
handleQuery:
|
|
95
|
+
handleQuery: _,
|
|
95
96
|
deleteRecord: Q,
|
|
96
|
-
deleteRecords:
|
|
97
|
-
handleMoveTop:
|
|
97
|
+
deleteRecords: Y,
|
|
98
|
+
handleMoveTop: Z,
|
|
98
99
|
// 上移
|
|
99
|
-
handleMoveDown:
|
|
100
|
+
handleMoveDown: O
|
|
100
101
|
// 下移
|
|
101
102
|
} = De(i, P, d), {
|
|
102
|
-
parIndex:
|
|
103
|
-
tableArray:
|
|
103
|
+
parIndex: W,
|
|
104
|
+
tableArray: X,
|
|
104
105
|
getLocalStorageContent: G,
|
|
105
106
|
fixedChange: J,
|
|
106
107
|
isShowChange: ee
|
|
@@ -119,7 +120,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
119
120
|
K.value = e;
|
|
120
121
|
}
|
|
121
122
|
function ne() {
|
|
122
|
-
V.value.resetFields(), d.hasHidden = !1,
|
|
123
|
+
V.value.resetFields(), d.hasHidden = !1, _();
|
|
123
124
|
}
|
|
124
125
|
function ae() {
|
|
125
126
|
Fe().then((e) => {
|
|
@@ -142,27 +143,35 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
142
143
|
n.status === 200 && (U({
|
|
143
144
|
message: n.data,
|
|
144
145
|
type: "success"
|
|
145
|
-
}),
|
|
146
|
+
}), w.value = !1, _());
|
|
146
147
|
});
|
|
147
148
|
}
|
|
148
149
|
function re() {
|
|
149
|
-
|
|
150
|
+
w.value = !1;
|
|
150
151
|
}
|
|
151
152
|
function q(e) {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
153
|
+
v = y({
|
|
154
|
+
moduleId: "",
|
|
155
|
+
parentId: "",
|
|
156
|
+
resourceType: "",
|
|
157
|
+
resourceCode: "",
|
|
158
|
+
resourceName: "",
|
|
159
|
+
url: "",
|
|
160
|
+
icon: "",
|
|
161
|
+
operCodes: [],
|
|
162
|
+
target: ""
|
|
163
|
+
}), f.title = i("common.add"), e && (v.parentId = e.resourceId, v.moduleId = e.moduleId), f.visible = !0;
|
|
155
164
|
}
|
|
156
165
|
function de(e) {
|
|
157
166
|
f.title = i("common.edit"), Be(e.resourceId).then(({ data: n }) => {
|
|
158
|
-
|
|
167
|
+
v = { ...n }, f.visible = !0;
|
|
159
168
|
});
|
|
160
169
|
}
|
|
161
170
|
function ue(e) {
|
|
162
171
|
f.visible = e;
|
|
163
172
|
}
|
|
164
173
|
function ie(e) {
|
|
165
|
-
e &&
|
|
174
|
+
e && _();
|
|
166
175
|
}
|
|
167
176
|
function F(e) {
|
|
168
177
|
console.log(e);
|
|
@@ -170,17 +179,17 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
170
179
|
req: {},
|
|
171
180
|
resourceId: e ? d.resourceId = e : d.resourceId = void 0
|
|
172
181
|
};
|
|
173
|
-
n.req = d, Le(n).then(({ data:
|
|
174
|
-
const $ = new Blob([
|
|
182
|
+
n.req = d, Le(n).then(({ data: C }) => {
|
|
183
|
+
const $ = new Blob([C], {
|
|
175
184
|
type: "application/octet-stream"
|
|
176
185
|
});
|
|
177
186
|
A.saveAs($, i("route.sysMenu") + ".xlsx");
|
|
178
187
|
});
|
|
179
188
|
}
|
|
180
|
-
return G(), k =
|
|
181
|
-
const
|
|
189
|
+
return G(), k = X.value, oe(), _(), (e, n) => {
|
|
190
|
+
const C = Ue, $ = je, I = Ae, me = Pe, b = xe, ce = He, S = Je, pe = Ke, fe = eo, _e = ze, B = Qe, be = R("Bottom"), T = Ye, ye = R("Top"), he = R("arrow-down"), L = We, ve = Xe, we = Ge, Ce = Oe, ge = Ze, c = to("hasPerm");
|
|
182
191
|
return a(), h("div", uo, [
|
|
183
|
-
t(
|
|
192
|
+
t(ce, {
|
|
184
193
|
ref_key: "queryFormRef",
|
|
185
194
|
ref: V,
|
|
186
195
|
model: d,
|
|
@@ -198,7 +207,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
198
207
|
placeholder: e.$t("sysMenu.moduleRequired")
|
|
199
208
|
}, {
|
|
200
209
|
default: o(() => [
|
|
201
|
-
(a(!0), h(lo, null, no(D.value, (l) => (a(),
|
|
210
|
+
(a(!0), h(lo, null, no(D.value, (l) => (a(), m(C, {
|
|
202
211
|
key: l.moduleId,
|
|
203
212
|
label: l.moduleName,
|
|
204
213
|
value: l.moduleId
|
|
@@ -214,11 +223,11 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
214
223
|
prop: "likeResourceName"
|
|
215
224
|
}, {
|
|
216
225
|
default: o(() => [
|
|
217
|
-
t(
|
|
226
|
+
t(me, {
|
|
218
227
|
modelValue: d.likeResourceName,
|
|
219
228
|
"onUpdate:modelValue": n[1] || (n[1] = (l) => d.likeResourceName = l),
|
|
220
229
|
placeholder: e.$t("sysMenu.nameRequired"),
|
|
221
|
-
onKeyup: ao(s(
|
|
230
|
+
onKeyup: ao(s(_), ["enter"])
|
|
222
231
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
223
232
|
]),
|
|
224
233
|
_: 1
|
|
@@ -235,11 +244,11 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
235
244
|
onChange: te
|
|
236
245
|
}, {
|
|
237
246
|
default: o(() => [
|
|
238
|
-
t(
|
|
247
|
+
t(C, {
|
|
239
248
|
label: e.$t("common.show"),
|
|
240
249
|
value: !1
|
|
241
250
|
}, null, 8, ["label"]),
|
|
242
|
-
t(
|
|
251
|
+
t(C, {
|
|
243
252
|
label: e.$t("common.hide"),
|
|
244
253
|
value: !0
|
|
245
254
|
}, null, 8, ["label"])
|
|
@@ -251,16 +260,16 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
251
260
|
}, 8, ["label"]),
|
|
252
261
|
t(I, { class: "search-container" }, {
|
|
253
262
|
default: o(() => [
|
|
254
|
-
t(
|
|
263
|
+
t(b, {
|
|
255
264
|
type: "primary",
|
|
256
|
-
onClick: s(
|
|
265
|
+
onClick: s(_)
|
|
257
266
|
}, {
|
|
258
267
|
default: o(() => [
|
|
259
268
|
u(r(e.$t("common.search")), 1)
|
|
260
269
|
]),
|
|
261
270
|
_: 1
|
|
262
271
|
}, 8, ["onClick"]),
|
|
263
|
-
t(
|
|
272
|
+
t(b, { onClick: ne }, {
|
|
264
273
|
default: o(() => [
|
|
265
274
|
u(r(e.$t("common.reset")), 1)
|
|
266
275
|
]),
|
|
@@ -277,7 +286,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
277
286
|
default: o(() => [
|
|
278
287
|
t(S, { span: 19 }, {
|
|
279
288
|
default: o(() => [
|
|
280
|
-
p((a(),
|
|
289
|
+
p((a(), m(b, {
|
|
281
290
|
type: "primary",
|
|
282
291
|
onClick: q
|
|
283
292
|
}, {
|
|
@@ -286,18 +295,18 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
286
295
|
]),
|
|
287
296
|
_: 1
|
|
288
297
|
})), [
|
|
289
|
-
[
|
|
298
|
+
[c, ["rbac:resource:add"]]
|
|
290
299
|
]),
|
|
291
|
-
p((a(),
|
|
300
|
+
p((a(), m(b, {
|
|
292
301
|
type: "primary",
|
|
293
|
-
onClick: n[3] || (n[3] = (l) => s(
|
|
302
|
+
onClick: n[3] || (n[3] = (l) => s(Y)("resourceId"))
|
|
294
303
|
}, {
|
|
295
304
|
default: o(() => [
|
|
296
305
|
u(r(e.$t("common.batchDelete")), 1)
|
|
297
306
|
]),
|
|
298
307
|
_: 1
|
|
299
308
|
})), [
|
|
300
|
-
[
|
|
309
|
+
[c, ["rbac:resource:delete"]]
|
|
301
310
|
])
|
|
302
311
|
]),
|
|
303
312
|
_: 1
|
|
@@ -307,35 +316,35 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
307
316
|
class: "container-float"
|
|
308
317
|
}, {
|
|
309
318
|
default: o(() => [
|
|
310
|
-
p((a(),
|
|
319
|
+
p((a(), m(b, {
|
|
311
320
|
class: "dropdown-left",
|
|
312
321
|
plain: "",
|
|
313
322
|
type: "primary",
|
|
314
|
-
onClick: n[4] || (n[4] = (l) =>
|
|
323
|
+
onClick: n[4] || (n[4] = (l) => w.value = !0)
|
|
315
324
|
}, {
|
|
316
325
|
default: o(() => [
|
|
317
326
|
u(r(e.$t("common.import")), 1)
|
|
318
327
|
]),
|
|
319
328
|
_: 1
|
|
320
329
|
})), [
|
|
321
|
-
[
|
|
330
|
+
[c, ["rbac:resource:import"]]
|
|
322
331
|
]),
|
|
323
|
-
p((a(),
|
|
332
|
+
p((a(), m(b, {
|
|
324
333
|
class: "dropdown-left",
|
|
325
334
|
plain: "",
|
|
326
335
|
type: "primary",
|
|
327
|
-
onClick: n[5] || (n[5] = (l) => F(
|
|
336
|
+
onClick: n[5] || (n[5] = (l) => F(""))
|
|
328
337
|
}, {
|
|
329
338
|
default: o(() => [
|
|
330
339
|
u(r(e.$t("common.export")), 1)
|
|
331
340
|
]),
|
|
332
341
|
_: 1
|
|
333
342
|
})), [
|
|
334
|
-
[
|
|
343
|
+
[c, ["rbac:resource:export"]]
|
|
335
344
|
]),
|
|
336
345
|
t(pe, {
|
|
337
346
|
"table-label": s(k),
|
|
338
|
-
"par-index": s(
|
|
347
|
+
"par-index": s(W),
|
|
339
348
|
onFixedChange: s(J),
|
|
340
349
|
onIsShowChange: s(ee)
|
|
341
350
|
}, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
|
|
@@ -359,13 +368,13 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
359
368
|
t(_e, {
|
|
360
369
|
"icon-class": l.data.row.icon
|
|
361
370
|
}, null, 8, ["icon-class"]),
|
|
362
|
-
E("span",
|
|
371
|
+
E("span", mo, r(l.data.row.resourceName), 1)
|
|
363
372
|
]),
|
|
364
373
|
menuType: o((l) => [
|
|
365
374
|
E("span", null, r(s(Ve)(N.value, l.data.row.resourceType)), 1)
|
|
366
375
|
]),
|
|
367
376
|
status: o((l) => [
|
|
368
|
-
l.data.row.hidden === !1 ? (a(),
|
|
377
|
+
l.data.row.hidden === !1 ? (a(), m(B, {
|
|
369
378
|
key: 0,
|
|
370
379
|
type: "success"
|
|
371
380
|
}, {
|
|
@@ -373,7 +382,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
373
382
|
u(r(e.$t("common.show")), 1)
|
|
374
383
|
]),
|
|
375
384
|
_: 1
|
|
376
|
-
})) : (a(),
|
|
385
|
+
})) : (a(), m(B, {
|
|
377
386
|
key: 1,
|
|
378
387
|
type: "danger"
|
|
379
388
|
}, {
|
|
@@ -386,7 +395,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
386
395
|
sort: o((l) => [
|
|
387
396
|
t(T, {
|
|
388
397
|
size: "16",
|
|
389
|
-
onClick: (
|
|
398
|
+
onClick: (g) => s(O)(l.data.row.resourceId)
|
|
390
399
|
}, {
|
|
391
400
|
default: o(() => [
|
|
392
401
|
t(be)
|
|
@@ -395,7 +404,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
395
404
|
}, 1032, ["onClick"]),
|
|
396
405
|
t(T, {
|
|
397
406
|
size: "16",
|
|
398
|
-
onClick: (
|
|
407
|
+
onClick: (g) => s(Z)(l.data.row.resourceId)
|
|
399
408
|
}, {
|
|
400
409
|
default: o(() => [
|
|
401
410
|
t(ye)
|
|
@@ -406,19 +415,19 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
406
415
|
operation: o((l) => [
|
|
407
416
|
p((a(), h("span", {
|
|
408
417
|
class: "el-button-color",
|
|
409
|
-
onClick: (
|
|
418
|
+
onClick: (g) => de(l.data.row)
|
|
410
419
|
}, [
|
|
411
420
|
u(r(e.$t("common.edit")), 1)
|
|
412
|
-
], 8,
|
|
413
|
-
[
|
|
421
|
+
], 8, co)), [
|
|
422
|
+
[c, ["rbac:resource:update"]]
|
|
414
423
|
]),
|
|
415
424
|
p((a(), h("span", {
|
|
416
425
|
class: "el-button-color dropdown-left",
|
|
417
|
-
onClick: (
|
|
426
|
+
onClick: (g) => s(Q)(l.data.row.resourceId)
|
|
418
427
|
}, [
|
|
419
428
|
u(r(e.$t("common.delete")), 1)
|
|
420
429
|
], 8, po)), [
|
|
421
|
-
[
|
|
430
|
+
[c, ["rbac:resource:delete"]]
|
|
422
431
|
]),
|
|
423
432
|
t(we, { class: "dropdown-left" }, {
|
|
424
433
|
dropdown: o(() => [
|
|
@@ -426,7 +435,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
426
435
|
default: o(() => [
|
|
427
436
|
p((a(), h("div", null, [
|
|
428
437
|
t(L, {
|
|
429
|
-
onClick: (
|
|
438
|
+
onClick: (g) => q(l.data.row)
|
|
430
439
|
}, {
|
|
431
440
|
default: o(() => [
|
|
432
441
|
u(r(e.$t("common.add")), 1)
|
|
@@ -434,11 +443,11 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
434
443
|
_: 2
|
|
435
444
|
}, 1032, ["onClick"])
|
|
436
445
|
])), [
|
|
437
|
-
[
|
|
446
|
+
[c, ["rbac:resource:add"]]
|
|
438
447
|
]),
|
|
439
448
|
p((a(), h("div", null, [
|
|
440
449
|
t(L, {
|
|
441
|
-
onClick: (
|
|
450
|
+
onClick: (g) => F(l.data.row.resourceId)
|
|
442
451
|
}, {
|
|
443
452
|
default: o(() => [
|
|
444
453
|
u(r(e.$t("common.export")), 1)
|
|
@@ -446,7 +455,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
446
455
|
_: 2
|
|
447
456
|
}, 1032, ["onClick"])
|
|
448
457
|
])), [
|
|
449
|
-
[
|
|
458
|
+
[c, ["rbac:resource:export"]]
|
|
450
459
|
])
|
|
451
460
|
]),
|
|
452
461
|
_: 2
|
|
@@ -468,16 +477,16 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
468
477
|
]),
|
|
469
478
|
_: 1
|
|
470
479
|
}, 8, ["table-data", "list-loading", "table-label"]),
|
|
471
|
-
f.visible ? (a(),
|
|
480
|
+
f.visible ? (a(), m(ro, {
|
|
472
481
|
key: 0,
|
|
473
482
|
dialog: f,
|
|
474
|
-
"form-data": s(
|
|
483
|
+
"form-data": s(v),
|
|
475
484
|
onDialogEvent: ue,
|
|
476
485
|
onRefresh: ie
|
|
477
486
|
}, null, 8, ["dialog", "form-data"])) : j("", !0),
|
|
478
|
-
|
|
487
|
+
w.value ? (a(), m(ge, {
|
|
479
488
|
key: 1,
|
|
480
|
-
"upload-visible":
|
|
489
|
+
"upload-visible": w.value,
|
|
481
490
|
"template-title": e.$t("sysMenu.templateDownload"),
|
|
482
491
|
onTemplateDown: ae,
|
|
483
492
|
onImportEvents: se,
|
|
@@ -488,5 +497,5 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
488
497
|
}
|
|
489
498
|
});
|
|
490
499
|
export {
|
|
491
|
-
|
|
500
|
+
Io as default
|
|
492
501
|
};
|