@pubinfo-pr/module-rbac 0.237.1 → 0.238.1
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/{ImportExport-Cy_4EJLq.js → ImportExport-DQMazezO.js} +1 -1
- package/dist/ImportExport-Dd1IyiCu.js +2 -0
- package/dist/{OrgAndPosition-COhhOBJL.js → OrgAndPosition-_kg0nUpM.js} +2 -2
- package/dist/{OrgSelector-BX08YC6x.js → OrgSelector-BJ5G-a4Y.js} +11 -11
- package/dist/{OrgUserSelector-DmmJMv-T.js → OrgUserSelector-BR1vZxMW.js} +1 -1
- package/dist/ResourceEdit-fUiwrI6g.js +2 -0
- package/dist/{ResourceEdit-3mgwBq-u.js → ResourceEdit-qfW7ZTBY.js} +1 -1
- package/dist/{ResourceRelation-B4652Ceb.js → ResourceRelation-CPbY9xD_.js} +1 -1
- package/dist/{ResourceRelation-R6cdzbIi.js → ResourceRelation-D4jJ2x_5.js} +1 -1
- package/dist/{RoleRelation-DCIke8tM.js → RoleRelation-Byw_4bmK.js} +1 -1
- package/dist/{RoleSelector-AE2dfmlz.js → RoleSelector-88VcMa9Z.js} +1 -1
- package/dist/{TenantEdit-KZYEtH3w.js → TenantEdit-Bchb-JY-.js} +1 -1
- package/dist/{UserAuthorization-DOpcNUCm.js → UserAuthorization-CaQ_buwK.js} +2 -2
- package/dist/{UserEdit-BptyAvXG.js → UserEdit-C5A2VI8P.js} +2 -2
- package/dist/{assist-CCEHZYbk.js → assist-DtXGA4HH.js} +2 -2
- package/dist/{blackWhiteList-SNDF6H2d.js → blackWhiteList-CIyYjVhH.js} +2 -2
- package/dist/{breadcrumb_setting-DnAbw6Ty.js → breadcrumb_setting-B1NN1tZT.js} +1 -1
- package/dist/{configData-CSxIdgBO.js → configData-BZhc9Yd1.js} +3 -3
- package/dist/{createAndEditDataPermission-0LzmHcCV.js → createAndEditDataPermission-DXUO4uBZ.js} +4 -4
- package/dist/{data-permission-BNwvh8Cy.js → data-permission-BUhXz5vm.js} +2 -2
- package/dist/{dictionary-DDTrw8BQ.js → dictionary-BwEONtTd.js} +2 -2
- package/dist/{drawerBlackWhiteList-dHAREMtd.js → drawerBlackWhiteList-Bl4F4N6F.js} +1 -1
- package/dist/{drawerDictionary-Dq0MnTak.js → drawerDictionary-CBlOWebc.js} +1 -1
- package/dist/{drawerDictionaryItem-C3XC0ZTH.js → drawerDictionaryItem-eYFb5_Lb.js} +1 -1
- package/dist/{drawerGroup-BzQHpv61.js → drawerGroup-CQZQewhP.js} +2 -2
- package/dist/{drawerOrganization-BvQcr5AP.js → drawerOrganization-DLMiwF8r.js} +3 -3
- package/dist/{drawerPosition-Cc6zxMDa.js → drawerPosition-DHXZq5lO.js} +2 -2
- package/dist/{drawerRegion-r3LaT1oP.js → drawerRegion-BJc3No0M.js} +2 -2
- package/dist/{drawerRole-saCktlhp.js → drawerRole-CShH8qc-.js} +2 -2
- package/dist/{drawerRole-Bh3eb9Hr.js → drawerRole-CzaOsHgu.js} +3 -3
- package/dist/{drawerRole-CXDcX8Wv.js → drawerRole-jmk1LgFW.js} +2 -2
- package/dist/{group-BKjChIg2.js → group-BoWNYw_h.js} +3 -3
- package/dist/group.css +1 -1
- package/dist/index.js +72 -72
- package/dist/{itemlist-BowSBoEx.js → itemlist-ByQZWQ1F.js} +2 -2
- package/dist/{layout_setting-DOodE1ZC.js → layout_setting-CFtqhbB_.js} +1 -1
- package/dist/{menu_setting-BPqs2Reh.js → menu_setting-D_LDqLmn.js} +1 -1
- package/dist/{organization-BPJXMIsl.js → organization-nmoVACcT.js} +3 -3
- package/dist/{other_setting-BmN5mDQu.js → other_setting-DrfvX5zd.js} +1 -1
- package/dist/{page_animation_setting-B0ZMSxPR.js → page_animation_setting-EFEYwIJd.js} +1 -1
- package/dist/{page_w_setting-D4rHkTZk.js → page_w_setting-BwmjTktf.js} +1 -1
- package/dist/{position-Bqcr98mj.js → position-C9VQ2VWc.js} +2 -2
- package/dist/{rbac-MKC8Y6Bl.js → rbac-CoI70Mn6.js} +3 -3
- package/dist/{region-BYNJ5YPt.js → region-Bib3Hc7A.js} +2 -2
- package/dist/{resource-BAjLl4BQ.js → resource-BmGld3wI.js} +4 -4
- package/dist/{role-B92mU8Xy.js → role-CBXbWWER.js} +3 -3
- package/dist/{role_group-B8A2VV7y.js → role_group-CLKcK91Q.js} +2 -2
- package/dist/{safe_setting-Ct-ZuM22.js → safe_setting-ZPhrrvLz.js} +1 -1
- package/dist/{tabbar_setting-D_yX_4DE.js → tabbar_setting-DAcSwtpO.js} +1 -1
- package/dist/{tenant-C9ecwsxr.js → tenant-Cp4OCzr-.js} +2 -2
- package/dist/{theme_setting-CVKpSR14.js → theme_setting-Dnxia-5l.js} +1 -1
- package/dist/{toolbar_setting-D09MJTQ0.js → toolbar_setting-Db1tGi8x.js} +1 -1
- package/dist/{useAppAndResource-CBlPPcNy.js → useAppAndResource-88xwSqJN.js} +1 -1
- package/dist/{user-DJ35BYay.js → user-lFOVmD5i.js} +11 -11
- package/dist/{watermark_setting-Cr4Xmwhh.js → watermark_setting-D_FjSd40.js} +1 -1
- package/package.json +3 -3
- package/src/views/dictionary/index.vue +2 -2
- package/src/views/dictionary/itemlist.vue +2 -2
- package/src/views/group/index.vue +2 -2
- package/src/views/position/index.vue +2 -2
- package/src/views/user/index.vue +2 -2
- package/dist/ImportExport-BVxWc6FR.js +0 -2
- package/dist/ResourceEdit-CsfgDKOf.js +0 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pubinfo-pr/module-rbac",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.238.1",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"alova": "^3.5.0",
|
|
26
26
|
"ant-design-vue": "^4.2.6",
|
|
27
27
|
"pinia": "^3.0.4",
|
|
28
|
-
"pubinfo-pr": "0.
|
|
28
|
+
"pubinfo-pr": "0.238.1"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@destyler/color-picker": "^0.2.6",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"alova": "^3.5.0",
|
|
51
51
|
"ant-design-vue": "^4.2.6",
|
|
52
52
|
"pinia": "^3.0.4",
|
|
53
|
-
"pubinfo-pr": "0.
|
|
53
|
+
"pubinfo-pr": "0.238.1",
|
|
54
54
|
"type-fest": "^5.4.4"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { ProColumns } from '@pubinfo/pro-components';
|
|
3
3
|
import { ProTable } from '@pubinfo/pro-components';
|
|
4
4
|
import { message, Modal } from 'ant-design-vue';
|
|
5
|
-
import {
|
|
5
|
+
import { postDictTypeDeleteById, postDictTypePage } from '@/api/modules/configData';
|
|
6
6
|
import DrawerDictionary from './components/drawerDictionary.vue';
|
|
7
7
|
import { ACTION } from './enum';
|
|
8
8
|
|
|
@@ -99,7 +99,7 @@ function onAction(key: string, record?: API.DictTypeVo): void {
|
|
|
99
99
|
title: '删除',
|
|
100
100
|
content: '确定要删除该类型吗?',
|
|
101
101
|
onOk() {
|
|
102
|
-
|
|
102
|
+
postDictTypeDeleteById({ id: record?.id as string })
|
|
103
103
|
.then((res: API.ResponseDataVoid) => {
|
|
104
104
|
if (res.success) {
|
|
105
105
|
message.success('删除成功');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { ProColumns } from '@pubinfo/pro-components';
|
|
3
3
|
import { ProTable } from '@pubinfo/pro-components';
|
|
4
4
|
import { Badge, message, Modal } from 'ant-design-vue';
|
|
5
|
-
import {
|
|
5
|
+
import { postDictItemDeleteById, postDictItemPage } from '@/api/modules/configData';
|
|
6
6
|
import drawerDictionaryItem from './components/drawerDictionaryItem.vue';
|
|
7
7
|
import { ACTION } from './enum';
|
|
8
8
|
|
|
@@ -87,7 +87,7 @@ function onAction(key: string, record?: API.DictItemVo): void {
|
|
|
87
87
|
title: '删除',
|
|
88
88
|
content: '确定要删除该字典数据吗?',
|
|
89
89
|
onOk() {
|
|
90
|
-
|
|
90
|
+
postDictItemDeleteById({ id: record?.id as string }).then((res: API.ResponseDataVoid) => {
|
|
91
91
|
if (res.success) {
|
|
92
92
|
message.success('删除成功');
|
|
93
93
|
getDictData();
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { ProColumns } from '@pubinfo/pro-components';
|
|
3
3
|
import { ProTable } from '@pubinfo/pro-components';
|
|
4
4
|
import { message, Modal } from 'ant-design-vue';
|
|
5
|
-
import {
|
|
5
|
+
import { postGroupDeleteById, postGroupFindPage } from '@/api/modules/assist';
|
|
6
6
|
import DrawerGroup from './components/drawerGroup.vue';
|
|
7
7
|
import { ACTION } from './enum';
|
|
8
8
|
|
|
@@ -112,7 +112,7 @@ function onAction(key: string, type: string, record?: API.PubGroup): void {
|
|
|
112
112
|
title: '删除',
|
|
113
113
|
content: '确定要删除该群组吗?',
|
|
114
114
|
onOk() {
|
|
115
|
-
|
|
115
|
+
postGroupDeleteById({ id: record?.id as string })
|
|
116
116
|
.then(({ success }) => {
|
|
117
117
|
if (success) {
|
|
118
118
|
message.success('删除成功');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { ProColumns } from '@pubinfo/pro-components';
|
|
3
3
|
import { ProTable } from '@pubinfo/pro-components';
|
|
4
4
|
import { Badge, message, Modal } from 'ant-design-vue';
|
|
5
|
-
import {
|
|
5
|
+
import { postRbacPostDeleteById, postRbacPostFindPage } from '@/api/modules/rbac';
|
|
6
6
|
import DrawerPosition from './components/drawerPosition.vue';
|
|
7
7
|
import { ACTION } from './enum';
|
|
8
8
|
|
|
@@ -107,7 +107,7 @@ function onAction(key: string, record?: API.PubPost): void {
|
|
|
107
107
|
title: '删除',
|
|
108
108
|
content: '确定要删除该岗位吗?',
|
|
109
109
|
onOk() {
|
|
110
|
-
|
|
110
|
+
postRbacPostDeleteById({ id: record?.id as string }).then((res: API.ResponseDataVoid) => {
|
|
111
111
|
if (res.success) {
|
|
112
112
|
message.success('删除成功');
|
|
113
113
|
getPositionData();
|
package/src/views/user/index.vue
CHANGED
|
@@ -4,7 +4,7 @@ import type { EventDataNode } from 'ant-design-vue/es/tree';
|
|
|
4
4
|
import type { CurrentOrg, Data, Query } from './interface';
|
|
5
5
|
import { ProTable } from '@pubinfo/pro-components';
|
|
6
6
|
import { Badge, message, Modal, Popover, Space } from 'ant-design-vue';
|
|
7
|
-
import { getRbacUserUserDelete,
|
|
7
|
+
import { getRbacUserUserDelete, postRbacUserResetPassword, postRbacUserUserPage } from '@/api/modules/rbac';
|
|
8
8
|
import UserAuthorization from './components/UserAuthorization.vue';
|
|
9
9
|
import UserEdit from './components/UserEdit.vue';
|
|
10
10
|
import { ACTION } from './enum';
|
|
@@ -168,7 +168,7 @@ function onAction(key: ACTION, record?: Data) {
|
|
|
168
168
|
title: '重置密码',
|
|
169
169
|
content: '确定要重置该用户密码吗?',
|
|
170
170
|
async onOk() {
|
|
171
|
-
const res = await
|
|
171
|
+
const res = await postRbacUserResetPassword({ userId: record?.id as string });
|
|
172
172
|
if (res.success) {
|
|
173
173
|
message.success('重置密码成功');
|
|
174
174
|
}
|