Quellcode durchsuchen

优化点模板参数

4.0
xiaxl vor 2 Jahren
Ursprung
Commit
f17ac83135
1 geänderte Dateien mit 60 neuen und 1 gelöschten Zeilen
  1. +60
    -1
      smtweb-framework/bpm/src/main/resources/static/template/default/model_card_ms.ftl

+ 60
- 1
smtweb-framework/bpm/src/main/resources/static/template/default/model_card_ms.ftl Datei anzeigen

@@ -85,7 +85,66 @@
},
"events": {}
}
<#if field_has_next>,</#if>
<#if field_has_next>
<#if (param.masterCol lte 1 )>
<#if (field.desc != "")>
,{
"id": "id${newId()}",
"type": "fx-label",
"props": {
"label": "${field.desc}",
"labelWidth": 0,
"affixError": true,
"labelAlign": "left"
}
}
,{
"id": "id${newId()}",
"type": "fx-placeholder",
"props": {
"label": "占位"
},
"layout": {
"row": 1
}
}
<#else>
,{
"id": "id${newId()}",
"type": "fx-placeholder",
"props": {
"label": "占位"
},
"layout": {
"row": 1
}
}
,{
"id": "id${newId()}",
"type": "fx-placeholder",
"props": {
"label": "占位"
},
"layout": {
"row": 1
}
}
</#if>
</#if>
<#if (param.masterCol = 2 && ((field_index+1) % 2 = 0 ) )>
,{
"id": "id${newId()}",
"type": "fx-placeholder",
"props": {
"label": "占位"
},
"layout": {
"row": 1
}
}
</#if>
,
</#if>
</#list>
]
},


Laden…
Abbrechen
Speichern