bugfix
This commit is contained in:
parent
b727a9c685
commit
e890396bc2
@ -12,9 +12,9 @@
|
||||
"icon": "{{entire_url('/bricks/imgs/workflow.svg')}}",
|
||||
"label": "新建流程",
|
||||
"url": "{{entire_url('new_definition')}}"
|
||||
},
|
||||
}
|
||||
{% for d in definitions %}
|
||||
{
|
||||
,{
|
||||
"name": "{{d.id}}",
|
||||
"icon": "{{entire_url('/bricks/imgs/wf-instance.svg')}}",
|
||||
"label": "{{d.name}}",
|
||||
@ -25,10 +25,10 @@
|
||||
"icon": "{{entire_url('/bricks/imgs/wf-instance.svg')}}",
|
||||
"label": "新建实例",
|
||||
"url": "{{entire_url('new_instance.ui')}}"
|
||||
},
|
||||
}
|
||||
{% set instances = list_org_instances(request, flow_def_id=d.id) %}
|
||||
{% for inst in instances %}
|
||||
{
|
||||
,{
|
||||
"name": "{{inst.id}}",
|
||||
"icon": "{{entire_url('/bricks/imgs/wf-instance.svg')}}",
|
||||
"label": "{{inst.name}}:{{inst.id}}",
|
||||
@ -38,22 +38,22 @@
|
||||
"icon": "{{entire_url('/bricks/imgs/wf-instance.svg')}}",
|
||||
"label": "实例明细:{{inst.id}}",
|
||||
“url": "{{entire_url('show_instance.ui')}}"
|
||||
},
|
||||
}
|
||||
{% set works = get_my_flow_works(request) %}
|
||||
{% for work in works %}
|
||||
{
|
||||
,{
|
||||
"name": "{{inst.id}}_show",
|
||||
"icon": "{{entire_url('/bricks/imgs/wf-instance.svg')}}",
|
||||
"label": "我的工作:{{inst.id}}",
|
||||
"items": [
|
||||
]
|
||||
}{% if not loop.last %},{% endif %}
|
||||
}
|
||||
{% endfor %}
|
||||
]
|
||||
}{% if not loop.last %},{% endif %}
|
||||
}
|
||||
{% endfor %}
|
||||
]
|
||||
}{% if not loop.last %},{% endif %}
|
||||
}
|
||||
{% endfor %}
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user