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

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

上级 ddac090e
<template> <template>
<div v-if="!isLayoutLoadding" class="app-view-layout ibizbookinter-func-kan-ban-view" :style="{height: '100%', width: '100%','display': 'flex', 'flex-direction': 'column'}"> <div class='view-container dekanbanview ibizbookinter-func-kan-ban-view'>
<app-standard-container name="page_container" :layoutModelDetails="layoutModelDetails"> <app-studioaction :viewTitle="$t(model.srfCaption)" viewName="ibizbookinterfunckanbanview"></app-studioaction>
<template #container_grid1> <card class='view-card view-no-caption ' :dis-hover="true" :bordered="false">
<app-simpleflex-container name="container_grid1" :layoutModelDetails="layoutModelDetails"> <div class='view-top-messages'>
<template #container1> <app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup59' viewname='ibizbookinterfunckanbanview'></app-alert-group> </div>
<app-simpleflex-container name="container1" :layoutModelDetails="layoutModelDetails"> <div class='content-container'>
<template #view_pagecaption> <div style="margin-bottom:6px;">
<app-preset-caption name="view_pagecaption" :layoutModelDetails="layoutModelDetails">实体看板视图(内置功能)</app-preset-caption> <div class="quick-group-container">
</template> <app-quick-group :items="quickGroupModel" @valuechange="quickGroupValueChange"></app-quick-group>
</app-simpleflex-container> </div>
</template> <i-input v-show='!this.isExpandSearchForm ' v-model='query' search @on-search='onSearch' placeholder="图书名称" class='pull-left' style='max-width: 400px;margin-top:6px;' />
<template #container2> <div class='pull-right'>
<app-simpleflex-container name="container2" :layoutModelDetails="layoutModelDetails"> <div class='toolbar-container'>
<template #quicksearchbar>
<app-ctrl-pos name="quicksearchbar" :layoutModelDetails="layoutModelDetails">
<i-input v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;' placeholder="图书名称" />
</app-ctrl-pos>
</template>
</app-simpleflex-container>
</template>
<template #container_2>
<app-simpleflex-container name="container_2" :layoutModelDetails="layoutModelDetails">
<template #toolbar>
<app-ctrl-pos name="toolbar" :layoutModelDetails="layoutModelDetails">
<div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem3.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction2.visabled" :disabled="toolBarModels.deuiaction2.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction2' }, $event)">
<i class='fa fa-save'></i>
<span class='caption'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.deuiaction2.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.deuiaction2.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem4.visabled" :disabled="toolBarModels.tbitem4.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'tbitem4' }, $event)">
<span class='caption'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem4.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem4.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem6.visabled" :disabled="toolBarModels.tbitem6.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'tbitem6' }, $event)">
<span class='caption'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem6.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem6.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.deuiaction3.tip')}}</div>
</tooltip>
<span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'tbitem8' }, $event)">
<span class='caption'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem8.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem8.tip')}}</div>
</tooltip>
<span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-upload'></i>
<span class='caption'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<span class='seperator'>|</span>
<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 v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class=''></i> <i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem16.caption')}}</span> <span class='caption'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem3.caption')}}</span>
<icon type="ios-arrow-down"></icon>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem16.tip')}}</div> <div slot='content'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem3.tip')}}</div>
</tooltip> </tooltip>
<dropdown-menu slot='list'> <tooltip :transfer="true" :max-width="600">
<dropdown-item> <i-button v-show="toolBarModels.deuiaction2.visabled" :disabled="toolBarModels.deuiaction2.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction2' }, $event)">
<tooltip :transfer="true" :max-width="600"> <i class='fa fa-save'></i>
<i-button v-show="toolBarModels.tbitem21.visabled" :disabled="toolBarModels.tbitem21.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'tbitem21' }, $event)"> <span class='caption'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.deuiaction2.caption')}}</span>
<i class='fa fa-download'></i> </i-button>
<span class='caption'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem21.caption')}}</span> <div slot='content'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.deuiaction2.tip')}}</div>
</i-button> </tooltip>
<div slot='content'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem21.tip')}}</div> <tooltip :transfer="true" :max-width="600">
</tooltip> <i-button v-show="toolBarModels.tbitem4.visabled" :disabled="toolBarModels.tbitem4.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'tbitem4' }, $event)">
<span class='caption'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem4.caption')}}</span>
</dropdown-item> </i-button>
</dropdown-menu> <div slot='content'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem4.tip')}}</div>
</dropdown> </tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem6.visabled" :disabled="toolBarModels.tbitem6.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'tbitem6' }, $event)">
<span class='caption'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem6.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem6.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.deuiaction3.tip')}}</div>
</tooltip>
<span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'tbitem8' }, $event)">
<span class='caption'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem8.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem8.tip')}}</div>
</tooltip>
<span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-upload'></i>
<span class='caption'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<span class='seperator'>|</span>
<dropdown v-show="toolBarModels.tbitem16.visabled" trigger='click'>
<tooltip :transfer="true" :max-width="600">
<i-button class=''>
<i class=''></i>
<span class='caption'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem16.caption')}}</span>
<icon type="ios-arrow-down"></icon>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem16.tip')}}</div>
</tooltip>
<dropdown-menu slot='list'>
<dropdown-item>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem21.visabled" :disabled="toolBarModels.tbitem21.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'tbitem21' }, $event)">
<i class='fa fa-download'></i>
<span class='caption'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem21.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.interfunckanbanviewtoolbar_toolbar.tbitem21.tip')}}</div>
</tooltip>
</dropdown-item>
</dropdown-menu>
</dropdown>
</div>
</div>
</div>
<view_searchform
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:showBusyIndicator="true"
v-show="isExpandSearchForm"
loaddraftAction="FilterGetDraft"
loadAction="FilterGet"
name="searchform"
ref='searchform'
@search="searchform_search($event)"
@load="searchform_load($event)"
@save="searchform_save($event)"
@closeview="closeView($event)">
</view_searchform>
<view_kanban
:viewState="viewState"
:viewparams="viewparams"
:context="context"
createAction="Create"
removeAction="Remove"
updateAction="Update"
fetchAction="FetchDefault"
updateGroupAction="Update"
:showBusyIndicator="true"
:newdata="newdata"
:opendata="opendata"
name="kanban"
ref='kanban'
@rowdblclick="kanban_rowdblclick($event)"
@selectionchange="kanban_selectionchange($event)"
@remove="kanban_remove($event)"
@load="kanban_load($event)"
@beforeload="kanban_beforeload($event)"
@closeview="closeView($event)">
</view_kanban>
</div>
</card>
</div> </div>
</app-ctrl-pos>
</template>
</app-simpleflex-container>
</template>
</app-simpleflex-container>
</template>
<template #container4>
<app-standard-container name="container4" :layoutModelDetails="layoutModelDetails">
<template #searchform>
<app-ctrl-pos name="searchform" :layoutModelDetails="layoutModelDetails">
<view_searchform
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:showBusyIndicator="true"
loaddraftAction="FilterGetDraft"
loadAction="FilterGet"
name="searchform"
ref='searchform'
@search="searchform_search($event)"
@load="searchform_load($event)"
@save="searchform_save($event)"
@closeview="closeView($event)">
</view_searchform>
</app-ctrl-pos>
</template>
<template #kanban>
<app-ctrl-pos name="kanban" :layoutModelDetails="layoutModelDetails">
<view_kanban
:viewState="viewState"
:viewparams="viewparams"
:context="context"
createAction="Create"
removeAction="Remove"
updateAction="Update"
fetchAction="FetchDefault"
updateGroupAction="Update"
:showBusyIndicator="true"
:newdata="newdata"
:opendata="opendata"
name="kanban"
ref='kanban'
@rowdblclick="kanban_rowdblclick($event)"
@selectionchange="kanban_selectionchange($event)"
@remove="kanban_remove($event)"
@load="kanban_load($event)"
@beforeload="kanban_beforeload($event)"
@closeview="closeView($event)">
</view_kanban>
</app-ctrl-pos>
</template>
</app-standard-container>
</template>
</app-standard-container>
</div>
</template> </template>
...@@ -170,7 +145,6 @@ import IBIZBOOKAuthService from '@/authservice/ibizbook/ibizbook-auth-service'; ...@@ -170,7 +145,6 @@ import IBIZBOOKAuthService from '@/authservice/ibizbook/ibizbook-auth-service';
import KanBanViewEngine from '@engine/view/kan-ban-view-engine'; import KanBanViewEngine from '@engine/view/kan-ban-view-engine';
import IBIZBOOKUIService from '@/uiservice/ibizbook/ibizbook-ui-service'; import IBIZBOOKUIService from '@/uiservice/ibizbook/ibizbook-ui-service';
import { PanelContainerModel, PanelRawitemModel, PanelFieldModel, PanelControlModel, PanelButtonModel, PanelUserControlModel, PanelTabPanelModel, PanelTabPageModel, PanelCtrlPosModel} from '@/model/panel-detail';
import CodeListService from "@/codelist/codelist-service"; import CodeListService from "@/codelist/codelist-service";
...@@ -340,7 +314,6 @@ export default class IBIZBOOKInterFuncKanBanViewBase extends Vue { ...@@ -340,7 +314,6 @@ export default class IBIZBOOKInterFuncKanBanViewBase extends Vue {
view_kanban: { name: 'kanban', type: 'KANBAN' }, view_kanban: { name: 'kanban', type: 'KANBAN' },
view_toolbar: { name: 'toolbar', type: 'TOOLBAR' }, view_toolbar: { name: 'toolbar', type: 'TOOLBAR' },
view_searchform: { name: 'searchform', type: 'SEARCHFORM' }, view_searchform: { name: 'searchform', type: 'SEARCHFORM' },
view_searchbar: { name: 'searchbar', type: 'SEARCHBAR' },
}; };
/** /**
...@@ -410,191 +383,6 @@ export default class IBIZBOOKInterFuncKanBanViewBase extends Vue { ...@@ -410,191 +383,6 @@ export default class IBIZBOOKInterFuncKanBanViewBase extends Vue {
}; };
/**
* 视图布局顶级成员名称
*
* @public
* @memberof IBIZBOOKInterFuncKanBanViewBase
*/
public rootLayoutDetailNames: string[] = [ 'page_container' ];
/**
* 视图布局面板项模型对象
*
* @public
* @memberof IBIZBOOKInterFuncKanBanViewBase
*/
public layoutItems:any = {
view_pagecaption:{ name: 'view_pagecaption', caption: '页面标题', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'FULL', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'LEFT', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , fieldState: '0', },
container1:{ name: 'container1', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:6, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid1', panel: this , details:['view_pagecaption'] , dataRegionType: 'INHERIT' },
quicksearchbar:{ name: 'quicksearchbar', caption: 'QUICKSEARCHBAR', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'RIGHT', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container2', panel: this },
container2:{ name: 'container2', 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:['quicksearchbar'] , dataRegionType: 'INHERIT' },
toolbar:{ name: 'toolbar', caption: 'TOOLBAR', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'RIGHT', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_2', panel: this },
container_2:{ name: 'container_2', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid1', panel: this , details:['toolbar'] , dataRegionType: 'INHERIT' },
container_grid1:{ name: 'container_grid1', 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','container_2'] , dataRegionType: 'INHERIT' },
searchform:{ name: 'searchform', caption: 'SEARCHFORM', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container4', panel: this },
kanban:{ name: 'kanban', caption: 'KANBAN', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:100, heightMode:'PERCENTAGE', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container4', panel: this },
container4:{ name: 'container4', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:100, heightMode:'PERCENTAGE', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'page_container', panel: this , details:['searchform','kanban'] , dataRegionType: 'INHERIT' },
page_container:{ name: 'page_container', 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','container4'] , dataRegionType: 'INHERIT' }
};
/**
* 视图布局是否加载
*
* @public
* @memberof IBIZBOOKInterFuncKanBanViewBase
*/
public isLayoutLoadding: boolean = true;
/**
* 视图布局数据
*
* @public
* @memberof IBIZBOOKInterFuncKanBanViewBase
*/
public layoutData:any = {};
/**
* 视图布局面板模型对象
*
* @public
* @memberof IBIZBOOKInterFuncKanBanViewBase
*/
public layoutModelDetails:any = {};
/**
* 初始化布局
*
* @public
* @memberof IBIZBOOKInterFuncKanBanViewBase
*/
public async initLayout() {
if (this.rootLayoutDetailNames.length > 0) {
for (let i = 0; i < this.rootLayoutDetailNames.length; i++) {
const name = this.rootLayoutDetailNames[i];
const rootItem = this.layoutItems[name];
if (!rootItem) {
return;
}
await this.initLayoutItem(rootItem);
}
}
return true;
}
/**
* 初始化布局项
*
* @public
* @memberof IBIZBOOKInterFuncKanBanViewBase
*/
public async initLayoutItem(layoutModelItem: any, index: number = 0) {
const { name } = layoutModelItem;
const layoutModelDetail = Util.getLayoutItemInstance(layoutModelItem);
if (!index) {
await layoutModelDetail.load(this.context, this.viewparams);
this.layoutData[name] = layoutModelDetail.getData();
this.$set(this.layoutData, name, layoutModelDetail.getData());
this.$set(this.layoutModelDetails, name, layoutModelDetail);
} else {
layoutModelDetail.setIndex(index);
await layoutModelDetail.load(this.context, this.viewparams);
this.$set(this.layoutModelDetails, `${name}_${index}`, layoutModelDetail);
this.$set(this.layoutData, `${name}_${index}`, layoutModelDetail.getData());
}
if (layoutModelDetail && layoutModelDetail.details) {
if (layoutModelDetail.dataRegionType === 'MULTIDATA') {
const multiData = layoutModelDetail.getData();
if (multiData && multiData.length > 0) {
for (let i = 0; i < multiData.length; i++) {
for (let j = 0; j < layoutModelDetail.details.length; j++) {
const key = layoutModelDetail.details[j];
if (this.layoutItems[key]) {
await this.initLayoutItem(this.layoutItems[key], i);
}
}
}
}
} else {
for (let i = 0; i < layoutModelDetail.details.length; i++) {
const key = layoutModelDetail.details[i];
if (this.layoutItems[key]) {
await this.initLayoutItem(this.layoutItems[key],index);
}
}
}
}
}
/**
* 处理值改变
*
* @public
* @memberof IBIZBOOKInterFuncKanBanViewBase
*/
public handleValueChange($event: { name: string, value: any }) {
if (!$event || !$event.name || Object.is($event.name, '') || !this.layoutData.hasOwnProperty($event.name)) {
return;
}
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZBOOKInterFuncKanBanViewBase
*/
public getButtonXData(name: string): any {
let xData = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.parentName) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
* @public
* @memberof IBIZBOOKInterFuncKanBanViewBase
*/
public handleButtonClick(name: string, $event?: any) {
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
/** /**
...@@ -936,15 +724,12 @@ export default class IBIZBOOKInterFuncKanBanViewBase extends Vue { ...@@ -936,15 +724,12 @@ export default class IBIZBOOKInterFuncKanBanViewBase extends Vue {
*/ */
public afterMounted(){ public afterMounted(){
const _this: any = this; const _this: any = this;
_this.initLayout().then((result: any) => { _this.engineInit();
_this.isLayoutLoadding = false; if (_this.loadModel && _this.loadModel instanceof Function) {
_this.engineInit(); _this.loadModel();
if (_this.loadModel && _this.loadModel instanceof Function) { }
_this.loadModel(); _this.loadQuickGroupModel();
}
_this.loadQuickGroupModel();
})
} }
......
.ibizbookinter-func-kan-ban-view { .ibizbookinter-func-kan-ban-view{
display: block; position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
.ibizbookinter-func-kan-ban-view{
display: block;
} }
...@@ -4,12 +4,10 @@ import IBIZBOOKInterFuncKanBanViewBase from './ibizbookinter-func-kan-ban-view-b ...@@ -4,12 +4,10 @@ import IBIZBOOKInterFuncKanBanViewBase from './ibizbookinter-func-kan-ban-view-b
import view_kanban from '@widgets/ibizbook/inter-func-kanban-kanban/inter-func-kanban-kanban.vue'; import view_kanban from '@widgets/ibizbook/inter-func-kanban-kanban/inter-func-kanban-kanban.vue';
import view_searchform from '@widgets/ibizbook/default-searchform/default-searchform.vue'; import view_searchform from '@widgets/ibizbook/default-searchform/default-searchform.vue';
import view_searchbar from '@widgets/ibizbook/-searchbar/-searchbar.vue';
@Component({ @Component({
components: { components: {
view_kanban, view_kanban,
view_searchform, view_searchform,
view_searchbar,
}, },
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
......
<template> <template>
<div v-if="!isLayoutLoadding" class="app-view-layout ibizbookusr4-list-view" :style="{height: '100%', width: '100%','display': 'flex', 'flex-direction': 'column'}"> <div class='view-container delistview ibizbookusr4-list-view'>
<app-standard-container name="page_container" :layoutModelDetails="layoutModelDetails"> <app-studioaction :viewTitle="$t(model.srfCaption)" viewName="ibizbookusr4listview"></app-studioaction>
<template #container_grid1> <card class='view-card view-no-caption ' :bordered="false" :dis-hover="true" >
<app-simpleflex-container name="container_grid1" :layoutModelDetails="layoutModelDetails">
<template #container1>
<app-simpleflex-container name="container1" :layoutModelDetails="layoutModelDetails"> <div class='view-top-messages'>
<template #view_pagecaption> <app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup96' viewname='ibizbookusr4listview'></app-alert-group> </div>
<app-preset-caption name="view_pagecaption" :layoutModelDetails="layoutModelDetails">实体列表视图</app-preset-caption> <div class='content-container'>
</template>
</app-simpleflex-container> <div style="margin-bottom:6px;">
</template> <div class="quick-group-container">
<template #container2> <app-quick-group :items="quickGroupModel" @valuechange="quickGroupValueChange"></app-quick-group>
<app-simpleflex-container name="container2" :layoutModelDetails="layoutModelDetails"> </div>
<template #quicksearchbar> <i-input v-show="!isExpandSearchForm" v-model="query" search enter-button @on-search="onSearch($event)" class='pull-left' placeholder="图书名称" style='max-width: 400px;margin-top:6px;padding-left: 24px' />
<app-ctrl-pos name="quicksearchbar" :layoutModelDetails="layoutModelDetails"> <div class='pull-right'>
<i-input v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;' placeholder="图书名称" /> <div class='toolbar-container'>
</app-ctrl-pos> <tooltip :transfer="true" :max-width="600">
</template> <i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
</app-simpleflex-container> <i class='fa fa-file-text-o'></i>
</template> <span class='caption'>{{$t('entities.ibizbook.usr4listviewtoolbar_toolbar.deuiaction1.caption')}}</span>
<template #container_2> </i-button>
<app-simpleflex-container name="container_2" :layoutModelDetails="layoutModelDetails"> <div slot='content'>{{$t('entities.ibizbook.usr4listviewtoolbar_toolbar.deuiaction1.tip')}}</div>
<template #toolbar> </tooltip>
<app-ctrl-pos name="toolbar" :layoutModelDetails="layoutModelDetails"> <tooltip :transfer="true" :max-width="600">
<div class='toolbar-container'> <i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<tooltip :transfer="true" :max-width="600"> <i class='fa fa-edit'></i>
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)"> <span class='caption'>{{$t('entities.ibizbook.usr4listviewtoolbar_toolbar.deuiaction3.caption')}}</span>
<i class='fa fa-file-text-o'></i> </i-button>
<span class='caption'>{{$t('entities.ibizbook.usr4listviewtoolbar_toolbar.deuiaction1.caption')}}</span> <div slot='content'>{{$t('entities.ibizbook.usr4listviewtoolbar_toolbar.deuiaction3.tip')}}</div>
</i-button> </tooltip>
<div slot='content'>{{$t('entities.ibizbook.usr4listviewtoolbar_toolbar.deuiaction1.tip')}}</div> <tooltip :transfer="true" :max-width="600">
</tooltip> <i-button v-show="toolBarModels.deuiaction2.visabled" :disabled="toolBarModels.deuiaction2.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction2' }, $event)">
<tooltip :transfer="true" :max-width="600"> <i class='fa fa-remove'></i>
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction3' }, $event)"> <span class='caption'>{{$t('entities.ibizbook.usr4listviewtoolbar_toolbar.deuiaction2.caption')}}</span>
<i class='fa fa-edit'></i> </i-button>
<span class='caption'>{{$t('entities.ibizbook.usr4listviewtoolbar_toolbar.deuiaction3.caption')}}</span> <div slot='content'>{{$t('entities.ibizbook.usr4listviewtoolbar_toolbar.deuiaction2.tip')}}</div>
</i-button> </tooltip>
<div slot='content'>{{$t('entities.ibizbook.usr4listviewtoolbar_toolbar.deuiaction3.tip')}}</div> <tooltip :transfer="true" :max-width="600">
</tooltip> <i-button v-show="toolBarModels.deuiaction4.visabled" :disabled="toolBarModels.deuiaction4.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction4' }, $event)">
<tooltip :transfer="true" :max-width="600"> <i class='fa fa-filter'></i>
<i-button v-show="toolBarModels.deuiaction2.visabled" :disabled="toolBarModels.deuiaction2.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction2' }, $event)"> <span class='caption'>{{$t('entities.ibizbook.usr4listviewtoolbar_toolbar.deuiaction4.caption')}}</span>
<i class='fa fa-remove'></i> </i-button>
<span class='caption'>{{$t('entities.ibizbook.usr4listviewtoolbar_toolbar.deuiaction2.caption')}}</span> <div slot='content'>{{$t('entities.ibizbook.usr4listviewtoolbar_toolbar.deuiaction4.tip')}}</div>
</i-button> </tooltip>
<div slot='content'>{{$t('entities.ibizbook.usr4listviewtoolbar_toolbar.deuiaction2.tip')}}</div> </div>
</tooltip> </div>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction4.visabled" :disabled="toolBarModels.deuiaction4.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction4' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizbook.usr4listviewtoolbar_toolbar.deuiaction4.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.usr4listviewtoolbar_toolbar.deuiaction4.tip')}}</div>
</tooltip>
</div> </div>
</app-ctrl-pos> <view_searchform
</template>
</app-simpleflex-container>
</template>
</app-simpleflex-container>
</template>
<template #container5>
<app-standard-container name="container5" :layoutModelDetails="layoutModelDetails">
<template #searchform>
<app-ctrl-pos name="searchform" :layoutModelDetails="layoutModelDetails">
<view_searchform
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
:context="context" :context="context"
:showBusyIndicator="true" :showBusyIndicator="true"
v-show="isExpandSearchForm"
loaddraftAction="FilterGetDraft" loaddraftAction="FilterGetDraft"
loadAction="FilterGet" loadAction="FilterGet"
...@@ -78,11 +62,7 @@ ...@@ -78,11 +62,7 @@
@save="searchform_save($event)" @save="searchform_save($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_searchform> </view_searchform>
</app-ctrl-pos> <view_list
</template>
<template #list>
<app-ctrl-pos name="list" :layoutModelDetails="layoutModelDetails">
<view_list
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
:context="context" :context="context"
...@@ -103,12 +83,10 @@ ...@@ -103,12 +83,10 @@
@beforeload="list_beforeload($event)" @beforeload="list_beforeload($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_list> </view_list>
</app-ctrl-pos>
</template> </div>
</app-standard-container> </card>
</template> </div>
</app-standard-container>
</div>
</template> </template>
...@@ -123,7 +101,6 @@ import IBIZBOOKAuthService from '@/authservice/ibizbook/ibizbook-auth-service'; ...@@ -123,7 +101,6 @@ import IBIZBOOKAuthService from '@/authservice/ibizbook/ibizbook-auth-service';
import ListViewEngine from '@engine/view/list-view-engine'; import ListViewEngine from '@engine/view/list-view-engine';
import IBIZBOOKUIService from '@/uiservice/ibizbook/ibizbook-ui-service'; import IBIZBOOKUIService from '@/uiservice/ibizbook/ibizbook-ui-service';
import { PanelContainerModel, PanelRawitemModel, PanelFieldModel, PanelControlModel, PanelButtonModel, PanelUserControlModel, PanelTabPanelModel, PanelTabPageModel, PanelCtrlPosModel} from '@/model/panel-detail';
import CodeListService from "@/codelist/codelist-service"; import CodeListService from "@/codelist/codelist-service";
...@@ -293,7 +270,6 @@ export default class IBIZBOOKUsr4ListViewBase extends Vue { ...@@ -293,7 +270,6 @@ export default class IBIZBOOKUsr4ListViewBase extends Vue {
view_searchform: { name: 'searchform', type: 'SEARCHFORM' }, view_searchform: { name: 'searchform', type: 'SEARCHFORM' },
view_list: { name: 'list', type: 'LIST' }, view_list: { name: 'list', type: 'LIST' },
view_toolbar: { name: 'toolbar', type: 'TOOLBAR' }, view_toolbar: { name: 'toolbar', type: 'TOOLBAR' },
view_searchbar: { name: 'searchbar', type: 'SEARCHBAR' },
}; };
/** /**
...@@ -350,191 +326,6 @@ export default class IBIZBOOKUsr4ListViewBase extends Vue { ...@@ -350,191 +326,6 @@ export default class IBIZBOOKUsr4ListViewBase extends Vue {
}; };
/**
* 视图布局顶级成员名称
*
* @public
* @memberof IBIZBOOKUsr4ListViewBase
*/
public rootLayoutDetailNames: string[] = [ 'page_container' ];
/**
* 视图布局面板项模型对象
*
* @public
* @memberof IBIZBOOKUsr4ListViewBase
*/
public layoutItems:any = {
view_pagecaption:{ name: 'view_pagecaption', caption: '页面标题', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'FULL', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'LEFT', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , fieldState: '0', },
container1:{ name: 'container1', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:6, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid1', panel: this , details:['view_pagecaption'] , dataRegionType: 'INHERIT' },
quicksearchbar:{ name: 'quicksearchbar', caption: 'QUICKSEARCHBAR', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'RIGHT', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container2', panel: this },
container2:{ name: 'container2', 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:['quicksearchbar'] , dataRegionType: 'INHERIT' },
toolbar:{ name: 'toolbar', caption: 'TOOLBAR', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'RIGHT', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_2', panel: this },
container_2:{ name: 'container_2', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid1', panel: this , details:['toolbar'] , dataRegionType: 'INHERIT' },
container_grid1:{ name: 'container_grid1', 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','container_2'] , dataRegionType: 'INHERIT' },
searchform:{ name: 'searchform', caption: 'SEARCHFORM', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container5', panel: this },
list:{ name: 'list', caption: 'LIST', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:100, heightMode:'PERCENTAGE', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container5', panel: this },
container5:{ name: 'container5', 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:''}, parentName: 'page_container', panel: this , details:['searchform','list'] , dataRegionType: 'INHERIT' },
page_container:{ name: 'page_container', 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','container5'] , dataRegionType: 'INHERIT' }
};
/**
* 视图布局是否加载
*
* @public
* @memberof IBIZBOOKUsr4ListViewBase
*/
public isLayoutLoadding: boolean = true;
/**
* 视图布局数据
*
* @public
* @memberof IBIZBOOKUsr4ListViewBase
*/
public layoutData:any = {};
/**
* 视图布局面板模型对象
*
* @public
* @memberof IBIZBOOKUsr4ListViewBase
*/
public layoutModelDetails:any = {};
/**
* 初始化布局
*
* @public
* @memberof IBIZBOOKUsr4ListViewBase
*/
public async initLayout() {
if (this.rootLayoutDetailNames.length > 0) {
for (let i = 0; i < this.rootLayoutDetailNames.length; i++) {
const name = this.rootLayoutDetailNames[i];
const rootItem = this.layoutItems[name];
if (!rootItem) {
return;
}
await this.initLayoutItem(rootItem);
}
}
return true;
}
/**
* 初始化布局项
*
* @public
* @memberof IBIZBOOKUsr4ListViewBase
*/
public async initLayoutItem(layoutModelItem: any, index: number = 0) {
const { name } = layoutModelItem;
const layoutModelDetail = Util.getLayoutItemInstance(layoutModelItem);
if (!index) {
await layoutModelDetail.load(this.context, this.viewparams);
this.layoutData[name] = layoutModelDetail.getData();
this.$set(this.layoutData, name, layoutModelDetail.getData());
this.$set(this.layoutModelDetails, name, layoutModelDetail);
} else {
layoutModelDetail.setIndex(index);
await layoutModelDetail.load(this.context, this.viewparams);
this.$set(this.layoutModelDetails, `${name}_${index}`, layoutModelDetail);
this.$set(this.layoutData, `${name}_${index}`, layoutModelDetail.getData());
}
if (layoutModelDetail && layoutModelDetail.details) {
if (layoutModelDetail.dataRegionType === 'MULTIDATA') {
const multiData = layoutModelDetail.getData();
if (multiData && multiData.length > 0) {
for (let i = 0; i < multiData.length; i++) {
for (let j = 0; j < layoutModelDetail.details.length; j++) {
const key = layoutModelDetail.details[j];
if (this.layoutItems[key]) {
await this.initLayoutItem(this.layoutItems[key], i);
}
}
}
}
} else {
for (let i = 0; i < layoutModelDetail.details.length; i++) {
const key = layoutModelDetail.details[i];
if (this.layoutItems[key]) {
await this.initLayoutItem(this.layoutItems[key],index);
}
}
}
}
}
/**
* 处理值改变
*
* @public
* @memberof IBIZBOOKUsr4ListViewBase
*/
public handleValueChange($event: { name: string, value: any }) {
if (!$event || !$event.name || Object.is($event.name, '') || !this.layoutData.hasOwnProperty($event.name)) {
return;
}
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZBOOKUsr4ListViewBase
*/
public getButtonXData(name: string): any {
let xData = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.parentName) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
* @public
* @memberof IBIZBOOKUsr4ListViewBase
*/
public handleButtonClick(name: string, $event?: any) {
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
/** /**
...@@ -876,15 +667,12 @@ export default class IBIZBOOKUsr4ListViewBase extends Vue { ...@@ -876,15 +667,12 @@ export default class IBIZBOOKUsr4ListViewBase extends Vue {
*/ */
public afterMounted(){ public afterMounted(){
const _this: any = this; const _this: any = this;
_this.initLayout().then((result: any) => { _this.engineInit();
_this.isLayoutLoadding = false; if (_this.loadModel && _this.loadModel instanceof Function) {
_this.engineInit(); _this.loadModel();
if (_this.loadModel && _this.loadModel instanceof Function) { }
_this.loadModel(); _this.loadQuickGroupModel();
}
_this.loadQuickGroupModel();
})
} }
......
.ibizbookusr4-list-view { .ibizbookusr4-list-view{
display: block; position: relative;
} }
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
...@@ -4,12 +4,10 @@ import IBIZBOOKUsr4ListViewBase from './ibizbookusr4-list-view-base.vue'; ...@@ -4,12 +4,10 @@ import IBIZBOOKUsr4ListViewBase from './ibizbookusr4-list-view-base.vue';
import view_searchform from '@widgets/ibizbook/default-searchform/default-searchform.vue'; import view_searchform from '@widgets/ibizbook/default-searchform/default-searchform.vue';
import view_list from '@widgets/ibizbook/lnternal-func-list-list/lnternal-func-list-list.vue'; import view_list from '@widgets/ibizbook/lnternal-func-list-list/lnternal-func-list-list.vue';
import view_searchbar from '@widgets/ibizbook/-searchbar/-searchbar.vue';
@Component({ @Component({
components: { components: {
view_searchform, view_searchform,
view_list, view_list,
view_searchbar,
}, },
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
......
<template> <template>
<div v-if="!isLayoutLoadding" class="app-view-layout ibizorder-gantt-view" :style="{height: '100%', width: '100%', overflow: 'auto'}"> <div class="view-container deganttview ibizorder-gantt-view">
<app-standard-container name="page_container" :layoutModelDetails="layoutModelDetails"> <app-studioaction :viewTitle="$t(model.srfCaption)" viewName="ibizorderganttview"></app-studioaction>
<template #container_grid1> <card class='view-card view-no-caption view-no-toolbar' :disHover="true" :padding="0" :bordered="false">
<app-simpleflex-container name="container_grid1" :layoutModelDetails="layoutModelDetails">
<template #container1>
<app-simpleflex-container name="container1" :layoutModelDetails="layoutModelDetails"> <div class='view-top-messages'>
<template #view_pagecaption> <app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup73' viewname='ibizorderganttview'></app-alert-group> </div>
<app-preset-caption name="view_pagecaption" :layoutModelDetails="layoutModelDetails">实体甘特视图</app-preset-caption> <div class="content-container">
</template> <view_gantt
</app-simpleflex-container> :viewState="viewState"
</template> :viewparams="viewparams"
</app-simpleflex-container> :context="context"
</template> :showBusyIndicator="true"
<template #container2> name="gantt"
<app-standard-container name="container2" :layoutModelDetails="layoutModelDetails"> ref='gantt'
<template #gantt> @closeview="closeView($event)">
<app-ctrl-pos name="gantt" :layoutModelDetails="layoutModelDetails"> </view_gantt>
<view_gantt </div>
:viewState="viewState" </card>
:viewparams="viewparams" </div>
:context="context"
:showBusyIndicator="true"
name="gantt"
ref='gantt'
@closeview="closeView($event)">
</view_gantt>
</app-ctrl-pos>
</template>
</app-standard-container>
</template>
</app-standard-container>
</div>
</template> </template>
<script lang='tsx'> <script lang='tsx'>
...@@ -43,7 +31,6 @@ import IBIZOrderAuthService from '@/authservice/ibizorder/ibizorder-auth-service ...@@ -43,7 +31,6 @@ import IBIZOrderAuthService from '@/authservice/ibizorder/ibizorder-auth-service
import IBIZOrderUIService from '@/uiservice/ibizorder/ibizorder-ui-service'; import IBIZOrderUIService from '@/uiservice/ibizorder/ibizorder-ui-service';
import { PanelContainerModel, PanelRawitemModel, PanelFieldModel, PanelControlModel, PanelButtonModel, PanelUserControlModel, PanelTabPanelModel, PanelTabPageModel, PanelCtrlPosModel} from '@/model/panel-detail';
@Component({ @Component({
...@@ -249,186 +236,6 @@ export default class IBIZOrderGanttViewBase extends Vue { ...@@ -249,186 +236,6 @@ export default class IBIZOrderGanttViewBase extends Vue {
*/ */
public viewState: Subject<ViewState> = new Subject(); public viewState: Subject<ViewState> = new Subject();
/**
* 视图布局顶级成员名称
*
* @public
* @memberof IBIZOrderGanttViewBase
*/
public rootLayoutDetailNames: string[] = [ 'page_container' ];
/**
* 视图布局面板项模型对象
*
* @public
* @memberof IBIZOrderGanttViewBase
*/
public layoutItems:any = {
view_pagecaption:{ name: 'view_pagecaption', caption: '页面标题', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , fieldState: '0', },
container1:{ name: 'container1', 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:12, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid1', panel: this , details:['view_pagecaption'] , dataRegionType: 'INHERIT' },
container_grid1:{ name: 'container_grid1', 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'] , dataRegionType: 'INHERIT' },
gantt:{ name: 'gantt', 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', 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:'',vAlign:''}, parentName: 'page_container', panel: this , details:['gantt'] , dataRegionType: 'INHERIT' },
page_container:{ name: 'page_container', 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:'',vAlign:''}, panel: this , details:['container_grid1','container2'] , dataRegionType: 'INHERIT' }
};
/**
* 视图布局是否加载
*
* @public
* @memberof IBIZOrderGanttViewBase
*/
public isLayoutLoadding: boolean = true;
/**
* 视图布局数据
*
* @public
* @memberof IBIZOrderGanttViewBase
*/
public layoutData:any = {};
/**
* 视图布局面板模型对象
*
* @public
* @memberof IBIZOrderGanttViewBase
*/
public layoutModelDetails:any = {};
/**
* 初始化布局
*
* @public
* @memberof IBIZOrderGanttViewBase
*/
public async initLayout() {
if (this.rootLayoutDetailNames.length > 0) {
for (let i = 0; i < this.rootLayoutDetailNames.length; i++) {
const name = this.rootLayoutDetailNames[i];
const rootItem = this.layoutItems[name];
if (!rootItem) {
return;
}
await this.initLayoutItem(rootItem);
}
}
return true;
}
/**
* 初始化布局项
*
* @public
* @memberof IBIZOrderGanttViewBase
*/
public async initLayoutItem(layoutModelItem: any, index: number = 0) {
const { name } = layoutModelItem;
const layoutModelDetail = Util.getLayoutItemInstance(layoutModelItem);
if (!index) {
await layoutModelDetail.load(this.context, this.viewparams);
this.layoutData[name] = layoutModelDetail.getData();
this.$set(this.layoutData, name, layoutModelDetail.getData());
this.$set(this.layoutModelDetails, name, layoutModelDetail);
} else {
layoutModelDetail.setIndex(index);
await layoutModelDetail.load(this.context, this.viewparams);
this.$set(this.layoutModelDetails, `${name}_${index}`, layoutModelDetail);
this.$set(this.layoutData, `${name}_${index}`, layoutModelDetail.getData());
}
if (layoutModelDetail && layoutModelDetail.details) {
if (layoutModelDetail.dataRegionType === 'MULTIDATA') {
const multiData = layoutModelDetail.getData();
if (multiData && multiData.length > 0) {
for (let i = 0; i < multiData.length; i++) {
for (let j = 0; j < layoutModelDetail.details.length; j++) {
const key = layoutModelDetail.details[j];
if (this.layoutItems[key]) {
await this.initLayoutItem(this.layoutItems[key], i);
}
}
}
}
} else {
for (let i = 0; i < layoutModelDetail.details.length; i++) {
const key = layoutModelDetail.details[i];
if (this.layoutItems[key]) {
await this.initLayoutItem(this.layoutItems[key],index);
}
}
}
}
}
/**
* 处理值改变
*
* @public
* @memberof IBIZOrderGanttViewBase
*/
public handleValueChange($event: { name: string, value: any }) {
if (!$event || !$event.name || Object.is($event.name, '') || !this.layoutData.hasOwnProperty($event.name)) {
return;
}
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZOrderGanttViewBase
*/
public getButtonXData(name: string): any {
let xData = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.parentName) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
* @public
* @memberof IBIZOrderGanttViewBase
*/
public handleButtonClick(name: string, $event?: any) {
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
/** /**
...@@ -747,17 +554,14 @@ export default class IBIZOrderGanttViewBase extends Vue { ...@@ -747,17 +554,14 @@ export default class IBIZOrderGanttViewBase extends Vue {
*/ */
public afterMounted(){ public afterMounted(){
const _this: any = this; const _this: any = this;
_this.initLayout().then((result: any) => { _this.engineInit();
_this.isLayoutLoadding = false; if (_this.loadModel && _this.loadModel instanceof Function) {
_this.engineInit(); _this.loadModel();
if (_this.loadModel && _this.loadModel instanceof Function) { }
_this.loadModel(); if(this.isLoadDefault){
}
if(this.isLoadDefault){
this.viewState.next({ tag:'gantt', action: 'load', data: this.viewparams }); this.viewState.next({ tag:'gantt', action: 'load', data: this.viewparams });
} }
})
} }
......
.ibizorder-gantt-view { .ibizorder-gantt-view{
display: block; position: relative;
} }
.ibizorder-gantt-view {
> .view-card > .ivu-card-body > .content-container > .gantt {
overflow: auto;
}
}
<template> <template>
<div v-if="!isLayoutLoadding" class="app-view-layout ibizorder-tree-grid-ex-view" :style="{height: '100%', width: '100%', overflow: 'auto'}"> <div class='view-container detreegridexview ibizorder-tree-grid-ex-view'>
<app-standard-container name="page_container" :layoutModelDetails="layoutModelDetails"> <app-studioaction :viewTitle="$t(model.srfCaption)" viewName="ibizordertreegridexview"></app-studioaction>
<template #container_grid1> <card class='view-card view-no-caption' :dis-hover="true" :bordered="false">
<app-simpleflex-container name="container_grid1" :layoutModelDetails="layoutModelDetails"> <div class='view-top-messages'>
<template #container1> <app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup58' viewname='ibizordertreegridexview'></app-alert-group> </div>
<app-simpleflex-container name="container1" :layoutModelDetails="layoutModelDetails"> <div class='content-container'>
<template #view_pagecaption> <div style='margin-bottom: 6px;'>
<app-preset-caption name="view_pagecaption" :layoutModelDetails="layoutModelDetails">实体树表格视图(增强)</app-preset-caption> <div class='pull-right'>
</template> <div class='toolbar-container'>
</app-simpleflex-container> </div>
</template> </div>
<template #container2> </div>
<app-simpleflex-container name="container2" :layoutModelDetails="layoutModelDetails"> <view_treegridex
<template #toolbar> :viewState="viewState"
<app-ctrl-pos name="toolbar" :layoutModelDetails="layoutModelDetails"> :viewparams="viewparams"
<div class='toolbar-container'> :context="context"
:showBusyIndicator="true"
name="treegridex"
ref='treegridex'
@rowdblclick="treegridex_rowdblclick($event)"
@selectionchange="treegridex_selectionchange($event)"
@remove="treegridex_remove($event)"
@load="treegridex_load($event)"
@beforeload="treegridex_beforeload($event)"
@closeview="closeView($event)">
</view_treegridex>
</div>
</card>
</div> </div>
</app-ctrl-pos>
</template>
</app-simpleflex-container>
</template>
</app-simpleflex-container>
</template>
<template #container3>
<app-standard-container name="container3" :layoutModelDetails="layoutModelDetails">
<template #treegridex>
<app-ctrl-pos name="treegridex" :layoutModelDetails="layoutModelDetails">
<view_treegridex
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:showBusyIndicator="true"
name="treegridex"
ref='treegridex'
@rowdblclick="treegridex_rowdblclick($event)"
@selectionchange="treegridex_selectionchange($event)"
@remove="treegridex_remove($event)"
@load="treegridex_load($event)"
@beforeload="treegridex_beforeload($event)"
@closeview="closeView($event)">
</view_treegridex>
</app-ctrl-pos>
</template>
</app-standard-container>
</template>
</app-standard-container>
</div>
</template> </template>
<script lang='tsx'> <script lang='tsx'>
...@@ -59,7 +41,6 @@ import IBIZOrderAuthService from '@/authservice/ibizorder/ibizorder-auth-service ...@@ -59,7 +41,6 @@ import IBIZOrderAuthService from '@/authservice/ibizorder/ibizorder-auth-service
import TreeGridExViewEngine from '@engine/view/tree-grid-ex-view-engine'; import TreeGridExViewEngine from '@engine/view/tree-grid-ex-view-engine';
import IBIZOrderUIService from '@/uiservice/ibizorder/ibizorder-ui-service'; import IBIZOrderUIService from '@/uiservice/ibizorder/ibizorder-ui-service';
import { PanelContainerModel, PanelRawitemModel, PanelFieldModel, PanelControlModel, PanelButtonModel, PanelUserControlModel, PanelTabPanelModel, PanelTabPageModel, PanelCtrlPosModel} from '@/model/panel-detail';
@Component({ @Component({
...@@ -275,188 +256,6 @@ export default class IBIZOrderTreeGridExViewBase extends Vue { ...@@ -275,188 +256,6 @@ export default class IBIZOrderTreeGridExViewBase extends Vue {
}; };
/**
* 视图布局顶级成员名称
*
* @public
* @memberof IBIZOrderTreeGridExViewBase
*/
public rootLayoutDetailNames: string[] = [ 'page_container' ];
/**
* 视图布局面板项模型对象
*
* @public
* @memberof IBIZOrderTreeGridExViewBase
*/
public layoutItems:any = {
view_pagecaption:{ name: 'view_pagecaption', caption: '页面标题', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , fieldState: '0', },
container1:{ name: 'container1', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:3, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid1', panel: this , details:['view_pagecaption'] , dataRegionType: 'INHERIT' },
toolbar:{ name: 'toolbar', 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', 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', 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' },
treegridex:{ name: 'treegridex', 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: 'container3', panel: this },
container3:{ name: 'container3', 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:'',vAlign:''}, parentName: 'page_container', panel: this , details:['treegridex'] , dataRegionType: 'INHERIT' },
page_container:{ name: 'page_container', 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:'',vAlign:''}, panel: this , details:['container_grid1','container3'] , dataRegionType: 'INHERIT' }
};
/**
* 视图布局是否加载
*
* @public
* @memberof IBIZOrderTreeGridExViewBase
*/
public isLayoutLoadding: boolean = true;
/**
* 视图布局数据
*
* @public
* @memberof IBIZOrderTreeGridExViewBase
*/
public layoutData:any = {};
/**
* 视图布局面板模型对象
*
* @public
* @memberof IBIZOrderTreeGridExViewBase
*/
public layoutModelDetails:any = {};
/**
* 初始化布局
*
* @public
* @memberof IBIZOrderTreeGridExViewBase
*/
public async initLayout() {
if (this.rootLayoutDetailNames.length > 0) {
for (let i = 0; i < this.rootLayoutDetailNames.length; i++) {
const name = this.rootLayoutDetailNames[i];
const rootItem = this.layoutItems[name];
if (!rootItem) {
return;
}
await this.initLayoutItem(rootItem);
}
}
return true;
}
/**
* 初始化布局项
*
* @public
* @memberof IBIZOrderTreeGridExViewBase
*/
public async initLayoutItem(layoutModelItem: any, index: number = 0) {
const { name } = layoutModelItem;
const layoutModelDetail = Util.getLayoutItemInstance(layoutModelItem);
if (!index) {
await layoutModelDetail.load(this.context, this.viewparams);
this.layoutData[name] = layoutModelDetail.getData();
this.$set(this.layoutData, name, layoutModelDetail.getData());
this.$set(this.layoutModelDetails, name, layoutModelDetail);
} else {
layoutModelDetail.setIndex(index);
await layoutModelDetail.load(this.context, this.viewparams);
this.$set(this.layoutModelDetails, `${name}_${index}`, layoutModelDetail);
this.$set(this.layoutData, `${name}_${index}`, layoutModelDetail.getData());
}
if (layoutModelDetail && layoutModelDetail.details) {
if (layoutModelDetail.dataRegionType === 'MULTIDATA') {
const multiData = layoutModelDetail.getData();
if (multiData && multiData.length > 0) {
for (let i = 0; i < multiData.length; i++) {
for (let j = 0; j < layoutModelDetail.details.length; j++) {
const key = layoutModelDetail.details[j];
if (this.layoutItems[key]) {
await this.initLayoutItem(this.layoutItems[key], i);
}
}
}
}
} else {
for (let i = 0; i < layoutModelDetail.details.length; i++) {
const key = layoutModelDetail.details[i];
if (this.layoutItems[key]) {
await this.initLayoutItem(this.layoutItems[key],index);
}
}
}
}
}
/**
* 处理值改变
*
* @public
* @memberof IBIZOrderTreeGridExViewBase
*/
public handleValueChange($event: { name: string, value: any }) {
if (!$event || !$event.name || Object.is($event.name, '') || !this.layoutData.hasOwnProperty($event.name)) {
return;
}
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZOrderTreeGridExViewBase
*/
public getButtonXData(name: string): any {
let xData = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.parentName) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
* @public
* @memberof IBIZOrderTreeGridExViewBase
*/
public handleButtonClick(name: string, $event?: any) {
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
/** /**
* 视图引擎 * 视图引擎
...@@ -790,14 +589,11 @@ export default class IBIZOrderTreeGridExViewBase extends Vue { ...@@ -790,14 +589,11 @@ export default class IBIZOrderTreeGridExViewBase extends Vue {
*/ */
public afterMounted(){ public afterMounted(){
const _this: any = this; const _this: any = this;
_this.initLayout().then((result: any) => { _this.engineInit();
_this.isLayoutLoadding = false; if (_this.loadModel && _this.loadModel instanceof Function) {
_this.engineInit(); _this.loadModel();
if (_this.loadModel && _this.loadModel instanceof Function) { }
_this.loadModel();
}
})
} }
......
.ibizorder-tree-grid-ex-view { .ibizorder-tree-grid-ex-view{
display: block; position: relative;
} }
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
...@@ -113,7 +113,7 @@ export default class GridViewLoadUILogicBase { ...@@ -113,7 +113,7 @@ export default class GridViewLoadUILogicBase {
await this.executeNode(startNode, actionContext); await this.executeNode(startNode, actionContext);
return actionContext.getResult(); return actionContext.getResult();
} catch (error: any) { } catch (error: any) {
throw new Error(`${error?.message ? error?.message : '发生未知错误!'}`); throw new Error(`${error && error.message ? error.message : '发生未知错误!'}`);
} }
} }
......
...@@ -67,7 +67,7 @@ export default class OpenYuQueUILogicBase { ...@@ -67,7 +67,7 @@ export default class OpenYuQueUILogicBase {
await this.executeNode(startNode, actionContext); await this.executeNode(startNode, actionContext);
return actionContext.getResult(); return actionContext.getResult();
} catch (error: any) { } catch (error: any) {
throw new Error(`${error?.message ? error?.message : '发生未知错误!'}`); throw new Error(`${error && error.message ? error.message : '发生未知错误!'}`);
} }
} }
......
...@@ -48,18 +48,18 @@ ...@@ -48,18 +48,18 @@
<div v-show="flag" class="batch-toolbar"> <div v-show="flag" class="batch-toolbar">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.visabled" :disabled="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.disabled" class='' v-loading:i-button @click="dataviewexpbar_dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="usr2dataviewdataview_batchtoolbarModels.deuiaction1.visabled" :disabled="usr2dataviewdataview_batchtoolbarModels.deuiaction1.disabled" class='' v-loading:i-button @click="dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-edit'></i> <i class='fa fa-edit'></i>
<span class='caption'>{{$t('entities.ibizbook.dataviewexpviewdataviewexpbar_dataview_batchtoolbar_toolbar.deuiaction1.caption')}}</span> <span class='caption'>{{$t('entities.ibizbook.usr2dataviewdataview_batchtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizbook.dataviewexpviewdataviewexpbar_dataview_batchtoolbar_toolbar.deuiaction1.tip')}}</div> <div slot='content'>{{$t('entities.ibizbook.usr2dataviewdataview_batchtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.visabled" :disabled="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.disabled" class='' v-loading:i-button @click="dataviewexpbar_dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"> <i-button v-show="usr2dataviewdataview_batchtoolbarModels.deuiaction2.visabled" :disabled="usr2dataviewdataview_batchtoolbarModels.deuiaction2.disabled" class='' v-loading:i-button @click="dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i class='fa fa-remove'></i> <i class='fa fa-remove'></i>
<span class='caption'>{{$t('entities.ibizbook.dataviewexpviewdataviewexpbar_dataview_batchtoolbar_toolbar.deuiaction2.caption')}}</span> <span class='caption'>{{$t('entities.ibizbook.usr2dataviewdataview_batchtoolbar_toolbar.deuiaction2.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizbook.dataviewexpviewdataviewexpbar_dataview_batchtoolbar_toolbar.deuiaction2.tip')}}</div> <div slot='content'>{{$t('entities.ibizbook.usr2dataviewdataview_batchtoolbar_toolbar.deuiaction2.tip')}}</div>
</tooltip> </tooltip>
</div> </div>
</div> </div>
...@@ -174,18 +174,18 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -174,18 +174,18 @@ export default class Usr2Base extends Vue implements ControlInterface {
public appEntityService: IBIZBOOKEntityService = new IBIZBOOKEntityService({ $store: this.$store }); public appEntityService: IBIZBOOKEntityService = new IBIZBOOKEntityService({ $store: this.$store });
/** /**
* dataviewexpbar_dataview_batchtoolbar 部件 click 事件 * dataview_batchtoolbar 部件 click 事件
* *
* @param {*} [args={}] * @param {*} [args={}]
* @param {*} $event * @param {*} $event
* @memberof Usr2Base * @memberof Usr2Base
*/ */
public dataviewexpbar_dataview_batchtoolbar_click($event: any, $event2?: any) { public dataview_batchtoolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) { if (Object.is($event.tag, 'deuiaction1')) {
this.dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(null, 'dataviewexpbar_dataview_batchtoolbar', $event2); this.dataview_batchtoolbar_deuiaction1_click(null, 'dataview_batchtoolbar', $event2);
} }
if (Object.is($event.tag, 'deuiaction2')) { if (Object.is($event.tag, 'deuiaction2')) {
this.dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(null, 'dataviewexpbar_dataview_batchtoolbar', $event2); this.dataview_batchtoolbar_deuiaction2_click(null, 'dataview_batchtoolbar', $event2);
} }
} }
...@@ -198,7 +198,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -198,7 +198,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) { public dataview_batchtoolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -226,7 +226,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -226,7 +226,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(params: any = {}, tag?: any, $event?: any) { public dataview_batchtoolbar_deuiaction2_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -254,7 +254,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -254,7 +254,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public dataviewexpbar_dataview_memo1_u37f11a8_click(params: any = {}, tag?: any, $event?: any) { public dataview_memo1_u37f11a8_click(params: any = {}, tag?: any, $event?: any) {
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
let xData: any = null; let xData: any = null;
...@@ -281,7 +281,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -281,7 +281,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public dataviewexpbar_dataview_memo1_uc365542_click(params: any = {}, tag?: any, $event?: any) { public dataview_memo1_uc365542_click(params: any = {}, tag?: any, $event?: any) {
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
let xData: any = null; let xData: any = null;
...@@ -309,7 +309,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -309,7 +309,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKDataViewExpViewBase * @memberof IBIZBOOKUsr2DataViewBase
*/ */
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) { if (args.length === 0) {
...@@ -335,7 +335,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -335,7 +335,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKDataViewExpViewBase * @memberof IBIZBOOKUsr2DataViewBase
*/ */
public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this; const _this: any = this;
...@@ -629,9 +629,9 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -629,9 +629,9 @@ export default class Usr2Base extends Vue implements ControlInterface {
* 工具栏模型 * 工具栏模型
* *
* @type {*} * @type {*}
* @memberof IBIZBOOKDataViewExpView * @memberof IBIZBOOKUsr2DataView
*/ */
public dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels: any = { public usr2dataviewdataview_batchtoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } }, deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -956,7 +956,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -956,7 +956,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}, isReset: boolean = false): void { public load(opt: any = {}, isReset: boolean = false): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -1036,7 +1036,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1036,7 +1036,7 @@ export default class Usr2Base 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: 'IBIZBOOKDataViewExpView' + (this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -1146,7 +1146,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1146,7 +1146,7 @@ export default class Usr2Base 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: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (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);
...@@ -1154,7 +1154,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1154,7 +1154,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){ if(item.ibizbook){
...@@ -1245,16 +1245,16 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1245,16 +1245,16 @@ export default class Usr2Base extends Vue implements ControlInterface {
public uiAction(data: any, tag: any, $event: any) { public uiAction(data: any, tag: any, $event: any) {
$event.stopPropagation(); $event.stopPropagation();
if(Object.is('Edit', tag)) { if(Object.is('Edit', tag)) {
this.dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(data, tag, $event); this.dataview_batchtoolbar_deuiaction1_click(data, tag, $event);
} }
if(Object.is('Remove', tag)) { if(Object.is('Remove', tag)) {
this.dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(data, tag, $event); this.dataview_batchtoolbar_deuiaction2_click(data, tag, $event);
} }
if(Object.is('Edit', tag)) { if(Object.is('Edit', tag)) {
this.dataviewexpbar_dataview_memo1_u37f11a8_click(data, tag, $event); this.dataview_memo1_u37f11a8_click(data, tag, $event);
} }
if(Object.is('Remove', tag)) { if(Object.is('Remove', tag)) {
this.dataviewexpbar_dataview_memo1_uc365542_click(data, tag, $event); this.dataview_memo1_uc365542_click(data, tag, $event);
} }
} }
......
...@@ -10,7 +10,7 @@ export default class Usr2Model { ...@@ -10,7 +10,7 @@ export default class Usr2Model {
* 获取数据项集合 * 获取数据项集合
* *
* @returns {any[]} * @returns {any[]}
* @memberof Usr2Dataviewexpbar_dataviewMode * @memberof Usr2DataViewMode
*/ */
public getDataItems(): any[] { public getDataItems(): any[] {
return [ return [
...@@ -39,6 +39,17 @@ export default class Usr2Model { ...@@ -39,6 +39,17 @@ export default class Usr2Model {
dataType: 'FONTKEY', dataType: 'FONTKEY',
}, },
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -69,6 +69,11 @@ export default class Usr4Model { ...@@ -69,6 +69,11 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like', prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM' dataType: 'QUERYPARAM'
}, },
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
......
...@@ -12,1579 +12,1362 @@ ...@@ -12,1579 +12,1362 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSAppViewEngines" : [ {
"engineCat" : "VIEW",
"engineType" : "KanBanView",
"name" : "engine",
"getPSUIEngineParams" : [ {
"ctrlName" : "kanban",
"name" : "KANBAN",
"paramType" : "CTRL"
}, {
"appViewLogicName" : "opendata",
"name" : "OPENDATA",
"paramType" : "LOGIC"
}, {
"appViewLogicName" : "newdata",
"name" : "NEWDATA",
"paramType" : "LOGIC"
}, {
"ctrlName" : "searchform",
"name" : "SEARCHFORM",
"paramType" : "CTRL"
} ]
} ],
"getPSAppViewLogics" : [ {
"eventArg" : "tbitem3",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem3_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem3"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "deuiaction2",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction2_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction2"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem4",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem4_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem4"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem6",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem6_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem6"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "deuiaction3",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction3_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction3"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem24",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem24_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem24"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem25",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem25_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem25"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem8",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem8_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem8"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem13",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem13_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem13"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "deuiaction1",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction1"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem11",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem11_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem11"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem21",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem21_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem21"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem23",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem23_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem23"
},
"getPSViewCtrlName" : "toolbar"
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "SYSUILOGIC",
"name" : "newdata",
"getPSAppUILogic" : {
"actionAfterWizard" : "DEFAULT",
"logicType" : "PREDEFINED",
"name" : "新建数据",
"getNewDataPSAppView" : {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"viewType" : "DEEDITVIEW"
}
},
"getPSAppUILogicRefViews" : [ {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"viewLogicType" : "APP_NEWDATA",
"batchAddOnly" : false,
"enableBatchAdd" : false,
"enableWizardAdd" : false
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "SYSUILOGIC",
"name" : "opendata",
"getPSAppUILogic" : {
"logicType" : "PREDEFINED",
"name" : "打开数据",
"getOpenDataPSAppView" : {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"viewType" : "DEEDITVIEW"
}
},
"getPSAppUILogicRefViews" : [ {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"viewLogicType" : "APP_OPENDATA",
"editMode" : true
}
} ],
"getPSAppViewMsgGroup" : { "getPSAppViewMsgGroup" : {
"modelref" : true, "modelref" : true,
"id" : "VMGroup59" "id" : "VMGroup59"
}, },
"getPSDEViewCodeName" : "InterFuncKanBanView", "getPSAppViewRefs" : [ {
"getPSDEViewId" : "520461c48d734e7d2b34b20d62b637ab", "name" : "NEWDATA",
"getPSViewLayoutPanel" : { "realTitle" : "图书编辑视图",
"getAllPSPanelFields" : [ { "getRealTitlePSLanguageRes" : {
"id" : "view_pagecaption" "lanResTag" : "PAGE.TITLE.IBIZBOOK.EDITVIEW"
} ], },
"codeName" : "Usr1104625649", "getRefPSAppView" : {
"controlType" : "VIEWLAYOUTPANEL", "modelref" : true,
"layoutMode" : "FLEX", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"logicName" : "InterFuncKanBanViewDEKANBANVIEW", "viewType" : "DEEDITVIEW"
"name" : "layoutpanel", }
}, {
"name" : "EDITDATA",
"realTitle" : "图书编辑视图",
"getRealTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.IBIZBOOK.EDITVIEW"
},
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "toolbar_tbitem3",
"getPSUIAction" : {
"modelref" : true,
"id" : "New"
},
"xDataControlName" : "kanban"
}, {
"name" : "toolbar_deuiaction2",
"getPSUIAction" : {
"modelref" : true,
"id" : "Save"
},
"xDataControlName" : "kanban"
}, {
"name" : "toolbar_tbitem4",
"getPSUIAction" : {
"modelref" : true,
"id" : "Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "kanban"
}, {
"name" : "toolbar_tbitem6",
"getPSUIAction" : {
"modelref" : true,
"id" : "Copy"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "kanban"
}, {
"name" : "toolbar_deuiaction3",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleFilter"
},
"xDataControlName" : "kanban"
}, {
"name" : "toolbar_tbitem24",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleRowEdit"
},
"xDataControlName" : "kanban"
}, {
"name" : "toolbar_tbitem25",
"getPSUIAction" : {
"modelref" : true,
"id" : "NewRow"
},
"xDataControlName" : "kanban"
}, {
"name" : "toolbar_tbitem8",
"getPSUIAction" : {
"modelref" : true,
"id" : "Remove"
},
"uIActionTarget" : "MULTIKEY",
"xDataControlName" : "kanban"
}, {
"name" : "toolbar_tbitem13",
"getPSUIAction" : {
"modelref" : true,
"id" : "ExportExcel"
},
"xDataControlName" : "kanban"
}, {
"name" : "toolbar_deuiaction1",
"getPSUIAction" : {
"modelref" : true,
"id" : "ImportExcel"
},
"uIActionTarget" : "NONE",
"xDataControlName" : "kanban"
}, {
"name" : "toolbar_tbitem11",
"getPSUIAction" : {
"modelref" : true,
"id" : "Print"
},
"uIActionTarget" : "MULTIKEY",
"xDataControlName" : "kanban"
}, {
"name" : "toolbar_tbitem21",
"getPSUIAction" : {
"modelref" : true,
"id" : "ExportModel"
},
"xDataControlName" : "kanban"
}, {
"name" : "toolbar_tbitem23",
"getPSUIAction" : {
"modelref" : true,
"id" : "Import"
},
"xDataControlName" : "kanban"
} ],
"getPSControls" : [ {
"codeName" : "InterFuncKanban",
"controlType" : "KANBAN",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSKANBANS/InterFuncKanban.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"groupLayout" : "ROW",
"groupMode" : "AUTO",
"getGroupPSAppDEField" : {
"name" : "AUTHOR",
"codeName" : "Author"
},
"getGroupPSUIActionGroup" : {
"codeName" : "Auto11",
"name" : "实体看板界面行为组",
"getPSUIActionGroupDetails" : [ {
"detailType" : "DEUIACTION",
"name" : "u7f86898",
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "打开实体看板文档",
"codeName" : "openKanbanDocument",
"frontProcessType" : "OPENHTMLPAGE",
"fullCodeName" : "IBIZBOOK_openKanbanDocument",
"htmlPageUrl" : "https://www.yuque.com/ibiz/wuf19n/tqi7p6",
"name" : "打开实体看板文档",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "openKanbanDocument",
"uIActionType" : "DEUIACTION",
"id" : "openKanbanDocument@IBIZBOOK"
},
"addSeparator" : false,
"showCaption" : true,
"showIcon" : true
} ]
},
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"logicName" : "看板(内置功能)",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSControlParam" : { }, "getPSAppViewLogics" : [ {
"getPSLayout" : { "logicTrigger" : "CUSTOM",
"layout" : "FLEX" "logicType" : "APPVIEWUIACTION",
}, "name" : "kanban_group_u7f86898_click",
"getRootPSPanelItems" : [ { "getPSAppViewUIAction" : {
"caption" : "容器", "modelref" : true,
"itemStyle" : "DEFAULT", "id" : "打开实体看板文档"
"itemType" : "CONTAINER", }
"name" : "page_container", } ],
"getPSLayout" : { "getPSAppViewUIActions" : [ {
"dir" : "column", "name" : "打开实体看板文档",
"layout" : "FLEX" "getPSUIAction" : {
}, "getPSAppDataEntity" : {
"getPSLayoutPos" : { "modelref" : true,
"grow" : -1, "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "栅格容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_grid1",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
}, },
"getPSLayoutPos" : { "modelref" : true,
"grow" : -1, "id" : "openKanbanDocument@IBIZBOOK"
"layout" : "FLEX" },
"uIActionTarget" : "NONE",
"xDataControlName" : "kanban"
} ],
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "updategroup",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
}, },
"getPSPanelItems" : [ { "getPSAppDataEntity" : {
"caption" : "面板容器", "modelref" : true,
"itemStyle" : "DEFAULT", "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
"itemType" : "CONTAINER", }
"name" : "container1",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : 6,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "页面标题",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "view_pagecaption",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "view_pagecaption",
"predefinedType" : "VIEW_PAGECAPTION",
"renderMode" : "HEADING1",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "LEFT",
"heightMode" : "FULL",
"layout" : "SIMPLEFLEX",
"widthMode" : "FULL"
},
"hidden" : false,
"showCaption" : false
} ]
}, {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : 3,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "QUICKSEARCHBAR",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "quicksearchbar",
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "RIGHT",
"heightMode" : "FULL",
"layout" : "SIMPLEFLEX"
},
"showCaption" : true
} ]
}, {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_2",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "TOOLBAR",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "toolbar",
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "RIGHT",
"heightMode" : "FULL",
"layout" : "SIMPLEFLEX"
},
"showCaption" : true
} ]
} ]
}, { }, {
"caption" : "容器", "actionName" : "Get",
"contentHeight" : 100.0, "actionType" : "DEACTION",
"height" : 100.0, "dataAccessAction" : "READ",
"itemStyle" : "DEFAULT", "name" : "load",
"itemType" : "CONTAINER", "getPSAppDEMethod" : {
"name" : "container4", "modelref" : true,
"getPSLayout" : { "id" : "Get"
"layout" : "FLEX"
}, },
"getPSLayoutPos" : { "getPSAppDataEntity" : {
"grow" : -1, "modelref" : true,
"height" : 100, "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
"heightMode" : "PERCENTAGE", }
"layout" : "FLEX" }, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
}, },
"getPSPanelItems" : [ { "getPSAppDataEntity" : {
"caption" : "SEARCHFORM", "modelref" : true,
"itemStyle" : "DEFAULT", "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
"itemType" : "CTRLPOS", }
"name" : "searchform",
"getPSLayoutPos" : {
"grow" : -1,
"heightMode" : "FULL",
"layout" : "FLEX"
},
"showCaption" : true
}, {
"caption" : "KANBAN",
"contentHeight" : 100.0,
"height" : 100.0,
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "kanban",
"getPSLayoutPos" : {
"grow" : -1,
"height" : 100,
"heightMode" : "PERCENTAGE",
"layout" : "FLEX"
},
"showCaption" : true
} ]
} ]
} ],
"layoutBodyOnly" : false,
"layoutPanel" : true,
"useDefaultLayout" : false,
"viewProxyMode" : true,
"modelid" : "F21D6807-59E9-484F-BE4B-133BC776CB85",
"modeltype" : "PSSYSVIEWLAYOUTPANEL",
"getPSAppViewEngines" : [ {
"engineCat" : "VIEW",
"engineType" : "KanBanView",
"name" : "engine",
"getPSUIEngineParams" : [ {
"ctrlName" : "kanban",
"name" : "KANBAN",
"paramType" : "CTRL"
}, { }, {
"appViewLogicName" : "opendata", "actionName" : "Update",
"name" : "OPENDATA", "actionType" : "DEACTION",
"paramType" : "LOGIC" "dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, { }, {
"appViewLogicName" : "newdata", "actionName" : "Remove",
"name" : "NEWDATA", "actionType" : "DEACTION",
"paramType" : "LOGIC" "dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, { }, {
"ctrlName" : "searchform", "actionType" : "DEDATASET",
"name" : "SEARCHFORM", "name" : "fetch",
"paramType" : "CTRL" "getPSAppDEMethod" : {
} ] "modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
} ],
"userDRAction" : "READ",
"enableDEFieldPrivilege" : false,
"id" : "数据视图处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "ROWDBLCLICK;SELECTIONCHANGE;REMOVE;LOAD;BEFORELOAD",
"logicTag" : "kanban",
"logicType" : "APPVIEWENGINE",
"name" : "engine_kanban",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ], } ],
"getPSAppViewLogics" : [ { "getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "KANBAN"
},
"getPSDEDataImport" : {
"modelref" : true,
"id" : "DataImport"
},
"getPSDEDataViewDataItems" : [ {
"dataType" : 25,
"name" : "srfmajortext",
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
}
}, {
"dataType" : 25,
"name" : "author",
"getPSAppDEField" : {
"name" : "AUTHOR",
"codeName" : "Author"
}
}, {
"dataType" : 25,
"getFrontPSCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookType.json"
},
"name" : "type",
"getPSAppDEField" : {
"name" : "TYPE",
"codeName" : "Type"
}
}, {
"dataType" : 9,
"name" : "booknumber",
"getPSAppDEField" : {
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
}
}, {
"dataType" : 25,
"name" : "press",
"getPSAppDEField" : {
"name" : "PRESS",
"codeName" : "Press"
}
}, {
"dataType" : 25,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
}
}, {
"dataType" : 25,
"name" : "srfmstag"
} ],
"getPSDEDataViewItems" : [ {
"dataItemName" : "srfmajortext",
"itemType" : "DATAITEM",
"name" : "srfmajortext",
"enableSort" : false
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.AUTHOR"
},
"caption" : "图书作者",
"dataItemName" : "author",
"itemType" : "DATAITEM",
"name" : "AUTHOR",
"getPSAppDEField" : {
"name" : "AUTHOR",
"codeName" : "Author"
},
"enableSort" : true
}, {
"cLConvertMode" : "FRONT",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.TYPE"
},
"caption" : "图书类型",
"dataItemName" : "type",
"itemType" : "DATAITEM",
"name" : "TYPE",
"getPSAppDEField" : {
"name" : "TYPE",
"codeName" : "Type"
},
"getPSCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookType.json"
},
"enableSort" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.BOOKNUMBER"
},
"caption" : "图书数量",
"dataItemName" : "booknumber",
"itemType" : "DATAITEM",
"name" : "BOOKNUMBER",
"getPSAppDEField" : {
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
},
"enableSort" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.PRESS"
},
"caption" : "图书出版社",
"dataItemName" : "press",
"itemType" : "DATAITEM",
"name" : "PRESS",
"getPSAppDEField" : {
"name" : "PRESS",
"codeName" : "Press"
},
"enableSort" : true
} ],
"pagingSize" : 20,
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove"
},
"getUpdateGroupPSControlAction" : {
"modelref" : true,
"id" : "updategroup"
},
"getUpdatePSControlAction" : {
"modelref" : true,
"id" : "update"
},
"hasWFDataItems" : false,
"appendDEItems" : true,
"enableCardEdit" : false,
"enableCardEditGroup" : false,
"enableCardEditOrder" : false,
"enableCardNew" : false,
"enableGroup" : true,
"enablePagingBar" : true,
"noSort" : false,
"singleSelect" : false,
"name" : "kanban",
"modelid" : "405bd5d8c8449736c77f6735ff139b21",
"modeltype" : "PSDEKANBAN"
}, {
"codeName" : "InterFuncKanBanViewtoolbar",
"controlType" : "TOOLBAR",
"hookEventNames" : [ "CLICK" ],
"logicName" : "工具栏模板(默认表格界面)",
"name" : "toolbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlLogics" : [ {
"eventArg" : "tbitem3", "eventArg" : "tbitem3",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTag" : "toolbar",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem3_click", "name" : "toolbar_tbitem3_click",
"getPSAppViewUIAction" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_tbitem3" "id" : "toolbar_tbitem3_click"
}, }
"getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "deuiaction2", "eventArg" : "deuiaction2",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTag" : "toolbar",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction2_click", "name" : "toolbar_deuiaction2_click",
"getPSAppViewUIAction" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_deuiaction2" "id" : "toolbar_deuiaction2_click"
}, }
"getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem4", "eventArg" : "tbitem4",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTag" : "toolbar",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem4_click", "name" : "toolbar_tbitem4_click",
"getPSAppViewUIAction" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_tbitem4" "id" : "toolbar_tbitem4_click"
}, }
"getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem6", "eventArg" : "tbitem6",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTag" : "toolbar",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem6_click", "name" : "toolbar_tbitem6_click",
"getPSAppViewUIAction" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_tbitem6" "id" : "toolbar_tbitem6_click"
}, }
"getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "deuiaction3", "eventArg" : "deuiaction3",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTag" : "toolbar",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction3_click", "name" : "toolbar_deuiaction3_click",
"getPSAppViewUIAction" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_deuiaction3" "id" : "toolbar_deuiaction3_click"
}, }
"getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem24", "eventArg" : "tbitem24",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTag" : "toolbar",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem24_click", "name" : "toolbar_tbitem24_click",
"getPSAppViewUIAction" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_tbitem24" "id" : "toolbar_tbitem24_click"
}, }
"getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem25", "eventArg" : "tbitem25",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTag" : "toolbar",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem25_click", "name" : "toolbar_tbitem25_click",
"getPSAppViewUIAction" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_tbitem25" "id" : "toolbar_tbitem25_click"
}, }
"getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem8", "eventArg" : "tbitem8",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTag" : "toolbar",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem8_click", "name" : "toolbar_tbitem8_click",
"getPSAppViewUIAction" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_tbitem8" "id" : "toolbar_tbitem8_click"
}, }
"getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem13", "eventArg" : "tbitem13",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTag" : "toolbar",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem13_click", "name" : "toolbar_tbitem13_click",
"getPSAppViewUIAction" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_tbitem13" "id" : "toolbar_tbitem13_click"
}, }
"getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "deuiaction1", "eventArg" : "deuiaction1",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTag" : "toolbar",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction1_click", "name" : "toolbar_deuiaction1_click",
"getPSAppViewUIAction" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_deuiaction1" "id" : "toolbar_deuiaction1_click"
}, }
"getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem11", "eventArg" : "tbitem11",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTag" : "toolbar",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem11_click", "name" : "toolbar_tbitem11_click",
"getPSAppViewUIAction" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_tbitem11" "id" : "toolbar_tbitem11_click"
}, }
"getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem21", "eventArg" : "tbitem21",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTag" : "toolbar",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem21_click", "name" : "toolbar_tbitem21_click",
"getPSAppViewUIAction" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_tbitem21" "id" : "toolbar_tbitem21_click"
}, }
"getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem23", "eventArg" : "tbitem23",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTag" : "toolbar",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem23_click", "name" : "toolbar_tbitem23_click",
"getPSAppViewUIAction" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_tbitem23" "id" : "toolbar_tbitem23_click"
},
"getPSViewCtrlName" : "toolbar"
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "SYSUILOGIC",
"name" : "newdata",
"getPSAppUILogic" : {
"actionAfterWizard" : "DEFAULT",
"logicType" : "PREDEFINED",
"name" : "新建数据",
"getNewDataPSAppView" : {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"viewType" : "DEEDITVIEW"
}
},
"getPSAppUILogicRefViews" : [ {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"viewLogicType" : "APP_NEWDATA",
"batchAddOnly" : false,
"enableBatchAdd" : false,
"enableWizardAdd" : false
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "SYSUILOGIC",
"name" : "opendata",
"getPSAppUILogic" : {
"logicType" : "PREDEFINED",
"name" : "打开数据",
"getOpenDataPSAppView" : {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"viewType" : "DEEDITVIEW"
}
},
"getPSAppUILogicRefViews" : [ {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"viewLogicType" : "APP_OPENDATA",
"editMode" : true
}
} ],
"getPSAppViewRefs" : [ {
"name" : "NEWDATA",
"realTitle" : "图书编辑视图",
"getRealTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.IBIZBOOK.EDITVIEW"
},
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"name" : "EDITDATA",
"realTitle" : "图书编辑视图",
"getRealTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.IBIZBOOK.EDITVIEW"
},
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"viewType" : "DEEDITVIEW"
} }
} ], } ],
"getPSAppViewUIActions" : [ { "getPSControlParam" : {
"name" : "toolbar_tbitem3", "id" : "TOOLBAR"
"getPSUIAction" : { },
"modelref" : true, "getPSDEToolbarItems" : [ {
"id" : "New" "getCapPSLanguageRes" : {
}, "lanResTag" : "TBB.TEXT.*.NEW"
"xDataControlName" : "kanban"
}, {
"name" : "toolbar_deuiaction2",
"getPSUIAction" : {
"modelref" : true,
"id" : "Save"
},
"xDataControlName" : "kanban"
}, {
"name" : "toolbar_tbitem4",
"getPSUIAction" : {
"modelref" : true,
"id" : "Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "kanban"
}, {
"name" : "toolbar_tbitem6",
"getPSUIAction" : {
"modelref" : true,
"id" : "Copy"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "kanban"
}, {
"name" : "toolbar_deuiaction3",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleFilter"
},
"xDataControlName" : "kanban"
}, {
"name" : "toolbar_tbitem24",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleRowEdit"
},
"xDataControlName" : "kanban"
}, {
"name" : "toolbar_tbitem25",
"getPSUIAction" : {
"modelref" : true,
"id" : "NewRow"
},
"xDataControlName" : "kanban"
}, {
"name" : "toolbar_tbitem8",
"getPSUIAction" : {
"modelref" : true,
"id" : "Remove"
},
"uIActionTarget" : "MULTIKEY",
"xDataControlName" : "kanban"
}, {
"name" : "toolbar_tbitem13",
"getPSUIAction" : {
"modelref" : true,
"id" : "ExportExcel"
}, },
"xDataControlName" : "kanban" "caption" : "新建",
}, { "groupExtractMode" : "ITEM",
"name" : "toolbar_deuiaction1", "itemType" : "DEUIACTION",
"getPSUIAction" : { "name" : "tbitem3",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "ImportExcel" "id" : "toolbar_tbitem3"
}, },
"uIActionTarget" : "NONE", "getPSSysCss" : {
"xDataControlName" : "kanban" "cssName" : "deepskyblueToolBar"
}, {
"name" : "toolbar_tbitem11",
"getPSUIAction" : {
"modelref" : true,
"id" : "Print"
}, },
"uIActionTarget" : "MULTIKEY", "getPSSysImage" : {
"xDataControlName" : "kanban" "glyph" : "xf0f6@FontAwesome",
}, { "cssClass" : "fa fa-file-text-o"
"name" : "toolbar_tbitem21",
"getPSUIAction" : {
"modelref" : true,
"id" : "ExportModel"
}, },
"xDataControlName" : "kanban"
}, {
"name" : "toolbar_tbitem23",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true,
"id" : "Import"
},
"xDataControlName" : "kanban"
} ],
"getPSControls" : [ {
"codeName" : "InterFuncKanban",
"controlType" : "KANBAN",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSKANBANS/InterFuncKanban.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"groupLayout" : "ROW",
"groupMode" : "AUTO",
"getGroupPSAppDEField" : {
"name" : "AUTHOR",
"codeName" : "Author"
},
"getGroupPSUIActionGroup" : {
"codeName" : "Auto11",
"name" : "实体看板界面行为组",
"getPSUIActionGroupDetails" : [ {
"detailType" : "DEUIACTION",
"name" : "u7f86898",
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "打开实体看板文档",
"codeName" : "openKanbanDocument",
"frontProcessType" : "OPENHTMLPAGE",
"fullCodeName" : "IBIZBOOK_openKanbanDocument",
"htmlPageUrl" : "https://www.yuque.com/ibiz/wuf19n/tqi7p6",
"name" : "打开实体看板文档",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "openKanbanDocument",
"uIActionType" : "DEUIACTION",
"id" : "openKanbanDocument@IBIZBOOK"
},
"addSeparator" : false,
"showCaption" : true,
"showIcon" : true
} ]
},
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"logicName" : "看板(内置功能)",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "kanban_group_u7f86898_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "打开实体看板文档"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "打开实体看板文档",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref" : true,
"id" : "openKanbanDocument@IBIZBOOK"
},
"uIActionTarget" : "NONE",
"xDataControlName" : "kanban"
} ],
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "updategroup",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
} ],
"userDRAction" : "READ",
"enableDEFieldPrivilege" : false,
"id" : "数据视图处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "ROWDBLCLICK;SELECTIONCHANGE;REMOVE;LOAD;BEFORELOAD",
"logicTag" : "kanban",
"logicType" : "APPVIEWENGINE",
"name" : "engine_kanban",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "KANBAN"
},
"getPSDEDataImport" : {
"modelref" : true,
"id" : "DataImport"
},
"getPSDEDataViewDataItems" : [ {
"dataType" : 25,
"name" : "srfmajortext",
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
}
}, {
"dataType" : 25,
"name" : "author",
"getPSAppDEField" : {
"name" : "AUTHOR",
"codeName" : "Author"
}
}, {
"dataType" : 25,
"getFrontPSCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookType.json"
},
"name" : "type",
"getPSAppDEField" : {
"name" : "TYPE",
"codeName" : "Type"
}
}, {
"dataType" : 9,
"name" : "booknumber",
"getPSAppDEField" : {
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
}
}, {
"dataType" : 25,
"name" : "press",
"getPSAppDEField" : {
"name" : "PRESS",
"codeName" : "Press"
}
}, {
"dataType" : 25,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
}
}, {
"dataType" : 25,
"name" : "srfmstag"
} ],
"getPSDEDataViewItems" : [ {
"dataItemName" : "srfmajortext",
"itemType" : "DATAITEM",
"name" : "srfmajortext",
"enableSort" : false
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.AUTHOR"
},
"caption" : "图书作者",
"dataItemName" : "author",
"itemType" : "DATAITEM",
"name" : "AUTHOR",
"getPSAppDEField" : {
"name" : "AUTHOR",
"codeName" : "Author"
},
"enableSort" : true
}, {
"cLConvertMode" : "FRONT",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.TYPE"
},
"caption" : "图书类型",
"dataItemName" : "type",
"itemType" : "DATAITEM",
"name" : "TYPE",
"getPSAppDEField" : {
"name" : "TYPE",
"codeName" : "Type"
},
"getPSCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookType.json"
},
"enableSort" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.BOOKNUMBER"
},
"caption" : "图书数量",
"dataItemName" : "booknumber",
"itemType" : "DATAITEM",
"name" : "BOOKNUMBER",
"getPSAppDEField" : {
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
},
"enableSort" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.PRESS"
},
"caption" : "图书出版社",
"dataItemName" : "press",
"itemType" : "DATAITEM",
"name" : "PRESS",
"getPSAppDEField" : {
"name" : "PRESS",
"codeName" : "Press"
},
"enableSort" : true
} ],
"pagingSize" : 20,
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove"
},
"getUpdateGroupPSControlAction" : {
"modelref" : true,
"id" : "updategroup"
},
"getUpdatePSControlAction" : {
"modelref" : true,
"id" : "update"
},
"hasWFDataItems" : false,
"appendDEItems" : true,
"enableCardEdit" : false,
"enableCardEditGroup" : false,
"enableCardEditOrder" : false,
"enableCardNew" : false,
"enableGroup" : true,
"enablePagingBar" : true,
"noSort" : false,
"singleSelect" : false,
"name" : "kanban",
"modelid" : "405bd5d8c8449736c77f6735ff139b21",
"modeltype" : "PSDEKANBAN"
}, {
"codeName" : "InterFuncKanBanViewtoolbar",
"controlType" : "TOOLBAR",
"hookEventNames" : [ "CLICK" ],
"logicName" : "工具栏模板(默认表格界面)",
"name" : "toolbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlLogics" : [ {
"eventArg" : "tbitem3",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem3_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem3_click"
}
}, {
"eventArg" : "deuiaction2",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction2_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_deuiaction2_click"
}
}, {
"eventArg" : "tbitem4",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem4_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem4_click"
}
}, {
"eventArg" : "tbitem6",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem6_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem6_click"
}
}, {
"eventArg" : "deuiaction3",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction3_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_deuiaction3_click"
}
}, {
"eventArg" : "tbitem24",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem24_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem24_click"
}
}, {
"eventArg" : "tbitem25",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem25_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem25_click"
}
}, {
"eventArg" : "tbitem8",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem8_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem8_click"
}
}, {
"eventArg" : "tbitem13",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem13_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem13_click"
}
}, {
"eventArg" : "deuiaction1",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction1_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_deuiaction1_click"
}
}, {
"eventArg" : "tbitem11",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem11_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem11_click"
}
}, {
"eventArg" : "tbitem21",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem21_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem21_click"
}
}, {
"eventArg" : "tbitem23",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem23_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem23_click"
}
} ],
"getPSControlParam" : {
"id" : "TOOLBAR"
},
"getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.NEW" "lanResTag" : "TBB.TEXT.*.NEW"
}, },
"caption" : "新建", "caption" : "新建",
"groupExtractMode" : "ITEM", "codeName" : "New",
"itemType" : "DEUIACTION", "fullCodeName" : "New",
"name" : "tbitem3", "name" : "表格界面_新建操作",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem3"
},
"getPSSysCss" : {
"cssName" : "deepskyblueToolBar"
},
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome", "glyph" : "xf0f6@FontAwesome",
"cssClass" : "fa fa-file-text-o" "cssClass" : "fa fa-file-text-o"
}, },
"getPSUIAction" : { "predefinedType" : "GRIDVIEW_NEWACTION",
"getCapPSLanguageRes" : { "timeout" : 60000,
"lanResTag" : "TBB.TEXT.*.NEW"
},
"caption" : "新建",
"codeName" : "New",
"fullCodeName" : "New",
"name" : "表格界面_新建操作",
"getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome",
"cssClass" : "fa fa-file-text-o"
},
"predefinedType" : "GRIDVIEW_NEWACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.NEW"
},
"uIActionMode" : "SYS",
"uIActionTag" : "New",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "新建",
"getTooltipPSLanguageRes" : { "getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.NEW" "lanResTag" : "TBB.TOOLTIP.*.NEW"
}, },
"showCaption" : true, "uIActionMode" : "SYS",
"showIcon" : true "uIActionTag" : "New",
}, { "uIActionType" : "DEUIACTION"
},
"tooltip" : "新建",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.NEW"
},
"showCaption" : true,
"showIcon" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.SAVE"
},
"caption" : "保存",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction2",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction2"
},
"getPSSysImage" : {
"glyph" : "xf0c7@FontAwesome",
"cssClass" : "fa fa-save"
},
"getPSUIAction" : {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.SAVE" "lanResTag" : "TBB.TEXT.*.SAVE"
}, },
"caption" : "保存", "caption" : "保存",
"groupExtractMode" : "ITEM", "codeName" : "Save",
"itemType" : "DEUIACTION", "fullCodeName" : "Save",
"name" : "deuiaction2", "name" : "编辑界面_保存操作",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction2"
},
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf0c7@FontAwesome", "glyph" : "xf0c7@FontAwesome",
"cssClass" : "fa fa-save" "cssClass" : "fa fa-save"
}, },
"getPSUIAction" : { "predefinedType" : "EDITVIEW_SAVEACTION",
"getCapPSLanguageRes" : { "timeout" : 60000,
"lanResTag" : "TBB.TEXT.*.SAVE"
},
"caption" : "保存",
"codeName" : "Save",
"fullCodeName" : "Save",
"name" : "编辑界面_保存操作",
"getPSSysImage" : {
"glyph" : "xf0c7@FontAwesome",
"cssClass" : "fa fa-save"
},
"predefinedType" : "EDITVIEW_SAVEACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.SAVE"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Save",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "保存",
"getTooltipPSLanguageRes" : { "getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.SAVE" "lanResTag" : "TBB.TOOLTIP.*.SAVE"
}, },
"showCaption" : true, "uIActionMode" : "SYS",
"showIcon" : true "uIActionTag" : "Save",
}, { "uIActionType" : "DEUIACTION"
},
"tooltip" : "保存",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.SAVE"
},
"showCaption" : true,
"showIcon" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EDIT"
},
"caption" : "编辑",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem4",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem4"
},
"getPSSysImage" : {
"glyph" : "xf044@FontAwesome",
"cssClass" : "fa fa-edit"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EDIT" "lanResTag" : "TBB.TEXT.*.EDIT"
}, },
"caption" : "编辑", "caption" : "编辑",
"groupExtractMode" : "ITEM", "codeName" : "Edit",
"itemType" : "DEUIACTION", "fullCodeName" : "Edit",
"name" : "tbitem4", "name" : "表格界面_编辑操作",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem4"
},
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf044@FontAwesome", "glyph" : "xf044@FontAwesome",
"cssClass" : "fa fa-edit" "cssClass" : "fa fa-edit"
}, },
"getPSUIAction" : { "predefinedType" : "GRIDVIEW_EDITACTION",
"actionTarget" : "SINGLEKEY", "timeout" : 60000,
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EDIT"
},
"caption" : "编辑",
"codeName" : "Edit",
"fullCodeName" : "Edit",
"name" : "表格界面_编辑操作",
"getPSSysImage" : {
"glyph" : "xf044@FontAwesome",
"cssClass" : "fa fa-edit"
},
"predefinedType" : "GRIDVIEW_EDITACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EDIT"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Edit",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "编辑",
"getTooltipPSLanguageRes" : { "getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EDIT" "lanResTag" : "TBB.TOOLTIP.*.EDIT"
}, },
"showCaption" : true, "uIActionMode" : "SYS",
"showIcon" : false "uIActionTag" : "Edit",
}, { "uIActionType" : "DEUIACTION"
},
"tooltip" : "编辑",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EDIT"
},
"showCaption" : true,
"showIcon" : false
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.COPY"
},
"caption" : "拷贝",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem6",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem6"
},
"getPSSysImage" : {
"glyph" : "xf0c5@FontAwesome",
"cssClass" : "fa fa-copy"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.COPY" "lanResTag" : "TBB.TEXT.*.COPY"
}, },
"caption" : "拷贝", "caption" : "拷贝",
"groupExtractMode" : "ITEM", "codeName" : "Copy",
"itemType" : "DEUIACTION", "fullCodeName" : "Copy",
"name" : "tbitem6", "name" : "表格界面_拷贝操作",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem6"
},
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf0c5@FontAwesome", "glyph" : "xf0c5@FontAwesome",
"cssClass" : "fa fa-copy" "cssClass" : "fa fa-copy"
}, },
"getPSUIAction" : { "predefinedType" : "GRIDVIEW_COPYACTION",
"actionTarget" : "SINGLEKEY", "timeout" : 60000,
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.COPY"
},
"caption" : "拷贝",
"codeName" : "Copy",
"fullCodeName" : "Copy",
"name" : "表格界面_拷贝操作",
"getPSSysImage" : {
"glyph" : "xf0c5@FontAwesome",
"cssClass" : "fa fa-copy"
},
"predefinedType" : "GRIDVIEW_COPYACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.COPY"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Copy",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "拷贝",
"getTooltipPSLanguageRes" : { "getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.COPY" "lanResTag" : "TBB.TOOLTIP.*.COPY"
}, },
"showCaption" : true, "uIActionMode" : "SYS",
"showIcon" : false "uIActionTag" : "Copy",
}, { "uIActionType" : "DEUIACTION"
},
"tooltip" : "拷贝",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.COPY"
},
"showCaption" : true,
"showIcon" : false
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.FILTER"
},
"caption" : "过滤",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction3",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction3"
},
"getPSSysImage" : {
"glyph" : "xf0b0@FontAwesome",
"cssClass" : "fa fa-filter"
},
"getPSUIAction" : {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.FILTER" "lanResTag" : "TBB.TEXT.*.FILTER"
}, },
"caption" : "过滤", "caption" : "过滤",
"groupExtractMode" : "ITEM", "codeName" : "ToggleFilter",
"itemType" : "DEUIACTION", "fullCodeName" : "ToggleFilter",
"name" : "deuiaction3", "name" : "表格界面_搜索栏",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction3"
},
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf0b0@FontAwesome", "glyph" : "xf0b0@FontAwesome",
"cssClass" : "fa fa-filter" "cssClass" : "fa fa-filter"
}, },
"getPSUIAction" : { "predefinedType" : "GRIDVIEW_SEARCHBAR",
"getCapPSLanguageRes" : { "timeout" : 60000,
"lanResTag" : "TBB.TEXT.*.FILTER"
},
"caption" : "过滤",
"codeName" : "ToggleFilter",
"fullCodeName" : "ToggleFilter",
"name" : "表格界面_搜索栏",
"getPSSysImage" : {
"glyph" : "xf0b0@FontAwesome",
"cssClass" : "fa fa-filter"
},
"predefinedType" : "GRIDVIEW_SEARCHBAR",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.FILTER"
},
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleFilter",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"tooltip" : "过滤",
"getTooltipPSLanguageRes" : { "getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.FILTER" "lanResTag" : "TBB.TOOLTIP.*.FILTER"
}, },
"enableToggleMode" : true, "uIActionMode" : "SYS",
"showCaption" : true, "uIActionTag" : "ToggleFilter",
"showIcon" : true "uIActionType" : "DEUIACTION",
}, { "enableToggleMode" : true
"itemType" : "SEPERATOR", },
"name" : "tbitem7", "tooltip" : "过滤",
"spanMode" : false "getTooltipPSLanguageRes" : {
}, { "lanResTag" : "TBB.TOOLTIP.*.FILTER"
},
"enableToggleMode" : true,
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "tbitem7",
"spanMode" : false
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.REMOVE"
},
"caption" : "删除",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem8",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem8"
},
"getPSSysImage" : {
"glyph" : "xf00d@FontAwesome",
"cssClass" : "fa fa-remove"
},
"getPSUIAction" : {
"actionTarget" : "MULTIKEY",
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.REMOVE" "lanResTag" : "TBB.TEXT.*.REMOVE"
}, },
"caption" : "删除", "caption" : "删除",
"groupExtractMode" : "ITEM", "codeName" : "Remove",
"itemType" : "DEUIACTION", "fullCodeName" : "Remove",
"name" : "tbitem8", "name" : "表格界面_删除操作",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem8"
},
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
"cssClass" : "fa fa-remove" "cssClass" : "fa fa-remove"
}, },
"getPSUIAction" : { "predefinedType" : "GRIDVIEW_REMOVEACTION",
"actionTarget" : "MULTIKEY", "timeout" : 60000,
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.REMOVE"
},
"caption" : "删除",
"codeName" : "Remove",
"fullCodeName" : "Remove",
"name" : "表格界面_删除操作",
"getPSSysImage" : {
"glyph" : "xf00d@FontAwesome",
"cssClass" : "fa fa-remove"
},
"predefinedType" : "GRIDVIEW_REMOVEACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.REMOVE"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Remove",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "删除",
"getTooltipPSLanguageRes" : { "getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.REMOVE" "lanResTag" : "TBB.TOOLTIP.*.REMOVE"
}, },
"showCaption" : true, "uIActionMode" : "SYS",
"showIcon" : false "uIActionTag" : "Remove",
}, { "uIActionType" : "DEUIACTION"
"itemType" : "SEPERATOR", },
"name" : "tbitem9", "tooltip" : "删除",
"spanMode" : false "getTooltipPSLanguageRes" : {
}, { "lanResTag" : "TBB.TOOLTIP.*.REMOVE"
},
"showCaption" : true,
"showIcon" : false
}, {
"itemType" : "SEPERATOR",
"name" : "tbitem9",
"spanMode" : false
}, {
"caption" : "导入",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction1",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction1"
},
"getPSSysImage" : {
"glyph" : "xf093@FontAwesome",
"cssClass" : "fa fa-upload"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "导入", "caption" : "导入",
"codeName" : "ImportExcel",
"frontProcessType" : "OPENHTMLPAGE",
"fullCodeName" : "ImportExcel",
"htmlPageUrl" : "../../ibizutil/uploaddedataview.jsp?srfdeid=",
"name" : "导入",
"getPSSysImage" : {
"glyph" : "xf093@FontAwesome",
"cssClass" : "fa fa-upload"
},
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "ImportExcel",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "导入",
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "tbitem10",
"spanMode" : false
}, {
"caption" : "其它",
"itemType" : "ITEMS",
"name" : "tbitem16",
"getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "MENUITEM.CAPTION.*.EXPORTSRF"
},
"caption" : "导出数据模型",
"groupExtractMode" : "ITEM", "groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION", "itemType" : "DEUIACTION",
"name" : "deuiaction1", "name" : "tbitem21",
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_deuiaction1" "id" : "toolbar_tbitem21"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf093@FontAwesome", "glyph" : "xf019@FontAwesome",
"cssClass" : "fa fa-upload" "cssClass" : "fa fa-download"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "导入",
"codeName" : "ImportExcel",
"frontProcessType" : "OPENHTMLPAGE",
"fullCodeName" : "ImportExcel",
"htmlPageUrl" : "../../ibizutil/uploaddedataview.jsp?srfdeid=",
"name" : "导入",
"getPSSysImage" : {
"glyph" : "xf093@FontAwesome",
"cssClass" : "fa fa-upload"
},
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "ImportExcel",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "导入",
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "tbitem10",
"spanMode" : false
}, {
"caption" : "其它",
"itemType" : "ITEMS",
"name" : "tbitem16",
"getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "MENUITEM.CAPTION.*.EXPORTSRF" "lanResTag" : "MENUITEM.CAPTION.*.EXPORTSRF"
}, },
"caption" : "导出数据模型", "caption" : "导出数据模型",
"groupExtractMode" : "ITEM", "codeName" : "ExportModel",
"itemType" : "DEUIACTION", "fullCodeName" : "ExportModel",
"name" : "tbitem21", "name" : "表格界面_导出数据模型",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem21"
},
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf019@FontAwesome", "glyph" : "xf019@FontAwesome",
"cssClass" : "fa fa-download" "cssClass" : "fa fa-download"
}, },
"getPSUIAction" : { "predefinedType" : "GRIDVIEW_EXPORTXMLACTION",
"getCapPSLanguageRes" : { "timeout" : 60000,
"lanResTag" : "MENUITEM.CAPTION.*.EXPORTSRF" "uIActionMode" : "SYS",
}, "uIActionTag" : "ExportModel",
"caption" : "导出数据模型", "uIActionType" : "DEUIACTION"
"codeName" : "ExportModel", },
"fullCodeName" : "ExportModel", "tooltip" : "导出数据模型",
"name" : "表格界面_导出数据模型",
"getPSSysImage" : {
"glyph" : "xf019@FontAwesome",
"cssClass" : "fa fa-download"
},
"predefinedType" : "GRIDVIEW_EXPORTXMLACTION",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ExportModel",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "导出数据模型",
"showCaption" : true,
"showIcon" : true
} ],
"tooltip" : "其它",
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
} ], } ],
"modelid" : "47d7b189cb310900c71aaabc97f7444b", "tooltip" : "其它",
"modeltype" : "PSDETOOLBAR" "showCaption" : true,
}, { "showIcon" : true
"codeName" : "Default", } ],
"controlType" : "SEARCHFORM", "modelid" : "47d7b189cb310900c71aaabc97f7444b",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSSEARCHFORMS/Default.json", "modeltype" : "PSDETOOLBAR"
"hookEventNames" : [ "SEARCH", "LOAD", "SAVE" ], }, {
"logicName" : "默认搜索表单", "codeName" : "Default",
"getPSAppDataEntity" : { "controlType" : "SEARCHFORM",
"modelref" : true, "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSSEARCHFORMS/Default.json",
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "hookEventNames" : [ "SEARCH", "LOAD", "SAVE" ],
}, "logicName" : "默认搜索表单",
"getPSControlHandler" : { "getPSAppDataEntity" : {
"getPSHandlerActions" : [ { "modelref" : true,
"actionType" : "FILTERACTION", "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
"name" : "load", },
"getPSAppDEMethod" : { "getPSControlHandler" : {
"modelref" : true, "getPSHandlerActions" : [ {
"id" : "FilterGet" "actionType" : "FILTERACTION",
}, "name" : "load",
"getPSAppDataEntity" : { "getPSAppDEMethod" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "id" : "FilterGet"
} },
}, { "getPSAppDataEntity" : {
"actionType" : "FILTERACTION", "modelref" : true,
"name" : "loaddraft", "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
"getPSAppDEMethod" : { }
"modelref" : true, }, {
"id" : "FilterGetDraft" "actionType" : "FILTERACTION",
}, "name" : "loaddraft",
"getPSAppDataEntity" : { "getPSAppDEMethod" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "id" : "FilterGetDraft"
} },
}, { "getPSAppDataEntity" : {
"actionType" : "FILTERACTION", "modelref" : true,
"name" : "search", "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
"getPSAppDEMethod" : { }
"modelref" : true, }, {
"id" : "FilterSearch" "actionType" : "FILTERACTION",
}, "name" : "search",
"getPSAppDataEntity" : { "getPSAppDEMethod" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "id" : "FilterSearch"
} },
} ], "getPSAppDataEntity" : {
"enableDEFieldPrivilege" : false,
"id" : "搜索表单处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "SEARCH;LOAD;SAVE",
"logicTag" : "searchform",
"logicType" : "APPVIEWENGINE",
"name" : "engine_searchform",
"getPSAppViewEngine" : {
"modelref" : true, "modelref" : true,
"id" : "engine" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
} }
} ], } ],
"getPSControlParam" : { "enableDEFieldPrivilege" : false,
"autoLoad" : true, "id" : "搜索表单处理器"
"showBusyIndicator" : true, },
"id" : "SEARCHFORM" "getPSControlLogics" : [ {
"eventNames" : "SEARCH;LOAD;SAVE",
"logicTag" : "searchform",
"logicType" : "APPVIEWENGINE",
"name" : "engine_searchform",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "SEARCHFORM"
},
"getPSDEFormItems" : [ {
"id" : "n_ibizbookname_like",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
}
}, {
"id" : "n_price_gtandeq",
"dataType" : 7,
"getPSAppDEField" : {
"name" : "PRICE",
"codeName" : "Price"
}
} ],
"getPSDEFormPages" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFORM.IBIZBOOK.DEFAULT.FORMPAGE.FORMPAGE1"
}, },
"getPSDEFormItems" : [ { "caption" : "常规条件",
"id" : "n_ibizbookname_like", "codeName" : "formpage1",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage1",
"getPSDEFormDetails" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE"
},
"caption" : "图书名称(%)",
"codeName" : "n_ibizbookname_like",
"dataType" : 25, "dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "n_ibizbookname_like",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : { "getPSAppDEField" : {
"name" : "IBIZBOOKNAME", "name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName" "codeName" : "IBIZBOOKName"
} },
"getPSEditor" : {
"editorType" : "TEXTBOX",
"editorWidth" : 100.0,
"name" : "n_ibizbookname_like"
},
"getPSLayoutPos" : {
"colLG" : 12,
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, { }, {
"id" : "n_price_gtandeq", "getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFSFITEM.IBIZBOOK.N_PRICE_GTANDEQ"
},
"caption" : "图书价格(>=)",
"codeName" : "n_price_gtandeq",
"dataType" : 7, "dataType" : 7,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "n_price_gtandeq",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : { "getPSAppDEField" : {
"name" : "PRICE", "name" : "PRICE",
"codeName" : "Price" "codeName" : "Price"
}
} ],
"getPSDEFormPages" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFORM.IBIZBOOK.DEFAULT.FORMPAGE.FORMPAGE1"
}, },
"caption" : "常规条件", "getPSEditor" : {
"codeName" : "formpage1", "editorType" : "TEXTBOX",
"detailStyle" : "DEFAULT", "editorWidth" : 100.0,
"detailType" : "FORMPAGE", "name" : "n_price_gtandeq"
"name" : "formpage1", },
"getPSDEFormDetails" : [ { "getPSLayoutPos" : {
"getCapPSLanguageRes" : { "colLG" : 12,
"lanResTag" : "CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE" "colMD" : 24,
},
"caption" : "图书名称(%)",
"codeName" : "n_ibizbookname_like",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "n_ibizbookname_like",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"editorWidth" : 100.0,
"name" : "n_ibizbookname_like"
},
"getPSLayoutPos" : {
"colLG" : 12,
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFSFITEM.IBIZBOOK.N_PRICE_GTANDEQ"
},
"caption" : "图书价格(>=)",
"codeName" : "n_price_gtandeq",
"dataType" : 7,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "n_price_gtandeq",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "PRICE",
"codeName" : "Price"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"editorWidth" : 100.0,
"name" : "n_price_gtandeq"
},
"getPSLayoutPos" : {
"colLG" : 12,
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"infoGroupMode" : false "allowEmpty" : true,
"showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"columnCount" : 24, "columnCount" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"searchButtonStyle" : "DEFAULT", "infoGroupMode" : false
"tabHeaderPos" : "TOP", } ],
"enableAdvanceSearch" : false, "getPSLayout" : {
"enableAutoSearch" : false, "columnCount" : 24,
"enableFilterSave" : false, "layout" : "TABLE_24COL"
"noTabHeader" : true, },
"name" : "searchform", "searchButtonStyle" : "DEFAULT",
"modelid" : "643b7d93870f8f5842b663af83ba85ae", "tabHeaderPos" : "TOP",
"modeltype" : "PSDEFORM_SEARCHFORM" "enableAdvanceSearch" : false,
}, { "enableAutoSearch" : false,
"controlType" : "SEARCHBAR", "enableFilterSave" : false,
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSSEARCHBARS/.json", "noTabHeader" : true,
"getPSAppDataEntity" : { "name" : "searchform",
"modelref" : true, "modelid" : "643b7d93870f8f5842b663af83ba85ae",
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "modeltype" : "PSDEFORM_SEARCHFORM"
}, } ],
"getPSControlParam" : { "getPSDEViewCodeName" : "InterFuncKanBanView",
"id" : "searchbar" "getPSDEViewId" : "520461c48d734e7d2b34b20d62b637ab",
}, "getPSViewLayoutPanel" : {
"getPSSearchBarGroups" : [ { "codeName" : "Layoutpanel",
"caption" : "全部", "controlStyle" : "APPDEKANBANVIEW",
"itemType" : "GROUP", "controlType" : "VIEWLAYOUTPANEL",
"name" : "all", "name" : "layoutpanel",
"width" : 0.0, "getPSAppDataEntity" : {
"addSeparator" : false "modelref" : true,
}, { "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
"caption" : "已上架", },
"data" : "{\"n_sailstate_eq\":400}", "getPSControlParam" : { },
"itemType" : "GROUP", "layoutBodyOnly" : true,
"name" : "onshelf", "layoutPanel" : true,
"width" : 0.0, "useDefaultLayout" : true
"addSeparator" : false
}, {
"caption" : "未上架",
"data" : "{\"n_sailstate_eq\":300}",
"itemType" : "GROUP",
"name" : "noshelf",
"width" : 0.0,
"addSeparator" : false
}, {
"caption" : "未出版",
"data" : "{\"n_sailstate_eq\":100}",
"itemType" : "GROUP",
"name" : "nopublish",
"width" : 0.0,
"addSeparator" : false
}, {
"caption" : "等待出版",
"data" : "{\"n_sailstate_eq\":200}",
"itemType" : "GROUP",
"name" : "waitpublish",
"width" : 0.0,
"addSeparator" : false
} ],
"quickGroupCount" : 3,
"quickSearchMode" : 1,
"quickSearchWidth" : 0,
"enableFilter" : false,
"enableGroup" : true,
"enableQuickSearch" : true,
"mobileSearchBar" : false,
"name" : "searchbar"
} ]
}, },
"getQuickGroupPSCodeList" : { "getQuickGroupPSCodeList" : {
"modelref" : true, "modelref" : true,
......
...@@ -11,391 +11,96 @@ ...@@ -11,391 +11,96 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "SYSUILOGIC",
"name" : "newdata",
"getPSAppUILogic" : {
"actionAfterWizard" : "DEFAULT",
"logicType" : "PREDEFINED",
"name" : "新建数据",
"viewLogicType" : "APP_NEWDATA",
"batchAddOnly" : false,
"enableBatchAdd" : false,
"enableWizardAdd" : false
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "SYSUILOGIC",
"name" : "opendata",
"getPSAppUILogic" : {
"logicType" : "PREDEFINED",
"name" : "打开数据",
"viewLogicType" : "APP_OPENDATA",
"editMode" : true
}
} ],
"getPSAppViewMsgGroup" : { "getPSAppViewMsgGroup" : {
"modelref" : true, "modelref" : true,
"id" : "VMGroup35" "id" : "VMGroup35"
}, },
"getPSDEViewCodeName" : "Usr2MEditView9", "getPSControls" : [ {
"getPSDEViewId" : "2d6d676ea17c2dc38c5076c3fdd3936d", "aggMode" : "NONE",
"getPSViewLayoutPanel" : { "codeName" : "Main",
"getAllPSPanelFields" : [ { "columnEnableLink" : 2,
"id" : "view_pagecaption" "controlType" : "MULTIEDITVIEWPANEL",
} ], "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSMULTIEDITVIEWPANELS/Main.json",
"codeName" : "Usr1104775982", "getEmbeddedPSAppView" : {
"controlType" : "VIEWLAYOUTPANEL", "modelref" : true,
"layoutMode" : "FLEX", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKInterFuncEditView.json",
"logicName" : "Usr2MEditView9DEMEDITVIEW9", "viewType" : "DEEDITVIEW"
"name" : "layoutpanel", },
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch"
},
"groupMode" : "NONE",
"logicName" : "主表格",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSControlParam" : { }, "getPSControlHandler" : {
"getPSLayout" : { "getPSHandlerActions" : [ {
"layout" : "FLEX" "actionName" : "Get",
}, "actionType" : "DEACTION",
"getRootPSPanelItems" : [ { "dataAccessAction" : "READ",
"itemStyle" : "DEFAULT", "name" : "load",
"itemType" : "CONTAINER", "getPSAppDEMethod" : {
"name" : "page_container",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "栅格容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_grid1",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : 12,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "页面标题",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "view_pagecaption",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "view_pagecaption",
"predefinedType" : "VIEW_PAGECAPTION",
"renderMode" : "HEADING1",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "SIMPLEFLEX"
},
"hidden" : false,
"showCaption" : false
} ]
} ]
}, {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "多表单面板",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "meditviewpanel",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"showCaption" : true
} ]
} ]
} ],
"layoutBodyOnly" : false,
"layoutPanel" : true,
"useDefaultLayout" : false,
"viewProxyMode" : true,
"modelid" : "1101D6F4-479A-440A-AA43-6195EBD7840C",
"modeltype" : "PSSYSVIEWLAYOUTPANEL",
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "SYSUILOGIC",
"name" : "newdata",
"getPSAppUILogic" : {
"actionAfterWizard" : "DEFAULT",
"logicType" : "PREDEFINED",
"name" : "新建数据",
"viewLogicType" : "APP_NEWDATA",
"batchAddOnly" : false,
"enableBatchAdd" : false,
"enableWizardAdd" : false
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "SYSUILOGIC",
"name" : "opendata",
"getPSAppUILogic" : {
"logicType" : "PREDEFINED",
"name" : "打开数据",
"viewLogicType" : "APP_OPENDATA",
"editMode" : true
}
} ],
"getPSControls" : [ {
"aggMode" : "NONE",
"codeName" : "Main",
"columnEnableLink" : 2,
"controlType" : "MULTIEDITVIEWPANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSMULTIEDITVIEWPANELS/Main.json",
"getEmbeddedPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKInterFuncEditView.json",
"viewType" : "DEEDITVIEW"
},
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch"
},
"groupMode" : "NONE",
"logicName" : "主表格",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "GetDraft",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "GetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
} ],
"userDRAction" : "READ",
"enableDEFieldPrivilege" : false,
"id" : "数据表格处理器"
},
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "MEDITVIEWPANEL"
},
"getPSDEDataImport" : {
"modelref" : true,
"id" : "DataImport"
},
"getPSDEGridColumns" : [ {
"align" : "LEFT",
"cLConvertMode" : "NONE",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.IBIZBOOKNAME"
},
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"excelCaption" : "图书名称",
"name" : "ibizbookname",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
},
"width" : 150,
"widthUnit" : "PX",
"enableSort" : true
}, {
"align" : "LEFT",
"cLConvertMode" : "FRONT",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.UPDATEMAN"
},
"caption" : "更新人",
"codeName" : "updateman",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "updateman",
"excelCaption" : "更新人",
"name" : "updateman",
"noPrivDisplayMode" : 1,
"getPSAppCodeList" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json" "id" : "Get"
},
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
},
"width" : 150,
"widthUnit" : "PX",
"enableSort" : true
}, {
"align" : "LEFT",
"cLConvertMode" : "NONE",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.UPDATEDATE"
},
"caption" : "更新时间",
"codeName" : "updatedate",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "updatedate",
"excelCaption" : "更新时间",
"name" : "updatedate",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}, },
"valueFormat" : "YYYY-MM-DD HH:mm:ss", "getPSAppDataEntity" : {
"width" : 150, "modelref" : true,
"widthUnit" : "PX", "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
"enableSort" : true
} ],
"getPSDEGridDataItems" : [ {
"dataType" : 25,
"name" : "ibizbookname",
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
}
}, {
"dataType" : 25,
"name" : "updateman",
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
}
}, {
"format" : "YYYY-MM-DD HH:mm:ss",
"dataType" : 5,
"name" : "updatedate",
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"dataType" : 25,
"name" : "ibizbookid",
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
} }
}, { }, {
"dataType" : 25, "actionName" : "Create",
"name" : "srfkey", "actionType" : "DEACTION",
"getPSAppDEField" : { "dataAccessAction" : "CREATE",
"name" : "IBIZBOOKID", "name" : "create",
"codeName" : "IBIZBOOKId" "getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
} }
}, { }, {
"dataType" : 25, "actionName" : "Update",
"name" : "srfdataaccaction", "actionType" : "DEACTION",
"getPSAppDEField" : { "dataAccessAction" : "UPDATE",
"name" : "IBIZBOOKID", "name" : "update",
"codeName" : "IBIZBOOKId" "getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
}, },
"dataAccessAction" : true "getPSAppDataEntity" : {
}, { "modelref" : true,
"dataType" : 25, "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
"name" : "srfmajortext",
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
} }
}, { }, {
"dataType" : 25,
"name" : "srfmstag"
} ],
"getPSDEGridEditItems" : [ {
"caption" : "图书标识",
"codeName" : "srfkey",
"enableCond" : 3,
"ignoreInput" : 0,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
},
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "srfkey"
},
"allowEmpty" : true
} ],
"pagingSize" : 20,
"panelStyle" : "TAB_TOP",
"getRemovePSControlAction" : {
"actionName" : "Remove", "actionName" : "Remove",
"actionType" : "DEACTION", "actionType" : "DEACTION",
"dataAccessAction" : "DELETE", "dataAccessAction" : "DELETE",
...@@ -408,42 +113,229 @@ ...@@ -408,42 +113,229 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
} }
}, {
"actionName" : "GetDraft",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "GetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
} ],
"userDRAction" : "READ",
"enableDEFieldPrivilege" : false,
"id" : "数据表格处理器"
},
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "MEDITVIEWPANEL"
},
"getPSDEDataImport" : {
"modelref" : true,
"id" : "DataImport"
},
"getPSDEGridColumns" : [ {
"align" : "LEFT",
"cLConvertMode" : "NONE",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.IBIZBOOKNAME"
},
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"excelCaption" : "图书名称",
"name" : "ibizbookname",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
}, },
"sortMode" : "REMOTE", "width" : 150,
"hasWFDataItems" : false, "widthUnit" : "PX",
"enableColFilter" : false, "enableSort" : true
"enableCustomized" : true,
"enableGroup" : false,
"enablePagingBar" : true,
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : false,
"hideHeader" : false,
"noSort" : false,
"singleSelect" : false,
"name" : "meditviewpanel",
"modelid" : "6cd11a010cbbb4d2bad5e1aad7e8020a",
"modeltype" : "PSDEGRID"
}, { }, {
"controlType" : "SEARCHBAR", "align" : "LEFT",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSSEARCHBARS/.json", "cLConvertMode" : "FRONT",
"getPSAppDataEntity" : { "getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.UPDATEMAN"
},
"caption" : "更新人",
"codeName" : "updateman",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "updateman",
"excelCaption" : "更新人",
"name" : "updateman",
"noPrivDisplayMode" : 1,
"getPSAppCodeList" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
},
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
},
"width" : 150,
"widthUnit" : "PX",
"enableSort" : true
}, {
"align" : "LEFT",
"cLConvertMode" : "NONE",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.UPDATEDATE"
},
"caption" : "更新时间",
"codeName" : "updatedate",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "updatedate",
"excelCaption" : "更新时间",
"name" : "updatedate",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
},
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"width" : 150,
"widthUnit" : "PX",
"enableSort" : true
} ],
"getPSDEGridDataItems" : [ {
"dataType" : 25,
"name" : "ibizbookname",
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
}
}, {
"dataType" : 25,
"name" : "updateman",
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
}
}, {
"format" : "YYYY-MM-DD HH:mm:ss",
"dataType" : 5,
"name" : "updatedate",
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"dataType" : 25,
"name" : "ibizbookid",
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
}
}, {
"dataType" : 25,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
}
}, {
"dataType" : 25,
"name" : "srfdataaccaction",
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
}, },
"getPSControlParam" : { "dataAccessAction" : true
"id" : "searchbar" }, {
"dataType" : 25,
"name" : "srfmajortext",
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
}
}, {
"dataType" : 25,
"name" : "srfmstag"
} ],
"getPSDEGridEditItems" : [ {
"caption" : "图书标识",
"codeName" : "srfkey",
"enableCond" : 3,
"ignoreInput" : 0,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
},
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "srfkey"
}, },
"quickGroupCount" : -1, "allowEmpty" : true
"quickSearchMode" : 1, } ],
"quickSearchWidth" : 0, "pagingSize" : 20,
"enableFilter" : false, "panelStyle" : "TAB_TOP",
"enableGroup" : false, "getRemovePSControlAction" : {
"enableQuickSearch" : true, "actionName" : "Remove",
"mobileSearchBar" : false, "actionType" : "DEACTION",
"name" : "searchbar" "dataAccessAction" : "DELETE",
} ] "name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
"sortMode" : "REMOTE",
"hasWFDataItems" : false,
"enableColFilter" : false,
"enableCustomized" : true,
"enableGroup" : false,
"enablePagingBar" : true,
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : false,
"hideHeader" : false,
"noSort" : false,
"singleSelect" : false,
"name" : "meditviewpanel",
"modelid" : "6cd11a010cbbb4d2bad5e1aad7e8020a",
"modeltype" : "PSDEGRID"
} ],
"getPSDEViewCodeName" : "Usr2MEditView9",
"getPSDEViewId" : "2d6d676ea17c2dc38c5076c3fdd3936d",
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPDEMEDITVIEW9",
"controlType" : "VIEWLAYOUTPANEL",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam" : { },
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : true
}, },
"title" : "实体多表单编辑视图", "title" : "实体多表单编辑视图",
"getTitlePSLanguageRes" : { "getTitlePSLanguageRes" : {
...@@ -452,9 +344,8 @@ ...@@ -452,9 +344,8 @@
"viewStyle" : "DEFAULT", "viewStyle" : "DEFAULT",
"viewType" : "DEMEDITVIEW9", "viewType" : "DEMEDITVIEW9",
"enableDP" : true, "enableDP" : true,
"enableFilter" : true, "enableFilter" : false,
"enableQuickSearch" : true, "enableQuickSearch" : true,
"enableSearch" : true,
"showCaptionBar" : false, "showCaptionBar" : false,
"modelid" : "36bc83bf45e2fbb5a963ad751cb9a13f", "modelid" : "36bc83bf45e2fbb5a963ad751cb9a13f",
"modeltype" : "PSAPPDEVIEW" "modeltype" : "PSAPPDEVIEW"
......
...@@ -12,336 +12,438 @@ ...@@ -12,336 +12,438 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSAppViewEngines" : [ {
"engineCat" : "VIEW",
"engineType" : "ListView",
"name" : "engine",
"getPSUIEngineParams" : [ {
"ctrlName" : "list",
"name" : "LIST",
"paramType" : "CTRL"
}, {
"appViewLogicName" : "opendata",
"name" : "OPENDATA",
"paramType" : "LOGIC"
}, {
"appViewLogicName" : "newdata",
"name" : "NEWDATA",
"paramType" : "LOGIC"
}, {
"ctrlName" : "searchform",
"name" : "SEARCHFORM",
"paramType" : "CTRL"
} ]
} ],
"getPSAppViewLogics" : [ {
"eventArg" : "deuiaction1",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction1"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "deuiaction3",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction3_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction3"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "deuiaction2",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction2_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction2"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "deuiaction4",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction4_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction4"
},
"getPSViewCtrlName" : "toolbar"
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "SYSUILOGIC",
"name" : "newdata",
"getPSAppUILogic" : {
"actionAfterWizard" : "DEFAULT",
"logicType" : "PREDEFINED",
"name" : "新建数据",
"getNewDataPSAppView" : {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"viewType" : "DEEDITVIEW"
}
},
"getPSAppUILogicRefViews" : [ {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"viewLogicType" : "APP_NEWDATA",
"batchAddOnly" : false,
"enableBatchAdd" : false,
"enableWizardAdd" : false
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "SYSUILOGIC",
"name" : "opendata",
"getPSAppUILogic" : {
"logicType" : "PREDEFINED",
"name" : "打开数据",
"getOpenDataPSAppView" : {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"viewType" : "DEEDITVIEW"
}
},
"getPSAppUILogicRefViews" : [ {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"viewLogicType" : "APP_OPENDATA",
"editMode" : true
}
} ],
"getPSAppViewMsgGroup" : { "getPSAppViewMsgGroup" : {
"modelref" : true, "modelref" : true,
"id" : "VMGroup96" "id" : "VMGroup96"
}, },
"getPSDEViewCodeName" : "Usr4ListView", "getPSAppViewRefs" : [ {
"getPSDEViewId" : "683208b861f0c5ca5b8bada5df9dd67f", "name" : "NEWDATA",
"getPSViewLayoutPanel" : { "realTitle" : "图书编辑视图",
"getAllPSPanelFields" : [ { "getRealTitlePSLanguageRes" : {
"id" : "view_pagecaption" "lanResTag" : "PAGE.TITLE.IBIZBOOK.EDITVIEW"
} ], },
"codeName" : "Usr1104012140", "getRefPSAppView" : {
"controlType" : "VIEWLAYOUTPANEL", "modelref" : true,
"layoutMode" : "FLEX", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"logicName" : "Usr4ListViewDELISTVIEW", "viewType" : "DEEDITVIEW"
"name" : "layoutpanel", }
}, {
"name" : "EDITDATA",
"realTitle" : "图书编辑视图",
"getRealTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.IBIZBOOK.EDITVIEW"
},
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "toolbar_deuiaction1",
"getPSUIAction" : {
"modelref" : true,
"id" : "New"
},
"xDataControlName" : "list"
}, {
"name" : "toolbar_deuiaction3",
"getPSUIAction" : {
"modelref" : true,
"id" : "Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "list"
}, {
"name" : "toolbar_deuiaction2",
"getPSUIAction" : {
"modelref" : true,
"id" : "Remove"
},
"uIActionTarget" : "MULTIKEY",
"xDataControlName" : "list"
}, {
"name" : "toolbar_deuiaction4",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleFilter"
},
"xDataControlName" : "list"
} ],
"getPSControls" : [ {
"codeName" : "Default",
"controlType" : "SEARCHFORM",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSSEARCHFORMS/Default.json",
"hookEventNames" : [ "SEARCH", "LOAD", "SAVE" ],
"logicName" : "默认搜索表单",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSControlParam" : { }, "getPSControlHandler" : {
"getPSLayout" : { "getPSHandlerActions" : [ {
"layout" : "FLEX" "actionType" : "FILTERACTION",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterGet"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionType" : "FILTERACTION",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterGetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionType" : "FILTERACTION",
"name" : "search",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterSearch"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
} ],
"enableDEFieldPrivilege" : false,
"id" : "搜索表单处理器"
}, },
"getRootPSPanelItems" : [ { "getPSControlLogics" : [ {
"caption" : "容器", "eventNames" : "SEARCH;LOAD;SAVE",
"itemStyle" : "DEFAULT", "logicTag" : "searchform",
"itemType" : "CONTAINER", "logicType" : "APPVIEWENGINE",
"name" : "page_container", "name" : "engine_searchform",
"getPSLayout" : { "getPSAppViewEngine" : {
"dir" : "column", "modelref" : true,
"layout" : "FLEX" "id" : "engine"
}, }
"getPSLayoutPos" : { } ],
"grow" : -1, "getPSControlParam" : {
"layout" : "FLEX" "autoLoad" : true,
"showBusyIndicator" : true,
"id" : "SEARCHFORM"
},
"getPSDEFormItems" : [ {
"id" : "n_ibizbookname_like",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
}
}, {
"id" : "n_price_gtandeq",
"dataType" : 7,
"getPSAppDEField" : {
"name" : "PRICE",
"codeName" : "Price"
}
} ],
"getPSDEFormPages" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFORM.IBIZBOOK.DEFAULT.FORMPAGE.FORMPAGE1"
}, },
"getPSPanelItems" : [ { "caption" : "常规条件",
"caption" : "栅格容器", "codeName" : "formpage1",
"itemStyle" : "DEFAULT", "detailStyle" : "DEFAULT",
"itemType" : "CONTAINER", "detailType" : "FORMPAGE",
"name" : "container_grid1", "name" : "formpage1",
"getPSLayout" : { "getPSDEFormDetails" : [ {
"layout" : "SIMPLEFLEX" "getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE"
},
"caption" : "图书名称(%)",
"codeName" : "n_ibizbookname_like",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "n_ibizbookname_like",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"editorWidth" : 100.0,
"name" : "n_ibizbookname_like"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "colLG" : 12,
"layout" : "FLEX" "colMD" : 24,
"layout" : "TABLE_24COL"
}, },
"getPSPanelItems" : [ { "allowEmpty" : true,
"caption" : "面板容器", "showCaption" : true
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : 6,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "页面标题",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "view_pagecaption",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "view_pagecaption",
"predefinedType" : "VIEW_PAGECAPTION",
"renderMode" : "HEADING1",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "LEFT",
"heightMode" : "FULL",
"layout" : "SIMPLEFLEX",
"widthMode" : "FULL"
},
"hidden" : false,
"showCaption" : false
} ]
}, {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : 3,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "QUICKSEARCHBAR",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "quicksearchbar",
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "RIGHT",
"heightMode" : "FULL",
"layout" : "SIMPLEFLEX"
},
"showCaption" : true
} ]
}, {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_2",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "TOOLBAR",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "toolbar",
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "RIGHT",
"heightMode" : "FULL",
"layout" : "SIMPLEFLEX"
},
"showCaption" : true
} ]
} ]
}, { }, {
"caption" : "容器", "getCapPSLanguageRes" : {
"itemStyle" : "DEFAULT", "lanResTag" : "CONTROL.DEFSFITEM.IBIZBOOK.N_PRICE_GTANDEQ"
"itemType" : "CONTAINER", },
"name" : "container5", "caption" : "图书价格(>=)",
"getPSLayout" : { "codeName" : "n_price_gtandeq",
"dir" : "column", "dataType" : 7,
"layout" : "FLEX" "detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "n_price_gtandeq",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "PRICE",
"codeName" : "Price"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"editorWidth" : 100.0,
"name" : "n_price_gtandeq"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "colLG" : 12,
"layout" : "FLEX" "colMD" : 24,
"layout" : "TABLE_24COL"
}, },
"getPSPanelItems" : [ { "allowEmpty" : true,
"caption" : "SEARCHFORM", "showCaption" : true
"itemStyle" : "DEFAULT", } ],
"itemType" : "CTRLPOS", "getPSLayout" : {
"name" : "searchform", "columnCount" : 24,
"getPSLayoutPos" : { "layout" : "TABLE_24COL"
"grow" : -1, },
"heightMode" : "FULL", "infoGroupMode" : false
"layout" : "FLEX"
},
"showCaption" : true
}, {
"caption" : "LIST",
"contentHeight" : 100.0,
"height" : 100.0,
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "list",
"getPSLayoutPos" : {
"grow" : -1,
"height" : 100,
"heightMode" : "PERCENTAGE",
"layout" : "FLEX"
},
"showCaption" : true
} ]
} ]
} ],
"layoutBodyOnly" : false,
"layoutPanel" : true,
"useDefaultLayout" : false,
"viewProxyMode" : true,
"modelid" : "19994F53-199C-43B8-B783-1822ADFB9902",
"modeltype" : "PSSYSVIEWLAYOUTPANEL",
"getPSAppViewEngines" : [ {
"engineCat" : "VIEW",
"engineType" : "ListView",
"name" : "engine",
"getPSUIEngineParams" : [ {
"ctrlName" : "list",
"name" : "LIST",
"paramType" : "CTRL"
}, {
"appViewLogicName" : "opendata",
"name" : "OPENDATA",
"paramType" : "LOGIC"
}, {
"appViewLogicName" : "newdata",
"name" : "NEWDATA",
"paramType" : "LOGIC"
}, {
"ctrlName" : "searchform",
"name" : "SEARCHFORM",
"paramType" : "CTRL"
} ]
} ], } ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"searchButtonStyle" : "DEFAULT",
"tabHeaderPos" : "TOP",
"enableAdvanceSearch" : false,
"enableAutoSearch" : false,
"enableFilterSave" : false,
"noTabHeader" : true,
"name" : "searchform",
"modelid" : "643b7d93870f8f5842b663af83ba85ae",
"modeltype" : "PSDEFORM_SEARCHFORM"
}, {
"codeName" : "LnternalFuncList",
"controlType" : "LIST",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSLISTS/LnternalFuncList.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"groupMode" : "NONE",
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"logicName" : "MOB",
"minorSortDir" : "ASC",
"getMinorSortPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSAppViewLogics" : [ { "getPSAppViewLogics" : [ {
"eventArg" : "deuiaction1", "eventArg" : "deuiaction1",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction1_click", "name" : "list_quicktoolbar_deuiaction1_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_deuiaction1" "id" : "list_quicktoolbar_deuiaction1"
}, },
"getPSViewCtrlName" : "toolbar" "getPSViewCtrlName" : "list_quicktoolbar"
}, { }, {
"eventArg" : "deuiaction3", "eventArg" : "deuiaction1",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction3_click", "name" : "list_batchtoolbar_deuiaction1_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_deuiaction3" "id" : "list_batchtoolbar_deuiaction1"
}, },
"getPSViewCtrlName" : "toolbar" "getPSViewCtrlName" : "list_batchtoolbar"
}, { }, {
"eventArg" : "deuiaction2", "eventArg" : "deuiaction2",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction2_click", "name" : "list_batchtoolbar_deuiaction2_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_deuiaction2" "id" : "list_batchtoolbar_deuiaction2"
}, },
"getPSViewCtrlName" : "toolbar" "getPSViewCtrlName" : "list_batchtoolbar"
}, { }, {
"eventArg" : "deuiaction4", "logicTrigger" : "CUSTOM",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction4_click", "name" : "list_memo1_u37f11a8_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_deuiaction4" "id" : "表格界面_编辑操作"
},
"getPSViewCtrlName" : "toolbar"
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "SYSUILOGIC",
"name" : "newdata",
"getPSAppUILogic" : {
"actionAfterWizard" : "DEFAULT",
"logicType" : "PREDEFINED",
"name" : "新建数据",
"getNewDataPSAppView" : {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"viewType" : "DEEDITVIEW"
}
},
"getPSAppUILogicRefViews" : [ {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"viewLogicType" : "APP_NEWDATA",
"batchAddOnly" : false,
"enableBatchAdd" : false,
"enableWizardAdd" : false
} }
}, { }, {
"logicTrigger" : "CUSTOM", "logicTrigger" : "CUSTOM",
"logicType" : "SYSUILOGIC", "logicType" : "APPVIEWUIACTION",
"name" : "opendata", "name" : "list_memo1_uc365542_click",
"getPSAppUILogic" : { "getPSAppViewUIAction" : {
"logicType" : "PREDEFINED",
"name" : "打开数据",
"getOpenDataPSAppView" : {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"viewType" : "DEEDITVIEW"
}
},
"getPSAppUILogicRefViews" : [ {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"viewLogicType" : "APP_OPENDATA",
"editMode" : true
}
} ],
"getPSAppViewRefs" : [ {
"name" : "NEWDATA",
"realTitle" : "图书编辑视图",
"getRealTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.IBIZBOOK.EDITVIEW"
},
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"name" : "EDITDATA",
"realTitle" : "图书编辑视图",
"getRealTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.IBIZBOOK.EDITVIEW"
},
"getRefPSAppView" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json", "id" : "表格界面_删除操作"
"viewType" : "DEEDITVIEW"
} }
} ], } ],
"getPSAppViewUIActions" : [ { "getPSAppViewUIActions" : [ {
"name" : "toolbar_deuiaction1", "name" : "list_quicktoolbar_deuiaction1",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "New" "id" : "New"
}, },
"xDataControlName" : "list" "xDataControlName" : "list"
}, { }, {
"name" : "toolbar_deuiaction3", "name" : "list_batchtoolbar_deuiaction1",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Edit" "id" : "Edit"
...@@ -349,7 +451,7 @@ ...@@ -349,7 +451,7 @@
"uIActionTarget" : "SINGLEKEY", "uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "list" "xDataControlName" : "list"
}, { }, {
"name" : "toolbar_deuiaction2", "name" : "list_batchtoolbar_deuiaction2",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Remove" "id" : "Remove"
...@@ -357,744 +459,112 @@ ...@@ -357,744 +459,112 @@
"uIActionTarget" : "MULTIKEY", "uIActionTarget" : "MULTIKEY",
"xDataControlName" : "list" "xDataControlName" : "list"
}, { }, {
"name" : "toolbar_deuiaction4", "name" : "表格界面_编辑操作",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "ToggleFilter" "id" : "Edit"
}, },
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "list" "xDataControlName" : "list"
} ],
"getPSControls" : [ {
"codeName" : "Default",
"controlType" : "SEARCHFORM",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSSEARCHFORMS/Default.json",
"hookEventNames" : [ "SEARCH", "LOAD", "SAVE" ],
"logicName" : "默认搜索表单",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionType" : "FILTERACTION",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterGet"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionType" : "FILTERACTION",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterGetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionType" : "FILTERACTION",
"name" : "search",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterSearch"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
} ],
"enableDEFieldPrivilege" : false,
"id" : "搜索表单处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "SEARCH;LOAD;SAVE",
"logicTag" : "searchform",
"logicType" : "APPVIEWENGINE",
"name" : "engine_searchform",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "SEARCHFORM"
},
"getPSDEFormItems" : [ {
"id" : "n_ibizbookname_like",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
}
}, {
"id" : "n_price_gtandeq",
"dataType" : 7,
"getPSAppDEField" : {
"name" : "PRICE",
"codeName" : "Price"
}
} ],
"getPSDEFormPages" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFORM.IBIZBOOK.DEFAULT.FORMPAGE.FORMPAGE1"
},
"caption" : "常规条件",
"codeName" : "formpage1",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage1",
"getPSDEFormDetails" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE"
},
"caption" : "图书名称(%)",
"codeName" : "n_ibizbookname_like",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "n_ibizbookname_like",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"editorWidth" : 100.0,
"name" : "n_ibizbookname_like"
},
"getPSLayoutPos" : {
"colLG" : 12,
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFSFITEM.IBIZBOOK.N_PRICE_GTANDEQ"
},
"caption" : "图书价格(>=)",
"codeName" : "n_price_gtandeq",
"dataType" : 7,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "n_price_gtandeq",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "PRICE",
"codeName" : "Price"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"editorWidth" : 100.0,
"name" : "n_price_gtandeq"
},
"getPSLayoutPos" : {
"colLG" : 12,
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"searchButtonStyle" : "DEFAULT",
"tabHeaderPos" : "TOP",
"enableAdvanceSearch" : false,
"enableAutoSearch" : false,
"enableFilterSave" : false,
"noTabHeader" : true,
"name" : "searchform",
"modelid" : "643b7d93870f8f5842b663af83ba85ae",
"modeltype" : "PSDEFORM_SEARCHFORM"
}, { }, {
"codeName" : "LnternalFuncList", "name" : "表格界面_删除操作",
"controlType" : "LIST", "getPSUIAction" : {
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSLISTS/LnternalFuncList.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"groupMode" : "NONE",
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"logicName" : "MOB",
"minorSortDir" : "ASC",
"getMinorSortPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
},
"getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "id" : "Remove"
}, },
"getPSAppViewLogics" : [ { "uIActionTarget" : "MULTIKEY",
"eventArg" : "deuiaction1", "xDataControlName" : "list"
"eventNames" : "CLICK", } ],
"logicTrigger" : "CTRLEVENT", "getPSControlHandler" : {
"logicType" : "APPVIEWUIACTION", "getPSHandlerActions" : [ {
"name" : "list_quicktoolbar_deuiaction1_click", "actionName" : "Get",
"getPSAppViewUIAction" : { "actionType" : "DEACTION",
"modelref" : true, "dataAccessAction" : "READ",
"id" : "list_quicktoolbar_deuiaction1" "name" : "load",
}, "getPSAppDEMethod" : {
"getPSViewCtrlName" : "list_quicktoolbar"
}, {
"eventArg" : "deuiaction1",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "list_batchtoolbar_deuiaction1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_batchtoolbar_deuiaction1"
},
"getPSViewCtrlName" : "list_batchtoolbar"
}, {
"eventArg" : "deuiaction2",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "list_batchtoolbar_deuiaction2_click",
"getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "list_batchtoolbar_deuiaction2" "id" : "Get"
}, },
"getPSViewCtrlName" : "list_batchtoolbar" "getPSAppDataEntity" : {
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "list_memo1_u37f11a8_click",
"getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "表格界面_编辑操作" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
} }
}, { }, {
"logicTrigger" : "CUSTOM", "actionName" : "Create",
"logicType" : "APPVIEWUIACTION", "actionType" : "DEACTION",
"name" : "list_memo1_uc365542_click", "dataAccessAction" : "CREATE",
"getPSAppViewUIAction" : { "name" : "create",
"getPSAppDEMethod" : {
"modelref" : true, "modelref" : true,
"id" : "表格界面_删除操作" "id" : "Create"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "list_quicktoolbar_deuiaction1",
"getPSUIAction" : {
"modelref" : true,
"id" : "New"
}, },
"xDataControlName" : "list" "getPSAppDataEntity" : {
}, {
"name" : "list_batchtoolbar_deuiaction1",
"getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Edit" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, }
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "list"
}, { }, {
"name" : "list_batchtoolbar_deuiaction2", "actionName" : "Update",
"getPSUIAction" : { "actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true, "modelref" : true,
"id" : "Remove" "id" : "Update"
}, },
"uIActionTarget" : "MULTIKEY", "getPSAppDataEntity" : {
"xDataControlName" : "list"
}, {
"name" : "表格界面_编辑操作",
"getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Edit" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, }
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "list"
}, { }, {
"name" : "表格界面_删除操作", "actionName" : "Remove",
"getPSUIAction" : { "actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true, "modelref" : true,
"id" : "Remove" "id" : "Remove"
}, },
"uIActionTarget" : "MULTIKEY",
"xDataControlName" : "list"
} ],
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
} ],
"userDRAction" : "READ",
"enableDEFieldPrivilege" : false,
"id" : "列表控件处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "ROWDBLCLICK;SELECTIONCHANGE;REMOVE;LOAD;BEFORELOAD",
"logicTag" : "list",
"logicType" : "APPVIEWENGINE",
"name" : "engine_list",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "LIST"
},
"getPSControls" : [ {
"codeName" : "Usr4ListViewlist_quicktoolbar",
"controlType" : "TOOLBAR",
"hookEventNames" : [ "CLICK" ],
"logicName" : "列表-快速操作工具栏",
"name" : "list_quicktoolbar",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, }
"getPSControlLogics" : [ {
"eventArg" : "deuiaction1",
"eventNames" : "CLICK",
"logicTag" : "list_quicktoolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "list_quicktoolbar_deuiaction1_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "list_quicktoolbar_deuiaction1_click"
}
} ],
"getPSControlParam" : {
"id" : "list_quicktoolbar"
},
"getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.NEW"
},
"caption" : "新建",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction1",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_quicktoolbar_deuiaction1"
},
"getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome",
"cssClass" : "fa fa-file-text-o"
},
"getPSUIAction" : {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.NEW"
},
"caption" : "新建",
"codeName" : "New",
"fullCodeName" : "New",
"name" : "表格界面_新建操作",
"getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome",
"cssClass" : "fa fa-file-text-o"
},
"predefinedType" : "GRIDVIEW_NEWACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.NEW"
},
"uIActionMode" : "SYS",
"uIActionTag" : "New",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "新建",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.NEW"
},
"showCaption" : true,
"showIcon" : true
} ],
"modelid" : "417d509fb75086f26c79e84b2415d4da",
"modeltype" : "PSDETOOLBAR"
}, { }, {
"codeName" : "Usr4ListViewlist_batchtoolbar", "actionType" : "DEDATASET",
"controlType" : "TOOLBAR", "name" : "fetch",
"hookEventNames" : [ "CLICK" ], "getPSAppDEMethod" : {
"logicName" : "列表-批操作工具栏",
"name" : "list_batchtoolbar",
"getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "id" : "FetchDefault"
},
"getPSControlLogics" : [ {
"eventArg" : "deuiaction1",
"eventNames" : "CLICK",
"logicTag" : "list_batchtoolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "list_batchtoolbar_deuiaction1_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "list_batchtoolbar_deuiaction1_click"
}
}, {
"eventArg" : "deuiaction2",
"eventNames" : "CLICK",
"logicTag" : "list_batchtoolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "list_batchtoolbar_deuiaction2_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "list_batchtoolbar_deuiaction2_click"
}
} ],
"getPSControlParam" : {
"id" : "list_batchtoolbar"
}, },
"getPSDEToolbarItems" : [ { "getPSAppDataEntity" : {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EDIT"
},
"caption" : "编辑",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction1",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_batchtoolbar_deuiaction1"
},
"getPSSysImage" : {
"glyph" : "xf044@FontAwesome",
"cssClass" : "fa fa-edit"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EDIT"
},
"caption" : "编辑",
"codeName" : "Edit",
"fullCodeName" : "Edit",
"name" : "表格界面_编辑操作",
"getPSSysImage" : {
"glyph" : "xf044@FontAwesome",
"cssClass" : "fa fa-edit"
},
"predefinedType" : "GRIDVIEW_EDITACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EDIT"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Edit",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "编辑",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EDIT"
},
"showCaption" : true,
"showIcon" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.REMOVE"
},
"caption" : "删除",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction2",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_batchtoolbar_deuiaction2"
},
"getPSSysImage" : {
"glyph" : "xf00d@FontAwesome",
"cssClass" : "fa fa-remove"
},
"getPSUIAction" : {
"actionTarget" : "MULTIKEY",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.REMOVE"
},
"caption" : "删除",
"codeName" : "Remove",
"fullCodeName" : "Remove",
"name" : "表格界面_删除操作",
"getPSSysImage" : {
"glyph" : "xf00d@FontAwesome",
"cssClass" : "fa fa-remove"
},
"predefinedType" : "GRIDVIEW_REMOVEACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.REMOVE"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Remove",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "删除",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.REMOVE"
},
"showCaption" : true,
"showIcon" : true
} ],
"modelid" : "2af289950f1ff781487577fd48319536",
"modeltype" : "PSDETOOLBAR"
} ],
"getPSDEDataImport" : {
"modelref" : true,
"id" : "DataImport"
},
"getPSDEListDataItems" : [ {
"dataType" : 25,
"name" : "ibizbookid"
}, {
"dataType" : 25,
"getFrontPSCodeList" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookType.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"name" : "type"
}, {
"dataType" : 25,
"name" : "press"
}, {
"dataType" : 25,
"name" : "srficon",
"getPSAppDEField" : {
"name" : "ICON",
"codeName" : "Icon"
}
}, {
"dataType" : 7,
"name" : "price"
}, {
"dataType" : 25,
"name" : "srfdate",
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
}
}, {
"dataType" : 9,
"name" : "booknumber"
}, {
"dataType" : 25,
"name" : "srfmajortext",
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
}
}, {
"dataType" : 25,
"name" : "srfdescription",
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 25,
"name" : "author"
}, {
"dataType" : 25,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
} }
}, {
"dataType" : 25,
"name" : "srfmstag"
} ], } ],
"getPSDEListItems" : [ { "userDRAction" : "READ",
"align" : "LEFT", "enableDEFieldPrivilege" : false,
"dataItemName" : "memo1", "id" : "列表控件处理器"
"itemType" : "ACTIONITEM", },
"name" : "memo1", "getPSControlLogics" : [ {
"getPSDEUIActionGroup" : { "eventNames" : "ROWDBLCLICK;SELECTIONCHANGE;REMOVE;LOAD;BEFORELOAD",
"codeName" : "mdCtrlAction", "logicTag" : "list",
"name" : "多数据部件操作列", "logicType" : "APPVIEWENGINE",
"getPSUIActionGroupDetails" : [ { "name" : "engine_list",
"detailType" : "DEUIACTION", "getPSAppViewEngine" : {
"name" : "u37f11a8",
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EDIT"
},
"caption" : "编辑",
"codeName" : "Edit",
"fullCodeName" : "Edit",
"name" : "表格界面_编辑操作",
"getPSSysImage" : {
"glyph" : "xf044@FontAwesome",
"cssClass" : "fa fa-edit"
},
"predefinedType" : "GRIDVIEW_EDITACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EDIT"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Edit",
"uIActionType" : "DEUIACTION"
},
"addSeparator" : false,
"showCaption" : true,
"showIcon" : true
}, {
"detailType" : "DEUIACTION",
"name" : "uc365542",
"getPSUIAction" : {
"actionTarget" : "MULTIKEY",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.REMOVE"
},
"caption" : "删除",
"codeName" : "Remove",
"fullCodeName" : "Remove",
"name" : "表格界面_删除操作",
"getPSSysImage" : {
"glyph" : "xf00d@FontAwesome",
"cssClass" : "fa fa-remove"
},
"predefinedType" : "GRIDVIEW_REMOVEACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.REMOVE"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Remove",
"uIActionType" : "DEUIACTION"
},
"addSeparator" : false,
"showCaption" : true,
"showIcon" : true
} ]
},
"width" : 150,
"widthString" : "150px",
"enableSort" : false
} ],
"pagingSize" : 10,
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove"
},
"getUpdatePSControlAction" : {
"modelref" : true, "modelref" : true,
"id" : "update" "id" : "engine"
}, }
"hasWFDataItems" : false, } ],
"enableGroup" : false, "getPSControlParam" : {
"enableRowEdit" : false, "autoLoad" : true,
"enableRowEditGroup" : false, "showBusyIndicator" : true,
"enableRowEditOrder" : false, "id" : "LIST"
"enableRowNew" : false, },
"noSort" : false, "getPSControls" : [ {
"showHeader" : true, "codeName" : "Usr4ListViewlist_quicktoolbar",
"name" : "list",
"modelid" : "8594b932ea501f73756410b3d22cc1ec",
"modeltype" : "PSDELIST"
}, {
"codeName" : "Usr4ListViewtoolbar",
"controlType" : "TOOLBAR", "controlType" : "TOOLBAR",
"hookEventNames" : [ "CLICK" ], "hookEventNames" : [ "CLICK" ],
"logicName" : "实体列表工具栏", "logicName" : "列表-快速操作工具栏",
"name" : "toolbar", "name" : "list_quicktoolbar",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
...@@ -1102,46 +572,16 @@ ...@@ -1102,46 +572,16 @@
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventArg" : "deuiaction1", "eventArg" : "deuiaction1",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "toolbar", "logicTag" : "list_quicktoolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction1_click", "name" : "list_quicktoolbar_deuiaction1_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_deuiaction1_click"
}
}, {
"eventArg" : "deuiaction3",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction3_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_deuiaction3_click"
}
}, {
"eventArg" : "deuiaction2",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction2_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_deuiaction2_click"
}
}, {
"eventArg" : "deuiaction4",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction4_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_deuiaction4_click" "id" : "list_quicktoolbar_deuiaction1_click"
} }
} ], } ],
"getPSControlParam" : { "getPSControlParam" : {
"id" : "TOOLBAR" "id" : "list_quicktoolbar"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -1154,7 +594,7 @@ ...@@ -1154,7 +594,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_deuiaction1" "id" : "list_quicktoolbar_deuiaction1"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome", "glyph" : "xf0f6@FontAwesome",
...@@ -1187,18 +627,55 @@ ...@@ -1187,18 +627,55 @@
}, },
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
} ],
"modelid" : "417d509fb75086f26c79e84b2415d4da",
"modeltype" : "PSDETOOLBAR"
}, {
"codeName" : "Usr4ListViewlist_batchtoolbar",
"controlType" : "TOOLBAR",
"hookEventNames" : [ "CLICK" ],
"logicName" : "列表-批操作工具栏",
"name" : "list_batchtoolbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlLogics" : [ {
"eventArg" : "deuiaction1",
"eventNames" : "CLICK",
"logicTag" : "list_batchtoolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "list_batchtoolbar_deuiaction1_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "list_batchtoolbar_deuiaction1_click"
}
}, { }, {
"eventArg" : "deuiaction2",
"eventNames" : "CLICK",
"logicTag" : "list_batchtoolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "list_batchtoolbar_deuiaction2_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "list_batchtoolbar_deuiaction2_click"
}
} ],
"getPSControlParam" : {
"id" : "list_batchtoolbar"
},
"getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EDIT" "lanResTag" : "TBB.TEXT.*.EDIT"
}, },
"caption" : "编辑", "caption" : "编辑",
"groupExtractMode" : "ITEM", "groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION", "itemType" : "DEUIACTION",
"name" : "deuiaction3", "name" : "deuiaction1",
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_deuiaction3" "id" : "list_batchtoolbar_deuiaction1"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf044@FontAwesome", "glyph" : "xf044@FontAwesome",
...@@ -1243,7 +720,7 @@ ...@@ -1243,7 +720,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_deuiaction2" "id" : "list_batchtoolbar_deuiaction2"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -1277,109 +754,418 @@ ...@@ -1277,109 +754,418 @@
}, },
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, { } ],
"modelid" : "2af289950f1ff781487577fd48319536",
"modeltype" : "PSDETOOLBAR"
} ],
"getPSDEDataImport" : {
"modelref" : true,
"id" : "DataImport"
},
"getPSDEListDataItems" : [ {
"dataType" : 25,
"name" : "ibizbookid"
}, {
"dataType" : 25,
"getFrontPSCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookType.json"
},
"name" : "type"
}, {
"dataType" : 25,
"name" : "press"
}, {
"dataType" : 25,
"name" : "srficon",
"getPSAppDEField" : {
"name" : "ICON",
"codeName" : "Icon"
}
}, {
"dataType" : 7,
"name" : "price"
}, {
"dataType" : 25,
"name" : "srfdate",
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
}
}, {
"dataType" : 9,
"name" : "booknumber"
}, {
"dataType" : 25,
"name" : "srfmajortext",
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
}
}, {
"dataType" : 25,
"name" : "srfdescription",
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 25,
"name" : "author"
}, {
"dataType" : 25,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
}
}, {
"dataType" : 25,
"name" : "srfmstag"
} ],
"getPSDEListItems" : [ {
"align" : "LEFT",
"dataItemName" : "memo1",
"itemType" : "ACTIONITEM",
"name" : "memo1",
"getPSDEUIActionGroup" : {
"codeName" : "mdCtrlAction",
"name" : "多数据部件操作列",
"getPSUIActionGroupDetails" : [ {
"detailType" : "DEUIACTION",
"name" : "u37f11a8",
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EDIT"
},
"caption" : "编辑",
"codeName" : "Edit",
"fullCodeName" : "Edit",
"name" : "表格界面_编辑操作",
"getPSSysImage" : {
"glyph" : "xf044@FontAwesome",
"cssClass" : "fa fa-edit"
},
"predefinedType" : "GRIDVIEW_EDITACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EDIT"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Edit",
"uIActionType" : "DEUIACTION"
},
"addSeparator" : false,
"showCaption" : true,
"showIcon" : true
}, {
"detailType" : "DEUIACTION",
"name" : "uc365542",
"getPSUIAction" : {
"actionTarget" : "MULTIKEY",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.REMOVE"
},
"caption" : "删除",
"codeName" : "Remove",
"fullCodeName" : "Remove",
"name" : "表格界面_删除操作",
"getPSSysImage" : {
"glyph" : "xf00d@FontAwesome",
"cssClass" : "fa fa-remove"
},
"predefinedType" : "GRIDVIEW_REMOVEACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.REMOVE"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Remove",
"uIActionType" : "DEUIACTION"
},
"addSeparator" : false,
"showCaption" : true,
"showIcon" : true
} ]
},
"width" : 150,
"widthString" : "150px",
"enableSort" : false
} ],
"pagingSize" : 10,
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove"
},
"getUpdatePSControlAction" : {
"modelref" : true,
"id" : "update"
},
"hasWFDataItems" : false,
"enableGroup" : false,
"enableRowEdit" : false,
"enableRowEditGroup" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"noSort" : false,
"showHeader" : true,
"name" : "list",
"modelid" : "8594b932ea501f73756410b3d22cc1ec",
"modeltype" : "PSDELIST"
}, {
"codeName" : "Usr4ListViewtoolbar",
"controlType" : "TOOLBAR",
"hookEventNames" : [ "CLICK" ],
"logicName" : "实体列表工具栏",
"name" : "toolbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlLogics" : [ {
"eventArg" : "deuiaction1",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction1_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_deuiaction1_click"
}
}, {
"eventArg" : "deuiaction3",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction3_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_deuiaction3_click"
}
}, {
"eventArg" : "deuiaction2",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction2_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_deuiaction2_click"
}
}, {
"eventArg" : "deuiaction4",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction4_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_deuiaction4_click"
}
} ],
"getPSControlParam" : {
"id" : "TOOLBAR"
},
"getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.NEW"
},
"caption" : "新建",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction1",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction1"
},
"getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome",
"cssClass" : "fa fa-file-text-o"
},
"getPSUIAction" : {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.NEW"
},
"caption" : "新建",
"codeName" : "New",
"fullCodeName" : "New",
"name" : "表格界面_新建操作",
"getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome",
"cssClass" : "fa fa-file-text-o"
},
"predefinedType" : "GRIDVIEW_NEWACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.NEW"
},
"uIActionMode" : "SYS",
"uIActionTag" : "New",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "新建",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.NEW"
},
"showCaption" : true,
"showIcon" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EDIT"
},
"caption" : "编辑",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction3",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction3"
},
"getPSSysImage" : {
"glyph" : "xf044@FontAwesome",
"cssClass" : "fa fa-edit"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EDIT"
},
"caption" : "编辑",
"codeName" : "Edit",
"fullCodeName" : "Edit",
"name" : "表格界面_编辑操作",
"getPSSysImage" : {
"glyph" : "xf044@FontAwesome",
"cssClass" : "fa fa-edit"
},
"predefinedType" : "GRIDVIEW_EDITACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EDIT"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Edit",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "编辑",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EDIT"
},
"showCaption" : true,
"showIcon" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.REMOVE"
},
"caption" : "删除",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction2",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction2"
},
"getPSSysImage" : {
"glyph" : "xf00d@FontAwesome",
"cssClass" : "fa fa-remove"
},
"getPSUIAction" : {
"actionTarget" : "MULTIKEY",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.REMOVE"
},
"caption" : "删除",
"codeName" : "Remove",
"fullCodeName" : "Remove",
"name" : "表格界面_删除操作",
"getPSSysImage" : {
"glyph" : "xf00d@FontAwesome",
"cssClass" : "fa fa-remove"
},
"predefinedType" : "GRIDVIEW_REMOVEACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.REMOVE"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Remove",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "删除",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.REMOVE"
},
"showCaption" : true,
"showIcon" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.FILTER"
},
"caption" : "过滤",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction4",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction4"
},
"getPSSysImage" : {
"glyph" : "xf0b0@FontAwesome",
"cssClass" : "fa fa-filter"
},
"getPSUIAction" : {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.FILTER" "lanResTag" : "TBB.TEXT.*.FILTER"
}, },
"caption" : "过滤", "caption" : "过滤",
"groupExtractMode" : "ITEM", "codeName" : "ToggleFilter",
"itemType" : "DEUIACTION", "fullCodeName" : "ToggleFilter",
"name" : "deuiaction4", "name" : "表格界面_搜索栏",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction4"
},
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf0b0@FontAwesome", "glyph" : "xf0b0@FontAwesome",
"cssClass" : "fa fa-filter" "cssClass" : "fa fa-filter"
}, },
"getPSUIAction" : { "predefinedType" : "GRIDVIEW_SEARCHBAR",
"getCapPSLanguageRes" : { "timeout" : 60000,
"lanResTag" : "TBB.TEXT.*.FILTER"
},
"caption" : "过滤",
"codeName" : "ToggleFilter",
"fullCodeName" : "ToggleFilter",
"name" : "表格界面_搜索栏",
"getPSSysImage" : {
"glyph" : "xf0b0@FontAwesome",
"cssClass" : "fa fa-filter"
},
"predefinedType" : "GRIDVIEW_SEARCHBAR",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.FILTER"
},
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleFilter",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"tooltip" : "过滤",
"getTooltipPSLanguageRes" : { "getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.FILTER" "lanResTag" : "TBB.TOOLTIP.*.FILTER"
}, },
"enableToggleMode" : true, "uIActionMode" : "SYS",
"showCaption" : true, "uIActionTag" : "ToggleFilter",
"showIcon" : true "uIActionType" : "DEUIACTION",
} ], "enableToggleMode" : true
"modelid" : "86d87068d8256316499b9c87ff0783e2",
"modeltype" : "PSDETOOLBAR"
}, {
"controlType" : "SEARCHBAR",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSSEARCHBARS/.json",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSControlParam" : { "tooltip" : "过滤",
"id" : "searchbar" "getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.FILTER"
}, },
"getPSSearchBarGroups" : [ { "enableToggleMode" : true,
"caption" : "全部", "showCaption" : true,
"itemType" : "GROUP", "showIcon" : true
"name" : "all", } ],
"width" : 0.0, "modelid" : "86d87068d8256316499b9c87ff0783e2",
"addSeparator" : false "modeltype" : "PSDETOOLBAR"
}, { } ],
"caption" : "已上架", "getPSDEViewCodeName" : "Usr4ListView",
"data" : "{\"n_sailstate_eq\":400}", "getPSDEViewId" : "683208b861f0c5ca5b8bada5df9dd67f",
"itemType" : "GROUP", "getPSViewLayoutPanel" : {
"name" : "onshelf", "codeName" : "Layoutpanel",
"width" : 0.0, "controlStyle" : "APPDELISTVIEW",
"addSeparator" : false "controlType" : "VIEWLAYOUTPANEL",
}, { "name" : "layoutpanel",
"caption" : "未上架", "getPSAppDataEntity" : {
"data" : "{\"n_sailstate_eq\":300}", "modelref" : true,
"itemType" : "GROUP", "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
"name" : "noshelf", },
"width" : 0.0, "getPSControlParam" : { },
"addSeparator" : false "layoutBodyOnly" : true,
}, { "layoutPanel" : true,
"caption" : "未出版", "useDefaultLayout" : true
"data" : "{\"n_sailstate_eq\":100}",
"itemType" : "GROUP",
"name" : "nopublish",
"width" : 0.0,
"addSeparator" : false
}, {
"caption" : "等待出版",
"data" : "{\"n_sailstate_eq\":200}",
"itemType" : "GROUP",
"name" : "waitpublish",
"width" : 0.0,
"addSeparator" : false
} ],
"quickGroupCount" : 3,
"quickSearchMode" : 1,
"quickSearchWidth" : 0,
"enableFilter" : false,
"enableGroup" : true,
"enableQuickSearch" : true,
"mobileSearchBar" : false,
"name" : "searchbar"
} ]
}, },
"getQuickGroupPSCodeList" : { "getQuickGroupPSCodeList" : {
"modelref" : true, "modelref" : true,
......
...@@ -300,109 +300,18 @@ ...@@ -300,109 +300,18 @@
"getPSDEViewCodeName" : "GanttView", "getPSDEViewCodeName" : "GanttView",
"getPSDEViewId" : "c3ddd155476e8daf26399772541b4789", "getPSDEViewId" : "c3ddd155476e8daf26399772541b4789",
"getPSViewLayoutPanel" : { "getPSViewLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "view_pagecaption"
} ],
"codeName" : "Layoutpanel", "codeName" : "Layoutpanel",
"controlStyle" : "APPDEGANTTVIEW",
"controlType" : "VIEWLAYOUTPANEL", "controlType" : "VIEWLAYOUTPANEL",
"layoutMode" : "TABLE_24COL",
"logicName" : "甘特视图",
"name" : "layoutpanel", "name" : "layoutpanel",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
}, },
"getPSControlParam" : { }, "getPSControlParam" : { },
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "page_container",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "栅格容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_grid1",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : 12,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "页面标题",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "view_pagecaption",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "view_pagecaption",
"predefinedType" : "VIEW_PAGECAPTION",
"renderMode" : "HEADING1",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "SIMPLEFLEX"
},
"hidden" : false,
"showCaption" : false
} ]
} ]
}, {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "甘特部件",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "gantt",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"showCaption" : true
} ]
} ]
} ],
"layoutBodyOnly" : true, "layoutBodyOnly" : true,
"layoutPanel" : true, "layoutPanel" : true,
"useDefaultLayout" : false, "useDefaultLayout" : true
"modelid" : "3CF2CD83-FDEC-40C2-9FE7-AC4494127B7D",
"modeltype" : "PSSYSVIEWLAYOUTPANEL"
}, },
"title" : "实体甘特视图", "title" : "实体甘特视图",
"viewStyle" : "DEFAULT", "viewStyle" : "DEFAULT",
......
...@@ -302,132 +302,18 @@ ...@@ -302,132 +302,18 @@
"getPSDEViewCodeName" : "TreeGridExView", "getPSDEViewCodeName" : "TreeGridExView",
"getPSDEViewId" : "7e09ce460d099683184b57a8dc174e85", "getPSDEViewId" : "7e09ce460d099683184b57a8dc174e85",
"getPSViewLayoutPanel" : { "getPSViewLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "view_pagecaption"
} ],
"codeName" : "Layoutpanel", "codeName" : "Layoutpanel",
"controlStyle" : "APPDETREEGRIDEXVIEW",
"controlType" : "VIEWLAYOUTPANEL", "controlType" : "VIEWLAYOUTPANEL",
"layoutMode" : "TABLE_24COL",
"logicName" : "树表格视图",
"name" : "layoutpanel", "name" : "layoutpanel",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
}, },
"getPSControlParam" : { }, "getPSControlParam" : { },
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "page_container",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "栅格容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_grid1",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : 3,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "页面标题",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "view_pagecaption",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "view_pagecaption",
"predefinedType" : "VIEW_PAGECAPTION",
"renderMode" : "HEADING1",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "SIMPLEFLEX"
},
"hidden" : false,
"showCaption" : false
} ]
}, {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : 9,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "工具栏",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "toolbar",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "SIMPLEFLEX"
},
"showCaption" : true
} ]
} ]
}, {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container3",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "树表格部件",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "treegridex",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"showCaption" : true
} ]
} ]
} ],
"layoutBodyOnly" : true, "layoutBodyOnly" : true,
"layoutPanel" : true, "layoutPanel" : true,
"useDefaultLayout" : false, "useDefaultLayout" : true
"modelid" : "A45D1A7D-16A4-4752-A7AA-2C4AA8C04256",
"modeltype" : "PSSYSVIEWLAYOUTPANEL"
}, },
"title" : "实体树表格视图(增强)", "title" : "实体树表格视图(增强)",
"viewStyle" : "DEFAULT", "viewStyle" : "DEFAULT",
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-156-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-166-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>
...@@ -340,7 +340,7 @@ ...@@ -340,7 +340,7 @@
<!--输出实体[IBIZORDER]数据结构 --> <!--输出实体[IBIZORDER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-180-14"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-191-14">
<createTable tableName="T_IBIZORDER"> <createTable tableName="T_IBIZORDER">
<column name="TP" remarks="" type="TEXT(1048576)"> <column name="TP" remarks="" type="TEXT(1048576)">
</column> </column>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-180-8" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-191-8" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDER"> <createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDER">
<![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]> <![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]>
</createView> </createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册