Commit 8b407d8b by 罗建民

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

parent 8da65d87
Showing with 102 additions and 83 deletions
......@@ -709,31 +709,9 @@
"label": "去处理",
"container": "sidebar",
"action": "showList",
"model": "uniplat_process_instance@intent_example",
"parameters": {
"listName": "notifyList",
"listName": "simple1",
"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 @@
],
"detail_action_visible": true,
"log_action_visible": false,
"workflowNotify": {
"title": "提醒",
"prefilters": [
{
"property": "model_name",
"operator": "",
"value": "'Example1'"
},
{
"property": "process_name",
"value": "'提醒'"
},
{
"property": "finish_time__isnull",
"operator": "",
"value": ""
},
{
"property": "task_begin_time__lte",
"value": "{{env.now.value}}"
},
{
"property": "task_end_time__gte",
"value": "{{env.now.value}}"
}
],
"sorts": [
{
"property": "task_begin_time",
"type": "asc"
},
{
"property": "priority",
"type": "desc"
}
]
}
"notifies": [
{
"label": "提醒",
"prefilters": [
{
"property": "id__lt",
"value": "10"
}
],
"modelName": "Example1",
"listName": "simple1"
},
{
"label": "警告",
"prefilters": [
{
"property": "id__gt",
"value": "10"
}
],
"modelName": "Example1",
"listName": "simple2"
}
]
},
{
"name": "simple1",
"label": "简单列表1",
"filters": [
],
"actions": [
],
"field_groups": [
{
"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": {
......@@ -1373,29 +1388,33 @@
]
}
],
"workflowNotify": {
"title": "提醒",
"prefilters": [
{
"property": "process_name",
"value": "'提醒'"
},
{
"property": "finish_time",
"operator": "isnull",
"value": ""
},
{
"property": "model_name",
"operator": "",
"value": "'Example1'"
},
{
"property": "associate_id",
"value": "{{object.id.value}}"
}
]
}
"notifies": [
{
"label": "提醒",
"prefilters": [
{
"property": "process_name",
"value": "'提醒'"
},
{
"property": "finish_time",
"operator": "isnull",
"value": ""
},
{
"property": "model_name",
"operator": "",
"value": "'Example1'"
},
{
"property": "associate_id",
"value": "{{object.id.value}}"
}
],
"modelName": "uniplat_process_instance@intent_example",
"listName": "simpleNotifyList"
}
]
},
"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