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

引入多语言commonLogic 逻辑

上级 bb5f9988
<#if obj.getCapPSLanguageRes()?? && obj.getCapPSLanguageRes().getContent(langrestype, false)?? && obj.getCapPSLanguageRes().getContent(langrestype, false) != ''>${obj.getCapPSLanguageRes().getContent(langrestype, false)}<#elseif obj.getCaption()??>${obj.getCaption()}</#if> <#if obj.getCapPSLanguageRes()?? && obj.getCapPSLanguageRes().getContent(langrestype, false)?? && obj.getCapPSLanguageRes().getContent(langrestype, false) != ''>commonLogic.appcommonhandle("${obj.getCapPSLanguageRes().getContent(langrestype, false)}",null)<#elseif obj.getCaption()??>commonLogic.appcommonhandle("${obj.getCaption()}",null)</#if>
\ No newline at end of file \ No newline at end of file
...@@ -6,6 +6,7 @@ import ${dataEntitey.getCodeName()?lower_case}_en_US from '@locale/lanres/${srff ...@@ -6,6 +6,7 @@ import ${dataEntitey.getCodeName()?lower_case}_en_US from '@locale/lanres/${srff
</#list> </#list>
import userCustom_en_US from '@locale/lanres/userCustom/userCustom_en_US'; import userCustom_en_US from '@locale/lanres/userCustom/userCustom_en_US';
import codelist_en_US from '@locale/lanres/codelist/codelist_en_US'; import codelist_en_US from '@locale/lanres/codelist/codelist_en_US';
import commonLogic from '@/locale/logic/common/common-logic';
<#assign langrestype = 'EN'/> <#assign langrestype = 'EN'/>
export default { export default {
......
<#ibiztemplate> <#ibiztemplate>
TARGET=PSAPPDATAENTITY TARGET=PSAPPDATAENTITY
</#ibiztemplate> </#ibiztemplate>
import commonLogic from '@/locale/logic/common/common-logic';
<#assign langrestype = 'EN'/> <#assign langrestype = 'EN'/>
<#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude> <#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude>
export default { export default {
......
<#ibiztemplate> <#ibiztemplate>
TARGET=PSAPPDATAENTITY TARGET=PSAPPDATAENTITY
</#ibiztemplate> </#ibiztemplate>
import commonLogic from '@/locale/logic/common/common-logic';
<#assign langrestype = 'ZH_CN'/> <#assign langrestype = 'ZH_CN'/>
<#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude> <#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude>
export default { export default {
......
<#ibiztemplate> <#ibiztemplate>
TARGET=PSSYSAPP TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude> <#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'EN'/> <#assign langrestype = 'EN'/>
export default { export default {
......
<#ibiztemplate> <#ibiztemplate>
TARGET=PSSYSAPP TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude> <#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'ZH_CN'/> <#assign langrestype = 'ZH_CN'/>
export default { export default {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册