Commit fb2f76fc by 张蕴鹏

feat: intent

parent 42a413a8
Showing with 59 additions and 2 deletions
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
}, },
{ {
"name": "exportTargetDetail", "name": "exportTargetDetail",
"label": "intent-导出-详情", "label": "intent-导出-详情-默认导出",
"container": "dialog", "container": "dialog",
"action": "exportTargetDetail", "action": "exportTargetDetail",
"model": "Example1", "model": "Example1",
...@@ -172,8 +172,20 @@ ...@@ -172,8 +172,20 @@
} }
}, },
{ {
"name": "exportTargetDetail1",
"label": "intent-导出-详情-指定模板",
"container": "dialog",
"action": "exportTargetDetail",
"model": "Example1",
"parameters": {
"id": "{{object.id.value}}",
"detailName": "detail1",
"template": "详情默认模板1"
}
},
{
"name": "exportTargetList", "name": "exportTargetList",
"label": "intent-导出-列表-指定page模板", "label": "intent-导出-列表-page1-默认导出",
"when": "1", "when": "1",
"container": "dialog", "container": "dialog",
"action": "exportTargetList", "action": "exportTargetList",
...@@ -193,6 +205,48 @@ ...@@ -193,6 +205,48 @@
} }
}, },
{ {
"name": "exportTargetList1",
"label": "intent-导出-列表-page1-指定模板",
"when": "1",
"container": "dialog",
"action": "exportTargetList",
"model": "Example1",
"parameters": {
"listName": "",
"pageName": "page1",
"template": "当前页签模板1",
"filters": [
{
"property": "status",
"type": "text",
"defaultValue": "1"
}
],
"prefilters": []
}
},
{
"name": "exportTargetList2",
"label": "intent-导出-列表-全部页签-指定模板",
"when": "1",
"container": "dialog",
"action": "exportTargetList",
"model": "Example1",
"parameters": {
"listName": "",
"pageName": "",
"template": "全部页面模板1",
"filters": [
{
"property": "status",
"type": "text",
"defaultValue": "1"
}
],
"prefilters": []
}
},
{
"name": "showWorkflowList", "name": "showWorkflowList",
"label": "intent-工作流列表", "label": "intent-工作流列表",
"container": "dialog", "container": "dialog",
...@@ -488,7 +542,10 @@ ...@@ -488,7 +542,10 @@
"showList", "showList",
"showWorkflowList", "showWorkflowList",
"exportTargetList", "exportTargetList",
"exportTargetList1",
"exportTargetList2",
"exportTargetDetail", "exportTargetDetail",
"exportTargetDetail1",
"exportWorkflowList" "exportWorkflowList"
], ],
"header": { "header": {
......
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