通用算法平台前端仓库
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
chunquansang 953bdf2a40 feat 项目部署功能完善 1 year ago
config feat: 统一主题色、表格按钮颜色间距等、项目列表卡片独立并完成初版静态交互 1 year ago
mock first commit 2 years ago
public first commit 2 years ago
src feat 项目部署功能完善 1 year ago
tests first commit 2 years ago
types first commit 2 years ago
.editorconfig first commit 2 years ago
.env first commit 2 years ago
.env.development first commit 2 years ago
.env.production first commit 2 years ago
.eslintignore first commit 2 years ago
.eslintrc.js first commit 2 years ago
.gitignore feat: 模型列表删除按钮个性化、气泡确认操作;抽屉展开内容间距调整;模型版本按钮超过3个显示更多 2 years ago
.prettierignore first commit 2 years ago
.prettierrc.js first commit 2 years ago
Dockerfile first commit 2 years ago
README.md fix: 模型版本列表按钮统一使用button,项目管理新增数据表单默认同行展示 1 year ago
jest.config.ts first commit 2 years ago
jsconfig.json first commit 2 years ago
package.json 模型版本分布表单更新 2 years ago
pnpm-lock.yaml first commit 2 years ago
tsconfig.json first commit 2 years ago

README.md

General-AI-Platform-Web

通用算法平台前端仓库 develop

remark

  • 列表筛选表单配置统一使用renderFormItem配置方便个性化处理

  • 删除按钮颜色配色 统一将a标签换成Button 设置属性{ type="text" danger}

  • 列表多选的操作高亮处理,目前不明显

  • 列表action栏位操作多个排在一起显得拥挤

  • 展示抽屉内容时需要有关闭按钮,排版需和谐

  • 使用stepForm的时候最后的提交写在最后一步的onfinish里面而不是总的stepForm里

  • table操作栏按钮统一使用button合理间距

具体实现

  1. 筛选表单区: 列表在columns配置初始数据时需要筛选的表单项统一使用renderFormItem属性基于renderFormItem去配置表单项field, 【searchFormItemProps】属性统一配置自定义业务 { width="md" // 表单项宽度可以是数字 labelCol={{span: 4}} // 标签布局 wrapperCol={{span: 22}} // 输入控件布局 }

  2. 列表action区按钮个性化和操作确认调整为 统一将a标签换成Button 设置属性【actionInnerDeleteBtnProps】 { type="text" danger}

  3. 列表action有多个按钮显示更多 暂时使用默认超过3个显示更多如需统一处理或者权限控制下的按钮显示隐藏导致的按钮数量不一致可根据需要独立封装TableActionComp

  4. 列表多选悬浮展示在底部,顶部隐藏处理 【待处理】

ProTable 固定列表

  1. 固定表头 scroll={{ y: 500 }} 批量选择确认按钮固定,列表头内容固定

  2. 批量选择 tableAlertOptionRender 配置多选操作选项区

ProForm 表单

git提交修饰

feat: 新功能 fix: bug修复 docs: 仅文档更改 style: 不影响代码含义的更改(空白、格式设置、缺失 分号等) refactor: 既不修复bug也不添加特性的代码更改 perf: 改进性能的代码更改 test: 添加缺少的测试或更正现有测试 chore: 对构建过程或辅助工具和库(如文档)的更改(无法确认内容可使用)