提交 df4c63e0 编写于 作者: Mosher's avatar Mosher

update:更新

上级 b1525b12
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<#-- END:视图顶部视图消息 --> <#-- END:视图顶部视图消息 -->
<#if view.hasPSControl('toolbar')> <#if view.hasPSControl('toolbar')>
<#assign selfToolbarRender> <#assign selfToolbarRender>
<template v-if="Object.is(this.selection.id, 'form')"> <template v-if="Object.is(drItem.id, 'form')">
${P.getCtrlCode('toolbar', 'CONTROL.html').code} ${P.getCtrlCode('toolbar', 'CONTROL.html').code}
</template> </template>
</#assign> </#assign>
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<layout class="content-container edit-view2"> <layout class="content-container edit-view2">
<sider class="edit-view2-drbar" :width="<#if view.hasPSControl('drbar') && view.getPSControl('drbar').getWidth?? && view.getPSControl('drbar').getWidth()?? && view.getPSControl('drbar').getWidth() gt 240>${view.getPSControl('drbar').getWidth()?c}<#else>240</#if>"> <sider class="edit-view2-drbar" :width="<#if view.hasPSControl('drbar') && view.getPSControl('drbar').getWidth?? && view.getPSControl('drbar').getWidth()?? && view.getPSControl('drbar').getWidth() gt 240>${view.getPSControl('drbar').getWidth()?c}<#else>240</#if>">
<#if view.hasPSControl('drbar') && view.hasPSControl('form')> <#if view.hasPSControl('drbar') && view.hasPSControl('form')>
<div :class="['edit-view2-drbar__caption', 'is-active': !(drItem && drItem.id && drItem.id !== 'form')]" @click="drBarChange"> <div :class="{'edit-view2-drbar__caption': true, 'is-active': !(drItem && drItem.id && drItem.id !== 'form')}" @click="drBarChange">
<span><#if view.getPSControl('drbar').getEditItemCaption?? && view.getPSControl('drbar').getEditItemCaption()??>${view.getPSControl('drbar').getEditItemCaption()}</#if></span> <span><#if view.getPSControl('drbar').getEditItemCaption?? && view.getPSControl('drbar').getEditItemCaption()??>${view.getPSControl('drbar').getEditItemCaption()}</#if></span>
</div> </div>
<#if view.hasPSControl('drbar')> <#if view.hasPSControl('drbar')>
......
<#ibizinclude> <#ibizinclude>
../@MACRO/LAYOUTPANEL_VIEW.template.ftl ../@MACRO/LAYOUTPANEL_VIEW.template.ftl
</#ibizinclude> </#ibizinclude>
<#ibizinclude> <#ibizinclude>
../@MACRO/VIEW_HEADER-BASE.vue.ftl ../@MACRO/VIEW_HEADER-BASE.vue.ftl
</#ibizinclude> </#ibizinclude>
<#ibizinclude> <#ibizinclude>
../@MACRO/VIEW_CONTENT-BASE.vue.ftl ../@MACRO/VIEW_CONTENT-BASE.vue.ftl
</#ibizinclude> </#ibizinclude>
/** /**
* 选中数据 * 关系项
* *
* @type {*} * @type {*}
* @memberof ${srfclassname('${view.name}')}Base * @memberof ${srfclassname('${view.name}')}Base
*/ */
public selection: any = {}; public drItem: any = {};
/** /**
* 表单数据 * 表单数据
* *
* @type {*} * @type {*}
* @memberof ${srfclassname('${view.name}')}Base * @memberof ${srfclassname('${view.name}')}Base
*/ */
public formData:any = {}; public formData:any = {};
<#ibizinclude> public drBarChange() {
../@MACRO/VIEW_BOTTOM-BASE.vue.ftl if (this.engine) {
</#ibizinclude> this.engine.drBarSelectionChange({ id: 'form' });
}
<#ibizinclude> }
../@MACRO/VIEW-BASE.style.ftl
<#ibizinclude>
../@MACRO/VIEW_BOTTOM-BASE.vue.ftl
</#ibizinclude>
<#ibizinclude>
../@MACRO/VIEW-BASE.style.ftl
</#ibizinclude> </#ibizinclude>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册