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

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

上级 b71f4915
...@@ -62,7 +62,7 @@ function getLocaleResourceBase(){ ...@@ -62,7 +62,7 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
customeditviewusr1109559507toolbar_toolbar: { customeditviewtoolbar_toolbar: {
deuiaction1: { deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null), tip: commonLogic.appcommonhandle("新建",null),
...@@ -76,7 +76,7 @@ function getLocaleResourceBase(){ ...@@ -76,7 +76,7 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("保存并关闭",null), tip: commonLogic.appcommonhandle("保存并关闭",null),
}, },
}, },
customgridviewusr1109253798toolbar_toolbar: { customgridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null), tip: commonLogic.appcommonhandle("新建",null),
......
...@@ -62,7 +62,7 @@ function getLocaleResourceBase(){ ...@@ -62,7 +62,7 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
customeditviewusr1109559507toolbar_toolbar: { customeditviewtoolbar_toolbar: {
deuiaction1: { deuiaction1: {
caption: commonLogic.appcommonhandle("New",null), caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null), tip: commonLogic.appcommonhandle("New",null),
...@@ -76,7 +76,7 @@ function getLocaleResourceBase(){ ...@@ -76,7 +76,7 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("Save And Close Window",null), tip: commonLogic.appcommonhandle("Save And Close Window",null),
}, },
}, },
customgridviewusr1109253798toolbar_toolbar: { customgridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("New",null), caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null), tip: commonLogic.appcommonhandle("New",null),
......
...@@ -62,7 +62,7 @@ function getLocaleResourceBase(){ ...@@ -62,7 +62,7 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
customeditviewusr1109559507toolbar_toolbar: { customeditviewtoolbar_toolbar: {
deuiaction1: { deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null), tip: commonLogic.appcommonhandle("新建",null),
...@@ -76,7 +76,7 @@ function getLocaleResourceBase(){ ...@@ -76,7 +76,7 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("保存并关闭",null), tip: commonLogic.appcommonhandle("保存并关闭",null),
}, },
}, },
customgridviewusr1109253798toolbar_toolbar: { customgridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null), tip: commonLogic.appcommonhandle("新建",null),
......
...@@ -13,29 +13,29 @@ ...@@ -13,29 +13,29 @@
</template> </template>
<template #container2> <template #container2>
<app-simpleflex-container name="container2" :layoutModelDetails="layoutModelDetails"> <app-simpleflex-container name="container2" :layoutModelDetails="layoutModelDetails">
<template #usr1109559507toolbar> <template #toolbar>
<app-ctrl-pos name="usr1109559507toolbar" :layoutModelDetails="layoutModelDetails"> <app-ctrl-pos name="toolbar" :layoutModelDetails="layoutModelDetails">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="customeditviewusr1109559507toolbarModels.deuiaction1.visabled" :disabled="customeditviewusr1109559507toolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="usr1109559507toolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i> <i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizcustom.customeditviewusr1109559507toolbar_toolbar.deuiaction1.caption')}}</span> <span class='caption'>{{$t('entities.ibizcustom.customeditviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizcustom.customeditviewusr1109559507toolbar_toolbar.deuiaction1.tip')}}</div> <div slot='content'>{{$t('entities.ibizcustom.customeditviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="customeditviewusr1109559507toolbarModels.tbitem3.visabled" :disabled="customeditviewusr1109559507toolbarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-button-loading:i-button @click="usr1109559507toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
<span class='caption'>{{$t('entities.ibizcustom.customeditviewusr1109559507toolbar_toolbar.tbitem3.caption')}}</span> <span class='caption'>{{$t('entities.ibizcustom.customeditviewtoolbar_toolbar.tbitem3.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizcustom.customeditviewusr1109559507toolbar_toolbar.tbitem3.tip')}}</div> <div slot='content'>{{$t('entities.ibizcustom.customeditviewtoolbar_toolbar.tbitem3.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="customeditviewusr1109559507toolbarModels.tbitem5.visabled" :disabled="customeditviewusr1109559507toolbarModels.tbitem5.disabled" class='' v-button-loading:i-button @click="usr1109559507toolbar_click({ tag: 'tbitem5' }, $event)"> <i-button v-show="toolBarModels.tbitem5.visabled" :disabled="toolBarModels.tbitem5.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem5' }, $event)">
<i class='sx-tb-saveandclose'></i> <i class='sx-tb-saveandclose'></i>
<span class='caption'>{{$t('entities.ibizcustom.customeditviewusr1109559507toolbar_toolbar.tbitem5.caption')}}</span> <span class='caption'>{{$t('entities.ibizcustom.customeditviewtoolbar_toolbar.tbitem5.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizcustom.customeditviewusr1109559507toolbar_toolbar.tbitem5.tip')}}</div> <div slot='content'>{{$t('entities.ibizcustom.customeditviewtoolbar_toolbar.tbitem5.tip')}}</div>
</tooltip> </tooltip>
</div> </div>
</app-ctrl-pos> </app-ctrl-pos>
...@@ -44,9 +44,9 @@ ...@@ -44,9 +44,9 @@
</template> </template>
</app-simpleflex-container> </app-simpleflex-container>
</template> </template>
<template #usr1109034916form> <template #form>
<app-ctrl-pos name="usr1109034916form" :layoutModelDetails="layoutModelDetails"> <app-ctrl-pos name="form" :layoutModelDetails="layoutModelDetails">
<view_usr1109034916form <view_form
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
:context="context" :context="context"
...@@ -62,10 +62,10 @@ ...@@ -62,10 +62,10 @@
WFSubmitAction="" WFSubmitAction=""
WFStartAction="" WFStartAction=""
style='' style=''
name="usr1109034916form" name="form"
ref='usr1109034916form' ref='form'
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_usr1109034916form> </view_form>
</app-ctrl-pos> </app-ctrl-pos>
</template> </template>
</app-standard-container> </app-standard-container>
...@@ -249,8 +249,8 @@ export default class IBIZCustomCustomEditViewBase extends Vue { ...@@ -249,8 +249,8 @@ export default class IBIZCustomCustomEditViewBase extends Vue {
* @memberof IBIZCustomCustomEditViewBase * @memberof IBIZCustomCustomEditViewBase
*/ */
public containerModel: any = { public containerModel: any = {
view_usr1109559507toolbar: { name: 'usr1109559507toolbar', type: 'TOOLBAR' }, view_toolbar: { name: 'toolbar', type: 'TOOLBAR' },
view_usr1109034916form: { name: 'usr1109034916form', type: 'FORM' }, view_form: { name: 'form', type: 'FORM' },
}; };
/** /**
...@@ -286,6 +286,21 @@ export default class IBIZCustomCustomEditViewBase extends Vue { ...@@ -286,6 +286,21 @@ export default class IBIZCustomCustomEditViewBase extends Vue {
* @memberof IBIZCustomCustomEditViewBase * @memberof IBIZCustomCustomEditViewBase
*/ */
public viewState: Subject<ViewState> = new Subject(); public viewState: Subject<ViewState> = new Subject();
/**
* 工具栏模型
*
* @type {*}
* @memberof IBIZCustomCustomEditView
*/
public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
};
/** /**
* 视图布局顶级成员名称 * 视图布局顶级成员名称
...@@ -304,11 +319,11 @@ export default class IBIZCustomCustomEditViewBase extends Vue { ...@@ -304,11 +319,11 @@ export default class IBIZCustomCustomEditViewBase extends Vue {
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:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: 'VIEW_PAGECAPTION', renderMode: 'HEADING1', dataItemName:'', wrapMode:'', vAlign:'', hAlign:'', }, 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 , required: false, fieldState: '0', predefinedType: 'VIEW_PAGECAPTION', renderMode: 'HEADING1', dataItemName:'', wrapMode:'', vAlign:'', hAlign:'', },
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' }, 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' },
usr1109559507toolbar:{ name: 'usr1109559507toolbar', 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 }, 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:['usr1109559507toolbar'] , 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: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:'', 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','container2'] , 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','container2'] , dataRegionType: 'INHERIT' },
usr1109034916form:{ name: 'usr1109034916form', 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: 'page_container', panel: this }, form:{ name: 'form', 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: 'page_container', panel: this },
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','usr1109034916form'] , 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','form'] , dataRegionType: 'INHERIT' }
}; };
/** /**
...@@ -840,35 +855,40 @@ export default class IBIZCustomCustomEditViewBase extends Vue { ...@@ -840,35 +855,40 @@ export default class IBIZCustomCustomEditViewBase extends Vue {
const _this: any = this; const _this: any = this;
_this.initLayout().then((result: any) => { _this.initLayout().then((result: any) => {
_this.isLayoutLoadding = false; _this.isLayoutLoadding = false;
_this.engineInit(); this.appUIService.executeUILogic('CustomViewFormLoad', [], this.context, this.viewparams, {}, {}, this, 'IBIZCustom').then((result: any) => {
if (_this.loadModel && _this.loadModel instanceof Function) { if (result && result.hasOwnProperty('srfret') && !result.srfret) {
_this.loadModel(); return;
} }
_this.engineInit();
if (_this.loadModel && _this.loadModel instanceof Function) {
_this.loadModel();
}
});
}) })
} }
/** /**
* usr1109559507toolbar 部件 click 事件 * toolbar 部件 click 事件
* *
* @param {*} [args={}] * @param {*} [args={}]
* @param {*} $event * @param {*} $event
* @memberof IBIZCustomCustomEditViewBase * @memberof IBIZCustomCustomEditViewBase
*/ */
public usr1109559507toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) { if (Object.is($event.tag, 'deuiaction1')) {
this.usr1109559507toolbar_deuiaction1_click(null, '', $event2); this.toolbar_deuiaction1_click(null, '', $event2);
} }
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.usr1109559507toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
if (Object.is($event.tag, 'tbitem5')) { if (Object.is($event.tag, 'tbitem5')) {
this.usr1109559507toolbar_tbitem5_click(null, '', $event2); this.toolbar_tbitem5_click(null, '', $event2);
} }
if (Object.is($event.tag, 'tbitem9')) { if (Object.is($event.tag, 'tbitem9')) {
this.usr1109559507toolbar_tbitem9_click(null, '', $event2); this.toolbar_tbitem9_click(null, '', $event2);
} }
if (Object.is($event.tag, 'tbitem15')) { if (Object.is($event.tag, 'tbitem15')) {
this.usr1109559507toolbar_tbitem15_click(null, '', $event2); this.toolbar_tbitem15_click(null, '', $event2);
} }
} }
...@@ -881,7 +901,7 @@ export default class IBIZCustomCustomEditViewBase extends Vue { ...@@ -881,7 +901,7 @@ export default class IBIZCustomCustomEditViewBase extends Vue {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public usr1109559507toolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) { public toolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -908,7 +928,7 @@ export default class IBIZCustomCustomEditViewBase extends Vue { ...@@ -908,7 +928,7 @@ export default class IBIZCustomCustomEditViewBase extends Vue {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public usr1109559507toolbar_tbitem3_click(params: any = {}, tag?: any, $event?: any) { public toolbar_tbitem3_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -935,7 +955,7 @@ export default class IBIZCustomCustomEditViewBase extends Vue { ...@@ -935,7 +955,7 @@ export default class IBIZCustomCustomEditViewBase extends Vue {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public usr1109559507toolbar_tbitem5_click(params: any = {}, tag?: any, $event?: any) { public toolbar_tbitem5_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -962,7 +982,7 @@ export default class IBIZCustomCustomEditViewBase extends Vue { ...@@ -962,7 +982,7 @@ export default class IBIZCustomCustomEditViewBase extends Vue {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public usr1109559507toolbar_tbitem9_click(params: any = {}, tag?: any, $event?: any) { public toolbar_tbitem9_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -989,7 +1009,7 @@ export default class IBIZCustomCustomEditViewBase extends Vue { ...@@ -989,7 +1009,7 @@ export default class IBIZCustomCustomEditViewBase extends Vue {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public usr1109559507toolbar_tbitem15_click(params: any = {}, tag?: any, $event?: any) { public toolbar_tbitem15_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
......
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
import { Component } from 'vue-property-decorator'; import { Component } from 'vue-property-decorator';
import IBIZCustomCustomEditViewBase from './ibizcustom-custom-edit-view-base.vue'; import IBIZCustomCustomEditViewBase from './ibizcustom-custom-edit-view-base.vue';
import view_usr1109034916form from '@widgets/ibizcustom/main-form/main-form.vue'; import view_form from '@widgets/ibizcustom/main-form/main-form.vue';
@Component({ @Component({
components: { components: {
view_usr1109034916form, view_form,
}, },
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
......
...@@ -13,86 +13,86 @@ ...@@ -13,86 +13,86 @@
</template> </template>
<template #container2> <template #container2>
<app-simpleflex-container name="container2" :layoutModelDetails="layoutModelDetails"> <app-simpleflex-container name="container2" :layoutModelDetails="layoutModelDetails">
<template #usr1109253798toolbar> <template #toolbar>
<app-ctrl-pos name="usr1109253798toolbar" :layoutModelDetails="layoutModelDetails"> <app-ctrl-pos name="toolbar" :layoutModelDetails="layoutModelDetails">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="customgridviewusr1109253798toolbarModels.tbitem3.visabled" :disabled="customgridviewusr1109253798toolbarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-button-loading:i-button @click="usr1109253798toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-file-text-o'></i> <i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizcustom.customgridviewusr1109253798toolbar_toolbar.tbitem3.caption')}}</span> <span class='caption'>{{$t('entities.ibizcustom.customgridviewtoolbar_toolbar.tbitem3.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizcustom.customgridviewusr1109253798toolbar_toolbar.tbitem3.tip')}}</div> <div slot='content'>{{$t('entities.ibizcustom.customgridviewtoolbar_toolbar.tbitem3.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="customgridviewusr1109253798toolbarModels.deuiaction2.visabled" :disabled="customgridviewusr1109253798toolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="usr1109253798toolbar_click({ tag: 'deuiaction2' }, $event)"> <i-button v-show="toolBarModels.deuiaction2.visabled" :disabled="toolBarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'deuiaction2' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
<span class='caption'>{{$t('entities.ibizcustom.customgridviewusr1109253798toolbar_toolbar.deuiaction2.caption')}}</span> <span class='caption'>{{$t('entities.ibizcustom.customgridviewtoolbar_toolbar.deuiaction2.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizcustom.customgridviewusr1109253798toolbar_toolbar.deuiaction2.tip')}}</div> <div slot='content'>{{$t('entities.ibizcustom.customgridviewtoolbar_toolbar.deuiaction2.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="customgridviewusr1109253798toolbarModels.tbitem4.visabled" :disabled="customgridviewusr1109253798toolbarModels.tbitem4.disabled" class='' v-button-loading:i-button @click="usr1109253798toolbar_click({ tag: 'tbitem4' }, $event)"> <i-button v-show="toolBarModels.tbitem4.visabled" :disabled="toolBarModels.tbitem4.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem4' }, $event)">
<span class='caption'>{{$t('entities.ibizcustom.customgridviewusr1109253798toolbar_toolbar.tbitem4.caption')}}</span> <span class='caption'>{{$t('entities.ibizcustom.customgridviewtoolbar_toolbar.tbitem4.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizcustom.customgridviewusr1109253798toolbar_toolbar.tbitem4.tip')}}</div> <div slot='content'>{{$t('entities.ibizcustom.customgridviewtoolbar_toolbar.tbitem4.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="customgridviewusr1109253798toolbarModels.tbitem6.visabled" :disabled="customgridviewusr1109253798toolbarModels.tbitem6.disabled" class='' v-button-loading:i-button @click="usr1109253798toolbar_click({ tag: 'tbitem6' }, $event)"> <i-button v-show="toolBarModels.tbitem6.visabled" :disabled="toolBarModels.tbitem6.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem6' }, $event)">
<span class='caption'>{{$t('entities.ibizcustom.customgridviewusr1109253798toolbar_toolbar.tbitem6.caption')}}</span> <span class='caption'>{{$t('entities.ibizcustom.customgridviewtoolbar_toolbar.tbitem6.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizcustom.customgridviewusr1109253798toolbar_toolbar.tbitem6.tip')}}</div> <div slot='content'>{{$t('entities.ibizcustom.customgridviewtoolbar_toolbar.tbitem6.tip')}}</div>
</tooltip> </tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="customgridviewusr1109253798toolbarModels.tbitem8.visabled" :disabled="customgridviewusr1109253798toolbarModels.tbitem8.disabled" class='' v-button-loading:i-button @click="usr1109253798toolbar_click({ tag: 'tbitem8' }, $event)"> <i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem8' }, $event)">
<span class='caption'>{{$t('entities.ibizcustom.customgridviewusr1109253798toolbar_toolbar.tbitem8.caption')}}</span> <span class='caption'>{{$t('entities.ibizcustom.customgridviewtoolbar_toolbar.tbitem8.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizcustom.customgridviewusr1109253798toolbar_toolbar.tbitem8.tip')}}</div> <div slot='content'>{{$t('entities.ibizcustom.customgridviewtoolbar_toolbar.tbitem8.tip')}}</div>
</tooltip> </tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<app-export-excel :item="customgridviewusr1109253798toolbarModels.tbitem13" :caption="$t('entities.ibizcustom.customgridviewusr1109253798toolbar_toolbar.tbitem13.caption')" @exportexcel="usr1109253798toolbar_click({ tag: 'tbitem13' }, $event)"></app-export-excel> <app-export-excel :item="toolBarModels.tbitem13" :caption="$t('entities.ibizcustom.customgridviewtoolbar_toolbar.tbitem13.caption')" @exportexcel="toolbar_click({ tag: 'tbitem13' }, $event)"></app-export-excel>
<div slot='content'>{{$t('entities.ibizcustom.customgridviewusr1109253798toolbar_toolbar.tbitem13.tip')}}</div> <div slot='content'>{{$t('entities.ibizcustom.customgridviewtoolbar_toolbar.tbitem13.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="customgridviewusr1109253798toolbarModels.deuiaction1.visabled" :disabled="customgridviewusr1109253798toolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="usr1109253798toolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-upload'></i> <i class='fa fa-upload'></i>
<span class='caption'>{{$t('entities.ibizcustom.customgridviewusr1109253798toolbar_toolbar.deuiaction1.caption')}}</span> <span class='caption'>{{$t('entities.ibizcustom.customgridviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizcustom.customgridviewusr1109253798toolbar_toolbar.deuiaction1.tip')}}</div> <div slot='content'>{{$t('entities.ibizcustom.customgridviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip> </tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<dropdown v-show="customgridviewusr1109253798toolbarModels.tbitem16.visabled" trigger='click'> <dropdown v-show="toolBarModels.tbitem16.visabled" trigger='click'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button class=''> <i-button class=''>
<i class=''></i> <i class=''></i>
<span class='caption'>{{$t('entities.ibizcustom.customgridviewusr1109253798toolbar_toolbar.tbitem16.caption')}}</span> <span class='caption'>{{$t('entities.ibizcustom.customgridviewtoolbar_toolbar.tbitem16.caption')}}</span>
<icon type="ios-arrow-down"></icon> <icon type="ios-arrow-down"></icon>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizcustom.customgridviewusr1109253798toolbar_toolbar.tbitem16.tip')}}</div> <div slot='content'>{{$t('entities.ibizcustom.customgridviewtoolbar_toolbar.tbitem16.tip')}}</div>
</tooltip> </tooltip>
<dropdown-menu slot='list'> <dropdown-menu slot='list'>
<dropdown-item> <dropdown-item>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="customgridviewusr1109253798toolbarModels.tbitem21.visabled" :disabled="customgridviewusr1109253798toolbarModels.tbitem21.disabled" class='' v-button-loading:i-button @click="usr1109253798toolbar_click({ tag: 'tbitem21' }, $event)"> <i-button v-show="toolBarModels.tbitem21.visabled" :disabled="toolBarModels.tbitem21.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem21' }, $event)">
<i class='fa fa-download'></i> <i class='fa fa-download'></i>
<span class='caption'>{{$t('entities.ibizcustom.customgridviewusr1109253798toolbar_toolbar.tbitem21.caption')}}</span> <span class='caption'>{{$t('entities.ibizcustom.customgridviewtoolbar_toolbar.tbitem21.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizcustom.customgridviewusr1109253798toolbar_toolbar.tbitem21.tip')}}</div> <div slot='content'>{{$t('entities.ibizcustom.customgridviewtoolbar_toolbar.tbitem21.tip')}}</div>
</tooltip> </tooltip>
</dropdown-item> </dropdown-item>
<dropdown-item> <dropdown-item>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="customgridviewusr1109253798toolbarModels.tbitem23.visabled" :disabled="customgridviewusr1109253798toolbarModels.tbitem23.disabled" class='' v-button-loading:i-button @click="usr1109253798toolbar_click({ tag: 'tbitem23' }, $event)"> <i-button v-show="toolBarModels.tbitem23.visabled" :disabled="toolBarModels.tbitem23.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem23' }, $event)">
<i class='fa fa-upload'></i> <i class='fa fa-upload'></i>
<span class='caption'>{{$t('entities.ibizcustom.customgridviewusr1109253798toolbar_toolbar.tbitem23.caption')}}</span> <span class='caption'>{{$t('entities.ibizcustom.customgridviewtoolbar_toolbar.tbitem23.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizcustom.customgridviewusr1109253798toolbar_toolbar.tbitem23.tip')}}</div> <div slot='content'>{{$t('entities.ibizcustom.customgridviewtoolbar_toolbar.tbitem23.tip')}}</div>
</tooltip> </tooltip>
...@@ -106,9 +106,9 @@ ...@@ -106,9 +106,9 @@
</template> </template>
</app-simpleflex-container> </app-simpleflex-container>
</template> </template>
<template #usr1109960278searchform> <template #searchform>
<app-ctrl-pos name="usr1109960278searchform" :layoutModelDetails="layoutModelDetails"> <app-ctrl-pos name="searchform" :layoutModelDetails="layoutModelDetails">
<view_usr1109960278searchform <view_searchform
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
:context="context" :context="context"
...@@ -117,15 +117,15 @@ ...@@ -117,15 +117,15 @@
loaddraftAction="FilterGetDraft" loaddraftAction="FilterGetDraft"
loadAction="FilterGet" loadAction="FilterGet"
name="usr1109960278searchform" name="searchform"
ref='usr1109960278searchform' ref='searchform'
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_usr1109960278searchform> </view_searchform>
</app-ctrl-pos> </app-ctrl-pos>
</template> </template>
<template #usr1109459025grid> <template #grid>
<app-ctrl-pos name="usr1109459025grid" :layoutModelDetails="layoutModelDetails"> <app-ctrl-pos name="grid" :layoutModelDetails="layoutModelDetails">
<view_usr1109459025grid <view_grid
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
:context="context" :context="context"
...@@ -137,10 +137,10 @@ ...@@ -137,10 +137,10 @@
loadAction="" loadAction=""
createAction="" createAction=""
fetchAction="FetchDefault" fetchAction="FetchDefault"
name="usr1109459025grid" name="grid"
ref='usr1109459025grid' ref='grid'
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_usr1109459025grid> </view_grid>
</app-ctrl-pos> </app-ctrl-pos>
</template> </template>
</app-standard-container> </app-standard-container>
...@@ -324,9 +324,9 @@ export default class IBIZCustomCustomGridViewBase extends Vue { ...@@ -324,9 +324,9 @@ export default class IBIZCustomCustomGridViewBase extends Vue {
* @memberof IBIZCustomCustomGridViewBase * @memberof IBIZCustomCustomGridViewBase
*/ */
public containerModel: any = { public containerModel: any = {
view_usr1109960278searchform: { name: 'usr1109960278searchform', type: 'SEARCHFORM' }, view_searchform: { name: 'searchform', type: 'SEARCHFORM' },
view_usr1109459025grid: { name: 'usr1109459025grid', type: 'GRID' }, view_grid: { name: 'grid', type: 'GRID' },
view_usr1109253798toolbar: { name: 'usr1109253798toolbar', type: 'TOOLBAR' }, view_toolbar: { name: 'toolbar', type: 'TOOLBAR' },
}; };
/** /**
...@@ -362,6 +362,38 @@ export default class IBIZCustomCustomGridViewBase extends Vue { ...@@ -362,6 +362,38 @@ export default class IBIZCustomCustomGridViewBase extends Vue {
* @memberof IBIZCustomCustomGridViewBase * @memberof IBIZCustomCustomGridViewBase
*/ */
public viewState: Subject<ViewState> = new Subject(); public viewState: Subject<ViewState> = new Subject();
/**
* 工具栏模型
*
* @type {*}
* @memberof IBIZCustomCustomGridView
*/
public toolBarModels: any = {
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem4: { name: 'tbitem4', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } },
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
tbitem9: { name: 'tbitem9', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem13: { name: 'tbitem13', actiontarget: 'NONE', caption: '导出', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ExportExcel', target: '' }, MaxRowCount: 1000 },
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '导入', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ImportExcel', target: 'NONE' } },
tbitem10: { name: 'tbitem10', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem16: { name: 'tbitem16', caption: '其它', disabled: false, type: 'ITEMS', visabled: true, dataaccaction: '', uiaction: { } },
tbitem21: { name: 'tbitem21', actiontarget: 'NONE', caption: '导出数据模型', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ExportModel', target: '' } },
tbitem23: { name: 'tbitem23', actiontarget: 'NONE', caption: '数据导入', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Import', target: '' } },
};
/** /**
* 视图布局顶级成员名称 * 视图布局顶级成员名称
...@@ -380,12 +412,12 @@ export default class IBIZCustomCustomGridViewBase extends Vue { ...@@ -380,12 +412,12 @@ export default class IBIZCustomCustomGridViewBase extends Vue {
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:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: 'VIEW_PAGECAPTION', renderMode: 'HEADING1', dataItemName:'', wrapMode:'', vAlign:'', hAlign:'', }, 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 , required: false, fieldState: '0', predefinedType: 'VIEW_PAGECAPTION', renderMode: 'HEADING1', dataItemName:'', wrapMode:'', vAlign:'', hAlign:'', },
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' }, 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' },
usr1109253798toolbar:{ name: 'usr1109253798toolbar', 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 }, 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:['usr1109253798toolbar'] , 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: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:'', 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','container2'] , 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','container2'] , dataRegionType: 'INHERIT' },
usr1109960278searchform:{ name: 'usr1109960278searchform', 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: 'page_container', panel: this }, searchform:{ name: 'searchform', 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: 'page_container', panel: this },
usr1109459025grid:{ name: 'usr1109459025grid', 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: 'page_container', panel: this }, grid:{ name: 'grid', 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: 'page_container', panel: this },
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:0, flexParams:{align:'',dir:'column',vAlign:''}, panel: this , details:['container_grid1','usr1109960278searchform','usr1109459025grid'] , 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:0, flexParams:{align:'',dir:'column',vAlign:''}, panel: this , details:['container_grid1','searchform','grid'] , dataRegionType: 'INHERIT' }
}; };
/** /**
...@@ -917,59 +949,64 @@ export default class IBIZCustomCustomGridViewBase extends Vue { ...@@ -917,59 +949,64 @@ export default class IBIZCustomCustomGridViewBase extends Vue {
const _this: any = this; const _this: any = this;
_this.initLayout().then((result: any) => { _this.initLayout().then((result: any) => {
_this.isLayoutLoadding = false; _this.isLayoutLoadding = false;
_this.engineInit(); this.appUIService.executeUILogic('CustomViewGridLoad', [], this.context, this.viewparams, {}, {}, this, 'IBIZCustom').then((result: any) => {
if (_this.loadModel && _this.loadModel instanceof Function) { if (result && result.hasOwnProperty('srfret') && !result.srfret) {
_this.loadModel(); return;
} }
_this.engineInit();
if (_this.loadModel && _this.loadModel instanceof Function) {
_this.loadModel();
}
});
}) })
} }
/** /**
* usr1109253798toolbar 部件 click 事件 * toolbar 部件 click 事件
* *
* @param {*} [args={}] * @param {*} [args={}]
* @param {*} $event * @param {*} $event
* @memberof IBIZCustomCustomGridViewBase * @memberof IBIZCustomCustomGridViewBase
*/ */
public usr1109253798toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.usr1109253798toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction2')) { if (Object.is($event.tag, 'deuiaction2')) {
this.usr1109253798toolbar_deuiaction2_click(null, '', $event2); this.toolbar_deuiaction2_click(null, '', $event2);
} }
if (Object.is($event.tag, 'tbitem4')) { if (Object.is($event.tag, 'tbitem4')) {
this.usr1109253798toolbar_tbitem4_click(null, '', $event2); this.toolbar_tbitem4_click(null, '', $event2);
} }
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.usr1109253798toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) { if (Object.is($event.tag, 'deuiaction3')) {
this.usr1109253798toolbar_deuiaction3_click(null, '', $event2); this.toolbar_deuiaction3_click(null, '', $event2);
} }
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.usr1109253798toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
if (Object.is($event.tag, 'tbitem25')) { if (Object.is($event.tag, 'tbitem25')) {
this.usr1109253798toolbar_tbitem25_click(null, '', $event2); this.toolbar_tbitem25_click(null, '', $event2);
} }
if (Object.is($event.tag, 'tbitem8')) { if (Object.is($event.tag, 'tbitem8')) {
this.usr1109253798toolbar_tbitem8_click(null, '', $event2); this.toolbar_tbitem8_click(null, '', $event2);
} }
if (Object.is($event.tag, 'tbitem13')) { if (Object.is($event.tag, 'tbitem13')) {
this.usr1109253798toolbar_tbitem13_click(null, '', $event2); this.toolbar_tbitem13_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction1')) { if (Object.is($event.tag, 'deuiaction1')) {
this.usr1109253798toolbar_deuiaction1_click(null, '', $event2); this.toolbar_deuiaction1_click(null, '', $event2);
} }
if (Object.is($event.tag, 'tbitem11')) { if (Object.is($event.tag, 'tbitem11')) {
this.usr1109253798toolbar_tbitem11_click(null, '', $event2); this.toolbar_tbitem11_click(null, '', $event2);
} }
if (Object.is($event.tag, 'tbitem21')) { if (Object.is($event.tag, 'tbitem21')) {
this.usr1109253798toolbar_tbitem21_click(null, '', $event2); this.toolbar_tbitem21_click(null, '', $event2);
} }
if (Object.is($event.tag, 'tbitem23')) { if (Object.is($event.tag, 'tbitem23')) {
this.usr1109253798toolbar_tbitem23_click(null, '', $event2); this.toolbar_tbitem23_click(null, '', $event2);
} }
} }
...@@ -982,7 +1019,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue { ...@@ -982,7 +1019,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public usr1109253798toolbar_tbitem3_click(params: any = {}, tag?: any, $event?: any) { public toolbar_tbitem3_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -1009,7 +1046,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue { ...@@ -1009,7 +1046,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public usr1109253798toolbar_deuiaction2_click(params: any = {}, tag?: any, $event?: any) { public toolbar_deuiaction2_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -1036,7 +1073,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue { ...@@ -1036,7 +1073,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public usr1109253798toolbar_tbitem4_click(params: any = {}, tag?: any, $event?: any) { public toolbar_tbitem4_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -1063,7 +1100,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue { ...@@ -1063,7 +1100,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public usr1109253798toolbar_tbitem6_click(params: any = {}, tag?: any, $event?: any) { public toolbar_tbitem6_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -1090,7 +1127,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue { ...@@ -1090,7 +1127,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public usr1109253798toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) { public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -1117,7 +1154,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue { ...@@ -1117,7 +1154,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public usr1109253798toolbar_tbitem24_click(params: any = {}, tag?: any, $event?: any) { public toolbar_tbitem24_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -1144,7 +1181,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue { ...@@ -1144,7 +1181,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public usr1109253798toolbar_tbitem25_click(params: any = {}, tag?: any, $event?: any) { public toolbar_tbitem25_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -1171,7 +1208,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue { ...@@ -1171,7 +1208,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public usr1109253798toolbar_tbitem8_click(params: any = {}, tag?: any, $event?: any) { public toolbar_tbitem8_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -1198,7 +1235,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue { ...@@ -1198,7 +1235,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public usr1109253798toolbar_tbitem13_click(params: any = {}, tag?: any, $event?: any) { public toolbar_tbitem13_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -1225,7 +1262,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue { ...@@ -1225,7 +1262,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public usr1109253798toolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) { public toolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -1252,7 +1289,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue { ...@@ -1252,7 +1289,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public usr1109253798toolbar_tbitem11_click(params: any = {}, tag?: any, $event?: any) { public toolbar_tbitem11_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -1279,7 +1316,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue { ...@@ -1279,7 +1316,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public usr1109253798toolbar_tbitem21_click(params: any = {}, tag?: any, $event?: any) { public toolbar_tbitem21_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -1306,7 +1343,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue { ...@@ -1306,7 +1343,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public usr1109253798toolbar_tbitem23_click(params: any = {}, tag?: any, $event?: any) { public toolbar_tbitem23_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
......
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
import { Component } from 'vue-property-decorator'; import { Component } from 'vue-property-decorator';
import IBIZCustomCustomGridViewBase from './ibizcustom-custom-grid-view-base.vue'; import IBIZCustomCustomGridViewBase from './ibizcustom-custom-grid-view-base.vue';
import view_usr1109960278searchform from '@widgets/ibizcustom/default-searchform/default-searchform.vue'; import view_searchform from '@widgets/ibizcustom/default-searchform/default-searchform.vue';
import view_usr1109459025grid from '@widgets/ibizcustom/main-grid/main-grid.vue'; import view_grid from '@widgets/ibizcustom/main-grid/main-grid.vue';
@Component({ @Component({
components: { components: {
view_usr1109960278searchform, view_searchform,
view_usr1109459025grid, view_grid,
}, },
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
......
...@@ -29,12 +29,6 @@ export default class CustomViewGridLoadUILogicBase { ...@@ -29,12 +29,6 @@ export default class CustomViewGridLoadUILogicBase {
* @memberof CustomViewGridLoadUILogicBase * @memberof CustomViewGridLoadUILogicBase
*/ */
protected logicParams: any[] = [ protected logicParams: any[] = [
{
name: '传入变量',
codeName: 'Default',
default: true,
entityParam: true,
},
{ {
name: '表格部件', name: '表格部件',
codeName: 'grid', codeName: 'grid',
...@@ -45,16 +39,22 @@ export default class CustomViewGridLoadUILogicBase { ...@@ -45,16 +39,22 @@ export default class CustomViewGridLoadUILogicBase {
codeName: 'searchForm', codeName: 'searchForm',
ctrlParam: true, ctrlParam: true,
}, },
{
name: '视图参数',
codeName: 'viewParam',
viewNavDataParam: true,
},
{ {
name: '当前视图', name: '当前视图',
codeName: 'view', codeName: 'view',
activeViewParam: true, activeViewParam: true,
}, },
{
name: '传入变量',
codeName: 'Default',
default: true,
entityParam: true,
},
{
name: '视图参数',
codeName: 'viewParam',
viewNavDataParam: true,
},
]; ];
/** /**
...@@ -130,37 +130,6 @@ export default class CustomViewGridLoadUILogicBase { ...@@ -130,37 +130,6 @@ export default class CustomViewGridLoadUILogicBase {
await this.execute_bindparam1_node(actionContext); await this.execute_bindparam1_node(actionContext);
} }
/**
* 表格加载
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewGridLoadUILogicBase
*/
protected async execute_viewctrlinvoke1_node(actionContext: UIActionContext) {
const invokeCtrl = 'grid';
const invokeMethod = 'load';
const invokeParam = 'viewParam';
if (!invokeCtrl || !invokeMethod) {
throw new Error(`界面对象或者调用方法缺失`);
}
const invokeUICtrl = actionContext.getParam(invokeCtrl).getReal();
if (invokeUICtrl[invokeMethod] && invokeUICtrl[invokeMethod] instanceof Function) {
try {
const result = await invokeUICtrl[invokeMethod]();
if (invokeParam) {
actionContext.getParam(invokeParam).bind(result);
}
actionContext.bindLastReturnParam(result);
} catch (error:any) {
throw new Error(`${invokeCtrl}界面对象调用${invokeMethod}方法发生异常`);
}
} else {
throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`);
}
console.log('已完成执行 表格加载 节点');
await this.execute_end1_node(actionContext);
}
/** /**
* 绑定表格 * 绑定表格
* *
...@@ -247,6 +216,37 @@ export default class CustomViewGridLoadUILogicBase { ...@@ -247,6 +216,37 @@ export default class CustomViewGridLoadUILogicBase {
console.log('已完成执行 结束 节点'); console.log('已完成执行 结束 节点');
} }
/**
* 表格加载
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewGridLoadUILogicBase
*/
protected async execute_viewctrlinvoke1_node(actionContext: UIActionContext) {
const invokeCtrl = 'grid';
const invokeMethod = 'load';
const invokeParam = 'viewParam';
if (!invokeCtrl || !invokeMethod) {
throw new Error(`界面对象或者调用方法缺失`);
}
const invokeUICtrl = actionContext.getParam(invokeCtrl).getReal();
if (invokeUICtrl[invokeMethod] && invokeUICtrl[invokeMethod] instanceof Function) {
try {
const result = await invokeUICtrl[invokeMethod]();
if (invokeParam) {
actionContext.getParam(invokeParam).bind(result);
}
actionContext.bindLastReturnParam(result);
} catch (error:any) {
throw new Error(`${invokeCtrl}界面对象调用${invokeMethod}方法发生异常`);
}
} else {
throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`);
}
console.log('已完成执行 表格加载 节点');
await this.execute_end1_node(actionContext);
}
/** /**
* 搜索表单加载草稿 * 搜索表单加载草稿
* *
......
import { UIActionContext } from "@/logic/ui-logic";
import { LogicReturnType } from "@/logic/const/logic-return-type";
import { UILogicParamType } from "@/logic/const/ui-logic-param-type";
import { Util, Verify } from "@/utils";
import { AppMessageBox } from "@/utils/app-message-box/app-message-box";
import { Subject } from "rxjs";
import { Environment } from "@/environments/environment";
/**
* Custom表单加载
*
* @export
* @class CustomViewFormLoadUILogicBase
*/
export default class CustomViewFormLoadUILogicBase {
/**
* Creates an instance of CustomViewFormLoadBase.
*
* @param {*} [opts={}]
* @memberof CustomViewFormLoadUILogicBase
*/
constructor(opts: any = {}) { }
/**
* 逻辑参数
*
* @protected
* @type {any[]}
* @memberof CustomViewFormLoadUILogicBase
*/
protected logicParams: any[] = [
{
name: '当前视图参数',
codeName: 'viewParam',
viewNavDataParam: true,
},
{
name: '传入变量',
codeName: 'Default',
default: true,
entityParam: true,
},
{
name: '当前视图',
codeName: 'view',
activeViewParam: true,
},
{
name: '表单部件',
codeName: 'form',
ctrlParam: true,
},
{
name: '上下文',
codeName: 'context',
navContextParam: true,
},
];
/**
* 执行前
*
* @param {*} args
* @param {*} [context={}]
* @param {*} [params={}]
* @param {*} [$event]
* @param {*} [xData]
* @param {*} [actioncontext]
* @param {string} [srfParentDeName]
* @return {*}
* @memberof CustomViewFormLoadUILogicBase
*/
public beforeExecute(args: any, context: any = {}, params: any = {},
$event?: any, xData?: any, actioncontext?: any, srfParentDeName?: string) {
return new UIActionContext(this.logicParams, args, context, params, $event, xData, actioncontext, srfParentDeName)
}
/**
* 执行
*
* @param {any[]} args
* @param {*} [context={}]
* @param {*} [params={}]
* @param {*} [$event]
* @param {*} [xData]
* @param {*} [actionContext]
* @param {string} [srfParentDeName]
* @memberof CustomViewFormLoadUILogicBase
*/
async execute(args: any[], context:any = {} ,params: any = {}, $event?: any, xData?: any, actioncontext?: any, srfParentDeName?: string) {
try {
const actionContext = this.beforeExecute(args, context, params, $event, xData, actioncontext, srfParentDeName);
await this.execute_begin_node(actionContext);
return actionContext.getResult();
} catch (error: any) {
throw new Error(`${error && error.message ? error.message : '发生未知错误!'}`);
}
}
/**
* 获取条件参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @param {string} param 节点参数
* @param {string} property 参数属性
* @return {*}
* @memberof CustomViewFormLoadUILogicBase
*/
public getCondParam(actionContext: UIActionContext, param: string, property: string) {
const resultParam = actionContext.getParam(param).getReal();
// 当不存在参数属性时,返回直接值
if (property === '') {
return resultParam;
}
if (resultParam && resultParam.hasOwnProperty(property)) {
return resultParam[property];
}
return null;
}
/**
* 开始
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewFormLoadUILogicBase
*/
protected async execute_begin_node(actionContext: UIActionContext) {
actionContext.setResult(actionContext.defaultParam.getReal());
console.log('已完成执行 开始 节点');
await this.execute_bindparam1_node(actionContext);
}
/**
* 调用加载草稿
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewFormLoadUILogicBase
*/
protected async execute_viewctrlinvoke2_node(actionContext: UIActionContext) {
const invokeCtrl = 'form';
const invokeMethod = 'loadDraft';
const invokeParam = 'viewParam';
if (!invokeCtrl || !invokeMethod) {
throw new Error(`界面对象或者调用方法缺失`);
}
const invokeUICtrl = actionContext.getParam(invokeCtrl).getReal();
if (invokeUICtrl[invokeMethod] && invokeUICtrl[invokeMethod] instanceof Function) {
try {
const result = await invokeUICtrl[invokeMethod]();
if (invokeParam) {
actionContext.getParam(invokeParam).bind(result);
}
actionContext.bindLastReturnParam(result);
} catch (error:any) {
throw new Error(`${invokeCtrl}界面对象调用${invokeMethod}方法发生异常`);
}
} else {
throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`);
}
console.log('已完成执行 调用加载草稿 节点');
await this.execute_end1_node(actionContext);
}
/**
* 调用load
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewFormLoadUILogicBase
*/
protected async execute_viewctrlinvoke1_node(actionContext: UIActionContext) {
const invokeCtrl = 'form';
const invokeMethod = 'load';
const invokeParam = 'viewParam';
if (!invokeCtrl || !invokeMethod) {
throw new Error(`界面对象或者调用方法缺失`);
}
const invokeUICtrl = actionContext.getParam(invokeCtrl).getReal();
if (invokeUICtrl[invokeMethod] && invokeUICtrl[invokeMethod] instanceof Function) {
try {
const result = await invokeUICtrl[invokeMethod]();
if (invokeParam) {
actionContext.getParam(invokeParam).bind(result);
}
actionContext.bindLastReturnParam(result);
} catch (error:any) {
throw new Error(`${invokeCtrl}界面对象调用${invokeMethod}方法发生异常`);
}
} else {
throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`);
}
console.log('已完成执行 调用load 节点');
await this.execute_end1_node(actionContext);
}
/**
* 绑定表单
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewFormLoadUILogicBase
*/
protected async execute_bindparam1_node(actionContext: UIActionContext) {
try {
// 源数据
const srcParam = actionContext.getParam('view');
// 目标数据
const dstParam = actionContext.getParam('form');
// 源属性
const srcFieldName: string = 'form';
if (srcFieldName) {
dstParam.bind(srcParam.get(srcFieldName));
} else {
dstParam.bind(srcParam.getReal());
}
actionContext.bindLastReturnParam(null);
} catch (error: any) {
throw new Error(`逻辑参数表单部件 ${error && error.message ? error.message : '发生未知错误!'}`);
}
console.log('已完成执行 绑定表单 节点');
if(Verify.testCond(this.getCondParam(actionContext, 'context', 'ibizbook'), 'ISNOTNULL', '')) {
await this.execute_viewctrlinvoke1_node(actionContext);
}
if(Verify.testCond(this.getCondParam(actionContext, 'context', 'ibizbook'), 'EQ', '')) {
await this.execute_viewctrlinvoke2_node(actionContext);
}
}
/**
* 结束
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewFormLoadUILogicBase
*/
protected async execute_end1_node(actionContext: UIActionContext) {
const strReturnType: string = 'NONEVALUE';
if (Object.is(strReturnType, LogicReturnType.NONEVALUE) || Object.is(strReturnType, LogicReturnType.NULLVALUE)) {
actionContext.setResult(null);
} else if (Object.is(strReturnType, LogicReturnType.SRCVALUE)) {
actionContext.setResult('');
} else if (Object.is(strReturnType, LogicReturnType.BREAK)) {
actionContext.setResult(LogicReturnType.BREAK);
} else if (Object.is(strReturnType, LogicReturnType.LOGICPARAM) || Object.is(strReturnType, LogicReturnType.LOGICPARAMFIELD)) {
const returnParam = actionContext.getParam('');
if (Object.is(strReturnType, LogicReturnType.LOGICPARAM)) {
actionContext.setResult(returnParam.getReal());
} else {
actionContext.setResult(returnParam.get(''));
}
} else {
throw new Error(`无法识别的返回值类型${strReturnType}`);
}
console.log('已完成执行 结束 节点');
}
}
\ No newline at end of file
import { Http,Util } from '@/utils';
import CustomViewFormLoadUILogicBase from './custom-view-form-load-ui-logic-base';
/**
* Custom表单加载
*
* @export
* @class CustomViewFormLoadUILogic
*/
export default class CustomViewFormLoadUILogic extends CustomViewFormLoadUILogicBase {
/**
* Custom表单加载 逻辑实例对象
*
* @private
* @static
* @type {CustomViewFormLoadUILogic}
* @memberof CustomViewFormLoadUILogic
*/
private static instance: CustomViewFormLoadUILogic;
/**
* 获取 Custom表单加载 逻辑实例对象
*
* @static
* @return {*} {CustomViewFormLoadUILogic}
* @memberof CustomViewFormLoadUILogic
*/
static getInstance(): CustomViewFormLoadUILogic {
if (!this.instance) {
this.instance = new CustomViewFormLoadUILogic();
}
return this.instance;
}
/**
* Creates an instance of CustomViewFormLoadUILogic
*
* @param {*} [opts={}]
* @memberof CustomViewFormLoadUILogic
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import { UIActionContext } from "@/logic/ui-logic";
import { LogicReturnType } from "@/logic/const/logic-return-type";
import { UILogicParamType } from "@/logic/const/ui-logic-param-type";
import { Util, Verify } from "@/utils";
import { AppMessageBox } from "@/utils/app-message-box/app-message-box";
import { Subject } from "rxjs";
import { Environment } from "@/environments/environment";
/**
* Custom表格加载
*
* @export
* @class CustomViewGridLoadUILogicBase
*/
export default class CustomViewGridLoadUILogicBase {
/**
* Creates an instance of CustomViewGridLoadBase.
*
* @param {*} [opts={}]
* @memberof CustomViewGridLoadUILogicBase
*/
constructor(opts: any = {}) { }
/**
* 逻辑参数
*
* @protected
* @type {any[]}
* @memberof CustomViewGridLoadUILogicBase
*/
protected logicParams: any[] = [
{
name: '视图参数',
codeName: 'viewParam',
viewNavDataParam: true,
},
{
name: '传入变量',
codeName: 'Default',
default: true,
entityParam: true,
},
{
name: '当前视图',
codeName: 'view',
activeViewParam: true,
},
{
name: '搜索表单部件',
codeName: 'searchForm',
ctrlParam: true,
},
{
name: '表格部件',
codeName: 'grid',
ctrlParam: true,
},
];
/**
* 执行前
*
* @param {*} args
* @param {*} [context={}]
* @param {*} [params={}]
* @param {*} [$event]
* @param {*} [xData]
* @param {*} [actioncontext]
* @param {string} [srfParentDeName]
* @return {*}
* @memberof CustomViewGridLoadUILogicBase
*/
public beforeExecute(args: any, context: any = {}, params: any = {},
$event?: any, xData?: any, actioncontext?: any, srfParentDeName?: string) {
return new UIActionContext(this.logicParams, args, context, params, $event, xData, actioncontext, srfParentDeName)
}
/**
* 执行
*
* @param {any[]} args
* @param {*} [context={}]
* @param {*} [params={}]
* @param {*} [$event]
* @param {*} [xData]
* @param {*} [actionContext]
* @param {string} [srfParentDeName]
* @memberof CustomViewGridLoadUILogicBase
*/
async execute(args: any[], context:any = {} ,params: any = {}, $event?: any, xData?: any, actioncontext?: any, srfParentDeName?: string) {
try {
const actionContext = this.beforeExecute(args, context, params, $event, xData, actioncontext, srfParentDeName);
await this.execute_begin_node(actionContext);
return actionContext.getResult();
} catch (error: any) {
throw new Error(`${error && error.message ? error.message : '发生未知错误!'}`);
}
}
/**
* 获取条件参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @param {string} param 节点参数
* @param {string} property 参数属性
* @return {*}
* @memberof CustomViewGridLoadUILogicBase
*/
public getCondParam(actionContext: UIActionContext, param: string, property: string) {
const resultParam = actionContext.getParam(param).getReal();
// 当不存在参数属性时,返回直接值
if (property === '') {
return resultParam;
}
if (resultParam && resultParam.hasOwnProperty(property)) {
return resultParam[property];
}
return null;
}
/**
* 开始
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewGridLoadUILogicBase
*/
protected async execute_begin_node(actionContext: UIActionContext) {
actionContext.setResult(actionContext.defaultParam.getReal());
console.log('已完成执行 开始 节点');
await this.execute_bindparam1_node(actionContext);
}
/**
* 绑定表格
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewGridLoadUILogicBase
*/
protected async execute_bindparam2_node(actionContext: UIActionContext) {
try {
// 源数据
const srcParam = actionContext.getParam('view');
// 目标数据
const dstParam = actionContext.getParam('grid');
// 源属性
const srcFieldName: string = 'grid';
if (srcFieldName) {
dstParam.bind(srcParam.get(srcFieldName));
} else {
dstParam.bind(srcParam.getReal());
}
actionContext.bindLastReturnParam(null);
} catch (error: any) {
throw new Error(`逻辑参数表格部件 ${error && error.message ? error.message : '发生未知错误!'}`);
}
console.log('已完成执行 绑定表格 节点');
if(Verify.testCond(this.getCondParam(actionContext, 'searchForm', ''), 'ISNOTNULL', '')) {
await this.execute_viewctrlinvoke2_node(actionContext);
}
if(Verify.testCond(this.getCondParam(actionContext, 'searchForm', ''), 'ISNULL', '')) {
await this.execute_viewctrlinvoke1_node(actionContext);
}
}
/**
* 搜索表单加载草稿
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewGridLoadUILogicBase
*/
protected async execute_viewctrlinvoke2_node(actionContext: UIActionContext) {
const invokeCtrl = 'searchForm';
const invokeMethod = 'loadDraft';
const invokeParam = 'viewParam';
if (!invokeCtrl || !invokeMethod) {
throw new Error(`界面对象或者调用方法缺失`);
}
const invokeUICtrl = actionContext.getParam(invokeCtrl).getReal();
if (invokeUICtrl[invokeMethod] && invokeUICtrl[invokeMethod] instanceof Function) {
try {
const result = await invokeUICtrl[invokeMethod]();
if (invokeParam) {
actionContext.getParam(invokeParam).bind(result);
}
actionContext.bindLastReturnParam(result);
} catch (error:any) {
throw new Error(`${invokeCtrl}界面对象调用${invokeMethod}方法发生异常`);
}
} else {
throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`);
}
console.log('已完成执行 搜索表单加载草稿 节点');
await this.execute_viewctrlinvoke1_node(actionContext);
}
/**
* 绑定搜索表单
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewGridLoadUILogicBase
*/
protected async execute_bindparam1_node(actionContext: UIActionContext) {
try {
// 源数据
const srcParam = actionContext.getParam('view');
// 目标数据
const dstParam = actionContext.getParam('searchForm');
// 源属性
const srcFieldName: string = 'searchform';
if (srcFieldName) {
dstParam.bind(srcParam.get(srcFieldName));
} else {
dstParam.bind(srcParam.getReal());
}
actionContext.bindLastReturnParam(null);
} catch (error: any) {
throw new Error(`逻辑参数搜索表单部件 ${error && error.message ? error.message : '发生未知错误!'}`);
}
console.log('已完成执行 绑定搜索表单 节点');
await this.execute_bindparam2_node(actionContext);
}
/**
* 表格加载
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewGridLoadUILogicBase
*/
protected async execute_viewctrlinvoke1_node(actionContext: UIActionContext) {
const invokeCtrl = 'grid';
const invokeMethod = 'load';
const invokeParam = 'viewParam';
if (!invokeCtrl || !invokeMethod) {
throw new Error(`界面对象或者调用方法缺失`);
}
const invokeUICtrl = actionContext.getParam(invokeCtrl).getReal();
if (invokeUICtrl[invokeMethod] && invokeUICtrl[invokeMethod] instanceof Function) {
try {
const result = await invokeUICtrl[invokeMethod]();
if (invokeParam) {
actionContext.getParam(invokeParam).bind(result);
}
actionContext.bindLastReturnParam(result);
} catch (error:any) {
throw new Error(`${invokeCtrl}界面对象调用${invokeMethod}方法发生异常`);
}
} else {
throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`);
}
console.log('已完成执行 表格加载 节点');
await this.execute_end1_node(actionContext);
}
/**
* 结束
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewGridLoadUILogicBase
*/
protected async execute_end1_node(actionContext: UIActionContext) {
const strReturnType: string = 'NONEVALUE';
if (Object.is(strReturnType, LogicReturnType.NONEVALUE) || Object.is(strReturnType, LogicReturnType.NULLVALUE)) {
actionContext.setResult(null);
} else if (Object.is(strReturnType, LogicReturnType.SRCVALUE)) {
actionContext.setResult('');
} else if (Object.is(strReturnType, LogicReturnType.BREAK)) {
actionContext.setResult(LogicReturnType.BREAK);
} else if (Object.is(strReturnType, LogicReturnType.LOGICPARAM) || Object.is(strReturnType, LogicReturnType.LOGICPARAMFIELD)) {
const returnParam = actionContext.getParam('');
if (Object.is(strReturnType, LogicReturnType.LOGICPARAM)) {
actionContext.setResult(returnParam.getReal());
} else {
actionContext.setResult(returnParam.get(''));
}
} else {
throw new Error(`无法识别的返回值类型${strReturnType}`);
}
console.log('已完成执行 结束 节点');
}
}
\ No newline at end of file
import { Http,Util } from '@/utils';
import CustomViewGridLoadUILogicBase from './custom-view-grid-load-ui-logic-base';
/**
* Custom表格加载
*
* @export
* @class CustomViewGridLoadUILogic
*/
export default class CustomViewGridLoadUILogic extends CustomViewGridLoadUILogicBase {
/**
* Custom表格加载 逻辑实例对象
*
* @private
* @static
* @type {CustomViewGridLoadUILogic}
* @memberof CustomViewGridLoadUILogic
*/
private static instance: CustomViewGridLoadUILogic;
/**
* 获取 Custom表格加载 逻辑实例对象
*
* @static
* @return {*} {CustomViewGridLoadUILogic}
* @memberof CustomViewGridLoadUILogic
*/
static getInstance(): CustomViewGridLoadUILogic {
if (!this.instance) {
this.instance = new CustomViewGridLoadUILogic();
}
return this.instance;
}
/**
* Creates an instance of CustomViewGridLoadUILogic
*
* @param {*} [opts={}]
* @memberof CustomViewGridLoadUILogic
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
...@@ -4,6 +4,8 @@ import UIService from '../ui-service'; ...@@ -4,6 +4,8 @@ import UIService from '../ui-service';
import { Subject } from 'rxjs'; import { Subject } from 'rxjs';
import IBIZCustomService from '@/service/ibizcustom/ibizcustom-service'; import IBIZCustomService from '@/service/ibizcustom/ibizcustom-service';
import IBIZCustomAuthService from '@/authservice/ibizcustom/ibizcustom-auth-service'; import IBIZCustomAuthService from '@/authservice/ibizcustom/ibizcustom-auth-service';
import CustomViewFormLoadUILogic from './custom-view-form-load-ui-logic';
import CustomViewGridLoadUILogic from './custom-view-grid-load-ui-logic';
/** /**
* 自定义UI服务对象基类 * 自定义UI服务对象基类
...@@ -269,6 +271,12 @@ export default class IBIZCustomUIServiceBase extends UIService { ...@@ -269,6 +271,12 @@ export default class IBIZCustomUIServiceBase extends UIService {
* @memberof UIService * @memberof UIService
*/ */
public async executeUILogic(name: string, args: any[], context?: any, params?: any, $event?: any, xData?: any, actionContext?: any, srfParentDeName?: string | undefined): Promise<any> { public async executeUILogic(name: string, args: any[], context?: any, params?: any, $event?: any, xData?: any, actionContext?: any, srfParentDeName?: string | undefined): Promise<any> {
if (name === 'CustomViewFormLoad') {
return await CustomViewFormLoadUILogic.getInstance().execute(args, context, params, $event, xData, actionContext, srfParentDeName);
}
if (name === 'CustomViewGridLoad') {
return await CustomViewGridLoadUILogic.getInstance().execute(args, context, params, $event, xData, actionContext, srfParentDeName);
}
} }
} }
\ No newline at end of file
...@@ -701,7 +701,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -701,7 +701,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: 'IBIZBOOKUsr3GridView' + (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 };
...@@ -737,7 +737,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -737,7 +737,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: 'IBIZBOOKUsr3GridView' + (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 } ;
......
...@@ -1352,7 +1352,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1352,7 +1352,7 @@ export default class GuideBorrowFormBase 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 };
...@@ -1387,7 +1387,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1387,7 +1387,7 @@ export default class GuideBorrowFormBase 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 } ;
...@@ -1448,7 +1448,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1448,7 +1448,7 @@ export default class GuideBorrowFormBase 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});
...@@ -1556,7 +1556,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1556,7 +1556,7 @@ export default class GuideBorrowFormBase 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});
...@@ -1630,7 +1630,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1630,7 +1630,7 @@ export default class GuideBorrowFormBase 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];
......
...@@ -1318,7 +1318,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1318,7 +1318,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 };
...@@ -1353,7 +1353,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1353,7 +1353,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 } ;
...@@ -1414,7 +1414,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1414,7 +1414,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});
...@@ -1522,7 +1522,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1522,7 +1522,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});
...@@ -1596,7 +1596,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1596,7 +1596,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];
......
...@@ -1421,7 +1421,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1421,7 +1421,7 @@ export default class GuideViewFormBase 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 };
...@@ -1456,7 +1456,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1456,7 +1456,7 @@ export default class GuideViewFormBase 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 } ;
...@@ -1517,7 +1517,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1517,7 +1517,7 @@ export default class GuideViewFormBase 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});
...@@ -1625,7 +1625,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1625,7 +1625,7 @@ export default class GuideViewFormBase 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});
...@@ -1699,7 +1699,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1699,7 +1699,7 @@ export default class GuideViewFormBase 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];
......
<template> <template>
<i-form :model="this.data" class='app-search-form' ref='usr1109960278searchform' style=""> <i-form :model="this.data" class='app-search-form' ref='searchform' style="">
<input style="display:none;"/> <input style="display:none;"/>
<row> <row>
<i-col span="20" class="form-content"> <i-col span="20" class="form-content">
...@@ -496,7 +496,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -496,7 +496,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
* @memberof DefaultBase * @memberof DefaultBase
*/ */
public formValidateStatus(): boolean { public formValidateStatus(): boolean {
const form: any = this.$refs.usr1109960278searchform; const form: any = this.$refs.searchform;
let validatestate: boolean = true; let validatestate: boolean = true;
form.validate((valid: boolean) => { form.validate((valid: boolean) => {
validatestate = valid ? true : false; validatestate = valid ? true : false;
......
<template> <template>
<i-form :model="this.data" class='app-form' ref='usr1109034916form' id='ibizcustom_main' style="" @on-validate="formItemValidate"> <i-form :model="this.data" class='app-form' ref='form' id='ibizcustom_main' style="" @on-validate="formItemValidate">
<input style="display:none;" /> <input style="display:none;" />
<row > <row >
<tabs :animated="false" name='main' :value="detailsModel.usr1109034916form.activiedPage" <tabs :animated="false" name='main' :value="detailsModel.form.activiedPage"
@on-click="detailsModel.usr1109034916form.clickPage($event)"> @on-click="detailsModel.form.clickPage($event)">
<tab-pane v-show="detailsModel.formpage1.visible" name='formpage1' :index="0" tab='main' class='' <tab-pane v-show="detailsModel.formpage1.visible" name='formpage1' :index="0" tab='main' class=''
:label="(h) =>{ :label="(h) =>{
return h('span',{ return h('span',{
...@@ -743,7 +743,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -743,7 +743,7 @@ export default class MainBase extends Vue implements ControlInterface {
, ,
ibizcustomid: new FormItemModel({ caption: '自定义标识', detailType: 'FORMITEM', name: 'ibizcustomid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) ibizcustomid: new FormItemModel({ caption: '自定义标识', detailType: 'FORMITEM', name: 'ibizcustomid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
usr1109034916form: new FormTabPanelModel({ caption: 'usr1109034916form', detailType: 'TABPANEL', name: 'usr1109034916form', visible: true, isShowCaption: true, form: this, tabPages: [{ name: 'formpage1', index: 0, visible: true }, { name: 'formpage2', index: 1, visible: true }] }), form: new FormTabPanelModel({ caption: 'form', detailType: 'TABPANEL', name: 'form', visible: true, isShowCaption: true, form: this, tabPages: [{ name: 'formpage1', index: 0, visible: true }, { name: 'formpage2', index: 1, visible: true }] }),
}; };
/** /**
...@@ -1143,7 +1143,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1143,7 +1143,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase * @memberof MainBase
*/ */
public formValidateStatus(): boolean { public formValidateStatus(): boolean {
const form: any = this.$refs.usr1109034916form; const form: any = this.$refs.form;
let validatestate: boolean = true; let validatestate: boolean = true;
form.validate((valid: boolean) => { form.validate((valid: boolean) => {
validatestate = valid ? true : false; validatestate = valid ? true : false;
......
...@@ -1821,7 +1821,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1821,7 +1821,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase * @memberof MainBase
*/ */
public setColState() { public setColState() {
const _data: any = localStorage.getItem('ibizcustom_main_usr1109459025grid'); const _data: any = localStorage.getItem('ibizcustom_main_grid');
if (_data) { if (_data) {
let columns = JSON.parse(_data); let columns = JSON.parse(_data);
columns.forEach((col: any) => { columns.forEach((col: any) => {
...@@ -1839,7 +1839,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1839,7 +1839,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase * @memberof MainBase
*/ */
public onColChange() { public onColChange() {
localStorage.setItem('ibizcustom_main_usr1109459025grid', JSON.stringify(this.allColumns)); localStorage.setItem('ibizcustom_main_grid', JSON.stringify(this.allColumns));
} }
/** /**
......
...@@ -10,7 +10,7 @@ export default class MainModel { ...@@ -10,7 +10,7 @@ export default class MainModel {
* 是否是实体数据导出 * 是否是实体数据导出
* *
* @returns {any[]} * @returns {any[]}
* @memberof MainUsr1109459025gridMode * @memberof MainGridMode
*/ */
public isDEExport: boolean = false; public isDEExport: boolean = false;
...@@ -18,7 +18,7 @@ export default class MainModel { ...@@ -18,7 +18,7 @@ export default class MainModel {
* 获取数据项集合 * 获取数据项集合
* *
* @returns {any[]} * @returns {any[]}
* @memberof MainUsr1109459025gridMode * @memberof MainGridMode
*/ */
public getDataItems(): any[] { public getDataItems(): any[] {
if(this.isDEExport){ if(this.isDEExport){
...@@ -66,6 +66,12 @@ export default class MainModel { ...@@ -66,6 +66,12 @@ export default class MainModel {
name: 'ibizcustom', name: 'ibizcustom',
prop: 'ibizcustomid', prop: 'ibizcustomid',
}, },
{
name: 'n_ibizcustomname_like',
prop: 'n_ibizcustomname_like',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
prop:'size', prop:'size',
......
...@@ -574,7 +574,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -574,7 +574,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_layout' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -690,7 +690,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -690,7 +690,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_layout' + (this.$t('app.list.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.removeAction') as string) });
return; return;
} }
if (datas.length === 0) { if (datas.length === 0) {
...@@ -785,7 +785,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -785,7 +785,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_layout' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (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);
...@@ -793,7 +793,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -793,7 +793,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_layout' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZOrderListExpView' + (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){
......
...@@ -2449,31 +2449,6 @@ ...@@ -2449,31 +2449,6 @@
} }
} ], } ],
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "VIEWCTRLINVOKE1",
"getInvokeCtrl" : {
"modelref" : true,
"id" : "grid"
},
"invokeMethod" : "load",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "表格加载",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "END1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE1"
}
} ]
}, { }, {
"codeName" : "BINDPARAM2", "codeName" : "BINDPARAM2",
"getDstPSDEUILogicParam" : { "getDstPSDEUILogicParam" : {
...@@ -2566,6 +2541,31 @@ ...@@ -2566,6 +2541,31 @@
"logicNodeType" : "END", "logicNodeType" : "END",
"name" : "结束", "name" : "结束",
"returnType" : "NONEVALUE" "returnType" : "NONEVALUE"
}, {
"codeName" : "VIEWCTRLINVOKE1",
"getInvokeCtrl" : {
"modelref" : true,
"id" : "grid"
},
"invokeMethod" : "load",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "表格加载",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "END1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE1"
}
} ]
}, { }, {
"codeName" : "VIEWCTRLINVOKE2", "codeName" : "VIEWCTRLINVOKE2",
"getInvokeCtrl" : { "getInvokeCtrl" : {
...@@ -2593,12 +2593,6 @@ ...@@ -2593,12 +2593,6 @@
} ] } ]
} ], } ],
"getPSDEUILogicParams" : [ { "getPSDEUILogicParams" : [ {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"default" : true,
"entityParam" : true
}, {
"codeName" : "grid", "codeName" : "grid",
"logicName" : "表格部件", "logicName" : "表格部件",
"name" : "表格部件", "name" : "表格部件",
...@@ -2608,16 +2602,22 @@ ...@@ -2608,16 +2602,22 @@
"logicName" : "搜索表单部件", "logicName" : "搜索表单部件",
"name" : "搜索表单部件", "name" : "搜索表单部件",
"ctrlParam" : true "ctrlParam" : true
}, {
"codeName" : "viewParam",
"logicName" : "视图参数",
"name" : "视图参数",
"viewNavDataParam" : true
}, { }, {
"codeName" : "view", "codeName" : "view",
"logicName" : "当前视图", "logicName" : "当前视图",
"name" : "当前视图", "name" : "当前视图",
"activeViewParam" : true "activeViewParam" : true
}, {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"default" : true,
"entityParam" : true
}, {
"codeName" : "viewParam",
"logicName" : "视图参数",
"name" : "视图参数",
"viewNavDataParam" : true
} ], } ],
"getStartPSDEUILogicNode" : { "getStartPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
......
...@@ -19,21 +19,21 @@ ...@@ -19,21 +19,21 @@
} }
} ], } ],
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书名称", "caption" : "作者",
"codeName" : "ibizbookname", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "author",
"name" : "ibizbookname", "name" : "author",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "图书名称",
"codeName" : "author", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "ibizbookname",
"name" : "author", "name" : "ibizbookname",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -652,6 +652,376 @@ ...@@ -652,6 +652,376 @@
"requestPath" : "/select", "requestPath" : "/select",
"builtinMethod" : false "builtinMethod" : false
} ], } ],
"getAllPSAppDEUILogics" : [ {
"codeName" : "CustomViewFormLoad",
"defaultParamName" : "Default",
"logicName" : "Custom表单加载",
"name" : "Custom表单加载",
"getPSDEUILogicNodes" : [ {
"codeName" : "Begin",
"logicNodeType" : "BEGIN",
"name" : "开始",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "Begin"
}
} ],
"parallelOutput" : true
}, {
"codeName" : "VIEWCTRLINVOKE2",
"getInvokeCtrl" : {
"modelref" : true,
"id" : "form"
},
"invokeMethod" : "loadDraft",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "调用加载草稿",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "END1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE2"
}
} ]
}, {
"codeName" : "VIEWCTRLINVOKE1",
"getInvokeCtrl" : {
"modelref" : true,
"id" : "form"
},
"invokeMethod" : "load",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "调用load",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "END1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE1"
}
} ]
}, {
"codeName" : "BINDPARAM1",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "form"
},
"logicNodeType" : "BINDPARAM",
"name" : "绑定表单",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE1"
},
"linkMode" : 0,
"name" : "存在主键",
"getPSDEUILogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"getPSDEUILogicLinkConds" : [ {
"condOP" : "ISNOTNULL",
"dstFieldName" : "ibizbook",
"getDstLogicParam" : {
"modelref" : true,
"id" : "context"
},
"logicType" : "SINGLE",
"name" : "context[ibizbook] 值不为空(NotNil)"
} ]
},
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
}
}, {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE2"
},
"linkMode" : 0,
"name" : "不存在主键",
"getPSDEUILogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"getPSDEUILogicLinkConds" : [ {
"condOP" : "EQ",
"dstFieldName" : "ibizbook",
"getDstLogicParam" : {
"modelref" : true,
"id" : "context"
},
"logicType" : "SINGLE",
"name" : "context[ibizbook]"
} ]
},
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
}
} ],
"srcFieldName" : "form",
"getSrcPSDEUILogicParam" : {
"modelref" : true,
"id" : "view"
}
}, {
"codeName" : "END1",
"logicNodeType" : "END",
"name" : "结束",
"returnType" : "NONEVALUE"
} ],
"getPSDEUILogicParams" : [ {
"codeName" : "viewParam",
"logicName" : "当前视图参数",
"name" : "当前视图参数",
"viewNavDataParam" : true
}, {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"default" : true,
"entityParam" : true
}, {
"codeName" : "view",
"logicName" : "当前视图",
"name" : "当前视图",
"activeViewParam" : true
}, {
"codeName" : "form",
"logicName" : "表单部件",
"name" : "表单部件",
"ctrlParam" : true
}, {
"codeName" : "context",
"logicName" : "上下文",
"name" : "上下文",
"navContextParam" : true
} ],
"getStartPSDEUILogicNode" : {
"modelref" : true,
"id" : "Begin"
}
}, {
"codeName" : "CustomViewGridLoad",
"defaultParamName" : "Default",
"logicName" : "Custom表格加载",
"name" : "Custom表格加载",
"getPSDEUILogicNodes" : [ {
"codeName" : "Begin",
"logicNodeType" : "BEGIN",
"name" : "开始",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "Begin"
}
} ],
"parallelOutput" : true
}, {
"codeName" : "BINDPARAM2",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "grid"
},
"logicNodeType" : "BINDPARAM",
"name" : "绑定表格",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE2"
},
"linkMode" : 0,
"name" : "存在搜索表单",
"getPSDEUILogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"getPSDEUILogicLinkConds" : [ {
"condOP" : "ISNOTNULL",
"getDstLogicParam" : {
"modelref" : true,
"id" : "searchForm"
},
"logicType" : "SINGLE",
"name" : "searchForm 值不为空(NotNil)"
} ]
},
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM2"
}
}, {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE1"
},
"linkMode" : 0,
"name" : "不存在搜索表单",
"getPSDEUILogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"getPSDEUILogicLinkConds" : [ {
"condOP" : "ISNULL",
"getDstLogicParam" : {
"modelref" : true,
"id" : "searchForm"
},
"logicType" : "SINGLE",
"name" : "searchForm 值为空(Nil)"
} ]
},
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM2"
}
} ],
"srcFieldName" : "grid",
"getSrcPSDEUILogicParam" : {
"modelref" : true,
"id" : "view"
}
}, {
"codeName" : "VIEWCTRLINVOKE2",
"getInvokeCtrl" : {
"modelref" : true,
"id" : "searchForm"
},
"invokeMethod" : "loadDraft",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "搜索表单加载草稿",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE2"
}
} ]
}, {
"codeName" : "BINDPARAM1",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "searchForm"
},
"logicNodeType" : "BINDPARAM",
"name" : "绑定搜索表单",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM2"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
}
} ],
"srcFieldName" : "searchForm",
"getSrcPSDEUILogicParam" : {
"modelref" : true,
"id" : "view"
}
}, {
"codeName" : "VIEWCTRLINVOKE1",
"getInvokeCtrl" : {
"modelref" : true,
"id" : "grid"
},
"invokeMethod" : "load",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "表格加载",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "END1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE1"
}
} ]
}, {
"codeName" : "END1",
"logicNodeType" : "END",
"name" : "结束",
"returnType" : "NONEVALUE"
} ],
"getPSDEUILogicParams" : [ {
"codeName" : "viewParam",
"logicName" : "视图参数",
"name" : "视图参数",
"viewNavDataParam" : true
}, {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"default" : true,
"entityParam" : true
}, {
"codeName" : "view",
"logicName" : "当前视图",
"name" : "当前视图",
"activeViewParam" : true
}, {
"codeName" : "searchForm",
"logicName" : "搜索表单部件",
"name" : "搜索表单部件",
"ctrlParam" : true
}, {
"codeName" : "grid",
"logicName" : "表格部件",
"name" : "表格部件",
"ctrlParam" : true
} ],
"getStartPSDEUILogicNode" : {
"modelref" : true,
"id" : "Begin"
}
} ],
"getAllPSDEOPPrivs" : [ { "getAllPSDEOPPrivs" : [ {
"logicName" : "建立", "logicName" : "建立",
"name" : "CREATE" "name" : "CREATE"
......
...@@ -75,21 +75,21 @@ ...@@ -75,21 +75,21 @@
"id" : "TREEGRIDEX" "id" : "TREEGRIDEX"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书名称", "caption" : "作者",
"codeName" : "ibizbookname", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "author",
"name" : "ibizbookname", "name" : "author",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "图书名称",
"codeName" : "author", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "ibizbookname",
"name" : "author", "name" : "ibizbookname",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
"caption" : "工具栏", "caption" : "工具栏",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS", "itemType" : "CTRLPOS",
"name" : "usr1109559507toolbar", "name" : "toolbar",
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : -1,
"layout" : "SIMPLEFLEX" "layout" : "SIMPLEFLEX"
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
"caption" : "表单", "caption" : "表单",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS", "itemType" : "CTRLPOS",
"name" : "usr1109034916form", "name" : "form",
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : -1,
"layout" : "FLEX" "layout" : "FLEX"
...@@ -132,83 +132,96 @@ ...@@ -132,83 +132,96 @@
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109559507toolbar_deuiaction1_click", "name" : "toolbar_deuiaction1_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_deuiaction1" "id" : "toolbar_deuiaction1"
}, },
"getPSViewCtrlName" : "usr1109559507toolbar" "getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem3", "eventArg" : "tbitem3",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109559507toolbar_tbitem3_click", "name" : "toolbar_tbitem3_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_tbitem3" "id" : "toolbar_tbitem3"
}, },
"getPSViewCtrlName" : "usr1109559507toolbar" "getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem5", "eventArg" : "tbitem5",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109559507toolbar_tbitem5_click", "name" : "toolbar_tbitem5_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_tbitem5" "id" : "toolbar_tbitem5"
}, },
"getPSViewCtrlName" : "usr1109559507toolbar" "getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem9", "eventArg" : "tbitem9",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109559507toolbar_tbitem9_click", "name" : "toolbar_tbitem9_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_tbitem9" "id" : "toolbar_tbitem9"
}, },
"getPSViewCtrlName" : "usr1109559507toolbar" "getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem15", "eventArg" : "tbitem15",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109559507toolbar_tbitem15_click", "name" : "toolbar_tbitem15_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_tbitem15" "id" : "toolbar_tbitem15"
}, },
"getPSViewCtrlName" : "usr1109559507toolbar" "getPSViewCtrlName" : "toolbar"
}, {
"eventNames" : "onViewMounted",
"logicTrigger" : "VIEWEVENT",
"logicType" : "DEUILOGIC",
"name" : "FORMLOAD",
"getPSAppDEUILogic" : {
"modelref" : true,
"id" : "CustomViewFormLoad"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustom.json"
}
} ], } ],
"getPSAppViewUIActions" : [ { "getPSAppViewUIActions" : [ {
"name" : "usr1109559507toolbar_deuiaction1", "name" : "toolbar_deuiaction1",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "New" "id" : "New"
} }
}, { }, {
"name" : "usr1109559507toolbar_tbitem3", "name" : "toolbar_tbitem3",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Save" "id" : "Save"
} }
}, { }, {
"name" : "usr1109559507toolbar_tbitem5", "name" : "toolbar_tbitem5",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "SaveAndExit" "id" : "SaveAndExit"
} }
}, { }, {
"name" : "usr1109559507toolbar_tbitem9", "name" : "toolbar_tbitem9",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "SaveAndStart" "id" : "SaveAndStart"
} }
}, { }, {
"name" : "usr1109559507toolbar_tbitem15", "name" : "toolbar_tbitem15",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Print" "id" : "Print"
...@@ -216,11 +229,11 @@ ...@@ -216,11 +229,11 @@
"uIActionTarget" : "SINGLEKEY" "uIActionTarget" : "SINGLEKEY"
} ], } ],
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "CustomEditViewusr1109559507toolbar", "codeName" : "CustomEditViewtoolbar",
"controlType" : "TOOLBAR", "controlType" : "TOOLBAR",
"hookEventNames" : [ "CLICK" ], "hookEventNames" : [ "CLICK" ],
"logicName" : "工具栏模板(默认编辑界面)", "logicName" : "工具栏模板(默认编辑界面)",
"name" : "usr1109559507toolbar", "name" : "toolbar",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustom.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustom.json"
...@@ -228,56 +241,56 @@ ...@@ -228,56 +241,56 @@
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventArg" : "deuiaction1", "eventArg" : "deuiaction1",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109559507toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109559507toolbar_deuiaction1_click", "name" : "toolbar_deuiaction1_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_deuiaction1_click" "id" : "toolbar_deuiaction1_click"
} }
}, { }, {
"eventArg" : "tbitem3", "eventArg" : "tbitem3",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109559507toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109559507toolbar_tbitem3_click", "name" : "toolbar_tbitem3_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_tbitem3_click" "id" : "toolbar_tbitem3_click"
} }
}, { }, {
"eventArg" : "tbitem5", "eventArg" : "tbitem5",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109559507toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109559507toolbar_tbitem5_click", "name" : "toolbar_tbitem5_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_tbitem5_click" "id" : "toolbar_tbitem5_click"
} }
}, { }, {
"eventArg" : "tbitem9", "eventArg" : "tbitem9",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109559507toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109559507toolbar_tbitem9_click", "name" : "toolbar_tbitem9_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_tbitem9_click" "id" : "toolbar_tbitem9_click"
} }
}, { }, {
"eventArg" : "tbitem15", "eventArg" : "tbitem15",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109559507toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109559507toolbar_tbitem15_click", "name" : "toolbar_tbitem15_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_tbitem15_click" "id" : "toolbar_tbitem15_click"
} }
} ], } ],
"getPSControlParam" : { "getPSControlParam" : {
"id" : "USR1109559507TOOLBAR" "id" : "TOOLBAR"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -290,7 +303,7 @@ ...@@ -290,7 +303,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_deuiaction1" "id" : "toolbar_deuiaction1"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome", "glyph" : "xf0f6@FontAwesome",
...@@ -334,7 +347,7 @@ ...@@ -334,7 +347,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_tbitem3" "id" : "toolbar_tbitem3"
}, },
"getPSSysCss" : { "getPSSysCss" : {
"cssName" : "deepskyblueToolBar" "cssName" : "deepskyblueToolBar"
...@@ -381,7 +394,7 @@ ...@@ -381,7 +394,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_tbitem5" "id" : "toolbar_tbitem5"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"cssClass" : "sx-tb-saveandclose" "cssClass" : "sx-tb-saveandclose"
...@@ -522,7 +535,7 @@ ...@@ -522,7 +535,7 @@
"getPSControlParam" : { "getPSControlParam" : {
"autoLoad" : true, "autoLoad" : true,
"showBusyIndicator" : true, "showBusyIndicator" : true,
"id" : "USR1109034916FORM" "id" : "FORM"
}, },
"getPSDEFormItems" : [ { "getPSDEFormItems" : [ {
"id" : "srfupdatedate", "id" : "srfupdatedate",
...@@ -861,7 +874,7 @@ ...@@ -861,7 +874,7 @@
"id" : "update" "id" : "update"
}, },
"noTabHeader" : false, "noTabHeader" : false,
"name" : "usr1109034916form", "name" : "form",
"modelid" : "78d1d0ab3c6c8ae8be349968d12f7054", "modelid" : "78d1d0ab3c6c8ae8be349968d12f7054",
"modeltype" : "PSDEFORM_EDITFORM" "modeltype" : "PSDEFORM_EDITFORM"
} ] } ]
......
...@@ -16,147 +16,160 @@ ...@@ -16,147 +16,160 @@
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109253798toolbar_tbitem3_click", "name" : "toolbar_tbitem3_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem3" "id" : "toolbar_tbitem3"
}, },
"getPSViewCtrlName" : "usr1109253798toolbar" "getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "deuiaction2", "eventArg" : "deuiaction2",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109253798toolbar_deuiaction2_click", "name" : "toolbar_deuiaction2_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_deuiaction2" "id" : "toolbar_deuiaction2"
}, },
"getPSViewCtrlName" : "usr1109253798toolbar" "getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem4", "eventArg" : "tbitem4",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109253798toolbar_tbitem4_click", "name" : "toolbar_tbitem4_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem4" "id" : "toolbar_tbitem4"
}, },
"getPSViewCtrlName" : "usr1109253798toolbar" "getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem6", "eventArg" : "tbitem6",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109253798toolbar_tbitem6_click", "name" : "toolbar_tbitem6_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem6" "id" : "toolbar_tbitem6"
}, },
"getPSViewCtrlName" : "usr1109253798toolbar" "getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "deuiaction3", "eventArg" : "deuiaction3",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109253798toolbar_deuiaction3_click", "name" : "toolbar_deuiaction3_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_deuiaction3" "id" : "toolbar_deuiaction3"
}, },
"getPSViewCtrlName" : "usr1109253798toolbar" "getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem24", "eventArg" : "tbitem24",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109253798toolbar_tbitem24_click", "name" : "toolbar_tbitem24_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem24" "id" : "toolbar_tbitem24"
}, },
"getPSViewCtrlName" : "usr1109253798toolbar" "getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem25", "eventArg" : "tbitem25",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109253798toolbar_tbitem25_click", "name" : "toolbar_tbitem25_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem25" "id" : "toolbar_tbitem25"
}, },
"getPSViewCtrlName" : "usr1109253798toolbar" "getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem8", "eventArg" : "tbitem8",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109253798toolbar_tbitem8_click", "name" : "toolbar_tbitem8_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem8" "id" : "toolbar_tbitem8"
}, },
"getPSViewCtrlName" : "usr1109253798toolbar" "getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem13", "eventArg" : "tbitem13",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109253798toolbar_tbitem13_click", "name" : "toolbar_tbitem13_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem13" "id" : "toolbar_tbitem13"
}, },
"getPSViewCtrlName" : "usr1109253798toolbar" "getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "deuiaction1", "eventArg" : "deuiaction1",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109253798toolbar_deuiaction1_click", "name" : "toolbar_deuiaction1_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_deuiaction1" "id" : "toolbar_deuiaction1"
}, },
"getPSViewCtrlName" : "usr1109253798toolbar" "getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem11", "eventArg" : "tbitem11",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109253798toolbar_tbitem11_click", "name" : "toolbar_tbitem11_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem11" "id" : "toolbar_tbitem11"
}, },
"getPSViewCtrlName" : "usr1109253798toolbar" "getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem21", "eventArg" : "tbitem21",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109253798toolbar_tbitem21_click", "name" : "toolbar_tbitem21_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem21" "id" : "toolbar_tbitem21"
}, },
"getPSViewCtrlName" : "usr1109253798toolbar" "getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem23", "eventArg" : "tbitem23",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109253798toolbar_tbitem23_click", "name" : "toolbar_tbitem23_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem23" "id" : "toolbar_tbitem23"
}, },
"getPSViewCtrlName" : "usr1109253798toolbar" "getPSViewCtrlName" : "toolbar"
}, {
"eventNames" : "onViewMounted",
"logicTrigger" : "VIEWEVENT",
"logicType" : "DEUILOGIC",
"name" : "LOADGRID",
"getPSAppDEUILogic" : {
"modelref" : true,
"id" : "CustomViewGridLoad"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustom.json"
}
} ], } ],
"getPSAppViewRefs" : [ { "getPSAppViewRefs" : [ {
"name" : "NEWDATA", "name" : "EDITDATA",
"realTitle" : "自定义实现编辑视图", "realTitle" : "自定义实现编辑视图",
"getRefPSAppView" : { "getRefPSAppView" : {
"modelref" : true, "modelref" : true,
...@@ -164,7 +177,7 @@ ...@@ -164,7 +177,7 @@
"viewType" : "DECUSTOMVIEW" "viewType" : "DECUSTOMVIEW"
} }
}, { }, {
"name" : "EDITDATA", "name" : "NEWDATA",
"realTitle" : "自定义实现编辑视图", "realTitle" : "自定义实现编辑视图",
"getRefPSAppView" : { "getRefPSAppView" : {
"modelref" : true, "modelref" : true,
...@@ -173,84 +186,84 @@ ...@@ -173,84 +186,84 @@
} }
} ], } ],
"getPSAppViewUIActions" : [ { "getPSAppViewUIActions" : [ {
"name" : "usr1109253798toolbar_tbitem3", "name" : "toolbar_tbitem3",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "New" "id" : "New"
} }
}, { }, {
"name" : "usr1109253798toolbar_deuiaction2", "name" : "toolbar_deuiaction2",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Save" "id" : "Save"
} }
}, { }, {
"name" : "usr1109253798toolbar_tbitem4", "name" : "toolbar_tbitem4",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Edit" "id" : "Edit"
}, },
"uIActionTarget" : "SINGLEKEY" "uIActionTarget" : "SINGLEKEY"
}, { }, {
"name" : "usr1109253798toolbar_tbitem6", "name" : "toolbar_tbitem6",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Copy" "id" : "Copy"
}, },
"uIActionTarget" : "SINGLEKEY" "uIActionTarget" : "SINGLEKEY"
}, { }, {
"name" : "usr1109253798toolbar_deuiaction3", "name" : "toolbar_deuiaction3",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "ToggleFilter" "id" : "ToggleFilter"
} }
}, { }, {
"name" : "usr1109253798toolbar_tbitem24", "name" : "toolbar_tbitem24",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "ToggleRowEdit" "id" : "ToggleRowEdit"
} }
}, { }, {
"name" : "usr1109253798toolbar_tbitem25", "name" : "toolbar_tbitem25",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "NewRow" "id" : "NewRow"
} }
}, { }, {
"name" : "usr1109253798toolbar_tbitem8", "name" : "toolbar_tbitem8",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Remove" "id" : "Remove"
}, },
"uIActionTarget" : "MULTIKEY" "uIActionTarget" : "MULTIKEY"
}, { }, {
"name" : "usr1109253798toolbar_tbitem13", "name" : "toolbar_tbitem13",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "ExportExcel" "id" : "ExportExcel"
} }
}, { }, {
"name" : "usr1109253798toolbar_deuiaction1", "name" : "toolbar_deuiaction1",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "ImportExcel" "id" : "ImportExcel"
}, },
"uIActionTarget" : "NONE" "uIActionTarget" : "NONE"
}, { }, {
"name" : "usr1109253798toolbar_tbitem11", "name" : "toolbar_tbitem11",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Print" "id" : "Print"
}, },
"uIActionTarget" : "MULTIKEY" "uIActionTarget" : "MULTIKEY"
}, { }, {
"name" : "usr1109253798toolbar_tbitem21", "name" : "toolbar_tbitem21",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "ExportModel" "id" : "ExportModel"
} }
}, { }, {
"name" : "usr1109253798toolbar_tbitem23", "name" : "toolbar_tbitem23",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Import" "id" : "Import"
...@@ -306,7 +319,7 @@ ...@@ -306,7 +319,7 @@
"getPSControlParam" : { "getPSControlParam" : {
"autoLoad" : true, "autoLoad" : true,
"showBusyIndicator" : true, "showBusyIndicator" : true,
"id" : "USR1109960278SEARCHFORM" "id" : "SEARCHFORM"
}, },
"getPSDEFormItems" : [ { "getPSDEFormItems" : [ {
"id" : "n_ibizcustomname_like", "id" : "n_ibizcustomname_like",
...@@ -372,7 +385,7 @@ ...@@ -372,7 +385,7 @@
"enableAutoSearch" : false, "enableAutoSearch" : false,
"enableFilterSave" : false, "enableFilterSave" : false,
"noTabHeader" : true, "noTabHeader" : true,
"name" : "usr1109960278searchform", "name" : "searchform",
"modelid" : "3e4cbaeeebc4f73a46c16a7c015ad679", "modelid" : "3e4cbaeeebc4f73a46c16a7c015ad679",
"modeltype" : "PSDEFORM_SEARCHFORM" "modeltype" : "PSDEFORM_SEARCHFORM"
}, { }, {
...@@ -476,7 +489,7 @@ ...@@ -476,7 +489,7 @@
"getPSControlParam" : { "getPSControlParam" : {
"autoLoad" : true, "autoLoad" : true,
"showBusyIndicator" : true, "showBusyIndicator" : true,
"id" : "USR1109459025GRID" "id" : "GRID"
}, },
"getPSDEGridColumns" : [ { "getPSDEGridColumns" : [ {
"align" : "LEFT", "align" : "LEFT",
...@@ -640,15 +653,15 @@ ...@@ -640,15 +653,15 @@
"hideHeader" : false, "hideHeader" : false,
"noSort" : false, "noSort" : false,
"singleSelect" : false, "singleSelect" : false,
"name" : "usr1109459025grid", "name" : "grid",
"modelid" : "78d1d0ab3c6c8ae8be349968d12f7054", "modelid" : "78d1d0ab3c6c8ae8be349968d12f7054",
"modeltype" : "PSDEGRID" "modeltype" : "PSDEGRID"
}, { }, {
"codeName" : "CustomGridViewusr1109253798toolbar", "codeName" : "CustomGridViewtoolbar",
"controlType" : "TOOLBAR", "controlType" : "TOOLBAR",
"hookEventNames" : [ "CLICK" ], "hookEventNames" : [ "CLICK" ],
"logicName" : "工具栏模板(默认表格界面)", "logicName" : "工具栏模板(默认表格界面)",
"name" : "usr1109253798toolbar", "name" : "toolbar",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustom.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustom.json"
...@@ -656,136 +669,136 @@ ...@@ -656,136 +669,136 @@
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventArg" : "tbitem3", "eventArg" : "tbitem3",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109253798toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109253798toolbar_tbitem3_click", "name" : "toolbar_tbitem3_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem3_click" "id" : "toolbar_tbitem3_click"
} }
}, { }, {
"eventArg" : "deuiaction2", "eventArg" : "deuiaction2",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109253798toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109253798toolbar_deuiaction2_click", "name" : "toolbar_deuiaction2_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_deuiaction2_click" "id" : "toolbar_deuiaction2_click"
} }
}, { }, {
"eventArg" : "tbitem4", "eventArg" : "tbitem4",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109253798toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109253798toolbar_tbitem4_click", "name" : "toolbar_tbitem4_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem4_click" "id" : "toolbar_tbitem4_click"
} }
}, { }, {
"eventArg" : "tbitem6", "eventArg" : "tbitem6",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109253798toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109253798toolbar_tbitem6_click", "name" : "toolbar_tbitem6_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem6_click" "id" : "toolbar_tbitem6_click"
} }
}, { }, {
"eventArg" : "deuiaction3", "eventArg" : "deuiaction3",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109253798toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109253798toolbar_deuiaction3_click", "name" : "toolbar_deuiaction3_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_deuiaction3_click" "id" : "toolbar_deuiaction3_click"
} }
}, { }, {
"eventArg" : "tbitem24", "eventArg" : "tbitem24",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109253798toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109253798toolbar_tbitem24_click", "name" : "toolbar_tbitem24_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem24_click" "id" : "toolbar_tbitem24_click"
} }
}, { }, {
"eventArg" : "tbitem25", "eventArg" : "tbitem25",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109253798toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109253798toolbar_tbitem25_click", "name" : "toolbar_tbitem25_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem25_click" "id" : "toolbar_tbitem25_click"
} }
}, { }, {
"eventArg" : "tbitem8", "eventArg" : "tbitem8",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109253798toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109253798toolbar_tbitem8_click", "name" : "toolbar_tbitem8_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem8_click" "id" : "toolbar_tbitem8_click"
} }
}, { }, {
"eventArg" : "tbitem13", "eventArg" : "tbitem13",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109253798toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109253798toolbar_tbitem13_click", "name" : "toolbar_tbitem13_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem13_click" "id" : "toolbar_tbitem13_click"
} }
}, { }, {
"eventArg" : "deuiaction1", "eventArg" : "deuiaction1",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109253798toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109253798toolbar_deuiaction1_click", "name" : "toolbar_deuiaction1_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_deuiaction1_click" "id" : "toolbar_deuiaction1_click"
} }
}, { }, {
"eventArg" : "tbitem11", "eventArg" : "tbitem11",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109253798toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109253798toolbar_tbitem11_click", "name" : "toolbar_tbitem11_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem11_click" "id" : "toolbar_tbitem11_click"
} }
}, { }, {
"eventArg" : "tbitem21", "eventArg" : "tbitem21",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109253798toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109253798toolbar_tbitem21_click", "name" : "toolbar_tbitem21_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem21_click" "id" : "toolbar_tbitem21_click"
} }
}, { }, {
"eventArg" : "tbitem23", "eventArg" : "tbitem23",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109253798toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109253798toolbar_tbitem23_click", "name" : "toolbar_tbitem23_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem23_click" "id" : "toolbar_tbitem23_click"
} }
} ], } ],
"getPSControlParam" : { "getPSControlParam" : {
"id" : "USR1109253798TOOLBAR" "id" : "TOOLBAR"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -798,7 +811,7 @@ ...@@ -798,7 +811,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem3" "id" : "toolbar_tbitem3"
}, },
"getPSSysCss" : { "getPSSysCss" : {
"cssName" : "deepskyblueToolBar" "cssName" : "deepskyblueToolBar"
...@@ -845,7 +858,7 @@ ...@@ -845,7 +858,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_deuiaction2" "id" : "toolbar_deuiaction2"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf0c7@FontAwesome", "glyph" : "xf0c7@FontAwesome",
...@@ -889,7 +902,7 @@ ...@@ -889,7 +902,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem4" "id" : "toolbar_tbitem4"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf044@FontAwesome", "glyph" : "xf044@FontAwesome",
...@@ -934,7 +947,7 @@ ...@@ -934,7 +947,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem6" "id" : "toolbar_tbitem6"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf0c5@FontAwesome", "glyph" : "xf0c5@FontAwesome",
...@@ -983,7 +996,7 @@ ...@@ -983,7 +996,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem8" "id" : "toolbar_tbitem8"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -1032,7 +1045,7 @@ ...@@ -1032,7 +1045,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem13" "id" : "toolbar_tbitem13"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf1c3@FontAwesome", "glyph" : "xf1c3@FontAwesome",
...@@ -1073,7 +1086,7 @@ ...@@ -1073,7 +1086,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_deuiaction1" "id" : "toolbar_deuiaction1"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf093@FontAwesome", "glyph" : "xf093@FontAwesome",
...@@ -1118,7 +1131,7 @@ ...@@ -1118,7 +1131,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem21" "id" : "toolbar_tbitem21"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf019@FontAwesome", "glyph" : "xf019@FontAwesome",
...@@ -1153,7 +1166,7 @@ ...@@ -1153,7 +1166,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109253798toolbar_tbitem23" "id" : "toolbar_tbitem23"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf093@FontAwesome", "glyph" : "xf093@FontAwesome",
...@@ -1276,7 +1289,7 @@ ...@@ -1276,7 +1289,7 @@
"caption" : "工具栏", "caption" : "工具栏",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS", "itemType" : "CTRLPOS",
"name" : "usr1109253798toolbar", "name" : "toolbar",
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : -1,
"layout" : "SIMPLEFLEX" "layout" : "SIMPLEFLEX"
...@@ -1288,7 +1301,7 @@ ...@@ -1288,7 +1301,7 @@
"caption" : "搜索表单", "caption" : "搜索表单",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS", "itemType" : "CTRLPOS",
"name" : "usr1109960278searchform", "name" : "searchform",
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : -1,
"layout" : "FLEX" "layout" : "FLEX"
...@@ -1298,7 +1311,7 @@ ...@@ -1298,7 +1311,7 @@
"caption" : "表格", "caption" : "表格",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS", "itemType" : "CTRLPOS",
"name" : "usr1109459025grid", "name" : "grid",
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : -1,
"layout" : "FLEX" "layout" : "FLEX"
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-644-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-646-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>
...@@ -258,7 +258,7 @@ ...@@ -258,7 +258,7 @@
<!--输出实体[IBIZCUSTOM]数据结构 --> <!--输出实体[IBIZCUSTOM]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustom-25-9"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustom-53-9">
<createTable tableName="T_IBIZCUSTOM"> <createTable tableName="T_IBIZCUSTOM">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZCUSTOM]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZCUSTOM]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizcustom-25-3" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizcustom-53-3" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZCUSTOM"> <createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZCUSTOM">
<![CDATA[ SELECT t1.CREATEDATE, t1.CREATEMAN, t1.IBIZCUSTOMID, t1.IBIZCUSTOMNAME, t1.UPDATEDATE, t1.UPDATEMAN FROM T_IBIZCUSTOM t1 ]]> <![CDATA[ SELECT t1.CREATEDATE, t1.CREATEMAN, t1.IBIZCUSTOMID, t1.IBIZCUSTOMNAME, t1.UPDATEDATE, t1.UPDATEMAN FROM T_IBIZCUSTOM t1 ]]>
</createView> </createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册