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

去除树导航部件服务

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