This commit is contained in:
yumoqing 2026-03-16 08:15:09 +08:00
parent 4687856af5
commit 108c1ff793

View File

@ -1,14 +1,14 @@
{% set definitions = get_org_flow_definition(request) %}
{% if definitions %}
{
"widgettype": "menu",
"widgettype": "Menu",
"options": {
"cwidth": 10,
"target": "page-center",
"height": "100%",
"items": [
{
"name": "instances",
"name": "definition",
"icon": "{{entire_url('/bricks/imgs/workflow.svg')}}",
"label": "新建流程",
"url": "{{entire_url('new_definition')}}"
@ -23,7 +23,7 @@
{
"name": "instances",
"icon": "{{entire_url('/bricks/imgs/wf-instance.svg')}}",
"label": "新建流程",
"label": "新建实例",
"url": "{{entire_url('new_instance.ui')}}"
},
{% set instances = list_org_instances(request, flow_def_id=d.id) %}