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

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

上级 d81f4afd
<template> <template>
<div :class="curClassName" :style="curStyle"> <div :class="curClassName" :style="curStyle">
<i-button @click="handleClick" :disabled="disabled" :title="curTooltip" :type="buttonType"> <i-button @click="handleClick" :disabled="disabled" :title="tooltip" :type="buttonType">
<div :class="['button-content', iconAlign.toLowerCase()]"> <div :class="['button-content', iconAlign.toLowerCase()]">
<span v-if="cssClass || imagePath" class="icon"> <span v-if="cssClass || imagePath" class="icon">
<i v-if="cssClass" :class="cssClass" /> <i v-if="cssClass" :class="cssClass" />
<img v-else :src="imagePath" /> <img v-else :src="imagePath" />
</span> </span>
<span v-if="showCaption" class="caption">{{ curCaption }}</span> <span v-if="showCaption" class="caption">{{ caption }}</span>
</div> </div>
</i-button> </i-button>
</div> </div>
...@@ -27,20 +27,26 @@ export default class AppLoginButton extends Vue { ...@@ -27,20 +27,26 @@ export default class AppLoginButton extends Vue {
@Prop() public name!: string; @Prop() public name!: string;
/** /**
* 模型 * 显示提示
* *
* @type {any}
* @memberof AppLoginButton * @memberof AppLoginButton
*/ */
@Prop() public layoutModelDetails: any; @Prop() public tooltip?: string;
/** /**
* 类型 * 标题
* *
* @type {string}
* @memberof AppLoginButton * @memberof AppLoginButton
*/ */
@Prop() public defaultStyle?: string; @Prop() public caption?: string;
/**
* 模型
*
* @type {any}
* @memberof AppLoginButton
*/
@Prop() public layoutModelDetails: any;
/** /**
* 加载状态 * 加载状态
...@@ -67,30 +73,6 @@ export default class AppLoginButton extends Vue { ...@@ -67,30 +73,6 @@ export default class AppLoginButton extends Vue {
return this.index ? `${this.name}_${this.index}` : this.name; return this.index ? `${this.name}_${this.index}` : this.name;
} }
/**
* 标题
*
* @memberof AppLoginButton
*/
get curCaption() {
const layoutModel = this.layoutModelDetails[this.itemName];
if (layoutModel) {
return layoutModel.caption;
}
}
/**
* 提示信息
*
* @memberof AppLoginButton
*/
get curTooltip() {
const layoutModel = this.layoutModelDetails[this.itemName];
if (layoutModel) {
return layoutModel.tooltip;
}
}
/** /**
* 显示标题 * 显示标题
* *
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
fetchAction="FetchDefault" fetchAction="FetchDefault"
name="grid" name="grid"
ref='grid' ref='grid'
@打印选中数据="grid_打印选中数据($event)" @onselectionchange="grid_onselectionchange($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_grid> </view_grid>
</app-ctrl-pos> </app-ctrl-pos>
...@@ -865,13 +865,13 @@ export default class IBIZBOOKCustomView_layoutBase extends Vue { ...@@ -865,13 +865,13 @@ export default class IBIZBOOKCustomView_layoutBase extends Vue {
/** /**
* grid 部件 打印选中数据 事件 * grid 部件 onselectionchange 事件
* *
* @param {*} [args={}] * @param {*} [args={}]
* @param {*} $event * @param {*} $event
* @memberof IBIZBOOKCustomView_layoutBase * @memberof IBIZBOOKCustomView_layoutBase
*/ */
public grid_打印选中数据($event: any, $event2?: any) { public grid_onselectionchange($event: any, $event2?: any) {
this.printSelection($event, '', $event2); this.printSelection($event, '', $event2);
} }
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
fetchAction="FetchDefault" fetchAction="FetchDefault"
name="grid" name="grid"
ref='grid' ref='grid'
@打印选中数据="grid_打印选中数据($event)"
@onselectionchange="grid_onselectionchange($event)" @onselectionchange="grid_onselectionchange($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_grid> </view_grid>
...@@ -870,18 +869,6 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue { ...@@ -870,18 +869,6 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue {
} }
/**
* grid 部件 打印选中数据 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKGridLoadCustomViewBase
*/
public grid_打印选中数据($event: any, $event2?: any) {
this.printSelection($event, '', $event2);
}
/** /**
* grid 部件 onselectionchange 事件 * grid 部件 onselectionchange 事件
* *
...@@ -890,6 +877,7 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue { ...@@ -890,6 +877,7 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue {
* @memberof IBIZBOOKGridLoadCustomViewBase * @memberof IBIZBOOKGridLoadCustomViewBase
*/ */
public grid_onselectionchange($event: any, $event2?: any) { public grid_onselectionchange($event: any, $event2?: any) {
this.printSelection($event, '', $event2);
this.GRIDSELECTIONCHANGE($event, '', $event2); this.GRIDSELECTIONCHANGE($event, '', $event2);
} }
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
fetchAction="FetchDefault" fetchAction="FetchDefault"
name="meditviewpanel" name="meditviewpanel"
ref='meditviewpanel' ref='meditviewpanel'
@打印选中数据="meditviewpanel_打印选中数据($event)" @onselectionchange="meditviewpanel_onselectionchange($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_meditviewpanel> </view_meditviewpanel>
</div> </div>
...@@ -624,13 +624,13 @@ export default class IBIZBOOKMEditView9Base extends Vue { ...@@ -624,13 +624,13 @@ export default class IBIZBOOKMEditView9Base extends Vue {
/** /**
* meditviewpanel 部件 打印选中数据 事件 * meditviewpanel 部件 onselectionchange 事件
* *
* @param {*} [args={}] * @param {*} [args={}]
* @param {*} $event * @param {*} $event
* @memberof IBIZBOOKMEditView9Base * @memberof IBIZBOOKMEditView9Base
*/ */
public meditviewpanel_打印选中数据($event: any, $event2?: any) { public meditviewpanel_onselectionchange($event: any, $event2?: any) {
this.printSelection($event, '', $event2); this.printSelection($event, '', $event2);
} }
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
fetchAction="FetchDefault" fetchAction="FetchDefault"
name="meditviewpanel" name="meditviewpanel"
ref='meditviewpanel' ref='meditviewpanel'
@打印选中数据="meditviewpanel_打印选中数据($event)" @onselectionchange="meditviewpanel_onselectionchange($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_meditviewpanel> </view_meditviewpanel>
</app-ctrl-pos> </app-ctrl-pos>
...@@ -838,13 +838,13 @@ export default class IBIZBOOKUsr2MEditView9_layoutBase extends Vue { ...@@ -838,13 +838,13 @@ export default class IBIZBOOKUsr2MEditView9_layoutBase extends Vue {
/** /**
* meditviewpanel 部件 打印选中数据 事件 * meditviewpanel 部件 onselectionchange 事件
* *
* @param {*} [args={}] * @param {*} [args={}]
* @param {*} $event * @param {*} $event
* @memberof IBIZBOOKUsr2MEditView9_layoutBase * @memberof IBIZBOOKUsr2MEditView9_layoutBase
*/ */
public meditviewpanel_打印选中数据($event: any, $event2?: any) { public meditviewpanel_onselectionchange($event: any, $event2?: any) {
this.printSelection($event, '', $event2); this.printSelection($event, '', $event2);
} }
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
fetchAction="FetchDefault" fetchAction="FetchDefault"
name="meditviewpanel" name="meditviewpanel"
ref='meditviewpanel' ref='meditviewpanel'
@打印选中数据="meditviewpanel_打印选中数据($event)" @onselectionchange="meditviewpanel_onselectionchange($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_meditviewpanel> </view_meditviewpanel>
</div> </div>
...@@ -624,13 +624,13 @@ export default class IBIZBOOKUsr2MEditView9Base extends Vue { ...@@ -624,13 +624,13 @@ export default class IBIZBOOKUsr2MEditView9Base extends Vue {
/** /**
* meditviewpanel 部件 打印选中数据 事件 * meditviewpanel 部件 onselectionchange 事件
* *
* @param {*} [args={}] * @param {*} [args={}]
* @param {*} $event * @param {*} $event
* @memberof IBIZBOOKUsr2MEditView9Base * @memberof IBIZBOOKUsr2MEditView9Base
*/ */
public meditviewpanel_打印选中数据($event: any, $event2?: any) { public meditviewpanel_onselectionchange($event: any, $event2?: any) {
this.printSelection($event, '', $event2); this.printSelection($event, '', $event2);
} }
......
<template> <template>
<div class="app-view-layout app-view-layout__degridview ibizuniproduct-sgrid-view-layout" v-loading="isLayoutLoadding" :style="{height: '100%', width: '100%','display': 'flex', 'flex-direction': 'column'}"> <div class='view-container degridview ibizuniproduct-sgrid-view-layout'>
<template v-show="!isLayoutLoadding"> <app-studioaction :viewTitle="$t(model.srfCaption)" viewName="ibizuniproductsgridview_layout"></app-studioaction>
<app-standard-container name="page_container" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails"> <card class='view-card view-no-caption' :dis-hover="true" :bordered="false">
<template #container_grid1> <div class='view-top-messages'>
<app-simpleflex-container name="container_grid1" :layoutModelDetails="layoutModelDetails"> <app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup51' viewname='ibizuniproductsgridview_layout'></app-alert-group> </div>
<template #container1> <div class='content-container'>
<app-simpleflex-container name="container1" :layoutModelDetails="layoutModelDetails"> <div style='margin-bottom: 6px;'>
<template #view_pagecaption> <i-input v-show="!isExpandSearchForm" v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;padding-left: 24px' placeholder="产品名称" />
<app-preset-caption name="view_pagecaption" :layoutModelDetails="layoutModelDetails"> 索引选择视图 </app-preset-caption> <div class='pull-right'>
</template> <div class='toolbar-container'>
</app-simpleflex-container> <tooltip :transfer="true" :max-width="600">
</template> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<template #container2> <i class='fa fa-file-text-o'></i>
<app-simpleflex-container name="container2" :layoutModelDetails="layoutModelDetails"> <span class='caption'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem3.caption')}}</span>
<template #quicksearchbar> </i-button>
<app-ctrl-pos name="quicksearchbar" :layoutModelDetails="layoutModelDetails"> <div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem3.tip')}}</div>
<i-input v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;' placeholder="产品名称" /> </tooltip>
</app-ctrl-pos> <tooltip :transfer="true" :max-width="600">
</template> <i-button v-show="toolBarModels.deuiaction2.visabled" :disabled="toolBarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'deuiaction2' }, $event)">
</app-simpleflex-container> <i class='fa fa-save'></i>
</template> <span class='caption'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.deuiaction2.caption')}}</span>
<template #container_2> </i-button>
<app-simpleflex-container name="container_2" :layoutModelDetails="layoutModelDetails"> <div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.deuiaction2.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.tbitem4.visabled" :disabled="toolBarModels.tbitem4.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem4' }, $event)">
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <span class='caption'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem4.caption')}}</span>
<i class='fa fa-file-text-o'></i> </i-button>
<span class='caption'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem3.caption')}}</span> <div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem4.tip')}}</div>
</i-button> </tooltip>
<div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem3.tip')}}</div> <tooltip :transfer="true" :max-width="600">
</tooltip> <i-button v-show="toolBarModels.tbitem6.visabled" :disabled="toolBarModels.tbitem6.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem6' }, $event)">
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction2.visabled" :disabled="toolBarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'deuiaction2' }, $event)"> <span class='caption'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem6.caption')}}</span>
<i class='fa fa-save'></i> </i-button>
<span class='caption'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.deuiaction2.caption')}}</span> <div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem6.tip')}}</div>
</i-button> </tooltip>
<div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.deuiaction2.tip')}}</div> <tooltip :transfer="true" :max-width="600">
</tooltip> <i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<tooltip :transfer="true" :max-width="600"> <i class='fa fa-filter'></i>
<i-button v-show="toolBarModels.tbitem4.visabled" :disabled="toolBarModels.tbitem4.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem4' }, $event)"> <span class='caption'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<span class='caption'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem4.caption')}}</span> <div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.deuiaction3.tip')}}</div>
</i-button> </tooltip>
<div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem4.tip')}}</div> <span class='seperator'>|</span>
</tooltip> <tooltip :transfer="true" :max-width="600">
<tooltip :transfer="true" :max-width="600"> <i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem8' }, $event)">
<i-button v-show="toolBarModels.tbitem6.visabled" :disabled="toolBarModels.tbitem6.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem6' }, $event)">
<span class='caption'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem8.caption')}}</span>
<span class='caption'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem6.caption')}}</span> </i-button>
</i-button> <div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem8.tip')}}</div>
<div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem6.tip')}}</div> </tooltip>
</tooltip> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'deuiaction3' }, $event)"> <app-export-excel :item="toolBarModels.tbitem13" :caption="$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem13.caption')" @exportexcel="toolbar_click({ tag: 'tbitem13' }, $event)"></app-export-excel>
<i class='fa fa-filter'></i> <div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem13.tip')}}</div>
<span class='caption'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.deuiaction3.caption')}}</span> </tooltip>
</i-button> <tooltip :transfer="true" :max-width="600">
<div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.deuiaction3.tip')}}</div> <i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
</tooltip> <i class='fa fa-upload'></i>
<span class='seperator'>|</span> <span class='caption'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.deuiaction1.caption')}}</span>
<tooltip :transfer="true" :max-width="600"> </i-button>
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem8' }, $event)"> <div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<span class='caption'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem8.caption')}}</span> <span class='seperator'>|</span>
</i-button> <dropdown v-show="toolBarModels.tbitem16.visabled" trigger='click'>
<div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem8.tip')}}</div> <tooltip :transfer="true" :max-width="600">
</tooltip> <i-button class=''>
<span class='seperator'>|</span> <i class=''></i>
<tooltip :transfer="true" :max-width="600"> <span class='caption'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem16.caption')}}</span>
<app-export-excel :item="toolBarModels.tbitem13" :caption="$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem13.caption')" @exportexcel="toolbar_click({ tag: 'tbitem13' }, $event)"></app-export-excel> <icon type="ios-arrow-down"></icon>
<div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem13.tip')}}</div> </i-button>
</tooltip> <div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem16.tip')}}</div>
<tooltip :transfer="true" :max-width="600"> </tooltip>
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)"> <dropdown-menu slot='list'>
<i class='fa fa-upload'></i> <dropdown-item>
<span class='caption'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.deuiaction1.caption')}}</span> <tooltip :transfer="true" :max-width="600">
</i-button> <i-button v-show="toolBarModels.tbitem21.visabled" :disabled="toolBarModels.tbitem21.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem21' }, $event)">
<div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.deuiaction1.tip')}}</div> <i class='fa fa-download'></i>
</tooltip> <span class='caption'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem21.caption')}}</span>
<span class='seperator'>|</span> </i-button>
<dropdown v-show="toolBarModels.tbitem16.visabled" trigger='click'> <div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem21.tip')}}</div>
<tooltip :transfer="true" :max-width="600"> </tooltip>
<i-button class=''>
<i class=''></i>
<span class='caption'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem16.caption')}}</span> </dropdown-item>
<icon type="ios-arrow-down"></icon> <dropdown-item>
</i-button> <tooltip :transfer="true" :max-width="600">
<div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem16.tip')}}</div> <i-button v-show="toolBarModels.tbitem23.visabled" :disabled="toolBarModels.tbitem23.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem23' }, $event)">
</tooltip> <i class='fa fa-upload'></i>
<dropdown-menu slot='list'> <span class='caption'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem23.caption')}}</span>
<dropdown-item> </i-button>
<tooltip :transfer="true" :max-width="600"> <div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem23.tip')}}</div>
<i-button v-show="toolBarModels.tbitem21.visabled" :disabled="toolBarModels.tbitem21.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem21' }, $event)"> </tooltip>
<i class='fa fa-download'></i>
<span class='caption'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem21.caption')}}</span>
</i-button> </dropdown-item>
<div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem21.tip')}}</div> </dropdown-menu>
</tooltip> </dropdown>
</div>
</div>
</dropdown-item> </div>
<dropdown-item> <view_searchform
<tooltip :transfer="true" :max-width="600"> :viewState="viewState"
<i-button v-show="toolBarModels.tbitem23.visabled" :disabled="toolBarModels.tbitem23.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem23' }, $event)"> :viewparams="viewparams"
<i class='fa fa-upload'></i> :context="context"
<span class='caption'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem23.caption')}}</span> :viewCtx="viewCtx"
</i-button> :showBusyIndicator="true"
<div slot='content'>{{$t('entities.ibizuniproduct.sgridview_layouttoolbar_toolbar.tbitem23.tip')}}</div> v-show="isExpandSearchForm"
</tooltip> loaddraftAction="FilterGetDraft"
loadAction="FilterGet"
</dropdown-item> name="searchform"
</dropdown-menu> ref='searchform'
</dropdown> @search="searchform_search($event)"
@load="searchform_load($event)"
@save="searchform_save($event)"
@closeview="closeView($event)">
</view_searchform>
<view_grid
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:viewCtx="viewCtx"
:isSingleSelect="isSingleSelect"
:showBusyIndicator="true"
:isOpenEdit="false"
:gridRowActiveMode="gridRowActiveMode"
:isformDruipart="isformDruipart"
@save="onSave"
updateAction=""
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
fetchAction="FetchDefault"
:newdata="newdata"
:opendata="opendata"
name="grid"
ref='grid'
@rowdblclick="grid_rowdblclick($event)"
@selectionchange="grid_selectionchange($event)"
@remove="grid_remove($event)"
@load="grid_load($event)"
@beforeload="grid_beforeload($event)"
@closeview="closeView($event)">
</view_grid>
</div>
</card>
</div> </div>
</app-ctrl-pos>
</template>
</app-simpleflex-container>
</template>
</app-simpleflex-container>
</template>
<template #container4>
<app-standard-container name="container4" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #searchform>
<app-ctrl-pos name="searchform" :layoutModelDetails="layoutModelDetails">
<view_searchform
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:viewCtx="viewCtx"
: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 #grid>
<app-ctrl-pos name="grid" :layoutModelDetails="layoutModelDetails">
<view_grid
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:viewCtx="viewCtx"
:isSingleSelect="isSingleSelect"
:showBusyIndicator="true"
:isOpenEdit="false"
:gridRowActiveMode="gridRowActiveMode"
:isformDruipart="isformDruipart"
@save="onSave"
updateAction=""
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
fetchAction="FetchDefault"
:newdata="newdata"
:opendata="opendata"
name="grid"
ref='grid'
@rowdblclick="grid_rowdblclick($event)"
@selectionchange="grid_selectionchange($event)"
@remove="grid_remove($event)"
@load="grid_load($event)"
@beforeload="grid_beforeload($event)"
@closeview="closeView($event)">
</view_grid>
</app-ctrl-pos>
</template>
</app-standard-container>
</template>
</app-standard-container>
</template>
</div>
</template> </template>
...@@ -196,7 +165,6 @@ import IBIZUNIProductAuthService from '@/authservice/ibizuniproduct/ibizuniprodu ...@@ -196,7 +165,6 @@ import IBIZUNIProductAuthService from '@/authservice/ibizuniproduct/ibizuniprodu
import GridViewEngine from '@engine/view/grid-view-engine'; import GridViewEngine from '@engine/view/grid-view-engine';
import IBIZUNIProductUIService from '@/uiservice/ibizuniproduct/ibizuniproduct-ui-service'; import IBIZUNIProductUIService from '@/uiservice/ibizuniproduct/ibizuniproduct-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";
...@@ -366,7 +334,6 @@ export default class IBIZUNIProductSGridView_layoutBase extends Vue { ...@@ -366,7 +334,6 @@ export default class IBIZUNIProductSGridView_layoutBase extends Vue {
view_searchform: { name: 'searchform', type: 'SEARCHFORM' }, view_searchform: { name: 'searchform', type: 'SEARCHFORM' },
view_toolbar: { name: 'toolbar', type: 'TOOLBAR' }, view_toolbar: { name: 'toolbar', type: 'TOOLBAR' },
view_grid: { name: 'grid', type: 'GRID' }, view_grid: { name: 'grid', type: 'GRID' },
view_searchbar: { name: 'searchbar', type: 'SEARCHBAR' },
}; };
/** /**
...@@ -449,214 +416,6 @@ export default class IBIZUNIProductSGridView_layoutBase extends Vue { ...@@ -449,214 +416,6 @@ export default class IBIZUNIProductSGridView_layoutBase extends Vue {
}; };
/**
* 视图布局顶级成员名称
*
* @public
* @memberof IBIZUNIProductSGridView_layoutBase
*/
public rootLayoutDetailNames: string[] = [ 'page_container' ];
/**
* 视图布局面板项模型对象
*
* @public
* @memberof IBIZUNIProductSGridView_layoutBase
*/
public layoutItems:any = {
view_pagecaption:{ name: 'view_pagecaption', type: 'VIEWLAYOUT', caption: '页面标题', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'FULL', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'LEFT', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: 'VIEW_PAGECAPTION', renderMode: 'HEADING1', dataItemName:'', wrapMode:'', vAlign:'', hAlign:'', },
container1:{ name: 'container1', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:6, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid1', panel: this , details:['view_pagecaption'] , dataRegionType: 'INHERIT' },
quicksearchbar:{ name: 'quicksearchbar', type: 'VIEWLAYOUT', 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', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:3, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid1', panel: this , details:['quicksearchbar'] , dataRegionType: 'INHERIT' },
toolbar:{ name: 'toolbar', type: 'VIEWLAYOUT', caption: 'TOOLBAR', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'RIGHT', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_2', panel: this },
container_2:{ name: 'container_2', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid1', panel: this , details:['toolbar'] , dataRegionType: 'INHERIT' },
container_grid1:{ name: 'container_grid1', type: 'VIEWLAYOUT', caption: '栅格容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'page_container', panel: this , details:['container1','container2','container_2'] , dataRegionType: 'INHERIT' },
searchform:{ name: 'searchform', type: 'VIEWLAYOUT', 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 },
grid:{ name: 'grid', type: 'VIEWLAYOUT', caption: 'GRID', 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', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:100, heightMode:'PERCENTAGE', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'page_container', panel: this , details:['searchform','grid'] , dataRegionType: 'INHERIT' },
page_container:{ name: 'page_container', type: 'VIEWLAYOUT', caption: '', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'column',vAlign:''}, panel: this , details:['container_grid1','container4'] , dataRegionType: 'INHERIT' }
};
/**
* 视图布局是否加载
*
* @public
* @memberof IBIZUNIProductSGridView_layoutBase
*/
public isLayoutLoadding: boolean = true;
/**
* 视图布局数据
*
* @public
* @memberof IBIZUNIProductSGridView_layoutBase
*/
public layoutData:any = {};
/**
* 视图布局面板模型对象
*
* @public
* @memberof IBIZUNIProductSGridView_layoutBase
*/
public layoutModelDetails:any = {};
/**
* 初始化布局
*
* @public
* @memberof IBIZUNIProductSGridView_layoutBase
*/
public async initLayout() {
if (this.rootLayoutDetailNames.length > 0) {
for (let i = 0; i < this.rootLayoutDetailNames.length; i++) {
const name = this.rootLayoutDetailNames[i];
const rootItem = this.layoutItems[name];
if (!rootItem) {
return;
}
await this.initLayoutItem(rootItem);
}
}
return true;
}
/**
* 初始化布局项
*
* @public
* @memberof IBIZUNIProductSGridView_layoutBase
*/
public async initLayoutItem(layoutModelItem: any, index: number = 0) {
const { name } = layoutModelItem;
const layoutModelDetail = Util.getLayoutItemInstance(layoutModelItem);
if (!index) {
await layoutModelDetail.load(this.context, this.viewparams);
this.$set(this.layoutModelDetails, name, layoutModelDetail);
this.$set(this.layoutData, name, layoutModelDetail.getData());
} else {
layoutModelDetail.setIndex(index);
await layoutModelDetail.load(this.context, this.viewparams);
this.$set(this.layoutModelDetails, `${name}_${index}`, layoutModelDetail);
this.$set(this.layoutData, `${name}_${index}`, layoutModelDetail.getData());
}
if (layoutModelDetail && layoutModelDetail.details) {
if (layoutModelDetail.dataRegionType === 'MULTIDATA') {
const multiData = layoutModelDetail.getData();
if (multiData && multiData.length > 0) {
for (let i = 0; i < multiData.length; i++) {
for (let j = 0; j < layoutModelDetail.details.length; j++) {
const key = layoutModelDetail.details[j];
if (this.layoutItems[key]) {
await this.initLayoutItem(this.layoutItems[key], i);
}
}
}
}
} else {
for (let i = 0; i < layoutModelDetail.details.length; i++) {
const key = layoutModelDetail.details[i];
if (this.layoutItems[key]) {
await this.initLayoutItem(this.layoutItems[key],index);
}
}
}
}
}
/**
* 处理值改变
*
* @public
* @memberof IBIZUNIProductSGridView_layoutBase
*/
public handleValueChange(args: { name: string, value: any }) {
if (!args || !args.name || Object.is(args.name, '') || !this.layoutData.hasOwnProperty(args.name)) {
return;
}
const {name,value} = args;
this.layoutData[name] = value;
this.layoutModelDetails[name].setData(value);
this.panelLogic(name);
}
/**
* 面板逻辑
*
* @public
* @memberof IBIZUNIProductSGridView_layoutBase
*/
public panelLogic(name: string): void {
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZUNIProductSGridView_layoutBase
*/
public getButtonXData(name: string): any {
let xData = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.parentName) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData) {
const xDataControlName = "grid";
let xDataControl = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name.toLowerCase() == xDataControlName.toLowerCase()) {
xDataControl = layoutModel;
return
}
})
xData = xDataControl;
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
* @public
* @memberof IBIZUNIProductSGridView_layoutBase
*/
public handleButtonClick(name: string, $event?: any) {
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
...@@ -1045,14 +804,11 @@ export default class IBIZUNIProductSGridView_layoutBase extends Vue { ...@@ -1045,14 +804,11 @@ export default class IBIZUNIProductSGridView_layoutBase extends Vue {
*/ */
public afterMounted(){ public afterMounted(){
const _this: any = this; const _this: any = this;
_this.initLayout().then((result: any) => { _this.engineInit();
_this.isLayoutLoadding = false;
_this.engineInit();
if (_this.loadModel && _this.loadModel instanceof Function) { if (_this.loadModel && _this.loadModel instanceof Function) {
_this.loadModel(); _this.loadModel();
} }
})
} }
......
.ibizuniproduct-sgrid-view-layout { .ibizuniproduct-sgrid-view-layout{
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;}
...@@ -4,12 +4,10 @@ import IBIZUNIProductSGridView_layoutBase from './ibizuniproduct-sgrid-view-layo ...@@ -4,12 +4,10 @@ import IBIZUNIProductSGridView_layoutBase from './ibizuniproduct-sgrid-view-layo
import view_searchform from '@widgets/ibizuniproduct/default-searchform/default-searchform.vue'; import view_searchform from '@widgets/ibizuniproduct/default-searchform/default-searchform.vue';
import view_grid from '@widgets/ibizuniproduct/main-grid/main-grid.vue'; import view_grid from '@widgets/ibizuniproduct/main-grid/main-grid.vue';
import view_searchbar from '@widgets/ibizuniproduct/-searchbar/-searchbar.vue';
@Component({ @Component({
components: { components: {
view_searchform, view_searchform,
view_grid, view_grid,
view_searchbar,
}, },
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
......
...@@ -353,10 +353,10 @@ export const viewstate: any = { ...@@ -353,10 +353,10 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'0f3e6e5a5ba4b40182153ee4f93f3f7e',
'79abf62d7cac6f35c896f412b124956f', '79abf62d7cac6f35c896f412b124956f',
'a919926d6265ab194b54cd5b8f658eec', 'a919926d6265ab194b54cd5b8f658eec',
'88ca61cdf39cd0f97cf3863e9a6974b3', '88ca61cdf39cd0f97cf3863e9a6974b3',
'0f3e6e5a5ba4b40182153ee4f93f3f7e',
'2358ff370509a1b833cb5023f0ec54fb', '2358ff370509a1b833cb5023f0ec54fb',
'ae320ac92ef292866895940a2f61be48', 'ae320ac92ef292866895940a2f61be48',
], ],
......
...@@ -671,7 +671,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -671,7 +671,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -1308,7 +1308,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1308,7 +1308,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1343,7 +1343,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1343,7 +1343,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/ */
public loadDraft(opt: any = {}): void { public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1404,7 +1404,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1404,7 +1404,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1512,7 +1512,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1512,7 +1512,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1586,7 +1586,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1586,7 +1586,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -1274,7 +1274,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1274,7 +1274,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1309,7 +1309,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1309,7 +1309,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public loadDraft(opt: any = {}): void { public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1370,7 +1370,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1370,7 +1370,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1478,7 +1478,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1478,7 +1478,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1552,7 +1552,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1552,7 +1552,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -1377,7 +1377,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1377,7 +1377,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1412,7 +1412,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1412,7 +1412,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {}): void { public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1473,7 +1473,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1473,7 +1473,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1581,7 +1581,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1581,7 +1581,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1655,7 +1655,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1655,7 +1655,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -629,7 +629,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -629,7 +629,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -665,7 +665,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -665,7 +665,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -657,7 +657,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -657,7 +657,7 @@ export default class Usr4Base 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: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -736,7 +736,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -736,7 +736,7 @@ export default class Usr4Base 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: 'IBIZBOOKUsr4DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -845,7 +845,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -845,7 +845,7 @@ export default class Usr4Base 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: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (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);
...@@ -853,7 +853,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -853,7 +853,7 @@ export default class Usr4Base 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: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (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){
......
...@@ -69,11 +69,6 @@ export default class Usr4Model { ...@@ -69,11 +69,6 @@ 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'
},
{ {
......
...@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderPickupGridViewBase * @memberof IBIZOrderSF1GridViewBase
*/ */
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) { if (args.length === 0) {
...@@ -421,6 +421,20 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -421,6 +421,20 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0]; return this.selections[0];
} }
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public newdata: any;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public opendata: any;
/** /**
* 是否嵌入关系界面 * 是否嵌入关系界面
...@@ -953,7 +967,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -953,7 +967,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}, pageReset: boolean = false): void { public load(opt: any = {}, pageReset: boolean = false): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(pageReset){ if(pageReset){
...@@ -1048,7 +1062,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1048,7 +1062,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -1154,7 +1168,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1154,7 +1168,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public addBatch(arg: any = {}): void { public addBatch(arg: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2071,7 +2085,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2071,7 +2085,7 @@ export default class MainBase extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -2079,7 +2093,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2079,7 +2093,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){ if(item.ibizorder){
...@@ -2146,7 +2160,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2146,7 +2160,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public newRow(args: any[], params?: any, $event?: any, xData?: any): void { public newRow(args: any[], params?: any, $event?: any, xData?: any): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
return; return;
} }
let _this = this; let _this = this;
......
...@@ -104,6 +104,21 @@ export default class MainModel { ...@@ -104,6 +104,21 @@ export default class MainModel {
prop: 'n_ibizordername_like', prop: 'n_ibizordername_like',
dataType: 'QUERYPARAM' dataType: 'QUERYPARAM'
}, },
{
name: 'n_orderstate_eq',
prop: 'n_orderstate_eq',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_gt',
prop: 'n_ordertime_gt',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_lt',
prop: 'n_ordertime_lt',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -9,18 +9,18 @@ ...@@ -9,18 +9,18 @@
"id" : "fetch" "id" : "fetch"
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据", "ONSELECTIONCHANGE" ], "hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格", "logicName" : "主表格",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventNames" : "打印选中数据", "eventNames" : "onSelectionChange",
"logicTag" : "grid", "logicTag" : "grid",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "printSelection", "name" : "printSelection",
"scriptCode" : "console.log(data);" "scriptCode" : "console.log('触发成功!!!');"
}, { }, {
"eventNames" : "onSelectionChange", "eventNames" : "onSelectionChange",
"logicTag" : "GRID", "logicTag" : "GRID",
......
...@@ -14,18 +14,18 @@ ...@@ -14,18 +14,18 @@
"id" : "fetch" "id" : "fetch"
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据" ], "hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格", "logicName" : "主表格",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventNames" : "打印选中数据", "eventNames" : "onSelectionChange",
"logicTag" : "meditviewpanel", "logicTag" : "meditviewpanel",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "printSelection", "name" : "printSelection",
"scriptCode" : "console.log(data);" "scriptCode" : "console.log('触发成功!!!');"
} ], } ],
"getPSDEDataImport" : { "getPSDEDataImport" : {
"modelref" : true, "modelref" : true,
......
...@@ -208,7 +208,7 @@ ...@@ -208,7 +208,7 @@
"id" : "fetch" "id" : "fetch"
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据" ], "hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格", "logicName" : "主表格",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -297,11 +297,11 @@ ...@@ -297,11 +297,11 @@
"id" : "数据表格处理器" "id" : "数据表格处理器"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventNames" : "打印选中数据", "eventNames" : "onSelectionChange",
"logicTag" : "grid", "logicTag" : "grid",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "printSelection", "name" : "printSelection",
"scriptCode" : "console.log(data);" "scriptCode" : "console.log('触发成功!!!');"
} ], } ],
"getPSControlParam" : { "getPSControlParam" : {
"autoLoad" : true, "autoLoad" : true,
......
...@@ -208,7 +208,7 @@ ...@@ -208,7 +208,7 @@
"id" : "fetch" "id" : "fetch"
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据", "ONSELECTIONCHANGE" ], "hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格", "logicName" : "主表格",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -297,11 +297,11 @@ ...@@ -297,11 +297,11 @@
"id" : "数据表格处理器" "id" : "数据表格处理器"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventNames" : "打印选中数据", "eventNames" : "onSelectionChange",
"logicTag" : "grid", "logicTag" : "grid",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "printSelection", "name" : "printSelection",
"scriptCode" : "console.log(data);" "scriptCode" : "console.log('触发成功!!!');"
}, { }, {
"eventNames" : "onSelectionChange", "eventNames" : "onSelectionChange",
"logicTag" : "GRID", "logicTag" : "GRID",
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
"id" : "fetch" "id" : "fetch"
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据" ], "hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格", "logicName" : "主表格",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -144,11 +144,11 @@ ...@@ -144,11 +144,11 @@
"id" : "数据表格处理器" "id" : "数据表格处理器"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventNames" : "打印选中数据", "eventNames" : "onSelectionChange",
"logicTag" : "meditviewpanel", "logicTag" : "meditviewpanel",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "printSelection", "name" : "printSelection",
"scriptCode" : "console.log(data);" "scriptCode" : "console.log('触发成功!!!');"
} ], } ],
"getPSControlParam" : { "getPSControlParam" : {
"autoLoad" : true, "autoLoad" : true,
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
"id" : "fetch" "id" : "fetch"
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据" ], "hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格", "logicName" : "主表格",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -144,11 +144,11 @@ ...@@ -144,11 +144,11 @@
"id" : "数据表格处理器" "id" : "数据表格处理器"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventNames" : "打印选中数据", "eventNames" : "onSelectionChange",
"logicTag" : "meditviewpanel", "logicTag" : "meditviewpanel",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "printSelection", "name" : "printSelection",
"scriptCode" : "console.log(data);" "scriptCode" : "console.log('触发成功!!!');"
} ], } ],
"getPSControlParam" : { "getPSControlParam" : {
"autoLoad" : true, "autoLoad" : true,
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
"id" : "fetch" "id" : "fetch"
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据" ], "hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格", "logicName" : "主表格",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -144,11 +144,11 @@ ...@@ -144,11 +144,11 @@
"id" : "数据表格处理器" "id" : "数据表格处理器"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventNames" : "打印选中数据", "eventNames" : "onSelectionChange",
"logicTag" : "meditviewpanel", "logicTag" : "meditviewpanel",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "printSelection", "name" : "printSelection",
"scriptCode" : "console.log(data);" "scriptCode" : "console.log('触发成功!!!');"
} ], } ],
"getPSControlParam" : { "getPSControlParam" : {
"autoLoad" : true, "autoLoad" : true,
......
...@@ -12,1636 +12,1205 @@ ...@@ -12,1636 +12,1205 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
}, },
"getPSAppViewEngines" : [ {
"engineCat" : "VIEW",
"engineType" : "GridView",
"name" : "engine",
"getPSUIEngineParams" : [ {
"appViewLogicName" : "opendata",
"name" : "OPENDATA",
"paramType" : "LOGIC"
}, {
"appViewLogicName" : "newdata",
"name" : "NEWDATA",
"paramType" : "LOGIC"
}, {
"ctrlName" : "grid",
"name" : "GRID",
"paramType" : "CTRL"
}, {
"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/IBIZUNIProductEditView.json",
"viewType" : "DEEDITVIEW"
}
},
"getNewDataPSAppViews" : [ {
"refMode" : "Hardware",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZHardwareEditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"refMode" : "Software",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSoftwareSuitEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"getPSAppUILogicRefViews" : [ {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZUNIProductIndexPickupView.json",
"viewType" : "DEPICKUPVIEW"
}
}, {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZUNIProductEditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"refMode" : "Hardware",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZHardwareEditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"refMode" : "Software",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSoftwareSuitEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"viewLogicType" : "APP_NEWDATA",
"getWizardPSAppView" : {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZUNIProductIndexPickupView.json",
"viewType" : "DEPICKUPVIEW"
}
},
"batchAddOnly" : false,
"enableBatchAdd" : false,
"enableWizardAdd" : true
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "SYSUILOGIC",
"name" : "opendata",
"getPSAppUILogic" : {
"logicType" : "PREDEFINED",
"name" : "打开数据",
"getOpenDataPSAppView" : {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZUNIProductRedirectView.json",
"viewType" : "DEREDIRECTVIEW"
}
},
"getOpenDataPSAppViews" : [ {
"refMode" : "Hardware",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZHardwareEditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"refMode" : "Software",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSoftwareSuitEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"getPSAppUILogicRefViews" : [ {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZUNIProductRedirectView.json",
"viewType" : "DEREDIRECTVIEW"
}
}, {
"refMode" : "Hardware",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZHardwareEditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"refMode" : "Software",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSoftwareSuitEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"viewLogicType" : "APP_OPENDATA",
"editMode" : true
}
} ],
"getPSAppViewMsgGroup" : { "getPSAppViewMsgGroup" : {
"modelref" : true, "modelref" : true,
"id" : "VMGroup51" "id" : "VMGroup51"
}, },
"getPSDEViewCodeName" : "SGridView_layout", "getPSAppViewRefs" : [ {
"getPSDEViewId" : "851BFBF3-DD5F-461D-934A-8007D7A0F334", "name" : "NEWDATA",
"getPSViewLayoutPanel" : { "realTitle" : "统一产品编辑视图",
"getAllPSPanelFields" : [ { "getRealTitlePSLanguageRes" : {
"id" : "view_pagecaption" "lanResTag" : "PAGE.TITLE.IBIZUNIPRODUCT.EDITVIEW"
} ], },
"codeName" : "Usr1104009079", "getRefPSAppView" : {
"controlType" : "VIEWLAYOUTPANEL", "modelref" : true,
"layoutMode" : "FLEX", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZUNIProductEditView.json",
"logicName" : "SGridViewDEGRIDVIEW", "viewType" : "DEEDITVIEW"
"name" : "layoutpanel", }
}, {
"name" : "EDITDATA",
"realTitle" : "统一产品数据重定向视图",
"getRealTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.IBIZUNIPRODUCT.REDIRECTVIEW"
},
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZUNIProductRedirectView.json",
"viewType" : "DEREDIRECTVIEW"
}
}, {
"name" : "NEWDATAWIZARD",
"realTitle" : "统一产品数据选择视图",
"getRealTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.IBIZUNIPRODUCT.INDEXPICKUPVIEW"
},
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZUNIProductIndexPickupView.json",
"viewType" : "DEPICKUPVIEW"
}
}, {
"name" : "NEWDATA:Hardware",
"realTitle" : "硬件编辑视图",
"getRealTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.IBIZHARDWARE.EDITVIEW"
},
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZHardwareEditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"name" : "NEWDATA:Software",
"realTitle" : "软件编辑视图",
"getRealTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.IBIZSOFTWARESUIT.EDITVIEW"
},
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSoftwareSuitEditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"name" : "EDITDATA:Hardware",
"realTitle" : "硬件编辑视图",
"getRealTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.IBIZHARDWARE.EDITVIEW"
},
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZHardwareEditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"name" : "EDITDATA:Software",
"realTitle" : "软件编辑视图",
"getRealTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.IBIZSOFTWARESUIT.EDITVIEW"
},
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSoftwareSuitEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "toolbar_tbitem3",
"getPSUIAction" : {
"modelref" : true,
"id" : "New"
},
"xDataControlName" : "grid"
}, {
"name" : "toolbar_deuiaction2",
"getPSUIAction" : {
"modelref" : true,
"id" : "Save"
},
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem4",
"getPSUIAction" : {
"modelref" : true,
"id" : "Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem6",
"getPSUIAction" : {
"modelref" : true,
"id" : "Copy"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid"
}, {
"name" : "toolbar_deuiaction3",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleFilter"
},
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem24",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleRowEdit"
},
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem25",
"getPSUIAction" : {
"modelref" : true,
"id" : "NewRow"
},
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem8",
"getPSUIAction" : {
"modelref" : true,
"id" : "Remove"
},
"uIActionTarget" : "MULTIKEY",
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem13",
"getPSUIAction" : {
"modelref" : true,
"id" : "ExportExcel"
},
"xDataControlName" : "grid"
}, {
"name" : "toolbar_deuiaction1",
"getPSUIAction" : {
"modelref" : true,
"id" : "ImportExcel"
},
"uIActionTarget" : "NONE",
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem11",
"getPSUIAction" : {
"modelref" : true,
"id" : "Print"
},
"uIActionTarget" : "MULTIKEY",
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem21",
"getPSUIAction" : {
"modelref" : true,
"id" : "ExportModel"
},
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem23",
"getPSUIAction" : {
"modelref" : true,
"id" : "Import"
},
"xDataControlName" : "grid"
} ],
"getPSControls" : [ {
"codeName" : "Default",
"controlType" : "SEARCHFORM",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct/PSSEARCHFORMS/Default.json",
"hookEventNames" : [ "SEARCH", "LOAD", "SAVE" ],
"logicName" : "默认搜索表单",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
}, },
"getPSControlParam" : { }, "getPSControlHandler" : {
"getPSLayout" : { "getPSHandlerActions" : [ {
"layout" : "FLEX" "actionType" : "FILTERACTION",
}, "name" : "load",
"getRootPSPanelItems" : [ { "getPSAppDEMethod" : {
"itemStyle" : "DEFAULT", "modelref" : true,
"itemType" : "CONTAINER", "id" : "FilterGet"
"name" : "page_container",
"getPSLayout" : {
"dir" : "column",
"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" : [ { "getPSAppDataEntity" : {
"caption" : "面板容器", "modelref" : true,
"itemStyle" : "DEFAULT", "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.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" : "容器", "actionType" : "FILTERACTION",
"contentHeight" : 100.0, "name" : "loaddraft",
"height" : 100.0, "getPSAppDEMethod" : {
"itemStyle" : "DEFAULT", "modelref" : true,
"itemType" : "CONTAINER", "id" : "FilterGetDraft"
"name" : "container4",
"getPSLayout" : {
"layout" : "FLEX"
}, },
"getPSLayoutPos" : { "getPSAppDataEntity" : {
"grow" : -1, "modelref" : true,
"height" : 100, "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
"heightMode" : "PERCENTAGE", }
"layout" : "FLEX" }, {
"actionType" : "FILTERACTION",
"name" : "search",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterSearch"
}, },
"getPSPanelItems" : [ { "getPSAppDataEntity" : {
"caption" : "SEARCHFORM", "modelref" : true,
"itemStyle" : "DEFAULT", "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
"itemType" : "CTRLPOS", }
"name" : "searchform", } ],
"getPSLayoutPos" : { "enableDEFieldPrivilege" : false,
"grow" : -1, "id" : "搜索表单处理器"
"heightMode" : "FULL", },
"layout" : "FLEX" "getPSControlLogics" : [ {
}, "eventNames" : "SEARCH;LOAD;SAVE",
"showCaption" : true "logicTag" : "searchform",
}, { "logicType" : "APPVIEWENGINE",
"caption" : "GRID", "name" : "engine_searchform",
"contentHeight" : 100.0, "getPSAppViewEngine" : {
"height" : 100.0, "modelref" : true,
"itemStyle" : "DEFAULT", "id" : "engine"
"itemType" : "CTRLPOS", }
"name" : "grid",
"getPSLayoutPos" : {
"grow" : -1,
"height" : 100,
"heightMode" : "PERCENTAGE",
"layout" : "FLEX"
},
"showCaption" : true
} ]
} ]
} ], } ],
"layoutBodyOnly" : false, "getPSControlParam" : {
"layoutPanel" : true, "autoLoad" : true,
"useDefaultLayout" : false, "showBusyIndicator" : true,
"viewProxyMode" : true, "id" : "SEARCHFORM"
"modelid" : "EA1804A6-6327-41B0-85A4-49F3EDCDF43B", },
"modeltype" : "PSSYSVIEWLAYOUTPANEL", "getPSDEFormPages" : [ {
"getPSAppViewEngines" : [ { "codeName" : "formpage1",
"engineCat" : "VIEW", "detailStyle" : "DEFAULT",
"engineType" : "GridView", "detailType" : "FORMPAGE",
"name" : "engine", "name" : "formpage1",
"getPSUIEngineParams" : [ { "getPSLayout" : {
"appViewLogicName" : "opendata", "columnCount" : 24,
"name" : "OPENDATA", "layout" : "TABLE_24COL"
"paramType" : "LOGIC" },
}, { "infoGroupMode" : false
"appViewLogicName" : "newdata",
"name" : "NEWDATA",
"paramType" : "LOGIC"
}, {
"ctrlName" : "grid",
"name" : "GRID",
"paramType" : "CTRL"
}, {
"ctrlName" : "searchform",
"name" : "SEARCHFORM",
"paramType" : "CTRL"
} ]
} ], } ],
"getPSAppViewLogics" : [ { "getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"searchButtonStyle" : "DEFAULT",
"tabHeaderPos" : "TOP",
"enableAdvanceSearch" : false,
"enableAutoSearch" : false,
"enableFilterSave" : false,
"noTabHeader" : true,
"name" : "searchform",
"modelid" : "c154b571454fdd1291009482397c4d62",
"modeltype" : "PSDEFORM_SEARCHFORM"
}, {
"codeName" : "SGridView_layouttoolbar",
"controlType" : "TOOLBAR",
"hookEventNames" : [ "CLICK" ],
"logicName" : "工具栏模板(默认表格界面)",
"name" : "toolbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.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",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem23_click"
}
} ],
"getPSControlParam" : {
"id" : "TOOLBAR"
},
"getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.NEW"
},
"caption" : "新建",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem3",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_tbitem23" "id" : "toolbar_tbitem3"
}, },
"getPSViewCtrlName" : "toolbar" "getPSSysCss" : {
}, { "cssName" : "deepskyblueToolBar"
"logicTrigger" : "CUSTOM", },
"logicType" : "SYSUILOGIC", "getPSSysImage" : {
"name" : "newdata", "glyph" : "xf0f6@FontAwesome",
"getPSAppUILogic" : { "cssClass" : "fa fa-file-text-o"
"actionAfterWizard" : "DEFAULT", },
"logicType" : "PREDEFINED", "getPSUIAction" : {
"name" : "新建数据", "getCapPSLanguageRes" : {
"getNewDataPSAppView" : { "lanResTag" : "TBB.TEXT.*.NEW"
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZUNIProductEditView.json",
"viewType" : "DEEDITVIEW"
}
}, },
"getNewDataPSAppViews" : [ { "caption" : "新建",
"refMode" : "Hardware", "codeName" : "New",
"getRefPSAppView" : { "fullCodeName" : "New",
"modelref" : true, "name" : "表格界面_新建操作",
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZHardwareEditView.json", "getPSSysImage" : {
"viewType" : "DEEDITVIEW" "glyph" : "xf0f6@FontAwesome",
} "cssClass" : "fa fa-file-text-o"
}, {
"refMode" : "Software",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSoftwareSuitEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"getPSAppUILogicRefViews" : [ {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZUNIProductIndexPickupView.json",
"viewType" : "DEPICKUPVIEW"
}
}, {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZUNIProductEditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"refMode" : "Hardware",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZHardwareEditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"refMode" : "Software",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSoftwareSuitEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"viewLogicType" : "APP_NEWDATA",
"getWizardPSAppView" : {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZUNIProductIndexPickupView.json",
"viewType" : "DEPICKUPVIEW"
}
}, },
"batchAddOnly" : false, "predefinedType" : "GRIDVIEW_NEWACTION",
"enableBatchAdd" : false, "timeout" : 60000,
"enableWizardAdd" : true "getTooltipPSLanguageRes" : {
} "lanResTag" : "TBB.TOOLTIP.*.NEW"
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "SYSUILOGIC",
"name" : "opendata",
"getPSAppUILogic" : {
"logicType" : "PREDEFINED",
"name" : "打开数据",
"getOpenDataPSAppView" : {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZUNIProductRedirectView.json",
"viewType" : "DEREDIRECTVIEW"
}
}, },
"getOpenDataPSAppViews" : [ { "uIActionMode" : "SYS",
"refMode" : "Hardware", "uIActionTag" : "New",
"getRefPSAppView" : { "uIActionType" : "DEUIACTION"
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZHardwareEditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"refMode" : "Software",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSoftwareSuitEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"getPSAppUILogicRefViews" : [ {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZUNIProductRedirectView.json",
"viewType" : "DEREDIRECTVIEW"
}
}, {
"refMode" : "Hardware",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZHardwareEditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"refMode" : "Software",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSoftwareSuitEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"viewLogicType" : "APP_OPENDATA",
"editMode" : true
}
} ],
"getPSAppViewRefs" : [ {
"name" : "EDITDATA",
"realTitle" : "统一产品数据重定向视图",
"getRealTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.IBIZUNIPRODUCT.REDIRECTVIEW"
},
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZUNIProductRedirectView.json",
"viewType" : "DEREDIRECTVIEW"
}
}, {
"name" : "NEWDATA",
"realTitle" : "统一产品编辑视图",
"getRealTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.IBIZUNIPRODUCT.EDITVIEW"
}, },
"getRefPSAppView" : { "tooltip" : "新建",
"modelref" : true, "getTooltipPSLanguageRes" : {
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZUNIProductEditView.json", "lanResTag" : "TBB.TOOLTIP.*.NEW"
"viewType" : "DEEDITVIEW"
}
}, {
"name" : "NEWDATAWIZARD",
"realTitle" : "统一产品数据选择视图",
"getRealTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.IBIZUNIPRODUCT.INDEXPICKUPVIEW"
}, },
"getRefPSAppView" : { "showCaption" : true,
"modelref" : true, "showIcon" : true
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZUNIProductIndexPickupView.json",
"viewType" : "DEPICKUPVIEW"
}
}, { }, {
"name" : "NEWDATA:Hardware", "getCapPSLanguageRes" : {
"realTitle" : "硬件编辑视图", "lanResTag" : "TBB.TEXT.*.SAVE"
"getRealTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.IBIZHARDWARE.EDITVIEW"
}, },
"getRefPSAppView" : { "caption" : "保存",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction2",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZHardwareEditView.json", "id" : "toolbar_deuiaction2"
"viewType" : "DEEDITVIEW"
}
}, {
"name" : "NEWDATA:Software",
"realTitle" : "软件编辑视图",
"getRealTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.IBIZSOFTWARESUIT.EDITVIEW"
}, },
"getRefPSAppView" : { "getPSSysImage" : {
"modelref" : true, "glyph" : "xf0c7@FontAwesome",
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSoftwareSuitEditView.json", "cssClass" : "fa fa-save"
"viewType" : "DEEDITVIEW"
}
}, {
"name" : "EDITDATA:Hardware",
"realTitle" : "硬件编辑视图",
"getRealTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.IBIZHARDWARE.EDITVIEW"
}, },
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZHardwareEditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"name" : "EDITDATA:Software",
"realTitle" : "软件编辑视图",
"getRealTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.IBIZSOFTWARESUIT.EDITVIEW"
},
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSoftwareSuitEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "toolbar_tbitem3",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true,
"id" : "New"
},
"xDataControlName" : "grid"
}, {
"name" : "toolbar_deuiaction2",
"getPSUIAction" : {
"modelref" : true,
"id" : "Save"
},
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem4",
"getPSUIAction" : {
"modelref" : true,
"id" : "Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem6",
"getPSUIAction" : {
"modelref" : true,
"id" : "Copy"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid"
}, {
"name" : "toolbar_deuiaction3",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleFilter"
},
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem24",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleRowEdit"
},
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem25",
"getPSUIAction" : {
"modelref" : true,
"id" : "NewRow"
},
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem8",
"getPSUIAction" : {
"modelref" : true,
"id" : "Remove"
},
"uIActionTarget" : "MULTIKEY",
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem13",
"getPSUIAction" : {
"modelref" : true,
"id" : "ExportExcel"
},
"xDataControlName" : "grid"
}, {
"name" : "toolbar_deuiaction1",
"getPSUIAction" : {
"modelref" : true,
"id" : "ImportExcel"
},
"uIActionTarget" : "NONE",
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem11",
"getPSUIAction" : {
"modelref" : true,
"id" : "Print"
},
"uIActionTarget" : "MULTIKEY",
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem21",
"getPSUIAction" : {
"modelref" : true,
"id" : "ExportModel"
},
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem23",
"getPSUIAction" : {
"modelref" : true,
"id" : "Import"
},
"xDataControlName" : "grid"
} ],
"getPSControls" : [ {
"codeName" : "Default",
"controlType" : "SEARCHFORM",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct/PSSEARCHFORMS/Default.json",
"hookEventNames" : [ "SEARCH", "LOAD", "SAVE" ],
"logicName" : "默认搜索表单",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
},
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionType" : "FILTERACTION",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterGet"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
}
}, {
"actionType" : "FILTERACTION",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterGetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
}
}, {
"actionType" : "FILTERACTION",
"name" : "search",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterSearch"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.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"
},
"getPSDEFormPages" : [ {
"codeName" : "formpage1",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage1",
"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" : "c154b571454fdd1291009482397c4d62",
"modeltype" : "PSDEFORM_SEARCHFORM"
}, {
"codeName" : "SGridView_layouttoolbar",
"controlType" : "TOOLBAR",
"hookEventNames" : [ "CLICK" ],
"logicName" : "工具栏模板(默认表格界面)",
"name" : "toolbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.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" : {
"lanResTag" : "TBB.TEXT.*.NEW"
},
"caption" : "新建",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem3",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem3"
},
"getPSSysCss" : {
"cssName" : "deepskyblueToolBar"
},
"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" : { "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
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EXPORT"
},
"caption" : "导出",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem13",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem13"
},
"getPSSysImage" : {
"glyph" : "xf1c3@FontAwesome",
"cssClass" : "fa fa-file-excel-o"
},
"getPSUIAction" : {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EXPORT" "lanResTag" : "TBB.TEXT.*.EXPORT"
}, },
"caption" : "导出", "caption" : "导出",
"codeName" : "ExportExcel",
"fullCodeName" : "ExportExcel",
"name" : "表格界面_导出操作(Excel)",
"getPSSysImage" : {
"glyph" : "xf1c3@FontAwesome",
"cssClass" : "fa fa-file-excel-o"
},
"predefinedType" : "GRIDVIEW_EXPORTACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EXPORT"
},
"uIActionMode" : "SYS",
"uIActionTag" : "ExportExcel",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "导出",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EXPORT"
},
"showCaption" : true,
"showIcon" : true
}, {
"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" : "导入",
"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" : "tbitem13", "name" : "tbitem21",
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_tbitem13" "id" : "toolbar_tbitem21"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf1c3@FontAwesome", "glyph" : "xf019@FontAwesome",
"cssClass" : "fa fa-file-excel-o" "cssClass" : "fa fa-download"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EXPORT" "lanResTag" : "MENUITEM.CAPTION.*.EXPORTSRF"
}, },
"caption" : "导出", "caption" : "导出数据模型",
"codeName" : "ExportExcel", "codeName" : "ExportModel",
"fullCodeName" : "ExportExcel", "fullCodeName" : "ExportModel",
"name" : "表格界面_导出操作(Excel)", "name" : "表格界面_导出数据模型",
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf1c3@FontAwesome", "glyph" : "xf019@FontAwesome",
"cssClass" : "fa fa-file-excel-o" "cssClass" : "fa fa-download"
}, },
"predefinedType" : "GRIDVIEW_EXPORTACTION", "predefinedType" : "GRIDVIEW_EXPORTXMLACTION",
"timeout" : 60000, "timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EXPORT"
},
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "ExportExcel", "uIActionTag" : "ExportModel",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, },
"tooltip" : "导出", "tooltip" : "导出数据模型",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EXPORT"
},
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, { }, {
"caption" : "导入", "caption" : "数据导入",
"groupExtractMode" : "ITEM", "groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION", "itemType" : "DEUIACTION",
"name" : "deuiaction1", "name" : "tbitem23",
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_deuiaction1" "id" : "toolbar_tbitem23"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf093@FontAwesome", "glyph" : "xf093@FontAwesome",
"cssClass" : "fa fa-upload" "cssClass" : "fa fa-upload"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "caption" : "数据导入",
"caption" : "导入", "codeName" : "Import",
"codeName" : "ImportExcel", "fullCodeName" : "Import",
"frontProcessType" : "OPENHTMLPAGE", "name" : "表格界面_数据导入栏",
"fullCodeName" : "ImportExcel",
"htmlPageUrl" : "../../ibizutil/uploaddedataview.jsp?srfdeid=",
"name" : "导入",
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf093@FontAwesome", "glyph" : "xf093@FontAwesome",
"cssClass" : "fa fa-upload" "cssClass" : "fa fa-upload"
}, },
"predefinedType" : "GRIDVIEW_IMPORTBAR",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "SYS",
"uIActionTag" : "ImportExcel", "uIActionTag" : "Import",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, },
"tooltip" : "导入", "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",
"itemType" : "DEUIACTION",
"name" : "tbitem21",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem21"
},
"getPSSysImage" : {
"glyph" : "xf019@FontAwesome",
"cssClass" : "fa fa-download"
},
"getPSUIAction" : {
"getCapPSLanguageRes" : {
"lanResTag" : "MENUITEM.CAPTION.*.EXPORTSRF"
},
"caption" : "导出数据模型",
"codeName" : "ExportModel",
"fullCodeName" : "ExportModel",
"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
}, {
"caption" : "数据导入",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem23",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem23"
},
"getPSSysImage" : {
"glyph" : "xf093@FontAwesome",
"cssClass" : "fa fa-upload"
},
"getPSUIAction" : {
"caption" : "数据导入",
"codeName" : "Import",
"fullCodeName" : "Import",
"name" : "表格界面_数据导入栏",
"getPSSysImage" : {
"glyph" : "xf093@FontAwesome",
"cssClass" : "fa fa-upload"
},
"predefinedType" : "GRIDVIEW_IMPORTBAR",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Import",
"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
"aggMode" : "NONE", } ],
"codeName" : "Main", "modelid" : "47d7b189cb310900c71aaabc97f7444b",
"columnEnableLink" : 2, "modeltype" : "PSDETOOLBAR"
"controlType" : "GRID", }, {
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct/PSGRIDS/Main.json", "aggMode" : "NONE",
"getFetchPSControlAction" : { "codeName" : "Main",
"modelref" : true, "columnEnableLink" : 2,
"id" : "fetch" "controlType" : "GRID",
}, "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct/PSGRIDS/Main.json",
"groupMode" : "NONE", "getFetchPSControlAction" : {
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ], "modelref" : true,
"logicName" : "主表格", "id" : "fetch"
"getPSAppDataEntity" : { },
"modelref" : true, "groupMode" : "NONE",
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json" "hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
}, "logicName" : "主表格",
"getPSControlHandler" : { "getPSAppDataEntity" : {
"getPSHandlerActions" : [ { "modelref" : true,
"actionName" : "Get", "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
"actionType" : "DEACTION", },
"dataAccessAction" : "READ", "getPSControlHandler" : {
"name" : "load", "getPSHandlerActions" : [ {
"getPSAppDEMethod" : { "actionName" : "Get",
"modelref" : true, "actionType" : "DEACTION",
"id" : "Get" "dataAccessAction" : "READ",
}, "name" : "load",
"getPSAppDataEntity" : { "getPSAppDEMethod" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
}
}, {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
}
}, {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
}
}, {
"actionName" : "GetDraft",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "GetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
}
}, {
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
}
} ],
"userDRAction" : "READ",
"enableDEFieldPrivilege" : false,
"id" : "数据表格处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "ROWDBLCLICK;SELECTIONCHANGE;REMOVE;LOAD;BEFORELOAD",
"logicTag" : "grid",
"logicType" : "APPVIEWENGINE",
"name" : "engine_grid",
"getPSAppViewEngine" : {
"modelref" : true, "modelref" : true,
"id" : "engine" "id" : "Get"
}
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "GRID"
},
"getPSDEGridColumns" : [ {
"align" : "LEFT",
"cLConvertMode" : "NONE",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.IBIZUNIPRODUCT.IBIZUNIPRODUCTNAME"
},
"caption" : "产品名称",
"codeName" : "IBIZuniproductname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizuniproductname",
"excelCaption" : "产品名称",
"name" : "IBIZuniproductname",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "IBIZUNIPRODUCTNAME",
"codeName" : "IBIZUNIProductName"
},
"width" : 1,
"widthUnit" : "STAR",
"enableSort" : true
}, {
"align" : "LEFT",
"cLConvertMode" : "FRONT",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.IBIZUNIPRODUCTTYPE"
}, },
"caption" : "分组类型", "getPSAppDataEntity" : {
"codeName" : "IBIZuniproducttype",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizuniproducttype",
"excelCaption" : "分组类型",
"name" : "IBIZuniproducttype",
"noPrivDisplayMode" : 1,
"getPSAppCodeList" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/UNIPRODUCTTYPE.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
},
"getPSAppDEField" : {
"name" : "IBIZUNIPRODUCTTYPE",
"codeName" : "IBIZUNIProductType"
},
"width" : 160,
"widthUnit" : "PX",
"enableSort" : true
}, {
"align" : "LEFT",
"cLConvertMode" : "NONE",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.UNIT"
},
"caption" : "单位",
"codeName" : "unit",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "unit",
"excelCaption" : "单位",
"name" : "unit",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UNIT",
"codeName" : "Unit"
},
"width" : 160,
"widthUnit" : "PX",
"enableSort" : true
}, {
"align" : "LEFT",
"cLConvertMode" : "NONE",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.UNITPRICE"
},
"caption" : "单价",
"codeName" : "unitprice",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "unitprice",
"excelCaption" : "单价",
"name" : "unitprice",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UNITPRICE",
"codeName" : "UnitPrice"
},
"width" : 160,
"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" : 180,
"widthUnit" : "PX",
"enableSort" : true
} ],
"getPSDEGridDataItems" : [ {
"dataType" : 25,
"name" : "ibizuniproductname",
"getPSAppDEField" : {
"name" : "IBIZUNIPRODUCTNAME",
"codeName" : "IBIZUNIProductName"
}
}, {
"dataType" : 25,
"name" : "ibizuniproducttype",
"getPSAppDEField" : {
"name" : "IBIZUNIPRODUCTTYPE",
"codeName" : "IBIZUNIProductType"
}
}, {
"dataType" : 25,
"name" : "unit",
"getPSAppDEField" : {
"name" : "UNIT",
"codeName" : "Unit"
}
}, {
"dataType" : 7,
"name" : "unitprice",
"getPSAppDEField" : {
"name" : "UNITPRICE",
"codeName" : "UnitPrice"
}
}, {
"format" : "YYYY-MM-DD HH:mm:ss",
"dataType" : 5,
"name" : "updatedate",
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"dataType" : 25,
"name" : "ibizuniproductid",
"getPSAppDEField" : {
"name" : "IBIZUNIPRODUCTID",
"codeName" : "IBIZUNIProductId"
} }
}, { }, {
"dataType" : 25, "actionName" : "Create",
"name" : "srfkey", "actionType" : "DEACTION",
"getPSAppDEField" : { "dataAccessAction" : "CREATE",
"name" : "IBIZUNIPRODUCTID", "name" : "create",
"codeName" : "IBIZUNIProductId" "getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
} }
}, { }, {
"dataType" : 25, "actionName" : "Update",
"name" : "srfdataaccaction", "actionType" : "DEACTION",
"getPSAppDEField" : { "dataAccessAction" : "UPDATE",
"name" : "IBIZUNIPRODUCTID", "name" : "update",
"codeName" : "IBIZUNIProductId" "getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
}, },
"dataAccessAction" : true "getPSAppDataEntity" : {
}, { "modelref" : true,
"dataType" : 25, "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
"name" : "srfdatatype",
"getPSAppDEField" : {
"name" : "IBIZUNIPRODUCTTYPE",
"codeName" : "IBIZUNIProductType"
} }
}, { }, {
"dataType" : 25,
"name" : "srfmajortext",
"getPSAppDEField" : {
"name" : "IBIZUNIPRODUCTNAME",
"codeName" : "IBIZUNIProductName"
}
} ],
"getPSDEGridEditItems" : [ {
"caption" : "统一产品标识",
"codeName" : "srfkey",
"enableCond" : 3,
"ignoreInput" : 0,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "IBIZUNIPRODUCTID",
"codeName" : "IBIZUNIProductId"
},
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "srfkey"
},
"allowEmpty" : true
} ],
"pagingSize" : 10,
"getRemovePSControlAction" : {
"actionName" : "Remove", "actionName" : "Remove",
"actionType" : "DEACTION", "actionType" : "DEACTION",
"dataAccessAction" : "DELETE", "dataAccessAction" : "DELETE",
...@@ -1654,42 +1223,292 @@ ...@@ -1654,42 +1223,292 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
} }
}, {
"actionName" : "GetDraft",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "GetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
}
}, {
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
}
} ],
"userDRAction" : "READ",
"enableDEFieldPrivilege" : false,
"id" : "数据表格处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "ROWDBLCLICK;SELECTIONCHANGE;REMOVE;LOAD;BEFORELOAD",
"logicTag" : "grid",
"logicType" : "APPVIEWENGINE",
"name" : "engine_grid",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "GRID"
},
"getPSDEGridColumns" : [ {
"align" : "LEFT",
"cLConvertMode" : "NONE",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.IBIZUNIPRODUCT.IBIZUNIPRODUCTNAME"
},
"caption" : "产品名称",
"codeName" : "IBIZuniproductname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizuniproductname",
"excelCaption" : "产品名称",
"name" : "IBIZuniproductname",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "IBIZUNIPRODUCTNAME",
"codeName" : "IBIZUNIProductName"
}, },
"sortMode" : "REMOTE", "width" : 1,
"hasWFDataItems" : false, "widthUnit" : "STAR",
"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" : "grid",
"modelid" : "3ce6c3c914fe962b15249a4d2b16bbd2",
"modeltype" : "PSDEGRID"
}, { }, {
"controlType" : "SEARCHBAR", "align" : "LEFT",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct/PSSEARCHBARS/.json", "cLConvertMode" : "FRONT",
"getPSAppDataEntity" : { "getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.IBIZUNIPRODUCTTYPE"
},
"caption" : "分组类型",
"codeName" : "IBIZuniproducttype",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizuniproducttype",
"excelCaption" : "分组类型",
"name" : "IBIZuniproducttype",
"noPrivDisplayMode" : 1,
"getPSAppCodeList" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json" "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/UNIPRODUCTTYPE.json"
}, },
"getPSControlParam" : { "getPSAppDEField" : {
"id" : "searchbar" "name" : "IBIZUNIPRODUCTTYPE",
"codeName" : "IBIZUNIProductType"
}, },
"quickGroupCount" : -1, "width" : 160,
"quickSearchMode" : 1, "widthUnit" : "PX",
"quickSearchWidth" : 0, "enableSort" : true
"enableFilter" : false, }, {
"enableGroup" : false, "align" : "LEFT",
"enableQuickSearch" : true, "cLConvertMode" : "NONE",
"mobileSearchBar" : false, "getCapPSLanguageRes" : {
"name" : "searchbar" "lanResTag" : "DEF.LNAME.UNIT"
} ] },
"caption" : "单位",
"codeName" : "unit",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "unit",
"excelCaption" : "单位",
"name" : "unit",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UNIT",
"codeName" : "Unit"
},
"width" : 160,
"widthUnit" : "PX",
"enableSort" : true
}, {
"align" : "LEFT",
"cLConvertMode" : "NONE",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.UNITPRICE"
},
"caption" : "单价",
"codeName" : "unitprice",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "unitprice",
"excelCaption" : "单价",
"name" : "unitprice",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UNITPRICE",
"codeName" : "UnitPrice"
},
"width" : 160,
"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" : 180,
"widthUnit" : "PX",
"enableSort" : true
} ],
"getPSDEGridDataItems" : [ {
"dataType" : 25,
"name" : "ibizuniproductname",
"getPSAppDEField" : {
"name" : "IBIZUNIPRODUCTNAME",
"codeName" : "IBIZUNIProductName"
}
}, {
"dataType" : 25,
"name" : "ibizuniproducttype",
"getPSAppDEField" : {
"name" : "IBIZUNIPRODUCTTYPE",
"codeName" : "IBIZUNIProductType"
}
}, {
"dataType" : 25,
"name" : "unit",
"getPSAppDEField" : {
"name" : "UNIT",
"codeName" : "Unit"
}
}, {
"dataType" : 7,
"name" : "unitprice",
"getPSAppDEField" : {
"name" : "UNITPRICE",
"codeName" : "UnitPrice"
}
}, {
"format" : "YYYY-MM-DD HH:mm:ss",
"dataType" : 5,
"name" : "updatedate",
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"dataType" : 25,
"name" : "ibizuniproductid",
"getPSAppDEField" : {
"name" : "IBIZUNIPRODUCTID",
"codeName" : "IBIZUNIProductId"
}
}, {
"dataType" : 25,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "IBIZUNIPRODUCTID",
"codeName" : "IBIZUNIProductId"
}
}, {
"dataType" : 25,
"name" : "srfdataaccaction",
"getPSAppDEField" : {
"name" : "IBIZUNIPRODUCTID",
"codeName" : "IBIZUNIProductId"
},
"dataAccessAction" : true
}, {
"dataType" : 25,
"name" : "srfdatatype",
"getPSAppDEField" : {
"name" : "IBIZUNIPRODUCTTYPE",
"codeName" : "IBIZUNIProductType"
}
}, {
"dataType" : 25,
"name" : "srfmajortext",
"getPSAppDEField" : {
"name" : "IBIZUNIPRODUCTNAME",
"codeName" : "IBIZUNIProductName"
}
} ],
"getPSDEGridEditItems" : [ {
"caption" : "统一产品标识",
"codeName" : "srfkey",
"enableCond" : 3,
"ignoreInput" : 0,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "IBIZUNIPRODUCTID",
"codeName" : "IBIZUNIProductId"
},
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "srfkey"
},
"allowEmpty" : true
} ],
"pagingSize" : 10,
"getRemovePSControlAction" : {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.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" : "grid",
"modelid" : "3ce6c3c914fe962b15249a4d2b16bbd2",
"modeltype" : "PSDEGRID"
} ],
"getPSDEViewCodeName" : "SGridView_layout",
"getPSDEViewId" : "851BFBF3-DD5F-461D-934A-8007D7A0F334",
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPDEGRIDVIEW",
"controlType" : "VIEWLAYOUTPANEL",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
},
"getPSControlParam" : { },
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : true
}, },
"title" : "索引选择视图", "title" : "索引选择视图",
"getTitlePSLanguageRes" : { "getTitlePSLanguageRes" : {
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-602-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-605-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>
...@@ -1306,7 +1306,7 @@ ...@@ -1306,7 +1306,7 @@
<!--输出实体[IBIZUNIPRODUCT]数据结构 --> <!--输出实体[IBIZUNIPRODUCT]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizuniproduct-17-45"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizuniproduct-23-45">
<createTable tableName="T_IBIZUNIPRODUCT"> <createTable tableName="T_IBIZUNIPRODUCT">
<column name="UNITPRICE" remarks="" type="FLOAT"> <column name="UNITPRICE" remarks="" type="FLOAT">
</column> </column>
......
...@@ -199,7 +199,7 @@ ...@@ -199,7 +199,7 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZUNIPRODUCT]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZUNIPRODUCT]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizuniproduct-17-35" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizuniproduct-23-35" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZUNIPRODUCT"> <createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZUNIPRODUCT">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZUNIPRODUCTID], t1.[IBIZUNIPRODUCTNAME], t1.[IBIZUNIPRODUCTTYPE], t1.[UNIT], t1.[UNITPRICE], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZUNIPRODUCT] t1 ]]> <![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZUNIPRODUCTID], t1.[IBIZUNIPRODUCTNAME], t1.[IBIZUNIPRODUCTTYPE], t1.[UNIT], t1.[UNITPRICE], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZUNIPRODUCT] t1 ]]>
</createView> </createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册