提交 50b195db 编写于 作者: Cano1997's avatar Cano1997

update:多语言优化

上级 4f997e11
...@@ -5,12 +5,12 @@ ...@@ -5,12 +5,12 @@
<div class="app-multieditviewpanel<#if ctrl.getPSSysCss?? && ctrl.getPSSysCss()??><#assign singleCss = ctrl.getPSSysCss()> ${singleCss.getCssName()}</#if>"> <div class="app-multieditviewpanel<#if ctrl.getPSSysCss?? && ctrl.getPSSysCss()??><#assign singleCss = ctrl.getPSSysCss()> ${singleCss.getCssName()}</#if>">
<#if ctrl.getEmbeddedPSAppView()??> <#if ctrl.getEmbeddedPSAppView()??>
<i-button :class="{ 'app-multieditviewpanel-add': true, 'app-multieditviewpanel-add--existdata': items.length > 0 && items[0].srfuf == 1 }" type="primary" @click="handleAdd"> <i-button :class="{ 'app-multieditviewpanel-add': true, 'app-multieditviewpanel-add--existdata': items.length > 0 && items[0].srfuf == 1 }" type="primary" @click="handleAdd">
{{ $t('app.local.add') + $t('<#if ctrl.getEmbeddedPSAppView().getPSAppDataEntity()??>entities.${ctrl.getEmbeddedPSAppView().getPSAppDataEntity().getCodeName()?lower_case}.views.${ctrl.getEmbeddedPSAppView().getPSDEViewCodeName()?lower_case}.caption<#else>app.views.${ctrl.getEmbeddedPSAppView().getCodeName()?lower_case}.caption</#if>') }} {{ $t('app.local.add') + <@getItemLanguageCaption ctrl.getEmbeddedPSAppView() />}}
</i-button> </i-button>
<card v-for="(item, index) in items" :key="item.id" :dis-hover="true" :class="{ 'app-multieditviewpanel-item': true, 'app-multieditviewpanel-item--collapse': item.collapseContent }"> <card v-for="(item, index) in items" :key="item.id" :dis-hover="true" :class="{ 'app-multieditviewpanel-item': true, 'app-multieditviewpanel-item--collapse': item.collapseContent }">
<span class='multieditviewpanel-item__caption' slot='title'> <span class='multieditviewpanel-item__caption' slot='title'>
<icon :type="item.collapseContent ? 'md-add' : 'md-remove'" class="collapse-icon" @click="clickCollapse(item)"/> <icon :type="item.collapseContent ? 'md-add' : 'md-remove'" class="collapse-icon" @click="clickCollapse(item)"/>
<span>{{ $t('<#if ctrl.getEmbeddedPSAppView().getPSAppDataEntity()??>entities.${ctrl.getEmbeddedPSAppView().getPSAppDataEntity().getCodeName()?lower_case}.views.${ctrl.getEmbeddedPSAppView().getPSDEViewCodeName()?lower_case}.caption<#else>app.views.${ctrl.getEmbeddedPSAppView().getCodeName()?lower_case}.caption</#if>') }}</span> <span>{{ <@getItemLanguageCaption ctrl.getEmbeddedPSAppView() /> }}</span>
</span> </span>
<template slot="extra"> <template slot="extra">
<div class="multieditviewpanel-action"> <div class="multieditviewpanel-action">
......
...@@ -252,11 +252,11 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se ...@@ -252,11 +252,11 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se
return new Promise((resolve:any,reject:any) =>{ return new Promise((resolve:any,reject:any) =>{
<#if node.getTreeNodeType() == 'STATIC'> <#if node.getTreeNodeType() == 'STATIC'>
let treeNode: any = {}; let treeNode: any = {};
Object.assign(treeNode, { text: 'entities.${appde.getCodeName()?lower_case}.${ctrl.getCodeName()?lower_case}_${ctrl.getControlType()?lower_case}.nodes.${node.getNodeType()?lower_case}' }); Object.assign(treeNode, { text: <@getNameLanguage node /> });
Object.assign(treeNode, { isUseLangRes: true }); Object.assign(treeNode, { isUseLangRes: true });
<#if node.isEnableQuickSearch()> <#if node.isEnableQuickSearch()>
if(filter.srfnodefilter && !Object.is(filter.srfnodefilter,"")){ if(filter.srfnodefilter && !Object.is(filter.srfnodefilter,"")){
if((i18n.t(treeNode.text) as string).toUpperCase().indexOf(filter.getSrfnodefilter().toUpperCase())==-1) if((treeNode.text).toUpperCase().indexOf(filter.getSrfnodefilter().toUpperCase())==-1)
return Promise.reject(); return Promise.reject();
} }
</#if> </#if>
...@@ -393,14 +393,14 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se ...@@ -393,14 +393,14 @@ 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: 'codelist.${node.getPSCodeList().codeName}.'+item.value }); Object.assign(treeNode, { text: <@getNameLanguage node /> });
Object.assign(treeNode, { isUseLangRes: true }); Object.assign(treeNode, { isUseLangRes: true });
<#else> <#else>
Object.assign(treeNode, { text: item.text }); Object.assign(treeNode, { text: item.text });
</#if> </#if>
<#if node.isEnableQuickSearch()> <#if node.isEnableQuickSearch()>
if(filter.srfnodefilter && !Object.is(filter.srfnodefilter,"")){ if(filter.srfnodefilter && !Object.is(filter.srfnodefilter,"")){
if((i18n.t(treeNode.text) as string).toUpperCase().indexOf(filter.getSrfnodefilter().toUpperCase())==-1) if((treeNode.text).toUpperCase().indexOf(filter.getSrfnodefilter().toUpperCase())==-1)
return; return;
} }
</#if> </#if>
......
...@@ -221,11 +221,11 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se ...@@ -221,11 +221,11 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se
return new Promise((resolve:any,reject:any) =>{ return new Promise((resolve:any,reject:any) =>{
<#if node.getTreeNodeType() == 'STATIC'> <#if node.getTreeNodeType() == 'STATIC'>
let treeNode: any = {}; let treeNode: any = {};
Object.assign(treeNode, { text: i18n.t('entities.${appde.getCodeName()?lower_case}.${ctrl.getCodeName()?lower_case}_${ctrl.getControlType()?lower_case}.nodes.${node.getNodeType()?lower_case}') }); Object.assign(treeNode, { text: <@getNameLanguage node /> });
Object.assign(treeNode, { isUseLangRes: true }); Object.assign(treeNode, { isUseLangRes: true });
<#if node.isEnableQuickSearch()> <#if node.isEnableQuickSearch()>
if(filter.srfnodefilter && !Object.is(filter.srfnodefilter,"")){ if(filter.srfnodefilter && !Object.is(filter.srfnodefilter,"")){
if((i18n.t(treeNode.text) as string).toUpperCase().indexOf(filter.srfnodefilter.toUpperCase())==-1) if((treeNode.text).toUpperCase().indexOf(filter.srfnodefilter.toUpperCase())==-1)
return resolve(list); return resolve(list);
} }
</#if> </#if>
...@@ -308,7 +308,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se ...@@ -308,7 +308,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: <@getNameLanguage node /> });
Object.assign(item, { isUseLangRes: true }); Object.assign(item, { isUseLangRes: true });
<#else> <#else>
Object.assign(item, { text: item.text }); Object.assign(item, { text: item.text });
...@@ -372,14 +372,14 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se ...@@ -372,14 +372,14 @@ 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: <@getNameLanguage node /> });
Object.assign(treeNode, { isUseLangRes: true }); Object.assign(treeNode, { isUseLangRes: true });
<#else> <#else>
Object.assign(treeNode, { text: item.text }); Object.assign(treeNode, { text: item.text });
</#if> </#if>
<#if node.isEnableQuickSearch()> <#if node.isEnableQuickSearch()>
if(filter.srfnodefilter && !Object.is(filter.srfnodefilter,"")){ if(filter.srfnodefilter && !Object.is(filter.srfnodefilter,"")){
if((i18n.t(treeNode.text) as string).toUpperCase().indexOf(filter.srfnodefilter.toUpperCase())==-1) if((treeNode.text).toUpperCase().indexOf(filter.srfnodefilter.toUpperCase())==-1)
return; return;
} }
</#if> </#if>
......
...@@ -252,11 +252,11 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se ...@@ -252,11 +252,11 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se
return new Promise((resolve:any,reject:any) =>{ return new Promise((resolve:any,reject:any) =>{
<#if node.getTreeNodeType() == 'STATIC'> <#if node.getTreeNodeType() == 'STATIC'>
let treeNode: any = {}; let treeNode: any = {};
Object.assign(treeNode, { text: 'entities.${appde.getCodeName()?lower_case}.${ctrl.getCodeName()?lower_case}_${ctrl.getControlType()?lower_case}.nodes.${node.getNodeType()?lower_case}' }); Object.assign(treeNode, { text: <@getNameLanguage node /> });
Object.assign(treeNode, { isUseLangRes: true }); Object.assign(treeNode, { isUseLangRes: true });
<#if node.isEnableQuickSearch()> <#if node.isEnableQuickSearch()>
if(filter.srfnodefilter && !Object.is(filter.srfnodefilter,"")){ if(filter.srfnodefilter && !Object.is(filter.srfnodefilter,"")){
if((i18n.t(treeNode.text) as string).toUpperCase().indexOf(filter.getSrfnodefilter().toUpperCase())==-1) if((treeNode.text).toUpperCase().indexOf(filter.getSrfnodefilter().toUpperCase())==-1)
return Promise.reject(); return Promise.reject();
} }
</#if> </#if>
...@@ -393,14 +393,14 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se ...@@ -393,14 +393,14 @@ 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: 'codelist.${node.getPSCodeList().codeName}.'+item.value }); Object.assign(treeNode, { text: <@getNameLanguage node /> });
Object.assign(treeNode, { isUseLangRes: true }); Object.assign(treeNode, { isUseLangRes: true });
<#else> <#else>
Object.assign(treeNode, { text: item.text }); Object.assign(treeNode, { text: item.text });
</#if> </#if>
<#if node.isEnableQuickSearch()> <#if node.isEnableQuickSearch()>
if(filter.srfnodefilter && !Object.is(filter.srfnodefilter,"")){ if(filter.srfnodefilter && !Object.is(filter.srfnodefilter,"")){
if((i18n.t(treeNode.text) as string).toUpperCase().indexOf(filter.getSrfnodefilter().toUpperCase())==-1) if((treeNode.text).toUpperCase().indexOf(filter.getSrfnodefilter().toUpperCase())==-1)
return; return;
} }
</#if> </#if>
......
...@@ -671,8 +671,8 @@ ${gridColumn.getName()} ...@@ -671,8 +671,8 @@ ${gridColumn.getName()}
return { return {
<#list ctrl.getPSDEGridEditItems() as edititem> <#list ctrl.getPSDEGridEditItems() as edititem>
${edititem.getName()}: [ ${edititem.getName()}: [
{ required: <#if edititem.isAllowEmpty()>false<#else>true</#if>, validator: (rule:any, value:any, callback:any) => { return (rule.required && (value === null || value === undefined || value === "")) ? false : true;}, message: `<#if edititem.getPSDEGridColumn()?? && edititem.getPSDEGridColumn().getCapPSLanguageRes()??><#noparse>${</#noparse>this.$t('${edititem.getPSDEGridColumn().getCapPSLanguageRes().getLanResTag()}')<#noparse>}</#noparse><#noparse>${</#noparse>this.$t('app.commonWords.valueNotEmpty')<#noparse>}</#noparse><#else><#noparse>${</#noparse>this.$t('app.commonWords.valueNotEmpty')<#noparse>}</#noparse></#if>`, trigger: 'change' }, { required: <#if edititem.isAllowEmpty()>false<#else>true</#if>, validator: (rule:any, value:any, callback:any) => { return (rule.required && (value === null || value === undefined || value === "")) ? false : true;}, message: `<#if edititem.getPSDEGridColumn()?? && edititem.getPSDEGridColumn().getCapPSLanguageRes()??><#noparse>${</#noparse>this.$t('${edititem.getPSDEGridColumn().getCapPSLanguageRes().getLanResTag()}', '${edititem.getPSDEGridColumn().getCaption()}')<#noparse>}</#noparse><#noparse>${</#noparse>this.$t('app.commonWords.valueNotEmpty')<#noparse>}</#noparse><#else><#noparse>${</#noparse>this.$t('app.commonWords.valueNotEmpty')<#noparse>}</#noparse></#if>`, trigger: 'change' },
{ required: <#if edititem.isAllowEmpty()>false<#else>true</#if>, validator: (rule:any, value:any, callback:any) => { return (rule.required && (value === null || value === undefined || value === "")) ? false : true;}, message: `<#if edititem.getPSDEGridColumn()?? && edititem.getPSDEGridColumn().getCapPSLanguageRes()??><#noparse>${</#noparse>this.$t('${edititem.getPSDEGridColumn().getCapPSLanguageRes().getLanResTag()}')<#noparse>}</#noparse><#noparse>${</#noparse>this.$t('app.commonWords.valueNotEmpty')<#noparse>}</#noparse><#else><#noparse>${</#noparse>this.$t('app.commonWords.valueNotEmpty')<#noparse>}</#noparse></#if>`, trigger: 'blur' }, { required: <#if edititem.isAllowEmpty()>false<#else>true</#if>, validator: (rule:any, value:any, callback:any) => { return (rule.required && (value === null || value === undefined || value === "")) ? false : true;}, message: `<#if edititem.getPSDEGridColumn()?? && edititem.getPSDEGridColumn().getCapPSLanguageRes()??><#noparse>${</#noparse>this.$t('${edititem.getPSDEGridColumn().getCapPSLanguageRes().getLanResTag()}', '${edititem.getPSDEGridColumn().getCaption()}')<#noparse>}</#noparse><#noparse>${</#noparse>this.$t('app.commonWords.valueNotEmpty')<#noparse>}</#noparse><#else><#noparse>${</#noparse>this.$t('app.commonWords.valueNotEmpty')<#noparse>}</#noparse></#if>`, trigger: 'blur' },
<#if ctrl.getPSDEGridEditItemVRs?? && ctrl.getPSDEGridEditItemVRs()??> <#if ctrl.getPSDEGridEditItemVRs?? && ctrl.getPSDEGridEditItemVRs()??>
<#list ctrl.getPSDEGridEditItemVRs() as fideValueRule> <#list ctrl.getPSDEGridEditItemVRs() as fideValueRule>
<#if fideValueRule.getPSDEGridEditItemName() == edititem.getName()> <#if fideValueRule.getPSDEGridEditItemName() == edititem.getName()>
......
...@@ -35,10 +35,10 @@ ...@@ -35,10 +35,10 @@
<#assign pickupview=currentItem.getPickupPSAppView()> <#assign pickupview=currentItem.getPickupPSAppView()>
"{ <#t> "{ <#t>
viewname: '${srffilepath2(pickupview.codeName)}'<#t> viewname: '${srffilepath2(pickupview.codeName)}'<#t>
<#if pickupview.isPSDEView()> <#if pickupview.getCapPSLanguageRes?? && pickupview.getCapPSLanguageRes()??>
, title: $t('entities.${pickupview.getPSAppDataEntity().getCodeName()?lower_case}.views.${pickupview.getPSDEViewCodeName()?lower_case}.title')<#t> , title: $t('${pickupview.getCapPSLanguageRes().getLanResTag()}', '${pickupview.getCaption()}')<#t>
<#else> <#else>
, title: $t('app.views.${pickupview.getCodeName()?lower_case}.title')<#t> , title: '${pickupview.getCaption()}'<#t>
</#if> </#if>
, deResParameters: <@getDeResParameters pickupview /><#t> , deResParameters: <@getDeResParameters pickupview /><#t>
, parameters: <@getParameters pickupview /><#t> , parameters: <@getParameters pickupview /><#t>
...@@ -64,10 +64,10 @@ ...@@ -64,10 +64,10 @@
<#assign linkview=currentItem.getLinkPSAppView()> <#assign linkview=currentItem.getLinkPSAppView()>
"{ <#t> "{ <#t>
viewname: '${linkview.codeName}'<#t> viewname: '${linkview.codeName}'<#t>
<#if linkview.isPSDEView()> <#if linkview.getCapPSLanguageRes?? && linkview.getCapPSLanguageRes()??>
, title: $t('entities.${linkview.getPSAppDataEntity().getCodeName()?lower_case}.views.${linkview.getPSDEViewCodeName()?lower_case}.title')<#t> , title: $t('${linkview.getCapPSLanguageRes().getLanResTag()}', '${linkview.getCaption()}')<#t>
<#else> <#else>
, title: $t('app.views.${linkview.getCodeName()?lower_case}.title')<#t> , title: '${linkview.getCaption()}'<#t>
</#if> </#if>
, deResParameters: <@getDeResParameters linkview /><#t> , deResParameters: <@getDeResParameters linkview /><#t>
, parameters: <@getParameters linkview /><#t> , parameters: <@getParameters linkview /><#t>
......
...@@ -44,7 +44,6 @@ ${navParam.getKey()}:<#if navParam.isRawValue()?? && navParam.isRawValue() == tr ...@@ -44,7 +44,6 @@ ${navParam.getKey()}:<#if navParam.isRawValue()?? && navParam.isRawValue() == tr
type:"<#if condItem.getCondType?? && condItem.getCondType()??>${condItem.getCondType()}</#if>", type:"<#if condItem.getCondType?? && condItem.getCondType()??>${condItem.getCondType()}</#if>",
condOP:"<#if condItem.getCondOp?? && condItem.getCondOp()??>${condItem.getCondOp()}</#if>", condOP:"<#if condItem.getCondOp?? && condItem.getCondOp()??>${condItem.getCondOp()}</#if>",
ruleInfo:"<#if condItem.getRuleInfo?? && condItem.getRuleInfo()??>${condItem.getRuleInfo()}</#if>", ruleInfo:"<#if condItem.getRuleInfo?? && condItem.getRuleInfo()??>${condItem.getRuleInfo()}</#if>",
<#-- ruleInfo:`<#noparse>${</#noparse>this.$t('entities.${curAppEntity.getCodeName()?lower_case}.derules.${deRule.getCodeName()?lower_case}<#if condItem.getDEFName?? && condItem.getDEFName()??>${condItem.getDEFName()?lower_case}</#if>${condItem.getCondType()?lower_case}')<#noparse>}</#noparse>`, -->
isKeyCond:<#if condItem.isKeyCond?? && condItem.isKeyCond()??>${condItem.isKeyCond()?c}</#if>, isKeyCond:<#if condItem.isKeyCond?? && condItem.isKeyCond()??>${condItem.isKeyCond()?c}</#if>,
<#if condItem.getParamValue?? && condItem.getParamValue()??> <#if condItem.getParamValue?? && condItem.getParamValue()??>
paramValue:"${condItem.getParamValue()}", paramValue:"${condItem.getParamValue()}",
...@@ -119,7 +118,7 @@ ${navParam.getKey()}:<#if navParam.isRawValue()?? && navParam.isRawValue() == tr ...@@ -119,7 +118,7 @@ ${navParam.getKey()}:<#if navParam.isRawValue()?? && navParam.isRawValue() == tr
<#-- BEGIN:获取树节点名称语言资源 --> <#-- BEGIN:获取树节点名称语言资源 -->
<#macro getNameLanguage obj> <#macro getNameLanguage obj>
<#if obj.getNamePSLanguageRes()??> <#if obj.getNamePSLanguageRes()??>
$t('${obj.getNamePSLanguageRes().getLanResTag()}')<#t> i18n.t('${obj.getNamePSLanguageRes().getLanResTag()}', '${obj.getText()?j_string}')<#t>
<#elseif obj.getText()??> <#elseif obj.getText()??>
'${obj.getText()?j_string}'<#t> '${obj.getText()?j_string}'<#t>
</#if> </#if>
......
...@@ -41,7 +41,7 @@ ${generateTip} ...@@ -41,7 +41,7 @@ ${generateTip}
<#list view.getPSAppViewRefs() as viewRef> <#list view.getPSAppViewRefs() as viewRef>
<#if viewRef.getName?? && viewRef.getName()?? && viewRef.getRefPSAppView?? && viewRef.getRefPSAppView()??> <#if viewRef.getName?? && viewRef.getName()?? && viewRef.getRefPSAppView?? && viewRef.getRefPSAppView()??>
<#assign refAppView = viewRef.getRefPSAppView() /> <#assign refAppView = viewRef.getRefPSAppView() />
"${viewRef.getName()}":{viewname:"${srffilepath2(refAppView.getCodeName())}",title:"<#if refAppView.getPSAppDataEntity()??>entities.${refAppView.getPSAppDataEntity().getCodeName()?lower_case}.views.${refAppView.getPSDEViewCodeName()?lower_case}.caption<#else>app.views.${refAppView.getCodeName()?lower_case}.caption</#if>", width: <#if refAppView.getWidth?? && refAppView.getWidth() gt 0>${refAppView.getWidth()?c}<#else>800</#if>, height: <#if refAppView.getHeight?? && refAppView.getHeight() gt 0>${refAppView.getHeight()?c}<#else>500</#if>}<#if viewRef_has_next>,</#if> "${viewRef.getName()}":{viewname:"${srffilepath2(refAppView.getCodeName())}",title:<#if refAppView.getCapPSLanguageRes?? && refAppView.getCapPSLanguageRes()??>this.$t('${refAppView.getCapPSLanguageRes().getLanResTag()}', '${refAppView.getCaption()}')<#t><#else>'${refAppView.getCaption()}'<#t></#if>, width: <#if refAppView.getWidth?? && refAppView.getWidth() gt 0>${refAppView.getWidth()?c}<#else>800</#if>, height: <#if refAppView.getHeight?? && refAppView.getHeight() gt 0>${refAppView.getHeight()?c}<#else>500</#if>}<#if viewRef_has_next>,</#if>
</#if> </#if>
</#list> </#list>
}; };
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<#list view.getPSAppViewRefs() as viewRef> <#list view.getPSAppViewRefs() as viewRef>
<#if viewRef.getName?? && viewRef.getName()?? && viewRef.getRefPSAppView?? && viewRef.getRefPSAppView()??> <#if viewRef.getName?? && viewRef.getName()?? && viewRef.getRefPSAppView?? && viewRef.getRefPSAppView()??>
<#assign refAppView = viewRef.getRefPSAppView() /> <#assign refAppView = viewRef.getRefPSAppView() />
"${viewRef.getName()}":{viewname:"${srffilepath2(refAppView.getCodeName())}",title:"<#if refAppView.getPSAppDataEntity()??>entities.${refAppView.getPSAppDataEntity().getCodeName()?lower_case}.views.${refAppView.getPSDEViewCodeName()?lower_case}.caption<#else>app.views.${refAppView.getCodeName()?lower_case}.caption</#if>", width: <#if refAppView.getWidth?? && refAppView.getWidth() gt 0>${refAppView.getWidth()?c}<#else>800</#if>, height: <#if refAppView.getHeight?? && refAppView.getHeight() gt 0>${refAppView.getHeight()?c}<#else>500</#if>}<#if viewRef_has_next>,</#if> "${viewRef.getName()}":{viewname:"${srffilepath2(refAppView.getCodeName())}",title: <#if refAppView.getCapPSLanguageRes?? && refAppView.getCapPSLanguageRes()??>this.$t('${refAppView.getCapPSLanguageRes().getLanResTag()}', '${refAppView.getCaption()}')<#t><#else>'${refAppView.getCaption()}'<#t></#if>, width: <#if refAppView.getWidth?? && refAppView.getWidth() gt 0>${refAppView.getWidth()?c}<#else>800</#if>, height: <#if refAppView.getHeight?? && refAppView.getHeight() gt 0>${refAppView.getHeight()?c}<#else>500</#if>}<#if viewRef_has_next>,</#if>
</#if> </#if>
</#list> </#list>
</#if> </#if>
......
...@@ -63,7 +63,7 @@ import AppCenterService from '@/service/app/app-center-service'; ...@@ -63,7 +63,7 @@ import AppCenterService from '@/service/app/app-center-service';
<#list view.getPSAppViewRefs() as viewRef> <#list view.getPSAppViewRefs() as viewRef>
<#if viewRef.getName?? && viewRef.getName()?? && viewRef.getRefPSAppView?? && viewRef.getRefPSAppView()??> <#if viewRef.getName?? && viewRef.getName()?? && viewRef.getRefPSAppView?? && viewRef.getRefPSAppView()??>
<#assign refAppView = viewRef.getRefPSAppView() /> <#assign refAppView = viewRef.getRefPSAppView() />
"${viewRef.getName()}":{viewname:"${srffilepath2(refAppView.getCodeName())}",title:"<#if refAppView.getPSAppDataEntity()??>entities.${refAppView.getPSAppDataEntity().getCodeName()?lower_case}.views.${refAppView.getPSDEViewCodeName()?lower_case}.caption<#else>app.views.${refAppView.getCodeName()?lower_case}.caption</#if>", width: <#if refAppView.getWidth?? && refAppView.getWidth() gt 0>${refAppView.getWidth()?c}<#else>800</#if>, height: <#if refAppView.getHeight?? && refAppView.getHeight() gt 0>${refAppView.getHeight()?c}<#else>500</#if>}<#if viewRef_has_next>,</#if> "${viewRef.getName()}":{viewname:"${srffilepath2(refAppView.getCodeName())}",title:<#if refAppView.getCapPSLanguageRes?? && refAppView.getCapPSLanguageRes()??>this.$t('${refAppView.getCapPSLanguageRes().getLanResTag()}', '${refAppView.getCaption()}')<#t><#else>'${refAppView.getCaption()}'<#t></#if>, width: <#if refAppView.getWidth?? && refAppView.getWidth() gt 0>${refAppView.getWidth()?c}<#else>800</#if>, height: <#if refAppView.getHeight?? && refAppView.getHeight() gt 0>${refAppView.getHeight()?c}<#else>500</#if>}<#if viewRef_has_next>,</#if>
</#if> </#if>
</#list> </#list>
</#if> </#if>
......
...@@ -75,7 +75,7 @@ import AppCenterService from '@/service/app/app-center-service'; ...@@ -75,7 +75,7 @@ import AppCenterService from '@/service/app/app-center-service';
<#list view.getPSAppViewRefs() as viewRef> <#list view.getPSAppViewRefs() as viewRef>
<#if viewRef.getName?? && viewRef.getName()?? && viewRef.getRefPSAppView?? && viewRef.getRefPSAppView()??> <#if viewRef.getName?? && viewRef.getName()?? && viewRef.getRefPSAppView?? && viewRef.getRefPSAppView()??>
<#assign refAppView = viewRef.getRefPSAppView() /> <#assign refAppView = viewRef.getRefPSAppView() />
"${viewRef.getName()}":{viewname:"${srffilepath2(refAppView.getCodeName())}",title:"<#if refAppView.getPSAppDataEntity()??>entities.${refAppView.getPSAppDataEntity().getCodeName()?lower_case}.views.${refAppView.getPSDEViewCodeName()?lower_case}.caption<#else>app.views.${refAppView.getCodeName()?lower_case}.caption</#if>", width: <#if refAppView.getWidth?? && refAppView.getWidth() gt 0>${refAppView.getWidth()?c}<#else>800</#if>, height: <#if refAppView.getHeight?? && refAppView.getHeight() gt 0>${refAppView.getHeight()?c}<#else>500</#if>}<#if viewRef_has_next>,</#if> "${viewRef.getName()}":{viewname:"${srffilepath2(refAppView.getCodeName())}",title:<#if refAppView.getCapPSLanguageRes?? && refAppView.getCapPSLanguageRes()??>this.$t('${refAppView.getCapPSLanguageRes().getLanResTag()}', '${refAppView.getCaption()}')<#t><#else>'${refAppView.getCaption()}'<#t></#if>, width: <#if refAppView.getWidth?? && refAppView.getWidth() gt 0>${refAppView.getWidth()?c}<#else>800</#if>, height: <#if refAppView.getHeight?? && refAppView.getHeight() gt 0>${refAppView.getHeight()?c}<#else>500</#if>}<#if viewRef_has_next>,</#if>
</#if> </#if>
</#list> </#list>
</#if> </#if>
......
...@@ -1177,7 +1177,7 @@ ${P.getLogicCode(uiAction, "LOGIC.vue").code} ...@@ -1177,7 +1177,7 @@ ${P.getLogicCode(uiAction, "LOGIC.vue").code}
<#list view.getPSAppViewRefs() as viewRef> <#list view.getPSAppViewRefs() as viewRef>
<#if viewRef.getName?? && viewRef.getName()?? && viewRef.getRefPSAppView?? && viewRef.getRefPSAppView()??> <#if viewRef.getName?? && viewRef.getName()?? && viewRef.getRefPSAppView?? && viewRef.getRefPSAppView()??>
<#assign refAppView = viewRef.getRefPSAppView() /> <#assign refAppView = viewRef.getRefPSAppView() />
"${viewRef.getName()}":{viewname:"${srffilepath2(refAppView.getCodeName())}",title:"<#if refAppView.getPSAppDataEntity()??>entities.${refAppView.getPSAppDataEntity().getCodeName()?lower_case}.views.${refAppView.getPSDEViewCodeName()?lower_case}.caption<#else>app.views.${refAppView.getCodeName()?lower_case}.caption</#if>", width: <#if refAppView.getWidth?? && refAppView.getWidth() gt 0>${refAppView.getWidth()?c}<#else>800</#if>, height: <#if refAppView.getHeight?? && refAppView.getHeight() gt 0>${refAppView.getHeight()?c}<#else>500</#if>}<#if viewRef_has_next>,</#if> "${viewRef.getName()}":{viewname:"${srffilepath2(refAppView.getCodeName())}",title:<#if refAppView.getCapPSLanguageRes?? && refAppView.getCapPSLanguageRes()??>this.$t('${refAppView.getCapPSLanguageRes().getLanResTag()}', '${refAppView.getCaption()}')<#t><#else>'${refAppView.getCaption()}'<#t></#if>, width: <#if refAppView.getWidth?? && refAppView.getWidth() gt 0>${refAppView.getWidth()?c}<#else>800</#if>, height: <#if refAppView.getHeight?? && refAppView.getHeight() gt 0>${refAppView.getHeight()?c}<#else>500</#if>}<#if viewRef_has_next>,</#if>
</#if> </#if>
</#list> </#list>
}; };
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<#list view.getPSAppViewRefs() as viewRef> <#list view.getPSAppViewRefs() as viewRef>
<#if viewRef.getName?? && viewRef.getName()?? && viewRef.getRefPSAppView?? && viewRef.getRefPSAppView()??> <#if viewRef.getName?? && viewRef.getName()?? && viewRef.getRefPSAppView?? && viewRef.getRefPSAppView()??>
<#assign refAppView = viewRef.getRefPSAppView() /> <#assign refAppView = viewRef.getRefPSAppView() />
"${viewRef.getName()}":{viewname:"${srffilepath2(refAppView.getCodeName())}",title:"<#if refAppView.getPSAppDataEntity()??>entities.${refAppView.getPSAppDataEntity().getCodeName()?lower_case}.views.${refAppView.getPSDEViewCodeName()?lower_case}.caption<#else>app.views.${refAppView.getCodeName()?lower_case}.caption</#if>", width: <#if refAppView.getWidth?? && refAppView.getWidth() gt 0>${refAppView.getWidth()?c}<#else>800</#if>, height: <#if refAppView.getHeight?? && refAppView.getHeight() gt 0>${refAppView.getHeight()?c}<#else>500</#if>}<#if viewRef_has_next>,</#if> "${viewRef.getName()}":{viewname:"${srffilepath2(refAppView.getCodeName())}",title:<#if refAppView.getCapPSLanguageRes?? && refAppView.getCapPSLanguageRes()??>this.$t('${refAppView.getCapPSLanguageRes().getLanResTag()}', '${refAppView.getCaption()}')<#t><#else>'${refAppView.getCaption()}'<#t></#if>, width: <#if refAppView.getWidth?? && refAppView.getWidth() gt 0>${refAppView.getWidth()?c}<#else>800</#if>, height: <#if refAppView.getHeight?? && refAppView.getHeight() gt 0>${refAppView.getHeight()?c}<#else>500</#if>}<#if viewRef_has_next>,</#if>
</#if> </#if>
</#list> </#list>
}; };
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<#list view.getPSAppViewRefs() as viewRef> <#list view.getPSAppViewRefs() as viewRef>
<#if viewRef.getName?? && viewRef.getName()?? && viewRef.getRefPSAppView?? && viewRef.getRefPSAppView()??> <#if viewRef.getName?? && viewRef.getName()?? && viewRef.getRefPSAppView?? && viewRef.getRefPSAppView()??>
<#assign refAppView = viewRef.getRefPSAppView() /> <#assign refAppView = viewRef.getRefPSAppView() />
"${viewRef.getName()}":{viewname:"${srffilepath2(refAppView.getCodeName())}",title:"<#if refAppView.getPSAppDataEntity()??>entities.${refAppView.getPSAppDataEntity().getCodeName()?lower_case}.views.${refAppView.getPSDEViewCodeName()?lower_case}.caption<#else>app.views.${refAppView.getCodeName()?lower_case}.caption</#if>", width: <#if refAppView.getWidth?? && refAppView.getWidth() gt 0>${refAppView.getWidth()?c}<#else>800</#if>, height: <#if refAppView.getHeight?? && refAppView.getHeight() gt 0>${refAppView.getHeight()?c}<#else>500</#if>}<#if viewRef_has_next>,</#if> "${viewRef.getName()}":{viewname:"${srffilepath2(refAppView.getCodeName())}",title: <#if refAppView.getCapPSLanguageRes?? && refAppView.getCapPSLanguageRes()??>this.$t('${refAppView.getCapPSLanguageRes().getLanResTag()}', '${refAppView.getCaption()}')<#t><#else>'${refAppView.getCaption()}'<#t></#if>, width: <#if refAppView.getWidth?? && refAppView.getWidth() gt 0>${refAppView.getWidth()?c}<#else>800</#if>, height: <#if refAppView.getHeight?? && refAppView.getHeight() gt 0>${refAppView.getHeight()?c}<#else>500</#if>}<#if viewRef_has_next>,</#if>
</#if> </#if>
</#list> </#list>
}; };
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<#list view.getPSAppViewRefs() as viewRef> <#list view.getPSAppViewRefs() as viewRef>
<#if viewRef.getName?? && viewRef.getName()?? && viewRef.getRefPSAppView?? && viewRef.getRefPSAppView()??> <#if viewRef.getName?? && viewRef.getName()?? && viewRef.getRefPSAppView?? && viewRef.getRefPSAppView()??>
<#assign refAppView = viewRef.getRefPSAppView() /> <#assign refAppView = viewRef.getRefPSAppView() />
"${viewRef.getName()}":{viewname:"${srffilepath2(refAppView.getCodeName())}",title:"<#if refAppView.getPSAppDataEntity()??>entities.${refAppView.getPSAppDataEntity().getCodeName()?lower_case}.views.${refAppView.getPSDEViewCodeName()?lower_case}.caption<#else>app.views.${refAppView.getCodeName()?lower_case}.caption</#if>", width: <#if refAppView.getWidth?? && refAppView.getWidth() gt 0>${refAppView.getWidth()?c}<#else>800</#if>, height: <#if refAppView.getHeight?? && refAppView.getHeight() gt 0>${refAppView.getHeight()?c}<#else>500</#if>}<#if viewRef_has_next>,</#if> "${viewRef.getName()}":{viewname:"${srffilepath2(refAppView.getCodeName())}",title: <#if refAppView.getCapPSLanguageRes?? && refAppView.getCapPSLanguageRes()??>this.$t('${refAppView.getCapPSLanguageRes().getLanResTag()}', '${refAppView.getCaption()}')<#t><#else>'${refAppView.getCaption()}'<#t></#if>, width: <#if refAppView.getWidth?? && refAppView.getWidth() gt 0>${refAppView.getWidth()?c}<#else>800</#if>, height: <#if refAppView.getHeight?? && refAppView.getHeight() gt 0>${refAppView.getHeight()?c}<#else>500</#if>}<#if viewRef_has_next>,</#if>
</#if> </#if>
</#list> </#list>
}; };
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册