@ruijie-sso/common-new
v1.0.8
Published
common-new library for SSO Admin
Readme
common-new
公共库集合
LocationService
处理链接跳转的,跳转链接,刷新页面,设置 url 参数,获取 url 参数等
help-center ---- 帮助中心
帮助中心,对授权的用户可进行文件的上传、下载,以及链接的跳转等操作。
- 目前使用的地方有两个:
- 组织中心(organization-center)
- admin 系统(admin)
- 使用:
- 通过路由引入 module,并跳转到帮助中心模块。
{
"path": "help",
"loadChildren": () => import('@ruijie-sso/common-new/help-center').then(m => m.HelpCenterModule)
}
log-schema
根据 schema 动态展示带有不同搜索条件的日志页面;
- 内容
- 包括一些日志页面的基类、时间范围搜索、详情抽屉、选择展示列配置等;
- 使用
- 在使用的地方引入
LogSchemaModuleimport { LogSchemaModule } from '@ruijie-sso/common-new/log-schema'
member-search
成员搜索,通过下拉框选择搜索条件,并可以在基本搜索和高级搜索间切换
- 内容
- 包括基本搜索框、高级搜索抽屉等;
- 使用
- 在使用的地方引入
MemberSearchModuleimport { MemberSearchModule } from '@ruijie-sso/common-new/member-search'
org-post-tree
组织部门&岗位树 module,展示组织部门或者岗位的不同层级树结构。
HighlightedPipe为搜索关键词高亮处理管道
- 使用
- 在使用的地方引入
OrgPostTreeModuleimport { OrgPostTreeModule } from '@ruijie-sso/common-new/org-post-tree'
org-tree
组织部门树 module,展示组织部门的不同层级树结构,且根据需要可展示部门图标,可进行 check 选择,如果开启了操作展示,可进行组织部门的新增,复用、排序、编辑、删除等操作;
- 使用
- 在使用的地方引入
OrgTreeModuleimport { OrgTreeModule } from '@ruijie-sso/common-new/org-tree'
search-list
搜索列表,并对搜索关键词高亮显示
- 使用
- 在使用的地方引入
SearchListModuleimport { SearchListModule } from '@ruijie-sso/common-new/search-list'
show-export-col
根据配置,导出展示列数据 && 修改展示列
- 使用
- 在使用的地方引入
ShowExportColModuleimport { ShowExportColModule } from '@ruijie-sso/common-new/show-export-col' - 组件继承
ShowExpColComponentBase类
