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

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

上级 a934d774
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup39' viewname='ibizordersf1gridview'></app-alert-group> </div> <app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup39' viewname='ibizordersf1gridview'></app-alert-group> </div>
<div class='content-container'> <div class='content-container'>
<div style='margin-bottom: 6px;'> <div style='margin-bottom: 6px;'>
<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="订单名称" /> <i-input v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;padding-left: 24px' placeholder="订单名称" />
<div class='pull-right'> <div class='pull-right'>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
...@@ -36,13 +36,6 @@ ...@@ -36,13 +36,6 @@
</i-button> </i-button>
<div slot='content'>{{$t('TBB.TEXT.*.COPY', '拷贝')}}</div> <div slot='content'>{{$t('TBB.TEXT.*.COPY', '拷贝')}}</div>
</tooltip> </tooltip>
<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)">
<i class='fa fa-filter'></i>
<span class='caption'>{{'过滤'}}</span>
</i-button>
<div slot='content'>{{$t('TBB.TEXT.*.FILTER', '过滤')}}</div>
</tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem8' }, $event)"> <i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem8' }, $event)">
...@@ -109,23 +102,6 @@ ...@@ -109,23 +102,6 @@
</div> </div>
</div> </div>
</div> </div>
<view_searchform
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:pViewCtx="viewCtx"
:showBusyIndicator="true"
v-show="isExpandSearchForm"
loaddraftAction="FilterGetDraft"
loadAction="FilterGet"
name="searchform"
ref='searchform'
@search="searchform_search($event)"
@load="searchform_load($event)"
@save="searchform_save($event)"
@closeview="closeView($event)">
</view_searchform>
<view_grid <view_grid
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
...@@ -340,8 +316,8 @@ export default class IBIZOrderSF1GridViewBase extends Vue { ...@@ -340,8 +316,8 @@ export default class IBIZOrderSF1GridViewBase extends Vue {
* @memberof IBIZOrderSF1GridViewBase * @memberof IBIZOrderSF1GridViewBase
*/ */
public containerModel: any = { public containerModel: any = {
view_searchform2: { name: 'searchform2', type: 'SEARCHFORM' },
view_grid: { name: 'grid', type: 'GRID' }, view_grid: { name: 'grid', type: 'GRID' },
view_searchform: { name: 'searchform', type: 'SEARCHFORM' },
view_toolbar: { name: 'toolbar', type: 'TOOLBAR' }, view_toolbar: { name: 'toolbar', type: 'TOOLBAR' },
wflinks: [], wflinks: [],
}; };
...@@ -406,8 +382,6 @@ export default class IBIZOrderSF1GridViewBase extends Vue { ...@@ -406,8 +382,6 @@ export default class IBIZOrderSF1GridViewBase extends Vue {
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } }, 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: { } }, 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' } }, tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -457,7 +431,6 @@ export default class IBIZOrderSF1GridViewBase extends Vue { ...@@ -457,7 +431,6 @@ export default class IBIZOrderSF1GridViewBase extends Vue {
this.newdata(args,fullargs, params, $event, xData); this.newdata(args,fullargs, params, $event, xData);
}, },
grid: this.$refs.grid, grid: this.$refs.grid,
searchform: this.$refs.searchform,
keyPSDEField: 'ibizorder', keyPSDEField: 'ibizorder',
majorPSDEField: 'ibizordername', majorPSDEField: 'ibizordername',
isLoadDefault: true, isLoadDefault: true,
...@@ -877,36 +850,6 @@ export default class IBIZOrderSF1GridViewBase extends Vue { ...@@ -877,36 +850,6 @@ export default class IBIZOrderSF1GridViewBase extends Vue {
public grid_beforeload($event: any, $event2?: any) { public grid_beforeload($event: any, $event2?: any) {
this.engine.onCtrlEvent('grid', 'beforeload', $event); this.engine.onCtrlEvent('grid', 'beforeload', $event);
} }
/**
* searchform 部件 search 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZOrderSF1GridViewBase
*/
public searchform_search($event: any, $event2?: any) {
this.engine.onCtrlEvent('searchform', 'search', $event);
}
/**
* searchform 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZOrderSF1GridViewBase
*/
public searchform_load($event: any, $event2?: any) {
this.engine.onCtrlEvent('searchform', 'load', $event);
}
/**
* searchform 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZOrderSF1GridViewBase
*/
public searchform_save($event: any, $event2?: any) {
this.engine.onCtrlEvent('searchform', 'save', $event);
}
/** /**
* toolbar 部件 click 事件 * toolbar 部件 click 事件
* *
......
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
import { Component } from 'vue-property-decorator'; import { Component } from 'vue-property-decorator';
import IBIZOrderSF1GridViewBase from './ibizorder-sf1-grid-view-base.vue'; import IBIZOrderSF1GridViewBase from './ibizorder-sf1-grid-view-base.vue';
import view_searchform2 from '@widgets/ibizorder/usr1121660606-searchform/usr1121660606-searchform.vue';
import view_grid from '@widgets/ibizorder/main-grid/main-grid.vue'; import view_grid from '@widgets/ibizorder/main-grid/main-grid.vue';
import view_searchform from '@widgets/ibizorder/uipart-0013-searchform/uipart-0013-searchform.vue';
// 基于 @VIEW/实体表格视图/VIEW.vue.ftl 生成 // 基于 @VIEW/实体表格视图/VIEW.vue.ftl 生成
@Component({ @Component({
components: { components: {
view_searchform2,
view_grid, view_grid,
view_searchform,
}, },
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
......
...@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
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 };
...@@ -1429,7 +1429,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1429,7 +1429,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/ */
public async loadDraft(opt: any = {}): Promise<any> { public async loadDraft(opt: any = {}): Promise<any> {
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 } ;
...@@ -1499,7 +1499,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1499,7 +1499,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});
...@@ -1607,7 +1607,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1607,7 +1607,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 });
...@@ -1815,7 +1815,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1815,7 +1815,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];
......
...@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
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 };
...@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public async loadDraft(opt: any = {}): Promise<any> { public async loadDraft(opt: any = {}): Promise<any> {
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 } ;
...@@ -1465,7 +1465,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1465,7 +1465,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});
...@@ -1573,7 +1573,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1573,7 +1573,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 });
...@@ -1781,7 +1781,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1781,7 +1781,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];
......
...@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
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 };
...@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {}): Promise<any> { public async loadDraft(opt: any = {}): Promise<any> {
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 } ;
...@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1569,7 +1569,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});
...@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1677,7 +1677,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 });
...@@ -1885,7 +1885,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1885,7 +1885,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];
......
...@@ -369,7 +369,7 @@ export default class GuideBase extends Vue implements ControlInterface { ...@@ -369,7 +369,7 @@ export default class GuideBase extends Vue implements ControlInterface {
* @type {Boolean} * @type {Boolean}
* @memberof GuideBase * @memberof GuideBase
*/ */
public isShowStepBar: Boolean = false ; public isShowStepBar: Boolean = true ;
/** /**
* 获取多项数据 * 获取多项数据
......
...@@ -11,7 +11,7 @@ export default class Usr2Model { ...@@ -11,7 +11,7 @@ export default class Usr2Model {
* 获取数据项集合 * 获取数据项集合
* *
* @returns {any[]} * @returns {any[]}
* @memberof Usr2DataViewMode * @memberof Usr2Dataviewexpbar_dataviewMode
*/ */
public getDataItems(): any[] { public getDataItems(): any[] {
return [ return [
...@@ -43,17 +43,6 @@ export default class Usr2Model { ...@@ -43,17 +43,6 @@ export default class Usr2Model {
dataType: 'FONTKEY', dataType: 'FONTKEY',
}, },
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -100,27 +100,6 @@ export default class MainModel { ...@@ -100,27 +100,6 @@ export default class MainModel {
name: 'ibizorder', name: 'ibizorder',
prop: 'ibizorderid', prop: 'ibizorderid',
}, },
{
name: 'n_ibizordername_like',
prop: 'n_ibizordername_like',
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',
prop:'size', prop:'size',
......
...@@ -85,6 +85,26 @@ export default class PluginGridColumnModel { ...@@ -85,6 +85,26 @@ export default class PluginGridColumnModel {
name: 'ibizorder', name: 'ibizorder',
prop: 'ibizorderid', prop: 'ibizorderid',
}, },
{
name: 'n_ibizcustomername_like',
prop: 'n_ibizcustomername_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_ibizordername_like',
prop: 'n_ibizordername_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_orderstate_eq',
prop: 'n_orderstate_eq',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_gtandeq',
prop: 'n_ordertime_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -785,7 +785,7 @@ export default class UIPART_0013Base extends Vue implements ControlInterface { ...@@ -785,7 +785,7 @@ export default class UIPART_0013Base 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: 'IBIZOrderSF1GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF20GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -821,7 +821,7 @@ export default class UIPART_0013Base extends Vue implements ControlInterface { ...@@ -821,7 +821,7 @@ export default class UIPART_0013Base extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF20GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -26,6 +26,26 @@ export default class Usr1121660606Model { ...@@ -26,6 +26,26 @@ export default class Usr1121660606Model {
prop: 'srffrontuf', prop: 'srffrontuf',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'n_ibizcustomername_like',
prop: 'ibizcustomername',
dataType: 'PICKUPTEXT',
},
{
name: 'n_ibizordername_like',
prop: 'ibizordername',
dataType: 'TEXT',
},
{
name: 'n_orderstate_eq',
prop: 'orderstate',
dataType: 'SSCODELIST',
},
{
name: 'n_ordertime_gtandeq',
prop: 'ordertime',
dataType: 'DATE',
},
] ]
} }
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
"columnCount" : 24, "columnCount" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderSF1GridView/psappviewctrls/searchform", "rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderSF20GridView/psappviewctrls/searchform",
"searchButtonStyle" : "DEFAULT", "searchButtonStyle" : "DEFAULT",
"tabHeaderPos" : "TOP", "tabHeaderPos" : "TOP",
"enableAdvanceSearch" : false, "enableAdvanceSearch" : false,
......
...@@ -3,21 +3,39 @@ ...@@ -3,21 +3,39 @@
"controlType" : "SEARCHFORM", "controlType" : "SEARCHFORM",
"defaultLabelWidth" : 130, "defaultLabelWidth" : 130,
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder/PSSEARCHFORMS/Usr1121660606.json", "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder/PSSEARCHFORMS/Usr1121660606.json",
"hookEventNames" : [ "SEARCH", "LOAD", "SAVE" ],
"logicName" : "表格插件示例视图_搜索表单", "logicName" : "表格插件示例视图_搜索表单",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDER/psdeform_searchforms/Usr1121660606", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDER/psdeform_searchforms/Usr1121660606",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
}, },
"getPSControlLogics" : [ { "getPSDEFormItems" : [ {
"eventNames" : "SEARCH;LOAD;SAVE", "id" : "n_ibizcustomername_like",
"logicTag" : "searchform", "dataType" : 25,
"logicType" : "APPVIEWENGINE", "getPSAppDEField" : {
"name" : "engine_searchform", "name" : "IBIZCUSTOMERNAME",
"getPSAppViewEngine" : { "codeName" : "IBIZCustomerName"
"modelref" : true, }
"id" : "engine" }, {
"id" : "n_ibizordername_like",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZORDERNAME",
"codeName" : "IBIZOrderName"
}
}, {
"id" : "n_orderstate_eq",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "ORDERSTATE",
"codeName" : "OrderState"
}
}, {
"id" : "n_ordertime_gtandeq",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "ORDERTIME",
"codeName" : "OrderTime"
} }
} ], } ],
"getPSDEFormPages" : [ { "getPSDEFormPages" : [ {
...@@ -27,6 +45,162 @@ ...@@ -27,6 +45,162 @@
"detailType" : "FORMPAGE", "detailType" : "FORMPAGE",
"mOSFilePath" : "psdeformdetail_formpages/formpage1", "mOSFilePath" : "psdeformdetail_formpages/formpage1",
"name" : "formpage1", "name" : "formpage1",
"getPSDEFormDetails" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFSFITEM.IBIZORDER.N_IBIZCUSTOMERNAME_LIKE",
"mOSFilePath" : "pslanguageres/Auto172",
"rTMOSFilePath" : "pslanguageres/Auto172"
},
"caption" : "客户名称(文本包含(%))",
"codeName" : "n_ibizcustomername_like",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/n_ibizcustomername_like",
"name" : "n_ibizcustomername_like",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "IBIZCUSTOMERNAME",
"codeName" : "IBIZCustomerName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"editorWidth" : 100.0,
"name" : "n_ibizcustomername_like"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/n_ibizcustomername_like",
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFSFITEM.IBIZORDER.N_IBIZORDERNAME_LIKE",
"mOSFilePath" : "pslanguageres/Auto338",
"rTMOSFilePath" : "pslanguageres/Auto338"
},
"caption" : "订单名称(文本包含(%))",
"codeName" : "n_ibizordername_like",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/n_ibizordername_like",
"name" : "n_ibizordername_like",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "IBIZORDERNAME",
"codeName" : "IBIZOrderName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"editorWidth" : 100.0,
"name" : "n_ibizordername_like"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/n_ibizordername_like",
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFSFITEM.IBIZORDER.N_ORDERSTATE_EQ",
"mOSFilePath" : "pslanguageres/Auto754",
"rTMOSFilePath" : "pslanguageres/Auto754"
},
"caption" : "订单状态(等于(=))",
"codeName" : "n_orderstate_eq",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/n_orderstate_eq",
"name" : "n_orderstate_eq",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "ORDERSTATE",
"codeName" : "OrderState"
},
"getPSEditor" : {
"editorType" : "DROPDOWNLIST",
"editorWidth" : 100.0,
"name" : "n_orderstate_eq",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/ORDERSTATE.json"
},
"singleSelect" : true
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/n_orderstate_eq",
"allowEmpty" : true,
"needCodeListConfig" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTIME_GTANDEQ",
"mOSFilePath" : "pslanguageres/Auto784",
"rTMOSFilePath" : "pslanguageres/Auto784"
},
"caption" : "订单时间(大于等于(>=))",
"codeName" : "n_ordertime_gtandeq",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/n_ordertime_gtandeq",
"name" : "n_ordertime_gtandeq",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "ORDERTIME",
"codeName" : "OrderTime"
},
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD"
},
"editorType" : "DATEPICKEREX_NOTIME",
"editorWidth" : 100.0,
"name" : "n_ordertime_gtandeq"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/n_ordertime_gtandeq",
"valueFormat" : "YYYY-MM-DD",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : { "getPSLayout" : {
"childColLG" : -1, "childColLG" : -1,
"childColMD" : 24, "childColMD" : 24,
...@@ -46,7 +220,7 @@ ...@@ -46,7 +220,7 @@
"columnCount" : 24, "columnCount" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderPluginExGridView/psappviewctrls/searchform", "rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderSF1GridView/psappviewctrls/searchform2",
"searchButtonStyle" : "DEFAULT", "searchButtonStyle" : "DEFAULT",
"tabHeaderPos" : "TOP", "tabHeaderPos" : "TOP",
"enableAdvanceSearch" : false, "enableAdvanceSearch" : false,
......
...@@ -1555,6 +1555,35 @@ ...@@ -1555,6 +1555,35 @@
"showBusyIndicator" : true, "showBusyIndicator" : true,
"id" : "SEARCHFORM" "id" : "SEARCHFORM"
}, },
"getPSDEFormItems" : [ {
"id" : "n_ibizcustomername_like",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZCUSTOMERNAME",
"codeName" : "IBIZCustomerName"
}
}, {
"id" : "n_ibizordername_like",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZORDERNAME",
"codeName" : "IBIZOrderName"
}
}, {
"id" : "n_orderstate_eq",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "ORDERSTATE",
"codeName" : "OrderState"
}
}, {
"id" : "n_ordertime_gtandeq",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "ORDERTIME",
"codeName" : "OrderTime"
}
} ],
"getPSDEFormPages" : [ { "getPSDEFormPages" : [ {
"caption" : "常规条件", "caption" : "常规条件",
"codeName" : "formpage1", "codeName" : "formpage1",
...@@ -1562,6 +1591,162 @@ ...@@ -1562,6 +1591,162 @@
"detailType" : "FORMPAGE", "detailType" : "FORMPAGE",
"mOSFilePath" : "psdeformdetail_formpages/formpage1", "mOSFilePath" : "psdeformdetail_formpages/formpage1",
"name" : "formpage1", "name" : "formpage1",
"getPSDEFormDetails" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFSFITEM.IBIZORDER.N_IBIZCUSTOMERNAME_LIKE",
"mOSFilePath" : "pslanguageres/Auto172",
"rTMOSFilePath" : "pslanguageres/Auto172"
},
"caption" : "客户名称(文本包含(%))",
"codeName" : "n_ibizcustomername_like",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/n_ibizcustomername_like",
"name" : "n_ibizcustomername_like",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "IBIZCUSTOMERNAME",
"codeName" : "IBIZCustomerName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"editorWidth" : 100.0,
"name" : "n_ibizcustomername_like"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/n_ibizcustomername_like",
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFSFITEM.IBIZORDER.N_IBIZORDERNAME_LIKE",
"mOSFilePath" : "pslanguageres/Auto338",
"rTMOSFilePath" : "pslanguageres/Auto338"
},
"caption" : "订单名称(文本包含(%))",
"codeName" : "n_ibizordername_like",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/n_ibizordername_like",
"name" : "n_ibizordername_like",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "IBIZORDERNAME",
"codeName" : "IBIZOrderName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"editorWidth" : 100.0,
"name" : "n_ibizordername_like"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/n_ibizordername_like",
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFSFITEM.IBIZORDER.N_ORDERSTATE_EQ",
"mOSFilePath" : "pslanguageres/Auto754",
"rTMOSFilePath" : "pslanguageres/Auto754"
},
"caption" : "订单状态(等于(=))",
"codeName" : "n_orderstate_eq",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/n_orderstate_eq",
"name" : "n_orderstate_eq",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "ORDERSTATE",
"codeName" : "OrderState"
},
"getPSEditor" : {
"editorType" : "DROPDOWNLIST",
"editorWidth" : 100.0,
"name" : "n_orderstate_eq",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/ORDERSTATE.json"
},
"singleSelect" : true
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/n_orderstate_eq",
"allowEmpty" : true,
"needCodeListConfig" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTIME_GTANDEQ",
"mOSFilePath" : "pslanguageres/Auto784",
"rTMOSFilePath" : "pslanguageres/Auto784"
},
"caption" : "订单时间(大于等于(>=))",
"codeName" : "n_ordertime_gtandeq",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/n_ordertime_gtandeq",
"name" : "n_ordertime_gtandeq",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "ORDERTIME",
"codeName" : "OrderTime"
},
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD"
},
"editorType" : "DATEPICKEREX_NOTIME",
"editorWidth" : 100.0,
"name" : "n_ordertime_gtandeq"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/n_ordertime_gtandeq",
"valueFormat" : "YYYY-MM-DD",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : { "getPSLayout" : {
"childColLG" : -1, "childColLG" : -1,
"childColMD" : 24, "childColMD" : 24,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册