|
@@ -19,6 +19,7 @@ enum Api {
|
|
|
deleteRecycleBin = '/sys/user/deleteRecycleBin',
|
|
|
allRolesList = '/sys/role/queryall',
|
|
|
allRolesListNoByTenant = '/sys/role/queryallNoByTenant',
|
|
|
+ queryallGroupByApp = '/sys/role/queryallGroupByApp',
|
|
|
allTenantList = '/sys/tenant/queryList',
|
|
|
allPostList = '/sys/position/list',
|
|
|
userDepartList = '/sys/user/userDepartList',
|
|
@@ -28,9 +29,10 @@ enum Api {
|
|
|
userQuitAgent = '/sys/user/userQuitAgent',
|
|
|
getQuitList = '/sys/user/getQuitList',
|
|
|
putCancelQuit = '/sys/user/putCancelQuit',
|
|
|
- updateUserTenantStatus='/sys/tenant/updateUserTenantStatus',
|
|
|
- getUserTenantPageList='/sys/tenant/getUserTenantPageList',
|
|
|
- getDeptList="/sys/sysDepart/listAll",
|
|
|
+ updateUserTenantStatus = '/sys/tenant/updateUserTenantStatus',
|
|
|
+ getUserTenantPageList = '/sys/tenant/getUserTenantPageList',
|
|
|
+ getDeptList = "/sys/sysDepart/listAll",
|
|
|
+ userComplexConditionTwo = '/sys/user/userComplexConditionTwo',
|
|
|
}
|
|
|
/**
|
|
|
* 导出api
|
|
@@ -125,6 +127,11 @@ export const duplicateCheckDelay = (params) => {
|
|
|
* @param params
|
|
|
*/
|
|
|
export const getAllRolesList = (params) => defHttp.get({ url: Api.allRolesList, params });
|
|
|
+
|
|
|
+/**
|
|
|
+ * 获取全部角色(根据应用分组)
|
|
|
+ */
|
|
|
+export const queryallGroupByApp = () => defHttp.get({ url: Api.queryallGroupByApp });
|
|
|
/**
|
|
|
* 获取全部角色(不租户隔离)
|
|
|
* @param params
|
|
@@ -253,3 +260,9 @@ export const exportUserList = (params) => {
|
|
|
|
|
|
return defHttp.get({ url: Api.exportXls, params, responseType: 'blob' });
|
|
|
};
|
|
|
+/**
|
|
|
+ * 用户复合查询2
|
|
|
+ */
|
|
|
+export const userComplexConditionTwo = (params) => {
|
|
|
+ return defHttp.post({ url: Api.userComplexConditionTwo, params });
|
|
|
+};
|