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
8b407d8b
authored
Jan 17, 2023
by
罗建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
--story=1013884 --user=罗建民 工作流通知改造升级
https://www.tapd.cn/56664057/s/1131397
parent
8da65d87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
102 additions
and
83 deletions
models/Example1.json
models/Example1.json
View file @
8b407d8b
...
@@ -709,31 +709,9 @@
...
@@ -709,31 +709,9 @@
"label"
:
"去处理"
,
"label"
:
"去处理"
,
"container"
:
"sidebar"
,
"container"
:
"sidebar"
,
"action"
:
"showList"
,
"action"
:
"showList"
,
"model"
:
"uniplat_process_instance@intent_example"
,
"parameters"
:
{
"parameters"
:
{
"listName"
:
"
notifyList
"
,
"listName"
:
"
simple1
"
,
"prefilters"
:
[
"prefilters"
:
[
{
"property"
:
"model_name"
,
"operator"
:
""
,
"value"
:
"Example1"
},
{
"property"
:
"process_name"
,
"value"
:
"提醒"
},
{
"property"
:
"finish_time__isnull"
,
"value"
:
""
},
{
"property"
:
"task_begin_time__lte"
,
"value"
:
"{{env.now.value}}"
},
{
"property"
:
"task_end_time__gte"
,
"value"
:
"{{env.now.value}}"
}
]
]
}
}
}
}
...
@@ -1205,43 +1183,80 @@
...
@@ -1205,43 +1183,80 @@
],
],
"detail_action_visible"
:
true
,
"detail_action_visible"
:
true
,
"log_action_visible"
:
false
,
"log_action_visible"
:
false
,
"workflowNotify"
:
{
"notifies"
:
[
"title"
:
"提醒"
,
{
"prefilters"
:
[
"label"
:
"提醒"
,
{
"prefilters"
:
[
"property"
:
"model_name"
,
{
"operator"
:
""
,
"property"
:
"id__lt"
,
"value"
:
"'Example1'"
"value"
:
"10"
},
}
{
],
"property"
:
"process_name"
,
"modelName"
:
"Example1"
,
"value"
:
"'提醒'"
"listName"
:
"simple1"
},
},
{
{
"property"
:
"finish_time__isnull"
,
"label"
:
"警告"
,
"operator"
:
""
,
"prefilters"
:
[
"value"
:
""
{
},
"property"
:
"id__gt"
,
{
"value"
:
"10"
"property"
:
"task_begin_time__lte"
,
}
"value"
:
"{{env.now.value}}"
],
},
"modelName"
:
"Example1"
,
{
"listName"
:
"simple2"
"property"
:
"task_end_time__gte"
,
}
"value"
:
"{{env.now.value}}"
]
}
},
],
{
"sorts"
:
[
"name"
:
"simple1"
,
{
"label"
:
"简单列表1"
,
"property"
:
"task_begin_time"
,
"filters"
:
[
"type"
:
"asc"
],
},
"actions"
:
[
{
],
"property"
:
"priority"
,
"field_groups"
:
[
"type"
:
"desc"
{
}
"label"
:
"id"
,
]
"template"
:
"{id}"
}
},
{
"label"
:
"name"
,
"template"
:
"{name}"
}
],
"row_actions"
:
[
],
"rowIntents"
:
[
],
"intents"
:
[
"showNotifyList"
],
"detail_action_visible"
:
true
,
"log_action_visible"
:
false
},
{
"name"
:
"simple2"
,
"label"
:
"简单列表2"
,
"filters"
:
[
],
"actions"
:
[
],
"field_groups"
:
[
{
"label"
:
"name"
,
"template"
:
"{name}"
}
],
"row_actions"
:
[
],
"rowIntents"
:
[
],
"intents"
:
[
"showNotifyList"
],
"detail_action_visible"
:
true
,
"log_action_visible"
:
false
}
}
],
],
"detail"
:
{
"detail"
:
{
...
@@ -1373,29 +1388,33 @@
...
@@ -1373,29 +1388,33 @@
]
]
}
}
],
],
"workflowNotify"
:
{
"notifies"
:
[
"title"
:
"提醒"
,
{
"prefilters"
:
[
"label"
:
"提醒"
,
{
"prefilters"
:
[
"property"
:
"process_name"
,
{
"value"
:
"'提醒'"
"property"
:
"process_name"
,
},
"value"
:
"'提醒'"
{
},
"property"
:
"finish_time"
,
{
"operator"
:
"isnull"
,
"property"
:
"finish_time"
,
"value"
:
""
"operator"
:
"isnull"
,
},
"value"
:
""
{
},
"property"
:
"model_name"
,
{
"operator"
:
""
,
"property"
:
"model_name"
,
"value"
:
"'Example1'"
"operator"
:
""
,
},
"value"
:
"'Example1'"
{
},
"property"
:
"associate_id"
,
{
"value"
:
"{{object.id.value}}"
"property"
:
"associate_id"
,
}
"value"
:
"{{object.id.value}}"
]
}
}
],
"modelName"
:
"uniplat_process_instance@intent_example"
,
"listName"
:
"simpleNotifyList"
}
]
},
},
"details"
:
[
"details"
:
[
{
{
...
...
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