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

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

上级 a310d6fd
......@@ -2281,6 +2281,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("拷贝",null),
tip: commonLogic.appcommonhandle("拷贝",null),
},
deuiaction3: {
caption: commonLogic.appcommonhandle("过滤",null),
tip: commonLogic.appcommonhandle("过滤",null),
},
tbitem7: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
......
......@@ -2281,6 +2281,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("Copy",null),
tip: commonLogic.appcommonhandle("Copy {0}",null),
},
deuiaction3: {
caption: commonLogic.appcommonhandle("Filter",null),
tip: commonLogic.appcommonhandle("Filter",null),
},
tbitem7: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
......
......@@ -2281,6 +2281,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("拷贝",null),
tip: commonLogic.appcommonhandle("拷贝",null),
},
deuiaction3: {
caption: commonLogic.appcommonhandle("过滤",null),
tip: commonLogic.appcommonhandle("过滤",null),
},
tbitem7: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
......
......@@ -30,6 +30,13 @@
</i-button>
<div slot='content'>{{$t('entities.ibizorder.sgridviewtoolbar_toolbar.tbitem6.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class=' srfactionlevel100' v-button-loading:i-button @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizorder.sgridviewtoolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorder.sgridviewtoolbar_toolbar.deuiaction3.tip')}}</div>
</tooltip>
<span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class=' srfactionlevel100' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem8' }, $event)">
......@@ -99,6 +106,17 @@
<app-quick-group :items="quickGroupModel" @valuechange="quickGroupValueChange"></app-quick-group>
<i-input v-model="query" class='quick-search-input' @on-enter="onSearch($event)" placeholder="订单名称" />
</template>
<view_searchbar
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:pViewCtx="viewCtx"
v-show="isExpandSearchForm"
@search="onSearch($event)"
name="searchbar"
ref='searchbar'
@closeview="closeView($event)">
</view_searchbar>
<template #default>
<view_grid
:viewState="viewState"
......@@ -313,6 +331,7 @@ export default class IBIZOrderSGridViewBase extends Vue {
* @memberof IBIZOrderSGridViewBase
*/
public containerModel: any = {
view_searchbar: { name: 'searchbar', type: 'SEARCHBAR' },
view_toolbar: { name: 'toolbar', type: 'TOOLBAR' },
view_grid: { name: 'grid', type: 'GRID' },
wflinks: [],
......@@ -378,6 +397,8 @@ export default class IBIZOrderSGridViewBase extends Vue {
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '过滤', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
......
......@@ -2,11 +2,13 @@
import { Component } from 'vue-property-decorator';
import IBIZOrderSGridViewBase from './ibizorder-sgrid-view-base.vue';
import view_searchbar from '@widgets/ibizorder/searchbar-searchbar/searchbar-searchbar.vue';
import view_grid from '@widgets/ibizorder/main-grid/main-grid.vue';
// 基于 @VIEW/实体表格视图/VIEW.vue.ftl 生成
@Component({
components: {
view_searchbar,
view_grid,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
......
......@@ -639,7 +639,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -675,7 +675,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -828,5 +828,4 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
<style lang='scss'>
@import './quicksearchform-searchform.scss';
</style>;
</style>
\ No newline at end of file
......@@ -698,7 +698,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
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;
}
const arg: any = {...opt};
......@@ -792,7 +792,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
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;
}
let _datas:any[] = [];
......@@ -908,7 +908,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try {
if(Object.is(item.rowDataState, 'create')){
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{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -916,7 +916,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
}
}else if(Object.is(item.rowDataState, 'update')){
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{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......
......@@ -70,11 +70,6 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
......
......@@ -1314,7 +1314,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerUsr3EditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerMediaTestEditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1366,7 +1366,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerUsr3EditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerMediaTestEditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1436,7 +1436,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerUsr3EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerMediaTestEditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1544,7 +1544,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerUsr3EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerMediaTestEditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1742,7 +1742,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerUsr3EditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerMediaTestEditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -933,7 +933,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) {
this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderDetailSGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
desc: "IBIZOrderDetailSGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
});
return;
}
......@@ -1073,7 +1073,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string)
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
});
return;
}
......@@ -1187,7 +1187,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public addBatch(arg: any = {}): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2082,7 +2082,7 @@ export default class MainBase extends Vue implements ControlInterface {
try {
if (Object.is(item.rowDataState, 'create')) {
if (!this.createAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2091,7 +2091,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}else if (Object.is(item.rowDataState, 'update')){
if (!this.updateAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2167,7 +2167,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
});
return;
}
......
// 基于 @CONTROL/搜索栏/MODEL.ts.ftl 生成
/**
* Searchbar 部件模型
*
* @export
* @class SearchbarModel
*/
export default class SearchbarModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof SearchbarSearchbarMode
*/
public getDataItems(): any[] {
return [
]
}
}
\ No newline at end of file
// 基于 @CONTROL/搜索栏/SERVICE.ts.ftl 生成
import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service';
import IBIZOrderService from '@/service/ibizorder/ibizorder-service';
import SearchbarModel from './searchbar-searchbar-model';
import UtilService from '@/utilservice/util-service';
/**
* Searchbar 部件服务对象
*
* @export
* @class SearchbarService
*/
export default class SearchbarService extends ControlService {
/**
* 订单服务对象
*
* @type {IBIZOrderService}
* @memberof SearchbarService
*/
public appEntityService: IBIZOrderService = new IBIZOrderService();
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof SearchbarService
*/
public setTempMode(){
this.isTempMode = false;
}
/**
* Creates an instance of SearchbarService.
*
* @param {*} [opts={}]
* @memberof SearchbarService
*/
constructor(opts: any = {}) {
super(opts);
this.model = new SearchbarModel();
}
/**
* 工具服务对象
*
* @protected
* @type {UtilService}
* @memberof SearchbarService
*/
protected utilService: UtilService = new UtilService();
/**
* 加载数据模型
*
* @param {string} serviceName
* @param {*} context
* @param {*} viewparams
* @memberof SearchbarService
*/
public loadModel(serviceName: string, context: any, viewparams: any) {
return new Promise((resolve: any, reject: any) => {
this.utilService.getService(serviceName).then((service: any) => {
service.loadModelData(JSON.stringify(context), viewparams).then((response: any) => {
resolve(response);
}).catch((response: any) => {
reject(response);
});
}).catch((response: any) => {
reject(response);
});
});
}
/**
* 保存模型
*
* @param {string} serviceName
* @param {*} context
* @param {*} viewparams
* @returns
* @memberof SearchbarService
*/
public saveModel(serviceName: string, context: any, viewparams: any) {
return new Promise((resolve: any, reject: any) => {
this.utilService.getService(serviceName).then((service: any) => {
service.saveModelData(JSON.stringify(context), '', viewparams).then((response: any) => {
resolve(response);
}).catch((response: any) => {
reject(response);
});
}).catch((response: any) => {
reject(response);
});
});
}
}
\ No newline at end of file
// 基于 @CONTROL/搜索栏/CONTROL.scss.ftl 生成
.search-bar-footer {
height: 32px;
margin-bottom: 6px;
.search-bar-action {
float: right;
display: flex;
align-items: center;
> * {
margin-left: 5px;
.save-action {
text-align: right;
margin-top: 10px;
> * {
margin-left: 5px;
}
}
}
}
}
// this is scss
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import SearchbarBase from './searchbar-searchbar-base.vue';
// 基于 @CONTROL/搜索栏/CONTROL.vue.ftl 生成
@Component({
components: {
}
})
export default class Searchbar extends SearchbarBase {
}
</script>
\ No newline at end of file
{
"codeName" : "searchbar",
"controlType" : "SEARCHBAR",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder/PSSEARCHBARS/searchbar.json",
"logicName" : "常规搜索栏",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDER/pssyssearchbars/searchbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getPSSearchBarFilters" : [ {
"dataType" : 25,
"itemType" : "FILTER",
"labelPos" : "NONE",
"labelWidth" : 0,
"name" : "filter",
"getPSAppDEField" : {
"name" : "ORDERUID",
"codeName" : "OrderUID"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "filter"
},
"addSeparator" : true,
"allowEmpty" : true,
"emptyCaption" : false,
"hidden" : false,
"showCaption" : false
}, {
"dataType" : 25,
"itemType" : "FILTER",
"labelPos" : "NONE",
"labelWidth" : 0,
"name" : "filter2",
"getPSAppDEField" : {
"name" : "IBIZORDERNAME",
"codeName" : "IBIZOrderName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "filter2"
},
"allowEmpty" : true,
"emptyCaption" : false,
"hidden" : false,
"showCaption" : false
}, {
"dataType" : 5,
"itemType" : "FILTER",
"labelPos" : "NONE",
"labelWidth" : 0,
"name" : "filter3",
"getPSAppDEField" : {
"name" : "ORDERTIME",
"codeName" : "OrderTime"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "filter3"
},
"allowEmpty" : true,
"emptyCaption" : false,
"hidden" : false,
"showCaption" : false
} ],
"quickGroupCount" : -1,
"quickSearchMode" : 1,
"quickSearchWidth" : 0,
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderSGridView/psappviewctrls/searchbar",
"enableFilter" : true,
"enableGroup" : false,
"enableQuickSearch" : true,
"mobileSearchBar" : false,
"modelid" : "C200F1B8-4D4A-4FC7-AE5E-86FDD1C703C7",
"modeltype" : "PSSYSSEARCHBAR"
}
\ No newline at end of file
......@@ -460,6 +460,86 @@
"xDataControlName" : "grid"
} ],
"getPSControls" : [ {
"codeName" : "searchbar",
"controlType" : "SEARCHBAR",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder/PSSEARCHBARS/searchbar.json",
"logicName" : "常规搜索栏",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDER/pssyssearchbars/searchbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getPSControlParam" : {
"id" : "SEARCHBAR"
},
"getPSSearchBarFilters" : [ {
"dataType" : 25,
"itemType" : "FILTER",
"labelPos" : "NONE",
"labelWidth" : 0,
"name" : "filter",
"getPSAppDEField" : {
"name" : "ORDERUID",
"codeName" : "OrderUID"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "filter"
},
"addSeparator" : true,
"allowEmpty" : true,
"emptyCaption" : false,
"hidden" : false,
"showCaption" : false
}, {
"dataType" : 25,
"itemType" : "FILTER",
"labelPos" : "NONE",
"labelWidth" : 0,
"name" : "filter2",
"getPSAppDEField" : {
"name" : "IBIZORDERNAME",
"codeName" : "IBIZOrderName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "filter2"
},
"allowEmpty" : true,
"emptyCaption" : false,
"hidden" : false,
"showCaption" : false
}, {
"dataType" : 5,
"itemType" : "FILTER",
"labelPos" : "NONE",
"labelWidth" : 0,
"name" : "filter3",
"getPSAppDEField" : {
"name" : "ORDERTIME",
"codeName" : "OrderTime"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "filter3"
},
"allowEmpty" : true,
"emptyCaption" : false,
"hidden" : false,
"showCaption" : false
} ],
"quickGroupCount" : -1,
"quickSearchMode" : 1,
"quickSearchWidth" : 0,
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderSGridView/psappviewctrls/searchbar",
"enableFilter" : true,
"enableGroup" : false,
"enableQuickSearch" : true,
"mobileSearchBar" : false,
"name" : "searchbar",
"modelid" : "C200F1B8-4D4A-4FC7-AE5E-86FDD1C703C7",
"modeltype" : "PSSYSSEARCHBAR"
}, {
"codeName" : "SGridViewtoolbar",
"controlType" : "TOOLBAR",
"hookEventNames" : [ "CLICK" ],
......@@ -824,6 +904,62 @@
},
"showCaption" : true,
"showIcon" : false
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.FILTER",
"mOSFilePath" : "pslanguageres/Auto1437",
"rTMOSFilePath" : "pslanguageres/Auto1437"
},
"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" : {
"lanResTag" : "TBB.TEXT.*.FILTER",
"mOSFilePath" : "pslanguageres/Auto1437",
"rTMOSFilePath" : "pslanguageres/Auto1437"
},
"caption" : "过滤",
"codeName" : "ToggleFilter",
"fullCodeName" : "ToggleFilter",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleFilter",
"name" : "表格界面_搜索栏",
"getPSSysImage" : {
"glyph" : "xf0b0@FontAwesome",
"cssClass" : "fa fa-filter"
},
"predefinedType" : "GRIDVIEW_SEARCHBAR",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleFilter",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.FILTER",
"mOSFilePath" : "pslanguageres/Auto796",
"rTMOSFilePath" : "pslanguageres/Auto796"
},
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleFilter",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"tooltip" : "过滤",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.FILTER",
"mOSFilePath" : "pslanguageres/Auto796",
"rTMOSFilePath" : "pslanguageres/Auto796"
},
"enableToggleMode" : true,
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "tbitem7",
......@@ -1665,11 +1801,12 @@
"xDataControlName" : "grid",
"enableDP" : true,
"enableExport" : true,
"enableFilter" : false,
"enableFilter" : true,
"enableImport" : true,
"enableQuickGroup" : true,
"enableQuickSearch" : true,
"enableRowEdit" : false,
"enableSearch" : true,
"rowEditDefault" : false,
"showCaptionBar" : false,
"modelid" : "1a7578c0b5f8a1107d0fe9c2dc51f314",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册