提交 09b64c7c 编写于 作者: KK's avatar KK

分页视图面板计数器服务模板调整

上级 8fb7623e
...@@ -5,13 +5,12 @@ ...@@ -5,13 +5,12 @@
<#assign import_block> <#assign import_block>
<#-- 计数器服务 --> <#-- 计数器服务 -->
<#if ctrl.getPSAppCounterRefs?? && ctrl.getPSAppCounterRefs()??> <#if ctrl.getPSSysCounterRef?? && ctrl.getPSSysCounterRef()??>
<#list ctrl.getPSAppCounterRefs() as singleCounterRef> <#assign singleCounterRef = ctrl.getPSSysCounterRef()>
<#if singleCounterRef.getPSAppCounter()??> <#if singleCounterRef.getPSAppCounter()??>
<#assign appCounter = singleCounterRef.getPSAppCounter()/> <#assign appCounter = singleCounterRef.getPSAppCounter()/>
import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/app-core/counter/${srffilepath2(appCounter.getCodeName())}/${srffilepath2(appCounter.getCodeName())}-counter'; import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/app-core/counter/${srffilepath2(appCounter.getCodeName())}/${srffilepath2(appCounter.getCodeName())}-counter';
</#if> </#if>
</#list>
</#if> </#if>
</#assign> </#assign>
...@@ -19,12 +18,12 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/ap ...@@ -19,12 +18,12 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/ap
../@MACRO/CONTROL/CONTROL_HEADER-BASE.vue.ftl ../@MACRO/CONTROL/CONTROL_HEADER-BASE.vue.ftl
</#ibizinclude> </#ibizinclude>
<#if ctrl.getPSAppCounterRefs?? && ctrl.getPSAppCounterRefs()??> <#if ctrl.getPSSysCounterRef?? && ctrl.getPSSysCounterRef()??>
<#assign counterRefs = ''/> <#assign counterRefs = ''/>
<#list ctrl.getPSAppCounterRefs() as singleCounterRef> <#assign singleCounterRef = ctrl.getPSSysCounterRef()>
<#if singleCounterRef.getPSAppCounter()??> <#if singleCounterRef.getPSAppCounter()??>
<#assign appCounter = singleCounterRef.getPSAppCounter()/> <#assign appCounter = singleCounterRef.getPSAppCounter()/>
<#assign counterRefs>${counterRefs}this.${srfclassname('${appCounter.getCodeName()}')}counterservice<#if singleCounterRef_has_next>,</#if></#assign> <#assign counterRefs>${counterRefs}this.${srfclassname('${appCounter.getCodeName()}')}counterservice</#assign>
/** /**
* ${srfclassname('${appCounter.getCodeName()}')}CounterService计数器服务对象 * ${srfclassname('${appCounter.getCodeName()}')}CounterService计数器服务对象
...@@ -34,7 +33,6 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/ap ...@@ -34,7 +33,6 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/ap
*/ */
protected ${srfclassname('${appCounter.getCodeName()}')}counterservice: ${srfclassname('${appCounter.getCodeName()}')}CounterService = new ${srfclassname('${appCounter.getCodeName()}')}CounterService(); protected ${srfclassname('${appCounter.getCodeName()}')}counterservice: ${srfclassname('${appCounter.getCodeName()}')}CounterService = new ${srfclassname('${appCounter.getCodeName()}')}CounterService();
</#if> </#if>
</#list>
/** /**
* 计数器服务对象集合 * 计数器服务对象集合
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册