Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
uniplat-example
/
intent-example
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d22a30fd
authored
Dec 22, 2022
by
罗建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
--story=1013234 --user=罗建民 入口section
https://www.tapd.cn/56664057/s/1128491
parent
c1c671d7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
0 deletions
models/Example1.groovy
models/Example1.json
models/Example1.groovy
View file @
d22a30fd
import
com.qinqinxiaobao.report.uniplat.engine.DO.DataObject
import
com.qinqinxiaobao.report.uniplat.engine.DO.DataObject
import
com.qinqinxiaobao.report.uniplat.engine.DO.EnvDataObject
import
com.qinqinxiaobao.report.uniplat.engine.DO.EnvDataObject
import
com.qinqinxiaobao.report.uniplat.engine.DataList
import
com.qinqinxiaobao.report.uniplat.engine.DataList
import
com.qinqinxiaobao.report.uniplat.executor.ActionBehaviorContext
import
com.qinqinxiaobao.report.uniplat.list.serialize.filters.ModelFilters
import
com.qinqinxiaobao.report.uniplat.list.serialize.filters.ModelFilters
import
com.qinqinxiaobao.report.uniplat.models.field.SQLBuilder
import
com.qinqinxiaobao.report.uniplat.models.field.SQLBuilder
import
com.qinqinxiaobao.report.uniplat.models.field.SqlBuilderGenerator
import
com.qinqinxiaobao.report.uniplat.models.field.SqlBuilderGenerator
...
@@ -116,4 +117,8 @@ class Example1 {
...
@@ -116,4 +117,8 @@ class Example1 {
]
]
]
]
}
}
def
emptyBehavior
(
ActionBehaviorContext
ctx
)
{
}
}
}
\ No newline at end of file
models/Example1.json
View file @
d22a30fd
...
@@ -158,6 +158,19 @@
...
@@ -158,6 +158,19 @@
},
},
"behavior"
:
"startProcess"
,
"behavior"
:
"startProcess"
,
"forward"
:
""
"forward"
:
""
},
{
"name"
:
"test"
,
"when"
:
"1"
,
"label"
:
"测试"
,
"prompt"
:
""
,
"container"
:
"dialog"
,
"parameters"
:
{
"server"
:
[],
"inputs"
:
[]
},
"behavior"
:
"emptyBehavior"
,
"forward"
:
""
}
}
],
],
"intentDefs"
:
[
"intentDefs"
:
[
...
@@ -588,6 +601,17 @@
...
@@ -588,6 +601,17 @@
}
}
],
],
"actions"
:
[]
"actions"
:
[]
},
{
"name"
:
"test"
,
"label"
:
"section"
,
"field_groups"
:
[
{
"label"
:
"label:"
,
"template"
:
"template"
}
],
"actions"
:
[
"test"
]
}
}
],
],
"mapping_defs"
:
[
"mapping_defs"
:
[
...
@@ -998,6 +1022,9 @@
...
@@ -998,6 +1022,9 @@
"actions"
:
[]
"actions"
:
[]
}
}
],
],
"sectionRefs"
:
[
"test"
],
"pages"
:
[
"pages"
:
[
{
{
"name"
:
"detail_page_1"
,
"name"
:
"detail_page_1"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment