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

树服务调整

上级 e6a6c03f
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
</#ibizinclude> </#ibizinclude>
<#assign import_block> <#assign import_block>
import i18n from '@/locale'; import i18n from '@/locale';
import { Environment } from '@/environments/environment';
<#if ctrl.getPSDETreeNodes()??> <#if ctrl.getPSDETreeNodes()??>
<#list ctrl.getPSDETreeNodes() as node> <#list ctrl.getPSDETreeNodes() as node>
<#if node.getTreeNodeType() == 'DE' && node.getPSAppDataEntity()??> <#if node.getTreeNodeType() == 'DE' && node.getPSAppDataEntity()??>
...@@ -84,15 +83,6 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@/a ...@@ -84,15 +83,6 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@/a
*/ */
public TREENODE_SEPARATOR: string = ';'; public TREENODE_SEPARATOR: string = ';';
/**
* 图片地址
*
* @public
* @type {string}
* @memberof ${srfclassname('${ctrl.codeName}')}Service
*/
public download = Environment.ExportFile;
<#if ctrl.getPSDETreeNodes()??> <#if ctrl.getPSDETreeNodes()??>
<#list ctrl.getPSDETreeNodes() as node> <#list ctrl.getPSDETreeNodes() as node>
...@@ -501,12 +491,6 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@/a ...@@ -501,12 +491,6 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@/a
<#else> <#else>
let strIcon: string = 'default_text'; let strIcon: string = 'default_text';
</#if> </#if>
if(strIcon && strIcon !== 'default_text'){
let tempIcon = JSON.parse(strIcon);
if(tempIcon && tempIcon[0] && tempIcon[0].id){
strIcon = `${r'${this.download}'}/${r'${tempIcon[0].id}'}`;
}
}
Object.assign(treeNode,{srfparentdename:'${node.getPSAppDataEntity().getCodeName()}',srfparentkey:<#if node.getIdPSDEField()??>entity.${node.getIdPSDEField().codeName?lower_case}<#else>entity.${node.getPSAppDataEntity().getKeyPSAppDEField().codeName?lower_case}</#if>}); Object.assign(treeNode,{srfparentdename:'${node.getPSAppDataEntity().getCodeName()}',srfparentkey:<#if node.getIdPSDEField()??>entity.${node.getIdPSDEField().codeName?lower_case}<#else>entity.${node.getPSAppDataEntity().getKeyPSAppDEField().codeName?lower_case}</#if>});
let tempContext:any = JSON.parse(JSON.stringify(context)); let tempContext:any = JSON.parse(JSON.stringify(context));
Object.assign(tempContext,{srfparentdename:'${node.getPSAppDataEntity().getCodeName()}',srfparentkey:<#if node.getIdPSDEField()??>entity.${node.getIdPSDEField().codeName?lower_case}<#else>entity.${node.getPSAppDataEntity().getKeyPSAppDEField().codeName?lower_case}</#if>,${node.getPSAppDataEntity().getCodeName()?lower_case}:strId}) Object.assign(tempContext,{srfparentdename:'${node.getPSAppDataEntity().getCodeName()}',srfparentkey:<#if node.getIdPSDEField()??>entity.${node.getIdPSDEField().codeName?lower_case}<#else>entity.${node.getPSAppDataEntity().getKeyPSAppDEField().codeName?lower_case}</#if>,${node.getPSAppDataEntity().getCodeName()?lower_case}:strId})
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册