jmash-core 0.0.3 → 0.0.5

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.
Files changed (212) hide show
  1. package/dist/401-DZeMj80g.mjs +103 -0
  2. package/dist/404-D1KiG-19.mjs +37 -0
  3. package/dist/BarChart-BYm859ri.mjs +203 -0
  4. package/dist/FileSaver.min-DJ2XURfB.mjs +77 -0
  5. package/dist/FunnelChart-Czy2TVI1.mjs +106 -0
  6. package/dist/PieChart-BRbbIH3_.mjs +4 -0
  7. package/dist/PieChart.vue_vue_type_script_setup_true_lang-XjLBqCzM.mjs +90 -0
  8. package/dist/RadarChart-Bk_uy6Km.mjs +4 -0
  9. package/dist/RadarChart.vue_vue_type_script_setup_true_lang-COsDkkQU.mjs +109 -0
  10. package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  11. package/dist/caret-bottom-DGvkHVYd.mjs +59 -0
  12. package/dist/common-DuVBTwAv.mjs +36 -0
  13. package/dist/debounce-XYByYe_I.mjs +81 -0
  14. package/dist/dropdown2-D_RJXnOl.mjs +160 -0
  15. package/dist/edit-BTjApg1x.mjs +468 -0
  16. package/dist/edit-BcLHrCSo.mjs +4 -0
  17. package/dist/edit-DC3SyT6J.mjs +4 -0
  18. package/dist/edit-DmP9tv3r.mjs +4 -0
  19. package/dist/edit-Dr-9X4r3.mjs +4 -0
  20. package/dist/edit-FjRAXd1B.mjs +832 -0
  21. package/dist/edit-bpHMc65Q.mjs +4 -0
  22. package/dist/edit-lB54egzx.mjs +4 -0
  23. package/dist/edit.vue_vue_type_script_setup_true_lang-BKutjIoX.mjs +621 -0
  24. package/dist/edit.vue_vue_type_script_setup_true_lang-BVXBx_a-.mjs +221 -0
  25. package/dist/edit.vue_vue_type_script_setup_true_lang-Bm1SAtWP.mjs +225 -0
  26. package/dist/edit.vue_vue_type_script_setup_true_lang-CYZNHUnm.mjs +156 -0
  27. package/dist/edit.vue_vue_type_script_setup_true_lang-CZmh3q4f.mjs +287 -0
  28. package/dist/edit.vue_vue_type_script_setup_true_lang-DqZ2GCoE.mjs +136 -0
  29. package/dist/el-card-Da9MvaWO.mjs +61 -0
  30. package/dist/el-checkbox-B44P9jFr.mjs +548 -0
  31. package/dist/el-checkbox-group-l0sNRNKZ.mjs +1 -0
  32. package/dist/el-col-BY0nB6k3.mjs +135 -0
  33. package/dist/el-date-picker-CVwJoDEA.mjs +3349 -0
  34. package/dist/el-dialog-CSWvTJrq.mjs +378 -0
  35. package/dist/el-dropdown-item-CD8hUpml.mjs +675 -0
  36. package/dist/el-form-item-f-baJSfe.mjs +1489 -0
  37. package/dist/el-icon-l0sNRNKZ.mjs +1 -0
  38. package/dist/el-popover-D8RrIMbA.mjs +159 -0
  39. package/dist/el-popper-C13p_dqu.mjs +1656 -0
  40. package/dist/el-progress-CHUzIxT1.mjs +898 -0
  41. package/dist/el-radio-BpdPD-RN.mjs +251 -0
  42. package/dist/el-scrollbar-B8QteGV0.mjs +607 -0
  43. package/dist/el-select-ChOy6agQ.mjs +1040 -0
  44. package/dist/el-switch-cqWxQwcb.mjs +254 -0
  45. package/dist/el-table-c9Sup56w.mjs +3168 -0
  46. package/dist/el-tag-l0sNRNKZ.mjs +1 -0
  47. package/dist/el-tooltip-l0sNRNKZ.mjs +1 -0
  48. package/dist/el-tree-select-CKOwMXR7.mjs +1316 -0
  49. package/dist/importUpload.vue_vue_type_script_setup_true_lang-DWrcOBGS.mjs +116 -0
  50. package/dist/index-B6wY38lY.mjs +13173 -0
  51. package/dist/index-BH-_mfRR.mjs +107 -0
  52. package/dist/index-BfhiNV8H.mjs +486 -0
  53. package/dist/index-BjqMDjBg.mjs +43994 -0
  54. package/dist/index-BuHauank.mjs +13 -0
  55. package/dist/index-CBJwB8q2.mjs +633 -0
  56. package/dist/index-CGCQHwLq.mjs +482 -0
  57. package/dist/index-CU0iVHXP.mjs +281 -0
  58. package/dist/index-CYxGYOaT.mjs +504 -0
  59. package/dist/index-Cjii0qCc.mjs +278 -0
  60. package/dist/index-Czh2Pqwr.mjs +63 -0
  61. package/dist/index-DJ08yxAP.mjs +11 -0
  62. package/dist/index-DUKlDGLk.mjs +2589 -0
  63. package/dist/index-DUVtKaDI.mjs +515 -0
  64. package/dist/index-Dgd4Zhxz.mjs +93 -0
  65. package/dist/index-Di5--Hao.mjs +328 -0
  66. package/dist/index-DjkMA-Wh.mjs +40 -0
  67. package/dist/index-DrKW_cyG.mjs +247 -0
  68. package/dist/index-LuiPOgGW.mjs +291 -0
  69. package/dist/index-VD-Tf32c.mjs +74 -0
  70. package/dist/index-cRrjzkNb.mjs +452 -0
  71. package/dist/index-cp7l4CIE.mjs +134 -0
  72. package/dist/index-dKz1IRM_.mjs +279 -0
  73. package/dist/index-dLPnFa10.mjs +964 -0
  74. package/dist/index-uykKwY2Z.mjs +12 -0
  75. package/dist/index-vp1_Sd0A.mjs +55 -0
  76. package/dist/index.mjs +22 -273
  77. package/dist/index.vue_vue_type_script_setup_true_lang-DcIQIMBC.mjs +286 -0
  78. package/dist/index.vue_vue_type_script_setup_true_lang-DidEhco6.mjs +58 -0
  79. package/dist/isUndefined-CUQZk6oB.mjs +6 -0
  80. package/dist/moment-CMYwqyVT.mjs +2579 -0
  81. package/dist/picture-kDaEiPHi.mjs +599 -0
  82. package/dist/profile-Sn98YUfh.mjs +319 -0
  83. package/dist/refs-COP_DuTD.mjs +9 -0
  84. package/dist/style.css +1 -1
  85. package/dist/types-BolK_Oyb.mjs +205 -0
  86. package/dist/updatePwd-B3rEU05i.mjs +4 -0
  87. package/dist/updatePwd.vue_vue_type_script_setup_true_lang-1LEdjkQ3.mjs +151 -0
  88. package/dist/useColumnToggleTable-CC9EXcfR.mjs +272 -0
  89. package/dts/src/App.vue.d.ts +1 -1
  90. package/dts/src/api/auth/index.d.ts +41 -0
  91. package/dts/src/api/auth/types.d.ts +180 -0
  92. package/dts/src/api/file/index.d.ts +14 -0
  93. package/dts/src/api/file/types.d.ts +7 -0
  94. package/dts/src/api/system/dept/index.d.ts +91 -0
  95. package/dts/src/api/system/dept/types.d.ts +63 -0
  96. package/dts/src/api/system/index.d.ts +7 -0
  97. package/dts/src/api/system/job/index.d.ts +42 -0
  98. package/dts/src/api/system/job/types.d.ts +60 -0
  99. package/dts/src/api/system/log/index.d.ts +29 -0
  100. package/dts/src/api/system/log/types.d.ts +42 -0
  101. package/dts/src/api/system/menu/index.d.ts +103 -0
  102. package/dts/src/api/system/menu/types.d.ts +96 -0
  103. package/dts/src/api/system/module/index.d.ts +57 -0
  104. package/dts/src/api/system/module/types.d.ts +13 -0
  105. package/dts/src/api/system/operation/index.d.ts +51 -0
  106. package/dts/src/api/system/operation/types.d.ts +12 -0
  107. package/dts/src/api/system/permission/index.d.ts +50 -0
  108. package/dts/src/api/system/permission/types.d.ts +12 -0
  109. package/dts/src/api/system/role/index.d.ts +77 -0
  110. package/dts/src/api/system/role/types.d.ts +26 -0
  111. package/dts/src/api/system/user/index.d.ts +133 -0
  112. package/dts/src/api/system/user/types.d.ts +53 -0
  113. package/dts/src/api/system/userLog/index.d.ts +29 -0
  114. package/dts/src/api/system/userLog/types.d.ts +22 -0
  115. package/dts/src/assets/icons/index.d.ts +0 -0
  116. package/dts/src/components/{icons/IconDocumentation.vue.d.ts → Breadcrumb/index.vue.d.ts} +1 -1
  117. package/dts/src/components/DictRadio/index.vue.d.ts +23 -0
  118. package/dts/src/components/DictSelect/index.vue.d.ts +41 -0
  119. package/dts/src/components/Dictionary/index.vue.d.ts +47 -0
  120. package/dts/src/components/{TheWelcome.vue.d.ts → GithubCorner/index.vue.d.ts} +1 -1
  121. package/dts/src/components/Hamburger/index.vue.d.ts +18 -0
  122. package/dts/src/components/IconSelect/index.vue.d.ts +20 -0
  123. package/dts/src/components/IconSelect/requireIcons.d.ts +2 -0
  124. package/dts/src/components/{icons/IconEcosystem.vue.d.ts → LangSelect/index.vue.d.ts} +1 -1
  125. package/dts/src/components/Pagination/index.vue.d.ts +88 -0
  126. package/dts/src/components/RightPanel/index.vue.d.ts +21 -0
  127. package/dts/src/components/{icons/IconCommunity.vue.d.ts → SizeSelect/index.vue.d.ts} +1 -1
  128. package/dts/src/components/SvgIcon/index.vue.d.ts +43 -0
  129. package/dts/src/components/Table/index.vue.d.ts +73 -0
  130. package/dts/src/components/TableSet/index.vue.d.ts +29 -0
  131. package/dts/src/components/Upload/MultiUpload.vue.d.ts +65 -0
  132. package/dts/src/components/Upload/SingleUpload.vue.d.ts +18 -0
  133. package/dts/src/components/Upload/importUpload.vue.d.ts +31 -0
  134. package/dts/src/components/Upload/index.vue.d.ts +18 -0
  135. package/dts/src/components/WangEditor/index.vue.d.ts +18 -0
  136. package/dts/src/directive/index.d.ts +5 -0
  137. package/dts/src/directive/permission/index.d.ts +9 -0
  138. package/dts/src/enums/MenuTypeEnum.d.ts +18 -0
  139. package/dts/src/hooks/useColumnToggleTable.d.ts +7 -0
  140. package/dts/src/index.d.ts +29 -3
  141. package/dts/src/lang/index.d.ts +534 -0
  142. package/dts/src/lang/package/en.d.ts +261 -0
  143. package/dts/src/lang/package/zh-cn.d.ts +275 -0
  144. package/dts/src/layout/components/AppMain.vue.d.ts +2 -0
  145. package/dts/src/layout/components/NavBar/NavRight.vue.d.ts +2 -0
  146. package/dts/src/layout/components/NavBar/index.vue.d.ts +2 -0
  147. package/dts/src/layout/components/Settings/index.vue.d.ts +2 -0
  148. package/dts/src/layout/components/Sidebar/Item.vue.d.ts +23 -0
  149. package/dts/src/layout/components/Sidebar/LeftMenu.vue.d.ts +24 -0
  150. package/dts/src/layout/components/Sidebar/Link.vue.d.ts +19 -0
  151. package/dts/src/layout/components/Sidebar/Logo.vue.d.ts +12 -0
  152. package/dts/src/layout/components/Sidebar/SidebarItem.vue.d.ts +42 -0
  153. package/dts/src/layout/components/Sidebar/TopMenu.vue.d.ts +2 -0
  154. package/dts/src/layout/components/Sidebar/index.vue.d.ts +2 -0
  155. package/dts/src/layout/components/TagsView/ScrollPane.vue.d.ts +16 -0
  156. package/dts/src/layout/components/TagsView/index.vue.d.ts +2 -0
  157. package/dts/src/layout/components/index.d.ts +4 -0
  158. package/dts/src/layout/index.vue.d.ts +2 -0
  159. package/dts/src/layout/main.vue.d.ts +2 -0
  160. package/dts/src/main.d.ts +5 -1
  161. package/dts/src/permission.d.ts +1 -0
  162. package/dts/src/router/index.d.ts +10 -0
  163. package/dts/src/settings.d.ts +13 -0
  164. package/dts/src/stores/index.d.ts +7 -0
  165. package/dts/src/stores/modules/tagsView.d.ts +82 -0
  166. package/dts/src/utils/common.d.ts +6 -0
  167. package/dts/src/utils/grpc.d.ts +2 -0
  168. package/dts/src/utils/i18n.d.ts +1 -0
  169. package/dts/src/utils/index.d.ts +24 -0
  170. package/dts/src/utils/request.d.ts +2 -0
  171. package/dts/src/utils/resize.d.ts +1 -0
  172. package/dts/src/utils/scroll-to.d.ts +6 -0
  173. package/dts/src/views/dashboard/components/BarChart.vue.d.ts +45 -0
  174. package/dts/src/views/dashboard/components/FunnelChart.vue.d.ts +45 -0
  175. package/dts/src/views/dashboard/components/PieChart.vue.d.ts +45 -0
  176. package/dts/src/views/dashboard/components/RadarChart.vue.d.ts +45 -0
  177. package/dts/src/views/dashboard/index.vue.d.ts +2 -0
  178. package/dts/src/views/error-page/401.vue.d.ts +2 -0
  179. package/dts/src/views/error-page/404.vue.d.ts +2 -0
  180. package/dts/src/views/login/components/types.vue.d.ts +2 -0
  181. package/dts/src/views/login/index.vue.d.ts +2 -0
  182. package/dts/src/views/my/profile.vue.d.ts +2 -0
  183. package/dts/src/views/my/updatePwd.vue.d.ts +18 -0
  184. package/dts/src/views/redirect/index.vue.d.ts +2 -0
  185. package/dts/src/views/system/dept/edit.vue.d.ts +31 -0
  186. package/dts/src/views/system/dept/index.vue.d.ts +2 -0
  187. package/dts/src/views/system/job/edit.vue.d.ts +30 -0
  188. package/dts/src/views/system/job/index.vue.d.ts +2 -0
  189. package/dts/src/views/system/log/index.vue.d.ts +2 -0
  190. package/dts/src/views/system/log/oplog/index.vue.d.ts +2 -0
  191. package/dts/src/views/system/log/userLog/index.vue.d.ts +2 -0
  192. package/dts/src/views/system/menu/edit.vue.d.ts +31 -0
  193. package/dts/src/views/system/menu/index.vue.d.ts +2 -0
  194. package/dts/src/views/system/module/edit.vue.d.ts +31 -0
  195. package/dts/src/views/system/module/index.vue.d.ts +2 -0
  196. package/dts/src/views/system/operation/edit.vue.d.ts +31 -0
  197. package/dts/src/views/system/operation/index.vue.d.ts +2 -0
  198. package/dts/src/views/system/permission/edit.vue.d.ts +30 -0
  199. package/dts/src/views/system/permission/index.vue.d.ts +2 -0
  200. package/dts/src/views/system/role/edit.vue.d.ts +31 -0
  201. package/dts/src/views/system/role/index.vue.d.ts +2 -0
  202. package/dts/src/views/system/user/edit.vue.d.ts +31 -0
  203. package/dts/src/views/system/user/index.vue.d.ts +2 -0
  204. package/dts/tsconfig.tsbuildinfo +1 -1
  205. package/package.json +31 -2
  206. package/dts/src/components/HelloWorld.vue.d.ts +0 -15
  207. package/dts/src/components/WelcomeItem.vue.d.ts +0 -11
  208. package/dts/src/components/icons/IconSupport.vue.d.ts +0 -2
  209. package/dts/src/components/icons/IconTooling.vue.d.ts +0 -2
  210. package/dts/src/stores/counter.d.ts +0 -13
  211. package/dts/src/views/AboutView.vue.d.ts +0 -2
  212. package/dts/src/views/HomeView.vue.d.ts +0 -2
