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

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

上级 4d00be4a
...@@ -29,25 +29,29 @@ export default class GridLoadUILogicBase { ...@@ -29,25 +29,29 @@ export default class GridLoadUILogicBase {
* @memberof GridLoadUILogicBase * @memberof GridLoadUILogicBase
*/ */
protected logicParams: any[] = [ protected logicParams: any[] = [
{
name: '当前表格',
codeName: 'grid',
ctrlParam: true,
},
{ {
name: '应用上下文', name: '应用上下文',
codeName: 'context', codeName: 'context',
navContextParam: true, navContextParam: true,
}, },
{
name: '路由会话变量',
codeName: 'routerParam',
routeViewSessionParam: true,
},
{ {
name: '当前视图参数', name: '当前视图参数',
codeName: 'viewParam', codeName: 'viewParam',
viewNavDataParam: true, viewNavDataParam: true,
}, },
{ {
name: '当前搜索表单', name: '额外参数',
codeName: 'searchForm', codeName: 'otherParam',
ctrlParam: true, entityParam: true,
},
{
name: '当前系统名称',
codeName: 'systemName',
}, },
{ {
name: '传入变量', name: '传入变量',
...@@ -56,15 +60,20 @@ export default class GridLoadUILogicBase { ...@@ -56,15 +60,20 @@ export default class GridLoadUILogicBase {
entityParam: true, entityParam: true,
}, },
{ {
name: '额外参数', name: '当前搜索表单',
codeName: 'otherParam', codeName: 'searchForm',
entityParam: true, ctrlParam: true,
}, },
{ {
name: '当前视图', name: '当前视图',
codeName: 'view', codeName: 'view',
activeViewParam: true, activeViewParam: true,
}, },
{
name: '当前表格',
codeName: 'grid',
ctrlParam: true,
},
]; ];
/** /**
...@@ -119,6 +128,101 @@ export default class GridLoadUILogicBase { ...@@ -119,6 +128,101 @@ export default class GridLoadUILogicBase {
await this.execute_bindparam1_node(actionContext); await this.execute_bindparam1_node(actionContext);
} }
/**
* 搜索表单loadDraft
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridLoadUILogicBase
*/
protected async execute_viewctrlinvoke1_node(actionContext: UIActionContext) {
const invokeCtrl = 'searchForm';
const invokeMethod = 'loadDraft';
const invokeParam = 'viewParam';
if (!invokeCtrl || !invokeMethod) {
throw new Error(`界面对象或者调用方法缺失`);
}
const invokeUICtrl = actionContext.getParam(invokeCtrl).getReal();
if (invokeUICtrl[invokeMethod] && invokeUICtrl[invokeMethod] instanceof Function) {
try {
const result = await invokeUICtrl[invokeMethod]();
if (invokeParam) {
actionContext.getParam(invokeParam).bind(result);
}
actionContext.bindLastReturnParam(result);
} catch (error:any) {
throw new Error(`${invokeCtrl}界面对象调用${invokeMethod}方法发生异常`);
}
} else {
throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`);
}
console.log('已完成执行 搜索表单loadDraft 节点');
await this.execute_viewctrlinvoke2_node(actionContext);
}
/**
* 准备参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridLoadUILogicBase
*/
protected async execute_preparejsparam1_node(actionContext: UIActionContext) {
try {
// 目标数据
const dstParam_1: any = actionContext.getParam('otherParam');
// 无值类型
// 直接值
const result_1 = '12';
dstParam_1.set('book', result_1);
} catch (error: any) {
throw new Error(`逻辑节点 准备参数 ${error && error.message ? error.message : '发生未知错误!'}`);
}
console.log('已完成执行 准备参数 节点');
await this.execute_deaction1_node(actionContext);
}
/**
* 实体处理逻辑
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridLoadUILogicBase
*/
protected async execute_delogic1_node(actionContext: UIActionContext) {
const dstParam = actionContext.getParam('viewParam');
const retParam = actionContext.getParam('viewParam');
if (dstParam) {
try {
const deLogic: InitDataLogic = new InitDataLogic({ context: actionContext.context, data: dstParam.getReal() ? dstParam.getReal() : {} });
const result = await deLogic.onExecute(actionContext.context, dstParam.getReal() ? dstParam.getReal() : {}, false);
if (result) {
if(retParam){
retParam.bind(result);
}
actionContext.bindLastReturnParam(result);
} else {
throw new Error(`调用实体处理逻辑异常`);
}
} catch (error: any) {
throw new Error(`调用实体处理逻辑异常${error && error.message ? error.message : ''}`);
}
} else {
throw new Error(`操作参数缺失!`);
}
console.log('已完成执行 实体处理逻辑 节点');
await this.execute_msgbox1_node(actionContext);
await this.execute_preparejsparam1_node(actionContext);
}
/**
* 调试逻辑参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridLoadUILogicBase
*/
protected async execute_debugparam1_node(actionContext: UIActionContext) {
// TODO 等待补充
console.log('已完成执行 调试逻辑参数 节点');
}
/** /**
* 表格加载 * 表格加载
* *
...@@ -150,6 +254,60 @@ export default class GridLoadUILogicBase { ...@@ -150,6 +254,60 @@ export default class GridLoadUILogicBase {
await this.execute_preparejsparam2_node(actionContext); await this.execute_preparejsparam2_node(actionContext);
} }
/**
* 绑定搜索表单
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridLoadUILogicBase
*/
protected async execute_bindparam1_node(actionContext: UIActionContext) {
try {
// 源数据
const srcParam = actionContext.getParam('view');
// 目标数据
const dstParam = actionContext.getParam('searchForm');
// 源属性
const srcFieldName: string = 'searchform';
if (srcFieldName) {
dstParam.bind(srcParam.get(srcFieldName));
} else {
dstParam.bind(srcParam.getReal());
}
actionContext.bindLastReturnParam(null);
} catch (error: any) {
throw new Error(`逻辑参数当前搜索表单 ${error && error.message ? error.message : '发生未知错误!'}`);
}
console.log('已完成执行 绑定搜索表单 节点');
await this.execute_bindparam2_node(actionContext);
}
/**
* 绑定表格
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridLoadUILogicBase
*/
protected async execute_bindparam2_node(actionContext: UIActionContext) {
try {
// 源数据
const srcParam = actionContext.getParam('view');
// 目标数据
const dstParam = actionContext.getParam('grid');
// 源属性
const srcFieldName: string = 'grid';
if (srcFieldName) {
dstParam.bind(srcParam.get(srcFieldName));
} else {
dstParam.bind(srcParam.getReal());
}
actionContext.bindLastReturnParam(null);
} catch (error: any) {
throw new Error(`逻辑参数当前表格 ${error && error.message ? error.message : '发生未知错误!'}`);
}
console.log('已完成执行 绑定表格 节点');
await this.execute_viewctrlinvoke1_node(actionContext);
}
/** /**
* 实体行为 * 实体行为
* *
...@@ -228,35 +386,30 @@ export default class GridLoadUILogicBase { ...@@ -228,35 +386,30 @@ export default class GridLoadUILogicBase {
} }
/** /**
* 实体处理逻辑 * 结束
* *
* @param {UIActionContext} actionContext 界面逻辑上下文 * @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridLoadUILogicBase * @memberof GridLoadUILogicBase
*/ */
protected async execute_delogic1_node(actionContext: UIActionContext) { protected async execute_end1_node(actionContext: UIActionContext) {
const dstParam = actionContext.getParam('viewParam'); const strReturnType: string = 'LOGICPARAM';
const retParam = actionContext.getParam('viewParam'); if (Object.is(strReturnType, LogicReturnType.NONEVALUE) || Object.is(strReturnType, LogicReturnType.NULLVALUE)) {
if (dstParam) { actionContext.setResult(null);
try { } else if (Object.is(strReturnType, LogicReturnType.SRCVALUE)) {
const deLogic: InitDataLogic = new InitDataLogic({ context: actionContext.context, data: dstParam.getReal() ? dstParam.getReal() : {} }); actionContext.setResult('');
const result = await deLogic.onExecute(actionContext.context, dstParam.getReal() ? dstParam.getReal() : {}, false); } else if (Object.is(strReturnType, LogicReturnType.BREAK)) {
if (result) { actionContext.setResult(LogicReturnType.BREAK);
if(retParam){ } else if (Object.is(strReturnType, LogicReturnType.LOGICPARAM) || Object.is(strReturnType, LogicReturnType.LOGICPARAMFIELD)) {
retParam.bind(result); const returnParam = actionContext.getParam('Default');
} if (Object.is(strReturnType, LogicReturnType.LOGICPARAM)) {
actionContext.bindLastReturnParam(result); actionContext.setResult(returnParam.getReal());
} else { } else {
throw new Error(`调用实体处理逻辑异常`); actionContext.setResult(returnParam.get(''));
}
} catch (error: any) {
throw new Error(`调用实体处理逻辑异常${error && error.message ? error.message : ''}`);
} }
} else { } else {
throw new Error(`操作参数缺失!`); throw new Error(`无法识别的返回值类型${strReturnType}`);
} }
console.log('已完成执行 实体处理逻辑 节点'); console.log('已完成执行 结束 节点');
await this.execute_msgbox1_node(actionContext);
await this.execute_preparejsparam1_node(actionContext);
} }
/** /**
...@@ -265,50 +418,19 @@ export default class GridLoadUILogicBase { ...@@ -265,50 +418,19 @@ export default class GridLoadUILogicBase {
* @param {UIActionContext} actionContext 界面逻辑上下文 * @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridLoadUILogicBase * @memberof GridLoadUILogicBase
*/ */
protected async execute_preparejsparam1_node(actionContext: UIActionContext) { protected async execute_preparejsparam2_node(actionContext: UIActionContext) {
try { try {
// 目标数据 // 目标数据
const dstParam_1: any = actionContext.getParam('otherParam'); const dstParam_1: any = actionContext.getParam('context');
// 无值类型 // 无值类型
// 直接值 // 直接值
const result_1 = '12'; const result_1 = '12';
dstParam_1.set('book', result_1); dstParam_1.set('ibizbook', result_1);
} catch (error: any) { } catch (error: any) {
throw new Error(`逻辑节点 准备参数 ${error && error.message ? error.message : '发生未知错误!'}`); throw new Error(`逻辑节点 准备参数 ${error && error.message ? error.message : '发生未知错误!'}`);
} }
console.log('已完成执行 准备参数 节点'); console.log('已完成执行 准备参数 节点');
await this.execute_deaction1_node(actionContext); await this.execute_delogic1_node(actionContext);
}
/**
* 搜索表单loadDraft
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridLoadUILogicBase
*/
protected async execute_viewctrlinvoke1_node(actionContext: UIActionContext) {
const invokeCtrl = 'searchForm';
const invokeMethod = 'loadDraft';
const invokeParam = 'viewParam';
if (!invokeCtrl || !invokeMethod) {
throw new Error(`界面对象或者调用方法缺失`);
}
const invokeUICtrl = actionContext.getParam(invokeCtrl).getReal();
if (invokeUICtrl[invokeMethod] && invokeUICtrl[invokeMethod] instanceof Function) {
try {
const result = await invokeUICtrl[invokeMethod]();
if (invokeParam) {
actionContext.getParam(invokeParam).bind(result);
}
actionContext.bindLastReturnParam(result);
} catch (error:any) {
throw new Error(`${invokeCtrl}界面对象调用${invokeMethod}方法发生异常`);
}
} else {
throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`);
}
console.log('已完成执行 搜索表单loadDraft 节点');
await this.execute_viewctrlinvoke2_node(actionContext);
} }
/** /**
...@@ -350,108 +472,7 @@ export default class GridLoadUILogicBase { ...@@ -350,108 +472,7 @@ export default class GridLoadUILogicBase {
} }
}); });
console.log('已完成执行 消息弹窗 节点'); console.log('已完成执行 消息弹窗 节点');
} await this.execute_debugparam1_node(actionContext);
/**
* 结束
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridLoadUILogicBase
*/
protected async execute_end1_node(actionContext: UIActionContext) {
const strReturnType: string = 'LOGICPARAM';
if (Object.is(strReturnType, LogicReturnType.NONEVALUE) || Object.is(strReturnType, LogicReturnType.NULLVALUE)) {
actionContext.setResult(null);
} else if (Object.is(strReturnType, LogicReturnType.SRCVALUE)) {
actionContext.setResult('');
} else if (Object.is(strReturnType, LogicReturnType.BREAK)) {
actionContext.setResult(LogicReturnType.BREAK);
} else if (Object.is(strReturnType, LogicReturnType.LOGICPARAM) || Object.is(strReturnType, LogicReturnType.LOGICPARAMFIELD)) {
const returnParam = actionContext.getParam('Default');
if (Object.is(strReturnType, LogicReturnType.LOGICPARAM)) {
actionContext.setResult(returnParam.getReal());
} else {
actionContext.setResult(returnParam.get(''));
}
} else {
throw new Error(`无法识别的返回值类型${strReturnType}`);
}
console.log('已完成执行 结束 节点');
}
/**
* 绑定表格
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridLoadUILogicBase
*/
protected async execute_bindparam2_node(actionContext: UIActionContext) {
try {
// 源数据
const srcParam = actionContext.getParam('view');
// 目标数据
const dstParam = actionContext.getParam('grid');
// 源属性
const srcFieldName: string = 'grid';
if (srcFieldName) {
dstParam.bind(srcParam.get(srcFieldName));
} else {
dstParam.bind(srcParam.getReal());
}
actionContext.bindLastReturnParam(null);
} catch (error: any) {
throw new Error(`逻辑参数当前表格 ${error && error.message ? error.message : '发生未知错误!'}`);
}
console.log('已完成执行 绑定表格 节点');
await this.execute_viewctrlinvoke1_node(actionContext);
}
/**
* 绑定搜索表单
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridLoadUILogicBase
*/
protected async execute_bindparam1_node(actionContext: UIActionContext) {
try {
// 源数据
const srcParam = actionContext.getParam('view');
// 目标数据
const dstParam = actionContext.getParam('searchForm');
// 源属性
const srcFieldName: string = 'searchform';
if (srcFieldName) {
dstParam.bind(srcParam.get(srcFieldName));
} else {
dstParam.bind(srcParam.getReal());
}
actionContext.bindLastReturnParam(null);
} catch (error: any) {
throw new Error(`逻辑参数当前搜索表单 ${error && error.message ? error.message : '发生未知错误!'}`);
}
console.log('已完成执行 绑定搜索表单 节点');
await this.execute_bindparam2_node(actionContext);
}
/**
* 准备参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridLoadUILogicBase
*/
protected async execute_preparejsparam2_node(actionContext: UIActionContext) {
try {
// 目标数据
const dstParam_1: any = actionContext.getParam('context');
// 无值类型
// 直接值
const result_1 = '12';
dstParam_1.set('ibizbook', result_1);
} catch (error: any) {
throw new Error(`逻辑节点 准备参数 ${error && error.message ? error.message : '发生未知错误!'}`);
}
console.log('已完成执行 准备参数 节点');
await this.execute_delogic1_node(actionContext);
} }
......
...@@ -530,7 +530,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -530,7 +530,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -646,7 +646,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -646,7 +646,7 @@ export default class ListExpBase 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: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.removeAction') as string) });
return; return;
} }
if (datas.length === 0) { if (datas.length === 0) {
...@@ -741,7 +741,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -741,7 +741,7 @@ export default class ListExpBase 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: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (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);
...@@ -749,7 +749,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -749,7 +749,7 @@ export default class ListExpBase 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.warning') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){ if(item.ibizorder){
......
...@@ -2076,62 +2076,57 @@ ...@@ -2076,62 +2076,57 @@
} ], } ],
"parallelOutput" : true "parallelOutput" : true
}, { }, {
"codeName" : "VIEWCTRLINVOKE2", "codeName" : "VIEWCTRLINVOKE1",
"getInvokeCtrl" : { "getInvokeCtrl" : {
"modelref" : true, "modelref" : true,
"id" : "grid" "id" : "searchForm"
}, },
"invokeMethod" : "load", "invokeMethod" : "loadDraft",
"getInvokeParam" : { "getInvokeParam" : {
"modelref" : true, "modelref" : true,
"id" : "viewParam" "id" : "viewParam"
}, },
"logicNodeType" : "VIEWCTRLINVOKE", "logicNodeType" : "VIEWCTRLINVOKE",
"name" : "表格加载", "name" : "搜索表单loadDraft",
"getPSDEUILogicLinks" : [ { "getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : { "getDstPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "PREPAREJSPARAM2" "id" : "VIEWCTRLINVOKE2"
}, },
"linkMode" : 0, "linkMode" : 0,
"name" : "连接名称", "name" : "连接名称",
"getSrcPSDEUILogicNode" : { "getSrcPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "VIEWCTRLINVOKE2" "id" : "VIEWCTRLINVOKE1"
} }
} ] } ]
}, { }, {
"codeName" : "DEACTION1", "codeName" : "PREPAREJSPARAM1",
"getDstPSAppDEAction" : { "logicNodeType" : "PREPAREJSPARAM",
"modelref" : true, "name" : "准备参数",
"id" : "Get"
},
"getDstPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "otherParam"
},
"logicNodeType" : "DEACTION",
"name" : "实体行为",
"getPSDEUILogicLinks" : [ { "getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : { "getDstPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "END1" "id" : "DEACTION1"
}, },
"linkMode" : 0, "linkMode" : 0,
"name" : "连接名称", "name" : "连接名称",
"getSrcPSDEUILogicNode" : { "getSrcPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "DEACTION1" "id" : "PREPAREJSPARAM1"
} }
} ], } ],
"getRetPSDEUILogicParam" : { "getPSDEUILogicNodeParams" : [ {
"modelref" : true, "dstFieldName" : "book",
"id" : "Default" "getDstPSDEUILogicParam" : {
} "modelref" : true,
"id" : "otherParam"
},
"name" : "直接值[12] ==> otherParam[book]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "12",
"srcValueType" : "SRCVALUE"
} ]
}, { }, {
"codeName" : "DELOGIC1", "codeName" : "DELOGIC1",
"getDstPSAppDELogic" : { "getDstPSAppDELogic" : {
...@@ -2172,75 +2167,63 @@ ...@@ -2172,75 +2167,63 @@
} }
} ] } ]
}, { }, {
"codeName" : "PREPAREJSPARAM1", "codeName" : "DEBUGPARAM1",
"logicNodeType" : "PREPAREJSPARAM", "getDstPSDEUILogicParam" : {
"name" : "准备参数", "modelref" : true,
"id" : "context"
},
"logicNodeType" : "DEBUGPARAM",
"name" : "调试逻辑参数"
}, {
"codeName" : "VIEWCTRLINVOKE2",
"getInvokeCtrl" : {
"modelref" : true,
"id" : "grid"
},
"invokeMethod" : "load",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "表格加载",
"getPSDEUILogicLinks" : [ { "getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : { "getDstPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "DEACTION1" "id" : "PREPAREJSPARAM2"
}, },
"linkMode" : 0, "linkMode" : 0,
"name" : "连接名称", "name" : "连接名称",
"getSrcPSDEUILogicNode" : { "getSrcPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "PREPAREJSPARAM1" "id" : "VIEWCTRLINVOKE2"
} }
} ],
"getPSDEUILogicNodeParams" : [ {
"dstFieldName" : "book",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "otherParam"
},
"name" : "直接值[12] ==> otherParam[book]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "12",
"srcValueType" : "SRCVALUE"
} ] } ]
}, { }, {
"codeName" : "VIEWCTRLINVOKE1", "codeName" : "BINDPARAM1",
"getInvokeCtrl" : { "getDstPSDEUILogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "searchForm" "id" : "searchForm"
}, },
"invokeMethod" : "loadDraft", "logicNodeType" : "BINDPARAM",
"getInvokeParam" : { "name" : "绑定搜索表单",
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "搜索表单loadDraft",
"getPSDEUILogicLinks" : [ { "getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : { "getDstPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "VIEWCTRLINVOKE2" "id" : "BINDPARAM2"
}, },
"linkMode" : 0, "linkMode" : 0,
"name" : "连接名称", "name" : "连接名称",
"getSrcPSDEUILogicNode" : { "getSrcPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "VIEWCTRLINVOKE1" "id" : "BINDPARAM1"
} }
} ] } ],
}, { "srcFieldName" : "searchform",
"buttonsType" : "OK", "getSrcPSDEUILogicParam" : {
"codeName" : "MSGBOX1",
"logicNodeType" : "MSGBOX",
"message" : "我被触发啦",
"msgBoxType" : "INFO",
"name" : "消息弹窗",
"showMode" : "CENTER",
"title" : "触发"
}, {
"codeName" : "END1",
"logicNodeType" : "END",
"name" : "结束",
"getReturnParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "view"
}, }
"returnType" : "LOGICPARAM"
}, { }, {
"codeName" : "BINDPARAM2", "codeName" : "BINDPARAM2",
"getDstPSDEUILogicParam" : { "getDstPSDEUILogicParam" : {
...@@ -2267,30 +2250,46 @@ ...@@ -2267,30 +2250,46 @@
"id" : "view" "id" : "view"
} }
}, { }, {
"codeName" : "BINDPARAM1", "codeName" : "DEACTION1",
"getDstPSAppDEAction" : {
"modelref" : true,
"id" : "Get"
},
"getDstPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getDstPSDEUILogicParam" : { "getDstPSDEUILogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "searchForm" "id" : "otherParam"
}, },
"logicNodeType" : "BINDPARAM", "logicNodeType" : "DEACTION",
"name" : "绑定搜索表单", "name" : "实体行为",
"getPSDEUILogicLinks" : [ { "getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : { "getDstPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "BINDPARAM2" "id" : "END1"
}, },
"linkMode" : 0, "linkMode" : 0,
"name" : "连接名称", "name" : "连接名称",
"getSrcPSDEUILogicNode" : { "getSrcPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "BINDPARAM1" "id" : "DEACTION1"
} }
} ], } ],
"srcFieldName" : "searchform", "getRetPSDEUILogicParam" : {
"getSrcPSDEUILogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "view" "id" : "Default"
} }
}, {
"codeName" : "END1",
"logicNodeType" : "END",
"name" : "结束",
"getReturnParam" : {
"modelref" : true,
"id" : "Default"
},
"returnType" : "LOGICPARAM"
}, { }, {
"codeName" : "PREPAREJSPARAM2", "codeName" : "PREPAREJSPARAM2",
"logicNodeType" : "PREPAREJSPARAM", "logicNodeType" : "PREPAREJSPARAM",
...@@ -2318,27 +2317,53 @@ ...@@ -2318,27 +2317,53 @@
"srcValue" : "12", "srcValue" : "12",
"srcValueType" : "SRCVALUE" "srcValueType" : "SRCVALUE"
} ] } ]
}, {
"buttonsType" : "OK",
"codeName" : "MSGBOX1",
"logicNodeType" : "MSGBOX",
"message" : "我被触发啦",
"msgBoxType" : "INFO",
"name" : "消息弹窗",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "MSGBOX1"
}
} ],
"showMode" : "CENTER",
"title" : "触发"
} ], } ],
"getPSDEUILogicParams" : [ { "getPSDEUILogicParams" : [ {
"codeName" : "grid",
"logicName" : "当前表格",
"name" : "当前表格",
"ctrlParam" : true
}, {
"codeName" : "context", "codeName" : "context",
"logicName" : "应用上下文", "logicName" : "应用上下文",
"name" : "应用上下文", "name" : "应用上下文",
"navContextParam" : true "navContextParam" : true
}, {
"codeName" : "routerParam",
"logicName" : "路由会话变量",
"name" : "路由会话变量",
"paramFieldName" : "testParam",
"routeViewSessionParam" : true
}, { }, {
"codeName" : "viewParam", "codeName" : "viewParam",
"logicName" : "当前视图参数", "logicName" : "当前视图参数",
"name" : "当前视图参数", "name" : "当前视图参数",
"viewNavDataParam" : true "viewNavDataParam" : true
}, { }, {
"codeName" : "searchForm", "codeName" : "otherParam",
"logicName" : "当前搜索表单", "logicName" : "额外参数",
"name" : "当前搜索表单", "name" : "额外参数",
"ctrlParam" : true "entityParam" : true
}, {
"codeName" : "systemName",
"logicName" : "当前系统名称",
"name" : "当前系统名称"
}, { }, {
"codeName" : "Default", "codeName" : "Default",
"logicName" : "传入变量", "logicName" : "传入变量",
...@@ -2346,15 +2371,20 @@ ...@@ -2346,15 +2371,20 @@
"default" : true, "default" : true,
"entityParam" : true "entityParam" : true
}, { }, {
"codeName" : "otherParam", "codeName" : "searchForm",
"logicName" : "额外参数", "logicName" : "当前搜索表单",
"name" : "额外参数", "name" : "当前搜索表单",
"entityParam" : true "ctrlParam" : true
}, { }, {
"codeName" : "view", "codeName" : "view",
"logicName" : "当前视图", "logicName" : "当前视图",
"name" : "当前视图", "name" : "当前视图",
"activeViewParam" : true "activeViewParam" : true
}, {
"codeName" : "grid",
"logicName" : "当前表格",
"name" : "当前表格",
"ctrlParam" : true
} ], } ],
"getStartPSDEUILogicNode" : { "getStartPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-347-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-351-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>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册