Score
0
Watch 3.5K Star 9.2K Fork 3.9K

卓源软件 / JeeSite 4.2JavaAGPL-3.0

自建的树形字典代码生成时怎么引用呢?

Open
timio  Opened this issue

在字典管理里面建了一个树字典,请问在代码生成时怎么引用到这个树字典? 表单类型里面只有系统自带的人员、机构和区域选择,treeselect 的文档里面url说明不是太明白。

1817831 jumor 1578960434 total 2 participants

Comments (1)

1817831 jumor 1578960434
lijianfei 2018-12-20 10:33

可以这样

url:${ctx}/sys/dictData/treeData

参数:String dictType, String excludeCode, String isShowCode, boolean isShowNameOrig

<#form:treeselect title="上级菜单" path="category" labelPath="" 
url="${ctx}/sys/dictData/treeData?dictType=deimos_relic_category"
class="" allowClear="true" canSelectRoot="true" canSelectParent="true"/>

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority
Java
1
https://gitee.com/thinkgem/jeesite4.git
git@gitee.com:thinkgem/jeesite4.git
thinkgem
jeesite4
JeeSite 4.2

Search