@pubinfo/module-rbac 2.2.0-beta.2 → 2.2.0-beta.3
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/api/modules/assist/index.d.ts +0 -1
- package/dist/api/modules/assist/qunzujiekou.d.ts +28 -0
- package/dist/api/modules/rbac/gangweijiekou.d.ts +7 -0
- package/dist/api/modules/rbac/jiaosejiekou.d.ts +14 -0
- package/dist/api/modules/rbac/yonghujiekou.d.ts +42 -0
- package/dist/api/modules/rbac/ziyuanjiekou.d.ts +7 -0
- package/dist/api/modules/rbac/zuzhijiekou.d.ts +7 -0
- package/dist/drawerOrganization-CeCOW2N1.js +288 -0
- package/dist/index.css +1 -1
- package/dist/index.js +3 -3
- package/dist/{organization-BbFERZ1l.js → organization-HuRdzTFX.js} +3 -1
- package/package.json +3 -3
- package/src/api/modules/assist/index.ts +0 -1
- package/src/api/modules/assist/qunzujiekou.ts +72 -0
- package/src/api/modules/assist/typings.d.ts +17 -129
- package/src/api/modules/rbac/gangweijiekou.ts +18 -0
- package/src/api/modules/rbac/jiaosejiekou.ts +36 -0
- package/src/api/modules/rbac/typings.d.ts +133 -1
- package/src/api/modules/rbac/yonghujiekou.ts +122 -0
- package/src/api/modules/rbac/ziyuanjiekou.ts +21 -0
- package/src/api/modules/rbac/zuzhijiekou.ts +18 -0
- package/src/views/organization/components/drawerOrganization.vue +43 -0
- package/dist/api/modules/assist/gonggaofuwu.d.ts +0 -43
- package/dist/drawerOrganization-DWhTc1fB.js +0 -253
- package/src/api/modules/assist/gonggaofuwu.ts +0 -124
package/dist/index.js
CHANGED
|
@@ -80,7 +80,7 @@ var q = {
|
|
|
80
80
|
"src/views/log_center/login_history.vue": () => import("./login_history-CrXkEsHb.js"),
|
|
81
81
|
"src/views/log_center/operate_history.vue": () => import("./operate_history-BtHgPhmF.js"),
|
|
82
82
|
"src/views/menu_setting/index.vue": () => import("./menu_setting-Br5dOEUk.js"),
|
|
83
|
-
"src/views/organization/index.vue": () => import("./organization-
|
|
83
|
+
"src/views/organization/index.vue": () => import("./organization-HuRdzTFX.js"),
|
|
84
84
|
"src/views/other_setting/index.vue": () => import("./other_setting-D92SlFvl.js"),
|
|
85
85
|
"src/views/page_animation_setting/index.vue": () => import("./page_animation_setting-Cy2R0vZy.js"),
|
|
86
86
|
"src/views/page_w_setting/index.vue": () => import("./page_w_setting-DryWrqcx.js"),
|
|
@@ -104,7 +104,7 @@ var q = {
|
|
|
104
104
|
"src/views/log_center/components/browserType.vue": () => import("./browserType-Bik20-72.js").then((e) => e.n),
|
|
105
105
|
"src/views/log_center/components/loginHistoryDetail.vue": () => import("./loginHistoryDetail-Coba_ajy.js").then((e) => e.n),
|
|
106
106
|
"src/views/log_center/components/operateHistoryDetail.vue": () => import("./operateHistoryDetail-DfDQL5BF.js").then((e) => e.n),
|
|
107
|
-
"src/views/organization/components/drawerOrganization.vue": () => import("./drawerOrganization-
|
|
107
|
+
"src/views/organization/components/drawerOrganization.vue": () => import("./drawerOrganization-CeCOW2N1.js").then((e) => e.n),
|
|
108
108
|
"src/views/organization/components/drawerRole.vue": () => import("./drawerRole-Cjp9iDsa.js").then((e) => e.n),
|
|
109
109
|
"src/views/position/components/drawerPosition.vue": () => import("./drawerPosition-BmM9mLlP.js").then((e) => e.n),
|
|
110
110
|
"src/views/region/components/drawerRegion.vue": () => import("./drawerRegion-BD-xc1x2.js").then((e) => e.n),
|
|
@@ -323,7 +323,7 @@ var Le = Y(function(e, t) {
|
|
|
323
323
|
},
|
|
324
324
|
{
|
|
325
325
|
path: "organization",
|
|
326
|
-
component: () => import("./organization-
|
|
326
|
+
component: () => import("./organization-HuRdzTFX.js"),
|
|
327
327
|
name: "Organization",
|
|
328
328
|
meta: {
|
|
329
329
|
title: "组织管理",
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { o as e, t } from "./chunk-WQLz0Won.js";
|
|
2
2
|
import "./request-7X2hpUru.js";
|
|
3
|
+
import "./OrgSelector-C2rPIonI.js";
|
|
3
4
|
import { t as n } from "./cloneDeep-REaxTPsZ.js";
|
|
4
5
|
import { n as r } from "./dist-DxAYQq3U.js";
|
|
6
|
+
import "./assist-BRMYD-oT.js";
|
|
5
7
|
import { a as i, r as a, s as o, t as s } from "./rbac-B59CVHDt.js";
|
|
6
8
|
import { h as c } from "./index.js";
|
|
7
9
|
import "./not-data-C-MacYF3.js";
|
|
8
10
|
import "./useAppAndResource-D6WnpUPR.js";
|
|
9
|
-
import { r as l, t as u } from "./drawerOrganization-
|
|
11
|
+
import { r as l, t as u } from "./drawerOrganization-CeCOW2N1.js";
|
|
10
12
|
import "./RoleSelector-BTNYbcC6.js";
|
|
11
13
|
import { t as d } from "./drawerRole-Cjp9iDsa.js";
|
|
12
14
|
import { PubinfoIcon as f } from "pubinfo";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pubinfo/module-rbac",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.2.0-beta.
|
|
4
|
+
"version": "2.2.0-beta.3",
|
|
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": "2.2.0-beta.
|
|
28
|
+
"pubinfo": "2.2.0-beta.3"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@destyler/color-picker": "^0.2.6",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"ant-design-vue": "^4.2.6",
|
|
52
52
|
"pinia": "^3.0.4",
|
|
53
53
|
"type-fest": "^5.4.4",
|
|
54
|
-
"pubinfo": "2.2.0-beta.
|
|
54
|
+
"pubinfo": "2.2.0-beta.3"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"dev": "pubinfo build -w --sourcemap",
|
|
@@ -88,6 +88,42 @@ export function postGroupFindPage<
|
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
+
/**
|
|
92
|
+
* @description 获得组织组列表
|
|
93
|
+
* @url /group/getOrgGroupList
|
|
94
|
+
* @method POST
|
|
95
|
+
* @author @pubinfo/openapi
|
|
96
|
+
*/
|
|
97
|
+
export function postGroupGetOrgGroupList<
|
|
98
|
+
R = API.ResponseDataListPubGroupBo,
|
|
99
|
+
T = API.ResponseDataListPubGroupBo,
|
|
100
|
+
>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
101
|
+
return request.Post<R, T>('/group/getOrgGroupList', body, {
|
|
102
|
+
headers: {
|
|
103
|
+
'Content-Type': 'application/json',
|
|
104
|
+
},
|
|
105
|
+
...(options || {}),
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @description 获得用户组列表
|
|
111
|
+
* @url /group/getUserGroupList
|
|
112
|
+
* @method POST
|
|
113
|
+
* @author @pubinfo/openapi
|
|
114
|
+
*/
|
|
115
|
+
export function postGroupGetUserGroupList<
|
|
116
|
+
R = API.ResponseDataListPubGroupBo,
|
|
117
|
+
T = API.ResponseDataListPubGroupBo,
|
|
118
|
+
>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
119
|
+
return request.Post<R, T>('/group/getUserGroupList', body, {
|
|
120
|
+
headers: {
|
|
121
|
+
'Content-Type': 'application/json',
|
|
122
|
+
},
|
|
123
|
+
...(options || {}),
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
|
|
91
127
|
/**
|
|
92
128
|
* @description 群组信息不分页查询 list
|
|
93
129
|
* @url /group/list
|
|
@@ -126,3 +162,39 @@ export function postGroupSaveOrUpdate<
|
|
|
126
162
|
...(options || {}),
|
|
127
163
|
});
|
|
128
164
|
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* @description 校验组织群组们是否有效
|
|
168
|
+
* @url /group/validOrgGroups
|
|
169
|
+
* @method POST
|
|
170
|
+
* @author @pubinfo/openapi
|
|
171
|
+
*/
|
|
172
|
+
export function postGroupValidOrgGroups<
|
|
173
|
+
R = API.ResponseDataVoid,
|
|
174
|
+
T = API.ResponseDataVoid,
|
|
175
|
+
>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
176
|
+
return request.Post<R, T>('/group/validOrgGroups', body, {
|
|
177
|
+
headers: {
|
|
178
|
+
'Content-Type': 'application/json',
|
|
179
|
+
},
|
|
180
|
+
...(options || {}),
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* @description 校验用户群组们是否有效
|
|
186
|
+
* @url /group/validUserGroups
|
|
187
|
+
* @method POST
|
|
188
|
+
* @author @pubinfo/openapi
|
|
189
|
+
*/
|
|
190
|
+
export function postGroupValidUserGroups<
|
|
191
|
+
R = API.ResponseDataVoid,
|
|
192
|
+
T = API.ResponseDataVoid,
|
|
193
|
+
>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
194
|
+
return request.Post<R, T>('/group/validUserGroups', body, {
|
|
195
|
+
headers: {
|
|
196
|
+
'Content-Type': 'application/json',
|
|
197
|
+
},
|
|
198
|
+
...(options || {}),
|
|
199
|
+
});
|
|
200
|
+
}
|
|
@@ -11,21 +11,6 @@ declare namespace API {
|
|
|
11
11
|
showIsCollect?: boolean;
|
|
12
12
|
};
|
|
13
13
|
|
|
14
|
-
type getNoticeDeleteNoticeParams = {
|
|
15
|
-
/** 公告服务id */
|
|
16
|
-
id: string;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
type getNoticeDeleteNoticeSendParams = {
|
|
20
|
-
/** 公告服务推送id */
|
|
21
|
-
id: string;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
type getNoticeDetailNoticeParams = {
|
|
25
|
-
/** 公告服务id */
|
|
26
|
-
id: string;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
14
|
type getRegionDeleteRegionByCodeParams = {
|
|
30
15
|
code: string;
|
|
31
16
|
};
|
|
@@ -47,14 +32,6 @@ declare namespace API {
|
|
|
47
32
|
total?: number;
|
|
48
33
|
};
|
|
49
34
|
|
|
50
|
-
type PageDataPubNotice = {
|
|
51
|
-
currentPage?: number;
|
|
52
|
-
pageSize?: number;
|
|
53
|
-
doSearchTotal?: boolean;
|
|
54
|
-
records?: PubNotice[];
|
|
55
|
-
total?: number;
|
|
56
|
-
};
|
|
57
|
-
|
|
58
35
|
type postGroupDeleteByIdParams = {
|
|
59
36
|
id: string;
|
|
60
37
|
};
|
|
@@ -117,6 +94,9 @@ declare namespace API {
|
|
|
117
94
|
createUserName?: string;
|
|
118
95
|
/** 群组成员信息 */
|
|
119
96
|
pubGroupMemberList?: PubGroupMemberDto[];
|
|
97
|
+
orgIdSet?: string[];
|
|
98
|
+
userIdSet?: string[];
|
|
99
|
+
userIdOrgIdSet?: string[];
|
|
120
100
|
};
|
|
121
101
|
|
|
122
102
|
type pubGroupDto = {
|
|
@@ -155,106 +135,6 @@ declare namespace API {
|
|
|
155
135
|
fullOrgName?: string;
|
|
156
136
|
};
|
|
157
137
|
|
|
158
|
-
type PubNotice = {
|
|
159
|
-
/** id */
|
|
160
|
-
id?: string;
|
|
161
|
-
/** 标题 */
|
|
162
|
-
title?: string;
|
|
163
|
-
/** 公告类型, 1-通知 2-公告 3-升级 */
|
|
164
|
-
type?: string;
|
|
165
|
-
/** 内容 */
|
|
166
|
-
content?: string;
|
|
167
|
-
/** 置顶标识, 0-未置顶,1-置顶 */
|
|
168
|
-
top?: boolean;
|
|
169
|
-
/** 附件地址,多个逗号隔开 */
|
|
170
|
-
url?: string;
|
|
171
|
-
/** 阅读量 */
|
|
172
|
-
reviewCount?: number;
|
|
173
|
-
/** 状态,0-草稿,1-发布,2-下线 */
|
|
174
|
-
status?: string;
|
|
175
|
-
deleted?: boolean;
|
|
176
|
-
/** 创建人id */
|
|
177
|
-
createdBy?: string;
|
|
178
|
-
/** 创建时间 */
|
|
179
|
-
createTime?: string;
|
|
180
|
-
/** 更新人id */
|
|
181
|
-
updatedBy?: string;
|
|
182
|
-
/** 更新时间 */
|
|
183
|
-
updateTime?: string;
|
|
184
|
-
};
|
|
185
|
-
|
|
186
|
-
type PubNoticeDto = {
|
|
187
|
-
/** id */
|
|
188
|
-
id?: string;
|
|
189
|
-
/** 标题 */
|
|
190
|
-
title?: string;
|
|
191
|
-
/** 公告类型, 1-通知 2-公告 3-升级 */
|
|
192
|
-
type?: string;
|
|
193
|
-
/** 内容 */
|
|
194
|
-
content?: string;
|
|
195
|
-
/** 置顶标识, 0-未置顶,1-置顶 */
|
|
196
|
-
top?: boolean;
|
|
197
|
-
/** 附件地址,多个逗号隔开 */
|
|
198
|
-
url?: string;
|
|
199
|
-
/** 阅读量 */
|
|
200
|
-
reviewCount?: number;
|
|
201
|
-
/** 状态,0-草稿,1-发布,2-下线 */
|
|
202
|
-
status?: string;
|
|
203
|
-
/** 创建人id */
|
|
204
|
-
createdBy?: string;
|
|
205
|
-
/** 创建时间 */
|
|
206
|
-
createTime?: string;
|
|
207
|
-
/** 更新人id */
|
|
208
|
-
updatedBy?: string;
|
|
209
|
-
/** 更新时间 */
|
|
210
|
-
updateTime?: string;
|
|
211
|
-
};
|
|
212
|
-
|
|
213
|
-
type PubNoticePageDto = {
|
|
214
|
-
currentPage?: number;
|
|
215
|
-
pageSize?: number;
|
|
216
|
-
doSearchTotal?: boolean;
|
|
217
|
-
/** id */
|
|
218
|
-
id?: string;
|
|
219
|
-
/** 标题 */
|
|
220
|
-
title?: string;
|
|
221
|
-
/** 公告类型, 1-通知 2-公告 3-升级 */
|
|
222
|
-
type?: string;
|
|
223
|
-
/** 内容 */
|
|
224
|
-
content?: string;
|
|
225
|
-
/** 状态,0-草稿,1-发布,2-下线 */
|
|
226
|
-
status?: string;
|
|
227
|
-
};
|
|
228
|
-
|
|
229
|
-
type PubNoticeSendDto = {
|
|
230
|
-
/** id */
|
|
231
|
-
id?: string;
|
|
232
|
-
/** 公告id */
|
|
233
|
-
noticeId?: number;
|
|
234
|
-
/** 接收对象类型 1-组织,2-个人 */
|
|
235
|
-
objectType?: string;
|
|
236
|
-
/** 接收组织,逗号分隔 */
|
|
237
|
-
orgIds?: string;
|
|
238
|
-
/** 接收人-逗号分隔 */
|
|
239
|
-
userIds?: string;
|
|
240
|
-
/** 接收方式(站内、钉钉、email等) */
|
|
241
|
-
channel?: string;
|
|
242
|
-
/** 发送时间 */
|
|
243
|
-
sendTime?: number;
|
|
244
|
-
/** 发送状态(0:等待发送,1:发送成功,2:发送失败) */
|
|
245
|
-
sendState?: string;
|
|
246
|
-
/** 备注 */
|
|
247
|
-
remark?: string;
|
|
248
|
-
/** 创建人id */
|
|
249
|
-
createdBy?: string;
|
|
250
|
-
/** 创建时间 */
|
|
251
|
-
createTime?: string;
|
|
252
|
-
/** 更新人id */
|
|
253
|
-
updatedBy?: string;
|
|
254
|
-
/** 更新时间 */
|
|
255
|
-
updateTime?: string;
|
|
256
|
-
};
|
|
257
|
-
|
|
258
138
|
type PubRegion = {
|
|
259
139
|
/** id */
|
|
260
140
|
id?: string;
|
|
@@ -326,27 +206,27 @@ declare namespace API {
|
|
|
326
206
|
success?: boolean;
|
|
327
207
|
};
|
|
328
208
|
|
|
329
|
-
type
|
|
209
|
+
type ResponseDataListPubGroupBo = {
|
|
330
210
|
code?: number;
|
|
331
211
|
msg?: string;
|
|
332
212
|
hint?: string;
|
|
333
|
-
data?:
|
|
213
|
+
data?: PubGroupBo[];
|
|
334
214
|
success?: boolean;
|
|
335
215
|
};
|
|
336
216
|
|
|
337
|
-
type
|
|
217
|
+
type ResponseDataListPubRegion = {
|
|
338
218
|
code?: number;
|
|
339
219
|
msg?: string;
|
|
340
220
|
hint?: string;
|
|
341
|
-
data?:
|
|
221
|
+
data?: PubRegion[];
|
|
342
222
|
success?: boolean;
|
|
343
223
|
};
|
|
344
224
|
|
|
345
|
-
type
|
|
225
|
+
type ResponseDataPageDataPubGroup = {
|
|
346
226
|
code?: number;
|
|
347
227
|
msg?: string;
|
|
348
228
|
hint?: string;
|
|
349
|
-
data?:
|
|
229
|
+
data?: PageDataPubGroup;
|
|
350
230
|
success?: boolean;
|
|
351
231
|
};
|
|
352
232
|
|
|
@@ -365,4 +245,12 @@ declare namespace API {
|
|
|
365
245
|
data?: PubRegion;
|
|
366
246
|
success?: boolean;
|
|
367
247
|
};
|
|
248
|
+
|
|
249
|
+
type ResponseDataVoid = {
|
|
250
|
+
code?: number;
|
|
251
|
+
msg?: string;
|
|
252
|
+
hint?: string;
|
|
253
|
+
data?: Record<string, any>;
|
|
254
|
+
success?: boolean;
|
|
255
|
+
};
|
|
368
256
|
}
|
|
@@ -130,3 +130,21 @@ export function postRbacPostSave<
|
|
|
130
130
|
...(options || {}),
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @description 校验岗位们是否有效
|
|
136
|
+
* @url /rbac/post/validPostList
|
|
137
|
+
* @method POST
|
|
138
|
+
* @author @pubinfo/openapi
|
|
139
|
+
*/
|
|
140
|
+
export function postRbacPostValidPostList<
|
|
141
|
+
R = API.ResponseDataVoid,
|
|
142
|
+
T = API.ResponseDataVoid,
|
|
143
|
+
>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
144
|
+
return request.Post<R, T>('/rbac/post/validPostList', body, {
|
|
145
|
+
headers: {
|
|
146
|
+
'Content-Type': 'application/json',
|
|
147
|
+
},
|
|
148
|
+
...(options || {}),
|
|
149
|
+
});
|
|
150
|
+
}
|
|
@@ -18,6 +18,24 @@ export function postRbacRoleAddRole<
|
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
/**
|
|
22
|
+
* @description 获得拥有多个角色的用户编号集合
|
|
23
|
+
* @url /rbac/role/getUserRoleIdListByRoleIds
|
|
24
|
+
* @method POST
|
|
25
|
+
* @author @pubinfo/openapi
|
|
26
|
+
*/
|
|
27
|
+
export function postRbacRoleGetUserRoleIdListByRoleIds<
|
|
28
|
+
R = API.ResponseDataPubUserRoleBo,
|
|
29
|
+
T = API.ResponseDataPubUserRoleBo,
|
|
30
|
+
>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
31
|
+
return request.Post<R, T>('/rbac/role/getUserRoleIdListByRoleIds', body, {
|
|
32
|
+
headers: {
|
|
33
|
+
'Content-Type': 'application/json',
|
|
34
|
+
},
|
|
35
|
+
...(options || {}),
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
|
|
21
39
|
/**
|
|
22
40
|
* @description 根据id查询
|
|
23
41
|
* @url /rbac/role/info
|
|
@@ -137,3 +155,21 @@ export function postRbacRoleRoleUserPage<
|
|
|
137
155
|
...(options || {}),
|
|
138
156
|
});
|
|
139
157
|
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* @description 校验角色们是否有效
|
|
161
|
+
* @url /rbac/role/validRoleList
|
|
162
|
+
* @method POST
|
|
163
|
+
* @author @pubinfo/openapi
|
|
164
|
+
*/
|
|
165
|
+
export function postRbacRoleValidRoleList<
|
|
166
|
+
R = API.ResponseDataVoid,
|
|
167
|
+
T = API.ResponseDataVoid,
|
|
168
|
+
>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
169
|
+
return request.Post<R, T>('/rbac/role/validRoleList', body, {
|
|
170
|
+
headers: {
|
|
171
|
+
'Content-Type': 'application/json',
|
|
172
|
+
},
|
|
173
|
+
...(options || {}),
|
|
174
|
+
});
|
|
175
|
+
}
|
|
@@ -332,6 +332,20 @@ declare namespace API {
|
|
|
332
332
|
type postRbacResourceMineOrAllResourceTreeParams = {
|
|
333
333
|
needAll?: boolean;
|
|
334
334
|
enable?: boolean;
|
|
335
|
+
appResourceCodes?: string;
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
type postRbacUserCaptchaChangePasswordWithVerifyCodeParams = {
|
|
339
|
+
/** 原密码(使用公钥加密) */
|
|
340
|
+
oldPassword: string;
|
|
341
|
+
/** 新密码(使用公钥加密) */
|
|
342
|
+
newPassword: string;
|
|
343
|
+
/** 验证码hash,imageCode必填 */
|
|
344
|
+
codeHash: string;
|
|
345
|
+
/** 验证码/token */
|
|
346
|
+
code: string;
|
|
347
|
+
/** 验证码类型 */
|
|
348
|
+
captchaType: string;
|
|
335
349
|
};
|
|
336
350
|
|
|
337
351
|
type postRbacUserChangePasswordParams = {
|
|
@@ -352,6 +366,10 @@ declare namespace API {
|
|
|
352
366
|
code: string;
|
|
353
367
|
};
|
|
354
368
|
|
|
369
|
+
type postRbacUserGetUserParams = {
|
|
370
|
+
id: string;
|
|
371
|
+
};
|
|
372
|
+
|
|
355
373
|
type postRbacUserResetPasswordParams = {
|
|
356
374
|
/** 用户id */
|
|
357
375
|
userId: string;
|
|
@@ -433,6 +451,12 @@ declare namespace API {
|
|
|
433
451
|
collect?: boolean;
|
|
434
452
|
/** 租户id */
|
|
435
453
|
tenantId?: string;
|
|
454
|
+
/** 组织负责人id */
|
|
455
|
+
leaderUserId?: string;
|
|
456
|
+
/** 组织负责人的orgId */
|
|
457
|
+
leaderUserOrgId?: string;
|
|
458
|
+
/** 组织负责人姓名 */
|
|
459
|
+
leaderUserName?: string;
|
|
436
460
|
};
|
|
437
461
|
|
|
438
462
|
type PubOrgAddDto = {
|
|
@@ -460,6 +484,12 @@ declare namespace API {
|
|
|
460
484
|
contactMobile?: string;
|
|
461
485
|
/** 扩展信息 */
|
|
462
486
|
extendInfo?: Record<string, any>;
|
|
487
|
+
/** 组织负责人id */
|
|
488
|
+
leaderUserId?: string;
|
|
489
|
+
/** 组织负责人的orgId */
|
|
490
|
+
leaderUserOrgId?: string;
|
|
491
|
+
/** 组织负责人姓名 */
|
|
492
|
+
leaderUserName?: string;
|
|
463
493
|
};
|
|
464
494
|
|
|
465
495
|
type PubOrgBo = {
|
|
@@ -515,6 +545,12 @@ declare namespace API {
|
|
|
515
545
|
collect?: boolean;
|
|
516
546
|
/** 租户id */
|
|
517
547
|
tenantId?: string;
|
|
548
|
+
/** 组织负责人id */
|
|
549
|
+
leaderUserId?: string;
|
|
550
|
+
/** 组织负责人的orgId */
|
|
551
|
+
leaderUserOrgId?: string;
|
|
552
|
+
/** 组织负责人姓名 */
|
|
553
|
+
leaderUserName?: string;
|
|
518
554
|
/** 父组织名称 */
|
|
519
555
|
parentName?: string;
|
|
520
556
|
/** 是否继承,0:否,1:是 */
|
|
@@ -608,6 +644,12 @@ declare namespace API {
|
|
|
608
644
|
collect?: boolean;
|
|
609
645
|
/** 租户id */
|
|
610
646
|
tenantId?: string;
|
|
647
|
+
/** 组织负责人id */
|
|
648
|
+
leaderUserId?: string;
|
|
649
|
+
/** 组织负责人的orgId */
|
|
650
|
+
leaderUserOrgId?: string;
|
|
651
|
+
/** 组织负责人姓名 */
|
|
652
|
+
leaderUserName?: string;
|
|
611
653
|
/** 子节点 */
|
|
612
654
|
children?: PubOrgTreeBo[];
|
|
613
655
|
};
|
|
@@ -637,6 +679,12 @@ declare namespace API {
|
|
|
637
679
|
contactMobile?: string;
|
|
638
680
|
/** 扩展信息 */
|
|
639
681
|
extendInfo?: Record<string, any>;
|
|
682
|
+
/** 组织负责人id */
|
|
683
|
+
leaderUserId?: string;
|
|
684
|
+
/** 组织负责人的orgId */
|
|
685
|
+
leaderUserOrgId?: string;
|
|
686
|
+
/** 组织负责人姓名 */
|
|
687
|
+
leaderUserName?: string;
|
|
640
688
|
};
|
|
641
689
|
|
|
642
690
|
type PubPost = {
|
|
@@ -801,6 +849,13 @@ declare namespace API {
|
|
|
801
849
|
md5?: string;
|
|
802
850
|
};
|
|
803
851
|
|
|
852
|
+
type PubResourceReSortUpdateDTO = {
|
|
853
|
+
/** 资源id */
|
|
854
|
+
id?: string;
|
|
855
|
+
/** 子资源列表 */
|
|
856
|
+
children?: PubResourceReSortUpdateDTO[];
|
|
857
|
+
};
|
|
858
|
+
|
|
804
859
|
type PubResourceTreeBo = {
|
|
805
860
|
/** 主键 */
|
|
806
861
|
id?: string;
|
|
@@ -1215,6 +1270,53 @@ declare namespace API {
|
|
|
1215
1270
|
createTime?: string;
|
|
1216
1271
|
};
|
|
1217
1272
|
|
|
1273
|
+
type PubUser = {
|
|
1274
|
+
/** 主键 */
|
|
1275
|
+
id?: string;
|
|
1276
|
+
/** 所属组织,当前为组织 */
|
|
1277
|
+
orgId?: string;
|
|
1278
|
+
/** 登录账号 */
|
|
1279
|
+
loginName?: string;
|
|
1280
|
+
/** 登录密码 */
|
|
1281
|
+
loginPassword?: string;
|
|
1282
|
+
/** 真实姓名 */
|
|
1283
|
+
realName?: string;
|
|
1284
|
+
/** 性别 0:未知,1:男,2:女 */
|
|
1285
|
+
sex?: string;
|
|
1286
|
+
/** 昵称 */
|
|
1287
|
+
nickName?: string;
|
|
1288
|
+
/** 手机号 */
|
|
1289
|
+
mobile?: string;
|
|
1290
|
+
/** 联系地址 */
|
|
1291
|
+
address?: string;
|
|
1292
|
+
/** 身份证号码 */
|
|
1293
|
+
idCard?: string;
|
|
1294
|
+
/** 用户头像 */
|
|
1295
|
+
userPic?: string;
|
|
1296
|
+
/** 电子邮箱 */
|
|
1297
|
+
email?: string;
|
|
1298
|
+
/** 描述 */
|
|
1299
|
+
description?: string;
|
|
1300
|
+
/** 是否启用,0:否,1:是 */
|
|
1301
|
+
enable?: boolean;
|
|
1302
|
+
/** 是否删除,0:否,1:是 */
|
|
1303
|
+
deleted?: boolean;
|
|
1304
|
+
/** 创建id */
|
|
1305
|
+
createdBy?: string;
|
|
1306
|
+
/** 创建时间 */
|
|
1307
|
+
createTime?: string;
|
|
1308
|
+
/** 更新人id */
|
|
1309
|
+
updatedBy?: string;
|
|
1310
|
+
/** 更新时间 */
|
|
1311
|
+
updateTime?: string;
|
|
1312
|
+
userType?: string;
|
|
1313
|
+
/** 扩展信息 */
|
|
1314
|
+
extendInfo?: Record<string, any>;
|
|
1315
|
+
/** 是否收藏 */
|
|
1316
|
+
collect?: boolean;
|
|
1317
|
+
tenantId?: string;
|
|
1318
|
+
};
|
|
1319
|
+
|
|
1218
1320
|
type PubUserAddDto = {
|
|
1219
1321
|
/** 登录账号 */
|
|
1220
1322
|
loginName?: string;
|
|
@@ -1471,6 +1573,12 @@ declare namespace API {
|
|
|
1471
1573
|
showIsCollect?: boolean;
|
|
1472
1574
|
};
|
|
1473
1575
|
|
|
1576
|
+
type PubUserRoleBo = {
|
|
1577
|
+
orgIdSet?: string[];
|
|
1578
|
+
userIdSet?: string[];
|
|
1579
|
+
userIdOrgIdSet?: string[];
|
|
1580
|
+
};
|
|
1581
|
+
|
|
1474
1582
|
type PubUserSplitOrgQueryDto = {
|
|
1475
1583
|
currentPage?: number;
|
|
1476
1584
|
pageSize?: number;
|
|
@@ -1666,6 +1774,14 @@ declare namespace API {
|
|
|
1666
1774
|
success?: boolean;
|
|
1667
1775
|
};
|
|
1668
1776
|
|
|
1777
|
+
type ResponseDataListPubUser = {
|
|
1778
|
+
code?: number;
|
|
1779
|
+
msg?: string;
|
|
1780
|
+
hint?: string;
|
|
1781
|
+
data?: PubUser[];
|
|
1782
|
+
success?: boolean;
|
|
1783
|
+
};
|
|
1784
|
+
|
|
1669
1785
|
type ResponseDataListPubUserDto = {
|
|
1670
1786
|
code?: number;
|
|
1671
1787
|
msg?: string;
|
|
@@ -1890,6 +2006,14 @@ declare namespace API {
|
|
|
1890
2006
|
success?: boolean;
|
|
1891
2007
|
};
|
|
1892
2008
|
|
|
2009
|
+
type ResponseDataPubUser = {
|
|
2010
|
+
code?: number;
|
|
2011
|
+
msg?: string;
|
|
2012
|
+
hint?: string;
|
|
2013
|
+
data?: PubUser;
|
|
2014
|
+
success?: boolean;
|
|
2015
|
+
};
|
|
2016
|
+
|
|
1893
2017
|
type ResponseDataPubUserBo = {
|
|
1894
2018
|
code?: number;
|
|
1895
2019
|
msg?: string;
|
|
@@ -1906,6 +2030,14 @@ declare namespace API {
|
|
|
1906
2030
|
success?: boolean;
|
|
1907
2031
|
};
|
|
1908
2032
|
|
|
2033
|
+
type ResponseDataPubUserRoleBo = {
|
|
2034
|
+
code?: number;
|
|
2035
|
+
msg?: string;
|
|
2036
|
+
hint?: string;
|
|
2037
|
+
data?: PubUserRoleBo;
|
|
2038
|
+
success?: boolean;
|
|
2039
|
+
};
|
|
2040
|
+
|
|
1909
2041
|
type ResponseDataPubUserUsed = {
|
|
1910
2042
|
code?: number;
|
|
1911
2043
|
msg?: string;
|
|
@@ -1985,7 +2117,7 @@ declare namespace API {
|
|
|
1985
2117
|
/** 群组id */
|
|
1986
2118
|
groups?: shujuquanxianmokuaihuixiandequnzuduixiang[];
|
|
1987
2119
|
/** 资源id */
|
|
1988
|
-
resources?:
|
|
2120
|
+
resources?: PubResource[];
|
|
1989
2121
|
};
|
|
1990
2122
|
|
|
1991
2123
|
type shujuquanxianchaxunduixiang = {
|