ludc
2023-03-16 86b6157299a50579f454e4fb45a09ff21d252dab
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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,
#}
    },
#}
  ]
}