提交 ecfafdb2 编写于 作者: KK's avatar KK

列表数据项操作项调整

上级 91e3e421
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<div class="view-tool"> <div class="view-tool">
<div class="view-tool-sorts"> <div class="view-tool-sorts">
<#list mdctrl.getPSListItems() as item> <#list mdctrl.getPSListItems() as item>
<#if item.isEnableSort() && !item.getPSCodeList()??> <#if item.isEnableSort() && item.getItemType() == 'ACTIONITEM'>
<div class="view-tool-sorts-item"> <div class="view-tool-sorts-item">
<span class="text" @click="onSort('<#if item.getName()??>${item.getName()}</#if>')"><#if item.getCaption()??>${item.getCaption()}</#if></span> <span class="text" @click="onSort('<#if item.getName()??>${item.getName()}</#if>')"><#if item.getCaption()??>${item.getCaption()}</#if></span>
<span class="sort-icon" @click="onSort('<#if item.getName()??>${item.getName()}</#if>')"> <span class="sort-icon" @click="onSort('<#if item.getName()??>${item.getName()}</#if>')">
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<#list mdctrl.getPSListItems() as item> <#list mdctrl.getPSListItems() as item>
<#if item.isEnableSort() && item.getPSCodeList?? && item.getPSCodeList()??> <#if item.isEnableSort() && item.getPSCodeList?? && item.getPSCodeList()??>
<#assign codelist = item.getPSCodeList()> <#assign codelist = item.getPSCodeList()>
<#if codelist.getCodeListType() == 'STATIC' && codelist.getAllPSCodeItems()??> <#if codelist.getCodeListType() == 'STATIC' && codelist.getAllPSCodeItems()?? && item.getItemType() == 'TEXTITEM'>
<app-van-select name="<#if item.getName()??>n_${item.getName()?lower_case}_eq</#if>" title="<#if item.getCaption()??>${item.getCaption()}</#if>" :items="[<#list codelist.getAllPSCodeItems() as codeitem>{value:'<#if codeitem.getValue()??>${codeitem.getValue()}</#if>',label:'<#if codeitem.getName()??>${codeitem.getName()}</#if>'},</#list>]" @onConfirm="onCategory"></app-van-select> <app-van-select name="<#if item.getName()??>n_${item.getName()?lower_case}_eq</#if>" title="<#if item.getCaption()??>${item.getCaption()}</#if>" :items="[<#list codelist.getAllPSCodeItems() as codeitem>{value:'<#if codeitem.getValue()??>${codeitem.getValue()}</#if>',label:'<#if codeitem.getName()??>${codeitem.getName()}</#if>'},</#list>]" @onConfirm="onCategory"></app-van-select>
</#if> </#if>
</#if> </#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册