edit
This commit is contained in:
@ -6,13 +6,13 @@ import { BaseService } from '@shared';
|
||||
})
|
||||
export class MenuManagerService extends BaseService {
|
||||
// 新增/更新菜单
|
||||
$api_add_one = `/scm/cuc/cuc/functionInfo/saveFunctionInfo`;
|
||||
$api_add_one = `/api/mdc/cuc/functionInfo/saveFunctionInfo`;
|
||||
|
||||
// 根据应用ID获取所有菜单
|
||||
$api_get_all = `/scm/cuc/cuc/functionInfo/getAllFunctionInfoByAppId`;
|
||||
|
||||
// 根据i18n和应用ID获取菜单
|
||||
$api_get_one = `/scm/cuc/cuc/functionInfo/getFunctionsInfoByI18n?_allow_badcode=true`;
|
||||
// 根据应用ID获取菜单
|
||||
$api_get_one = `/api/mdc/cuc/functionInfo/getAllFunctionInfoByAppId?_allow_badcode=true`;
|
||||
|
||||
// 删除多个菜单
|
||||
$api_del_many = `/scm/cuc/cuc/functionInfo/deletebatchFunctionInfo`;
|
||||
|
||||
@ -1,132 +0,0 @@
|
||||
import { Injectable, Injector } from '@angular/core';
|
||||
import { BaseService } from '@shared';
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class UserService extends BaseService {
|
||||
// 保存单个实例接口地址
|
||||
$api_save_one = '/tms/cuc/oaUserHarvestAddress/save';
|
||||
// 保存多个实例接口地址
|
||||
$api_save_many = '';
|
||||
// 删除一个实例接口地址
|
||||
$api_del_one = '';
|
||||
// 删除多个实例接口地址
|
||||
$api_del_many = '/tms/cuc/oaUserHarvestAddress/deletebatch';
|
||||
// 获取单个实例接口地址
|
||||
$api_get_one = '/bcp/cuc/cuc/userInfo/getUserDetailByUserId';
|
||||
// 获取多个实例接口地址
|
||||
$api_get_many = '';
|
||||
// 获取实例分页数据接口地址
|
||||
$api_get_page = '/bcp/cuc/cuc/userInfo/getUserInfoListPage';
|
||||
// 导出接口地址
|
||||
$api_export = '/bcp/cuc/cuc/userInfo/exportUserList';
|
||||
// 导入接口地址
|
||||
$api_import = '';
|
||||
// 导入模板下载地址
|
||||
$api_import_download_tpl = '';
|
||||
// 获取项目列表
|
||||
$api_getProjectInfoList = '/scm/cuc/cuc/projectInfo/getProjectInfoList';
|
||||
// 根据项目获取应用列表
|
||||
$api_getAppInfoListByProjectId = '/scm/cuc/cuc/appInfo/getAppInfoListByProjectId';
|
||||
// 根据应用获取菜单列表
|
||||
$api_getAllFunctionInfoByAppId = '/scm/cuc/cuc/functionInfo/getAllFunctionInfoByAppId';
|
||||
// 获取菜单已拥有的按钮
|
||||
$api_getFunctionButtonInfo = '/scm/cuc/cuc/functionButton/getFunctionButtonInfo';
|
||||
// 获取菜单已拥有的数据字典
|
||||
$api_getFunctionDataInfo = '/scm/cuc/cuc/functionData/getFunctionDataInfo';
|
||||
// 获取所有按钮
|
||||
$api_getButtonInfoList = '/scm/cuc/cuc/buttonInfo/getButtonInfoList';
|
||||
// 获取按钮列表
|
||||
$api_getButtonInfoPage = '/scm/cuc/cuc/buttonInfo/getButtonInfoPage';
|
||||
// 新增编辑按钮信息
|
||||
$api_saveButtonInfo = '/scm/cuc/cuc/buttonInfo/saveButtonInfo';
|
||||
// 查看菜单信息
|
||||
$api_getFunctionInfo = '/scm/cuc/cuc/functionInfo/getFunctionInfo';
|
||||
|
||||
// 删除
|
||||
$api_deletebatchButton = '/scm/cuc/cuc/buttonInfo/deletebatchButton';
|
||||
// 新增 and 编辑
|
||||
$api_saveFunctionInfo = '/scm/cuc/cuc/functionInfo/saveFunctionInfo';
|
||||
// 删除菜单(含多个)
|
||||
$api_deletebatchFunctionInfo = '/scm/cuc/cuc/functionInfo/deletebatchFunctionInfo';
|
||||
// 字典列表
|
||||
$api_getDictTree = '/scce/pbc/pbc/dict/getDictTree';
|
||||
// 删除字典
|
||||
$api_delete = '/scce/pbc/pbc/dict/delete';
|
||||
// 删除字典选项
|
||||
$api_deleteById = '/scce/pbc/pbc/dictItems/deleteById';
|
||||
// 字典详情
|
||||
$api_getDictItemsByDictId = '/scce/pbc/pbc/dictItems/getDictItemsByDictId';
|
||||
// 编辑字典
|
||||
$api_dictUpdate = '/scce/pbc/pbc/dict/update';
|
||||
// 新增字典
|
||||
$api_dictSave = '/scce/pbc/pbc/dict/save';
|
||||
// 编辑字典选项
|
||||
$api_dictItemsUpdate = '/scce/pbc/pbc/dictItems/update';
|
||||
// 新增字典选项
|
||||
$api_dictItemsSave = '/scce/pbc/pbc/dictItems/save';
|
||||
// 角色模板列表查询
|
||||
$api_getRoleTemplateInfoList = '/scm/cuc/cuc/roleTemplateInfo/getRoleTemplateInfoList';
|
||||
// 删除角色模板(含多个)
|
||||
$api_removeRoleTemplateInfo = '/scm/cuc/cuc/roleTemplateInfo/removeRoleTemplateInfo';
|
||||
// 编辑角色模板信息
|
||||
$api_updateRoleTemplateInfo = '/scm/cuc/cuc/roleTemplateInfo/updateRoleTemplateInfo';
|
||||
// 获取角色详情
|
||||
$api_getRoleInfo = '/scm/cuc/cuc/roleInfo/getRoleInfo';
|
||||
// 角色列表
|
||||
$api_getAppRoleInfoList = '/scm/cuc/cuc/roleInfo/getAppRoleInfoList';
|
||||
// 删除角色
|
||||
$api_removeRoleInfo = '/scm/cuc/cuc/roleInfo/removeRoleInfo';
|
||||
// 编辑角色
|
||||
$api_updateRoleInfo = '/scm/cuc/cuc/roleInfo/updateRoleInfo';
|
||||
// 获取角色模板详情
|
||||
$api_getRoleTemplateInfo = '/scm/cuc/cuc/roleTemplateInfo/getRoleTemplateInfo';
|
||||
// 获取角色模板权限
|
||||
$api_getRoleTemplateAuthority = '/scm/cuc/cuc/roleTemplateInfo/getRoleTemplateAuthority';
|
||||
// 角色菜单下已拥有按钮权限
|
||||
$api_getRoleFunctionButtonAuthority = '/scm/cuc/cuc/roleAuthority/getRoleFunctionButtonAuthority';
|
||||
// 角色菜单下已拥有数据权限
|
||||
$api_getRoleFunctionDataAuthorit = '/scm/cuc/cuc/roleAuthority/getRoleFunctionDataAuthority';
|
||||
// 用户角色关系列表
|
||||
$api_getUserRoleList = '/scm/cuc/cuc/userAuthority/getUserRoleList';
|
||||
// 删除用户角色关系列表
|
||||
$api_deleteUserAuthority = '/scm/cuc/cuc/userAuthority/deleteUserAuthority';
|
||||
// 用户列表
|
||||
$api_getUserListPage = '/scm/cuc/cuc/userBasicInfo/getUserListPage';
|
||||
// 获取所有应用
|
||||
$api_getAppList = '/scm/cuc/cuc/appInfo/getAppList';
|
||||
// 用户详情
|
||||
$api_getUserInfo = '/scm/cuc/cuc/userBasicInfo/getUserInfo';
|
||||
// 获取用户下所有应用
|
||||
$api_getAppInfoByUserId = '/scm/cuc/cuc/userApp/getAppInfoByUserId';
|
||||
// 获取用户下所有企业
|
||||
$api_getUserEnterpriseList = '/scm/cuc/cuc/userEnterprise/getUserEnterpriseList';
|
||||
// 应用用户列表
|
||||
$api_getAppUserList = '/scm/cuc/cuc/userApp/getAppUserList';
|
||||
// 新增应用用户
|
||||
$api_saveAppUser = '/scm/cuc/cuc/userApp/saveAppUser';
|
||||
// 编辑应用用户信息
|
||||
$api_updateAppUser = '/scm/cuc/cuc/userApp/updateAppUser';
|
||||
// 删除应用用户
|
||||
$api_deleteAppUser = '/scm/cuc/cuc/userApp/deleteAppUser';
|
||||
// 获取应用列表
|
||||
$api_getAppListByLesseeId = '/scm/cuc/cuc/appInfo/getAppListByLesseeId';
|
||||
// 获取应用用户详情
|
||||
$api_getAppUser = '/scm/cuc/cuc/userApp/getAppUser';
|
||||
// 重置密码
|
||||
$api_resetPw = '/scm/cuc/cuc/userBasicInfo/resetPassword';
|
||||
// 冻结或恢复应用用户
|
||||
$api_userApp_freezeOrResume = '/scm/cuc/cuc/userApp/freezeOrResume';
|
||||
// 新增角色
|
||||
$api_roleInfo_saveRoleInfo = '/scm/cuc/cuc/roleInfo/saveRoleInfo';
|
||||
// 编辑角色
|
||||
$api_roleInfo_updateRoleInfo = '/scm/cuc/cuc/roleInfo/updateRoleInfo';
|
||||
// 冻结或恢复角色
|
||||
$api_roleInfo_freezeOrResume = '/scm/cuc/cuc/roleInfo/freezeOrResume';
|
||||
// 获取角色下用户列表
|
||||
$api_getRoleUserList = '/scm/cuc/cuc/userAuthority/getRoleUserList';
|
||||
|
||||
constructor(public injector: Injector) {
|
||||
super(injector);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user