Ver a proveniência

修改:修改list_card.ftl模板

4.0
FLYPHT há 2 anos
ascendente
cometimento
f92def87d8
3 ficheiros alterados com 6 adições e 11 eliminações
  1. +1
    -1
      smtweb-framework/bpm/src/main/resources/static/template/default/incModel/inc_list_table.ftl
  2. +3
    -3
      smtweb-framework/bpm/src/main/resources/static/template/default/index.yaml
  3. +2
    -7
      smtweb-framework/bpm/src/main/resources/static/template/default/model_list_card.ftl

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

@@ -21,7 +21,7 @@
"stripe": true,
"showHeader": true,
"fit": true,
"dataset": "${param.queryDs}",
"dataset": "${group.dataset}",
"actionWidth": 120
},
"slots": {


+ 3
- 3
smtweb-framework/bpm/src/main/resources/static/template/default/index.yaml Ver ficheiro

@@ -26,11 +26,11 @@ model:
# 布局
layout:
-
name: 'c1'
name: 'list'
label: '简单列表'
type: 'list'
hasGroup: false
- name: 'c2'
- name: 'card'
label: '编辑卡片'
type: 'card'
hasGroup: false
@@ -229,4 +229,4 @@ model:
name: 'mainDs'
type: 'ds'
label: '主卡片数据集'
desc: '请选择主要卡片数据集'
desc: '请选择主要卡片数据集'

+ 2
- 7
smtweb-framework/bpm/src/main/resources/static/template/default/model_list_card.ftl Ver ficheiro

@@ -1,5 +1,5 @@
{
<#list layout.c1 as group>
<#list layout.list as group>
"form":
[
{
@@ -76,8 +76,6 @@
<#else>
"fxLink_text": "${param.editTitle}",
</#if>

"dataset": "${param.editDs}"
},
"id": "id${newId()}"
}
@@ -103,7 +101,7 @@
<#if (group.sfilters?size>0)>
<#include "incModel/inc_query_sfilters.ftl"/>
</#if>
<#list layout.c2 as dialog>
<#list layout.card as dialog>
,{
"page": {
"id": "id${newId()}",
@@ -270,7 +268,6 @@
"leftIcon": "save",
"type": "success",
"action": "button:save",
"dataset": "${param.editDs}"
},
"id": "id${newId()}"
},
@@ -280,8 +277,6 @@
"label": "关闭",
"leftIcon": "close",
"action": "button:closeDialog",
"dataset": "${param.queryDs}",
"nextAction": "button:search"
},
"id": "id${newId()}"
}


Carregando…
Cancelar
Guardar