Ver a proveniência

模板模型构建BUG

4.0
lip há 2 anos
ascendente
cometimento
3013e3f394
4 ficheiros alterados com 64 adições e 8 eliminações
  1. +17
    -3
      smtweb-framework/bpm/src/main/resources/static/template/default/incModel/inc_list_dialog.ftl
  2. +15
    -1
      smtweb-framework/bpm/src/main/resources/static/template/default/incModel/inc_list_query.ftl
  3. +17
    -3
      smtweb-framework/bpm/src/main/resources/static/template/default/incModel/inc_query_sfilters.ftl
  4. +15
    -1
      smtweb-framework/bpm/src/main/resources/static/template/default/model_card_flow.ftl

+ 17
- 3
smtweb-framework/bpm/src/main/resources/static/template/default/incModel/inc_list_dialog.ftl Ver ficheiro

@@ -25,9 +25,23 @@
"required": "${dfield.required}",
<#if dfield.lookup??>
"lookup": {
<#list dfield.lookup as k, v>
"${k}": "${v}" <#if k_has_next>,</#if>
</#list>
<#list dfield.lookup as k, v>
<#if v?is_enumerable>
"${k}": [
<#list v as v1>
{
<#list v1 as vk1, vv1>
"${vk1}": "${vv1}"<#if vk1_has_next>,</#if>
</#list>
}
<#if v1_has_next>,</#if>
</#list>
]
<#else>
"${k}": "${v}"
</#if>
<#if k_has_next>,</#if>
</#list>
},
</#if>
<#if dfield.maxlength gt 0>


+ 15
- 1
smtweb-framework/bpm/src/main/resources/static/template/default/incModel/inc_list_query.ftl Ver ficheiro

@@ -33,7 +33,21 @@
<#if filter.lookup??>
"lookup": {
<#list filter.lookup as k, v>
"${k}": "${v}" <#if k_has_next>,</#if>
<#if v?is_enumerable>
"${k}": [
<#list v as v1>
{
<#list v1 as vk1, vv1>
"${vk1}": "${vv1}"<#if vk1_has_next>,</#if>
</#list>
}
<#if v1_has_next>,</#if>
</#list>
]
<#else>
"${k}": "${v}"
</#if>
<#if k_has_next>,</#if>
</#list>
},
</#if>


+ 17
- 3
smtweb-framework/bpm/src/main/resources/static/template/default/incModel/inc_query_sfilters.ftl Ver ficheiro

@@ -59,9 +59,23 @@
"field": "${filter.id}",
<#if filter.lookup??>
"lookup": {
<#list filter.lookup as k, v>
"${k}": "${v}" <#if k_has_next>,</#if>
</#list>
<#list filter.lookup as k, v>
<#if v?is_enumerable>
"${k}": [
<#list v as v1>
{
<#list v1 as vk1, vv1>
"${vk1}": "${vv1}"<#if vk1_has_next>,</#if>
</#list>
}
<#if v1_has_next>,</#if>
</#list>
]
<#else>
"${k}": "${v}"
</#if>
<#if k_has_next>,</#if>
</#list>
},
</#if>
"name": "${filter.name}"


+ 15
- 1
smtweb-framework/bpm/src/main/resources/static/template/default/model_card_flow.ftl Ver ficheiro

@@ -307,7 +307,21 @@
<#if fields.lookup??>
"lookup": {
<#list fields.lookup as k, v>
"${k}": "${v}" <#if k_has_next>,</#if>
<#if v?is_enumerable>
"${k}": [
<#list v as v1>
{
<#list v1 as vk1, vv1>
"${vk1}": "${vv1}"<#if vk1_has_next>,</#if>
</#list>
}
<#if v1_has_next>,</#if>
</#list>
]
<#else>
"${k}": "${v}"
</#if>
<#if k_has_next>,</#if>
</#list>
},
</#if>


Carregando…
Cancelar
Guardar