export const tableOption = {
"border": true,
"index": true,
"indexLabel": "序号",
"stripe": true,
"menuAlign": "center",
"align": "center",
"searchMenuSpan": 6,
"column": [
#set($excludeColumns = ["create_time","update_time","create_by","update_by"])
#foreach ($column in $columns)
## 当列是主键 或者 列是审计字段时候, 新增不显示,编辑的时候显示单不能编辑
#if($column.columnName == $pk.columnName || $excludeColumns.contains($column.columnName))
{
"type": "input",
"label": "$column.comments",
"prop": "$column.lowerAttrName",
"addDisplay": false,
"editDisabled": true
}#if($foreach.hasNext),#end
#else
{
"type": "input",
"label": "$column.comments",
"prop": "$column.lowerAttrName"
}#if($foreach.hasNext),#end
#end
#end
]
}
-
fangxinjiang authored63938710