提交 81db9f09 编写于 作者: Neuromancer255's avatar Neuromancer255

Revert "多数据部件全选ui逻辑调整 --fix7"

This reverts commit b94877e3.
上级 b94877e3
...@@ -10,11 +10,10 @@ ...@@ -10,11 +10,10 @@
<ion-list class="items"> <ion-list class="items">
<template v-if="(viewType == 'DEMOBMDVIEW9') && controlStyle != 'SWIPERVIEW' "> <template v-if="(viewType == 'DEMOBMDVIEW9') && controlStyle != 'SWIPERVIEW' ">
<div class="selectall"> <div class="selectall">
<van-checkbox class="checkAllBtn" v-model="selectAllIschecked" v-show="showCheack" @click="checkboxAll">全选</van-checkbox> <ion-checkbox :checked="selectAllIschecked" v-show="showCheack" @ionChange="checkboxAll"></ion-checkbox>
<ion-label class="selectal-label" v-show="showCheack">全选</ion-label>
</div> </div>
<van-checkbox-group v-model="checkedResult" ref="checkboxGroup"> <ion-item-sliding ref="sliding" v-for="(item, index) in items" @click="item_click(item)" :key="index" class="app-mob-mdctrl-item">
<van-cell-group>
<van-swipe-cell v-for="(item, index) in items" :key="index" class="app-mob-mdctrl-item">
<#-- BENGIN:输出界面行为组 --> <#-- BENGIN:输出界面行为组 -->
<@outPutActionGroup ctrl /> <@outPutActionGroup ctrl />
<#-- END:输出界面行为组 --> <#-- END:输出界面行为组 -->
...@@ -23,29 +22,23 @@ ...@@ -23,29 +22,23 @@
<@outPutItemLaoutPanel ctrl /> <@outPutItemLaoutPanel ctrl />
<#-- END:输出项布局面板 --> <#-- END:输出项布局面板 -->
<#else> <#else>
<van-cell :ref="item.srfkey" @click="item_click(item,index)"> <ion-item>
<ion-checkbox :checked="item.checked" v-show="showCheack" @click.stop="checkboxSelect(item)"></ion-checkbox>
<#--实体列表项集合--> <#--实体列表项集合-->
<#if ctrl.getPSDEListItems()??> <#if ctrl.getPSDEListItems()??>
<!-- 列表视图样式 --> <!-- 列表视图样式 -->
<app-list-default <#if ctrl.getPSDEListItems()??>:dataItemNames = "[<#list ctrl.getPSDEListItems() as item><#if item.getDataItemName()??>'${item.getDataItemName()}',</#if></#list>]"</#if> :item="item" major="<#if appde.getMajorPSAppDEField()??>${appde.getMajorPSAppDEField().getCodeName()?lower_case}<#else>srfmajortext</#if>" v-if="controlStyle.substring(0,8) === 'LISTVIEW'"></app-list-default> <app-list-default <#if ctrl.getPSDEListItems()??>:dataItemNames = "[<#list ctrl.getPSDEListItems() as item><#if item.getDataItemName()??>'${item.getDataItemName()}',</#if></#list>]"</#if> :item="item" major="<#if appde.getMajorPSAppDEField()??>${appde.getMajorPSAppDEField().getCodeName()?lower_case}<#else>srfmajortext</#if>" v-if="controlStyle.substring(0,8) === 'LISTVIEW'"></app-list-default>
<!-- 图标视图样式 --> <!-- 图标视图样式 -->
<app-icon-list :item="item" v-if="controlStyle === 'ICONVIEW'"></app-icon-list> <app-icon-list :item="item" v-if="controlStyle === 'ICONVIEW'"></app-icon-list>
<template #right-icon>
<van-checkbox ref="checkboxes" :checked="item.checked" v-show="showCheack" :name="item.mobentityname"/>
</template>
<#else> <#else>
<div>暂无数据</div> <div>暂无数据</div>
</#if> </#if>
</van-cell> </ion-item>
<template #right>
<van-button square type="danger" text="删除" style="height:100%" @click="remove([item])"/>
</template>
</#if> </#if>
</van-swipe-cell> </ion-item-sliding>
</van-cell-group>
</van-checkbox-group>
<ion-button size="small" color="secondary" v-if="!isTempMode && !allLoaded" style ="position: relative;left: calc( 50% - 44px);" @click="loadBottom">{{$t('app.button.loadmore')}}</ion-button> <ion-button size="small" color="secondary" v-if="!isTempMode && !allLoaded" style ="position: relative;left: calc( 50% - 44px);" @click="loadBottom">{{$t('app.button.loadmore')}}</ion-button>
</template> </template>
</ion-list>
<ion-list class="items"> <ion-list class="items">
<#--多数据视图||多数据视图(部件视图)--> <#--多数据视图||多数据视图(部件视图)-->
<template v-if="(viewType == 'DEMOBMDVIEW') && controlStyle != 'SWIPERVIEW' "> <template v-if="(viewType == 'DEMOBMDVIEW') && controlStyle != 'SWIPERVIEW' ">
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册