提交 d0a9ffee 编写于 作者: tony001's avatar tony001

优化首页菜单横向布局、树视图国际化

上级 8f0f9de8
...@@ -310,7 +310,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se ...@@ -310,7 +310,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se
const handleChildData = (context:any,item:any,) =>{ const handleChildData = (context:any,item:any,) =>{
Object.assign(item,{srfappctx:context}); Object.assign(item,{srfappctx:context});
<#if node.getPSCodeList().getCodeListType() == 'STATIC'> <#if node.getPSCodeList().getCodeListType() == 'STATIC'>
Object.assign(item, { text: i18n.t('codelist.${node.getPSCodeList().codeName}.')+item.value }); Object.assign(item, { text: i18n.t('codelist.${node.getPSCodeList().codeName}.'+item.value) });
Object.assign(item, { isUseLangRes: true }); Object.assign(item, { isUseLangRes: true });
<#else> <#else>
Object.assign(item, { text: item.text }); Object.assign(item, { text: item.text });
...@@ -368,7 +368,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se ...@@ -368,7 +368,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se
let treeNode: any = {}; let treeNode: any = {};
Object.assign(treeNode,{srfappctx:context}); Object.assign(treeNode,{srfappctx:context});
<#if node.getPSCodeList().getCodeListType() == 'STATIC'> <#if node.getPSCodeList().getCodeListType() == 'STATIC'>
Object.assign(treeNode, { text: i18n.t('codelist.${node.getPSCodeList().codeName}.')+item.value }); Object.assign(treeNode, { text: i18n.t('codelist.${node.getPSCodeList().codeName}.'+item.value) });
Object.assign(treeNode, { isUseLangRes: true }); Object.assign(treeNode, { isUseLangRes: true });
<#else> <#else>
Object.assign(treeNode, { text: item.text }); Object.assign(treeNode, { text: item.text });
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
overflow: hidden; overflow: hidden;
color:#303133; color:#303133;
background-color: #fff; background-color: #fff;
.horizontal{ .app-horizontal-layout{
.view-container{ .view-container{
height: calc(100% - 32px); height: calc(100% - 32px);
margin: 12px; margin: 12px;
......
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
<app-theme style="width:45px;display: flex;justify-content: center;"></app-theme> <app-theme style="width:45px;display: flex;justify-content: center;"></app-theme>
</div> </div>
</header> </header>
<content <#if view.getMainMenuAlign()?? && view.getMainMenuAlign()=="TOP">class="horizontal"</#if> style="height:calc(100vh - 50px);" @click="contextMenuDragVisiable=false"> <content <#if view.getMainMenuAlign()?? && view.getMainMenuAlign()=="TOP">class="app-horizontal-layout"</#if> style="height:calc(100vh - 50px);" @click="contextMenuDragVisiable=false">
<router-view></router-view> <router-view></router-view>
</content> </content>
</layout> </layout>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册