提交 62e478f9 编写于 作者: Neuromancer255's avatar Neuromancer255
...@@ -6,14 +6,10 @@ import { ControlInterface } from '@/interface/control'; ...@@ -6,14 +6,10 @@ 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>
...@@ -95,7 +91,6 @@ export default class ${srfclassname('${ctrl.codeName}')}Base extends Vue impleme ...@@ -95,7 +91,6 @@ export default class ${srfclassname('${ctrl.codeName}')}Base extends Vue impleme
*/ */
protected globaluiservice: GlobalUiService = new GlobalUiService(); protected globaluiservice: GlobalUiService = new GlobalUiService();
<#if notneedCtrlService??>
/** /**
* 建构部件服务对象 * 建构部件服务对象
* *
...@@ -103,7 +98,6 @@ export default class ${srfclassname('${ctrl.codeName}')}Base extends Vue impleme ...@@ -103,7 +98,6 @@ 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??>
/** /**
......
<#ibiztemplate> <#ibiztemplate>
TARGET=LISTEXPBAR TARGET=PSAPPVIEWCTRL_LISTEXPBAR
</#ibiztemplate> </#ibiztemplate>
${P.getCtrlCode('SERVICE.ts').code} ${P.getCtrlCode('SERVICE.ts').code}
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册