提交 78c8a8e9 编写于 作者: tony001's avatar tony001

调整ui服务注入

上级 35e8ca47
......@@ -33,15 +33,13 @@ import ${engine.getEngineType()}Engine from '@engine/${engine.getEngineCat()?low
import ${srfclassname('${uiAction.getPSAppWFVer().getCodeName()}')}WFUIService from '@/wfuiservice/${uiAction.getPSAppWF().getCodeName()?lower_case}/${uiAction.getPSAppWFVer().getCodeName()?lower_case}-ui-service';
</#if>
</#if>
<#else>
<#assign curAppEntity = uiAction.getPSAppDataEntity()/>
<#if !P.exists("importService1", curAppEntity.getId(), "")>
import ${srfclassname('${curAppEntity.getCodeName()}')}UIService from '@/uiservice/${srffilepath2(curAppEntity.getCodeName())}/${srffilepath2(curAppEntity.getCodeName())}-ui-service';
</#if>
</#if>
</#if>
</#list>
</#if>
<#if appde??>
import ${srfclassname('${curAppEntity.getCodeName()}')}UIService from '@/uiservice/${srffilepath2(curAppEntity.getCodeName())}/${srffilepath2(curAppEntity.getCodeName())}-ui-service';
</#if>
<#if import_block??>
${import_block}
</#if>
......@@ -65,10 +63,10 @@ export default class ${srfclassname('${view.name}')}Base extends Vue {
/**
* 实体权限服务对象
*
* @type {${srfclassname('${appde.getCodeName()}')}AuthService}
* @type ${srfclassname('${curAppEntity.getCodeName()}')}UIService
* @memberof ${srfclassname('${view.name}')}Base
*/
public appAuthService: ${srfclassname('${appde.getCodeName()}')}AuthService = new ${srfclassname('${appde.getCodeName()}')}AuthService(this.$store);
public appUIService: ${srfclassname('${curAppEntity.getCodeName()}')}UIService = new ${srfclassname('${curAppEntity.getCodeName()}')}UIService(this.$store);
</#if>
<#if view.getPSAppCounterRefs()??>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册