Commit 8b407d8b by 罗建民

--story=1013884 --user=罗建民 工作流通知改造升级 https://www.tapd.cn/56664057/s/1131397

parent 8da65d87
Showing with 68 additions and 49 deletions
...@@ -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": "提醒", {
"label": "提醒",
"prefilters": [ "prefilters": [
{ {
"property": "model_name", "property": "id__lt",
"operator": "", "value": "10"
"value": "'Example1'" }
],
"modelName": "Example1",
"listName": "simple1"
}, },
{ {
"property": "process_name", "label": "警告",
"value": "'提醒'" "prefilters": [
},
{ {
"property": "finish_time__isnull", "property": "id__gt",
"operator": "", "value": "10"
"value": "" }
],
"modelName": "Example1",
"listName": "simple2"
}
]
}, },
{ {
"property": "task_begin_time__lte", "name": "simple1",
"value": "{{env.now.value}}" "label": "简单列表1",
"filters": [
],
"actions": [
],
"field_groups": [
{
"label": "id",
"template": "{id}"
}, },
{ {
"property": "task_end_time__gte", "label": "name",
"value": "{{env.now.value}}" "template": "{name}"
} }
], ],
"sorts": [ "row_actions": [
{ ],
"property": "task_begin_time", "rowIntents": [
"type": "asc" ],
"intents": [
"showNotifyList"
],
"detail_action_visible": true,
"log_action_visible": false
}, },
{ {
"property": "priority", "name": "simple2",
"type": "desc" "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,8 +1388,9 @@ ...@@ -1373,8 +1388,9 @@
] ]
} }
], ],
"workflowNotify": { "notifies": [
"title": "提醒", {
"label": "提醒",
"prefilters": [ "prefilters": [
{ {
"property": "process_name", "property": "process_name",
...@@ -1394,8 +1410,11 @@ ...@@ -1394,8 +1410,11 @@
"property": "associate_id", "property": "associate_id",
"value": "{{object.id.value}}" "value": "{{object.id.value}}"
} }
] ],
"modelName": "uniplat_process_instance@intent_example",
"listName": "simpleNotifyList"
} }
]
}, },
"details": [ "details": [
{ {
......
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