Bläddra i källkod

Merge remote-tracking branch 'origin/4.0' into 4.0

4.0
郑根木 2 år sedan
förälder
incheckning
3d778c8966
2 ändrade filer med 61 tillägg och 2 borttagningar
  1. +1
    -1
      smtweb-framework/bpm/src/main/resources/static/template/default/model_card_flow.ftl
  2. +60
    -1
      smtweb-framework/bpm/src/main/resources/static/template/default/model_card_ms.ftl

+ 1
- 1
smtweb-framework/bpm/src/main/resources/static/template/default/model_card_flow.ftl Visa fil

@@ -106,7 +106,7 @@
"size": "default",
"hideLabel": true,
"dataset": "flow",
"field": "pri_task_id"
"field": "selTaskId"
},
"events": {
"on-change": "onTaskChange"


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

@@ -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>
]
},


Laddar…
Avbryt
Spara