xiejun
2024-11-01 80b6cbfc9c861469146318d0b3dd5f8b8b525b8a
Source/BladeX-Tool/blade-starter-develop/src/main/resources/templates/element/crud/const.js.btl
对比新文件
@@ -0,0 +1,31 @@
export default {
  size: 'small',
  expand: false,
  index: true,
  border: true,
  selection: true,
  column: [
#for(x in prototypes) {
    {
      label: "${x.comment!}",
      prop: "${x.propertyName!}",
#if(strutil.contain(x.componentType,"date")||strutil.contain(x.componentType,"time")){
      format: "yyyy-MM-dd hh:mm:ss",
      valueFormat: "yyyy-MM-dd hh:mm:ss",
#}
#if(x.isForm==0){
      display: false,
#}
#if(x.isRow==1){
      span: 24,
#}
#if(x.isList==0){
      hide: true,
#}
#if(x.isQuery==1){
      search: true,
#}
    },
#}
  ]
}