Преглед на файлове

修改:model_list_card.ftl调整

4.0
FLYPHT преди 2 години
родител
ревизия
ef0ff750ad
променени са 5 файла, в които са добавени 23 реда и са изтрити 32 реда
  1. +2
    -4
      smtweb-framework/bpm/src/main/resources/static/template/default/incModel/inc_list_query.ftl
  2. +5
    -9
      smtweb-framework/bpm/src/main/resources/static/template/default/incModel/inc_list_table.ftl
  3. +4
    -6
      smtweb-framework/bpm/src/main/resources/static/template/default/incModel/inc_query_sfilters.ftl
  4. +1
    -1
      smtweb-framework/bpm/src/main/resources/static/template/default/index.yaml
  5. +11
    -12
      smtweb-framework/bpm/src/main/resources/static/template/default/model_list_card.ftl

+ 2
- 4
smtweb-framework/bpm/src/main/resources/static/template/default/incModel/inc_list_query.ftl Целия файл

@@ -51,7 +51,6 @@
"props": {
"label": "重置",
"leftIcon": "clear",
"type": "",
"action": "button:reset",
"dataset": "${param.queryDs}",
"link": false,
@@ -65,8 +64,7 @@
"label": "查询",
"leftIcon": "search",
"type": "primary",
"action": "button:search",
"dataset": "${param.queryDs}"
"action": "button:loadList"
}
}
<#if (group.sfilters?size>0)>
@@ -79,7 +77,7 @@
"action": "button:link",
"link": true,
"linkType": "drawer",
"fxLink": "dialog:qrueydialog"
"fxLink": "dialog:queryDialog"
}
}
</#if>


+ 5
- 9
smtweb-framework/bpm/src/main/resources/static/template/default/incModel/inc_list_table.ftl Целия файл

@@ -66,13 +66,12 @@
"label": "编辑",
"type": "primary",
"leftIcon": "edit",
"action": "button:edit",
"action": "button:editCard",
"link": false,
"text": true,
"linkType": "dialog",
"fxLink": "dialog:editDialog",
"fxLink_text": "${param.editTitle}",
"dataset": "${param.editDs}"
"fxLink": "dialog:cardDialog",
"fxLink_text": "${param.cardTitle}"
}
},
</#if>
@@ -83,13 +82,10 @@
"label": "删除",
"type": "danger",
"leftIcon": "delete-themes",
"action": "button:remove",
"preAction": "",
"action": "button:delCard",
"link": false,
"text": true,
"confirm": "",
"nextAction": "button:search",
"dataset": "${param.queryDs}"
"confirm": ""
}
}
]


+ 4
- 6
smtweb-framework/bpm/src/main/resources/static/template/default/incModel/inc_query_sfilters.ftl Целия файл

@@ -5,7 +5,7 @@
"type":"fx-dialog",
"props": {
"title": "查询条件",
"key": "qrueydialog",
"key": "queryDialog",
"destroyOnClose": true,
"closeOnClickModal": true,
"width": "20%",
@@ -81,8 +81,7 @@
"type": "fx-button",
"props": {
"label": "重置",
"leftIcon": "clear",
"action": "button:return"
"leftIcon": "clear"
},
"id": "id${newId()}"
},
@@ -92,8 +91,7 @@
"label": "查询",
"leftIcon": "save",
"type": "success",
"action": "button:search",
"dataset": "${param.queryDs}"
"action": "button:loadList"
},
"id": "id${newId()}"
}
@@ -103,4 +101,4 @@
]
}]
}
}
}

+ 1
- 1
smtweb-framework/bpm/src/main/resources/static/template/default/index.yaml Целия файл

@@ -37,7 +37,7 @@ model:
# 变量
param:
-
name: 'editTitle'
name: 'cardTitle'
type: 'input'
label: '卡片标题'
desc: '请选择弹窗卡片标题'


+ 11
- 12
smtweb-framework/bpm/src/main/resources/static/template/default/model_list_card.ftl Целия файл

@@ -66,15 +66,14 @@
"label": "新增",
"leftIcon": "plus",
"type": "primary",
"action": "button:add",
"action": "button:addCard",
"link": false,

"linkType": "dialog",
"fxLink": "dialog:editDialog",
<#if (param.editTitle == "")>
"title": "卡片demo",
"fxLink": "dialog:cardDialog",
<#if (param.cardTitle == "")>
"title": "卡片"
<#else>
"fxLink_text": "${param.editTitle}",
"fxLink_text": "${param.cardTitle}"
</#if>
},
"id": "id${newId()}"
@@ -107,12 +106,12 @@
"id": "id${newId()}",
"type": "fx-dialog",
"props": {
<#if (param.editTitle == "")>
"title": "卡片demo",
<#if (param.cardTitle == "")>
"title": "卡片",
<#else>
"title": "${param.editTitle}",
"title": "${param.cardTitle}",
</#if>
"key": "editDialog",
"key": "cardDialog",
"fontSize": 16,
"color": "#313131",
"fontWeight": "bold",
@@ -267,7 +266,7 @@
"label": "保存",
"leftIcon": "save",
"type": "success",
"action": "button:save",
"action": "button:saveCard"
},
"id": "id${newId()}"
},
@@ -276,7 +275,7 @@
"props": {
"label": "关闭",
"leftIcon": "close",
"action": "button:closeDialog",
"action": "button:closeDialog"
},
"id": "id${newId()}"
}


Зареждане…
Отказ
Запис