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

树引用 REFERENCE_TREE (联动),在Search 搜索条件框里无法进行多级联动。 #187

Open
supercat188 opened this issue Jul 30, 2023 · 1 comment

Comments

@supercat188
Copy link

版本情况

JDK版本: openjdk_8_201
erupt-web 版本: 1.12.1

问题描述(包括截图)

使用Erupt组件
树引用 REFERENCE_TREE (联动)
在Add和Edit框里生效,可以联动,但是在Search 搜索条件框里无法进行多级联动。
搜索条件区域里,先选定了业务域,再点击子系统,提示请先选择业务域。说明搜索条件区域里子系统没有随着业务域联动。

  1. 复现代码
    @manytoone
    @EruptField(
    views = @view(title = "业务域", column = "name_cn"),
    edit = @edit(title = "业务域", type = EditType.REFERENCE_TREE,search = @Search,
    readonly = @readonly(add = false, edit = true),
    referenceTreeType = @ReferenceTreeType(label="name_cn"))
    )
    @joincolumn(name = "platform")
    private Platform platform;

    @manytoone
    @EruptField(
    views = @view(title = "子系统", column = "name_cn"),
    edit = @edit(title = "子系统", type = EditType.REFERENCE_TREE,search = @Search,
    readonly = @readonly(add = false, edit = true),
    referenceTreeType = @ReferenceTreeType(label="name_cn",dependField = "platform", dependColumn = "platform.id"))
    )
    @joincolumn(name = "subsystem")
    private SubSystem subsystem;

  2. 堆栈信息

  3. 测试涉及到的文件(注意脱密)

@aurthurxlc
Copy link
Contributor

Yep 是个 Bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants