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

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

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