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

数据看板多语言逻辑

上级 7b6fbb28
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</#list> </#list>
<template v-for="item in customizeModel"> <template v-for="item in customizeModel">
<ion-card class="dashboard-item userCustomize ios hydrated" :class="item.componentName + 'dashboard'" :key="item.id" v-if="isEnableCustomized"> <ion-card class="dashboard-item userCustomize ios hydrated" :class="item.componentName + 'dashboard'" :key="item.id" v-if="isEnableCustomized">
<component :is="item.componentName" :viewName="viewName" :item="item" :isCustomize="true" :customizeTitle="item.customizeTitle" :viewState="viewState" :name="item.portletCodeName" :context="context" :isChildView="true" :viewparams="viewparams" @enableCustomizedEvent="enableCustomizedEvent"></component> <component :is="item.componentName" :viewName="viewName" :isDeView="isDeView" :item="item" :isCustomize="true" :customizeTitle="item.customizeTitle" :viewState="viewState" :name="item.portletCodeName" :context="context" :isChildView="true" :viewparams="viewparams" @enableCustomizedEvent="enableCustomizedEvent"></component>
</ion-card> </ion-card>
</template> </template>
</ion-grid> </ion-grid>
......
...@@ -26,6 +26,13 @@ ...@@ -26,6 +26,13 @@
return []; return [];
} }
/**
* 是否为实体视图
*
* @memberof ${srfclassname('${ctrl.codeName}')}
*/
@Prop() protected isDeView!: boolean;
/** /**
* modleId * modleId
* *
......
<#assign content>
:isDeView="${view.isPSDEView()?c}"
</#assign>
<#ibizinclude> <#ibizinclude>
../@MACRO/HTML/DEFAULT.html.ftl ../@MACRO/HTML/DEFAULT.html.ftl
</#ibizinclude> </#ibizinclude>
\ No newline at end of file
...@@ -53,6 +53,13 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/ap ...@@ -53,6 +53,13 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/ap
*/ */
@Prop({default:false}) protected isCustomize?: boolean; @Prop({default:false}) protected isCustomize?: boolean;
/**
* 是否为实体视图
*
* @memberof ${srfclassname('${ctrl.codeName}')}
*/
@Prop() protected isDeView!: boolean;
/** /**
* 定制标题 * 定制标题
* *
......
<#assign content>
:isDeView="isDeView"
</#assign>
<#ibizinclude> <#ibizinclude>
../@MACRO/HTML/DEFAULT.html.ftl ../@MACRO/HTML/DEFAULT.html.ftl
</#ibizinclude> </#ibizinclude>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册