-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat: data scope support variables for association fields #2049
Merged
Conversation
This file contains 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
Link T-27 |
This pull request has been linked to 1 task:
|
…obase into feat/association-data-scope
chenos
changed the title
feat/association data scope
feat: data scope support variables for association fields
Jun 22, 2023
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.
Description (需求描述)
关系字段数据范围的联动
Motivation (需求背景)
场景一:
假设有学校、班级、学生三个关系字段,彼此间关系为
场景二:
需求表
工艺路线 (一对多)
工艺路线表
source步骤(多对一) -> 指向步骤表
target步骤(多对一) -> 指向步骤表
Key changes (关键改动)
Provide a technically detailed description of the key changes made.
RemoteSelect 组件
data Scope 支持 Current form(当前表单) ,Current Iteration (当前迭代,对多关系的场景下)变量
Test plan (测试计划)
Suggestions (测试建议)
目前是关系字段 field mode为select 时支持 数据范围联动,record picker 得后续进一步支持
Underlying risk (潜在风险)
Identify any potential risks or issues that may arise from the new feature or modification.
Showcase (结果展示)
场景一:
班级关系字段数据范围配置如下
学生关系字段数据范围配置如下
效果如下
场景二:
target 步骤关系字段数据范围配置如下
效果如下: