提交 21a0cfdc 编写于 作者: Neuromancer255's avatar Neuromancer255

kk列表导航服务调整 --fix1

上级 62e478f9
...@@ -6,10 +6,14 @@ import { ControlInterface } from '@/interface/control'; ...@@ -6,10 +6,14 @@ 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>
<#-- 语言资源入口 --> <#-- 语言资源入口 -->
<#ibizinclude> <#ibizinclude>
...@@ -91,6 +95,7 @@ export default class ${srfclassname('${ctrl.codeName}')}Base extends Vue impleme ...@@ -91,6 +95,7 @@ export default class ${srfclassname('${ctrl.codeName}')}Base extends Vue impleme
*/ */
protected globaluiservice: GlobalUiService = new GlobalUiService(); protected globaluiservice: GlobalUiService = new GlobalUiService();
<#if notneedCtrlService??>
/** /**
* 建构部件服务对象 * 建构部件服务对象
* *
...@@ -98,6 +103,7 @@ export default class ${srfclassname('${ctrl.codeName}')}Base extends Vue impleme ...@@ -98,6 +103,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??>
/** /**
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册