feat: add project-level ops type for data export workflows - #668
Open
LordofAvernus wants to merge 2 commits into
Open
feat: add project-level ops type for data export workflows#668LordofAvernus wants to merge 2 commits into
LordofAvernus wants to merge 2 commits into
Conversation
Introduce CRUD APIs, storage, default seeds and dms-common client helpers for ops types, aligned with environment tags. Co-authored-by: Cursor <cursoragent@cursor.com>
Persist optional ops_type_uid on create, ignore updates, and expose name/filter on list/detail/dashboard paths. Co-authored-by: Cursor <cursoragent@cursor.com>
PR Reviewer Guide 🔍
|
|
Failed to generate code suggestions for PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
关联的 issue
https://github.com/actiontech/dms-ee/issues/967
描述你的变更
确认项(pr提交后操作)
Tip
请在指定复审人之前,确认并完成以下事项,完成后✅
not_compatibleneed_update_docMade with Cursor
Description
新增运维类型字典业务逻辑与存储实现
集成数据导出工单中运维类型的创建、展示及筛选功能
添加、更新、删除运维类型 API 接口及前后端路由映射
完善国际化配置与测试用例,确保各层正确交互
Diagram Walkthrough
File Walkthrough
1 files
添加运维类型CRUD及权限测试代码10 files
实现运维类型字典业务逻辑及默认预置功能集成ops_type_uid字段及根据字典解析运维类型名称更新工单结构,添加运维类型引用及引用统计接口扩展存储查询与更新,包含ops_type_uid字段过滤新增运维类型存储接口及实现,包括CRUD操作新增运维类型RESTful API控制器实现提供运维类型服务接口实现,封装业务调用更新项目初始化逻辑,预置运维类型字典项更新路由配置,增加ops_type相关接口路由新增跨服务调用运维类型字典的工具函数5 files
修改数据导出工单API,新增运维类型字段定义与筛选定义运维类型数据模型及API请求/响应结构添加运维类型国际化消息与错误提示更新中文国际化配置,添加运维类型默认名称和错误提示更新英文国际化配置,添加运维类型默认名称和错误提示13 files