提交 9f3d0a58 编写于 作者: tony001's avatar tony001

状态向导面板 --- fix

上级 687f915e
...@@ -64,29 +64,24 @@ ...@@ -64,29 +64,24 @@
</div> </div>
</div> </div>
</el-popover> </el-popover>
<drawer <drawer class="app-wizard-drawer" :closable="false" :value="drawerOpenStatus.isOpen && drawerOpenStatus.formName == '${form.name}'"
class="app-wizard-drawer" :width="600" title="${form.getLogicName()}" @on-visible-change="onVisibleChange($event)">
:closable="false" <view_${form.getName()}
:value="drawerOpenStatus.isOpen && drawerOpenStatus.formName == '${form.name}'" :key="'${form.name}'"
:width="1000" :viewState='wizardState'
title="${form.getLogicName()}" :context="context"
@on-visible-change="onVisibleChange($event)"> :viewparams="viewparams"
<view_${form.getName()} updateAction="<#if form.getUpdatePSControlAction()?? && form.getUpdatePSControlAction().getPSAppDEMethod()??>${form.getUpdatePSControlAction().getPSAppDEMethod().getCodeName()}</#if>"
:key="'${form.name}'" removeAction="<#if form.getRemovePSControlAction()?? && form.getRemovePSControlAction().getPSAppDEMethod()??>${form.getRemovePSControlAction().getPSAppDEMethod().getCodeName()}</#if>"
:viewState='wizardState' loadAction="<#if form.getGetPSControlAction()?? && form.getGetPSControlAction().getPSAppDEMethod()??>${form.getGetPSControlAction().getPSAppDEMethod().getCodeName()}</#if>"
:context="context" <#if form.getHookEventNames()??>
:viewparams="viewparams" <#list form.getHookEventNames() as eventName>
updateAction="<#if form.getUpdatePSControlAction()?? && form.getUpdatePSControlAction().getPSAppDEMethod()??>${form.getUpdatePSControlAction().getPSAppDEMethod().getCodeName()}</#if>" @${eventName?lower_case}="${form.name}_${eventName?lower_case}"
removeAction="<#if form.getRemovePSControlAction()?? && form.getRemovePSControlAction().getPSAppDEMethod()??>${form.getRemovePSControlAction().getPSAppDEMethod().getCodeName()}</#if>" </#list>
loadAction="<#if form.getGetPSControlAction()?? && form.getGetPSControlAction().getPSAppDEMethod()??>${form.getGetPSControlAction().getPSAppDEMethod().getCodeName()}</#if>" </#if>
<#if form.getHookEventNames()??> name='${form.name}'
<#list form.getHookEventNames() as eventName> ref='${form.name}'>
@${eventName?lower_case}="${form.name}_${eventName?lower_case}" </view_${form.getName()}>
</#list>
</#if>
name='${form.name}'
ref='${form.name}'>
</view_${form.getName()}>
<div class="drawer-button"> <div class="drawer-button">
<i-button style="margin-right:10px" type="primary">确认</i-button> <i-button style="margin-right:10px" type="primary">确认</i-button>
<i-button>取消</i-button> <i-button>取消</i-button>
...@@ -443,10 +438,10 @@ ...@@ -443,10 +438,10 @@
* *
* @memberof ${srfclassname('${ctrl.codeName}')}Base * @memberof ${srfclassname('${ctrl.codeName}')}Base
*/ */
public handleOPen(formName:string){ public handleOPen(name:string){
this.handleClose(formName); this.handleClose(name);
this.drawerOpenStatus.isOpen = true; this.drawerOpenStatus.isOpen = true;
this.drawerOpenStatus.formName = formName; this.drawerOpenStatus.formName = name;
} }
/** /**
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册