CONTROL.html.ftl 1019 字节
Newer Older
1
<#if ctrl.getName() != 'toolbar'>
2
  <#assign ModelsName>${ctrl.getCodeName()?lower_case}Models</#assign>
3 4 5
<#else>
  <#assign ModelsName = 'toolBarModels' />
</#if>
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<div class='toolbar-container'>
    <#if (view.getPSWorkflow?? && view.getPSWorkflow()??) && (view.isWFIAMode?? && view.isWFIAMode()) && (view.getWFStepValue?? && view.getWFStepValue() == "") && (view.getViewType?? && (view.getViewType() == 'DEWFEDITVIEW3' || view.getViewType() == 'DEWFEDITVIEW'))><#t>
    <template v-for="item in containerModel.wflinks">
        <tooltip :transfer="true" :max-width="600">
            <i-button class='' @click="wflink_click(item, $event)">
                <span class='caption'>{{item.name}}</span>
            </i-button>
            <div slot='content'>{{item.name}}</div>
        </tooltip>
    </template>
    </#if>
    <#if ctrl.getPSDEToolbarItems()??>
    <#list ctrl.getPSDEToolbarItems() as item>
    <@ibizindent blank=4>
    ${P.getPartCode(item).code}<#t>
    </@ibizindent>
    </#list>
    </#if>
</div>