jeecg3.7中DictSelect数据字典下拉选择框的用法

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

jeecg3.7中DictSelect数据字典下拉选择框的⽤法
1、参数
属性名类型描述是否必须默认值
title string 标题否 null
field string 控件字段名字是 null
typeGroupCode string 字典分组编码是 null
type string 控件类型select|radio|checkbox 否 select
id string 唯⼀标识否 null defaultVal string 默认值否 null
divClass string DIV 框默认样式否 form
labelClass string LABEL 默认样式否 Validfor m_label
dictTable string ⾃定义字典表否 null
dictField string ⾃定义字典表的匹配字段-字典的编码值否 null
dictText string ⾃定义字典表的显⽰⽂本-字典的显⽰值否 null
dictCondition string ⾃定义字典表的显⽰⽂本-字典查询条件否 null
extendJson string 扩展参数(json 格式) 否 null
hasLabel boolean 是否显⽰ Label 否 false
readonly string 是否可编辑。

当值”readonly” 时不可编辑。

否 null
datatype string validform 校验规则,⼀般必须输⼊:* 否 null
2、⽤法
<t:dictSelect field="orgid" type="list" dictTable="t_s_org" dictField="id" dictText="orgName" defaultVal="${id}"
dictCondition=" where status='1'" hasLabel="false" title="机构"
extendJson="{datatype:'*'}"></t:dictSelect>
注意:dataType直接写⽆效,需要通过extendJson属性配置⽅可⽣效,dictCondition中需要写⼊该下拉列表的sql查询语句即可⽣效。

相关文档
最新文档