提交 20a0ffe1 编写于 作者: ibizdev's avatar ibizdev

tony001 发布系统代码 [后台服务,演示应用]

上级 8fb5a7ae
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
<template> <template>
<div class="app-view-layout" style="height: '100%'; width: '100%';'display': 'flex'; 'flex-direction': 'column';"> <div class="app-view-layout" style="height: '100%'; width: '100%';'display': 'flex'; 'flex-direction': 'column';">
<app-scroll-container> <app-scroll-container :name="container_scroll1" :layoutModelDetails="layoutModelDetails">
<template #container_scroll_main1> <template #container_scroll_main1>
<app-scroll-container> <app-scroll-container :name="container_scroll_main1" :layoutModelDetails="layoutModelDetails">
<template #nav_tabs1> <template #nav_tabs1>
<span>部件占位</span> <span>部件占位</span>
</template> </template>
...@@ -14,14 +14,14 @@ ...@@ -14,14 +14,14 @@
</app-scroll-container> </app-scroll-container>
</template> </template>
<template #container_scroll_left1> <template #container_scroll_left1>
<app-scroll-container> <app-scroll-container :name="container_scroll_left1" :layoutModelDetails="layoutModelDetails">
<template #appmenu1> <template #appmenu1>
<span>部件占位</span> <span>部件占位</span>
</template> </template>
</app-scroll-container> </app-scroll-container>
</template> </template>
<template #container_scroll_header1> <template #container_scroll_header1>
<app-scroll-container> <app-scroll-container :name="container_scroll_header1" :layoutModelDetails="layoutModelDetails">
<template #container_grid1> <template #container_grid1>
</template> </template>
...@@ -209,247 +209,78 @@ export default class IndexBase extends Vue { ...@@ -209,247 +209,78 @@ export default class IndexBase extends Vue {
* @memberof IndexBase * @memberof IndexBase
*/ */
public layoutModelDetails:any = { public layoutModelDetails:any = {
nav_tabs1:new PanelCtrlPosModel({ name: 'nav_tabs1', nav_tabs1:new PanelCtrlPosModel({ name: 'nav_tabs1',caption: '标签页导航栏',itemType: 'CTRLPOS',visible: true,
caption: '标签页导航栏', disabled: false,layout:'BORDER',
itemType: 'CTRLPOS', layoutPos:'CENTER',layoutHeight:'70',heightMode:'PX',
visible: true, layoutWidth:'',widthMode:'',spacingBottom:'',spacingLeft:'',
disabled: false, spacingRight:'',spacingTop:'',hAlignSelf:'',vAlignSelf:'',panel: this }),
layout:'BORDER', nav_pos1:new PanelCtrlPosModel({ name: 'nav_pos1',caption: '导航区占位',itemType: 'CTRLPOS',visible: true,
layoutPos:'CENTER', disabled: false,layout:'BORDER',
layoutHeight:'70', layoutPos:'CENTER',layoutHeight:'',heightMode:'',
heightMode:'PX', layoutWidth:'',widthMode:'',spacingBottom:'',spacingLeft:'',
layoutWidth:'', spacingRight:'',spacingTop:'',hAlignSelf:'',vAlignSelf:'',panel: this }),
widthMode:'', container_scroll_main1:new PanelContainerModel({ name: 'container_scroll_main1',caption: '面板容器',itemType: 'CONTAINER',visible: true,
spacingBottom:'', disabled: false,layout:'BORDER',
spacingLeft:'', layoutPos:'CENTER',layoutHeight:'',heightMode:'',
spacingRight:'', layoutWidth:'80',widthMode:'PERCENTAGE',spacingBottom:'',spacingLeft:'',
spacingTop:'', spacingRight:'',spacingTop:'',hAlignSelf:'',vAlignSelf:'',panel: this,
hAlignSelf:'',
vAlignSelf:'',
panel: this }),
nav_pos1:new PanelCtrlPosModel({ name: 'nav_pos1',
caption: '导航区占位',
itemType: 'CTRLPOS',
visible: true,
disabled: false,
layout:'BORDER',
layoutPos:'CENTER',
layoutHeight:'',
heightMode:'',
layoutWidth:'',
widthMode:'',
spacingBottom:'',
spacingLeft:'',
spacingRight:'',
spacingTop:'',
hAlignSelf:'',
vAlignSelf:'',
panel: this }),
container_scroll_main1:new PanelContainerModel({ name: 'container_scroll_main1',
caption: '面板容器',
itemType: 'CONTAINER',
visible: true,
disabled: false,
layout:'BORDER',
layoutPos:'CENTER',
layoutHeight:'',
heightMode:'',
layoutWidth:'80',
widthMode:'PERCENTAGE',
spacingBottom:'',
spacingLeft:'',
spacingRight:'',
spacingTop:'',
hAlignSelf:'',
vAlignSelf:'',
panel: this,
details:['nav_tabs1','nav_pos1']}), details:['nav_tabs1','nav_pos1']}),
appmenu1:new PanelCtrlPosModel({ name: 'appmenu1', appmenu1:new PanelCtrlPosModel({ name: 'appmenu1',caption: '首页菜单',itemType: 'CTRLPOS',visible: true,
caption: '首页菜单', disabled: false,layout:'BORDER',
itemType: 'CTRLPOS', layoutPos:'CENTER',layoutHeight:'',heightMode:'',
visible: true, layoutWidth:'',widthMode:'',spacingBottom:'',spacingLeft:'',
disabled: false, spacingRight:'',spacingTop:'',hAlignSelf:'',vAlignSelf:'',panel: this }),
layout:'BORDER', container_scroll_left1:new PanelContainerModel({ name: 'container_scroll_left1',caption: '面板容器',itemType: 'CONTAINER',visible: true,
layoutPos:'CENTER', disabled: false,layout:'BORDER',
layoutHeight:'', layoutPos:'WEST',layoutHeight:'',heightMode:'',
heightMode:'', layoutWidth:'20',widthMode:'PERCENTAGE',spacingBottom:'',spacingLeft:'',
layoutWidth:'', spacingRight:'',spacingTop:'',hAlignSelf:'',vAlignSelf:'',panel: this,
widthMode:'',
spacingBottom:'',
spacingLeft:'',
spacingRight:'',
spacingTop:'',
hAlignSelf:'',
vAlignSelf:'',
panel: this }),
container_scroll_left1:new PanelContainerModel({ name: 'container_scroll_left1',
caption: '面板容器',
itemType: 'CONTAINER',
visible: true,
disabled: false,
layout:'BORDER',
layoutPos:'WEST',
layoutHeight:'',
heightMode:'',
layoutWidth:'20',
widthMode:'PERCENTAGE',
spacingBottom:'',
spacingLeft:'',
spacingRight:'',
spacingTop:'',
hAlignSelf:'',
vAlignSelf:'',
panel: this,
details:['appmenu1']}), details:['appmenu1']}),
app_apptitle:new PanelFieldModel({ name: 'app_apptitle', app_apptitle:new PanelFieldModel({ name: 'app_apptitle',caption: '应用标题',itemType: 'FIELD',visible: true,
caption: '应用标题', disabled: false,layout:'SIMPLEFLEX',
itemType: 'FIELD', layoutPos:'',layoutHeight:'',heightMode:'',
visible: true, layoutWidth:'',widthMode:'',spacingBottom:'',spacingLeft:'',
disabled: false, spacingRight:'',spacingTop:'',hAlignSelf:'',vAlignSelf:'',panel: this }),
layout:'SIMPLEFLEX', container1:new PanelContainerModel({ name: 'container1',caption: '面板容器',itemType: 'CONTAINER',visible: true,
layoutPos:'', disabled: false,layout:'SIMPLEFLEX',
layoutHeight:'', layoutPos:'',layoutHeight:'',heightMode:'',
heightMode:'', layoutWidth:'',widthMode:'',spacingBottom:'',spacingLeft:'',
layoutWidth:'', spacingRight:'',spacingTop:'',hAlignSelf:'',vAlignSelf:'',panel: this,
widthMode:'',
spacingBottom:'',
spacingLeft:'',
spacingRight:'',
spacingTop:'',
hAlignSelf:'',
vAlignSelf:'',
panel: this }),
container1:new PanelContainerModel({ name: 'container1',
caption: '面板容器',
itemType: 'CONTAINER',
visible: true,
disabled: false,
layout:'SIMPLEFLEX',
layoutPos:'',
layoutHeight:'',
heightMode:'',
layoutWidth:'',
widthMode:'',
spacingBottom:'',
spacingLeft:'',
spacingRight:'',
spacingTop:'',
hAlignSelf:'',
vAlignSelf:'',
panel: this,
details:['app_apptitle']}), details:['app_apptitle']}),
container2:new PanelContainerModel({ name: 'container2', container2:new PanelContainerModel({ name: 'container2',caption: '面板容器',itemType: 'CONTAINER',visible: true,
caption: '面板容器', disabled: false,layout:'SIMPLEFLEX',
itemType: 'CONTAINER', layoutPos:'',layoutHeight:'',heightMode:'',
visible: true, layoutWidth:'',widthMode:'',spacingBottom:'',spacingLeft:'',
disabled: false, spacingRight:'',spacingTop:'',hAlignSelf:'',vAlignSelf:'',panel: this,
layout:'SIMPLEFLEX',
layoutPos:'',
layoutHeight:'',
heightMode:'',
layoutWidth:'',
widthMode:'',
spacingBottom:'',
spacingLeft:'',
spacingRight:'',
spacingTop:'',
hAlignSelf:'',
vAlignSelf:'',
panel: this,
details:[]}), details:[]}),
auth_userinfo1:new PanelCtrlPosModel({ name: 'auth_userinfo1', auth_userinfo1:new PanelCtrlPosModel({ name: 'auth_userinfo1',caption: '用户信息',itemType: 'CTRLPOS',visible: true,
caption: '用户信息', disabled: false,layout:'SIMPLEFLEX',
itemType: 'CTRLPOS', layoutPos:'',layoutHeight:'',heightMode:'',
visible: true, layoutWidth:'',widthMode:'',spacingBottom:'',spacingLeft:'',
disabled: false, spacingRight:'',spacingTop:'',hAlignSelf:'',vAlignSelf:'',panel: this }),
layout:'SIMPLEFLEX', container3:new PanelContainerModel({ name: 'container3',caption: '面板容器',itemType: 'CONTAINER',visible: true,
layoutPos:'', disabled: false,layout:'SIMPLEFLEX',
layoutHeight:'', layoutPos:'',layoutHeight:'',heightMode:'',
heightMode:'', layoutWidth:'',widthMode:'',spacingBottom:'',spacingLeft:'',
layoutWidth:'', spacingRight:'',spacingTop:'',hAlignSelf:'',vAlignSelf:'',panel: this,
widthMode:'',
spacingBottom:'',
spacingLeft:'',
spacingRight:'',
spacingTop:'',
hAlignSelf:'',
vAlignSelf:'',
panel: this }),
container3:new PanelContainerModel({ name: 'container3',
caption: '面板容器',
itemType: 'CONTAINER',
visible: true,
disabled: false,
layout:'SIMPLEFLEX',
layoutPos:'',
layoutHeight:'',
heightMode:'',
layoutWidth:'',
widthMode:'',
spacingBottom:'',
spacingLeft:'',
spacingRight:'',
spacingTop:'',
hAlignSelf:'',
vAlignSelf:'',
panel: this,
details:['auth_userinfo1']}), details:['auth_userinfo1']}),
container_grid1:new PanelContainerModel({ name: 'container_grid1', container_grid1:new PanelContainerModel({ name: 'container_grid1',caption: '栅格容器',itemType: 'CONTAINER',visible: true,
caption: '栅格容器', disabled: false,layout:'BORDER',
itemType: 'CONTAINER', layoutPos:'CENTER',layoutHeight:'',heightMode:'',
visible: true, layoutWidth:'',widthMode:'',spacingBottom:'',spacingLeft:'',
disabled: false, spacingRight:'',spacingTop:'',hAlignSelf:'',vAlignSelf:'',panel: this,
layout:'BORDER',
layoutPos:'CENTER',
layoutHeight:'',
heightMode:'',
layoutWidth:'',
widthMode:'',
spacingBottom:'',
spacingLeft:'',
spacingRight:'',
spacingTop:'',
hAlignSelf:'',
vAlignSelf:'',
panel: this,
details:['container1','container2','container3']}), details:['container1','container2','container3']}),
container_scroll_header1:new PanelContainerModel({ name: 'container_scroll_header1', container_scroll_header1:new PanelContainerModel({ name: 'container_scroll_header1',caption: '面板容器',itemType: 'CONTAINER',visible: true,
caption: '面板容器', disabled: false,layout:'BORDER',
itemType: 'CONTAINER', layoutPos:'NORTH',layoutHeight:'80',heightMode:'PX',
visible: true, layoutWidth:'',widthMode:'',spacingBottom:'',spacingLeft:'',
disabled: false, spacingRight:'',spacingTop:'',hAlignSelf:'',vAlignSelf:'',panel: this,
layout:'BORDER',
layoutPos:'NORTH',
layoutHeight:'80',
heightMode:'PX',
layoutWidth:'',
widthMode:'',
spacingBottom:'',
spacingLeft:'',
spacingRight:'',
spacingTop:'',
hAlignSelf:'',
vAlignSelf:'',
panel: this,
details:['container_grid1']}), details:['container_grid1']}),
container_scroll1:new PanelContainerModel({ name: 'container_scroll1', container_scroll1:new PanelContainerModel({ name: 'container_scroll1',caption: '滚动条容器',itemType: 'CONTAINER',visible: true,
caption: '滚动条容器', disabled: false,layout:'FLEX',
itemType: 'CONTAINER', layoutPos:'',layoutHeight:'',heightMode:'',
visible: true, layoutWidth:'',widthMode:'',spacingBottom:'',spacingLeft:'',
disabled: false, spacingRight:'',spacingTop:'',hAlignSelf:'',vAlignSelf:'',panel: this,
layout:'FLEX',
layoutPos:'',
layoutHeight:'',
heightMode:'',
layoutWidth:'',
widthMode:'',
spacingBottom:'',
spacingLeft:'',
spacingRight:'',
spacingTop:'',
hAlignSelf:'',
vAlignSelf:'',
panel: this,
details:['container_scroll_main1','container_scroll_left1','container_scroll_header1']}) details:['container_scroll_main1','container_scroll_left1','container_scroll_header1']})
}; };
......
...@@ -663,7 +663,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -663,7 +663,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr3GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr3GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册