Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持从CB快捷创建工单 #2704

Closed
BugsGuru opened this issue Oct 22, 2024 · 3 comments
Closed

支持从CB快捷创建工单 #2704

BugsGuru opened this issue Oct 22, 2024 · 3 comments
Assignees
Labels
feature publish-pre2 verified the issue all pr is verified
Milestone

Comments

@BugsGuru
Copy link
Collaborator

BugsGuru commented Oct 22, 2024

需求描述(Describe)

定制版cloudbeaver内,执行sql后,如果遇到审核拦截,提供按钮跳转到工单创建页面,并自动填充信息。

image

实现方案

前端

定制版cb接收到审核结果(审核拦截了),展示创建工单按钮,点击后携带数据源信息和sql内容跳转回sqle创建工单页并预填信息。工单审核结果规则等级高于审批流程中预设的等级时,二次确认提示。

后端

创建工单接口放开:审核结果规则等级高于审批流程中预设的等级的工单创建限制。

变更影响面

受影响的模块或功能

外部引用的潜在问题或风险

版本兼容性

测试建议

@LZS911
Copy link
Collaborator

LZS911 commented Oct 24, 2024

TODO:现阶段无法获取 cb 侧 sql 语句执行错误是单纯的语法错误还是 sqle 侧审核报错,所以目前所有报错场景都会出现创建工单按钮,需要后续调研。

@BugsGuru
Copy link
Collaborator Author

触发审核拦截,展示创建工单按钮
image
点击创建工单后,跳转到sqle创建工单页并预填相关信息
image

@taolx0
Copy link
Collaborator

taolx0 commented Nov 5, 2024

2cb
3cb
cb1

@taolx0 taolx0 added the verified the issue all pr is verified label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature publish-pre2 verified the issue all pr is verified
Projects
None yet
Development

No branches or pull requests

4 participants