提交 0e154bb3 编写于 作者: Neuromancer255's avatar Neuromancer255

多数据控件插件逻辑调整

上级 8ef328d0
<#ibizinclude>./ACTION_GROUP.vue.ftl</#ibizinclude>
<#ibizinclude>./ITEM_LAYOUTPANEL.vue.ftl</#ibizinclude>
<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-${ctrl.name}">
<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">
<template v-if="(viewType == 'DEMOBMDVIEW9') && controlStyle != 'SWIPERVIEW' ">
<div class="selectall">
......@@ -92,9 +132,9 @@
loadingSpinner="bubbles"
loadingText="正在加载数据">
</ion-infinite-scroll-content>
</ion-infinite-scroll>
</ion-infinite-scroll>
</#if>
</van-pull-refresh>
</div>
</div>
</#if>
</template>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册