@@ -0,0 +1,278 @@
1
+ import { _ as oe } from "./index.vue_vue_type_script_setup_true_lang-DcIQIMBC.mjs";
2
+ import { a as le, d as te, aV as ae, aW as ne, aX as re, an as se, ao as ie, ap as de, f as me, h as ce, z as ue } from "./index-B6wY38lY.mjs";
3
+ import "./el-icon-l0sNRNKZ.mjs";
4
+ import { E as pe, a as fe } from "./el-col-BY0nB6k3.mjs";
5
+ import { u as _e, a as be, _ as ye } from "./useColumnToggleTable-CC9EXcfR.mjs";
6
+ import { a as Ce, E as he } from "./el-form-item-f-baJSfe.mjs";
7
+ import { defineComponent as ve, reactive as p, resolveComponent as I, resolveDirective as Re, 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 ke, createElementVNode as we } from "vue";
8
+ import ge from "./edit-BTjApg1x.mjs";
9
+ const $e = { class: "app-container" }, Ee = /* @__PURE__ */ we("div", { class: "clear" }, null, -1), Ie = ["onClick"], Te = ["onClick"], Pe = /* @__PURE__ */ ve({
10
+ __name: "index",
11
+ setup(De) {
12
+ const { t: n } = le(), i = p({
13
+ tenant: te().user.tenant,
14
+ roleType: "role"
15
+ });
16
+ let f = p([
17
+ {
18
+ label: n("sysRole.code"),
19
+ width: "140",
20
+ prop: "roleCode",
21
+ isColumn: !0
22
+ },
23
+ {
24
+ label: n("sysRole.name"),
25
+ width: "140",
26
+ prop: "roleName",
27
+ isColumn: !0
28
+ },
29
+ {
30
+ label: n("sysRole.description"),
31
+ prop: "description",
32
+ isColumn: !0
33
+ },
34
+ {
35
+ label: n("sysRole.sort"),
36
+ width: "100",
37
+ columnType: "slot",
38
+ slotName: "sort",
39
+ isColumn: !0
40
+ },
41
+ {
42
+ label: n("common.operate"),
43
+ width: "200",
44
+ slotName: "operation",
45
+ columnType: "slot",
46
+ fixed: "right",
47
+ isColumn: !0
48
+ }
49
+ ]);
50
+ const s = p({
51
+ visible: !1,
52
+ title: ""
53
+ });
54
+ let _ = p({
55
+ roleCode: "",
56
+ roleName: "",
57
+ roleDuty: []
58
+ });
59
+ const D = p({
60
+ list: ae,
61
+ del: ne,
62
+ dels: re,
63
+ up: se,
64
+ down: ie
65
+ }), {
66
+ tableData: N,
67
+ listLoading: V,
68
+ selectionRows: S,
69
+ multipleTableRef: F,
70
+ queryFormRef: w,
71
+ handleQuery: d,
72
+ deleteRecord: B,
73
+ deleteRecords: q,
74
+ handleMoveTop: K,
75
+ // 上移
76
+ handleMoveDown: L
77
+ // 下移
78
+ } = _e(n, D, i), {
79
+ parIndex: P,
80
+ tableArray: z,
81
+ getLocalStorageContent: U,
82
+ fixedChange: x,
83
+ isShowChange: A
84
+ } = be(f, "/system/role");
85
+ function M() {
86
+ w.value.resetFields(), d();
87
+ }
88
+ function Q() {
89
+ for (const o in _)
90
+ _[o] = "";
91
+ s.visible = !0, s.title = n("common.add");
92
+ }
93
+ function j(o) {
94
+ s.title = n("common.edit"), de(o.roleId).then(({ data: r }) => {
95
+ _ = { ...r }, s.visible = !0;
96
+ });
97
+ }
98
+ function W(o) {
99
+ s.visible = o;
100
+ }
101
+ function X(o) {
102
+ o && d();
103
+ }
104
+ function G(o) {
105
+ S.value = o;
106
+ }
107
+ return U(), f = z.value, d(), (o, r) => {
108
+ const g = me, h = Ce, b = ce, H = he, $ = pe, J = ye, O = fe, Y = I("Bottom"), E = ue, Z = I("Top"), ee = oe, y = Re("hasPerm");
109
+ return m(), R("div", $e, [
110
+ l(H, {
111
+ ref_key: "queryFormRef",
112
+ ref: w,
113
+ inline: !0,
114
+ model: e(i)
115
+ }, {
116
+ default: t(() => [
117
+ l(h, {
118
+ label: o.$t("sysRole.code"),
119
+ prop: "roleCode"
120
+ }, {
121
+ default: t(() => [
122
+ l(g, {
123
+ modelValue: e(i).roleCode,
124
+ "onUpdate:modelValue": r[0] || (r[0] = (a) => e(i).roleCode = a),
125
+ placeholder: o.$t("sysRole.codeRequired"),
126
+ onKeyup: T(e(d), ["enter"])
127
+ }, null, 8, ["modelValue", "placeholder", "onKeyup"])
128
+ ]),
129
+ _: 1
130
+ }, 8, ["label"]),
131
+ l(h, {
132
+ label: o.$t("sysRole.name"),
133
+ prop: "likeRoleName"
134
+ }, {
135
+ default: t(() => [
136
+ l(g, {
137
+ modelValue: e(i).likeRoleName,
138
+ "onUpdate:modelValue": r[1] || (r[1] = (a) => e(i).likeRoleName = a),
139
+ placeholder: o.$t("sysRole.nameRequired"),
140
+ onKeyup: T(e(d), ["enter"])
141
+ }, null, 8, ["modelValue", "placeholder", "onKeyup"])
142
+ ]),
143
+ _: 1
144
+ }, 8, ["label"]),
145
+ l(h, { class: "search-container" }, {
146
+ default: t(() => [
147
+ l(b, {
148
+ type: "primary",
149
+ onClick: e(d)
150
+ }, {
151
+ default: t(() => [
152
+ c(u(o.$t("common.search")), 1)
153
+ ]),
154
+ _: 1
155
+ }, 8, ["onClick"]),
156
+ l(b, { onClick: M }, {
157
+ default: t(() => [
158
+ c(u(o.$t("common.reset")), 1)
159
+ ]),
160
+ _: 1
161
+ })
162
+ ]),
163
+ _: 1
164
+ })
165
+ ]),
166
+ _: 1
167
+ }, 8, ["model"]),
168
+ Ee,
169
+ l(O, { justify: "space-between" }, {
170
+ default: t(() => [
171
+ l($, { span: 19 }, {
172
+ default: t(() => [
173
+ C((m(), k(b, {
174
+ type: "primary",
175
+ onClick: Q
176
+ }, {
177
+ default: t(() => [
178
+ c(u(o.$t("common.add")), 1)
179
+ ]),
180
+ _: 1
181
+ })), [
182
+ [y, ["rbac:role:add"]]
183
+ ]),
184
+ C((m(), k(b, {
185
+ type: "primary",
186
+ onClick: r[2] || (r[2] = (a) => e(q)("roleId"))
187
+ }, {
188
+ default: t(() => [
189
+ c(u(o.$t("common.batchDelete")), 1)
190
+ ]),
191
+ _: 1
192
+ })), [
193
+ [y, ["rbac:role:delete"]]
194
+ ])
195
+ ]),
196
+ _: 1
197
+ }),
198
+ l($, {
199
+ span: 5,
200
+ class: "container-float"
201
+ }, {
202
+ default: t(() => [
203
+ l(J, {
204
+ "table-label": e(f),
205
+ "par-index": e(P),
206
+ onFixedChange: e(x),
207
+ onIsShowChange: e(A)
208
+ }, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
209
+ ]),
210
+ _: 1
211
+ })
212
+ ]),
213
+ _: 1
214
+ }),
215
+ l(ee, {
216
+ class: "table-top",
217
+ ref_key: "multipleTableRef",
218
+ ref: F,
219
+ "row-keys": "roleId",
220
+ "list-loading": e(V),
221
+ "table-data": e(N),
222
+ "table-label": e(f),
223
+ onTableSelected: G
224
+ }, {
225
+ sort: t((a) => [
226
+ l(E, {
227
+ size: "16",
228
+ onClick: (v) => e(L)(a.data.row.roleId)
229
+ }, {
230
+ default: t(() => [
231
+ l(Y)
232
+ ]),
233
+ _: 2
234
+ }, 1032, ["onClick"]),
235
+ l(E, {
236
+ size: "16",
237
+ onClick: (v) => e(K)(a.data.row.roleId)
238
+ }, {
239
+ default: t(() => [
240
+ l(Z)
241
+ ]),
242
+ _: 2
243
+ }, 1032, ["onClick"])
244
+ ]),
245
+ operation: t((a) => [
246
+ C((m(), R("span", {
247
+ class: "el-button-color",
248
+ onClick: (v) => j(a.data.row)
249
+ }, [
250
+ c(u(o.$t("common.edit")), 1)
251
+ ], 8, Ie)), [
252
+ [y, ["rbac:role:update"]]
253
+ ]),
254
+ C((m(), R("span", {
255
+ class: "el-button-color dropdown-left",
256
+ onClick: (v) => e(B)(a.data.row.roleId)
257
+ }, [
258
+ c(u(o.$t("common.delete")), 1)
259
+ ], 8, Te)), [
260
+ [y, ["rbac:role:delete"]]
261
+ ])
262
+ ]),
263
+ _: 1
264
+ }, 8, ["list-loading", "table-data", "table-label"]),
265
+ e(s).visible ? (m(), k(ge, {
266
+ key: 0,
267
+ dialog: e(s),
268
+ "form-data": e(_),
269
+ onDialogEvent: W,
270
+ onRefresh: X
271
+ }, null, 8, ["dialog", "form-data"])) : ke("", !0)
272
+ ]);
273
+ };
274
+ }
275
+ });
276
+ export {
277
+ Pe as default
278
+ };
@@ -0,0 +1,63 @@
1
+ import { ar as t, d as a } from "./index-B6wY38lY.mjs";
2
+ function n(e) {
3
+ return t({
4
+ url: "/v1/rbac/role/list",
5
+ method: "get",
6
+ params: e
7
+ });
8
+ }
9
+ function u(e) {
10
+ return t({
11
+ url: "/v1/rbac/role",
12
+ method: "patch",
13
+ data: e
14
+ });
15
+ }
16
+ function s(e) {
17
+ return t({
18
+ url: "/v1/rbac/role",
19
+ method: "post",
20
+ data: e
21
+ });
22
+ }
23
+ function l(e) {
24
+ const r = {
25
+ tenant: a().user.tenant,
26
+ roleId: e
27
+ };
28
+ return t({
29
+ url: "/v1/rbac/role/id",
30
+ method: "delete",
31
+ params: r
32
+ });
33
+ }
34
+ function c(e) {
35
+ const r = {
36
+ tenant: a().user.tenant,
37
+ roleId: e
38
+ };
39
+ return t({
40
+ url: "/v1/rbac/role/batch",
41
+ method: "put",
42
+ data: r
43
+ });
44
+ }
45
+ function d() {
46
+ const e = {
47
+ tenant: a().user.tenant,
48
+ roleType: "job"
49
+ };
50
+ return t({
51
+ url: "/v1/rbac/role/treelist",
52
+ method: "get",
53
+ params: e
54
+ });
55
+ }
56
+ export {
57
+ s as a,
58
+ c as b,
59
+ l as d,
60
+ u as e,
61
+ n as g,
62
+ d as t
63
+ };
@@ -0,0 +1,11 @@
1
+ import { resolveComponent as o, openBlock as r, createBlock as t } from "vue";
2
+ import { _ as n } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
3
+ const c = {};
4
+ function _(s, f) {
5
+ const e = o("router-view");
6
+ return r(), t(e);
7
+ }
8
+ const p = /* @__PURE__ */ n(c, [["render", _]]);
9
+ export {
10
+ p as default
11
+ };