liuyun
|
23e228783c
|
feat: dict-driven rendering — useDict + component dictCode
- 新增 dict store 与 useDict Hook(登录后缓存、登出清空)
- ty-form/ty-table 支持 dictCode 自动解析下拉与标签
- 用户/角色/资源/组织/租户/审计/登录日志页去硬编码映射
- 字典管理页内置标记、value 保护、标签色编辑
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-10-11 14:29:28 +08:00 |
|
liuyun
|
c95aa594cb
|
feat: configurable login page + register/forgot-password pages
- 登录页配置化:src/config/login.ts(品牌/布局/字段/开关),split/card 两种布局
- JsonSchemaProperty 新增 prefixIcon
- 注册 /register、忘记密码 /forgot-password 独立页面(blank 布局)
- 登录/注册/忘记密码统一 blank 布局(新增 blank.vue)
- 注册/重置成功后带 username 回填登录页
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-10-11 11:34:41 +08:00 |
|
liuyun
|
b9c3a64c34
|
feat: resource management page + 404 fallback + header fixes
- 资源管理:树形表格 + type 联动表单(menu/button/api 字段显隐)
- ty-form 新增 when 条件字段显隐;ty-crud 表单模型改 reactive
- 抽出 src/utils/tree.ts(buildTree/filterTree/collectDescendants),组织页复用
- 404 兜底:catch-all 路由 [...all].vue
- 顶栏去掉横向菜单底边框;修复切 Tab 顶部一级菜单高亮不跟随
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-10-11 11:06:21 +08:00 |
|
liuyun
|
b5d95c95d8
|
feat: dictionary & organization management pages
- 字典管理:左右分栏主从布局,20 个字典类型,el-scrollbar 滚动
- 组织管理:树形表格 + 上级组织 tree-select,级联删除下级
- ty-table 新增树形支持(row-key/tree-props/default-expand-all)
- ty-form 新增 tree-select 控件(format/treeData/treeProps)
- JsonSchemaProperty 扩展 tree-select 相关字段
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-10-11 10:44:06 +08:00 |
|
liuyun
|
1ee3ed28a5
|
feat: search field width + collapse actions into dropdown
- ty-form 字段支持 width(行内默认 200px、弹窗默认 100%)
- ty-search-form 展开为多行高级搜索
- ty-crud 操作列数据驱动(actions 内置/自定义),超过 collapseCount 折叠为「更多」下拉
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-10-11 09:34:39 +08:00 |
|
liuyun
|
45b22acd6c
|
feat: extract JSON Schema-driven CRUD components, rebuild user page on them
- 新增公共组件:ty-schema-form(JSON Schema 表单)、ty-search-form、ty-table、ty-form-dialog、ty-crud(整页组合)
- 类型 src/types/crud.ts
- 用户管理页改用 ty-crud + JSON Schema + 内联数据(setTimeout 模拟异步),删除 src/api/user.ts
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-10-11 01:26:11 +08:00 |
|
liuyun
|
6ef0b1121c
|
feat: admin layout shell with Element Plus and configurable theme
- 集成 Element Plus(on-demand resolver + 中文 locale + 暗黑 css-vars)
- 布局壳组件(ty-header/ty-mixbar/ty-sidebar/ty-tabs/ty-breadcrumb/ty-footer/ty-setting/ty-setting-panel),中划线 + ty 前缀 + 自动导入,props/emits 解耦
- 5 种布局/导航模式 + 主题色(#2E7FA3) + 暗黑 + 侧栏折叠/宽度 + 固定顶栏/底栏 + 面包屑/多页签/全屏/手风琴
- 默认值集中配置 src/config/layout.ts;菜单字段对齐后端 resource(src/types/resource.ts + src/config/menu.ts)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-10-11 00:12:59 +08:00 |
|