提交 72020ce0 编写于 作者: ibizdev's avatar ibizdev

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

上级 172204c7
...@@ -1513,6 +1513,12 @@ function getLocaleResourceBase(){ ...@@ -1513,6 +1513,12 @@ function getLocaleResourceBase(){
}, },
treegridexviewtoolbar_toolbar: { treegridexviewtoolbar_toolbar: {
}, },
customview_layouttoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("加载",null),
tip: commonLogic.appcommonhandle("加载",null),
},
},
groupbycodelistkanbanviewtoolbar_toolbar: { groupbycodelistkanbanviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
......
...@@ -1513,6 +1513,12 @@ function getLocaleResourceBase(){ ...@@ -1513,6 +1513,12 @@ function getLocaleResourceBase(){
}, },
treegridexviewtoolbar_toolbar: { treegridexviewtoolbar_toolbar: {
}, },
customview_layouttoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("加载",null),
tip: commonLogic.appcommonhandle("加载",null),
},
},
groupbycodelistkanbanviewtoolbar_toolbar: { groupbycodelistkanbanviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("New",null), caption: commonLogic.appcommonhandle("New",null),
......
...@@ -1513,6 +1513,12 @@ function getLocaleResourceBase(){ ...@@ -1513,6 +1513,12 @@ function getLocaleResourceBase(){
}, },
treegridexviewtoolbar_toolbar: { treegridexviewtoolbar_toolbar: {
}, },
customview_layouttoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("加载",null),
tip: commonLogic.appcommonhandle("加载",null),
},
},
groupbycodelistkanbanviewtoolbar_toolbar: { groupbycodelistkanbanviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
......
...@@ -29,9 +29,26 @@ ...@@ -29,9 +29,26 @@
</template> </template>
<template #container_scroll_header1> <template #container_scroll_header1>
<app-scroll-container name="container_scroll_header1" :layoutModelDetails="layoutModelDetails"> <app-scroll-container name="container_scroll_header1" :layoutModelDetails="layoutModelDetails">
<template #container_grid1>
<app-simpleflex-container name="container_grid1" :layoutModelDetails="layoutModelDetails">
<template #container1>
<app-simpleflex-container name="container1" :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>
</template>
<template #container2>
<app-simpleflex-container name="container2" :layoutModelDetails="layoutModelDetails">
<template #toolbar>
<app-ctrl-pos name="toolbar" :layoutModelDetails="layoutModelDetails">
<span>部件占位toolbar</span>
</app-ctrl-pos>
</template>
</app-simpleflex-container>
</template>
</app-simpleflex-container>
</template>
</app-scroll-container> </app-scroll-container>
</template> </template>
</app-scroll-container> </app-scroll-container>
...@@ -280,8 +297,12 @@ export default class IBIZBOOKCustomViewBase extends Vue { ...@@ -280,8 +297,12 @@ export default class IBIZBOOKCustomViewBase extends Vue {
container_scroll_header2:{ name: 'container_scroll_header2', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: true, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'NORTH', layoutHeight:70, heightMode:'PX', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll2', panel: this , details:['searchform'] , dataRegionType: 'INHERIT' }, container_scroll_header2:{ name: 'container_scroll_header2', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: true, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'NORTH', layoutHeight:70, heightMode:'PX', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll2', panel: this , details:['searchform'] , dataRegionType: 'INHERIT' },
container_scroll2:{ name: 'container_scroll2', type: 'VIEWLAYOUT', caption: '滚动条容器', titleBarCloseMode: 0, isShowCaption: false, 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_scroll_main1', panel: this , details:['container_scroll_main2','container_scroll_header2'] , dataRegionType: 'INHERIT' }, container_scroll2:{ name: 'container_scroll2', type: 'VIEWLAYOUT', caption: '滚动条容器', titleBarCloseMode: 0, isShowCaption: false, 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_scroll_main1', panel: this , details:['container_scroll_main2','container_scroll_header2'] , 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:['container_scroll2'] , 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:['container_scroll2'] , dataRegionType: 'INHERIT' },
view_pagecaption:{ name: 'view_pagecaption', type: 'VIEWLAYOUT', caption: '页面标题', isShowCaption: false, sysCss: '', itemType: 'FIELD', 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_header1', panel: this , fieldState: '0', predefinedType: 'VIEW_PAGECAPTION', dataItemName:'', }, 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:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , fieldState: '0', predefinedType: 'VIEW_PAGECAPTION', dataItemName:'', },
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:80, heightMode:'PX', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll1', panel: this , details:['view_pagecaption'] , dataRegionType: 'INHERIT' }, 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:3, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid1', panel: this , details:['view_pagecaption'] , dataRegionType: 'INHERIT' },
toolbar:{ name: 'toolbar', type: 'VIEWLAYOUT', caption: '工具栏', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container2', panel: this },
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:9, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid1', panel: this , details:['toolbar'] , 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:'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:['container1','container2'] , 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:80, heightMode:'PX', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll1', panel: this , details:['container_grid1'] , 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:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['container_scroll_main1','container_scroll_header1'] , 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:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['container_scroll_main1','container_scroll_header1'] , dataRegionType: 'INHERIT' }
}; };
......
...@@ -407,6 +407,23 @@ export default class IBIZBOOKUIServiceBase extends UIService { ...@@ -407,6 +407,23 @@ export default class IBIZBOOKUIServiceBase extends UIService {
openPopupApp(url); openPopupApp(url);
} }
/**
* 加载
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public async IBIZBOOK_toolbar_CustomView_layouttoolbar_deuiaction1_click(args: any[], context:any = {} ,params: any={}, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
actionContext.$Notice.error({ title: '错误', desc: '不支持单项数据' });
}
/** /**
* 获取指定数据的重定向页面 * 获取指定数据的重定向页面
......
...@@ -590,7 +590,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -590,7 +590,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: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -626,7 +626,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -626,7 +626,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: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -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: 'IBIZBOOKUsr5DataView' + (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: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -1266,7 +1266,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1266,7 +1266,7 @@ export default class GuideReturnFormBase 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: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1301,7 +1301,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1301,7 +1301,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public loadDraft(opt: any = {}): void { public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1362,7 +1362,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1362,7 +1362,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1470,7 +1470,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1470,7 +1470,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1544,7 +1544,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1544,7 +1544,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -1800,7 +1800,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1800,7 +1800,7 @@ export default class MainBase 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: 'IBIZBOOKOptionView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1835,7 +1835,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1835,7 +1835,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {}): void { public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1897,7 +1897,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1897,7 +1897,7 @@ export default class MainBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -2005,7 +2005,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2005,7 +2005,7 @@ export default class MainBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -2082,7 +2082,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2082,7 +2082,7 @@ export default class MainBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -291,7 +291,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -291,7 +291,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) {
...@@ -413,6 +413,20 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -413,6 +413,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;
/** /**
* 是否嵌入关系界面 * 是否嵌入关系界面
...@@ -945,7 +959,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -945,7 +959,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){
...@@ -1040,7 +1054,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1040,7 +1054,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[] = [];
...@@ -1146,7 +1160,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1146,7 +1160,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){
...@@ -2063,7 +2077,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2063,7 +2077,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);
...@@ -2071,7 +2085,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2071,7 +2085,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){
...@@ -2138,7 +2152,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2138,7 +2152,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',
......
...@@ -531,7 +531,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -531,7 +531,7 @@ export default class MainBase extends Vue implements ControlInterface {
return Object.is(item.srfkey, selection.srfkey); return Object.is(item.srfkey, selection.srfkey);
}); });
if(selectedItem){ if(selectedItem){
this.rowClik(selectedItem); this.rowClick(selectedItem);
} }
}); });
} }
...@@ -876,7 +876,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -876,7 +876,7 @@ export default class MainBase extends Vue implements ControlInterface {
/** /**
* 表格数据加载 * 表格数据加载
*
* @param {*} [arg={}] * @param {*} [arg={}]
* @memberof MainBase * @memberof MainBase
*/ */
...@@ -1049,7 +1049,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1049,7 +1049,7 @@ export default class MainBase extends Vue implements ControlInterface {
resolve(response); resolve(response);
}).catch((response: any) => { }).catch((response: any) => {
if (response && response.status != 200) { if (response && response.status != 200) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: r sponse.data && response.data.message ? response.data.message : "" }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" });
return; return;
} }
if (!response || !response.status || !response.data) { if (!response || !response.status || !response.data) {
...@@ -1267,7 +1267,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1267,7 +1267,7 @@ export default class MainBase extends Vue implements ControlInterface {
const arrayValue: Array<any> = (value as any).split(codelist.valueSeparator); const arrayValue: Array<any> = (value as any).split(codelist.valueSeparator);
arrayValue.map((value: any, index: number) => { arrayValue.map((value: any, index: number) => {
result.push([]); result.push([]);
c let values: any[] = Object.is(this.$util.typeOf(value), 'number') ? [value] : [...(value as any).split(codelist.valueSeparator)]; let values: any[] = Object.is(this.$util.typeOf(value), 'number') ? [value] : [...(value as any).split(codelist.valueSeparator)];
values.map((val:any ,num: number)=>{ values.map((val:any ,num: number)=>{
const item = this.getItem(items, val, codelist); const item = this.getItem(items, val, codelist);
if(item){ if(item){
...@@ -1529,7 +1529,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1529,7 +1529,7 @@ export default class MainBase extends Vue implements ControlInterface {
child.push(item); child.push(item);
} }
if(i < 0){ if(i < 0){
item.gr upById = Number((allGroup.length+1) * 100 + (index+1) * 1); item.groupById = Number((allGroup.length+1) * 100 + (index+1) * 1);
item.group = ''; item.group = '';
child.push(item); child.push(item);
} }
...@@ -1779,7 +1779,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1779,7 +1779,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (Object.is(selectIndex,-1)){ if (Object.is(selectIndex,-1)){
this.selections.push(JSON.parse(JSON.stringify($event))); this.selections.push(JSON.parse(JSON.stringify($event)));
} else { } else {
f this.selections.splice(selectIndex,1); this.selections.splice(selectIndex,1);
} }
const refs: any = this.$refs; const refs: any = this.$refs;
...@@ -2018,7 +2018,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2018,7 +2018,7 @@ export default class MainBase extends Vue implements ControlInterface {
desc: (desc ? desc.label : '') + " : " + item[name] + (this.$t('app.commonWords.isExist') as string) + '!', desc: (desc ? desc.label : '') + " : " + item[name] + (this.$t('app.commonWords.isExist') as string) + '!',
}); });
} else { } else {
this.$Notice.er or({ this.$Notice.error({
title: (this.$t('app.commonWords.createFailed') as string), title: (this.$t('app.commonWords.createFailed') as string),
desc: errorMessage[index].data.message?errorMessage[index].data.message:(this.$t('app.commonWords.sysException') as string), desc: errorMessage[index].data.message?errorMessage[index].data.message:(this.$t('app.commonWords.sysException') as string),
}); });
...@@ -2224,7 +2224,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2224,7 +2224,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
}) })
}) })
if(count === rows.letgth) { if(count === rows.length) {
(this.$refs.multipleTable as any).toggleRowSelection(currentRow, true); (this.$refs.multipleTable as any).toggleRowSelection(currentRow, true);
return 'cell-select-all '; return 'cell-select-all ';
} else if(count !== 0 && count < rows.length) { } else if(count !== 0 && count < rows.length) {
......
...@@ -2030,6 +2030,28 @@ ...@@ -2030,6 +2030,28 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1104773172_button_openview2_click", "uIActionTag" : "panel_Usr1104773172_button_openview2_click",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "SINGLEDATA",
"caption" : "加载",
"codeName" : "toolbar_CustomView_layouttoolbar_deuiaction1_click",
"frontProcessType" : "OTHER",
"fullCodeName" : "IBIZBOOK_toolbar_CustomView_layouttoolbar_deuiaction1_click",
"name" : "加载",
"getPSAppDEUILogic" : {
"modelref" : true,
"id" : "GridLoad"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "toolbar_CustomView_layouttoolbar_deuiaction1_click",
"uIActionType" : "DEUIACTION",
"uILogicAttachMode" : "REPLACE",
"uILogicType" : "DELOGIC",
"id" : "toolbar_CustomView_layouttoolbar_deuiaction1_click@IBIZBOOK"
} ], } ],
"getAllPSAppDEUILogics" : [ { "getAllPSAppDEUILogics" : [ {
"codeName" : "GridLoad", "codeName" : "GridLoad",
...@@ -2054,137 +2076,92 @@ ...@@ -2054,137 +2076,92 @@
} ], } ],
"parallelOutput" : true "parallelOutput" : true
}, { }, {
"codeName" : "DEACTION1", "codeName" : "BINDPARAM1",
"getDstPSAppDEAction" : {
"modelref" : true,
"id" : "Get"
},
"getDstPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getDstPSDEUILogicParam" : { "getDstPSDEUILogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "otherParam" "id" : "searchForm"
}, },
"logicNodeType" : "DEACTION", "logicNodeType" : "BINDPARAM",
"name" : "实体行为", "name" : "绑定搜索表单",
"getPSDEUILogicLinks" : [ { "getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : { "getDstPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "END1" "id" : "BINDPARAM2"
}, },
"linkMode" : 0, "linkMode" : 0,
"name" : "连接名称", "name" : "连接名称",
"getSrcPSDEUILogicNode" : { "getSrcPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "DEACTION1" "id" : "BINDPARAM1"
} }
} ], } ],
"getRetPSDEUILogicParam" : { "srcFieldName" : "searchform",
"getSrcPSDEUILogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "view"
} }
}, { }, {
"codeName" : "PREPAREJSPARAM1", "codeName" : "DEACTION1",
"logicNodeType" : "PREPAREJSPARAM", "getDstPSAppDEAction" : {
"name" : "准备参数",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEACTION1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM1"
}
} ],
"getPSDEUILogicNodeParams" : [ {
"dstFieldName" : "book",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "otherParam"
},
"name" : "直接值[12] ==> otherParam[book]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "12",
"srcValueType" : "SRCVALUE"
} ]
}, {
"codeName" : "END1",
"logicNodeType" : "END",
"name" : "结束",
"getReturnParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "Get"
},
"getDstPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"returnType" : "LOGICPARAM"
}, {
"codeName" : "BINDPARAM1",
"getDstPSDEUILogicParam" : { "getDstPSDEUILogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "searchForm" "id" : "otherParam"
}, },
"logicNodeType" : "BINDPARAM", "logicNodeType" : "DEACTION",
"name" : "绑定搜索表单", "name" : "实体行为",
"getPSDEUILogicLinks" : [ { "getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : { "getDstPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "BINDPARAM2" "id" : "END1"
}, },
"linkMode" : 0, "linkMode" : 0,
"name" : "连接名称", "name" : "连接名称",
"getSrcPSDEUILogicNode" : { "getSrcPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "BINDPARAM1" "id" : "DEACTION1"
} }
} ], } ],
"srcFieldName" : "searchform", "getRetPSDEUILogicParam" : {
"getSrcPSDEUILogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "view" "id" : "Default"
} }
}, { }, {
"codeName" : "VIEWCTRLINVOKE1", "codeName" : "VIEWCTRLINVOKE2",
"getInvokeCtrl" : { "getInvokeCtrl" : {
"modelref" : true, "modelref" : true,
"id" : "searchForm" "id" : "grid"
}, },
"invokeMethod" : "loadDraft", "invokeMethod" : "load",
"getInvokeParam" : { "getInvokeParam" : {
"modelref" : true, "modelref" : true,
"id" : "viewParam" "id" : "viewParam"
}, },
"logicNodeType" : "VIEWCTRLINVOKE", "logicNodeType" : "VIEWCTRLINVOKE",
"name" : "搜索表单loadDraft", "name" : "表格加载",
"getPSDEUILogicLinks" : [ { "getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : { "getDstPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "VIEWCTRLINVOKE2" "id" : "DELOGIC1"
}, },
"linkMode" : 0, "linkMode" : 0,
"name" : "连接名称", "name" : "连接名称",
"getSrcPSDEUILogicNode" : { "getSrcPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "VIEWCTRLINVOKE1" "id" : "VIEWCTRLINVOKE2"
} }
} ] } ]
}, {
"buttonsType" : "OK",
"codeName" : "MSGBOX1",
"logicNodeType" : "MSGBOX",
"message" : "我被触发啦",
"msgBoxType" : "INFO",
"name" : "消息弹窗",
"showMode" : "CENTER",
"title" : "触发"
}, { }, {
"codeName" : "DELOGIC1", "codeName" : "DELOGIC1",
"getDstPSAppDELogic" : { "getDstPSAppDELogic" : {
"modelref" : true, "modelref" : true,
"id" : "print" "id" : "initData"
}, },
"getDstPSAppDataEntity" : { "getDstPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -2220,29 +2197,40 @@ ...@@ -2220,29 +2197,40 @@
} }
} ] } ]
}, { }, {
"codeName" : "VIEWCTRLINVOKE2", "codeName" : "END1",
"getInvokeCtrl" : { "logicNodeType" : "END",
"modelref" : true, "name" : "结束",
"id" : "grid" "getReturnParam" : {
},
"invokeMethod" : "load",
"getInvokeParam" : {
"modelref" : true, "modelref" : true,
"id" : "viewParam" "id" : "Default"
}, },
"logicNodeType" : "VIEWCTRLINVOKE", "returnType" : "LOGICPARAM"
"name" : "表格加载", }, {
"codeName" : "PREPAREJSPARAM1",
"logicNodeType" : "PREPAREJSPARAM",
"name" : "准备参数",
"getPSDEUILogicLinks" : [ { "getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : { "getDstPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "DELOGIC1" "id" : "DEACTION1"
}, },
"linkMode" : 0, "linkMode" : 0,
"name" : "连接名称", "name" : "连接名称",
"getSrcPSDEUILogicNode" : { "getSrcPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "VIEWCTRLINVOKE2" "id" : "PREPAREJSPARAM1"
} }
} ],
"getPSDEUILogicNodeParams" : [ {
"dstFieldName" : "book",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "otherParam"
},
"name" : "直接值[12] ==> otherParam[book]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "12",
"srcValueType" : "SRCVALUE"
} ] } ]
}, { }, {
"codeName" : "BINDPARAM2", "codeName" : "BINDPARAM2",
...@@ -2269,37 +2257,71 @@ ...@@ -2269,37 +2257,71 @@
"modelref" : true, "modelref" : true,
"id" : "view" "id" : "view"
} }
}, {
"codeName" : "VIEWCTRLINVOKE1",
"getInvokeCtrl" : {
"modelref" : true,
"id" : "searchForm"
},
"invokeMethod" : "loadDraft",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "搜索表单loadDraft",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE2"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE1"
}
} ]
}, {
"buttonsType" : "OK",
"codeName" : "MSGBOX1",
"logicNodeType" : "MSGBOX",
"message" : "我被触发啦",
"msgBoxType" : "INFO",
"name" : "消息弹窗",
"showMode" : "CENTER",
"title" : "触发"
} ], } ],
"getPSDEUILogicParams" : [ { "getPSDEUILogicParams" : [ {
"codeName" : "view", "codeName" : "grid",
"logicName" : "当前视图", "logicName" : "当前表格",
"name" : "当前视图", "name" : "当前表格",
"activeViewParam" : true "ctrlParam" : true
}, {
"codeName" : "otherParam",
"logicName" : "额外参数",
"name" : "额外参数",
"entityParam" : true
}, { }, {
"codeName" : "viewParam", "codeName" : "viewParam",
"logicName" : "当前视图参数", "logicName" : "当前视图参数",
"name" : "当前视图参数", "name" : "当前视图参数",
"viewNavDataParam" : true "viewNavDataParam" : true
}, { }, {
"codeName" : "grid", "codeName" : "view",
"logicName" : "当前表格", "logicName" : "当前视图",
"name" : "当前表格", "name" : "当前视图",
"ctrlParam" : true "activeViewParam" : true
}, {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"default" : true,
"entityParam" : true
}, { }, {
"codeName" : "searchForm", "codeName" : "searchForm",
"logicName" : "当前搜索表单", "logicName" : "当前搜索表单",
"name" : "当前搜索表单", "name" : "当前搜索表单",
"ctrlParam" : true "ctrlParam" : true
}, { }, {
"codeName" : "Default", "codeName" : "otherParam",
"logicName" : "传入变量", "logicName" : "额外参数",
"name" : "传入变量", "name" : "额外参数",
"default" : true,
"entityParam" : true "entityParam" : true
} ], } ],
"getStartPSDEUILogicNode" : { "getStartPSDEUILogicNode" : {
......
...@@ -144,23 +144,72 @@ ...@@ -144,23 +144,72 @@
"layoutPos" : "NORTH" "layoutPos" : "NORTH"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "页面标题", "caption" : "栅格容器",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "FIELD", "itemType" : "CONTAINER",
"name" : "view_pagecaption", "name" : "container_grid1",
"getPSEditor" : { "getPSLayout" : {
"editorType" : "SPAN", "layout" : "SIMPLEFLEX"
"name" : "view_pagecaption",
"predefinedType" : "VIEW_PAGECAPTION",
"renderMode" : "HEADING1",
"enableLinkView" : false
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"layout" : "BORDER", "layout" : "BORDER",
"layoutPos" : "CENTER" "layoutPos" : "CENTER"
}, },
"hidden" : false, "getPSPanelItems" : [ {
"showCaption" : false "caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : 3,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "页面标题",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "view_pagecaption",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "view_pagecaption",
"predefinedType" : "VIEW_PAGECAPTION",
"renderMode" : "HEADING1",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "SIMPLEFLEX"
},
"hidden" : false,
"showCaption" : false
} ]
}, {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : 9,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "工具栏",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "toolbar",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "SIMPLEFLEX"
},
"showCaption" : true
} ]
} ]
} ], } ],
"showCaption" : true "showCaption" : true
} ] } ]
......
...@@ -11,10 +11,34 @@ ...@@ -11,10 +11,34 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSAppViewLogics" : [ {
"eventArg" : "deuiaction1",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction1"
},
"getPSViewCtrlName" : "toolbar"
} ],
"getPSAppViewMsgGroup" : { "getPSAppViewMsgGroup" : {
"modelref" : true, "modelref" : true,
"id" : "VMGroup85" "id" : "VMGroup85"
}, },
"getPSAppViewUIActions" : [ {
"name" : "toolbar_deuiaction1",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref" : true,
"id" : "toolbar_CustomView_layouttoolbar_deuiaction1_click@IBIZBOOK"
},
"uIActionTarget" : "SINGLEDATA"
} ],
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "Default", "codeName" : "Default",
"controlType" : "SEARCHFORM", "controlType" : "SEARCHFORM",
...@@ -448,6 +472,69 @@ ...@@ -448,6 +472,69 @@
"name" : "grid", "name" : "grid",
"modelid" : "6cd11a010cbbb4d2bad5e1aad7e8020a", "modelid" : "6cd11a010cbbb4d2bad5e1aad7e8020a",
"modeltype" : "PSDEGRID" "modeltype" : "PSDEGRID"
}, {
"codeName" : "CustomView_layouttoolbar",
"controlType" : "TOOLBAR",
"hookEventNames" : [ "CLICK" ],
"logicName" : "测试界面逻辑",
"name" : "toolbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlLogics" : [ {
"eventArg" : "deuiaction1",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction1_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_deuiaction1_click"
}
} ],
"getPSControlParam" : {
"id" : "TOOLBAR"
},
"getPSDEToolbarItems" : [ {
"caption" : "加载",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction1",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction1"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEDATA",
"caption" : "加载",
"codeName" : "toolbar_CustomView_layouttoolbar_deuiaction1_click",
"frontProcessType" : "OTHER",
"fullCodeName" : "IBIZBOOK_toolbar_CustomView_layouttoolbar_deuiaction1_click",
"name" : "加载",
"getPSAppDEUILogic" : {
"modelref" : true,
"id" : "GridLoad"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "toolbar_CustomView_layouttoolbar_deuiaction1_click",
"uIActionType" : "DEUIACTION",
"uILogicAttachMode" : "REPLACE",
"uILogicType" : "DELOGIC",
"id" : "toolbar_CustomView_layouttoolbar_deuiaction1_click@IBIZBOOK"
},
"tooltip" : "加载",
"showCaption" : true,
"showIcon" : true
} ],
"modelid" : "CAB0429D-EB11-472A-BFA4-F9D1445A2AFD",
"modeltype" : "PSDETOOLBAR"
} ], } ],
"getPSDEViewCodeName" : "CustomView_layout", "getPSDEViewCodeName" : "CustomView_layout",
"getPSDEViewId" : "8E256DEB-D2D3-4FA4-891E-309B320E93D8", "getPSDEViewId" : "8E256DEB-D2D3-4FA4-891E-309B320E93D8",
...@@ -578,23 +665,72 @@ ...@@ -578,23 +665,72 @@
"layoutPos" : "NORTH" "layoutPos" : "NORTH"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "页面标题", "caption" : "栅格容器",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "FIELD", "itemType" : "CONTAINER",
"name" : "view_pagecaption", "name" : "container_grid1",
"getPSEditor" : { "getPSLayout" : {
"editorType" : "SPAN", "layout" : "SIMPLEFLEX"
"name" : "view_pagecaption",
"predefinedType" : "VIEW_PAGECAPTION",
"renderMode" : "HEADING1",
"enableLinkView" : false
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"layout" : "BORDER", "layout" : "BORDER",
"layoutPos" : "CENTER" "layoutPos" : "CENTER"
}, },
"hidden" : false, "getPSPanelItems" : [ {
"showCaption" : false "caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : 3,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "页面标题",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "view_pagecaption",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "view_pagecaption",
"predefinedType" : "VIEW_PAGECAPTION",
"renderMode" : "HEADING1",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "SIMPLEFLEX"
},
"hidden" : false,
"showCaption" : false
} ]
}, {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : 9,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "工具栏",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "toolbar",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "SIMPLEFLEX"
},
"showCaption" : true
} ]
} ]
} ], } ],
"showCaption" : true "showCaption" : true
} ] } ]
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-262-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-273-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>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册