Ver código fonte

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

4.0
郑根木 2 anos atrás
pai
commit
4ec41104b3
1 arquivos alterados com 153 adições e 4 exclusões
  1. +153
    -4
      smtweb-framework/bpm/src/main/resources/static/template/default/model_card_flow.ftl

+ 153
- 4
smtweb-framework/bpm/src/main/resources/static/template/default/model_card_flow.ftl Ver arquivo

@@ -141,7 +141,7 @@
},
"children": [
{
<#list layout.card as group>
<#list layout.flow as group>
"id": "${newId()}",
"type": "fx-form-panel",
"shape": "panel",
@@ -242,10 +242,159 @@
"id": "${newId()}",
"type": "fx-form-panel",
"shape": "panel",
"props": {
"name": "d2"
"props": {
"size": "10",
"backgroundColor": "transparent"
},
"children": []
},
{
"id": "${newId()}",
"type": "fx-split-panel",
"shape": "panel",
"props": {
"size": "48",
"horizontal": true
},
"children": [
{
"id": "${newId()}",
"type": "fx-form-panel",
"shape": "panel",
"props": {
"size": "",
"label": "",
"colNum": 2,
"alignY": "center",
"paddingLeft": 32,
"paddingRight": 32,
"shadow": "",
"backgroundImage": "bgImg-region-title"
},
"children": [
{
"id": "id${newId()}",
"type": "fx-title",
"props": {
"label": "子表列表配置",
"fontSize": 16,
"color": "#01070D",
"fontWeight": "bold",
"showPrefix": false,
"prefixWidth": 5,
"prefixHeight": 24,
"prefixColor": "#1E90FF"
}
}
]
},
{
"id": "id${newId()}",
"type": "fx-form-panel",
"shape": "panel",
"props": {
"alignX": "center",
"size": "150",
"alignY": "center",
"backgroundImage": "bgImg-region-title"
},
"children": [
{
"id": "id${newId()}",
"type": "fx-button",
"props": {
"label": "新增",
"type": "primary",
"action": "button:addRow",
"size": "default",
"linkType": "dialog",
"leftIcon": "plus",
"fxLink": "dialog:cardSubDialog",
"fxLink_text": "子表编辑卡片",
"nextAction": "",
"preAction": "",
"dataset": "${layout.listSub[0].dataset}"
},
"events": {}
}
]
}
]
},
"children": []
{
"id": "${newId()}",
"type": "fx-form-panel",
"shape": "panel",
"props": {
"size": "400",
"label": "列表",
"colNum": 0,
"paddingLeft": 20,
"paddingRight": 20,
"shadow": "",
"paddingTop": 0
},
"children": [
{
"id": "id${newId()}",
"type": "fx-table",
"props": {
"label": "表格",
"border": true,
"stripe": true,
"showHeader": true,
"fit": true,
"dataset": "${group.dataset}",
"actionWidth": 150
},
"slots": {
"default": [
<#list layout.comment[0].fields as field>
{
"id": "id${newId()}",
"type": "fx-table-column",
"props": {
"field": "${field.id}",
"label": "${field.label}"
}
}
<#if field_has_next>,</#if>
</#list>
],
"button": [
{
"id": "id${newId()}",
"type": "fx-button",
"props": {
"label": "编辑",
"type": "text",
"leftIcon": "edit",
"action": "button:edit",
"dataset": "${layout.listSub[0].dataset}",
"link": true,
"linkType": "",
"nextAction": "",
"fxLink": ""
}
},
{
"id": "id${newId()}",
"type": "fx-button",
"props": {
"label": "删除",
"type": "text",
"leftIcon": "delete-themes",
"action": "button:remove",
"preAction": "",
"link": true,
"confirm": ""
}
}
]
},
"events": {}
}
]
}
]
},


Carregando…
Cancelar
Salvar