jmash-core 0.0.3 → 0.0.4
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-DoLCxv3l.mjs +103 -0
- package/dist/404-D1KiG-19.mjs +37 -0
- package/dist/BarChart-C1VgkGMN.mjs +203 -0
- package/dist/FileSaver.min-CbZYb_R2.mjs +77 -0
- package/dist/FunnelChart-Czy2TVI1.mjs +106 -0
- package/dist/PieChart-D4hXD0SH.mjs +4 -0
- package/dist/PieChart.vue_vue_type_script_setup_true_lang-BzbbPmOh.mjs +90 -0
- package/dist/RadarChart-BIL7VT1H.mjs +4 -0
- package/dist/RadarChart.vue_vue_type_script_setup_true_lang-DcuctIiI.mjs +109 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/dist/caret-bottom-Cm1qBSrY.mjs +59 -0
- package/dist/common-DuVBTwAv.mjs +36 -0
- package/dist/debounce-C0G0JMal.mjs +81 -0
- package/dist/dropdown2-BiRFTrOq.mjs +160 -0
- package/dist/edit-Bpt21Eir.mjs +833 -0
- package/dist/edit-CYWeo3RE.mjs +4 -0
- package/dist/edit-Cde8RIRN.mjs +4 -0
- package/dist/edit-D3-EslTs.mjs +4 -0
- package/dist/edit-DLx0iRHQ.mjs +469 -0
- package/dist/edit-NICINRFG.mjs +4 -0
- package/dist/edit-Vk23bJyE.mjs +4 -0
- package/dist/edit-sqzPOfBX.mjs +4 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-BYoUZaYJ.mjs +157 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-CFHGaytm.mjs +137 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-C_NNjRjK.mjs +622 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-DBxZMZyS.mjs +222 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-_tHqd9tg.mjs +226 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-mM66jf9N.mjs +288 -0
- package/dist/el-card-BIRVdEQY.mjs +61 -0
- package/dist/el-checkbox-group-l0sNRNKZ.mjs +1 -0
- package/dist/el-checkbox-miY6QbQ8.mjs +548 -0
- package/dist/el-col-BOgRUJYE.mjs +135 -0
- package/dist/el-date-picker-D9yvdcj2.mjs +3349 -0
- package/dist/el-dialog-BSTwker5.mjs +378 -0
- package/dist/el-dropdown-item-YDb2-w9y.mjs +675 -0
- package/dist/el-form-item-BzKoZc6I.mjs +1489 -0
- package/dist/el-icon-l0sNRNKZ.mjs +1 -0
- package/dist/el-popover-DuRdut0P.mjs +159 -0
- package/dist/el-popper-AjIjI4wK.mjs +1656 -0
- package/dist/el-progress-BPv5gfee.mjs +898 -0
- package/dist/el-radio-NC-gfUsx.mjs +251 -0
- package/dist/el-scrollbar-p0O6uID0.mjs +607 -0
- package/dist/el-select-DAMII7lv.mjs +1040 -0
- package/dist/el-switch-C2AFgHGW.mjs +254 -0
- package/dist/el-table-IQFrP3zv.mjs +3168 -0
- package/dist/el-tag-l0sNRNKZ.mjs +1 -0
- package/dist/el-tooltip-l0sNRNKZ.mjs +1 -0
- package/dist/el-tree-select-CyDKS6nF.mjs +1316 -0
- package/dist/importUpload.vue_vue_type_script_setup_true_lang-DWWbxFGH.mjs +117 -0
- package/dist/index-A3UILhe-.mjs +279 -0
- package/dist/index-Ax_8ZsXK.mjs +3163 -0
- package/dist/index-B46NFfoE.mjs +487 -0
- package/dist/index-BWx4KWAY.mjs +282 -0
- package/dist/index-BWyb1bu2.mjs +505 -0
- package/dist/index-BjqMDjBg.mjs +43994 -0
- package/dist/index-BnbEfNmI.mjs +134 -0
- package/dist/index-BpAihYhN.mjs +280 -0
- package/dist/index-Bs3AcT6R.mjs +107 -0
- package/dist/index-BvixCbHl.mjs +329 -0
- package/dist/index-C0UgbyoZ.mjs +452 -0
- package/dist/index-C0vV2_4K.mjs +63 -0
- package/dist/index-CBB_r4G5.mjs +965 -0
- package/dist/index-CCFtIl_h.mjs +516 -0
- package/dist/index-Cd3TOW5i.mjs +93 -0
- package/dist/index-CgNPGcHv.mjs +292 -0
- package/dist/index-CoOFKDgw.mjs +74 -0
- package/dist/index-CrNYgyNm.mjs +8800 -0
- package/dist/index-CurzO9C6.mjs +248 -0
- package/dist/index-DJ08yxAP.mjs +11 -0
- package/dist/index-DjkMA-Wh.mjs +40 -0
- package/dist/index-Url6hMpl.mjs +483 -0
- package/dist/index-eT2JltVa.mjs +55 -0
- package/dist/index-mkT_dTWL.mjs +13 -0
- package/dist/index-uykKwY2Z.mjs +12 -0
- package/dist/index-xtDIXRPY.mjs +633 -0
- package/dist/index.mjs +19 -273
- package/dist/index.vue_vue_type_script_setup_true_lang-BoxqootF.mjs +58 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-C6yk_vUt.mjs +286 -0
- package/dist/isUndefined-CUQZk6oB.mjs +6 -0
- package/dist/moment-CMYwqyVT.mjs +2579 -0
- package/dist/picture-kPnmHaoS.mjs +599 -0
- package/dist/profile-RVQuIwXg.mjs +319 -0
- package/dist/refs-S3PYDmaW.mjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types-CCG3Dvqs.mjs +205 -0
- package/dist/updatePwd-2UsTmJa5.mjs +4 -0
- package/dist/updatePwd.vue_vue_type_script_setup_true_lang-_Uadc2g3.mjs +151 -0
- package/dist/useColumnToggleTable-D_QF8Uy9.mjs +272 -0
- package/dist/vue-i18n-CE6tUbcO.mjs +3808 -0
- package/package.json +31 -2
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { v as b, Q as n, E as I, y as M, f as A } from "./index-CrNYgyNm.mjs";
|
|
2
|
+
import { E as F } from "./el-dialog-BSTwker5.mjs";
|
|
3
|
+
import { E as P } from "./el-progress-BPv5gfee.mjs";
|
|
4
|
+
import "./el-icon-l0sNRNKZ.mjs";
|
|
5
|
+
import { defineComponent as T, ref as p, reactive as v, toRefs as q, resolveComponent as x, openBlock as z, createBlock as H, unref as s, isRef as L, withCtx as o, createElementVNode as t, createVNode as a, createTextVNode as r, toDisplayString as l } from "vue";
|
|
6
|
+
import { u as Q } from "./vue-i18n-CE6tUbcO.mjs";
|
|
7
|
+
const j = { class: "el-upload__text" }, G = { style: { color: "var(--el-color-primary)" } }, J = { class: "dialog-footer" }, ee = /* @__PURE__ */ T({
|
|
8
|
+
__name: "importUpload",
|
|
9
|
+
props: {
|
|
10
|
+
uploadVisible: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: () => !1
|
|
13
|
+
},
|
|
14
|
+
templateTitle: {
|
|
15
|
+
type: String,
|
|
16
|
+
default: ""
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
emits: ["templateDown", "importEvents", "uploadClosed"],
|
|
20
|
+
setup(m, { emit: E }) {
|
|
21
|
+
const { t: g } = Q(), y = p(
|
|
22
|
+
b.APP_API_URL + "/v1/file/upload?tenant=" + n().user.tenant
|
|
23
|
+
), C = p({ Authorization: "Bearer " + n().token }), h = v({
|
|
24
|
+
tenant: n().user.tenant
|
|
25
|
+
}), k = p(), i = v({
|
|
26
|
+
tenant: n().user.tenant,
|
|
27
|
+
requestId: Math.random() * 10 + "",
|
|
28
|
+
fileNames: "",
|
|
29
|
+
updateMask: "",
|
|
30
|
+
addFlag: !0
|
|
31
|
+
// 必填项,true新增,false修改
|
|
32
|
+
}), V = m, c = E, { uploadVisible: d } = q(V);
|
|
33
|
+
function D() {
|
|
34
|
+
c("templateDown");
|
|
35
|
+
}
|
|
36
|
+
function N(e) {
|
|
37
|
+
console.log(e), i.fileNames = e.fileSrc, i.fileNames && I({
|
|
38
|
+
message: g("common.uploadSuccess"),
|
|
39
|
+
type: "success"
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
function S() {
|
|
43
|
+
c("importEvents", i);
|
|
44
|
+
}
|
|
45
|
+
function u() {
|
|
46
|
+
c("uploadClosed");
|
|
47
|
+
}
|
|
48
|
+
return (e, f) => {
|
|
49
|
+
const U = x("upload-filled"), w = M, B = P, _ = A, R = F;
|
|
50
|
+
return z(), H(R, {
|
|
51
|
+
modelValue: s(d),
|
|
52
|
+
"onUpdate:modelValue": f[0] || (f[0] = ($) => L(d) ? d.value = $ : null),
|
|
53
|
+
title: e.$t("common.uploadFiles"),
|
|
54
|
+
width: "500px",
|
|
55
|
+
onClose: u
|
|
56
|
+
}, {
|
|
57
|
+
footer: o(() => [
|
|
58
|
+
t("div", J, [
|
|
59
|
+
a(_, { onClick: u }, {
|
|
60
|
+
default: o(() => [
|
|
61
|
+
r(l(e.$t("common.cancel")), 1)
|
|
62
|
+
]),
|
|
63
|
+
_: 1
|
|
64
|
+
}),
|
|
65
|
+
a(_, {
|
|
66
|
+
type: "primary",
|
|
67
|
+
onClick: S
|
|
68
|
+
}, {
|
|
69
|
+
default: o(() => [
|
|
70
|
+
r(l(e.$t("common.confirm")), 1)
|
|
71
|
+
]),
|
|
72
|
+
_: 1
|
|
73
|
+
})
|
|
74
|
+
])
|
|
75
|
+
]),
|
|
76
|
+
default: o(() => [
|
|
77
|
+
a(B, {
|
|
78
|
+
ref_key: "uploadRef",
|
|
79
|
+
ref: k,
|
|
80
|
+
drag: "",
|
|
81
|
+
action: s(y),
|
|
82
|
+
headers: s(C),
|
|
83
|
+
data: s(h),
|
|
84
|
+
multiple: "",
|
|
85
|
+
"on-success": N
|
|
86
|
+
}, {
|
|
87
|
+
tip: o(() => [
|
|
88
|
+
t("div", {
|
|
89
|
+
class: "el-upload__tip",
|
|
90
|
+
onClick: D
|
|
91
|
+
}, [
|
|
92
|
+
t("a", G, l(m.templateTitle), 1)
|
|
93
|
+
])
|
|
94
|
+
]),
|
|
95
|
+
default: o(() => [
|
|
96
|
+
a(w, { class: "el-icon--upload" }, {
|
|
97
|
+
default: o(() => [
|
|
98
|
+
a(U)
|
|
99
|
+
]),
|
|
100
|
+
_: 1
|
|
101
|
+
}),
|
|
102
|
+
t("div", j, [
|
|
103
|
+
r(l(e.$t("common.dragFiles")) + " ", 1),
|
|
104
|
+
t("em", null, l(e.$t("common.uploadEvent")), 1)
|
|
105
|
+
])
|
|
106
|
+
]),
|
|
107
|
+
_: 1
|
|
108
|
+
}, 8, ["action", "headers", "data"])
|
|
109
|
+
]),
|
|
110
|
+
_: 1
|
|
111
|
+
}, 8, ["modelValue", "title"]);
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
export {
|
|
116
|
+
ee as _
|
|
117
|
+
};
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
import { _ as oe } from "./index.vue_vue_type_script_setup_true_lang-C6yk_vUt.mjs";
|
|
2
|
+
import { c as le, aT as te, aU as ae, aV as ne, al as re, am as se, an as ie, e as de, f as me, y as ce } from "./index-CrNYgyNm.mjs";
|
|
3
|
+
import "./el-icon-l0sNRNKZ.mjs";
|
|
4
|
+
import { E as ue, a as pe } from "./el-col-BOgRUJYE.mjs";
|
|
5
|
+
import { u as fe, a as _e, _ as be } from "./useColumnToggleTable-D_QF8Uy9.mjs";
|
|
6
|
+
import { a as ye, E as Ce } from "./el-form-item-BzKoZc6I.mjs";
|
|
7
|
+
import { defineComponent as he, reactive as p, resolveComponent as I, resolveDirective as ve, openBlock as m, createElementBlock as R, createVNode as l, unref as e, withCtx as t, withKeys as T, createTextVNode as c, toDisplayString as u, withDirectives as C, createBlock as k, createCommentVNode as Re, createElementVNode as ke } from "vue";
|
|
8
|
+
import { u as we } from "./vue-i18n-CE6tUbcO.mjs";
|
|
9
|
+
import ge from "./edit-DLx0iRHQ.mjs";
|
|
10
|
+
const $e = { class: "app-container" }, Ee = /* @__PURE__ */ ke("div", { class: "clear" }, null, -1), Ie = ["onClick"], Te = ["onClick"], Ue = /* @__PURE__ */ he({
|
|
11
|
+
__name: "index",
|
|
12
|
+
setup(De) {
|
|
13
|
+
const { t: n } = we(), i = p({
|
|
14
|
+
tenant: le().user.tenant,
|
|
15
|
+
roleType: "role"
|
|
16
|
+
});
|
|
17
|
+
let f = p([
|
|
18
|
+
{
|
|
19
|
+
label: n("sysRole.code"),
|
|
20
|
+
width: "140",
|
|
21
|
+
prop: "roleCode",
|
|
22
|
+
isColumn: !0
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
label: n("sysRole.name"),
|
|
26
|
+
width: "140",
|
|
27
|
+
prop: "roleName",
|
|
28
|
+
isColumn: !0
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
label: n("sysRole.description"),
|
|
32
|
+
prop: "description",
|
|
33
|
+
isColumn: !0
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
label: n("sysRole.sort"),
|
|
37
|
+
width: "100",
|
|
38
|
+
columnType: "slot",
|
|
39
|
+
slotName: "sort",
|
|
40
|
+
isColumn: !0
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
label: n("common.operate"),
|
|
44
|
+
width: "200",
|
|
45
|
+
slotName: "operation",
|
|
46
|
+
columnType: "slot",
|
|
47
|
+
fixed: "right",
|
|
48
|
+
isColumn: !0
|
|
49
|
+
}
|
|
50
|
+
]);
|
|
51
|
+
const s = p({
|
|
52
|
+
visible: !1,
|
|
53
|
+
title: ""
|
|
54
|
+
});
|
|
55
|
+
let _ = p({
|
|
56
|
+
roleCode: "",
|
|
57
|
+
roleName: "",
|
|
58
|
+
roleDuty: []
|
|
59
|
+
});
|
|
60
|
+
const D = p({
|
|
61
|
+
list: te,
|
|
62
|
+
del: ae,
|
|
63
|
+
dels: ne,
|
|
64
|
+
up: re,
|
|
65
|
+
down: se
|
|
66
|
+
}), {
|
|
67
|
+
tableData: N,
|
|
68
|
+
listLoading: V,
|
|
69
|
+
selectionRows: S,
|
|
70
|
+
multipleTableRef: F,
|
|
71
|
+
queryFormRef: w,
|
|
72
|
+
handleQuery: d,
|
|
73
|
+
deleteRecord: B,
|
|
74
|
+
deleteRecords: q,
|
|
75
|
+
handleMoveTop: K,
|
|
76
|
+
// 上移
|
|
77
|
+
handleMoveDown: L
|
|
78
|
+
// 下移
|
|
79
|
+
} = fe(n, D, i), {
|
|
80
|
+
parIndex: P,
|
|
81
|
+
tableArray: U,
|
|
82
|
+
getLocalStorageContent: x,
|
|
83
|
+
fixedChange: z,
|
|
84
|
+
isShowChange: A
|
|
85
|
+
} = _e(f, "/system/role");
|
|
86
|
+
function M() {
|
|
87
|
+
w.value.resetFields(), d();
|
|
88
|
+
}
|
|
89
|
+
function Q() {
|
|
90
|
+
for (const o in _)
|
|
91
|
+
_[o] = "";
|
|
92
|
+
s.visible = !0, s.title = n("common.add");
|
|
93
|
+
}
|
|
94
|
+
function j(o) {
|
|
95
|
+
s.title = n("common.edit"), ie(o.roleId).then(({ data: r }) => {
|
|
96
|
+
_ = { ...r }, s.visible = !0;
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
function G(o) {
|
|
100
|
+
s.visible = o;
|
|
101
|
+
}
|
|
102
|
+
function H(o) {
|
|
103
|
+
o && d();
|
|
104
|
+
}
|
|
105
|
+
function J(o) {
|
|
106
|
+
S.value = o;
|
|
107
|
+
}
|
|
108
|
+
return x(), f = U.value, d(), (o, r) => {
|
|
109
|
+
const g = de, h = ye, b = me, O = Ce, $ = ue, W = be, X = pe, Y = I("Bottom"), E = ce, Z = I("Top"), ee = oe, y = ve("hasPerm");
|
|
110
|
+
return m(), R("div", $e, [
|
|
111
|
+
l(O, {
|
|
112
|
+
ref_key: "queryFormRef",
|
|
113
|
+
ref: w,
|
|
114
|
+
inline: !0,
|
|
115
|
+
model: e(i)
|
|
116
|
+
}, {
|
|
117
|
+
default: t(() => [
|
|
118
|
+
l(h, {
|
|
119
|
+
label: o.$t("sysRole.code"),
|
|
120
|
+
prop: "roleCode"
|
|
121
|
+
}, {
|
|
122
|
+
default: t(() => [
|
|
123
|
+
l(g, {
|
|
124
|
+
modelValue: e(i).roleCode,
|
|
125
|
+
"onUpdate:modelValue": r[0] || (r[0] = (a) => e(i).roleCode = a),
|
|
126
|
+
placeholder: o.$t("sysRole.codeRequired"),
|
|
127
|
+
onKeyup: T(e(d), ["enter"])
|
|
128
|
+
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
129
|
+
]),
|
|
130
|
+
_: 1
|
|
131
|
+
}, 8, ["label"]),
|
|
132
|
+
l(h, {
|
|
133
|
+
label: o.$t("sysRole.name"),
|
|
134
|
+
prop: "likeRoleName"
|
|
135
|
+
}, {
|
|
136
|
+
default: t(() => [
|
|
137
|
+
l(g, {
|
|
138
|
+
modelValue: e(i).likeRoleName,
|
|
139
|
+
"onUpdate:modelValue": r[1] || (r[1] = (a) => e(i).likeRoleName = a),
|
|
140
|
+
placeholder: o.$t("sysRole.nameRequired"),
|
|
141
|
+
onKeyup: T(e(d), ["enter"])
|
|
142
|
+
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
143
|
+
]),
|
|
144
|
+
_: 1
|
|
145
|
+
}, 8, ["label"]),
|
|
146
|
+
l(h, { class: "search-container" }, {
|
|
147
|
+
default: t(() => [
|
|
148
|
+
l(b, {
|
|
149
|
+
type: "primary",
|
|
150
|
+
onClick: e(d)
|
|
151
|
+
}, {
|
|
152
|
+
default: t(() => [
|
|
153
|
+
c(u(o.$t("common.search")), 1)
|
|
154
|
+
]),
|
|
155
|
+
_: 1
|
|
156
|
+
}, 8, ["onClick"]),
|
|
157
|
+
l(b, { onClick: M }, {
|
|
158
|
+
default: t(() => [
|
|
159
|
+
c(u(o.$t("common.reset")), 1)
|
|
160
|
+
]),
|
|
161
|
+
_: 1
|
|
162
|
+
})
|
|
163
|
+
]),
|
|
164
|
+
_: 1
|
|
165
|
+
})
|
|
166
|
+
]),
|
|
167
|
+
_: 1
|
|
168
|
+
}, 8, ["model"]),
|
|
169
|
+
Ee,
|
|
170
|
+
l(X, { justify: "space-between" }, {
|
|
171
|
+
default: t(() => [
|
|
172
|
+
l($, { span: 19 }, {
|
|
173
|
+
default: t(() => [
|
|
174
|
+
C((m(), k(b, {
|
|
175
|
+
type: "primary",
|
|
176
|
+
onClick: Q
|
|
177
|
+
}, {
|
|
178
|
+
default: t(() => [
|
|
179
|
+
c(u(o.$t("common.add")), 1)
|
|
180
|
+
]),
|
|
181
|
+
_: 1
|
|
182
|
+
})), [
|
|
183
|
+
[y, ["rbac:role:add"]]
|
|
184
|
+
]),
|
|
185
|
+
C((m(), k(b, {
|
|
186
|
+
type: "primary",
|
|
187
|
+
onClick: r[2] || (r[2] = (a) => e(q)("roleId"))
|
|
188
|
+
}, {
|
|
189
|
+
default: t(() => [
|
|
190
|
+
c(u(o.$t("common.batchDelete")), 1)
|
|
191
|
+
]),
|
|
192
|
+
_: 1
|
|
193
|
+
})), [
|
|
194
|
+
[y, ["rbac:role:delete"]]
|
|
195
|
+
])
|
|
196
|
+
]),
|
|
197
|
+
_: 1
|
|
198
|
+
}),
|
|
199
|
+
l($, {
|
|
200
|
+
span: 5,
|
|
201
|
+
class: "container-float"
|
|
202
|
+
}, {
|
|
203
|
+
default: t(() => [
|
|
204
|
+
l(W, {
|
|
205
|
+
"table-label": e(f),
|
|
206
|
+
"par-index": e(P),
|
|
207
|
+
onFixedChange: e(z),
|
|
208
|
+
onIsShowChange: e(A)
|
|
209
|
+
}, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
|
|
210
|
+
]),
|
|
211
|
+
_: 1
|
|
212
|
+
})
|
|
213
|
+
]),
|
|
214
|
+
_: 1
|
|
215
|
+
}),
|
|
216
|
+
l(ee, {
|
|
217
|
+
class: "table-top",
|
|
218
|
+
ref_key: "multipleTableRef",
|
|
219
|
+
ref: F,
|
|
220
|
+
"row-keys": "roleId",
|
|
221
|
+
"list-loading": e(V),
|
|
222
|
+
"table-data": e(N),
|
|
223
|
+
"table-label": e(f),
|
|
224
|
+
onTableSelected: J
|
|
225
|
+
}, {
|
|
226
|
+
sort: t((a) => [
|
|
227
|
+
l(E, {
|
|
228
|
+
size: "16",
|
|
229
|
+
onClick: (v) => e(L)(a.data.row.roleId)
|
|
230
|
+
}, {
|
|
231
|
+
default: t(() => [
|
|
232
|
+
l(Y)
|
|
233
|
+
]),
|
|
234
|
+
_: 2
|
|
235
|
+
}, 1032, ["onClick"]),
|
|
236
|
+
l(E, {
|
|
237
|
+
size: "16",
|
|
238
|
+
onClick: (v) => e(K)(a.data.row.roleId)
|
|
239
|
+
}, {
|
|
240
|
+
default: t(() => [
|
|
241
|
+
l(Z)
|
|
242
|
+
]),
|
|
243
|
+
_: 2
|
|
244
|
+
}, 1032, ["onClick"])
|
|
245
|
+
]),
|
|
246
|
+
operation: t((a) => [
|
|
247
|
+
C((m(), R("span", {
|
|
248
|
+
class: "el-button-color",
|
|
249
|
+
onClick: (v) => j(a.data.row)
|
|
250
|
+
}, [
|
|
251
|
+
c(u(o.$t("common.edit")), 1)
|
|
252
|
+
], 8, Ie)), [
|
|
253
|
+
[y, ["rbac:role:update"]]
|
|
254
|
+
]),
|
|
255
|
+
C((m(), R("span", {
|
|
256
|
+
class: "el-button-color dropdown-left",
|
|
257
|
+
onClick: (v) => e(B)(a.data.row.roleId)
|
|
258
|
+
}, [
|
|
259
|
+
c(u(o.$t("common.delete")), 1)
|
|
260
|
+
], 8, Te)), [
|
|
261
|
+
[y, ["rbac:role:delete"]]
|
|
262
|
+
])
|
|
263
|
+
]),
|
|
264
|
+
_: 1
|
|
265
|
+
}, 8, ["list-loading", "table-data", "table-label"]),
|
|
266
|
+
e(s).visible ? (m(), k(ge, {
|
|
267
|
+
key: 0,
|
|
268
|
+
dialog: e(s),
|
|
269
|
+
"form-data": e(_),
|
|
270
|
+
onDialogEvent: G,
|
|
271
|
+
onRefresh: H
|
|
272
|
+
}, null, 8, ["dialog", "form-data"])) : Re("", !0)
|
|
273
|
+
]);
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
});
|
|
277
|
+
export {
|
|
278
|
+
Ue as default
|
|
279
|
+
};
|