diff --git a/smtweb-framework/bpm/src/main/resources/static/template/index.yaml b/smtweb-framework/bpm/src/main/resources/static/template/index.yaml index 59b1a2b..d3a484f 100644 --- a/smtweb-framework/bpm/src/main/resources/static/template/index.yaml +++ b/smtweb-framework/bpm/src/main/resources/static/template/index.yaml @@ -217,6 +217,11 @@ model: type: 'ds' label: '主卡片数据集' desc: '请选择主要卡片数据集' + - + name: 'want_point' + type: 'checkbox' + label: '添加步骤条' + desc: '勾选则添加步骤条' - name: 'model_point_card' label: '分组锚点卡片' diff --git a/smtweb-framework/bpm/src/main/resources/static/template/model_group_card.ftl b/smtweb-framework/bpm/src/main/resources/static/template/model_group_card.ftl index a91d943..5738034 100644 --- a/smtweb-framework/bpm/src/main/resources/static/template/model_group_card.ftl +++ b/smtweb-framework/bpm/src/main/resources/static/template/model_group_card.ftl @@ -154,6 +154,81 @@ } ] }, + <#if (param.want_point)> + { + "id": "1821e887b9a", + "type": "fx-form-panel", + "shape": "panel", + "props": { + "alignY": "center", + "size": "0", + "paddingTop": 20, + "paddingLeft": 200, + "paddingRight": 200, + "paddingBottom": 20 + }, + "children": [ + { + "id": "id1821e887baf", + "type": "fx-steps", + "w": 3, + "h": 2, + "props": { + "active": 1, + "alignCenter": true + }, + "slots": { + "default": [ + { + "type": "fx-step", + "props": { + "label": "步骤一", + "description": "我是一段描述" + }, + "id": "id1821e887bb0" + }, + { + "type": "fx-step", + "props": { + "label": "步骤二", + "description": "我也是一段描述" + }, + "id": "id1821e887bb1" + }, + { + "type": "fx-step", + "props": { + "label": "步骤三", + "description": "我也也是一段描述" + }, + "id": "id1821e887bb2" + } + ] + }, + "events": {} + } + ] + }, + { + "id": "734718093699321868", + "type": "fx-form-panel", + "shape": "panel", + "props": { + "size": "0" + }, + "children": [ + { + "id": "id734718093699321869", + "type": "fx-divider", + "props": { + "label": "", + "contentPosition": "center", + "direction": "horizontal" + } + } + ] + }, + { "id": "${newId()}", "type": "fx-split-panel",