|
@@ -85,7 +85,66 @@ |
|
|
}, |
|
|
}, |
|
|
"events": {} |
|
|
"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> |
|
|
</#list> |
|
|
] |
|
|
] |
|
|
}, |
|
|
}, |
|
|