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

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

上级 3e176d5a
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,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>
...@@ -864,15 +863,6 @@ export default class IBIZBOOKCustomView_layoutBase extends Vue { ...@@ -864,15 +863,6 @@ export default class IBIZBOOKCustomView_layoutBase extends Vue {
}) })
} }
/**
* grid 部件 打印选中数据 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKCustomView_layoutBase
*/
public grid_打印选中数据($event: any, $event2?: any) {
}
/** /**
* grid 部件 onselectionchange 事件 * grid 部件 onselectionchange 事件
* *
......
...@@ -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>
...@@ -869,15 +868,6 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue { ...@@ -869,15 +868,6 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue {
}) })
} }
/**
* grid 部件 打印选中数据 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKGridLoadCustomViewBase
*/
public grid_打印选中数据($event: any, $event2?: any) {
}
/** /**
* grid 部件 onselectionchange 事件 * grid 部件 onselectionchange 事件
* *
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
fetchAction="FetchDefault" fetchAction="FetchDefault"
name="meditviewpanel" name="meditviewpanel"
ref='meditviewpanel' ref='meditviewpanel'
@打印选中数据="meditviewpanel_打印选中数据($event)"
@onselectionchange="meditviewpanel_onselectionchange($event)" @onselectionchange="meditviewpanel_onselectionchange($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_meditviewpanel> </view_meditviewpanel>
...@@ -623,15 +622,6 @@ export default class IBIZBOOKMEditView9Base extends Vue { ...@@ -623,15 +622,6 @@ export default class IBIZBOOKMEditView9Base extends Vue {
} }
} }
/**
* meditviewpanel 部件 打印选中数据 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKMEditView9Base
*/
public meditviewpanel_打印选中数据($event: any, $event2?: any) {
}
/** /**
* meditviewpanel 部件 onselectionchange 事件 * meditviewpanel 部件 onselectionchange 事件
* *
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
fetchAction="FetchDefault" fetchAction="FetchDefault"
name="meditviewpanel" name="meditviewpanel"
ref='meditviewpanel' ref='meditviewpanel'
@打印选中数据="meditviewpanel_打印选中数据($event)"
@onselectionchange="meditviewpanel_onselectionchange($event)" @onselectionchange="meditviewpanel_onselectionchange($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_meditviewpanel> </view_meditviewpanel>
...@@ -837,15 +836,6 @@ export default class IBIZBOOKUsr2MEditView9_layoutBase extends Vue { ...@@ -837,15 +836,6 @@ export default class IBIZBOOKUsr2MEditView9_layoutBase extends Vue {
}) })
} }
/**
* meditviewpanel 部件 打印选中数据 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKUsr2MEditView9_layoutBase
*/
public meditviewpanel_打印选中数据($event: any, $event2?: any) {
}
/** /**
* meditviewpanel 部件 onselectionchange 事件 * meditviewpanel 部件 onselectionchange 事件
* *
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
fetchAction="FetchDefault" fetchAction="FetchDefault"
name="meditviewpanel" name="meditviewpanel"
ref='meditviewpanel' ref='meditviewpanel'
@打印选中数据="meditviewpanel_打印选中数据($event)"
@onselectionchange="meditviewpanel_onselectionchange($event)" @onselectionchange="meditviewpanel_onselectionchange($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_meditviewpanel> </view_meditviewpanel>
...@@ -623,15 +622,6 @@ export default class IBIZBOOKUsr2MEditView9Base extends Vue { ...@@ -623,15 +622,6 @@ export default class IBIZBOOKUsr2MEditView9Base extends Vue {
} }
} }
/**
* meditviewpanel 部件 打印选中数据 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKUsr2MEditView9Base
*/
public meditviewpanel_打印选中数据($event: any, $event2?: any) {
}
/** /**
* meditviewpanel 部件 onselectionchange 事件 * meditviewpanel 部件 onselectionchange 事件
* *
......
...@@ -267,7 +267,7 @@ export default class AppLoginViewBase extends Vue { ...@@ -267,7 +267,7 @@ export default class AppLoginViewBase extends Vue {
auth_verificationcode:{ name: 'auth_verificationcode', type: 'VIEWLAYOUT', caption: '短信验证码', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: 'AUTH_VERIFICATIONCODE', dataItemName:'', }, auth_verificationcode:{ name: 'auth_verificationcode', type: 'VIEWLAYOUT', caption: '短信验证码', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: 'AUTH_VERIFICATIONCODE', dataItemName:'', },
auth_sso1:{ name: 'auth_sso1', type: 'VIEWLAYOUT', caption: '第三方登陆', isShowCaption: true, sysCss: '', itemType: 'USERCONTROL', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this }, auth_sso1:{ name: 'auth_sso1', type: 'VIEWLAYOUT', caption: '第三方登陆', isShowCaption: true, sysCss: '', itemType: 'USERCONTROL', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this },
auth_logout1:{ name: 'auth_logout1', type: 'VIEWLAYOUT', caption: '登出', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , buttonStyle: 'DEFAULT', borderStyle: '', iconAlign: '', uiAction: { actiontarget: '', noprivdisplaymode: '2', dataaccaction: '', visabled: true, disabled: false }, predefinedType: 'APP_LOGOUT', renderMode: '', }, auth_logout1:{ name: 'auth_logout1', type: 'VIEWLAYOUT', caption: '登出', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , buttonStyle: 'DEFAULT', borderStyle: '', iconAlign: '', uiAction: { actiontarget: '', noprivdisplaymode: '2', dataaccaction: '', visabled: true, disabled: false }, predefinedType: 'APP_LOGOUT', renderMode: '', },
container1:{ name: 'container1', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:600, heightMode:'PX', layoutWidth:450, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'CENTER', vAlignSelf:'MIDDLE', flexGrow:-1, flexParams:{align:'',dir:'column',vAlign:''}, parentName: 'page_container', panel: this , details:['auth_orgpick','userid','auth_password','container2','auth_loginmsg','auth_captcha1','auth_verificationcode','auth_sso1','auth_logout1'] , dataRegionType: 'INHERIT' }, container1:{ name: 'container1', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: 'login-bg', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:600, heightMode:'PX', layoutWidth:450, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'CENTER', vAlignSelf:'MIDDLE', flexGrow:-1, flexParams:{align:'',dir:'column',vAlign:''}, parentName: 'page_container', panel: this , details:['auth_orgpick','userid','auth_password','container2','auth_loginmsg','auth_captcha1','auth_verificationcode','auth_sso1','auth_logout1'] , dataRegionType: 'INHERIT' },
page_container:{ name: 'page_container', type: 'VIEWLAYOUT', caption: '图片背景容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', sysImage:{ iconcls: '', imagePath:'/assets/img/login_bg.png', rawContent: '' }, visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:100, heightMode:'PERCENTAGE', layoutWidth:100, widthMode:'PERCENTAGE', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['container1'] , dataRegionType: 'INHERIT' } page_container:{ name: 'page_container', type: 'VIEWLAYOUT', caption: '图片背景容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', sysImage:{ iconcls: '', imagePath:'/assets/img/login_bg.png', rawContent: '' }, visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:100, heightMode:'PERCENTAGE', layoutWidth:100, widthMode:'PERCENTAGE', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['container1'] , dataRegionType: 'INHERIT' }
}; };
......
.app-login-view { .app-login-view {
display: block; display: block;
} }
.login-bg {
background-color: #ffffff;
}
.greenToolBar {color:white !important;background-color:rgba(0, 166, 90, 0.7) !important;} .greenToolBar {color:white !important;background-color:rgba(0, 166, 90, 0.7) !important;}
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;} .deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......
...@@ -628,7 +628,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -628,7 +628,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: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -664,7 +664,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -664,7 +664,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: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -202,6 +202,9 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -202,6 +202,9 @@ export default class DefaultBase extends Vue implements ControlInterface {
const data = args && args.data ? args.data : this.getData() || {}; const data = args && args.data ? args.data : this.getData() || {};
const event = args && args.event ? args.event : {}; const event = args && args.event ? args.event : {};
let result: boolean = true; let result: boolean = true;
if ('search;load;save'.indexOf(eventName) !== -1) {
result = await this.execute_engine_searchform_ctrl_logic(data, event);
}
if (!result) { if (!result) {
return false; return false;
} }
...@@ -209,6 +212,17 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -209,6 +212,17 @@ export default class DefaultBase extends Vue implements ControlInterface {
return true; return true;
} }
/**
* 部件逻辑 -- engine_searchform
*
* @param {string} eventName 部件事件名称
* @param {any[]} data 数据
* @param {*} event 源事件对象
* @memberof DefaultBase
*/
public async execute_engine_searchform_ctrl_logic(data: any[], event?: any): Promise<boolean> {
return true;
}
...@@ -687,7 +701,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -687,7 +701,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -723,7 +737,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -723,7 +737,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -1318,7 +1318,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1318,7 +1318,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1353,7 +1353,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1353,7 +1353,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public loadDraft(opt: any = {}): void { public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1414,7 +1414,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1414,7 +1414,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1522,7 +1522,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1522,7 +1522,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1596,7 +1596,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1596,7 +1596,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -260,7 +260,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -260,7 +260,7 @@ export default class MainBase extends Vue implements ControlInterface {
const data = args && args.data ? args.data : this.getData() || {}; const data = args && args.data ? args.data : this.getData() || {};
const event = args && args.event ? args.event : {}; const event = args && args.event ? args.event : {};
let result: boolean = true; let result: boolean = true;
if ('打印选中数据'.indexOf(eventName) !== -1) { if ('onselectionchange'.indexOf(eventName) !== -1) {
result = await this.execute_printSelection_ctrl_logic(data, event); result = await this.execute_printSelection_ctrl_logic(data, event);
} }
if ('onselectionchange'.indexOf(eventName) !== -1) { if ('onselectionchange'.indexOf(eventName) !== -1) {
......
...@@ -176,7 +176,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -176,7 +176,7 @@ export default class MainBase extends Vue implements ControlInterface {
const data = args && args.data ? args.data : this.getData() || {}; const data = args && args.data ? args.data : this.getData() || {};
const event = args && args.event ? args.event : {}; const event = args && args.event ? args.event : {};
let result: boolean = true; let result: boolean = true;
if ('打印选中数据'.indexOf(eventName) !== -1) { if ('onselectionchange'.indexOf(eventName) !== -1) {
result = await this.execute_printSelection_ctrl_logic(data, event); result = await this.execute_printSelection_ctrl_logic(data, event);
} }
if ('onselectionchange'.indexOf(eventName) !== -1) { if ('onselectionchange'.indexOf(eventName) !== -1) {
......
...@@ -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) {
...@@ -365,7 +365,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -365,7 +365,7 @@ export default class MainBase extends Vue implements ControlInterface {
const data = args && args.data ? args.data : this.getData() || {}; const data = args && args.data ? args.data : this.getData() || {};
const event = args && args.event ? args.event : {}; const event = args && args.event ? args.event : {};
let result: boolean = true; let result: boolean = true;
if ('rowdblclick;selectionchange;load;beforeload'.indexOf(eventName) !== -1) { if ('rowdblclick;selectionchange;remove;load;beforeload'.indexOf(eventName) !== -1) {
result = await this.execute_engine_grid_ctrl_logic(data, event); result = await this.execute_engine_grid_ctrl_logic(data, event);
} }
if (!result) { if (!result) {
...@@ -451,6 +451,20 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -451,6 +451,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;
/** /**
* 是否嵌入关系界面 * 是否嵌入关系界面
...@@ -983,7 +997,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -983,7 +997,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){
...@@ -1078,7 +1092,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1078,7 +1092,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[] = [];
...@@ -1184,7 +1198,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1184,7 +1198,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){
...@@ -2101,7 +2115,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2101,7 +2115,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);
...@@ -2109,7 +2123,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2109,7 +2123,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){
...@@ -2176,7 +2190,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2176,7 +2190,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,14 +9,14 @@ ...@@ -9,14 +9,14 @@
"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",
......
...@@ -14,14 +14,14 @@ ...@@ -14,14 +14,14 @@
"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" : "meditviewpanel", "logicTag" : "meditviewpanel",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "printSelection", "name" : "printSelection",
......
...@@ -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,7 +297,7 @@ ...@@ -297,7 +297,7 @@
"id" : "数据表格处理器" "id" : "数据表格处理器"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventNames" : "打印选中数据", "eventNames" : "onSelectionChange",
"logicTag" : "grid", "logicTag" : "grid",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "printSelection", "name" : "printSelection",
......
...@@ -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,7 +297,7 @@ ...@@ -297,7 +297,7 @@
"id" : "数据表格处理器" "id" : "数据表格处理器"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventNames" : "打印选中数据", "eventNames" : "onSelectionChange",
"logicTag" : "grid", "logicTag" : "grid",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "printSelection", "name" : "printSelection",
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
"id" : "fetch" "id" : "fetch"
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据", "ONSELECTIONCHANGE" ], "hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格", "logicName" : "主表格",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
"id" : "数据表格处理器" "id" : "数据表格处理器"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventNames" : "打印选中数据", "eventNames" : "onSelectionChange",
"logicTag" : "meditviewpanel", "logicTag" : "meditviewpanel",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "printSelection", "name" : "printSelection",
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
"id" : "fetch" "id" : "fetch"
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据", "ONSELECTIONCHANGE" ], "hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格", "logicName" : "主表格",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
"id" : "数据表格处理器" "id" : "数据表格处理器"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventNames" : "打印选中数据", "eventNames" : "onSelectionChange",
"logicTag" : "meditviewpanel", "logicTag" : "meditviewpanel",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "printSelection", "name" : "printSelection",
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
"id" : "fetch" "id" : "fetch"
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据", "ONSELECTIONCHANGE" ], "hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格", "logicName" : "主表格",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
"id" : "数据表格处理器" "id" : "数据表格处理器"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventNames" : "打印选中数据", "eventNames" : "onSelectionChange",
"logicTag" : "meditviewpanel", "logicTag" : "meditviewpanel",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "printSelection", "name" : "printSelection",
......
...@@ -356,6 +356,9 @@ ...@@ -356,6 +356,9 @@
"tooltip" : "登出", "tooltip" : "登出",
"showCaption" : true "showCaption" : true
} ], } ],
"getPSSysCss" : {
"cssName" : "login-bg"
},
"width" : 450.0 "width" : 450.0
} ], } ],
"getPSSysImage" : { "getPSSysImage" : {
......
...@@ -52,6 +52,9 @@ ...@@ -52,6 +52,9 @@
.greenToolBar {color:white !important;background-color:rgba(0, 166, 90, 0.7) !important;} .greenToolBar {color:white !important;background-color:rgba(0, 166, 90, 0.7) !important;}
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;} .deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
.login-bg {
background-color: #ffffff;
}
.kanban-author { .kanban-author {
.item-field { .item-field {
font-style: italic; font-style: italic;
......
...@@ -455,6 +455,9 @@ ...@@ -455,6 +455,9 @@
"tooltip" : "登出", "tooltip" : "登出",
"showCaption" : true "showCaption" : true
} ], } ],
"getPSSysCss" : {
"cssName" : "login-bg"
},
"width" : 450.0 "width" : 450.0
} ], } ],
"getPSSysImage" : { "getPSSysImage" : {
......
...@@ -52,6 +52,9 @@ ...@@ -52,6 +52,9 @@
.greenToolBar {color:white !important;background-color:rgba(0, 166, 90, 0.7) !important;} .greenToolBar {color:white !important;background-color:rgba(0, 166, 90, 0.7) !important;}
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;} .deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
.login-bg {
background-color: #ffffff;
}
.kanban-author { .kanban-author {
.item-field { .item-field {
font-style: italic; font-style: italic;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册