提交 8f0f9de8 编写于 作者: Shine-zwj's avatar Shine-zwj

update

上级 68087c56
...@@ -220,7 +220,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se ...@@ -220,7 +220,7 @@ 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: i18n.t('entities.${appde.getCodeName()?lower_case}.${ctrl.getCodeName()?lower_case}_${ctrl.getControlType()?lower_case}.nodes.${node.getNodeType()?lower_case}') });
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,"")){
...@@ -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: '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: '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 });
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册