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

update:调整视图发布部件空格

上级 a5d97ef8
{{~#eq ctrl.controlType "FORM"}}{{> @macro/front-end/views/view-control/view-form/view-control-form.hbs}}{{/eq}}
{{~#eq ctrl.controlType "SEARCHFORM"}}{{> @macro/front-end/views/view-control/view-search-form/view-control-search-form.hbs}}{{/eq}}
{{~#eq ctrl.controlType "GRID"}}{{> @macro/front-end/views/view-control/view-grid/view-control-grid.hbs}}{{/eq}}
{{~#eq ctrl.controlType "APPMENU"}}{{> @macro/front-end/views/view-control/view-menu/view-control-menu.hbs}}{{/eq}}
{{~#eq ctrl.controlType "PICKUPVIEWPANEL"}}{{> @macro/front-end/views/view-control/view-pickup-panel/view-pickup-panel.hbs}}{{/eq}}
{{~#eq ctrl.controlType "TREEVIEW"}}{{> @macro/front-end/views/view-control/view-tree/view-control-tree.hbs}}{{/eq}}
\ No newline at end of file
{{#eq ctrl.controlType "FORM"}}{{> @macro/front-end/views/view-control/view-form/view-control-form.hbs}}{{/eq~}}
{{#eq ctrl.controlType "SEARCHFORM"}}{{> @macro/front-end/views/view-control/view-search-form/view-control-search-form.hbs}}{{/eq~}}
{{#eq ctrl.controlType "GRID"}}{{> @macro/front-end/views/view-control/view-grid/view-control-grid.hbs}}{{/eq~}}
{{#eq ctrl.controlType "APPMENU"}}{{> @macro/front-end/views/view-control/view-menu/view-control-menu.hbs}}{{/eq~}}
{{#eq ctrl.controlType "PICKUPVIEWPANEL"}}{{> @macro/front-end/views/view-control/view-pickup-panel/view-pickup-panel.hbs}}{{/eq~}}
{{#eq ctrl.controlType "TREEVIEW"}}{{> @macro/front-end/views/view-control/view-tree/view-control-tree.hbs}}{{/eq~}}
\ No newline at end of file
......@@ -65,6 +65,7 @@
{{/page.viewToolBarItems}}
{{#each page.ctrls as | ctrl |}}
{{#if (neq ctrl.controlType "TOOLBAR")}}
{{> @macro/front-end/views/include-view-control type=ctrl.controlType ctrl=ctrl}}{{#unless @last}},{{/unless}}
{{> @macro/front-end/views/include-view-control type=ctrl.controlType ctrl=ctrl}}
{{/if}}
{{/each}}
\ No newline at end of file
{{ctrl.name}}:{
{{ctrl.name}}:{
action:{
loadAction: '{{ctrl.getPSControlAction.psAppDEMethod.codeName}}',
removeAction: '{{ctrl.removePSControlAction.psAppDEMethod.codeName}}',
......@@ -6,4 +6,4 @@
loadDraftAction: '{{ctrl.getDraftPSControlAction.psAppDEMethod.codeName}}',
createAction: '{{ctrl.createPSControlAction.psAppDEMethod.codeName}}'
}
}
\ No newline at end of file
},
\ No newline at end of file
{{ctrl.name}}:{
{{ctrl.name}}:{
action:{
loadAction: '{{ctrl.getPSControlAction.psAppDEMethod.codeName}}',
removeAction: '{{ctrl.removePSControlAction.psAppDEMethod.codeName}}',
......@@ -7,4 +7,4 @@
createAction: '{{ctrl.createPSControlAction.psAppDEMethod.codeName}}',
fetchAction:'{{ctrl.fetchPSControlAction.psAppDEMethod.codeName}}'
}
}
\ No newline at end of file
},
\ No newline at end of file
{{ctrl.name}}:{
{{ctrl.name}}:{
loadAction: '{{ctrl.getPSControlAction.psAppDEMethod.codeName}}'
}
\ No newline at end of file
},
\ No newline at end of file
{{ctrl.name}}:{
{{ctrl.name}}:{
action:{
loadAction: '{{ctrl.getPSControlAction.psAppDEMethod.codeName}}',
removeAction: '{{ctrl.removePSControlAction.psAppDEMethod.codeName}}',
......@@ -7,4 +7,4 @@
createAction: '{{ctrl.createPSControlAction.psAppDEMethod.codeName}}',
fetchAction:'{{ctrl.fetchPSControlAction.psAppDEMethod.codeName}}'
}
}
\ No newline at end of file
},
\ No newline at end of file
{{camelCase ctrl.name}}:{
{{camelCase ctrl.name}}:{
action:{
{{#each ctrl.psControlHandler.psHandlerActions as | action |}}
{{#eq action.name 'search'}}
......@@ -12,4 +12,4 @@
{{/eq}}
{{/each}}
}
}
\ No newline at end of file
},
\ No newline at end of file
{{ctrl.name}}: {
{{ctrl.name}}: {
action:{
loadAction: '{{ctrl.getPSControlAction.psAppDEMethod.codeName}}',
removeAction: '{{ctrl.removePSControlAction.psAppDEMethod.codeName}}',
......@@ -7,4 +7,4 @@
createAction: '{{ctrl.createPSControlAction.psAppDEMethod.codeName}}',
fetchAction:'{{ctrl.fetchPSControlAction.psAppDEMethod.codeName}}'
}
}
\ No newline at end of file
},
\ No newline at end of file
......@@ -4,7 +4,7 @@
{{#if portlet.caption}}
title="{{portlet.caption}}"
{{/if}}
:showCaption="{{portlet.isShowTitleBar}}"
:showCaption="{{#if portlet.isShowTitleBar}}true{{else}}false{{/if}}"
{{#if portlet.psSysImage}}
{{#if portlet.psSysImage.imagePath}}imgPath="{{portlet.psSysImage.imagePath}}"{{else if portlet.psSysImage.cssClass}}iconClass="{{portlet.psSysImage.cssClass}}"{{/if}}
{{/if}}
......
......@@ -4,7 +4,7 @@
{{#if portlet.caption}}
title="{{portlet.caption}}"
{{/if}}
:showCaption="{{portlet.isShowTitleBar}}"
:showCaption="{{#if portlet.isShowTitleBar}}true{{else}}false{{/if}}"
:layoutOpts="{{> @macro/front-end/common/layoutPos.hbs layout=portlet.psLayout layoutPos=portlet.psLayoutPos}}"
{{#if portlet.psSysImage}}
{{#if portlet.psSysImage.imagePath}}imgPath="{{portlet.psSysImage.imagePath}}"{{else if portlet.psSysImage.cssClass}}iconClass="{{portlet.psSysImage.cssClass}}"{{/if}}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册