V agendě Procesy schválení lze u jednotlivých schvalovacích rolí nastavit, jestli bude vyžadován při schválení elektronický podpis.
closes #242
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<?page title="${labels.AgendaWorkflow}" contentType="text/html;charset=UTF-8"?>
|
||||
<zk>
|
||||
<zk xmlns="http://www.zkoss.org/2005/zul"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.zkoss.org/2005/zul http://www.zkoss.org/2005/zul/zul.xsd">
|
||||
<window border="normal" apply="org.zkoss.bind.BindComposer"
|
||||
viewModel="@id('vm') @init('info.bukova.isspst.ui.requirement.RequirementTypesVM')"
|
||||
vflex="1">
|
||||
@@ -63,45 +65,65 @@
|
||||
<groupbox mold="3d" visible="@load(not empty vm.selected)">
|
||||
<caption label="${labels.Workflow}"/>
|
||||
<vbox>
|
||||
<label value="${labels.ContextMenu}"/>
|
||||
<listbox id="wgWorkflow" model="@load(vm.selected.workflow)" droppable="workgroup"
|
||||
onDrop="@command('addRoleWg', event=event)"
|
||||
selectedItem="@bind(vm.wgSelWorkflow)">
|
||||
<listhead>
|
||||
<listheader width="50px"/>
|
||||
<listheader label="${labels.WorkgroupWorkflow}"/>
|
||||
</listhead>
|
||||
<template name="model">
|
||||
<listitem label="@load(each.role.description)" visible="@load(not each.centre)"
|
||||
<listitem visible="@load(not each.centre)"
|
||||
onDrop="@command('reorderWg', event=event)" draggable="workgroup" droppable="workgroup"
|
||||
context="limitPopUpWg"
|
||||
style="@load(empty each.limit ? '' : 'background-color: #e1fdd5')"
|
||||
tooltiptext="@load(empty each.limit ? '' : labels.Limit.concat(' ').concat(each.limit))"/>
|
||||
tooltiptext="@load(empty each.limit ? '' : labels.Limit.concat(' ').concat(each.limit))">
|
||||
<listcell>
|
||||
<image src="/img/money-small.png" visible="@load(not empty each.limit)"/>
|
||||
<image src="/img/sign-small.png" visible="@load(each.signature)"/>
|
||||
</listcell>
|
||||
<listcell label="@load(each.role.description)"/>
|
||||
</listitem>
|
||||
</template>
|
||||
</listbox>
|
||||
<listbox id="centreWorkflow" model="@load(vm.selected.workflow)" droppable="centre"
|
||||
onDrop="@command('addRoleCentre', event=event)"
|
||||
selectedItem="@bind(vm.centreSelWorkflow)">
|
||||
<listhead>
|
||||
<listheader width="50px"/>
|
||||
<listheader label="${labels.CentreWorkflow}"/>
|
||||
</listhead>
|
||||
<template name="model">
|
||||
<listitem label="@load(each.role.description)" visible="@load(each.centre)"
|
||||
<listitem visible="@load(each.centre)"
|
||||
onDrop="@command('reorderCentre', event=event)" draggable="centre" droppable="centre"
|
||||
context="limitPopUp"
|
||||
style="@load(empty each.limit ? '' : 'background-color: #e1fdd5')"
|
||||
tooltiptext="@load(empty each.limit ? '' : labels.Limit.concat(' ').concat(each.limit))"/>
|
||||
tooltiptext="@load(empty each.limit ? '' : labels.Limit.concat(' ').concat(each.limit))">
|
||||
<listcell>
|
||||
<image src="/img/money-small.png" visible="@load(not empty each.limit)"/>
|
||||
<image src="/img/sign-small.png" visible="@load(each.signature)"/>
|
||||
</listcell>
|
||||
<listcell label="@load(each.role.description)"/>
|
||||
</listitem>
|
||||
</template>
|
||||
</listbox>
|
||||
</vbox>
|
||||
</groupbox>
|
||||
<menupopup id="limitPopUp">
|
||||
<menuitem label="${labels.OverLimit}" checkmark="true"
|
||||
checked="@load(not empty vm.centreSelWorkflow.limit)"
|
||||
onClick="@command('overLimit', workflow=centreWorkflow.selectedItem.value)"/>
|
||||
checked="@load(not empty vm.centreSelWorkflow.limit)"
|
||||
onClick="@command('overLimit', workflow=centreWorkflow.selectedItem.value)"/>
|
||||
<menuitem label="${labels.DigitalSignature}" checkmark="true"
|
||||
checked="@load(vm.centreSelWorkflow.signature)"
|
||||
onClick="@command('toggleSignature', workflow=centreWorkflow.selectedItem.value)"/>
|
||||
</menupopup>
|
||||
<menupopup id="limitPopUpWg">
|
||||
<menuitem label="${labels.OverLimit}" checkmark="true"
|
||||
checked="@load(not empty vm.wgSelWorkflow.limit)"
|
||||
onClick="@command('overLimit', workflow=wgWorkflow.selectedItem.value)"/>
|
||||
checked="@load(not empty vm.wgSelWorkflow.limit)"
|
||||
onClick="@command('overLimit', workflow=wgWorkflow.selectedItem.value)"/>
|
||||
<menuitem label="${labels.DigitalSignature}" checkmark="true"
|
||||
checked="@load(vm.wgSelWorkflow.signature)"
|
||||
onClick="@command('toggleSignature', workflow=wgWorkflow.selectedItem.value)"/>
|
||||
</menupopup>
|
||||
</div>
|
||||
</hbox>
|
||||
|
||||
Reference in New Issue
Block a user