提交 4756d436 编写于 作者: Neuromancer255's avatar Neuromancer255

多数据部件插件逻辑调整

上级 4573025c
<#ibizinclude>./ACTION_GROUP.vue.ftl</#ibizinclude> <#ibizinclude>./ACTION_GROUP.vue.ftl</#ibizinclude>
<#ibizinclude>./ITEM_LAYOUTPANEL.vue.ftl</#ibizinclude> <#ibizinclude>./ITEM_LAYOUTPANEL.vue.ftl</#ibizinclude>
<template> <template>
<#if ctrl.render??>
${ctrl.render.code}
<#else>
<div class="app-mob-mdctrl <#if ctrl.getPSSysCss()??><#assign singleCss = ctrl.getPSSysCss()> ${singleCss.getCssName()}</#if>"> <div class="app-mob-mdctrl <#if ctrl.getPSSysCss()??><#assign singleCss = ctrl.getPSSysCss()> ${singleCss.getCssName()}</#if>">
<div class="app-mob-mdctrl-${ctrl.name}"> <div class="app-mob-mdctrl-${ctrl.name}">
<van-pull-refresh class="app-mob-mdctrl-refresh" v-model="isLoading" success-text="刷新成功" @refresh="refresh"> <van-pull-refresh class="app-mob-mdctrl-refresh" v-model="isLoading" success-text="刷新成功" @refresh="refresh">
<#if ctrl.getPSSysPFPlugin?? && ctrl.getPSSysPFPlugin()??>
<#if ctrl.getPSSysPFPlugin().getPFPluginType?? && ctrl.getPSSysPFPlugin().getPFPluginType()?? && ctrl.getPSSysPFPlugin().getPFPluginType()=='LIST_RENDER'>
${ctrl.render.code}
</#if>
<#if ctrl.getPSSysPFPlugin().getPFPluginType?? && ctrl.getPSSysPFPlugin().getPFPluginType()?? && ctrl.getPSSysPFPlugin().getPFPluginType()=='LIST_ITEMRENDER'>
<ion-list class="items">
<template v-if="(viewType == 'DEMOBMDVIEW9') && controlStyle != 'SWIPERVIEW' ">
${ctrl.render.code}
<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>
</ion-list>
<ion-list class="items">
<#--多数据视图||多数据视图(部件视图)-->
<template v-if="(viewType == 'DEMOBMDVIEW') && controlStyle != 'SWIPERVIEW' ">
${ctrl.render.code}
<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 v-else-if="(viewType == 'DEMOBMDVIEW9')">
${ctrl.render.code}
</template>
<template v-else-if="(viewType == 'DEMOBMDVIEW' || viewType == 'DEMOBMDVIEW9') && controlStyle === 'SWIPERVIEW'">
${ctrl.render.code}
</template>
<#-- BENGIN: 工作流多数据视图 -->
<#ibizinclude>./WORKFLOW_MDVIEW.template.ftl</#ibizinclude>
<#-- END: 工作流多数据视图 -->
<#--多数据选择视图(部件视图)-->
<#--多选-->
<template v-else>
<#-- BENGIN: 多选视图 -->
<#ibizinclude>./PICKER_MDVIEW.template.ftl</#ibizinclude>
<#-- END: 多选视图 -->
</template>
</ion-list>
<ion-infinite-scroll v-if="viewType == 'DEMOBMDVIEW'" :disabled="allLoaded" ref="loadmoreBottom" @ionInfinite="loadBottom" distince="1%">
<ion-infinite-scroll-content
loadingSpinner="bubbles"
loadingText="正在加载数据">
</ion-infinite-scroll-content>
</ion-infinite-scroll>
</#if>
<#else>
<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">
...@@ -93,8 +133,8 @@ ...@@ -93,8 +133,8 @@
loadingText="正在加载数据"> loadingText="正在加载数据">
</ion-infinite-scroll-content> </ion-infinite-scroll-content>
</ion-infinite-scroll> </ion-infinite-scroll>
</#if>
</van-pull-refresh> </van-pull-refresh>
</div> </div>
</div> </div>
</#if>
</template> </template>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册