提交 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>${view.getTitle()} -- ${app.getName()}</title>
<style type="text/css">
html, body, #app {
height: 100%;
margin: 0;
}
</style>
<link rel="icon" type="image/png" href="../../../packages/assets/img/logo.png?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}">
<link rel="stylesheet" type="text/css" href="../../../packages/assets/plugins/font-awesome/4.3.0/css/font-awesome.min.css?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"/>
<link rel="stylesheet" type="text/css" href="../../../packages/assets/plugins/iview/styles/iview.css?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"/>
<link rel="stylesheet" type="text/css" href="../../../packages/assets/plugins/element-ui/element-ui.css?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"/>
<!-- 日历插件 begin -->
<link rel="stylesheet" type="text/css" href="../../../packages/assets/plugins/fullcalendar-4.2.0/packages/core/main.css?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}">
<link rel="stylesheet" type="text/css" href="../../../packages/assets/plugins/fullcalendar-4.2.0/packages/daygrid/main.css?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}">
<!-- 日历插件 end -->
<link rel="stylesheet" type="text/css" href="../../../packages/ibizsys/dist/css/ibizsys.css?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"/>
<link rel="stylesheet" type="text/css" href="../../../expand-plugins/expand-plugins.css?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}">
<link rel="stylesheet" type="text/css" href="../../../theme/ibiz-theme.css?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}">
<link rel="stylesheet" type="text/css" href="../../../user/user.css?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}">
<script type="text/javascript" src="../../../packages/assets/dist/assets.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../../packages/assets/plugins/tinymce/tinymce.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../../packages/assets/plugins/tinymce/langs/zh_CN.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
</head>
<body>
<div id='app' v-loading="iBizHttp.isLoading">
<router-view :class="themeClass" :style="{fontFamily: fontFamily}"></router-view>
<template v-for="(modal, index) of modals">
<ibiz-modal :key="index" :params="modal" :index="index" @on-close="closeModal"></ibiz-modal>
</template>
</div>
<script type="text/javascript" src="../../../theme/ibiz-theme.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../../environments/ibiz-environment.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../../packages/ibizsys/dist/util/ibiz-hand-response-data.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../../packages/ibizsys/dist/ibizsys.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<#if view.getViewType() == 'APPINDEXVIEW' || view.getViewType() == 'APPPORTALVIEW'>
<script type="text/javascript" src="../../../packages/apputil/dist/user/user.component.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../../packages/apputil/dist/theme/theme.component.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
</#if>
<#if view.getPSApplication().isPubRefViewOnly()>
<#list sprefviews as refpage>
<script type="text/javascript" src="../../${filename(refpage.getPSAppModule().codeName)}/${filename(refpage.codeName)}/${filename(refpage.codeName)}.base.js?v=<#if refpage.isPSDEView()>${refpage.getPSDataEntity().getVersion()?c}_</#if>${refpage.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../${filename(refpage.getPSAppModule().codeName)}/${filename(refpage.codeName)}/${filename(refpage.codeName)}.js?v=<#if refpage.isPSDEView()>${refpage.getPSDataEntity().getVersion()?c}_</#if>${refpage.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../${filename(refpage.getPSAppModule().codeName)}/${filename(refpage.codeName)}/${filename(refpage.codeName)}.component.js?v=<#if refpage.isPSDEView()>${refpage.getPSDataEntity().getVersion()?c}_</#if>${refpage.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../${filename(refpage.getPSAppModule().codeName)}/${filename(refpage.codeName)}/${filename(refpage.codeName)}_embedded.component.js?v=<#if refpage.isPSDEView()>${refpage.getPSDataEntity().getVersion()?c}_</#if>${refpage.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../${filename(refpage.getPSAppModule().codeName)}/${filename(refpage.codeName)}/${filename(refpage.codeName)}_modal.component.js?v=<#if refpage.isPSDEView()>${refpage.getPSDataEntity().getVersion()?c}_</#if>${refpage.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
</#list>
<#else>
<#if view.getPSApplication().getAllPSAppViews()??>
<#list view.getPSApplication().getAllPSAppViews() as refpage>
<script type="text/javascript" src="../../${filename(refpage.getPSAppModule().codeName)}/${filename(refpage.codeName)}/${filename(refpage.codeName)}.base.js?v=<#if refpage.isPSDEView()>${refpage.getPSDataEntity().getVersion()?c}_</#if>${refpage.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../${filename(refpage.getPSAppModule().codeName)}/${filename(refpage.codeName)}/${filename(refpage.codeName)}.js?v=<#if refpage.isPSDEView()>${refpage.getPSDataEntity().getVersion()?c}_</#if>${refpage.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../${filename(refpage.getPSAppModule().codeName)}/${filename(refpage.codeName)}/${filename(refpage.codeName)}.component.js?v=<#if refpage.isPSDEView()>${refpage.getPSDataEntity().getVersion()?c}_</#if>${refpage.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../${filename(refpage.getPSAppModule().codeName)}/${filename(refpage.codeName)}/${filename(refpage.codeName)}_embedded.component.js?v=<#if refpage.isPSDEView()>${refpage.getPSDataEntity().getVersion()?c}_</#if>${refpage.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../${filename(refpage.getPSAppModule().codeName)}/${filename(refpage.codeName)}/${filename(refpage.codeName)}_modal.component.js?v=<#if refpage.isPSDEView()>${refpage.getPSDataEntity().getVersion()?c}_</#if>${refpage.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
</#list>
</#if>
</#if>
<script type="text/javascript" src="../../../expand-plugins/expand-plugins.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../../user/user.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script>
var ${view.codeName}Router = new VueRouter({
routes: [
{
path: '',
redirect: {
name: '${filename(view.codeName)}'
}
},
{
path: '/${filename(view.codeName)}/:params?',
name: '${filename(view.codeName)}',
meta: {
caption: '${view.getCaption()}',
viewType: 'APPINDEX'
},
beforeEnter: function(to, from, next) {
var params = {};
if (to.params.params) {
Object.assign(params, IBizUtil.matrixURLToJson(to.params.params));
}
IBizAuthguard.getInstance().canActivate('/${app.getAppFolder()}/${view.getPSAppModule().codeName}/${view.codeName}.do', params).subscribe(function (state) {
next();
}, function (error) {
next();
});
},
component: Vue.options.components['${filename(view.codeName)}'],
children: [
<#if view.getPSApplication().isPubRefViewOnly()>
<#list sprefviews as refpage>
<#if refpage.getId() != view.getId()>
{
path: '${refpage.getPSAppModule().codeName?lower_case}_${refpage.codeName?lower_case}/:params?',
name: '${refpage.getPSAppModule().codeName?lower_case}_${refpage.codeName?lower_case}',
meta: {
caption: '${refpage.getCaption()}',
<#if refpage.getPSSysImage()??>
imgPath: '${refpage.getPSSysImage().getImagePath()}',
iconCls: '${refpage.getPSSysImage().getCssClass()}'
</#if>
},
component: Vue.options.components['${filename(refpage.codeName)}'],
},
</#if>
</#list>
<#else>
<#if view.getPSApplication().getAllPSAppViews()??>
<#list view.getPSApplication().getAllPSAppViews() as refpage>
<#if refpage.getId() != view.getId()>
{
path: '${refpage.getPSAppModule().codeName?lower_case}_${refpage.codeName?lower_case}/:params?',
name: '${refpage.getPSAppModule().codeName?lower_case}_${refpage.codeName?lower_case}',
meta: {
caption: '${refpage.getCaption()}',
<#if refpage.getPSSysImage()??>
imgPath: '${refpage.getPSSysImage().getImagePath()}',
iconCls: '${refpage.getPSSysImage().getCssClass()}'
</#if>
},
component: Vue.options.components['${filename(refpage.codeName)}'],
},
</#if>
</#list>
</#if>
</#if>
]
}
]
});
${view.codeName}Router.beforeEach(function(to, from, next){
IBizStore.commit("addPage", to);
next();
});
var vueObj = new Vue({
el: '#app',
router: ${view.codeName}Router,
store: IBizStore,
data: {
modals: [],
isShowMask: false,
themeClass: '',
fontFamily: '',
iBizHttp: IBizHttp.getInstance(),
},
mounted: function() {
var iBizApp = IBizApp.getInstance();
if (iBizApp) {
this.themeClass = iBizApp.getThemeClass();
this.fontFamily = iBizApp.getFontFamily();
}
},
methods: {
'addModal': function (modal) {
this.modals.push(modal);
},
'closeModal': function (index) {
if (index != undefined && typeof index == 'number' && index >= 0) {
this.modals.splice(index, 1);
}
},
'setThemeClass': function(val) {
this.themeClass = val;
var iBizApp = IBizApp.getInstance();
if (iBizApp) {
iBizApp.setThemeClass(val);
}
},
'setFontFamily': function(val) {
this.fontFamily = val;
var iBizApp = IBizApp.getInstance();
if (iBizApp) {
iBizApp.setFontFamily(val);
}
}
}
});
</script>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>${view.getTitle()} -- ${app.getName()}</title>
<style type="text/css">
html, body, #app {
height: 100%;
margin: 0;
}
</style>
<link rel="icon" type="image/png" href="../../../packages/assets/img/logo.png?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}">
<link rel="stylesheet" type="text/css" href="../../../packages/assets/plugins/font-awesome/4.3.0/css/font-awesome.min.css?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"/>
<link rel="stylesheet" type="text/css" href="../../../packages/assets/plugins/iview/styles/iview.css?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"/>
<link rel="stylesheet" type="text/css" href="../../../packages/assets/plugins/element-ui/element-ui.css?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"/>
<!-- 日历插件 begin -->
<link rel="stylesheet" type="text/css" href="../../../packages/assets/plugins/fullcalendar-4.2.0/packages/core/main.min.css?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}">
<link rel="stylesheet" type="text/css" href="../../../packages/assets/plugins/fullcalendar-4.2.0/packages/daygrid/main.min.css?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}">
<!-- 日历插件 end -->
<link rel="stylesheet" type="text/css" href="../../../packages/ibizsys/dist/css/ibizsys.min.css?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"/>
<link rel="stylesheet" type="text/css" href="../../../expand-plugins/expand-plugins.css?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}">
<link rel="stylesheet" type="text/css" href="../../../theme/ibiz-theme.css?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}">
<link rel="stylesheet" type="text/css" href="../../../user/user.css?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}">
<script type="text/javascript" src="../../../packages/assets/dist/assets.min.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../../packages/assets/plugins/tinymce/tinymce.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../../packages/assets/plugins/tinymce/langs/zh_CN.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
</head>
<body>
<div id='app' v-loading="iBizHttp.isLoading">
<router-view :class="themeClass" :style="{fontFamily: fontFamily}"></router-view>
<template v-for="(modal, index) of modals">
<ibiz-modal :key="index" :params="modal" :index="index" @on-close="closeModal"></ibiz-modal>
</template>
</div>
<script type="text/javascript" src="../../../theme/ibiz-theme.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../../environments/ibiz-environment.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../../packages/ibizsys/dist/util/ibiz-hand-response-data.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../../packages/ibizsys/dist/ibizsys.min.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<#if view.getViewType() == 'APPINDEXVIEW' || view.getViewType() == 'APPPORTALVIEW'>
<script type="text/javascript" src="../../../packages/apputil/dist/user/user.component.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../../packages/apputil/dist/theme/theme.component.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
</#if>
<script type="text/javascript" src="../../${filename(view.getPSAppModule().codeName)}/${filename(view.codeName)}/${filename(view.codeName)}-allrefview.min.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../../expand-plugins/expand-plugins.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script type="text/javascript" src="../../../user/user.js?v=<#if view.isPSDEView()>${view.getPSDataEntity().getVersion()?c}_</#if>${view.getLastModifyTimeStr()?replace('-','')?replace(':','')?replace(' ','')}"></script>
<script>
var ${view.codeName}Router = new VueRouter({
routes: [
{
path: '',
redirect: {
name: '${filename(view.codeName)}'
}
},
{
path: '/${filename(view.codeName)}/:params?',
name: '${filename(view.codeName)}',
meta: {
caption: '${view.getCaption()}',
viewType: 'APPINDEX'
},
beforeEnter: function(to, from, next) {
var params = {};
if (to.params.params) {
Object.assign(params, IBizUtil.matrixURLToJson(to.params.params));
}
IBizAuthguard.getInstance().canActivate('/${app.getAppFolder()}/${view.getPSAppModule().codeName}/${view.codeName}.do', params).subscribe(function (state) {
next();
}, function (error) {
next();
});
},
component: Vue.options.components['${filename(view.codeName)}'],
children: [
<#if view.getPSApplication().isPubRefViewOnly()>
<#list sprefviews as refpage>
<#if refpage.getId() != view.getId()>
{
path: '${refpage.getPSAppModule().codeName?lower_case}_${refpage.codeName?lower_case}/:params?',
name: '${refpage.getPSAppModule().codeName?lower_case}_${refpage.codeName?lower_case}',
meta: {
caption: '${refpage.getCaption()}',
<#if refpage.getPSSysImage()??>
imgPath: '${refpage.getPSSysImage().getImagePath()}',
iconCls: '${refpage.getPSSysImage().getCssClass()}'
</#if>
},
component: Vue.options.components['${filename(refpage.codeName)}'],
},
</#if>
</#list>
<#else>
<#if view.getPSApplication().getAllPSAppViews()??>
<#list view.getPSApplication().getAllPSAppViews() as refpage>
<#if refpage.getId() != view.getId()>
{
path: '${refpage.getPSAppModule().codeName?lower_case}_${refpage.codeName?lower_case}/:params?',
name: '${refpage.getPSAppModule().codeName?lower_case}_${refpage.codeName?lower_case}',
meta: {
caption: '${refpage.getCaption()}',
<#if refpage.getPSSysImage()??>
imgPath: '${refpage.getPSSysImage().getImagePath()}',
iconCls: '${refpage.getPSSysImage().getCssClass()}'
</#if>
},
component: Vue.options.components['${filename(refpage.codeName)}'],
},
</#if>
</#list>
</#if>
</#if>
]
}
]
});
${view.codeName}Router.beforeEach(function(to, from, next){
IBizStore.commit("addPage", to);
next();
});
var vueObj = new Vue({
el: '#app',
router: ${view.codeName}Router,
store: IBizStore,
data: {
modals: [],
isShowMask: false,
themeClass: '',
fontFamily: '',
iBizHttp: IBizHttp.getInstance(),
},
mounted: function() {
var iBizApp = IBizApp.getInstance();
if (iBizApp) {
this.themeClass = iBizApp.getThemeClass();
this.fontFamily = iBizApp.getFontFamily();
}
},
methods: {
'addModal': function (modal) {
this.modals.push(modal);
},
'closeModal': function (index) {
if (index != undefined && typeof index == 'number' && index >= 0) {
this.modals.splice(index, 1);
}
},
'setThemeClass': function(val) {
this.themeClass = val;
var iBizApp = IBizApp.getInstance();
if (iBizApp) {
iBizApp.setThemeClass(val);
}
},
'setFontFamily': function(val) {
this.fontFamily = val;
var iBizApp = IBizApp.getInstance();
if (iBizApp) {
iBizApp.setFontFamily(val);
}
}
}
});
</script>
</body>
</html>
\ 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
...@@ -2,7 +2,7 @@ Vue.component('${filename(view.codeName)}', { ...@@ -2,7 +2,7 @@ Vue.component('${filename(view.codeName)}', {
template: ` template: `
<ibiz-card class="ibiz-expview ibiz-view" :dis-hover="true"> <ibiz-card class="ibiz-expview ibiz-view" :dis-hover="true">
<#ibizinclude>../../@MACRO/VIEW_CAPTION.ftl</#ibizinclude> <#SRFINC(VIEW_CAPTION)>
<row class="ibiz-expview-content"> <row class="ibiz-expview-content">
<tabs v-model="viewController.tabItem.name" @on-click="onTabChange" :animated="false"> <tabs v-model="viewController.tabItem.name" @on-click="onTabChange" :animated="false">
...@@ -11,13 +11,13 @@ Vue.component('${filename(view.codeName)}', { ...@@ -11,13 +11,13 @@ Vue.component('${filename(view.codeName)}', {
</template> </template>
</tabs> </tabs>
<div style="height: calc(100% - 52px)"> <div style="height: calc(100% - 52px)">
<router-view></router-view> <component :viewUsage="4" :key="viewController.tabItem.embedviewid" :is="viewController.tabItem.viewname" :params="{}"></component>
</div> </div>
</row> </row>
</ibiz-card> </ibiz-card>
`, `,
<#ibizinclude>../../@MACRO/VIEW_COMPONENT_PROPS.ftl</#ibizinclude> <#SRFINC(VIEW_COMPONENT_PROPS)>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude> <#SRFINC(LIFECYCLE_HOOK)>
methods: { methods: {
'onTabChange': function(name) { 'onTabChange': function(name) {
this.viewController.changeTab(name); this.viewController.changeTab(name);
......
<#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)}', { Vue.component('${filename(view.codeName)}', {
template: ` template: `
<ibiz-card class="ibiz-expview ibiz-view view-content" :dis-hover="true"> <ibiz-card class="ibiz-expview ibiz-view view-content" :dis-hover="true" :bordered="false">
<#SRFINC(VIEW_CAPTION)>
<#ibizinclude>../../@MACRO/VIEW_CAPTION.ftl</#ibizinclude>
<row class="ibiz-expview-content"> <row class="ibiz-expview-content">
<layout> <layout>
<#assign width = 240> <#assign width = 240>
...@@ -17,7 +15,7 @@ Vue.component('${filename(view.codeName)}', { ...@@ -17,7 +15,7 @@ Vue.component('${filename(view.codeName)}', {
</sider> </sider>
<content :style="{ width: ${expBar.name}.isCollapsed ? 'calc(100% - ${width}px)' : 'calc(100% - 41px)' }"> <content :style="{ width: ${expBar.name}.isCollapsed ? 'calc(100% - ${width}px)' : 'calc(100% - 41px)' }">
<router-view></router-view> <component :viewUsage="4" :key="${expBar.name}.selectItem.embedviewid" :is="${expBar.name}.selectItem.viewname" :params="${expBar.name}.selectItem.params"></component>
</content> </content>
</#if> </#if>
...@@ -26,8 +24,8 @@ Vue.component('${filename(view.codeName)}', { ...@@ -26,8 +24,8 @@ Vue.component('${filename(view.codeName)}', {
</row> </row>
</ibiz-card> </ibiz-card>
`, `,
<#ibizinclude>../../@MACRO/VIEW_COMPONENT_PROPS.ftl</#ibizinclude> <#SRFINC(VIEW_COMPONENT_PROPS)>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude> <#SRFINC(LIFECYCLE_HOOK)>
methods: { methods: {
}, },
watch: { watch: {
......
<#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)}', { Vue.component('${filename(view.codeName)}', {
template: ` template: `
<ibiz-card class="ibiz-expview ibiz-view view-content" :dis-hover="true" :bordered="false"> <ibiz-card class="ibiz-expview ibiz-view view-content" :dis-hover="true" :bordered="false">
<#SRFINC(VIEW_CAPTION_DATAINFO)>
<#ibizinclude>../../@MACRO/VIEW_CAPTION_DATAINFO.ftl</#ibizinclude>
<span slot="extra" v-show="viewController.isShowToolBar"> <span slot="extra" v-show="viewController.isShowToolBar">
<#if toolbar??> <#if toolbar??>
${toolbar.code} ${toolbar.code}
</#if> </#if>
</span> </span>
<row class="ibiz-expview-content"> <row class="ibiz-expview-content">
<layout :style="{ background: '#fff', height: '100%' }"> <layout>
<#assign width = 240> <#assign width = 240>
<#if (view.hasPSControl('drbar'))> <#if (view.hasPSControl('drbar'))>
<#assign drBar = view.getPSControl('drbar')/> <#assign drBar = view.getPSControl('drbar')/>
...@@ -24,13 +22,13 @@ Vue.component('${filename(view.codeName)}', { ...@@ -24,13 +22,13 @@ Vue.component('${filename(view.codeName)}', {
<content :style="{ width: ${drBar.name}.isCollapsed ? 'calc(100% - ${width}px)' : 'calc(100% - 41px)' }"> <content :style="{ width: ${drBar.name}.isCollapsed ? 'calc(100% - ${width}px)' : 'calc(100% - 41px)' }">
<#if form??> <#if form??>
<row v-show="drbar.selectItem.id == 'form'" style="height: 100%;"> <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> }"> <div :style="{ height: '100%', padding: '0 5px'<#if view.isHideEditForm()>, display: 'none'</#if> }">
${form.code} ${form.code}
</div> </div>
</row> </row>
</#if> </#if>
<div v-show="drbar.selectItem.id != 'form'" style="height: 100%;"> <div v-show="drbar.selectItem.id != 'form'" style="height: 100%;">
<router-view></router-view> <component :viewUsage="4" :key="drbar.selectItem.embedviewid" :is="drbar.selectItem.viewname" :params="drbar.selectItem.viewparam"></component>
</div> </div>
</content> </content>
...@@ -39,8 +37,8 @@ Vue.component('${filename(view.codeName)}', { ...@@ -39,8 +37,8 @@ Vue.component('${filename(view.codeName)}', {
</row> </row>
</ibiz-card> </ibiz-card>
`, `,
<#ibizinclude>../../@MACRO/VIEW_COMPONENT_PROPS.ftl</#ibizinclude> <#SRFINC(VIEW_COMPONENT_PROPS)>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude> <#SRFINC(LIFECYCLE_HOOK)>
methods: { methods: {
}, },
......
<#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)}', { Vue.component('${filename(view.codeName)}', {
template: ` template: `
<card class="ibiz-editview ibiz-view" :dis-hover="true"> <ibiz-card class="ibiz-editview ibiz-view" :dis-hover="true" :bordered="false">
<#SRFINC(VIEW_CAPTION_DATAINFO)>
<#ibizinclude>../../@MACRO/VIEW_CAPTION_DATAINFO.ftl</#ibizinclude>
<span slot="extra" v-show="viewController.isShowToolBar"> <span slot="extra" v-show="viewController.isShowToolBar">
<#if toolbar??> <#if toolbar??>
${toolbar.code} ${toolbar.code}
...@@ -26,7 +24,7 @@ Vue.component('${filename(view.codeName)}', { ...@@ -26,7 +24,7 @@ Vue.component('${filename(view.codeName)}', {
</#if> </#if>
<#else> <#else>
<tab-pane tab="${tabsname}" label="${dritem.text}" name="${dritem.getId()?lower_case}" :disabled="${drtab.name}.tabs.${dritem.getId()?lower_case}.disabled"> <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> <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> </tab-pane>
</#if> </#if>
</#list> </#list>
...@@ -37,10 +35,10 @@ Vue.component('${filename(view.codeName)}', { ...@@ -37,10 +35,10 @@ Vue.component('${filename(view.codeName)}', {
<#comment><!--结束:关系分页部件--></#comment> <#comment><!--结束:关系分页部件--></#comment>
</row> </row>
</card> </ibiz-card>
`, `,
<#ibizinclude>../../@MACRO/VIEW_COMPONENT_PROPS.ftl</#ibizinclude> <#SRFINC(VIEW_COMPONENT_PROPS)>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude> <#SRFINC(LIFECYCLE_HOOK)>
methods: { methods: {
}, },
......
<#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)}', { Vue.component('${filename(view.codeName)}', {
template: ` template: `
<ibiz-card class="ibiz-view ibiz-expview view-content" :dis-hover="true"> <ibiz-card class="ibiz-view ibiz-expview view-content" :dis-hover="true" :bordered="false">
<#SRFINC(VIEW_CAPTION)>
<#ibizinclude>../../@MACRO/VIEW_CAPTION.ftl</#ibizinclude>
<row class="ibiz-expview-content"> <row class="ibiz-expview-content">
<layout> <layout>
<#assign width = 240> <#assign width = 240>
<#if (view.hasPSControl('treeexpbar'))> <#if (view.hasPSControl('treeexpbar'))>
<#assign treeExpBar = view.getPSControl('treeexpbar')/> <#assign treeExpBar = view.getPSControl('treeexpbar')/>
<#if treeExpBar.getWidth() gt 0><#assign width = treeExpBar.getWidth()?c></#if> <#if treeExpBar.getWidth() gt 0><#assign width = treeExpBar.getWidth()?c></#if>
<#else>
<#assign width = 0>
</#if>
<sider class="ibiz-tree-exp-bar" :width="${width}"> <sider class="ibiz-tree-exp-bar" :width="${width}">
<#if treeexpbar??> <#if treeexpbar??>
${treeexpbar.code} ${treeexpbar.code}
</#if> </#if>
</sider> </sider>
</#if>
<content :style="{ width: 'calc(100% - ${width}px)' }"> <content :style="{ width: 'calc(100% - ${width}px)' }">
<router-view></router-view> <component :viewUsage="4" :key="${treeExpBar.name}.selectItem.embedviewid" :is="${treeExpBar.name}.selectItem.viewname" :params="${treeExpBar.name}.selectItem.params"></component>
</content> </content>
</layout> </layout>
</row> </row>
</ibiz-card> </ibiz-card>
`, `,
<#ibizinclude>../../@MACRO/VIEW_COMPONENT_PROPS.ftl</#ibizinclude> <#SRFINC(VIEW_COMPONENT_PROPS)>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude> <#SRFINC(LIFECYCLE_HOOK)>
methods: { methods: {
<#if treeexpbar??> <#if treeexpbar??>
${treeexpbar.code2} ${treeexpbar.code2}
......
<#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)}', { Vue.component('${filename(view.codeName)}', {
template: ` template: `
<ibiz-card class="ibiz-editview ibiz-view" :dis-hover="true" :bordered="false"> <ibiz-card class="ibiz-editview ibiz-view" :dis-hover="true" :bordered="false">
<#SRFINC(VIEW_CAPTION_DATAINFO)>
<#ibizinclude>../../@MACRO/VIEW_CAPTION_DATAINFO.ftl</#ibizinclude>
<span slot="extra" v-show="viewController.isShowToolBar"> <span slot="extra" v-show="viewController.isShowToolBar">
<#if toolbar??> <#if toolbar??>
${toolbar.code} ${toolbar.code}
...@@ -26,7 +24,7 @@ Vue.component('${filename(view.codeName)}', { ...@@ -26,7 +24,7 @@ Vue.component('${filename(view.codeName)}', {
</#if> </#if>
<#else> <#else>
<tab-pane tab="${tabsname}" label="${dritem.text}" name="${dritem.getId()?lower_case}" :disabled="${drtab.name}.tabs.${dritem.getId()?lower_case}.disabled"> <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> <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> </tab-pane>
</#if> </#if>
</#list> </#list>
...@@ -39,8 +37,8 @@ Vue.component('${filename(view.codeName)}', { ...@@ -39,8 +37,8 @@ Vue.component('${filename(view.codeName)}', {
</row> </row>
</ibiz-card> </ibiz-card>
`, `,
<#ibizinclude>../../@MACRO/VIEW_COMPONENT_PROPS.ftl</#ibizinclude> <#SRFINC(VIEW_COMPONENT_PROPS)>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude> <#SRFINC(LIFECYCLE_HOOK)>
methods: { methods: {
}, },
......
<#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)}', { Vue.component('${filename(view.codeName)}', {
template: ` template: `
<ibiz-card class="ibiz-expview ibiz-view view-content" :dis-hover="true" :bordered="false"> <ibiz-card class="ibiz-expview ibiz-view view-content" :dis-hover="true" :bordered="false">
<#SRFINC(VIEW_CAPTION_DATAINFO)>
<#ibizinclude>../../@MACRO/VIEW_CAPTION_DATAINFO.ftl</#ibizinclude>
<span slot="extra" v-show="viewController.isShowToolBar"> <span slot="extra" v-show="viewController.isShowToolBar">
<#if toolbar??> <#if toolbar??>
${toolbar.code} ${toolbar.code}
</#if> </#if>
</span> </span>
<row class="ibiz-expview-content"> <row class="ibiz-expview-content">
<layout>
<#assign width = 240> <#assign width = 240>
<#if (view.hasPSControl('drbar'))> <#if (view.hasPSControl('drbar'))>
<layout>
<#assign drBar = view.getPSControl('drbar')/> <#assign drBar = view.getPSControl('drbar')/>
<#if drBar.getWidth() gt 0><#assign width = drBar.getWidth()?c></#if> <#if drBar.getWidth() gt 0><#assign width = drBar.getWidth()?c></#if>
<sider class="ibiz-wf-exp-bar" :width="${drBar.name}.isCollapsed ? ${width} : 41"> <sider class="ibiz-wf-exp-bar" :width="${drBar.name}.isCollapsed ? ${width} : 41">
...@@ -30,19 +28,17 @@ Vue.component('${filename(view.codeName)}', { ...@@ -30,19 +28,17 @@ Vue.component('${filename(view.codeName)}', {
</row> </row>
</#if> </#if>
<div v-show="drbar.selectItem.id != 'form'" style="height: 100%;"> <div v-show="drbar.selectItem.id != 'form'" style="height: 100%;">
<router-view></router-view> <component :viewUsage="4" :key="drbar.selectItem.embedviewid" :is="drbar.selectItem.viewname" :params="drbar.selectItem.viewparam"></component>
</div> </div>
</content> </content>
</layout>
<#elseif form??>
${form.code}
</#if> </#if>
</layout>
</row> </row>
</ibiz-card> </ibiz-card>
`, `,
<#ibizinclude>../../@MACRO/VIEW_COMPONENT_PROPS.ftl</#ibizinclude> <#SRFINC(VIEW_COMPONENT_PROPS)>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude> <#SRFINC(LIFECYCLE_HOOK)>
methods: { methods: {
}, },
......
<#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> <#ibizinclude>../../@MACRO/SP_DEBUG_VIEW_HTML.ftl</#ibizinclude>
\ No newline at end of file \ 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
<#ibizinclude>../../@MACRO/VIEW_HTML.ftl</#ibizinclude> <#ibizinclude>../../@MACRO/SP_VIEW_HTML.ftl</#ibizinclude>
\ No newline at end of file \ No newline at end of file
Vue.component('${filename(view.codeName)}_modalview', {
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;">
</div>
</content>
</layout>
</div>
`,
<#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> ${filename(view.codeName)};
\ No newline at end of file ${filename(view.getPSAppModule().codeName)}/${filename(view.codeName)}/;
${filename(view.getPSAppModule().codeName)}/${filename(view.codeName)}/;
<#if view.getPSApplication().isPubRefViewOnly()>
<#list sprefviews as refview>
${filename(refview.getPSAppModule().codeName)}/${filename(refview.codeName)}/${filename(refview.codeName)}.base.js,
${filename(refview.getPSAppModule().codeName)}/${filename(refview.codeName)}/${filename(refview.codeName)}.js,
${filename(refview.getPSAppModule().codeName)}/${filename(refview.codeName)}/${filename(refview.codeName)}.component.js,
${filename(refview.getPSAppModule().codeName)}/${filename(refview.codeName)}/${filename(refview.codeName)}_embedded.component.js,
${filename(refview.getPSAppModule().codeName)}/${filename(refview.codeName)}/${filename(refview.codeName)}_modal.component.js,
</#list>
<#else>
<#if view.getPSApplication().getAllPSAppViews()??>
<#list view.getPSApplication().getAllPSAppViews() as refview>
${filename(refview.getPSAppModule().codeName)}/${filename(refview.codeName)}/${filename(refview.codeName)}.base.js,
${filename(refview.getPSAppModule().codeName)}/${filename(refview.codeName)}/${filename(refview.codeName)}.js,
${filename(refview.getPSAppModule().codeName)}/${filename(refview.codeName)}/${filename(refview.codeName)}.component.js,
${filename(refview.getPSAppModule().codeName)}/${filename(refview.codeName)}/${filename(refview.codeName)}_embedded.component.js,
${filename(refview.getPSAppModule().codeName)}/${filename(refview.codeName)}/${filename(refview.codeName)}_modal.component.js,
</#list>
</#if>
</#if>
\ No newline at end of file
...@@ -28,28 +28,46 @@ Vue.component('${filename(view.codeName)}', { ...@@ -28,28 +28,46 @@ Vue.component('${filename(view.codeName)}', {
<layout :class="{collapse: !${appmenu.obj.name}.isCollapsed}"> <layout :class="{collapse: !${appmenu.obj.name}.isCollapsed}">
<sider :width="${appmenu.obj.name}.width" :default-collapsed="!${appmenu.obj.name}.isCollapsed"> <sider :width="${appmenu.obj.name}.width" :default-collapsed="!${appmenu.obj.name}.isCollapsed">
<div class="sider-top"> <div class="sider-top">
<a><Icon type="md-menu" @click="${appmenu.obj.name}.collapseChange()"/></a> <a><Icon type="md-menu" @click="${appmenu.obj.name}.collapseChange()"></a>
</div> </div>
${appmenu.code} ${appmenu.code}
</sider> </sider>
<content> <content>
<router-view></router-view> <ibiz-page-tag ref="ibizPageTags" @change="tagChange"></ibiz-page-tag>
<div style="height: calc(100% - 23px);">
<ibiz-keep-alive :routerList="$store.state.historyPathList">
<router-view :key="$route.fullPath"></router-view>
</ibiz-keep-alive>
</div>
</content> </content>
</layout> </layout>
<#else> <#else>
<layout> <layout>
<content> <content>
<router-view></router-view> <ibiz-page-tag ref="ibizPageTags" @change="tagChange"></ibiz-page-tag>
<div style="height: calc(100% - 38px);">
<ibiz-keep-alive :routerList="$store.state.historyPathList">
<router-view :key="$route.fullPath"></router-view>
</ibiz-keep-alive>
</div>
</content> </content>
</layout> </layout>
</#if> </#if>
</div> </div>
`, `,
<#ibizinclude>../../@MACRO/VIEW_COMPONENT_PROPS.ftl</#ibizinclude> <#SRFINC(VIEW_COMPONENT_PROPS)>
<#ibizinclude>../../@MACRO/LIFECYCLE_HOOK.ftl</#ibizinclude> <#SRFINC(LIFECYCLE_HOOK)>
mounted: function() {
Vue.prototype.$ibizPageTags = this.$refs["ibizPageTags"];
},
watch: { watch: {
'params': function (val) { 'params': function (val) {
this.viewController.fillViewParams(val); this.viewController.fillViewParams(val);
} }
},
methods: {
'tagChange': function(data) {
}
} }
}); });
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册