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

去除树导航部件服务

上级 0da56a74
......@@ -6,9 +6,13 @@ import { ControlInterface } from '@/interface/control';
import GlobalUiService from '@/global-ui-service/global-ui-service';
<#if appde??>
import ${srfclassname('${appde.getCodeName()}')}Service from '@/app-core/service/${srffilepath2(appde.getCodeName())}/${srffilepath2(appde.getCodeName())}-service';
<#if notneedCtrlService??>
import ${srfclassname('${ctrl.codeName}')}Service from '@/app-core/ctrl-service/${srffilepath2(appde.getCodeName())}/${srffilepath2(ctrl.codeName)}-${ctrl.getControlType()?lower_case}-service';
<#if>
<#else>
<#if notneedCtrlService??>
import ${srfclassname('${ctrl.codeName}')}Service from '@/app-core/ctrl-service/app/${srffilepath2(ctrl.codeName)}-${ctrl.getControlType()?lower_case}-service';
<#if>
</#if>
<#-- 语言资源入口 -->
......@@ -91,6 +95,8 @@ export default class ${srfclassname('${ctrl.codeName}')}Base extends Vue impleme
*/
protected globaluiservice: GlobalUiService = new GlobalUiService();
<#if notneedCtrlService??>
<#else>
/**
* 建构部件服务对象
*
......@@ -98,6 +104,7 @@ export default class ${srfclassname('${ctrl.codeName}')}Base extends Vue impleme
* @memberof ${srfclassname('${ctrl.codeName}')}
*/
protected service: ${srfclassname('${ctrl.codeName}')}Service = new ${srfclassname('${ctrl.codeName}')}Service({$store:this.$store});
</#if>
<#if appde??>
/**
......
<#assign notneedCtrlService = true>
<#ibizinclude>
./CONTROL-BASE.template.ftl
</#ibizinclude>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册