Commit a0e9e2b3 by 张蕴鹏

feat: intent

parent f3b2e1af
Showing with 56 additions and 5 deletions
...@@ -159,13 +159,23 @@ ...@@ -159,13 +159,23 @@
} }
}, },
{ {
"name": "exportList", "name": "exportTargetList",
"label": "intent-导出-列表", "label": "intent-导出-列表-指定page模板",
"when": "1",
"container": "dialog", "container": "dialog",
"action": "exportList", "action": "exportList",
"model": "Example1", "model": "Example1",
"parameters": { "parameters": {
"listName": "list1", "listName": "",
"pageName": "page1",
"template": "",
"filters": [
{
"property": "status",
"type": "text",
"defaultValue": "1"
}
],
"prefilters": [] "prefilters": []
} }
}, },
...@@ -298,6 +308,48 @@ ...@@ -298,6 +308,48 @@
"showList", "showList",
"showWorkflowList" "showWorkflowList"
], ],
"pages": [
{
"name": "page1",
"title": "page1",
"prefilters": [
{
"property": "status",
"value": "1"
}
],
"field_groups": [
{
"label": "id",
"template": "{id}"
},
{
"label": "name",
"template": "{name}"
}
]
},
{
"name": "page2",
"title": "page2",
"prefilters": [
{
"property": "status",
"value": "0"
}
],
"field_groups": [
{
"label": "id",
"template": "{id}"
},
{
"label": "name",
"template": "{name}"
}
]
}
],
"detail_action_visible": true, "detail_action_visible": true,
"log_action_visible": false "log_action_visible": false
}, },
...@@ -406,7 +458,6 @@ ...@@ -406,7 +458,6 @@
"startProcess" "startProcess"
], ],
"prefilters": [ "prefilters": [
] ]
} }
], ],
...@@ -423,7 +474,7 @@ ...@@ -423,7 +474,7 @@
"intents": [ "intents": [
"showList", "showList",
"showWorkflowList", "showWorkflowList",
"exportList", "exportTargetList",
"exportDetail", "exportDetail",
"exportWorkflowList" "exportWorkflowList"
], ],
......
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