zoukankan      html  css  js  c++  java
  • 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查询语句即可生效

  • 相关阅读:
    JS运算符之void
    JS的常用事件
    JS中的数据类型
    企业如何搭建管理驾驶舱
    项目启动会必须汇报的26个要素
    想要读懂大数据,你不得不先掌握这些核心技术
    关于oracle数据库中读取文件路径的问题整理
    文档:用博客做技术文档的总结
    Kettle 作业(Job)和 转换(Transform)
    子网划分很难?10分钟教会你口算子网划分!又快又准!
  • 原文地址:https://www.cnblogs.com/lhyhappy365/p/7339869.html
Copyright © 2011-2022 走看看