提交 22d0cbe7 编写于 作者: ibizdev's avatar ibizdev

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

上级 9569383d
<template> <template>
<div class="app-view-layout ibizbookusr2-edit-view-layout" v-loading="isLayoutLoadding" :style="{height: '100%', width: '100%','display': 'flex', 'flex-direction': 'column'}"> <div class="app-view-layout ibizbookusr2-edit-view-layout" v-loading="isLayoutLoadding" :style="{height: '100%', width: '100%','display': 'flex', 'flex-direction': 'column'}">
<template v-show="!isLayoutLoadding"> <template v-show="!isLayoutLoadding">
<app-standard-container name="page_container" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails"> <app-scroll-container name="container_scroll1" :layoutModelDetails="layoutModelDetails">
<template #container_grid1> <template #container_scroll_main1>
<app-simpleflex-container name="container_grid1" :layoutModelDetails="layoutModelDetails"> <app-scroll-container name="container_scroll_main1" :layoutModelDetails="layoutModelDetails">
<template #container1> <template #form>
<app-simpleflex-container name="container1" :layoutModelDetails="layoutModelDetails"> <app-ctrl-pos name="form" :layoutModelDetails="layoutModelDetails">
<view_form
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:viewCtx="viewCtx"
:autosave="false"
:viewtag="viewtag"
:showBusyIndicator="true"
updateAction="Update"
removeAction="Remove"
loaddraftAction="GetDraft"
loadAction="Get"
createAction="Create"
WFSubmitAction=""
WFStartAction=""
style=''
name="form"
ref='form'
@load="form_load($event)"
@save="form_save($event)"
@remove="form_remove($event)"
@closeview="closeView($event)">
</view_form>
</app-ctrl-pos>
</template>
</app-scroll-container>
</template>
<template #container_scroll_header1>
<app-scroll-container name="container_scroll_header1" :layoutModelDetails="layoutModelDetails">
<template #container_grid2>
<app-simpleflex-container name="container_grid2" :layoutModelDetails="layoutModelDetails">
<template #container2>
<app-simpleflex-container name="container2" :layoutModelDetails="layoutModelDetails">
<template #view_pagecaption> <template #view_pagecaption>
<app-preset-caption name="view_pagecaption" :layoutModelDetails="layoutModelDetails"> 实体数据选择视图 </app-preset-caption> <app-preset-caption name="view_pagecaption" :layoutModelDetails="layoutModelDetails"> 实体数据选择视图 </app-preset-caption>
</template> </template>
</app-simpleflex-container> </app-simpleflex-container>
</template> </template>
<template #container_2> <template #container4>
<app-simpleflex-container name="container_2" :layoutModelDetails="layoutModelDetails"> <app-simpleflex-container name="container4" :layoutModelDetails="layoutModelDetails">
<template #toolbar> <template #toolbar>
<app-ctrl-pos name="toolbar" :layoutModelDetails="layoutModelDetails"> <app-ctrl-pos name="toolbar" :layoutModelDetails="layoutModelDetails">
<div class='toolbar-container'> <div class='toolbar-container'>
...@@ -44,38 +77,9 @@ ...@@ -44,38 +77,9 @@
</template> </template>
</app-simpleflex-container> </app-simpleflex-container>
</template> </template>
<template #container3> </app-scroll-container>
<app-standard-container name="container3" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #form>
<app-ctrl-pos name="form" :layoutModelDetails="layoutModelDetails">
<view_form
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:viewCtx="viewCtx"
:autosave="false"
:viewtag="viewtag"
:showBusyIndicator="true"
updateAction="Update"
removeAction="Remove"
loaddraftAction="GetDraft"
loadAction="Get"
createAction="Create"
WFSubmitAction=""
WFStartAction=""
style=''
name="form"
ref='form'
@load="form_load($event)"
@save="form_save($event)"
@remove="form_remove($event)"
@closeview="closeView($event)">
</view_form>
</app-ctrl-pos>
</template>
</app-standard-container>
</template> </template>
</app-standard-container> </app-scroll-container>
</template> </template>
</div> </div>
</template> </template>
...@@ -330,7 +334,7 @@ export default class IBIZBOOKUsr2EditView_layoutBase extends Vue { ...@@ -330,7 +334,7 @@ export default class IBIZBOOKUsr2EditView_layoutBase extends Vue {
* @public * @public
* @memberof IBIZBOOKUsr2EditView_layoutBase * @memberof IBIZBOOKUsr2EditView_layoutBase
*/ */
public rootLayoutDetailNames: string[] = [ 'page_container' ]; public rootLayoutDetailNames: string[] = [ 'container_scroll1' ];
/** /**
* 视图布局面板项模型对象 * 视图布局面板项模型对象
...@@ -339,14 +343,15 @@ export default class IBIZBOOKUsr2EditView_layoutBase extends Vue { ...@@ -339,14 +343,15 @@ export default class IBIZBOOKUsr2EditView_layoutBase extends Vue {
* @memberof IBIZBOOKUsr2EditView_layoutBase * @memberof IBIZBOOKUsr2EditView_layoutBase
*/ */
public layoutItems:any = { public layoutItems:any = {
view_pagecaption:{ name: 'view_pagecaption', type: 'VIEWLAYOUT', caption: '页面标题', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'FULL', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'LEFT', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , fieldState: '0', predefinedType: 'VIEW_PAGECAPTION', renderMode: 'HEADING1', dataItemName:'', wrapMode:'', vAlign:'', hAlign:'', }, form:{ name: 'form', type: 'VIEWLAYOUT', caption: 'FORM', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'CENTER', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'FULL', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll_main1', panel: this },
container1:{ name: 'container1', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:6, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid1', panel: this , details:['view_pagecaption'] , dataRegionType: 'INHERIT' }, container_scroll_main1:{ name: 'container_scroll_main1', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: true, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll1', panel: this , details:['form'] , dataRegionType: 'INHERIT' },
toolbar:{ name: 'toolbar', type: 'VIEWLAYOUT', caption: 'TOOLBAR', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'RIGHT', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_2', panel: this }, view_pagecaption:{ name: 'view_pagecaption', type: 'VIEWLAYOUT', caption: '页面标题', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'LEFT', vAlignSelf:'MIDDLE', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container2', panel: this , fieldState: '0', predefinedType: 'VIEW_PAGECAPTION', renderMode: 'HEADING1', dataItemName:'', wrapMode:'', vAlign:'', hAlign:'', },
container_2:{ name: 'container_2', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid1', panel: this , details:['toolbar'] , dataRegionType: 'INHERIT' }, container2:{ name: 'container2', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:3, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid2', panel: this , details:['view_pagecaption'] , dataRegionType: 'INHERIT' },
container_grid1:{ name: 'container_grid1', type: 'VIEWLAYOUT', caption: '栅格容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'page_container', panel: this , details:['container1','container_2'] , dataRegionType: 'INHERIT' }, toolbar:{ name: 'toolbar', type: 'VIEWLAYOUT', caption: 'TOOLBAR', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'RIGHT', vAlignSelf:'MIDDLE', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container4', panel: this },
form:{ name: 'form', type: 'VIEWLAYOUT', caption: 'FORM', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container3', panel: this }, container4:{ name: 'container4', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:9, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid2', panel: this , details:['toolbar'] , dataRegionType: 'INHERIT' },
container3:{ name: 'container3', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:100, heightMode:'PERCENTAGE', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'page_container', panel: this , details:['form'] , dataRegionType: 'INHERIT' }, container_grid2:{ name: 'container_grid2', type: 'VIEWLAYOUT', caption: '栅格容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll_header1', panel: this , details:['container2','container4'] , dataRegionType: 'INHERIT' },
page_container:{ name: 'page_container', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'column',vAlign:''}, panel: this , details:['container_grid1','container3'] , dataRegionType: 'INHERIT' } container_scroll_header1:{ name: 'container_scroll_header1', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: true, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'NORTH', layoutHeight:50, heightMode:'PX', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll1', panel: this , details:['container_grid2'] , dataRegionType: 'INHERIT' },
container_scroll1:{ name: 'container_scroll1', type: 'VIEWLAYOUT', caption: '滚动条容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['container_scroll_main1','container_scroll_header1'] , dataRegionType: 'INHERIT' }
}; };
/** /**
......
<template> <template>
<div class="app-view-layout ibizbookusr2-edit-view" v-loading="isLayoutLoadding" :style="{height: '100%', width: '100%','display': 'flex', 'flex-direction': 'column'}"> <div class="app-view-layout ibizbookusr2-edit-view" v-loading="isLayoutLoadding" :style="{height: '100%', width: '100%','display': 'flex', 'flex-direction': 'column'}">
<template v-show="!isLayoutLoadding"> <template v-show="!isLayoutLoadding">
<app-standard-container name="page_container" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails"> <app-scroll-container name="container_scroll1" :layoutModelDetails="layoutModelDetails">
<template #container_grid1> <template #container_scroll_main1>
<app-simpleflex-container name="container_grid1" :layoutModelDetails="layoutModelDetails"> <app-scroll-container name="container_scroll_main1" :layoutModelDetails="layoutModelDetails">
<template #container1> <template #form>
<app-simpleflex-container name="container1" :layoutModelDetails="layoutModelDetails"> <app-ctrl-pos name="form" :layoutModelDetails="layoutModelDetails">
<view_form
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:viewCtx="viewCtx"
:autosave="false"
:viewtag="viewtag"
:showBusyIndicator="true"
updateAction="Update"
removeAction="Remove"
loaddraftAction="GetDraft"
loadAction="Get"
createAction="Create"
WFSubmitAction=""
WFStartAction=""
style=''
name="form"
ref='form'
@load="form_load($event)"
@save="form_save($event)"
@remove="form_remove($event)"
@closeview="closeView($event)">
</view_form>
</app-ctrl-pos>
</template>
</app-scroll-container>
</template>
<template #container_scroll_header1>
<app-scroll-container name="container_scroll_header1" :layoutModelDetails="layoutModelDetails">
<template #container_grid2>
<app-simpleflex-container name="container_grid2" :layoutModelDetails="layoutModelDetails">
<template #container2>
<app-simpleflex-container name="container2" :layoutModelDetails="layoutModelDetails">
<template #view_pagecaption> <template #view_pagecaption>
<app-preset-caption name="view_pagecaption" :layoutModelDetails="layoutModelDetails"> 实体数据选择视图 </app-preset-caption> <app-preset-caption name="view_pagecaption" :layoutModelDetails="layoutModelDetails"> 实体数据选择视图 </app-preset-caption>
</template> </template>
</app-simpleflex-container> </app-simpleflex-container>
</template> </template>
<template #container_2> <template #container4>
<app-simpleflex-container name="container_2" :layoutModelDetails="layoutModelDetails"> <app-simpleflex-container name="container4" :layoutModelDetails="layoutModelDetails">
<template #toolbar> <template #toolbar>
<app-ctrl-pos name="toolbar" :layoutModelDetails="layoutModelDetails"> <app-ctrl-pos name="toolbar" :layoutModelDetails="layoutModelDetails">
<div class='toolbar-container'> <div class='toolbar-container'>
...@@ -44,38 +77,9 @@ ...@@ -44,38 +77,9 @@
</template> </template>
</app-simpleflex-container> </app-simpleflex-container>
</template> </template>
<template #container3> </app-scroll-container>
<app-standard-container name="container3" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #form>
<app-ctrl-pos name="form" :layoutModelDetails="layoutModelDetails">
<view_form
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:viewCtx="viewCtx"
:autosave="false"
:viewtag="viewtag"
:showBusyIndicator="true"
updateAction="Update"
removeAction="Remove"
loaddraftAction="GetDraft"
loadAction="Get"
createAction="Create"
WFSubmitAction=""
WFStartAction=""
style=''
name="form"
ref='form'
@load="form_load($event)"
@save="form_save($event)"
@remove="form_remove($event)"
@closeview="closeView($event)">
</view_form>
</app-ctrl-pos>
</template>
</app-standard-container>
</template> </template>
</app-standard-container> </app-scroll-container>
</template> </template>
</div> </div>
</template> </template>
...@@ -330,7 +334,7 @@ export default class IBIZBOOKUsr2EditViewBase extends Vue { ...@@ -330,7 +334,7 @@ export default class IBIZBOOKUsr2EditViewBase extends Vue {
* @public * @public
* @memberof IBIZBOOKUsr2EditViewBase * @memberof IBIZBOOKUsr2EditViewBase
*/ */
public rootLayoutDetailNames: string[] = [ 'page_container' ]; public rootLayoutDetailNames: string[] = [ 'container_scroll1' ];
/** /**
* 视图布局面板项模型对象 * 视图布局面板项模型对象
...@@ -339,14 +343,15 @@ export default class IBIZBOOKUsr2EditViewBase extends Vue { ...@@ -339,14 +343,15 @@ export default class IBIZBOOKUsr2EditViewBase extends Vue {
* @memberof IBIZBOOKUsr2EditViewBase * @memberof IBIZBOOKUsr2EditViewBase
*/ */
public layoutItems:any = { public layoutItems:any = {
view_pagecaption:{ name: 'view_pagecaption', type: 'VIEWLAYOUT', caption: '页面标题', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'FULL', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'LEFT', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , fieldState: '0', predefinedType: 'VIEW_PAGECAPTION', renderMode: 'HEADING1', dataItemName:'', wrapMode:'', vAlign:'', hAlign:'', }, form:{ name: 'form', type: 'VIEWLAYOUT', caption: 'FORM', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'CENTER', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'FULL', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll_main1', panel: this },
container1:{ name: 'container1', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:6, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid1', panel: this , details:['view_pagecaption'] , dataRegionType: 'INHERIT' }, container_scroll_main1:{ name: 'container_scroll_main1', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: true, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll1', panel: this , details:['form'] , dataRegionType: 'INHERIT' },
toolbar:{ name: 'toolbar', type: 'VIEWLAYOUT', caption: 'TOOLBAR', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'RIGHT', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_2', panel: this }, view_pagecaption:{ name: 'view_pagecaption', type: 'VIEWLAYOUT', caption: '页面标题', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'LEFT', vAlignSelf:'MIDDLE', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container2', panel: this , fieldState: '0', predefinedType: 'VIEW_PAGECAPTION', renderMode: 'HEADING1', dataItemName:'', wrapMode:'', vAlign:'', hAlign:'', },
container_2:{ name: 'container_2', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid1', panel: this , details:['toolbar'] , dataRegionType: 'INHERIT' }, container2:{ name: 'container2', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:3, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid2', panel: this , details:['view_pagecaption'] , dataRegionType: 'INHERIT' },
container_grid1:{ name: 'container_grid1', type: 'VIEWLAYOUT', caption: '栅格容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'page_container', panel: this , details:['container1','container_2'] , dataRegionType: 'INHERIT' }, toolbar:{ name: 'toolbar', type: 'VIEWLAYOUT', caption: 'TOOLBAR', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'RIGHT', vAlignSelf:'MIDDLE', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container4', panel: this },
form:{ name: 'form', type: 'VIEWLAYOUT', caption: 'FORM', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container3', panel: this }, container4:{ name: 'container4', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:9, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid2', panel: this , details:['toolbar'] , dataRegionType: 'INHERIT' },
container3:{ name: 'container3', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:100, heightMode:'PERCENTAGE', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'page_container', panel: this , details:['form'] , dataRegionType: 'INHERIT' }, container_grid2:{ name: 'container_grid2', type: 'VIEWLAYOUT', caption: '栅格容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll_header1', panel: this , details:['container2','container4'] , dataRegionType: 'INHERIT' },
page_container:{ name: 'page_container', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'column',vAlign:''}, panel: this , details:['container_grid1','container3'] , dataRegionType: 'INHERIT' } container_scroll_header1:{ name: 'container_scroll_header1', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: true, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'NORTH', layoutHeight:50, heightMode:'PX', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll1', panel: this , details:['container_grid2'] , dataRegionType: 'INHERIT' },
container_scroll1:{ name: 'container_scroll1', type: 'VIEWLAYOUT', caption: '滚动条容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['container_scroll_main1','container_scroll_header1'] , dataRegionType: 'INHERIT' }
}; };
/** /**
......
<template> <template>
<div class="app-view-layout ibizcustomer-usr2-pickup-view-layout" v-loading="isLayoutLoadding" :style="{height: '100%', width: '100%', overflow: 'auto'}"> <div class="view-container depickupview ibizcustomer-usr2-pickup-view-layout">
<template v-show="!isLayoutLoadding"> <app-studioaction :viewTitle="$t(model.srfCaption)" viewName="ibizcustomerusr2pickupview_layout"></app-studioaction>
<app-scroll-container name="container_scroll1" :layoutModelDetails="layoutModelDetails"> <card class='view-card view-no-caption view-no-toolbar' :dis-hover="true" :padding="0" :bordered="false">
<template #container_scroll_main1> <div class="content-container pickup-view">
<app-scroll-container name="container_scroll_main1" :layoutModelDetails="layoutModelDetails"> <view_pickupviewpanel
<template #pickupviewpanel> :viewState="viewState"
<app-ctrl-pos name="pickupviewpanel" :layoutModelDetails="layoutModelDetails"> :viewparams="JSON.parse(JSON.stringify(viewparams))"
<view_pickupviewpanel :context="JSON.parse(JSON.stringify(context))"
:viewState="viewState" :isSingleSelect="isSingleSelect"
:viewparams="JSON.parse(JSON.stringify(viewparams))" :selectedData="selectedData"
:context="JSON.parse(JSON.stringify(context))" :isShowButton="isShowButton"
:isSingleSelect="isSingleSelect" name="pickupviewpanel"
:selectedData="selectedData" ref='pickupviewpanel'
:isShowButton="isShowButton" @selectionchange="pickupviewpanel_selectionchange($event)"
name="pickupviewpanel" @load="pickupviewpanel_load($event)"
ref='pickupviewpanel' @activated="pickupviewpanel_activated($event)"
@selectionchange="pickupviewpanel_selectionchange($event)" @closeview="closeView($event)">
@load="pickupviewpanel_load($event)" </view_pickupviewpanel>
@activated="pickupviewpanel_activated($event)" <card v-if="isShowButton" :dis-hover="true" :bordered="false" class="footer">
@closeview="closeView($event)"> <row :style="{ textAlign: 'right' }">
</view_pickupviewpanel> <i-button type="primary" :disabled="this.viewSelections.length > 0 ? false : true" @click="onClickOk">{{this.containerModel.view_okbtn.text}}</i-button>
</app-ctrl-pos> &nbsp;&nbsp;
</template> <i-button @click="onClickCancel">{{this.containerModel.view_cancelbtn.text}}</i-button>
</app-scroll-container> </row>
</template> </card>
<template #container_scroll_bottom1> </div>
<app-scroll-container name="container_scroll_bottom1" :layoutModelDetails="layoutModelDetails"> </card>
<template #container1> </div>
<app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #button_calluilogic1>
<app-preset-button name="button_calluilogic1" :layoutModelDetails="layoutModelDetails" caption="确认" tooltip="" @itemClick="handleButtonClick" />
</template>
<template #button_calluilogic2>
<app-login-button class="app-reset-button" name="button_calluilogic2" :layoutModelDetails="layoutModelDetails" defaultStyle='success' @itemClick="handleButtonClick" />
</template>
</app-standard-container>
</template>
</app-scroll-container>
</template>
</app-scroll-container>
</template>
</div>
</template> </template>
...@@ -56,7 +42,6 @@ import IBIZCustomerAuthService from '@/authservice/ibizcustomer/ibizcustomer-aut ...@@ -56,7 +42,6 @@ import IBIZCustomerAuthService from '@/authservice/ibizcustomer/ibizcustomer-aut
import PickupViewEngine from '@engine/view/pickup-view-engine'; import PickupViewEngine from '@engine/view/pickup-view-engine';
import IBIZCustomerUIService from '@/uiservice/ibizcustomer/ibizcustomer-ui-service'; import IBIZCustomerUIService from '@/uiservice/ibizcustomer/ibizcustomer-ui-service';
import { PanelContainerModel, PanelRawitemModel, PanelFieldModel, PanelControlModel, PanelButtonModel, PanelUserControlModel, PanelTabPanelModel, PanelTabPageModel, PanelCtrlPosModel} from '@/model/panel-detail';
@Component({ @Component({
...@@ -267,282 +252,6 @@ export default class IBIZCustomerUsr2PickupView_layoutBase extends Vue { ...@@ -267,282 +252,6 @@ export default class IBIZCustomerUsr2PickupView_layoutBase extends Vue {
*/ */
public viewState: Subject<ViewState> = new Subject(); public viewState: Subject<ViewState> = new Subject();
/**
* 视图布局顶级成员名称
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public rootLayoutDetailNames: string[] = [ 'container_scroll1' ];
/**
* 视图布局面板项模型对象
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public layoutItems:any = {
pickupviewpanel:{ name: 'pickupviewpanel', type: 'VIEWLAYOUT', caption: 'PICKUPVIEWPANEL部件', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll_main1', panel: this },
container_scroll_main1:{ name: 'container_scroll_main1', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: true, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll1', panel: this , details:['pickupviewpanel'] , dataRegionType: 'INHERIT' },
button_calluilogic1:{ name: 'button_calluilogic1', type: 'VIEWLAYOUT', caption: '确认', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'PRIMARY', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:32, heightMode:'PX', layoutWidth:60, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'OUTERSMALL', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , buttonStyle: 'PRIMARY', borderStyle: '', iconAlign: '', predefinedType: 'DATA_SAVECHANGES', renderMode: '', },
button_calluilogic2:{ name: 'button_calluilogic2', type: 'VIEWLAYOUT', caption: '取消', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:32, heightMode:'PX', layoutWidth:60, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , buttonStyle: 'DEFAULT', borderStyle: '', iconAlign: '', predefinedType: 'DATA_CANCELCHANGES', renderMode: '', },
container1:{ name: 'container1', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'CENTER', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'FULL', spacingBottom:'INNERMEDIUM', spacingLeft:'', spacingRight:'', spacingTop:'INNERMEDIUM', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'flex-end',dir:'row',vAlign:'center'}, parentName: 'container_scroll_bottom1', panel: this , details:['button_calluilogic1','button_calluilogic2'] , dataRegionType: 'INHERIT' },
container_scroll_bottom1:{ name: 'container_scroll_bottom1', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: true, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'SOUTH', layoutHeight:64, heightMode:'PX', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll1', panel: this , details:['container1'] , dataRegionType: 'INHERIT' },
container_scroll1:{ name: 'container_scroll1', type: 'VIEWLAYOUT', caption: '滚动条容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['container_scroll_main1','container_scroll_bottom1'] , dataRegionType: 'INHERIT' }
};
/**
* 视图布局是否加载
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public isLayoutLoadding: boolean = true;
/**
* 视图布局数据
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public layoutData:any = {};
/**
* 视图布局面板模型对象
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public layoutModelDetails:any = {};
/**
* 初始化布局
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public async initLayout() {
if (this.rootLayoutDetailNames.length > 0) {
for (let i = 0; i < this.rootLayoutDetailNames.length; i++) {
const name = this.rootLayoutDetailNames[i];
const rootItem = this.layoutItems[name];
if (!rootItem) {
return;
}
await this.initLayoutItem(rootItem);
}
}
return true;
}
/**
* 初始化布局项
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public async initLayoutItem(layoutModelItem: any, index: number = 0) {
const { name } = layoutModelItem;
const layoutModelDetail = Util.getLayoutItemInstance(layoutModelItem);
if (!index) {
await layoutModelDetail.load(this.context, this.viewparams);
this.$set(this.layoutModelDetails, name, layoutModelDetail);
this.$set(this.layoutData, name, layoutModelDetail.getData());
} else {
layoutModelDetail.setIndex(index);
await layoutModelDetail.load(this.context, this.viewparams);
this.$set(this.layoutModelDetails, `${name}_${index}`, layoutModelDetail);
this.$set(this.layoutData, `${name}_${index}`, layoutModelDetail.getData());
}
if (layoutModelDetail && layoutModelDetail.details) {
if (layoutModelDetail.dataRegionType === 'MULTIDATA') {
const multiData = layoutModelDetail.getData();
if (multiData && multiData.length > 0) {
for (let i = 0; i < multiData.length; i++) {
for (let j = 0; j < layoutModelDetail.details.length; j++) {
const key = layoutModelDetail.details[j];
if (this.layoutItems[key]) {
await this.initLayoutItem(this.layoutItems[key], i);
}
}
}
}
} else {
for (let i = 0; i < layoutModelDetail.details.length; i++) {
const key = layoutModelDetail.details[i];
if (this.layoutItems[key]) {
await this.initLayoutItem(this.layoutItems[key],index);
}
}
}
}
}
/**
* 处理值改变
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public handleValueChange(args: { name: string, value: any }) {
if (!args || !args.name || Object.is(args.name, '') || !this.layoutData.hasOwnProperty(args.name)) {
return;
}
const {name,value} = args;
this.layoutData[name] = value;
this.layoutModelDetails[name].setData(value);
this.panelLogic(name);
}
/**
* 面板逻辑
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public panelLogic(name: string): void {
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public getButtonXData(name: string): any {
let xData = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.parentName) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public handleButtonClick(name: string, $event?: any) {
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
if (Object.is(name, 'button_calluilogic1')) {
_this.panel_Layoutpanel_button_calluilogic1_click(datas, contextJO, paramJO, $event, xData, this, undefined);
}
if (Object.is(name, 'button_calluilogic2')) {
_this.panel_Layoutpanel_button_calluilogic2_click(datas, contextJO, paramJO, $event, xData, this, undefined);
}
}
/**
* 确认
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
*/
public panel_Layoutpanel_button_calluilogic1_click(args: any[], context: any = {}, params: any = {}, $event?: any, xData?: any, actionContext?: any, srfParentDeName?: string) {
// 准备上下文参数
const tempContext = {...context};
if (xData && xData.context) {
Object.assign(tempContext, xData.context);
}
const data = args[0];
let action: string | undefined = undefined;
const appEntityService: any = new IBIZCustomerService();
const key = appEntityService.APPDEKEY.toLowerCase();
const name = appEntityService.APPDENAME.toLowerCase();
if (data.hasOwnProperty(key) || data.hasOwnProperty(name)) {
if (data.hasOwnProperty(key)) {
Object.assign(context, { [name]: data[key] });
} else {
Object.assign(context, { [name]: data[name] });
}
action = 'Update';
} else {
action = 'Create';
}
try {
if (action) {
appEntityService[action](tempContext, data).then((response: any) => {
if (!response.status || response.status !== 200) {
this.$Notice.error({ title: '错误', desc: '当前环境无法执行保存变更逻辑[执行行为异常]' });
}
})
} else {
this.$Notice.error({ title: '错误', desc: '当前环境无法执行保存变更逻辑[执行行为异常]' });
}
} catch (error: any) {
this.$Notice.error({ title: '错误', desc: '当前环境无法执行保存变更逻辑[执行行为异常]' });
}
}
/**
* 取消
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
*/
public panel_Layoutpanel_button_calluilogic2_click(args: any[], contextJO?:any, params?: any, $event?: any, xData?: any, actionContext?:any, srfParentDeName?:string) {
if (actionContext.viewType === 'APPLOGINVIEW') {
const length = Object.keys(actionContext.layoutData).length;
for (let i = length - 1; i >= 0; i--) {
const name = Object.keys(actionContext.layoutData)[i];
if (actionContext.layoutData.hasOwnProperty(name) && !Object.is(actionContext.layoutModelDetails[name].itemType, 'CONTAINER')) {
actionContext.handleValueChange({ name, value: null });
}
}
actionContext.$nextTick(() => {
actionContext.$forceUpdate();
})
} else {
const parentRef = actionContext.$parent;
if (parentRef.closeView && (parentRef.closeView instanceof Function)) {
parentRef.closeView(args);
} else if (actionContext.closeView && (actionContext.closeView instanceof Function)) {
actionContext.closeView(args);
}
}
}
/** /**
...@@ -911,16 +620,13 @@ export default class IBIZCustomerUsr2PickupView_layoutBase extends Vue { ...@@ -911,16 +620,13 @@ export default class IBIZCustomerUsr2PickupView_layoutBase extends Vue {
*/ */
public afterMounted(){ public afterMounted(){
const _this: any = this; const _this: any = this;
_this.initLayout().then((result: any) => { _this.engineInit();
_this.isLayoutLoadding = false;
_this.engineInit();
if (_this.loadModel && _this.loadModel instanceof Function) { if (_this.loadModel && _this.loadModel instanceof Function) {
_this.loadModel(); _this.loadModel();
} }
if(this.viewparams.selectedData){ if(this.viewparams.selectedData){
this.engine.onCtrlEvent('pickupviewpanel', 'selectionchange', this.viewparams.selectedData); this.engine.onCtrlEvent('pickupviewpanel', 'selectionchange', this.viewparams.selectedData);
} }
})
} }
......
.ibizcustomer-usr2-pickup-view-layout { .ibizcustomer-usr2-pickup-view-layout{
display: block; position: relative;
}
.pickup-view {
>.pickupviewpanel {
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
}
>.footer {
height: 64px;
}
} }
...@@ -598,7 +598,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -598,7 +598,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: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -634,7 +634,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -634,7 +634,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: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -671,7 +671,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -671,7 +671,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: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -707,7 +707,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: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -530,7 +530,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -530,7 +530,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -646,7 +646,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -646,7 +646,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.removeAction') as string) });
return; return;
} }
if (datas.length === 0) { if (datas.length === 0) {
...@@ -741,7 +741,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -741,7 +741,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -749,7 +749,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -749,7 +749,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){ if(item.ibizorder){
......
...@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderPickupGridViewBase * @memberof IBIZOrderSF1GridViewBase
*/ */
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) { if (args.length === 0) {
...@@ -421,6 +421,20 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -421,6 +421,20 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0]; return this.selections[0];
} }
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public newdata: any;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public opendata: any;
/** /**
* 是否嵌入关系界面 * 是否嵌入关系界面
...@@ -953,7 +967,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -953,7 +967,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}, pageReset: boolean = false): void { public load(opt: any = {}, pageReset: boolean = false): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(pageReset){ if(pageReset){
...@@ -1048,7 +1062,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1048,7 +1062,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -1154,7 +1168,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1154,7 +1168,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public addBatch(arg: any = {}): void { public addBatch(arg: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2071,7 +2085,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2071,7 +2085,7 @@ export default class MainBase extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -2079,7 +2093,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2079,7 +2093,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){ if(item.ibizorder){
...@@ -2146,7 +2160,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2146,7 +2160,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public newRow(args: any[], params?: any, $event?: any, xData?: any): void { public newRow(args: any[], params?: any, $event?: any, xData?: any): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
return; return;
} }
let _this = this; let _this = this;
......
...@@ -104,6 +104,21 @@ export default class MainModel { ...@@ -104,6 +104,21 @@ export default class MainModel {
prop: 'n_ibizordername_like', prop: 'n_ibizordername_like',
dataType: 'QUERYPARAM' dataType: 'QUERYPARAM'
}, },
{
name: 'n_orderstate_eq',
prop: 'n_orderstate_eq',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_gt',
prop: 'n_ordertime_gt',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_lt',
prop: 'n_ordertime_lt',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -11,11 +11,11 @@ ...@@ -11,11 +11,11 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者", "caption" : "图书名称",
"codeName" : "author", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "ibizbookname",
"name" : "author", "name" : "ibizbookname",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -30,16 +30,6 @@ ...@@ -30,16 +30,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, { }, {
"caption" : "出版社", "caption" : "出版社",
"codeName" : "press", "codeName" : "press",
...@@ -60,6 +50,16 @@ ...@@ -60,6 +50,16 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -19,21 +19,21 @@ ...@@ -19,21 +19,21 @@
} }
} ], } ],
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书名称", "caption" : "图书描述",
"codeName" : "ibizbookname", "codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "subtext",
"name" : "ibizbookname", "name" : "subtext",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书描述", "caption" : "图书名称",
"codeName" : "subtext", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext", "dataItemName" : "ibizbookname",
"name" : "subtext", "name" : "ibizbookname",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -828,35 +828,6 @@ ...@@ -828,35 +828,6 @@
"requestPath" : "/select", "requestPath" : "/select",
"builtinMethod" : false "builtinMethod" : false
} ], } ],
"getAllPSAppDEUIActions" : [ {
"caption" : "确认",
"codeName" : "panel_Layoutpanel_button_calluilogic1_click",
"fullCodeName" : "panel_Layoutpanel_button_calluilogic1_click",
"name" : "确认",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"predefinedType" : "DATA_SAVECHANGES",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic1_click",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "取消",
"codeName" : "panel_Layoutpanel_button_calluilogic2_click",
"fullCodeName" : "panel_Layoutpanel_button_calluilogic2_click",
"name" : "取消",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"predefinedType" : "DATA_CANCELCHANGES",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic2_click",
"uIActionType" : "DEUIACTION"
} ],
"getAllPSDEOPPrivs" : [ { "getAllPSDEOPPrivs" : [ {
"logicName" : "建立", "logicName" : "建立",
"name" : "CREATE" "name" : "CREATE"
......
...@@ -34,11 +34,11 @@ ...@@ -34,11 +34,11 @@
"id" : "GANTT" "id" : "GANTT"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者", "caption" : "图书名称",
"codeName" : "author", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "ibizbookname",
"name" : "author", "name" : "ibizbookname",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -53,16 +53,6 @@ ...@@ -53,16 +53,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, { }, {
"caption" : "出版社", "caption" : "出版社",
"codeName" : "press", "codeName" : "press",
...@@ -83,6 +73,16 @@ ...@@ -83,6 +73,16 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -75,21 +75,21 @@ ...@@ -75,21 +75,21 @@
"id" : "TREEGRIDEX" "id" : "TREEGRIDEX"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书名称", "caption" : "图书描述",
"codeName" : "ibizbookname", "codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "subtext",
"name" : "ibizbookname", "name" : "subtext",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书描述", "caption" : "图书名称",
"codeName" : "subtext", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext", "dataItemName" : "ibizbookname",
"name" : "subtext", "name" : "ibizbookname",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -46,118 +46,133 @@ ...@@ -46,118 +46,133 @@
"layout" : "FLEX" "layout" : "FLEX"
}, },
"getRootPSPanelItems" : [ { "getRootPSPanelItems" : [ {
"caption" : "容器", "caption" : "滚动条容器",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
"name" : "page_container", "name" : "container_scroll1",
"getPSLayout" : { "getPSLayout" : {
"dir" : "column", "layout" : "BORDER"
"layout" : "FLEX"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : -1,
"layout" : "FLEX" "layout" : "FLEX"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "栅格容器", "caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll_main1",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"layout" : "BORDER",
"layoutPos" : "CENTER"
},
"getPSPanelItems" : [ {
"caption" : "FORM",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "form",
"getPSLayoutPos" : {
"heightMode" : "FULL",
"layout" : "BORDER",
"layoutPos" : "CENTER",
"widthMode" : "FULL"
},
"showCaption" : true
} ],
"showCaption" : true
}, {
"caption" : "面板容器",
"contentHeight" : 50.0,
"height" : 50.0,
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
"name" : "container_grid1", "name" : "container_scroll_header1",
"getPSLayout" : { "getPSLayout" : {
"layout" : "SIMPLEFLEX" "layout" : "BORDER"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "height" : 50,
"layout" : "FLEX" "heightMode" : "PX",
"layout" : "BORDER",
"layoutPos" : "NORTH"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "面板容器", "caption" : "栅格容器",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
"name" : "container1", "name" : "container_grid2",
"getPSLayout" : { "getPSLayout" : {
"layout" : "SIMPLEFLEX" "layout" : "SIMPLEFLEX"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : 6, "layout" : "BORDER",
"layout" : "SIMPLEFLEX" "layoutPos" : "CENTER"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "页面标题", "caption" : "面板容器",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "FIELD", "itemType" : "CONTAINER",
"name" : "view_pagecaption", "name" : "container2",
"getPSEditor" : { "getPSLayout" : {
"editorType" : "SPAN", "layout" : "SIMPLEFLEX"
"name" : "view_pagecaption",
"predefinedType" : "VIEW_PAGECAPTION",
"renderMode" : "HEADING1",
"enableLinkView" : false
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : 3,
"hAlignSelf" : "LEFT", "layout" : "SIMPLEFLEX"
"heightMode" : "FULL",
"layout" : "SIMPLEFLEX",
"widthMode" : "FULL"
}, },
"hidden" : false, "getPSPanelItems" : [ {
"showCaption" : false "caption" : "页面标题",
} ] "itemStyle" : "DEFAULT",
}, { "itemType" : "FIELD",
"caption" : "容器", "name" : "view_pagecaption",
"itemStyle" : "DEFAULT", "getPSEditor" : {
"itemType" : "CONTAINER", "editorType" : "SPAN",
"name" : "container_2", "name" : "view_pagecaption",
"getPSLayout" : { "predefinedType" : "VIEW_PAGECAPTION",
"layout" : "SIMPLEFLEX" "renderMode" : "HEADING1",
}, "enableLinkView" : false
"getPSLayoutPos" : { },
"grow" : -1, "getPSLayoutPos" : {
"layout" : "SIMPLEFLEX" "grow" : -1,
}, "hAlignSelf" : "LEFT",
"getPSPanelItems" : [ { "layout" : "SIMPLEFLEX",
"caption" : "TOOLBAR", "vAlignSelf" : "MIDDLE"
},
"hidden" : false,
"showCaption" : false
} ]
}, {
"caption" : "面板容器",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS", "itemType" : "CONTAINER",
"name" : "toolbar", "name" : "container4",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : 9,
"hAlignSelf" : "RIGHT",
"heightMode" : "FULL",
"layout" : "SIMPLEFLEX" "layout" : "SIMPLEFLEX"
}, },
"showCaption" : true "getPSPanelItems" : [ {
"caption" : "TOOLBAR",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "toolbar",
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "RIGHT",
"heightMode" : "FULL",
"layout" : "SIMPLEFLEX",
"vAlignSelf" : "MIDDLE"
},
"showCaption" : true
} ]
} ] } ]
} ] } ],
}, { "showCaption" : true
"caption" : "容器",
"contentHeight" : 100.0,
"height" : 100.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container3",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"height" : 100,
"heightMode" : "PERCENTAGE",
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "FORM",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "form",
"getPSLayoutPos" : {
"grow" : -1,
"heightMode" : "FULL",
"layout" : "FLEX"
},
"showCaption" : true
} ]
} ] } ]
} ], } ],
"layoutBodyOnly" : false, "layoutBodyOnly" : false,
......
...@@ -46,118 +46,133 @@ ...@@ -46,118 +46,133 @@
"layout" : "FLEX" "layout" : "FLEX"
}, },
"getRootPSPanelItems" : [ { "getRootPSPanelItems" : [ {
"caption" : "容器", "caption" : "滚动条容器",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
"name" : "page_container", "name" : "container_scroll1",
"getPSLayout" : { "getPSLayout" : {
"dir" : "column", "layout" : "BORDER"
"layout" : "FLEX"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : -1,
"layout" : "FLEX" "layout" : "FLEX"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "栅格容器", "caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll_main1",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"layout" : "BORDER",
"layoutPos" : "CENTER"
},
"getPSPanelItems" : [ {
"caption" : "FORM",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "form",
"getPSLayoutPos" : {
"heightMode" : "FULL",
"layout" : "BORDER",
"layoutPos" : "CENTER",
"widthMode" : "FULL"
},
"showCaption" : true
} ],
"showCaption" : true
}, {
"caption" : "面板容器",
"contentHeight" : 50.0,
"height" : 50.0,
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
"name" : "container_grid1", "name" : "container_scroll_header1",
"getPSLayout" : { "getPSLayout" : {
"layout" : "SIMPLEFLEX" "layout" : "BORDER"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "height" : 50,
"layout" : "FLEX" "heightMode" : "PX",
"layout" : "BORDER",
"layoutPos" : "NORTH"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "面板容器", "caption" : "栅格容器",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
"name" : "container1", "name" : "container_grid2",
"getPSLayout" : { "getPSLayout" : {
"layout" : "SIMPLEFLEX" "layout" : "SIMPLEFLEX"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : 6, "layout" : "BORDER",
"layout" : "SIMPLEFLEX" "layoutPos" : "CENTER"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "页面标题", "caption" : "面板容器",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "FIELD", "itemType" : "CONTAINER",
"name" : "view_pagecaption", "name" : "container2",
"getPSEditor" : { "getPSLayout" : {
"editorType" : "SPAN", "layout" : "SIMPLEFLEX"
"name" : "view_pagecaption",
"predefinedType" : "VIEW_PAGECAPTION",
"renderMode" : "HEADING1",
"enableLinkView" : false
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : 3,
"hAlignSelf" : "LEFT", "layout" : "SIMPLEFLEX"
"heightMode" : "FULL",
"layout" : "SIMPLEFLEX",
"widthMode" : "FULL"
}, },
"hidden" : false, "getPSPanelItems" : [ {
"showCaption" : false "caption" : "页面标题",
} ] "itemStyle" : "DEFAULT",
}, { "itemType" : "FIELD",
"caption" : "容器", "name" : "view_pagecaption",
"itemStyle" : "DEFAULT", "getPSEditor" : {
"itemType" : "CONTAINER", "editorType" : "SPAN",
"name" : "container_2", "name" : "view_pagecaption",
"getPSLayout" : { "predefinedType" : "VIEW_PAGECAPTION",
"layout" : "SIMPLEFLEX" "renderMode" : "HEADING1",
}, "enableLinkView" : false
"getPSLayoutPos" : { },
"grow" : -1, "getPSLayoutPos" : {
"layout" : "SIMPLEFLEX" "grow" : -1,
}, "hAlignSelf" : "LEFT",
"getPSPanelItems" : [ { "layout" : "SIMPLEFLEX",
"caption" : "TOOLBAR", "vAlignSelf" : "MIDDLE"
},
"hidden" : false,
"showCaption" : false
} ]
}, {
"caption" : "面板容器",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS", "itemType" : "CONTAINER",
"name" : "toolbar", "name" : "container4",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : 9,
"hAlignSelf" : "RIGHT",
"heightMode" : "FULL",
"layout" : "SIMPLEFLEX" "layout" : "SIMPLEFLEX"
}, },
"showCaption" : true "getPSPanelItems" : [ {
"caption" : "TOOLBAR",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "toolbar",
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "RIGHT",
"heightMode" : "FULL",
"layout" : "SIMPLEFLEX",
"vAlignSelf" : "MIDDLE"
},
"showCaption" : true
} ]
} ] } ]
} ] } ],
}, { "showCaption" : true
"caption" : "容器",
"contentHeight" : 100.0,
"height" : 100.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container3",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"height" : 100,
"heightMode" : "PERCENTAGE",
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "FORM",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "form",
"getPSLayoutPos" : {
"grow" : -1,
"heightMode" : "FULL",
"layout" : "FLEX"
},
"showCaption" : true
} ]
} ] } ]
} ], } ],
"layoutBodyOnly" : false, "layoutBodyOnly" : false,
......
...@@ -53,225 +53,17 @@ ...@@ -53,225 +53,17 @@
"getPSDEViewId" : "77A182D2-AD26-4B9C-A10C-D30A863D3131", "getPSDEViewId" : "77A182D2-AD26-4B9C-A10C-D30A863D3131",
"getPSViewLayoutPanel" : { "getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel", "codeName" : "Layoutpanel",
"controlStyle" : "APPDEPICKUPVIEW",
"controlType" : "VIEWLAYOUTPANEL", "controlType" : "VIEWLAYOUTPANEL",
"layoutMode" : "TABLE_24COL",
"logicName" : "选择视图面板",
"name" : "layoutpanel", "name" : "layoutpanel",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}, },
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "layoutpanel_button_calluilogic1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_button_calluilogic1"
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "layoutpanel_button_calluilogic2_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_button_calluilogic2"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "layoutpanel_button_calluilogic1",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"modelref" : true,
"id" : "panel_Layoutpanel_button_calluilogic1_click"
},
"xDataControlName" : "layoutpanel"
}, {
"name" : "layoutpanel_button_calluilogic2",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"modelref" : true,
"id" : "panel_Layoutpanel_button_calluilogic2_click"
},
"xDataControlName" : "layoutpanel"
} ],
"getPSControlParam" : { }, "getPSControlParam" : { },
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRootPSPanelItems" : [ {
"caption" : "滚动条容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll1",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll_main1",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"layout" : "BORDER",
"layoutPos" : "CENTER"
},
"getPSPanelItems" : [ {
"caption" : "PICKUPVIEWPANEL部件",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "pickupviewpanel",
"getPSLayoutPos" : {
"layout" : "BORDER",
"layoutPos" : "CENTER"
},
"showCaption" : true
} ],
"showCaption" : true
}, {
"caption" : "面板容器",
"contentHeight" : 64.0,
"height" : 64.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll_bottom1",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"height" : 64,
"heightMode" : "PX",
"layout" : "BORDER",
"layoutPos" : "SOUTH"
},
"getPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"align" : "flex-end",
"dir" : "row",
"layout" : "FLEX",
"vAlign" : "center"
},
"getPSLayoutPos" : {
"heightMode" : "FULL",
"layout" : "BORDER",
"layoutPos" : "CENTER",
"spacingBottom" : "INNERMEDIUM",
"spacingTop" : "INNERMEDIUM",
"widthMode" : "FULL"
},
"getPSPanelItems" : [ {
"actionType" : "UIACTION",
"buttonHeight" : 32.0,
"buttonStyle" : "PRIMARY",
"buttonWidth" : 60.0,
"caption" : "确认",
"contentHeight" : 32.0,
"contentWidth" : 60.0,
"height" : 32.0,
"itemStyle" : "PRIMARY",
"itemType" : "BUTTON",
"name" : "button_calluilogic1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_button_calluilogic1"
},
"getPSLayoutPos" : {
"grow" : -1,
"height" : 32,
"heightMode" : "PX",
"layout" : "FLEX",
"spacingRight" : "OUTERSMALL",
"width" : 60,
"widthMode" : "PX"
},
"getPSUIAction" : {
"caption" : "确认",
"codeName" : "panel_Layoutpanel_button_calluilogic1_click",
"fullCodeName" : "panel_Layoutpanel_button_calluilogic1_click",
"name" : "确认",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"predefinedType" : "DATA_SAVECHANGES",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic1_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "确认",
"width" : 60.0,
"showCaption" : true
}, {
"actionType" : "UIACTION",
"buttonHeight" : 32.0,
"buttonStyle" : "DEFAULT",
"buttonWidth" : 60.0,
"caption" : "取消",
"contentHeight" : 32.0,
"contentWidth" : 60.0,
"height" : 32.0,
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "button_calluilogic2",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_button_calluilogic2"
},
"getPSLayoutPos" : {
"grow" : -1,
"height" : 32,
"heightMode" : "PX",
"layout" : "FLEX",
"width" : 60,
"widthMode" : "PX"
},
"getPSUIAction" : {
"caption" : "取消",
"codeName" : "panel_Layoutpanel_button_calluilogic2_click",
"fullCodeName" : "panel_Layoutpanel_button_calluilogic2_click",
"name" : "取消",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"predefinedType" : "DATA_CANCELCHANGES",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic2_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "取消",
"width" : 60.0,
"showCaption" : true
} ]
} ],
"showCaption" : true
} ]
} ],
"layoutBodyOnly" : true, "layoutBodyOnly" : true,
"layoutPanel" : true, "layoutPanel" : true,
"useDefaultLayout" : false, "useDefaultLayout" : true
"modelid" : "C8C35576-88F9-41A0-A10A-60DAD8AF6CBB",
"modeltype" : "PSSYSVIEWLAYOUTPANEL"
}, },
"title" : "客户实体数据选择视图(树视图)", "title" : "客户实体数据选择视图(树视图)",
"viewStyle" : "DEFAULT", "viewStyle" : "DEFAULT",
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-485-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-489-7">
<createTable tableName="T_IBIZBOOK"> <createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
...@@ -278,7 +278,7 @@ ...@@ -278,7 +278,7 @@
<!--输出实体[IBIZCUSTOMER]数据结构 --> <!--输出实体[IBIZCUSTOMER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustomer-146-10"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustomer-150-10">
<createTable tableName="T_IBIZCUSTOMER"> <createTable tableName="T_IBIZCUSTOMER">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZCUSTOMER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZCUSTOMER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizcustomer-146-4" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizcustomer-150-4" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZCUSTOMER"> <createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZCUSTOMER">
<![CDATA[ SELECT t1.[ADDRESS], t1.[CREATEDATE], t1.[CREATEMAN], t1.[CUSTOMERUID], t1.[IBIZCUSTOMERID], t1.[IBIZCUSTOMERNAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZCUSTOMER] t1 ]]> <![CDATA[ SELECT t1.[ADDRESS], t1.[CREATEDATE], t1.[CREATEMAN], t1.[CUSTOMERUID], t1.[IBIZCUSTOMERID], t1.[IBIZCUSTOMERNAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZCUSTOMER] t1 ]]>
</createView> </createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册