提交 3a4ebac3 编写于 作者: MoneyQ's avatar MoneyQ

init

上级 57851098
文件已添加
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelItemVC
</#ibiztemplate>
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelContainerVC
</#ibiztemplate>
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelControlVC
</#ibiztemplate>
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelItemVC
</#ibiztemplate>
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelFieldVC
</#ibiztemplate>
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelLogic
</#ibiztemplate>
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelItemVC
</#ibiztemplate>
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelItemVC
</#ibiztemplate>
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelViewCode
</#ibiztemplate>
/**
* ${ctrl.getLogicName()} (面板)
*
* @class ${srfclassname('${ctrl.name}')}
* @extends {IBizPanel}
*/
var ${view.codeName}_${srfclassname('${ctrl.name}')} = /** @class */ (function (_super) {
__extends(${srfclassname('${ctrl.name}')}, _super);
function ${srfclassname('${ctrl.name}')}() {
return _super !== null && _super.apply(this, arguments) || this;
}
/**
* 注册面板项
*
* @memberof IBizPanel
*/
${srfclassname('${ctrl.name}')}.prototype.regItems = function () {
};
/**
* 注册面板模型项
*
* @memberof IBizPanel
*/
${srfclassname('${ctrl.name}')}.prototype.regModelItems = function () {
};
/**
* 注册面板逻辑
*
* @memberof IBizPanel
*/
${srfclassname('${ctrl.name}')}.prototype.regPanelLogic = function () {
};
return ${srfclassname('${ctrl.name}')};
}(IBizPanel));
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelItemVC
</#ibiztemplate>
<#if item.getParentLayoutMode()=='FLEX'>
<i-button class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>" type="primary" style="<#if item.getFlexGrow() gt 0>flex-grow: ${item.getFlexGrow()};</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" @click="ctrl.${ctrl.name}.items.${item.name}.onBtnClick()">
<span class="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getCssName()}</#if>" style="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getRawCssStyle()}${item.getLabelPSSysCss().getCssStyle()}</#if>"><#if item.getPSSysImage()??>
<i class="${item.getPSSysImage().getCssClass()}"></i></#if>${item.getCaption()}
</span>
</i-button>
<#else>
<i-col span="24"<#if item.getColLG() != -1> :lg="${item.getColLG()?c}"</#if><#if item.getColMD() != -1> :md="${item.getColMD()?c}"</#if><#if item.getColSM() != -1> :sm="${item.getColSM()?c}"</#if><#if item.getColXS() != -1> :xs="${item.getColXS()?c}"</#if> style="<#if item.getColWidth() != -1>width: ${item.getColWidth()?c}px;</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if>">
<i-button class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>" type="primary" long style="<#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" @click="ctrl.${ctrl.name}.items.${item.name}.onBtnClick()">
<span class="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getCssName()}</#if>" style="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getRawCssStyle()}${item.getLabelPSSysCss().getCssStyle()}</#if>"><#if item.getPSSysImage()??>
<i class="${item.getPSSysImage().getCssClass()}"></i></#if>${item.getCaption()}
</span>
</i-button>
</i-col>
</#if>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelContainerVC
</#ibiztemplate>
<#if item.getLayoutMode()=='FLEX'>
<#if item.getParentLayoutMode()!='FLEX'><i-col span="24"></#if>
<div v-if="${srfpanelitemlogic(item.getPSPanelItemGroupLogic("PANELVISIBLE"))}" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>" style="<#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>">
<#if item.isShowCaption()>
<div class="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getCssName()}</#if>" style="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getRawCssStyle()}${item.getLabelPSSysCss().getCssStyle()}</#if>">
<span>${item.caption}</span>
</div>
</#if>
<div style="<#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if>display: flex;<#if item.getFlexDir()!="">flex-direction: ${item.getFlexDir()};flex-wrap:wrap;</#if><#if item.getFlexAlign()!="">justify-content: ${item.getFlexAlign()};</#if><#if item.getFlexVAlign()!="">align-items: ${item.getFlexVAlign()};</#if>">
<#list items as detail>
${detail.code}
</#list>
</div>
</div>
<#if item.getParentLayoutMode()!='FLEX'></i-col></#if>
<#else>
<i-col v-if="${srfpanelitemlogic(item.getPSPanelItemGroupLogic("PANELVISIBLE"))}" span="24"<#if item.getColLG() != -1> :lg="${item.getColLG()?c}"</#if><#if item.getColMD() != -1> :md="${item.getColMD()?c}"</#if><#if item.getColSM() != -1> :sm="${item.getColSM()?c}"</#if><#if item.getColXS() != -1> :xs="${item.getColXS()?c}"</#if> style="<#if item.getColWidth() != -1>width: ${item.getColWidth()?c}px;</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
<#if item.isShowCaption()>
<div class="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getCssName()}</#if>" style="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getRawCssStyle()}${item.getLabelPSSysCss().getCssStyle()}</#if>">
<span>${item.caption}</span>
</div>
</#if>
<row>
<#list items as detail>
${detail.code}
</#list>
</row>
</i-col>
</#if>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelControlVC
</#ibiztemplate>
<#if item.getParentLayoutMode()=='FLEX'>
<div class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>" style="<#if item.getFlexGrow() gt 0>flex-grow: ${item.getFlexGrow()};</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>">
<#if srfviewctrl('${item.getPSControl().getName()}')??>
${srfviewctrl('${item.getPSControl().getName()}').code}
</#if>
</div>
<#else>
<i-col span="24"<#if item.getColLG() != -1> :lg="${item.getColLG()?c}"</#if><#if item.getColMD() != -1> :md="${item.getColMD()?c}"</#if><#if item.getColSM() != -1> :sm="${item.getColSM()?c}"</#if><#if item.getColXS() != -1> :xs="${item.getColXS()?c}"</#if> style="<#if item.getColWidth() != -1>width: ${item.getColWidth()?c}px;</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
<#if srfviewctrl('${item.getPSControl().getName()}')??>
${srfviewctrl('${item.getPSControl().getName()}').code}
</#if>
</i-col>
</#if>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelItemVC
</#ibiztemplate>
<#if item.getParentLayoutMode()=='FLEX'>
<div class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>" style="<#if item.getFlexGrow() gt 0>flex-grow: ${item.getFlexGrow()};</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>">
${srfviewctrl('${item.name}').code}
</div>
<#else>
<i-col span="24"<#if item.getColLG() != -1> :lg="${item.getColLG()?c}"</#if><#if item.getColMD() != -1> :md="${item.getColMD()?c}"</#if><#if item.getColSM() != -1> :sm="${item.getColSM()?c}"</#if><#if item.getColXS() != -1> :xs="${item.getColXS()?c}"</#if> style="<#if item.getColWidth() != -1>width: ${item.getColWidth()?c}px;</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getHeight() gt 0>height:${item.getHeight()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
${srfviewctrl('${item.name}').code}
</i-col>
</#if>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelFieldVC
</#ibiztemplate>
<#if item.getParentLayoutMode()=='FLEX'>
<div v-if="${srfpanelitemlogic(item.getPSPanelItemGroupLogic("PANELVISIBLE"))}" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>" style="<#if item.getFlexGrow() gt 0>flex-grow: ${item.getFlexGrow()};</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>">
${editor.code2}
</div>
<#else>
<i-col v-if="${srfpanelitemlogic(item.getPSPanelItemGroupLogic("PANELVISIBLE"))}" span="24"<#if item.getColLG() != -1> :lg="${item.getColLG()?c}"</#if><#if item.getColMD() != -1> :md="${item.getColMD()?c}"</#if><#if item.getColSM() != -1> :sm="${item.getColSM()?c}"</#if><#if item.getColXS() != -1> :xs="${item.getColXS()?c}"</#if> style="<#if item.getColWidth() != -1>width: ${item.getColWidth()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
${editor.code2}
</i-col>
</#if>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelLogic
</#ibiztemplate>
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelItemVC
</#ibiztemplate>
<#if item.getParentLayoutMode()=='FLEX'>
<div style="<#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
${srfjshtml('${item.getHtmlContent()}')}
</div>
<#else>
<i-col span="24"<#if item.getColLG() != -1> :lg="${item.getColLG()?c}"</#if><#if item.getColMD() != -1> :md="${item.getColMD()?c}"</#if><#if item.getColSM() != -1> :sm="${item.getColSM()?c}"</#if><#if item.getColXS() != -1> :xs="${item.getColXS()?c}"</#if> style="<#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
${srfjshtml('${item.getHtmlContent()}')}
</i-col>
</#if>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelItemVC
</#ibiztemplate>
<#if item.getParentLayoutMode()=='FLEX'>
<div span="24" style="<#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
<#if item.getPSSysPFPlugin()??>
${item.getPSSysPFPlugin().getCode("CODE",pf.getId(),pfstyle.getId(),view,ctrl,item)}
</#if>
</div>
<#else>
<i-col span="24" style="<#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
<#if item.getPSSysPFPlugin()??>
${item.getPSSysPFPlugin().getCode("CODE",pf.getId(),pfstyle.getId(),view,ctrl,item)}
</#if>
</i-col>
</#if>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelViewCode
</#ibiztemplate>
<Row>
<#list rootitems as rootitem>
${rootitem.code}
</#list>
</Row>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelItemVC
</#ibiztemplate>
<#if item.getParentLayoutMode()=='FLEX'>
<i-button class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>" type="primary" style="<#if item.getFlexGrow() gt 0>flex-grow: ${item.getFlexGrow()};</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" @click="ctrl.${ctrl.name}.items.${item.name}.onBtnClick()">
<span class="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getCssName()}</#if>" style="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getRawCssStyle()}${item.getLabelPSSysCss().getCssStyle()}</#if>"><#if item.getPSSysImage()??>
<i class="${item.getPSSysImage().getCssClass()}"></i></#if>${item.getCaption()}
</span>
</i-button>
<#else>
<i-col span="24"<#if item.getColLG() != -1> :lg="${item.getColLG()?c}"</#if><#if item.getColMD() != -1> :md="${item.getColMD()?c}"</#if><#if item.getColSM() != -1> :sm="${item.getColSM()?c}"</#if><#if item.getColXS() != -1> :xs="${item.getColXS()?c}"</#if> style="<#if item.getColWidth() != -1>width: ${item.getColWidth()?c}px;</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if>">
<i-button class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>" type="primary" long style="<#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" @click="ctrl.${ctrl.name}.items.${item.name}.onBtnClick()">
<span class="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getCssName()}</#if>" style="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getRawCssStyle()}${item.getLabelPSSysCss().getCssStyle()}</#if>"><#if item.getPSSysImage()??>
<i class="${item.getPSSysImage().getCssClass()}"></i></#if>${item.getCaption()}
</span>
</i-button>
</i-col>
</#if>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelContainerVC
</#ibiztemplate>
<#if item.getLayoutMode()=='FLEX'>
<#if item.getParentLayoutMode()!='FLEX'><i-col span="24"></#if>
<div v-if="${srfpanelitemlogic(item.getPSPanelItemGroupLogic("PANELVISIBLE"))}" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>" style="<#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>">
<#if item.isShowCaption()>
<div class="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getCssName()}</#if>" style="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getRawCssStyle()}${item.getLabelPSSysCss().getCssStyle()}</#if>">
<span>${item.caption}</span>
</div>
</#if>
<div style="<#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if>display: flex;<#if item.getFlexDir()!="">flex-direction: ${item.getFlexDir()};flex-wrap:wrap;</#if><#if item.getFlexAlign()!="">justify-content: ${item.getFlexAlign()};</#if><#if item.getFlexVAlign()!="">align-items: ${item.getFlexVAlign()};</#if>">
<#list items as detail>
${detail.code}
</#list>
</div>
</div>
<#if item.getParentLayoutMode()!='FLEX'></i-col></#if>
<#else>
<i-col v-if="${srfpanelitemlogic(item.getPSPanelItemGroupLogic("PANELVISIBLE"))}" span="24"<#if item.getColLG() != -1> :lg="${item.getColLG()?c}"</#if><#if item.getColMD() != -1> :md="${item.getColMD()?c}"</#if><#if item.getColSM() != -1> :sm="${item.getColSM()?c}"</#if><#if item.getColXS() != -1> :xs="${item.getColXS()?c}"</#if> style="<#if item.getColWidth() != -1>width: ${item.getColWidth()?c}px;</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
<#if item.isShowCaption()>
<div class="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getCssName()}</#if>" style="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getRawCssStyle()}${item.getLabelPSSysCss().getCssStyle()}</#if>">
<span>${item.caption}</span>
</div>
</#if>
<row>
<#list items as detail>
${detail.code}
</#list>
</row>
</i-col>
</#if>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelControlVC
</#ibiztemplate>
<#if item.getParentLayoutMode()=='FLEX'>
<div class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>" style="<#if item.getFlexGrow() gt 0>flex-grow: ${item.getFlexGrow()};</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>">
<#if srfviewctrl('${item.getPSControl().getName()}')??>
${srfviewctrl('${item.getPSControl().getName()}').code}
</#if>
</div>
<#else>
<i-col span="24"<#if item.getColLG() != -1> :lg="${item.getColLG()?c}"</#if><#if item.getColMD() != -1> :md="${item.getColMD()?c}"</#if><#if item.getColSM() != -1> :sm="${item.getColSM()?c}"</#if><#if item.getColXS() != -1> :xs="${item.getColXS()?c}"</#if> style="<#if item.getColWidth() != -1>width: ${item.getColWidth()?c}px;</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
<#if srfviewctrl('${item.getPSControl().getName()}')??>
${srfviewctrl('${item.getPSControl().getName()}').code}
</#if>
</i-col>
</#if>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelItemVC
</#ibiztemplate>
<#if item.getParentLayoutMode()=='FLEX'>
<div class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>" style="<#if item.getFlexGrow() gt 0>flex-grow: ${item.getFlexGrow()};</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>">
${srfviewctrl('${item.name}').code}
</div>
<#else>
<i-col span="24"<#if item.getColLG() != -1> :lg="${item.getColLG()?c}"</#if><#if item.getColMD() != -1> :md="${item.getColMD()?c}"</#if><#if item.getColSM() != -1> :sm="${item.getColSM()?c}"</#if><#if item.getColXS() != -1> :xs="${item.getColXS()?c}"</#if> style="<#if item.getColWidth() != -1>width: ${item.getColWidth()?c}px;</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getHeight() gt 0>height:${item.getHeight()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
${srfviewctrl('${item.name}').code}
</i-col>
</#if>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelFieldVC
</#ibiztemplate>
<#if item.getParentLayoutMode()=='FLEX'>
<div v-if="${srfpanelitemlogic(item.getPSPanelItemGroupLogic("PANELVISIBLE"))}" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>" style="<#if item.getFlexGrow() gt 0>flex-grow: ${item.getFlexGrow()};</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>">
${editor.code2}
</div>
<#else>
<i-col v-if="${srfpanelitemlogic(item.getPSPanelItemGroupLogic("PANELVISIBLE"))}" span="24"<#if item.getColLG() != -1> :lg="${item.getColLG()?c}"</#if><#if item.getColMD() != -1> :md="${item.getColMD()?c}"</#if><#if item.getColSM() != -1> :sm="${item.getColSM()?c}"</#if><#if item.getColXS() != -1> :xs="${item.getColXS()?c}"</#if> style="<#if item.getColWidth() != -1>width: ${item.getColWidth()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
${editor.code2}
</i-col>
</#if>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelLogic
</#ibiztemplate>
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelItemVC
</#ibiztemplate>
<#if item.getParentLayoutMode()=='FLEX'>
<div style="<#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
${srfjshtml('${item.getHtmlContent()}')}
</div>
<#else>
<i-col span="24"<#if item.getColLG() != -1> :lg="${item.getColLG()?c}"</#if><#if item.getColMD() != -1> :md="${item.getColMD()?c}"</#if><#if item.getColSM() != -1> :sm="${item.getColSM()?c}"</#if><#if item.getColXS() != -1> :xs="${item.getColXS()?c}"</#if> style="<#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
${srfjshtml('${item.getHtmlContent()}')}
</i-col>
</#if>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelItemVC
</#ibiztemplate>
<#if item.getParentLayoutMode()=='FLEX'>
<div span="24" style="<#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
<#if item.getPSSysPFPlugin()??>
${item.getPSSysPFPlugin().getCode("CODE",pf.getId(),pfstyle.getId(),view,ctrl,item)}
</#if>
</div>
<#else>
<i-col span="24" style="<#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
<#if item.getPSSysPFPlugin()??>
${item.getPSSysPFPlugin().getCode("CODE",pf.getId(),pfstyle.getId(),view,ctrl,item)}
</#if>
</i-col>
</#if>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelViewCode
</#ibiztemplate>
<Row>
<#list rootitems as rootitem>
${rootitem.code}
</#list>
</Row>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelItemVC
</#ibiztemplate>
<#if item.getParentLayoutMode()=='FLEX'>
<i-button class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>" type="primary" style="<#if item.getFlexGrow() gt 0>flex-grow: ${item.getFlexGrow()};</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" @click="ctrl.${ctrl.name}.items.${item.name}.onBtnClick()">
<span class="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getCssName()}</#if>" style="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getRawCssStyle()}${item.getLabelPSSysCss().getCssStyle()}</#if>"><#if item.getPSSysImage()??>
<i class="${item.getPSSysImage().getCssClass()}"></i></#if>${item.getCaption()}
</span>
</i-button>
<#else>
<i-col span="24"<#if item.getColLG() != -1> :lg="${item.getColLG()?c}"</#if><#if item.getColMD() != -1> :md="${item.getColMD()?c}"</#if><#if item.getColSM() != -1> :sm="${item.getColSM()?c}"</#if><#if item.getColXS() != -1> :xs="${item.getColXS()?c}"</#if> style="<#if item.getColWidth() != -1>width: ${item.getColWidth()?c}px;</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if>">
<i-button class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>" type="primary" long style="<#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" @click="ctrl.${ctrl.name}.items.${item.name}.onBtnClick()">
<span class="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getCssName()}</#if>" style="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getRawCssStyle()}${item.getLabelPSSysCss().getCssStyle()}</#if>"><#if item.getPSSysImage()??>
<i class="${item.getPSSysImage().getCssClass()}"></i></#if>${item.getCaption()}
</span>
</i-button>
</i-col>
</#if>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelContainerVC
</#ibiztemplate>
<#if item.getLayoutMode()=='FLEX'>
<#if item.getParentLayoutMode()!='FLEX'><i-col span="24"></#if>
<div v-if="${srfpanelitemlogic(item.getPSPanelItemGroupLogic("PANELVISIBLE"))}" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>" style="<#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>">
<#if item.isShowCaption()>
<div class="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getCssName()}</#if>" style="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getRawCssStyle()}${item.getLabelPSSysCss().getCssStyle()}</#if>">
<span>${item.caption}</span>
</div>
</#if>
<div style="<#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if>display: flex;<#if item.getFlexDir()!="">flex-direction: ${item.getFlexDir()};flex-wrap:wrap;</#if><#if item.getFlexAlign()!="">justify-content: ${item.getFlexAlign()};</#if><#if item.getFlexVAlign()!="">align-items: ${item.getFlexVAlign()};</#if>">
<#list items as detail>
${detail.code}
</#list>
</div>
</div>
<#if item.getParentLayoutMode()!='FLEX'></i-col></#if>
<#else>
<i-col v-if="${srfpanelitemlogic(item.getPSPanelItemGroupLogic("PANELVISIBLE"))}" span="24"<#if item.getColLG() != -1> :lg="${item.getColLG()?c}"</#if><#if item.getColMD() != -1> :md="${item.getColMD()?c}"</#if><#if item.getColSM() != -1> :sm="${item.getColSM()?c}"</#if><#if item.getColXS() != -1> :xs="${item.getColXS()?c}"</#if> style="<#if item.getColWidth() != -1>width: ${item.getColWidth()?c}px;</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
<#if item.isShowCaption()>
<div class="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getCssName()}</#if>" style="<#if item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getRawCssStyle()}${item.getLabelPSSysCss().getCssStyle()}</#if>">
<span>${item.caption}</span>
</div>
</#if>
<row>
<#list items as detail>
${detail.code}
</#list>
</row>
</i-col>
</#if>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelControlVC
</#ibiztemplate>
<#if item.getParentLayoutMode()=='FLEX'>
<div class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>" style="<#if item.getFlexGrow() gt 0>flex-grow: ${item.getFlexGrow()};</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>">
<#if srfviewctrl('${item.getPSControl().getName()}')??>
${srfviewctrl('${item.getPSControl().getName()}').code}
</#if>
</div>
<#else>
<i-col span="24"<#if item.getColLG() != -1> :lg="${item.getColLG()?c}"</#if><#if item.getColMD() != -1> :md="${item.getColMD()?c}"</#if><#if item.getColSM() != -1> :sm="${item.getColSM()?c}"</#if><#if item.getColXS() != -1> :xs="${item.getColXS()?c}"</#if> style="<#if item.getColWidth() != -1>width: ${item.getColWidth()?c}px;</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
<#if srfviewctrl('${item.getPSControl().getName()}')??>
${srfviewctrl('${item.getPSControl().getName()}').code}
</#if>
</i-col>
</#if>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelItemVC
</#ibiztemplate>
<#if item.getParentLayoutMode()=='FLEX'>
<div class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>" style="<#if item.getFlexGrow() gt 0>flex-grow: ${item.getFlexGrow()};</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>">
${srfviewctrl('${item.name}').code}
</div>
<#else>
<i-col span="24"<#if item.getColLG() != -1> :lg="${item.getColLG()?c}"</#if><#if item.getColMD() != -1> :md="${item.getColMD()?c}"</#if><#if item.getColSM() != -1> :sm="${item.getColSM()?c}"</#if><#if item.getColXS() != -1> :xs="${item.getColXS()?c}"</#if> style="<#if item.getColWidth() != -1>width: ${item.getColWidth()?c}px;</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getHeight() gt 0>height:${item.getHeight()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
${srfviewctrl('${item.name}').code}
</i-col>
</#if>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelFieldVC
</#ibiztemplate>
<#if item.getParentLayoutMode()=='FLEX'>
<div v-if="${srfpanelitemlogic(item.getPSPanelItemGroupLogic("PANELVISIBLE"))}" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>" style="<#if item.getFlexGrow() gt 0>flex-grow: ${item.getFlexGrow()};</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>">
${editor.code2}
</div>
<#else>
<i-col v-if="${srfpanelitemlogic(item.getPSPanelItemGroupLogic("PANELVISIBLE"))}" span="24"<#if item.getColLG() != -1> :lg="${item.getColLG()?c}"</#if><#if item.getColMD() != -1> :md="${item.getColMD()?c}"</#if><#if item.getColSM() != -1> :sm="${item.getColSM()?c}"</#if><#if item.getColXS() != -1> :xs="${item.getColXS()?c}"</#if> style="<#if item.getColWidth() != -1>width: ${item.getColWidth()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
${editor.code2}
</i-col>
</#if>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelLogic
</#ibiztemplate>
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelItemVC
</#ibiztemplate>
<#if item.getParentLayoutMode()=='FLEX'>
<div style="<#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
${srfjshtml('${item.getHtmlContent()}')}
</div>
<#else>
<i-col span="24"<#if item.getColLG() != -1> :lg="${item.getColLG()?c}"</#if><#if item.getColMD() != -1> :md="${item.getColMD()?c}"</#if><#if item.getColSM() != -1> :sm="${item.getColSM()?c}"</#if><#if item.getColXS() != -1> :xs="${item.getColXS()?c}"</#if> style="<#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
${srfjshtml('${item.getHtmlContent()}')}
</i-col>
</#if>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelItemVC
</#ibiztemplate>
<#if item.getParentLayoutMode()=='FLEX'>
<div span="24" style="<#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
<#if item.getPSSysPFPlugin()??>
${item.getPSSysPFPlugin().getCode("CODE",pf.getId(),pfstyle.getId(),view,ctrl,item)}
</#if>
</div>
<#else>
<i-col span="24" style="<#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}${item.getPSSysCss().getCssStyle()}</#if>" class="<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
<#if item.getPSSysPFPlugin()??>
${item.getPSSysPFPlugin().getCode("CODE",pf.getId(),pfstyle.getId(),view,ctrl,item)}
</#if>
</i-col>
</#if>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2SysPanelViewCode
</#ibiztemplate>
<Row>
<#list rootitems as rootitem>
${rootitem.code}
</#list>
</Row>
\ No newline at end of file
CTRLTYPE=PANEL
\ No newline at end of file
此差异已折叠。
此差异已折叠。
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2ViewControllerCode
</#ibiztemplate>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER.ftl</#ibizinclude>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2ViewControllerCode
</#ibiztemplate>
<#assign viewContorllerName = 'IBizEntityTabExpViewController'/>
<#ibizinclude>../../@MACRO/CONTROL.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER_BASE_HEADER.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_ACTION.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/EXPVIEWCONTROLLER_BASE.ftl</#ibizinclude>
/**
* 注册Tab选择卡
*
* @memberof ${view.codeName}ControllerBase
*/
${view.codeName}ControllerBase.prototype.regTabs = function () {
<#list view.getAllPSControls() as control>
<#if control.getPSControlType().getId() == 'TABVIEWPANEL'>
this.regTab({name:'${control.getName()}',title:'${control.getCaption()}',viewParams:<#if control.getPSControlParam().getCtrlParam()??>${control.getPSControlParam().getCtrlParam().toString()}<#else>{}</#if>});
</#if>
</#list>
};
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER_BASE_BOTTOM.ftl</#ibizinclude>
\ No newline at end of file
<#ibizinclude>../../@MACRO/DEBUG_VIEW_HTML.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}', {
template: `
<ibiz-card class="ibiz-expview ibiz-view" :dis-hover="true">
<#ibizinclude>../../@MACRO/VIEW_CAPTION.ftl</#ibizinclude>
<row class="ibiz-expview-content">
正在支持,敬请期待
</row>
</ibiz-card>
`,
<#ibizinclude>../../@MACRO/VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
},
watch: {
'params': function (val) {
this.viewController.fillViewParams(val);
}
}
});
\ No newline at end of file
<#ibizinclude>../../@MACRO/VIEW_HTML.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}', {
template: `
<ibiz-card class="ibiz-expview ibiz-view" :dis-hover="true">
<#ibizinclude>../../@MACRO/VIEW_CAPTION.ftl</#ibizinclude>
<row class="ibiz-expview-content">
正在支持,敬请期待
</row>
</ibiz-card>
`,
<#ibizinclude>../../@MACRO/VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
},
watch: {
'params': function (val) {
this.viewController.fillViewParams(val);
}
}
});
\ No newline at end of file
<#ibizinclude>../../@MACRO/REFVIEWS.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}', {
template: `
<ibiz-card class="ibiz-expview ibiz-view" :dis-hover="true">
<#ibizinclude>../../@MACRO/VIEW_CAPTION.ftl</#ibizinclude>
<row class="ibiz-expview-content">
<tabs v-model="viewController.tabItem.name" @on-click="onTabChange" :animated="false">
<template v-for="tab of viewController.tabs">
<tab-pane :name="tab.name" class="" :label="tab.title">
</template>
</tabs>
<div style="height: calc(100% - 52px)">
<router-view></router-view>
</div>
</row>
</ibiz-card>
`,
<#ibizinclude>../../@MACRO/VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
'onTabChange': function(name) {
this.viewController.changeTab(name);
}
},
watch: {
'params': function (val) {
this.viewController.fillViewParams(val);
}
}
Vue.component('${filename(view.codeName)}', {
template: `
<ibiz-card class="ibiz-expview ibiz-view" :dis-hover="true">
<#SRFINC(VIEW_CAPTION)>
<row class="ibiz-expview-content">
<tabs v-model="viewController.tabItem.name" @on-click="onTabChange" :animated="false">
<template v-for="tab of viewController.tabs">
<tab-pane :name="tab.name" class="" :label="tab.title">
</template>
</tabs>
<div style="height: calc(100% - 52px)">
<component :viewUsage="4" :key="viewController.tabItem.embedviewid" :is="viewController.tabItem.viewname" :params="{}"></component>
</div>
</row>
</ibiz-card>
`,
<#SRFINC(VIEW_COMPONENT_PROPS)>
<#SRFINC(LIFECYCLE_HOOK)>
methods: {
'onTabChange': function(name) {
this.viewController.changeTab(name);
}
},
watch: {
'params': function (val) {
this.viewController.fillViewParams(val);
}
}
});
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2ViewControllerCode
</#ibiztemplate>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER.ftl</#ibizinclude>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2ViewControllerCode
</#ibiztemplate>
<#assign viewContorllerName = 'IBizWFExpViewController'/>
<#ibizinclude>../../@MACRO/CONTROL.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER_BASE_HEADER.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_ACTION.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/EXPVIEWCONTROLLER_BASE.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER_BASE_BOTTOM.ftl</#ibizinclude>
\ No newline at end of file
<#ibizinclude>../../@MACRO/DEBUG_VIEW_HTML.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}_embeddedview', {
template: `
<ibiz-card :dis-hover="true">
<row :style="{ textAlign: 'center' }">
${view.getTitle()}内嵌导航路由,不支持嵌入使用
</row>
</ibiz-card>
`,
<#ibizinclude>../../@MACRO/EMBEDDED_VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
},
});
\ No newline at end of file
<#ibizinclude>../../@MACRO/VIEW_HTML.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}_modalview', {
template: `
<ibiz-card :dis-hover="true">
<row :style="{ textAlign: 'center' }">
${view.getTitle()}内嵌导航路由,不支持模态使用
</row>
</ibiz-card>
`,
<#ibizinclude>../../@MACRO/MODAL_VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
},
});
\ No newline at end of file
<#ibizinclude>../../@MACRO/REFVIEWS.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}', {
template: `
<ibiz-card class="ibiz-expview ibiz-view view-content" :dis-hover="true">
<#ibizinclude>../../@MACRO/VIEW_CAPTION.ftl</#ibizinclude>
<row class="ibiz-expview-content">
<layout>
<#assign width = 240>
<#if (view.hasPSControl('expbar'))>
<#assign expBar = view.getPSControl('expbar')/>
<#if expBar.getWidth() gt 0><#assign width = expBar.getWidth()?c></#if>
<sider class="ibiz-wf-exp-bar" :width="${expBar.name}.isCollapsed ? ${width} : 41">
<#if expbar??>
${expbar.code}
</#if>
</sider>
<content :style="{ width: ${expBar.name}.isCollapsed ? 'calc(100% - ${width}px)' : 'calc(100% - 41px)' }">
<router-view></router-view>
</content>
</#if>
</layout>
</row>
</ibiz-card>
`,
<#ibizinclude>../../@MACRO/VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
},
watch: {
'params': function (val) {
this.viewController.fillViewParams(val);
}
}
Vue.component('${filename(view.codeName)}', {
template: `
<ibiz-card class="ibiz-expview ibiz-view view-content" :dis-hover="true" :bordered="false">
<#SRFINC(VIEW_CAPTION)>
<row class="ibiz-expview-content">
<layout>
<#assign width = 240>
<#if (view.hasPSControl('expbar'))>
<#assign expBar = view.getPSControl('expbar')/>
<#if expBar.getWidth() gt 0><#assign width = expBar.getWidth()?c></#if>
<sider class="ibiz-wf-exp-bar" :width="${expBar.name}.isCollapsed ? ${width} : 41">
<#if expbar??>
${expbar.code}
</#if>
</sider>
<content :style="{ width: ${expBar.name}.isCollapsed ? 'calc(100% - ${width}px)' : 'calc(100% - 41px)' }">
<component :viewUsage="4" :key="${expBar.name}.selectItem.embedviewid" :is="${expBar.name}.selectItem.viewname" :params="${expBar.name}.selectItem.params"></component>
</content>
</#if>
</layout>
</row>
</ibiz-card>
`,
<#SRFINC(VIEW_COMPONENT_PROPS)>
<#SRFINC(LIFECYCLE_HOOK)>
methods: {
},
watch: {
'params': function (val) {
this.viewController.fillViewParams(val);
}
}
});
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2ViewControllerCode
</#ibiztemplate>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER.ftl</#ibizinclude>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2ViewControllerCode
</#ibiztemplate>
<#assign viewContorllerName = 'IBizWFEditView2Controller'/>
<#ibizinclude>../../@MACRO/CONTROL.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER_BASE_HEADER.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_ACTION.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_EDIT_CONTROLLER_BASE.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/EDITVIEW2CONTROLLER_BASE.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER_BASE_BOTTOM.ftl</#ibizinclude>
\ No newline at end of file
<#ibizinclude>../../@MACRO/DEBUG_VIEW_HTML.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}_embeddedview', {
template: `
<ibiz-card :dis-hover="true" :bordered="false">
<#ibizinclude>../../@MACRO/VIEW_CAPTION_DATAINFO.ftl</#ibizinclude>
<span slot="extra">
<#if toolbar??>
${toolbar.code}
</#if>
</span>
<row>
<#if form??>
${form.code}
</#if>
</row>
</ibiz-card>
`,
<#ibizinclude>../../@MACRO/EMBEDDED_VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
},
});
\ No newline at end of file
<#ibizinclude>../../@MACRO/VIEW_HTML.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}_modalview', {
template: `
<ibiz-card :dis-hover="true" :bordered="false">
<#ibizinclude>../../@MACRO/VIEW_CAPTION_DATAINFO.ftl</#ibizinclude>
<span slot="extra">
<#if toolbar??>
${toolbar.code}
</#if>
</span>
<row>
<#if form??>
${form.code}
</#if>
</row>
</ibiz-card>
`,
<#ibizinclude>../../@MACRO/MODAL_VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
},
});
\ No newline at end of file
<#ibizinclude>../../@MACRO/REFVIEWS.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}', {
template: `
<ibiz-card class="ibiz-expview ibiz-view view-content" :dis-hover="true" :bordered="false">
<#ibizinclude>../../@MACRO/VIEW_CAPTION_DATAINFO.ftl</#ibizinclude>
<span slot="extra" v-show="viewController.isShowToolBar">
<#if toolbar??>
${toolbar.code}
</#if>
</span>
<row class="ibiz-expview-content">
<layout :style="{ background: '#fff', height: '100%' }">
<#assign width = 240>
<#if (view.hasPSControl('drbar'))>
<#assign drBar = view.getPSControl('drbar')/>
<#if drBar.getWidth() gt 0><#assign width = drBar.getWidth()?c></#if>
<sider class="ibiz-wf-exp-bar" :width="${drBar.name}.isCollapsed ? ${width} : 41">
<#if drbar??>
${drbar.code}
</#if>
</sider>
<content :style="{ width: ${drBar.name}.isCollapsed ? 'calc(100% - ${width}px)' : 'calc(100% - 41px)' }">
<#if form??>
<row v-show="drbar.selectItem.id == 'form'" style="height: 100%;">
<div :style="{ height: '100%', border: '1px solid #dcdee2', padding: '0 5px'<#if view.isHideEditForm()>, display: 'none'</#if> }">
${form.code}
</div>
</row>
</#if>
<div v-show="drbar.selectItem.id != 'form'" style="height: 100%;">
<router-view></router-view>
</div>
</content>
</#if>
</layout>
</row>
</ibiz-card>
`,
<#ibizinclude>../../@MACRO/VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
},
watch: {
'params': function (val) {
this.viewController.fillViewParams(val);
}
}
Vue.component('${filename(view.codeName)}', {
template: `
<ibiz-card class="ibiz-expview ibiz-view view-content" :dis-hover="true" :bordered="false">
<#SRFINC(VIEW_CAPTION_DATAINFO)>
<span slot="extra" v-show="viewController.isShowToolBar">
<#if toolbar??>
${toolbar.code}
</#if>
</span>
<row class="ibiz-expview-content">
<layout>
<#assign width = 240>
<#if (view.hasPSControl('drbar'))>
<#assign drBar = view.getPSControl('drbar')/>
<#if drBar.getWidth() gt 0><#assign width = drBar.getWidth()?c></#if>
<sider class="ibiz-wf-exp-bar" :width="${drBar.name}.isCollapsed ? ${width} : 41">
<#if drbar??>
${drbar.code}
</#if>
</sider>
<content :style="{ width: ${drBar.name}.isCollapsed ? 'calc(100% - ${width}px)' : 'calc(100% - 41px)' }">
<#if form??>
<row v-show="drbar.selectItem.id == 'form'" style="height: 100%;">
<div :style="{ height: '100%', padding: '0 5px'<#if view.isHideEditForm()>, display: 'none'</#if> }">
${form.code}
</div>
</row>
</#if>
<div v-show="drbar.selectItem.id != 'form'" style="height: 100%;">
<component :viewUsage="4" :key="drbar.selectItem.embedviewid" :is="drbar.selectItem.viewname" :params="drbar.selectItem.viewparam"></component>
</div>
</content>
</#if>
</layout>
</row>
</ibiz-card>
`,
<#SRFINC(VIEW_COMPONENT_PROPS)>
<#SRFINC(LIFECYCLE_HOOK)>
methods: {
},
watch: {
'params': function (val) {
this.viewController.fillViewParams(val);
}
}
});
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2ViewControllerCode
</#ibiztemplate>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER.ftl</#ibizinclude>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2ViewControllerCode
</#ibiztemplate>
<#assign viewContorllerName = 'IBizWFEditView3Controller'/>
<#ibizinclude>../../@MACRO/CONTROL.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER_BASE_HEADER.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_ACTION.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_EDIT_CONTROLLER_BASE.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/EDITVIEW2CONTROLLER_BASE.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER_BASE_BOTTOM.ftl</#ibizinclude>
\ No newline at end of file
<#ibizinclude>../../@MACRO/DEBUG_VIEW_HTML.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}_embeddedview', {
template: `
<card :dis-hover="true">
<#ibizinclude>../../@MACRO/VIEW_CAPTION_DATAINFO.ftl</#ibizinclude>
<span slot="extra">
<#if toolbar??>
${toolbar.code}
</#if>
</span>
<row>
<#if form??>
${form.code}
</#if>
</row>
</card>
`,
<#ibizinclude>../../@MACRO/EMBEDDED_VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
},
});
\ No newline at end of file
<#ibizinclude>../../@MACRO/VIEW_HTML.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}_modalview', {
template: `
<card :dis-hover="true">
<#ibizinclude>../../@MACRO/VIEW_CAPTION_DATAINFO.ftl</#ibizinclude>
<span slot="extra">
<#if toolbar??>
${toolbar.code}
</#if>
</span>
<row>
<#if form??>
${form.code}
</#if>
</row>
</card>
`,
<#ibizinclude>../../@MACRO/MODAL_VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
},
});
\ No newline at end of file
<#ibizinclude>../../@MACRO/REFVIEWS.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}', {
template: `
<card class="ibiz-editview ibiz-view" :dis-hover="true">
<#ibizinclude>../../@MACRO/VIEW_CAPTION_DATAINFO.ftl</#ibizinclude>
<span slot="extra" v-show="viewController.isShowToolBar">
<#if toolbar??>
${toolbar.code}
</#if>
</span>
<row class="ibiz-editview3-content">
<#comment><!--开始:关系分页部件--></#comment>
<#if view.hasPSControl("drtab")>
<#assign drtab = view.getPSControl("drtab")>
<#assign tabsname=drtab.getId()>
<tabs name="${tabsname}" @on-click="${drtab.name}.onTabSelectionChange($event)" :value="${drtab.name}.activeTab.name" :animated="false">
<#list drtab.getRootItem().getAllItems() as dritem>
<#if (dritem_index == 0)>
<#if form??>
<tab-pane tab="${tabsname}" label="${dritem.text}" name="form" <#if view.isHideEditForm()> :style="{ display: 'none' }"</#if>>
${form.code}
</tab-pane>
</#if>
<#else>
<tab-pane tab="${tabsname}" label="${dritem.text}" name="${dritem.getId()?lower_case}" :disabled="${drtab.name}.tabs.${dritem.getId()?lower_case}.disabled">
<router-view v-if="${drtab.name}.activeTab.name == '${dritem.getId()?lower_case}'"></router-view>
</tab-pane>
</#if>
</#list>
</tabs>
</#if>
<#comment><!--结束:关系分页部件--></#comment>
</row>
</card>
`,
<#ibizinclude>../../@MACRO/VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
},
watch: {
'params': function (val) {
this.viewController.fillViewParams(val);
}
}
Vue.component('${filename(view.codeName)}', {
template: `
<ibiz-card class="ibiz-editview ibiz-view" :dis-hover="true" :bordered="false">
<#SRFINC(VIEW_CAPTION_DATAINFO)>
<span slot="extra" v-show="viewController.isShowToolBar">
<#if toolbar??>
${toolbar.code}
</#if>
</span>
<row class="ibiz-editview3-content">
<#comment><!--开始:关系分页部件--></#comment>
<#if view.hasPSControl("drtab")>
<#assign drtab = view.getPSControl("drtab")>
<#assign tabsname=drtab.getId()>
<tabs name="${tabsname}" @on-click="${drtab.name}.onTabSelectionChange($event)" :value="${drtab.name}.activeTab.name" :animated="false">
<#list drtab.getRootItem().getAllItems() as dritem>
<#if (dritem_index == 0)>
<#if form??>
<tab-pane tab="${tabsname}" label="${dritem.text}" name="form" <#if view.isHideEditForm()> :style="{ display: 'none' }"</#if>>
${form.code}
</tab-pane>
</#if>
<#else>
<tab-pane tab="${tabsname}" label="${dritem.text}" name="${dritem.getId()?lower_case}" :disabled="${drtab.name}.tabs.${dritem.getId()?lower_case}.disabled">
<component :viewUsage="4" v-if="${drtab.name}.activeTab.name == '${dritem.getId()?lower_case}'" :key="${drtab.name}.activeTab.embedviewid" :is="${drtab.name}.activeTab.viewname" :params="${drtab.name}.activeTab.viewparam" ></component>
</tab-pane>
</#if>
</#list>
</tabs>
</#if>
<#comment><!--结束:关系分页部件--></#comment>
</row>
</ibiz-card>
`,
<#SRFINC(VIEW_COMPONENT_PROPS)>
<#SRFINC(LIFECYCLE_HOOK)>
methods: {
},
watch: {
'params': function (val) {
this.viewController.fillViewParams(val);
}
}
});
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2ViewControllerCode
</#ibiztemplate>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER.ftl</#ibizinclude>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2ViewControllerCode
</#ibiztemplate>
<#assign viewContorllerName = 'IBizTreeExpViewController'/>
<#ibizinclude>../../@MACRO/CONTROL.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER_BASE_HEADER.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_ACTION.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/EXPVIEWCONTROLLER_BASE.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER_BASE_BOTTOM.ftl</#ibizinclude>
\ No newline at end of file
<#ibizinclude>../../@MACRO/DEBUG_VIEW_HTML.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}_embeddedview', {
template: `
<ibiz-card class="ibiz-view ibiz-expview" :dis-hover="true">
<#ibizinclude>../../@MACRO/VIEW_CAPTION.ftl</#ibizinclude>
<row class="ibiz-expview-content">
<layout>
<#assign width = 240>
<#if (view.hasPSControl('treeexpbar'))>
<#assign treeExpBar = view.getPSControl('treeexpbar')/>
<#if treeExpBar.getWidth() gt 0><#assign width = treeExpBar.getWidth()?c></#if>
<#else>
<#assign width = 0>
</#if>
<sider class="ibiz-tree-exp-bar" :width="${width}">
<#if treeexpbar??>
${treeexpbar.code}
</#if>
</sider>
<content :style="{ width: 'calc(100% - ${width}px)' }">
<router-view></router-view>
</content>
</layout>
</row>
</ibiz-card>
`,
<#ibizinclude>../../@MACRO/EMBEDDED_VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
<#if treeexpbar??>
${treeexpbar.code2}
</#if>
},
});
\ No newline at end of file
<#ibizinclude>../../@MACRO/VIEW_HTML.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}_modalview', {
template: `
<ibiz-card class="ibiz-view ibiz-expview" :dis-hover="true">
<#ibizinclude>../../@MACRO/VIEW_CAPTION.ftl</#ibizinclude>
<row class="ibiz-expview-content">
<layout>
<#assign width = 240>
<#if (view.hasPSControl('treeexpbar'))>
<#assign treeExpBar = view.getPSControl('treeexpbar')/>
<#if treeExpBar.getWidth() gt 0><#assign width = treeExpBar.getWidth()?c></#if>
<#else>
<#assign width = 0>
</#if>
<sider class="ibiz-tree-exp-bar" :width="${width}">
<#if treeexpbar??>
${treeexpbar.code}
</#if>
</sider>
<content :style="{ width: 'calc(100% - ${width}px)' }">
</content>
</layout>
</row>
</ibiz-card>
`,
<#ibizinclude>../../@MACRO/MODAL_VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
<#if treeexpbar??>
${treeexpbar.code2}
</#if>
},
});
\ No newline at end of file
<#ibizinclude>../../@MACRO/REFVIEWS.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}', {
template: `
<ibiz-card class="ibiz-view ibiz-expview view-content" :dis-hover="true">
<#ibizinclude>../../@MACRO/VIEW_CAPTION.ftl</#ibizinclude>
<row class="ibiz-expview-content">
<layout>
<#assign width = 240>
<#if (view.hasPSControl('treeexpbar'))>
<#assign treeExpBar = view.getPSControl('treeexpbar')/>
<#if treeExpBar.getWidth() gt 0><#assign width = treeExpBar.getWidth()?c></#if>
<#else>
<#assign width = 0>
</#if>
<sider class="ibiz-tree-exp-bar" :width="${width}">
<#if treeexpbar??>
${treeexpbar.code}
</#if>
</sider>
<content :style="{ width: 'calc(100% - ${width}px)' }">
<router-view></router-view>
</content>
</layout>
</row>
</ibiz-card>
`,
<#ibizinclude>../../@MACRO/VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
<#if treeexpbar??>
${treeexpbar.code2}
</#if>
},
watch: {
'params': function (val) {
this.viewController.fillViewParams(val);
}
}
Vue.component('${filename(view.codeName)}', {
template: `
<ibiz-card class="ibiz-view ibiz-expview view-content" :dis-hover="true" :bordered="false">
<#SRFINC(VIEW_CAPTION)>
<row class="ibiz-expview-content">
<layout>
<#assign width = 240>
<#if (view.hasPSControl('treeexpbar'))>
<#assign treeExpBar = view.getPSControl('treeexpbar')/>
<#if treeExpBar.getWidth() gt 0><#assign width = treeExpBar.getWidth()?c></#if>
<sider class="ibiz-tree-exp-bar" :width="${width}">
<#if treeexpbar??>
${treeexpbar.code}
</#if>
</sider>
</#if>
<content :style="{ width: 'calc(100% - ${width}px)' }">
<component :viewUsage="4" :key="${treeExpBar.name}.selectItem.embedviewid" :is="${treeExpBar.name}.selectItem.viewname" :params="${treeExpBar.name}.selectItem.params"></component>
</content>
</layout>
</row>
</ibiz-card>
`,
<#SRFINC(VIEW_COMPONENT_PROPS)>
<#SRFINC(LIFECYCLE_HOOK)>
methods: {
<#if treeexpbar??>
${treeexpbar.code2}
</#if>
},
watch: {
'params': function (val) {
this.viewController.fillViewParams(val);
}
}
});
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2ViewControllerCode
</#ibiztemplate>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER.ftl</#ibizinclude>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2ViewControllerCode
</#ibiztemplate>
<#assign viewContorllerName = 'IBizEditView3Controller'/>
<#ibizinclude>../../@MACRO/CONTROL.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER_BASE_HEADER.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_ACTION.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_EDIT_CONTROLLER_BASE.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/EDITVIEW2CONTROLLER_BASE.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER_BASE_BOTTOM.ftl</#ibizinclude>
\ No newline at end of file
<#ibizinclude>../../@MACRO/DEBUG_VIEW_HTML.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}_embeddedview', {
template: `
<ibiz-card :dis-hover="true" :bordered="false">
<#ibizinclude>../../@MACRO/VIEW_CAPTION_DATAINFO.ftl</#ibizinclude>
<span slot="extra">
<#if toolbar??>
${toolbar.code}
</#if>
</span>
<row>
<#if form??>
${form.code}
</#if>
</row>
</ibiz-card>
`,
<#ibizinclude>../../@MACRO/EMBEDDED_VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
},
});
\ No newline at end of file
<#ibizinclude>../../@MACRO/VIEW_HTML.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}_modalview', {
template: `
<ibiz-card :dis-hover="true" :bordered="false">
<#ibizinclude>../../@MACRO/VIEW_CAPTION_DATAINFO.ftl</#ibizinclude>
<span slot="extra">
<#if toolbar??>
${toolbar.code}
</#if>
</span>
<row>
<#if form??>
${form.code}
</#if>
</row>
</ibiz-card>
`,
<#ibizinclude>../../@MACRO/MODAL_VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
},
});
\ No newline at end of file
<#ibizinclude>../../@MACRO/REFVIEWS.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}', {
template: `
<ibiz-card class="ibiz-editview ibiz-view" :dis-hover="true" :bordered="false">
<#ibizinclude>../../@MACRO/VIEW_CAPTION_DATAINFO.ftl</#ibizinclude>
<span slot="extra" v-show="viewController.isShowToolBar">
<#if toolbar??>
${toolbar.code}
</#if>
</span>
<row class="ibiz-editview3-content">
<#comment><!--开始:关系分页部件--></#comment>
<#if view.hasPSControl("drtab")>
<#assign drtab = view.getPSControl("drtab")>
<#assign tabsname=drtab.getId()>
<tabs name="${tabsname}" @on-click="${drtab.name}.onTabSelectionChange($event)" :value="${drtab.name}.activeTab.name" :animated="false">
<#list drtab.getRootItem().getAllItems() as dritem>
<#if (dritem_index == 0)>
<#if form??>
<tab-pane tab="${tabsname}" label="${dritem.text}" name="form" <#if view.isHideEditForm()> :style="{ display: 'none' }"</#if>>
${form.code}
</tab-pane>
</#if>
<#else>
<tab-pane tab="${tabsname}" label="${dritem.text}" name="${dritem.getId()?lower_case}" :disabled="${drtab.name}.tabs.${dritem.getId()?lower_case}.disabled">
<router-view v-if="${drtab.name}.activeTab.name == '${dritem.getId()?lower_case}'"></router-view>
</tab-pane>
</#if>
</#list>
</tabs>
</#if>
<#comment><!--结束:关系分页部件--></#comment>
</row>
</ibiz-card>
`,
<#ibizinclude>../../@MACRO/VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
},
watch: {
'params': function (val) {
this.viewController.fillViewParams(val);
}
}
Vue.component('${filename(view.codeName)}', {
template: `
<ibiz-card class="ibiz-editview ibiz-view" :dis-hover="true" :bordered="false">
<#SRFINC(VIEW_CAPTION_DATAINFO)>
<span slot="extra" v-show="viewController.isShowToolBar">
<#if toolbar??>
${toolbar.code}
</#if>
</span>
<row class="ibiz-editview3-content">
<#comment><!--开始:关系分页部件--></#comment>
<#if view.hasPSControl("drtab")>
<#assign drtab = view.getPSControl("drtab")>
<#assign tabsname=drtab.getId()>
<tabs name="${tabsname}" @on-click="${drtab.name}.onTabSelectionChange($event)" :value="${drtab.name}.activeTab.name" :animated="false">
<#list drtab.getRootItem().getAllItems() as dritem>
<#if (dritem_index == 0)>
<#if form??>
<tab-pane tab="${tabsname}" label="${dritem.text}" name="form" <#if view.isHideEditForm()> :style="{ display: 'none' }"</#if>>
${form.code}
</tab-pane>
</#if>
<#else>
<tab-pane tab="${tabsname}" label="${dritem.text}" name="${dritem.getId()?lower_case}" :disabled="${drtab.name}.tabs.${dritem.getId()?lower_case}.disabled">
<component :viewUsage="4" v-if="${drtab.name}.activeTab.name == '${dritem.getId()?lower_case}'" :key="${drtab.name}.activeTab.embedviewid" :is="${drtab.name}.activeTab.viewname" :params="${drtab.name}.activeTab.viewparam" ></component>
</tab-pane>
</#if>
</#list>
</tabs>
</#if>
<#comment><!--结束:关系分页部件--></#comment>
</row>
</ibiz-card>
`,
<#SRFINC(VIEW_COMPONENT_PROPS)>
<#SRFINC(LIFECYCLE_HOOK)>
methods: {
},
watch: {
'params': function (val) {
this.viewController.fillViewParams(val);
}
}
});
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2ViewControllerCode
</#ibiztemplate>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER.ftl</#ibizinclude>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2ViewControllerCode
</#ibiztemplate>
<#assign viewContorllerName = 'IBizEditView2Controller'/>
<#ibizinclude>../../@MACRO/CONTROL.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER_BASE_HEADER.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_ACTION.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_EDIT_CONTROLLER_BASE.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/EDITVIEW2CONTROLLER_BASE.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER_BASE_BOTTOM.ftl</#ibizinclude>
\ No newline at end of file
<#ibizinclude>../../@MACRO/DEBUG_VIEW_HTML.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}_embeddedview', {
template: `
<ibiz-card :dis-hover="true" :bordered="false">
<#ibizinclude>../../@MACRO/VIEW_CAPTION_DATAINFO.ftl</#ibizinclude>
<span slot="extra">
<#if toolbar??>
${toolbar.code}
</#if>
</span>
<row>
<#if form??>
${form.code}
</#if>
</row>
</ibiz-card>
`,
<#ibizinclude>../../@MACRO/EMBEDDED_VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
},
});
\ No newline at end of file
<#ibizinclude>../../@MACRO/VIEW_HTML.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}_modalview', {
template: `
<ibiz-card :dis-hover="true" :bordered="false">
<#ibizinclude>../../@MACRO/VIEW_CAPTION_DATAINFO.ftl</#ibizinclude>
<span slot="extra">
<#if toolbar??>
${toolbar.code}
</#if>
</span>
<row>
<#if form??>
${form.code}
</#if>
</row>
</ibiz-card>
`,
<#ibizinclude>../../@MACRO/MODAL_VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
},
});
\ No newline at end of file
<#ibizinclude>../../@MACRO/REFVIEWS.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}', {
template: `
<ibiz-card class="ibiz-expview ibiz-view view-content" :dis-hover="true" :bordered="false">
<#ibizinclude>../../@MACRO/VIEW_CAPTION_DATAINFO.ftl</#ibizinclude>
<span slot="extra" v-show="viewController.isShowToolBar">
<#if toolbar??>
${toolbar.code}
</#if>
</span>
<row class="ibiz-expview-content">
<#assign width = 240>
<#if (view.hasPSControl('drbar'))>
<layout>
<#assign drBar = view.getPSControl('drbar')/>
<#if drBar.getWidth() gt 0><#assign width = drBar.getWidth()?c></#if>
<sider class="ibiz-wf-exp-bar" :width="${drBar.name}.isCollapsed ? ${width} : 41">
<#if drbar??>
${drbar.code}
</#if>
</sider>
<content :style="{ width: ${drBar.name}.isCollapsed ? 'calc(100% - ${width}px)' : 'calc(100% - 41px)' }">
<#if form??>
<row v-show="drbar.selectItem.id == 'form'" style="height: 100%;">
<div :style="{ height: '100%', padding: '0 5px'<#if view.isHideEditForm()>, display: 'none'</#if> }">
${form.code}
</div>
</row>
</#if>
<div v-show="drbar.selectItem.id != 'form'" style="height: 100%;">
<router-view></router-view>
</div>
</content>
</layout>
<#elseif form??>
${form.code}
</#if>
</row>
</ibiz-card>
`,
<#ibizinclude>../../@MACRO/VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
},
watch: {
'params': function (val) {
this.viewController.fillViewParams(val);
}
}
Vue.component('${filename(view.codeName)}', {
template: `
<ibiz-card class="ibiz-expview ibiz-view view-content" :dis-hover="true" :bordered="false">
<#SRFINC(VIEW_CAPTION_DATAINFO)>
<span slot="extra" v-show="viewController.isShowToolBar">
<#if toolbar??>
${toolbar.code}
</#if>
</span>
<row class="ibiz-expview-content">
<layout>
<#assign width = 240>
<#if (view.hasPSControl('drbar'))>
<#assign drBar = view.getPSControl('drbar')/>
<#if drBar.getWidth() gt 0><#assign width = drBar.getWidth()?c></#if>
<sider class="ibiz-wf-exp-bar" :width="${drBar.name}.isCollapsed ? ${width} : 41">
<#if drbar??>
${drbar.code}
</#if>
</sider>
<content :style="{ width: ${drBar.name}.isCollapsed ? 'calc(100% - ${width}px)' : 'calc(100% - 41px)' }">
<#if form??>
<row v-show="drbar.selectItem.id == 'form'" style="height: 100%;">
<div :style="{ height: '100%', padding: '0 5px'<#if view.isHideEditForm()>, display: 'none'</#if> }">
${form.code}
</div>
</row>
</#if>
<div v-show="drbar.selectItem.id != 'form'" style="height: 100%;">
<component :viewUsage="4" :key="drbar.selectItem.embedviewid" :is="drbar.selectItem.viewname" :params="drbar.selectItem.viewparam"></component>
</div>
</content>
</#if>
</layout>
</row>
</ibiz-card>
`,
<#SRFINC(VIEW_COMPONENT_PROPS)>
<#SRFINC(LIFECYCLE_HOOK)>
methods: {
},
watch: {
'params': function (val) {
this.viewController.fillViewParams(val);
}
}
});
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2ViewControllerCode
</#ibiztemplate>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER.ftl</#ibizinclude>
\ No newline at end of file
<#ibiztemplate>
PUBOBJ=Vue2.PSVue2ViewControllerCode
</#ibiztemplate>
<#assign viewContorllerName = 'IBizIndexViewController'/>
<#ibizinclude>../../@MACRO/CONTROL.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER_BASE_HEADER.ftl</#ibizinclude>
<#if view.getDefPSAppView()??>
/**
* 注册默认打开视图
*
* @memberof ${view.codeName}ControllerBase
*/
${view.codeName}ControllerBase.prototype.regDefOpenView = function () {
<#assign defview = view.getDefPSAppView()>
var view = { viewname: '${defview.getPSAppModule().codeName?lower_case}_${defview.codeName?lower_case}', openmode: '${defview.getOpenMode()}', width: ${defview.getWidth()?c}, height: ${defview.getHeight()?c}, viewtitle: '${defview.getTitle()}' };
Object.assign(this.defOpenView, view);
};
</#if>
<#ibizinclude>../../@MACRO/VIEW_CONTROLLER_BASE_BOTTOM.ftl</#ibizinclude>
\ No newline at end of file
<#ibizinclude>../../@MACRO/DEBUG_VIEW_HTML.ftl</#ibizinclude>
\ No newline at end of file
<#ibizinclude>../../@MACRO/SP_DEBUG_VIEW_HTML.ftl</#ibizinclude>
\ No newline at end of file
Vue.component('${filename(view.codeName)}_embeddedview', {
template: `
<div class="layout">
<sider :style="{position: 'fixed', height: '100vh', left: 0, overflow: 'auto', width:'240px'}" width="240">
<#if appmenu??>
${appmenu.code}
</#if>
</sider>
<layout :style="{marginLeft: '240px', height: '100vh'}">
<header :style="{ background: '#fff', boxShadow: '0 2px 3px 2px rgba(0,0,0,.1)', padding: '0 16px'}">
<ibiz-header-user class="ibiz-header-user pull-right"></ibiz-header-user>
</header>
<content :style="{padding: '16px 16px'}">
<div style="height: calc(100vh - 110px);overflow-y: auto;">
<router-view></router-view>
</div>
</content>
</layout>
</div>
`,
<#ibizinclude>../../@MACRO/EMBEDDED_VIEW_COMPONENT_PROPS.ftl</#ibizinclude>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude>
methods: {
},
});
\ No newline at end of file
此差异已折叠。
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册