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

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

上级 cee16896
...@@ -926,37 +926,44 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue { ...@@ -926,37 +926,44 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue {
* @memberof IBIZBOOKGridLoadCustomViewBase * @memberof IBIZBOOKGridLoadCustomViewBase
*/ */
public afterDestroyed(){ public afterDestroyed(){
if (this.viewDefaultUsage) { window.uiServiceRegister.getService('IBIZBOOK').then((service: any) => {
let localStoreLength = Object.keys(localStorage); service.executeUILogic('customViewDestroy', [], this.context, this.viewparams, {}, {}, this, 'IBIZBOOK').then((result: any) => {
if(localStoreLength.length > 0){ if (result && result.hasOwnProperty('srfret') && !result.srfret) {
localStoreLength.forEach((item:string) =>{ return;
if(item.startsWith(this.context.srfsessionid)){ }
localStorage.removeItem(item); if (this.viewDefaultUsage) {
let localStoreLength = Object.keys(localStorage);
if(localStoreLength.length > 0){
localStoreLength.forEach((item:string) =>{
if(item.startsWith(this.context.srfsessionid)){
localStorage.removeItem(item);
}
})
} }
if(Object.is(this.navModel,"tab")){
this.navDataService.removeNavDataByTag(this.viewtag);
}
}
if (this.serviceStateEvent) {
this.serviceStateEvent.unsubscribe();
}
// 销毁计数器定时器
if(this.counterServiceArray && this.counterServiceArray.length >0){
this.counterServiceArray.forEach((item:any) =>{
if(item.destroyCounter && item.destroyCounter instanceof Function){
item.destroyCounter();
}
}) })
} }
if(Object.is(this.navModel,"tab")){ if(this.portletStateEvent){
this.navDataService.removeNavDataByTag(this.viewtag); this.portletStateEvent.unsubscribe();
} }
} if (this.formDruipartEvent) {
if (this.serviceStateEvent) { this.formDruipartEvent.unsubscribe();
this.serviceStateEvent.unsubscribe(); }
} this.viewState.complete();
// 销毁计数器定时器 });
if(this.counterServiceArray && this.counterServiceArray.length >0){ });
this.counterServiceArray.forEach((item:any) =>{
if(item.destroyCounter && item.destroyCounter instanceof Function){
item.destroyCounter();
}
})
}
if(this.portletStateEvent){
this.portletStateEvent.unsubscribe();
}
if (this.formDruipartEvent) {
this.formDruipartEvent.unsubscribe();
}
this.viewState.complete();
} }
} }
......
...@@ -29,16 +29,22 @@ export default class GridViewLoadUILogicBase { ...@@ -29,16 +29,22 @@ export default class GridViewLoadUILogicBase {
* @memberof GridViewLoadUILogicBase * @memberof GridViewLoadUILogicBase
*/ */
protected logicParams: any[] = [ protected logicParams: any[] = [
{
name: '传入变量',
codeName: 'Default',
default: true,
entityParam: true,
},
{
name: '当前视图参数',
codeName: 'viewParam',
viewNavDataParam: true,
},
{ {
name: '当前搜索表单', name: '当前搜索表单',
codeName: 'searchForm', codeName: 'searchForm',
ctrlParam: true, ctrlParam: true,
}, },
{
name: '当前视图对象',
codeName: 'view',
activeViewParam: true,
},
{ {
name: '当前表格', name: '当前表格',
codeName: 'grid', codeName: 'grid',
...@@ -46,15 +52,9 @@ export default class GridViewLoadUILogicBase { ...@@ -46,15 +52,9 @@ export default class GridViewLoadUILogicBase {
ctrlParam: true, ctrlParam: true,
}, },
{ {
name: '传入变量', name: '当前视图对象',
codeName: 'Default', codeName: 'view',
default: true, activeViewParam: true,
entityParam: true,
},
{
name: '当前视图参数',
codeName: 'viewParam',
viewNavDataParam: true,
}, },
]; ];
...@@ -132,30 +132,30 @@ export default class GridViewLoadUILogicBase { ...@@ -132,30 +132,30 @@ export default class GridViewLoadUILogicBase {
} }
/** /**
* 绑定当前搜索表单 * 结束
* *
* @param {UIActionContext} actionContext 界面逻辑上下文 * @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridViewLoadUILogicBase * @memberof GridViewLoadUILogicBase
*/ */
protected async execute_bindparam1_node(actionContext: UIActionContext) { protected async execute_end1_node(actionContext: UIActionContext) {
try { const strReturnType: string = 'NONEVALUE';
// 源数据 if (Object.is(strReturnType, LogicReturnType.NONEVALUE) || Object.is(strReturnType, LogicReturnType.NULLVALUE)) {
const srcParam = actionContext.getParam('view'); actionContext.setResult(null);
// 目标数据 } else if (Object.is(strReturnType, LogicReturnType.SRCVALUE)) {
const dstParam = actionContext.getParam('searchForm'); actionContext.setResult('');
// 源属性 } else if (Object.is(strReturnType, LogicReturnType.BREAK)) {
const srcFieldName: string = 'searchform'; actionContext.setResult(LogicReturnType.BREAK);
if (srcFieldName) { } else if (Object.is(strReturnType, LogicReturnType.LOGICPARAM) || Object.is(strReturnType, LogicReturnType.LOGICPARAMFIELD)) {
dstParam.bind(srcParam.get(srcFieldName)); const returnParam = actionContext.getParam('');
if (Object.is(strReturnType, LogicReturnType.LOGICPARAM)) {
actionContext.setResult(returnParam.getReal());
} else { } else {
dstParam.bind(srcParam.getReal()); actionContext.setResult(returnParam.get(''));
} }
actionContext.bindLastReturnParam(null); } else {
} catch (error: any) { throw new Error(`无法识别的返回值类型${strReturnType}`);
throw new Error(`逻辑参数当前搜索表单 ${error && error.message ? error.message : '发生未知错误!'}`);
} }
console.log('已完成执行 绑定当前搜索表单 节点'); console.log('已完成执行 结束 节点');
await this.execute_viewctrlinvoke1_node(actionContext);
} }
/** /**
...@@ -164,9 +164,9 @@ export default class GridViewLoadUILogicBase { ...@@ -164,9 +164,9 @@ export default class GridViewLoadUILogicBase {
* @param {UIActionContext} actionContext 界面逻辑上下文 * @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridViewLoadUILogicBase * @memberof GridViewLoadUILogicBase
*/ */
protected async execute_viewctrlinvoke1_node(actionContext: UIActionContext) { protected async execute_viewctrlinvoke2_node(actionContext: UIActionContext) {
const invokeCtrl = 'searchForm'; const invokeCtrl = 'grid';
const invokeMethod = 'loadDraft'; const invokeMethod = 'load';
const invokeParam = 'viewParam'; const invokeParam = 'viewParam';
if (!invokeCtrl || !invokeMethod) { if (!invokeCtrl || !invokeMethod) {
throw new Error(`界面对象或者调用方法缺失`); throw new Error(`界面对象或者调用方法缺失`);
...@@ -186,7 +186,7 @@ export default class GridViewLoadUILogicBase { ...@@ -186,7 +186,7 @@ export default class GridViewLoadUILogicBase {
throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`); throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`);
} }
console.log('已完成执行 视图部件调用 节点'); console.log('已完成执行 视图部件调用 节点');
await this.execute_viewctrlinvoke2_node(actionContext); await this.execute_end1_node(actionContext);
} }
/** /**
...@@ -195,9 +195,9 @@ export default class GridViewLoadUILogicBase { ...@@ -195,9 +195,9 @@ export default class GridViewLoadUILogicBase {
* @param {UIActionContext} actionContext 界面逻辑上下文 * @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridViewLoadUILogicBase * @memberof GridViewLoadUILogicBase
*/ */
protected async execute_viewctrlinvoke2_node(actionContext: UIActionContext) { protected async execute_viewctrlinvoke1_node(actionContext: UIActionContext) {
const invokeCtrl = 'grid'; const invokeCtrl = 'searchForm';
const invokeMethod = 'load'; const invokeMethod = 'loadDraft';
const invokeParam = 'viewParam'; const invokeParam = 'viewParam';
if (!invokeCtrl || !invokeMethod) { if (!invokeCtrl || !invokeMethod) {
throw new Error(`界面对象或者调用方法缺失`); throw new Error(`界面对象或者调用方法缺失`);
...@@ -217,34 +217,34 @@ export default class GridViewLoadUILogicBase { ...@@ -217,34 +217,34 @@ export default class GridViewLoadUILogicBase {
throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`); throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`);
} }
console.log('已完成执行 视图部件调用 节点'); console.log('已完成执行 视图部件调用 节点');
await this.execute_end1_node(actionContext); await this.execute_viewctrlinvoke2_node(actionContext);
} }
/** /**
* 结束 * 绑定当前搜索表单
* *
* @param {UIActionContext} actionContext 界面逻辑上下文 * @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridViewLoadUILogicBase * @memberof GridViewLoadUILogicBase
*/ */
protected async execute_end1_node(actionContext: UIActionContext) { protected async execute_bindparam1_node(actionContext: UIActionContext) {
const strReturnType: string = 'NONEVALUE'; try {
if (Object.is(strReturnType, LogicReturnType.NONEVALUE) || Object.is(strReturnType, LogicReturnType.NULLVALUE)) { // 源数据
actionContext.setResult(null); const srcParam = actionContext.getParam('view');
} else if (Object.is(strReturnType, LogicReturnType.SRCVALUE)) { // 目标数据
actionContext.setResult(''); const dstParam = actionContext.getParam('searchForm');
} else if (Object.is(strReturnType, LogicReturnType.BREAK)) { // 源属性
actionContext.setResult(LogicReturnType.BREAK); const srcFieldName: string = 'searchform';
} else if (Object.is(strReturnType, LogicReturnType.LOGICPARAM) || Object.is(strReturnType, LogicReturnType.LOGICPARAMFIELD)) { if (srcFieldName) {
const returnParam = actionContext.getParam(''); dstParam.bind(srcParam.get(srcFieldName));
if (Object.is(strReturnType, LogicReturnType.LOGICPARAM)) {
actionContext.setResult(returnParam.getReal());
} else { } else {
actionContext.setResult(returnParam.get('')); dstParam.bind(srcParam.getReal());
} }
} else { actionContext.bindLastReturnParam(null);
throw new Error(`无法识别的返回值类型${strReturnType}`); } catch (error: any) {
throw new Error(`逻辑参数当前搜索表单 ${error && error.message ? error.message : '发生未知错误!'}`);
} }
console.log('已完成执行 结束 节点'); console.log('已完成执行 绑定当前搜索表单 节点');
await this.execute_viewctrlinvoke1_node(actionContext);
} }
......
...@@ -691,7 +691,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -691,7 +691,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -727,7 +727,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -727,7 +727,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -1356,7 +1356,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1356,7 +1356,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_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1403,7 +1403,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1403,7 +1403,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_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1473,7 +1473,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1473,7 +1473,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_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1581,7 +1581,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1581,7 +1581,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_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1673,7 +1673,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1673,7 +1673,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_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -1425,7 +1425,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1425,7 +1425,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_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1472,7 +1472,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1472,7 +1472,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_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1542,7 +1542,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1542,7 +1542,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_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1650,7 +1650,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1650,7 +1650,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_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1742,7 +1742,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1742,7 +1742,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_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -649,7 +649,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -649,7 +649,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -685,7 +685,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -685,7 +685,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -677,7 +677,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -677,7 +677,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}, isReset: boolean = false): void { public load(opt: any = {}, isReset: boolean = false): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -756,7 +756,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -756,7 +756,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -865,7 +865,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -865,7 +865,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -873,7 +873,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -873,7 +873,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){ if(item.ibizbook){
......
...@@ -69,6 +69,11 @@ export default class Usr4Model { ...@@ -69,6 +69,11 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like', prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM' dataType: 'QUERYPARAM'
}, },
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
......
...@@ -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 IBIZOrderSF1GridViewBase * @memberof IBIZOrderPickupGridViewBase
*/ */
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) {
...@@ -441,20 +441,6 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -441,20 +441,6 @@ 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;
/** /**
* 是否嵌入关系界面 * 是否嵌入关系界面
...@@ -989,7 +975,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -989,7 +975,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) { if (!this.fetchAction) {
this.$Notice.error({ this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string, title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderSF1GridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string), desc: "IBIZOrderPickupGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
}); });
return; return;
} }
...@@ -1118,7 +1104,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1118,7 +1104,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) { if (!this.removeAction) {
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.removeAction') as string) desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
}); });
return; return;
} }
...@@ -1232,7 +1218,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1232,7 +1218,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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2161,7 +2147,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2161,7 +2147,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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2170,7 +2156,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2170,7 +2156,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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2246,7 +2232,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2246,7 +2232,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
}); });
return; return;
} }
......
...@@ -104,21 +104,6 @@ export default class MainModel { ...@@ -104,21 +104,6 @@ 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',
......
...@@ -618,7 +618,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -618,7 +618,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: 'IBIZSample0021GridView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021WFDynaExpGridView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -654,7 +654,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -654,7 +654,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: 'IBIZSample0021GridView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021WFDynaExpGridView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -373,13 +373,6 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -373,13 +373,6 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0]; return this.selections[0];
} }
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public newdata: any;
/** /**
* 打开编辑数据视图 * 打开编辑数据视图
* *
...@@ -912,7 +905,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -912,7 +905,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) { if (!this.fetchAction) {
this.$Notice.error({ this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string, title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZSample0021GridView_layout" + (this.$t("app.gridpage.notConfig.fetchAction") as string), desc: "IBIZSample0021WFDynaExpGridView_layout" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
}); });
return; return;
} }
...@@ -1041,7 +1034,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1041,7 +1034,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) { if (!this.removeAction) {
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZSample0021GridView_layout' + (this.$t('app.gridpage.notConfig.removeAction') as string) desc: 'IBIZSample0021WFDynaExpGridView_layout' + (this.$t('app.gridpage.notConfig.removeAction') as string)
}); });
return; return;
} }
...@@ -1155,7 +1148,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1155,7 +1148,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: 'IBIZSample0021GridView_layout'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021WFDynaExpGridView_layout'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2060,7 +2053,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2060,7 +2053,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: 'IBIZSample0021GridView_layout'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021WFDynaExpGridView_layout'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2069,7 +2062,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2069,7 +2062,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: 'IBIZSample0021GridView_layout'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021WFDynaExpGridView_layout'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2145,7 +2138,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2145,7 +2138,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZSample0021GridView_layout' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) desc: 'IBIZSample0021WFDynaExpGridView_layout' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
}); });
return; return;
} }
......
...@@ -2829,30 +2829,35 @@ ...@@ -2829,30 +2829,35 @@
} ], } ],
"parallelOutput" : true "parallelOutput" : true
}, { }, {
"codeName" : "BINDPARAM1", "codeName" : "END1",
"getDstPSDEUILogicParam" : { "logicNodeType" : "END",
"name" : "结束",
"returnType" : "NONEVALUE"
}, {
"codeName" : "VIEWCTRLINVOKE2",
"getInvokeCtrl" : {
"modelref" : true, "modelref" : true,
"id" : "searchForm" "id" : "grid"
}, },
"logicNodeType" : "BINDPARAM", "invokeMethod" : "load",
"name" : "绑定当前搜索表单", "getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "视图部件调用",
"getPSDEUILogicLinks" : [ { "getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : { "getDstPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "VIEWCTRLINVOKE1" "id" : "END1"
}, },
"linkMode" : 0, "linkMode" : 0,
"name" : "连接名称", "name" : "连接名称",
"getSrcPSDEUILogicNode" : { "getSrcPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "BINDPARAM1" "id" : "VIEWCTRLINVOKE2"
} }
} ], } ]
"srcFieldName" : "searchForm",
"getSrcPSDEUILogicParam" : {
"modelref" : true,
"id" : "view"
}
}, { }, {
"codeName" : "VIEWCTRLINVOKE1", "codeName" : "VIEWCTRLINVOKE1",
"getInvokeCtrl" : { "getInvokeCtrl" : {
...@@ -2879,46 +2884,47 @@ ...@@ -2879,46 +2884,47 @@
} }
} ] } ]
}, { }, {
"codeName" : "VIEWCTRLINVOKE2", "codeName" : "BINDPARAM1",
"getInvokeCtrl" : { "getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "grid"
},
"invokeMethod" : "load",
"getInvokeParam" : {
"modelref" : true, "modelref" : true,
"id" : "viewParam" "id" : "searchForm"
}, },
"logicNodeType" : "VIEWCTRLINVOKE", "logicNodeType" : "BINDPARAM",
"name" : "视图部件调用", "name" : "绑定当前搜索表单",
"getPSDEUILogicLinks" : [ { "getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : { "getDstPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "END1" "id" : "VIEWCTRLINVOKE1"
}, },
"linkMode" : 0, "linkMode" : 0,
"name" : "连接名称", "name" : "连接名称",
"getSrcPSDEUILogicNode" : { "getSrcPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "VIEWCTRLINVOKE2" "id" : "BINDPARAM1"
} }
} ] } ],
}, { "srcFieldName" : "searchForm",
"codeName" : "END1", "getSrcPSDEUILogicParam" : {
"logicNodeType" : "END", "modelref" : true,
"name" : "结束", "id" : "view"
"returnType" : "NONEVALUE" }
} ], } ],
"getPSDEUILogicParams" : [ { "getPSDEUILogicParams" : [ {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"default" : true,
"entityParam" : true
}, {
"codeName" : "viewParam",
"logicName" : "当前视图参数",
"name" : "当前视图参数",
"viewNavDataParam" : true
}, {
"codeName" : "searchForm", "codeName" : "searchForm",
"logicName" : "当前搜索表单", "logicName" : "当前搜索表单",
"name" : "当前搜索表单", "name" : "当前搜索表单",
"ctrlParam" : true "ctrlParam" : true
}, {
"codeName" : "view",
"logicName" : "当前视图对象",
"name" : "当前视图对象",
"activeViewParam" : true
}, { }, {
"codeName" : "grid", "codeName" : "grid",
"logicName" : "当前表格", "logicName" : "当前表格",
...@@ -2926,16 +2932,10 @@ ...@@ -2926,16 +2932,10 @@
"activeCtrlParam" : true, "activeCtrlParam" : true,
"ctrlParam" : true "ctrlParam" : true
}, { }, {
"codeName" : "Default", "codeName" : "view",
"logicName" : "传入变量", "logicName" : "当前视图对象",
"name" : "传入变量", "name" : "当前视图对象",
"default" : true, "activeViewParam" : true
"entityParam" : true
}, {
"codeName" : "viewParam",
"logicName" : "当前视图参数",
"name" : "当前视图参数",
"viewNavDataParam" : true
} ], } ],
"getStartPSDEUILogicNode" : { "getStartPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
......
...@@ -38,6 +38,19 @@ ...@@ -38,6 +38,19 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSViewCtrlName" : "GRID" "getPSViewCtrlName" : "GRID"
}, {
"eventNames" : "onViewDestroyed",
"logicTrigger" : "VIEWEVENT",
"logicType" : "DEUILOGIC",
"name" : "VIEWDESTORY",
"getPSAppDEUILogic" : {
"modelref" : true,
"id" : "customViewDestroy"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
} ], } ],
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "Default", "codeName" : "Default",
......
...@@ -340,46 +340,6 @@ ...@@ -340,46 +340,6 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}, },
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "layoutpanel_button_calluilogic2_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_button_calluilogic2"
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "layoutpanel_button_calluilogic1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_button_calluilogic1"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "layoutpanel_button_calluilogic2",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"modelref" : true,
"id" : "panel_Layoutpanel_button_calluilogic2_click"
},
"xDataControlName" : "layoutpanel"
}, {
"name" : "layoutpanel_button_calluilogic1",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"modelref" : true,
"id" : "panel_Layoutpanel_button_calluilogic1_click"
},
"xDataControlName" : "layoutpanel"
} ],
"getPSControlParam" : { }, "getPSControlParam" : { },
"getPSLayout" : { "getPSLayout" : {
"columnCount" : 24, "columnCount" : 24,
...@@ -439,112 +399,6 @@ ...@@ -439,112 +399,6 @@
"layout" : "BORDER", "layout" : "BORDER",
"layoutPos" : "SOUTH" "layoutPos" : "SOUTH"
}, },
"getPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"align" : "flex-end",
"dir" : "row",
"layout" : "FLEX",
"vAlign" : "center"
},
"getPSLayoutPos" : {
"heightMode" : "FULL",
"layout" : "BORDER",
"layoutPos" : "CENTER",
"spacingBottom" : "INNERMEDIUM",
"spacingTop" : "INNERMEDIUM",
"widthMode" : "FULL"
},
"getPSPanelItems" : [ {
"actionType" : "UIACTION",
"buttonHeight" : 32.0,
"buttonStyle" : "PRIMARY",
"buttonWidth" : 60.0,
"caption" : "确认",
"contentHeight" : 32.0,
"contentWidth" : 60.0,
"height" : 32.0,
"itemStyle" : "PRIMARY",
"itemType" : "BUTTON",
"name" : "button_calluilogic2",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_button_calluilogic2"
},
"getPSLayoutPos" : {
"grow" : -1,
"height" : 32,
"heightMode" : "PX",
"layout" : "FLEX",
"spacingRight" : "OUTERSMALL",
"width" : 60,
"widthMode" : "PX"
},
"getPSUIAction" : {
"caption" : "取消",
"codeName" : "panel_Layoutpanel_button_calluilogic2_click",
"fullCodeName" : "panel_Layoutpanel_button_calluilogic2_click",
"name" : "取消",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"predefinedType" : "DATA_CANCELCHANGES",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic2_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "确认",
"width" : 60.0,
"showCaption" : true
}, {
"actionType" : "UIACTION",
"buttonHeight" : 32.0,
"buttonStyle" : "DEFAULT",
"buttonWidth" : 60.0,
"caption" : "取消",
"contentHeight" : 32.0,
"contentWidth" : 60.0,
"height" : 32.0,
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "button_calluilogic1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_button_calluilogic1"
},
"getPSLayoutPos" : {
"grow" : -1,
"height" : 32,
"heightMode" : "PX",
"layout" : "FLEX",
"width" : 60,
"widthMode" : "PX"
},
"getPSUIAction" : {
"caption" : "确认",
"codeName" : "panel_Layoutpanel_button_calluilogic1_click",
"fullCodeName" : "panel_Layoutpanel_button_calluilogic1_click",
"name" : "确认",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"predefinedType" : "DATA_SAVECHANGES",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic1_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "取消",
"width" : 60.0,
"showCaption" : true
} ]
} ],
"showCaption" : true "showCaption" : true
} ] } ]
} ], } ],
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-685-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-687-7">
<createTable tableName="T_IBIZBOOK"> <createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
...@@ -278,7 +278,7 @@ ...@@ -278,7 +278,7 @@
<!--输出实体[IBIZCUSTOMER]数据结构 --> <!--输出实体[IBIZCUSTOMER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustomer-392-10"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustomer-396-10">
<createTable tableName="T_IBIZCUSTOMER"> <createTable tableName="T_IBIZCUSTOMER">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
...@@ -340,7 +340,7 @@ ...@@ -340,7 +340,7 @@
<!--输出实体[IBIZORDER]数据结构 --> <!--输出实体[IBIZORDER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-577-14"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-579-14">
<createTable tableName="T_IBIZORDER"> <createTable tableName="T_IBIZORDER">
<column name="TP" remarks="" type="TEXT(1048576)"> <column name="TP" remarks="" type="TEXT(1048576)">
</column> </column>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZCUSTOMER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZCUSTOMER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizcustomer-392-4" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizcustomer-396-4" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZCUSTOMER"> <createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZCUSTOMER">
<![CDATA[ SELECT t1.[ADDRESS], t1.[CREATEDATE], t1.[CREATEMAN], t1.[CUSTOMERUID], t1.[IBIZCUSTOMERID], t1.[IBIZCUSTOMERNAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZCUSTOMER] t1 ]]> <![CDATA[ SELECT t1.[ADDRESS], t1.[CREATEDATE], t1.[CREATEMAN], t1.[CUSTOMERUID], t1.[IBIZCUSTOMERID], t1.[IBIZCUSTOMERNAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZCUSTOMER] t1 ]]>
</createView> </createView>
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-577-8" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-579-8" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDER"> <createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDER">
<![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]> <![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]>
</createView> </createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册