Commit 263ca1a9 by 张蕴鹏

feat(工作流): 详情页的 page 下嵌入的工作流列表支持更丰富的配置选项

parent eb48d777
Showing with 48 additions and 24 deletions
...@@ -183,7 +183,7 @@ ...@@ -183,7 +183,7 @@
"parameters": { "parameters": {
"actionName": "insert", "actionName": "insert",
"parameters": { "parameters": {
"inputs":[ "inputs": [
] ]
} }
} }
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
"parameters": { "parameters": {
"actionName": "update", "actionName": "update",
"parameters": { "parameters": {
"inputs":[ "inputs": [
] ]
} }
} }
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
"id": "1", "id": "1",
"actionName": "update", "actionName": "update",
"parameters": { "parameters": {
"inputs":[ "inputs": [
] ]
} }
} }
...@@ -225,12 +225,13 @@ ...@@ -225,12 +225,13 @@
"parameters": { "parameters": {
"actionName": "insert", "actionName": "insert",
"parameters": { "parameters": {
"inputs":[{ "inputs": [
"label": "name", {
"property": "name", "label": "name",
"default_value": "'zhangsan'", "property": "name",
"type": "text" "default_value": "'zhangsan'",
} "type": "text"
}
] ]
} }
} }
...@@ -703,12 +704,13 @@ ...@@ -703,12 +704,13 @@
"showWorkflowList" "showWorkflowList"
], ],
"actions": [ "actions": [
], ],
"sortDefs": [{ "sortDefs": [
"property": "id", {
"type": "asc" "property": "id",
}] "type": "asc"
}
]
}, },
{ {
"name": "page3", "name": "page3",
...@@ -729,10 +731,12 @@ ...@@ -729,10 +731,12 @@
"template": "{name}" "template": "{name}"
} }
], ],
"sortDefs": [{ "sortDefs": [
"property": "name", {
"type": "desc" "property": "name",
}], "type": "desc"
}
],
"intents": [ "intents": [
"executeActionOther", "executeActionOther",
"executeAction", "executeAction",
...@@ -740,7 +744,6 @@ ...@@ -740,7 +744,6 @@
"showWorkflowList" "showWorkflowList"
], ],
"actions": [ "actions": [
] ]
} }
], ],
...@@ -855,7 +858,9 @@ ...@@ -855,7 +858,9 @@
"actions": [ "actions": [
"update" "update"
], ],
"intents": ["executeActionOther"] "intents": [
"executeActionOther"
]
}, },
"sections": [ "sections": [
{ {
...@@ -864,7 +869,10 @@ ...@@ -864,7 +869,10 @@
{ {
"label": "id", "label": "id",
"template": "{id}", "template": "{id}",
"intents": ["otherAction", "executeActionOther"] "intents": [
"otherAction",
"executeActionOther"
]
} }
], ],
"actions": [] "actions": []
...@@ -900,7 +908,10 @@ ...@@ -900,7 +908,10 @@
"update", "update",
"delete" "delete"
], ],
"intents": ["addUserRemark","executeActionOther"] "intents": [
"addUserRemark",
"executeActionOther"
]
} }
] ]
}, },
...@@ -914,7 +925,18 @@ ...@@ -914,7 +925,18 @@
] ]
}, },
"sections": [ "sections": [
]
},
{
"name": "workflowList",
"label": "工作流列表",
"workflow_list": {
"name": "Example1",
"workflowListName": "test_list",
"prefilters": [
]
},
"sections": [
] ]
} }
] ]
...@@ -1001,7 +1023,9 @@ ...@@ -1001,7 +1023,9 @@
"workflowLists": [ "workflowLists": [
{ {
"name": "test_list", "name": "test_list",
"detailName": "detail1" "detailName": "detail1",
"appointProcessName": "测试流程",
"showSwitchComponent": false
} }
], ],
"tagGroups": [ "tagGroups": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment