Browse Source

优化:工作流模板配置

4.0
FLYPHT 2 years ago
parent
commit
1dd0ec37d5
1 changed files with 28 additions and 19 deletions
  1. +28
    -19
      smtweb-framework/bpm/src/main/resources/static/template/default/model_card_flow.ftl

+ 28
- 19
smtweb-framework/bpm/src/main/resources/static/template/default/model_card_flow.ftl View File

@@ -546,7 +546,7 @@
}, },
{ {
"page": { "page": {
"id": "id182f81da2e3",
"id": "${newId()}",
"type": "fx-dialog", "type": "fx-dialog",
"props": { "props": {
"title": "审批意见", "title": "审批意见",
@@ -559,7 +559,7 @@
}, },
"graph": { "graph": {
"shape": "panel", "shape": "panel",
"id": "root_panel",
"id": "${newId()}",
"type": "fx-split-panel", "type": "fx-split-panel",
"props": { "props": {
"horizontal": false, "horizontal": false,
@@ -567,7 +567,7 @@
}, },
"children": [ "children": [
{ {
"id": "182f81da2e6",
"id": "${newId()}",
"type": "fx-split-panel", "type": "fx-split-panel",
"shape": "panel", "shape": "panel",
"props": { "props": {
@@ -576,28 +576,32 @@
"children": [ "children": [
{ {
"shape": "panel", "shape": "panel",
"id": "form_panel",
"id": "${newId()}",
"type": "fx-form-panel", "type": "fx-form-panel",
"props": { "props": {
"name": "dlgOptForm",
"colNum": 1, "colNum": 1,
"paddingTop": 24, "paddingTop": 24,
"size": "0" "size": "0"
}, },
"children": [ "children": [
{ {
"id": "id182f81da30b",
"id": "${newId()}",
"type": "fx-select", "type": "fx-select",
"props": { "props": {
"name":"flowSelComment",
"label": "备选意见", "label": "备选意见",
"clearable": true, "clearable": true,
"labelWidth": 100, "labelWidth": 100,
"affixError": true, "affixError": true,
"dataset": "dlgOpt",
"field": "selComment",
"size": "default" "size": "default"
}, },
"events": {} "events": {}
}, },
{ {
"id": "id182f81da30e",
"id": "${newId()}",
"type": "fx-textarea", "type": "fx-textarea",
"props": { "props": {
"label": "处理意见", "label": "处理意见",
@@ -606,8 +610,8 @@
"labelWidth": 100, "labelWidth": 100,
"affixError": true, "affixError": true,
"size": "default", "size": "default",
"dataset": "ds_182edc699cc",
"field": "id_182edc699cd",
"dataset": "dlgOpt",
"field": "comment",
"rows": 4 "rows": 4
}, },
"events": {} "events": {}
@@ -615,7 +619,7 @@
] ]
}, },
{ {
"id": "182f81da311",
"id": "${newId()}",
"type": "fx-form-panel", "type": "fx-form-panel",
"shape": "panel", "shape": "panel",
"props": {}, "props": {},
@@ -624,7 +628,7 @@
] ]
}, },
{ {
"id": "182f81da2e7",
"id": "${newId()}",
"type": "fx-form-panel", "type": "fx-form-panel",
"shape": "panel", "shape": "panel",
"props": { "props": {
@@ -632,7 +636,7 @@
}, },
"children": [ "children": [
{ {
"id": "id182f81da2e8",
"id": "${newId()}",
"type": "fx-divider", "type": "fx-divider",
"props": { "props": {
"label": "", "label": "",
@@ -654,7 +658,7 @@
}, },
"children": [ "children": [
{ {
"id": "id182f81da303",
"id": "${newId()}",
"type": "fx-button-group", "type": "fx-button-group",
"props": { "props": {
"showDropdown": false "showDropdown": false
@@ -670,7 +674,7 @@
"action": "button:dlgDynConfirm", "action": "button:dlgDynConfirm",
"linkType": "" "linkType": ""
}, },
"id": "id182f81da304",
"id": "${newId()}",
"events": {} "events": {}
}, },
{ {
@@ -680,7 +684,7 @@
"leftIcon": "error", "leftIcon": "error",
"action": "button:closeDialog" "action": "button:closeDialog"
}, },
"id": "id182f81da308",
"id": "${newId()}",
"events": {} "events": {}
} }
], ],
@@ -707,7 +711,7 @@
}, },
"graph": { "graph": {
"shape": "panel", "shape": "panel",
"id": "root_panel",
"id": "${newId()}",
"type": "fx-split-panel", "type": "fx-split-panel",
"props": { "props": {
"horizontal": false, "horizontal": false,
@@ -724,9 +728,10 @@
"children": [ "children": [
{ {
"shape": "panel", "shape": "panel",
"id": "form_panel",
"id": "${newId()}",
"type": "fx-form-panel", "type": "fx-form-panel",
"props": { "props": {
"name": "dlgOptForm",
"colNum": 1, "colNum": 1,
"paddingTop": 24, "paddingTop": 24,
"size": "0" "size": "0"
@@ -743,7 +748,8 @@
"affixError": true, "affixError": true,
"size": "default", "size": "default",
"multiple": true, "multiple": true,
"required": true
"dataset": "dlgOpt",
"field": "toTaskId"
}, },
"events": {}, "events": {},
"vars": { "vars": {
@@ -754,10 +760,13 @@
"id": "${newId()}", "id": "${newId()}",
"type": "fx-select", "type": "fx-select",
"props": { "props": {
"name":"flowSelComment",
"label": "备选意见", "label": "备选意见",
"clearable": true, "clearable": true,
"labelWidth": 100, "labelWidth": 100,
"affixError": true, "affixError": true,
"dataset": "dlgOpt",
"field": "selComment",
"size": "default" "size": "default"
}, },
"events": {} "events": {}
@@ -772,8 +781,8 @@
"labelWidth": 100, "labelWidth": 100,
"affixError": true, "affixError": true,
"size": "default", "size": "default",
"dataset": "ds_182edc699cc",
"field": "id_182edc699cd",
"dataset": "dlgOpt",
"field": "comment",
"rows": 4 "rows": 4
}, },
"events": {} "events": {}


Loading…
Cancel
Save