属性切换
命令 | 参数名 | 默认值 | 参数说明 | 必填 |
---|---|---|---|---|
属性切换 | type | switch | 字段值在0,1两个状态之间来回切换 | |
公共配置 | title | 默认表头栏,当相表并头没有被定义时,取该值输出 | 1 | |
type | switch | 字段内容转义输入类型 | 1 | |
titletag | 当前键名 | 标题标签 | 0 | |
parentkey | CommTag | 标题标签的父签 | 0 | |
width | 字段在列表中占据的宽度 | 0 | ||
class | 单元格自定义样式,设为“layui-table-cell-over”时,超出长度是自动截断,点击显示完整内容 | 0 | ||
参数配置 | format | 对应的属性配置标签 | 1 | |
'tagtype' => array( 'width'=>'60', 'type' => 'switch', 'format' => 'attrstatus', 'title' => '状态', 'parentkey' => 'AttrsConfig', ),