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

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

上级 cbbbe53a
<template>
<div class="app-view-layout ibizbookoption-view-layout" v-loading="isLayoutLoadding" :style="{height: '100%', width: '100%','display': 'flex', 'flex-direction': 'column'}">
<div class="app-view-layout ibizbookoption-view-layout" v-loading="isLayoutLoadding" :style="{height: '100%', width: '100%', overflow: 'auto'}">
<template v-show="!isLayoutLoadding">
<app-standard-container name="page_container" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #container_scroll1>
<app-scroll-container name="container_scroll1" :layoutModelDetails="layoutModelDetails">
<template #container_scroll_main1>
<app-scroll-container name="container_scroll_main1" :layoutModelDetails="layoutModelDetails">
......@@ -38,11 +36,11 @@
<app-scroll-container name="container_scroll_bottom1" :layoutModelDetails="layoutModelDetails">
<template #container1>
<app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #button_openview1>
<app-login-button class="app-reset-button" name="button_openview1" :layoutModelDetails="layoutModelDetails" defaultStyle='success' @itemClick="handleButtonClick" />
<template #button_calluilogic2>
<app-preset-button name="button_calluilogic2" :layoutModelDetails="layoutModelDetails" caption="确认" tooltip="" @itemClick="handleButtonClick" />
</template>
<template #button_openview2>
<app-preset-button name="button_openview2" :layoutModelDetails="layoutModelDetails" caption="确认" tooltip="" @itemClick="handleButtonClick" />
<template #button_calluilogic1>
<app-login-button class="app-reset-button" name="button_calluilogic1" :layoutModelDetails="layoutModelDetails" defaultStyle='success' @itemClick="handleButtonClick" />
</template>
</app-standard-container>
</template>
......@@ -50,8 +48,6 @@
</template>
</app-scroll-container>
</template>
</app-standard-container>
</template>
</div>
</template>
......@@ -302,7 +298,7 @@ export default class IBIZBOOKOptionView_layoutBase extends Vue {
* @public
* @memberof IBIZBOOKOptionView_layoutBase
*/
public rootLayoutDetailNames: string[] = [ 'page_container' ];
public rootLayoutDetailNames: string[] = [ 'container_scroll1' ];
/**
* 视图布局面板项模型对象
......@@ -311,14 +307,13 @@ export default class IBIZBOOKOptionView_layoutBase extends Vue {
* @memberof IBIZBOOKOptionView_layoutBase
*/
public layoutItems:any = {
form:{ name: 'form', type: 'VIEWLAYOUT', caption: 'FORM', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'CENTER', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll_main1', panel: this },
container_scroll_main1:{ name: 'container_scroll_main1', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: true, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll1', panel: this , details:['form'] , dataRegionType: 'INHERIT' },
button_openview1:{ name: 'button_openview1', type: 'VIEWLAYOUT', caption: '取消', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:60, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , buttonStyle: 'DEFAULT', iconAlign: '', predefinedType: 'DATA_CANCELCHANGES', renderMode: '', },
button_openview2:{ name: 'button_openview2', type: 'VIEWLAYOUT', caption: '确认', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:60, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , buttonStyle: 'DEFAULT', iconAlign: '', predefinedType: 'DATA_SAVECHANGES', renderMode: '', },
container1:{ name: 'container1', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'CENTER', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'INNERSMALL', spacingLeft:'', spacingRight:'', spacingTop:'INNERSMALL', hAlignSelf:'RIGHT', vAlignSelf:'MIDDLE', flexGrow:0, flexParams:{align:'flex-end',dir:'row',vAlign:''}, parentName: 'container_scroll_bottom1', panel: this , details:['button_openview1','button_openview2'] , dataRegionType: 'INHERIT' },
container_scroll_bottom1:{ name: 'container_scroll_bottom1', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: true, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'SOUTH', layoutHeight:60, heightMode:'PX', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll1', panel: this , details:['container1'] , dataRegionType: 'INHERIT' },
container_scroll1:{ name: 'container_scroll1', type: 'VIEWLAYOUT', caption: '滚动条容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'page_container', panel: this , details:['container_scroll_main1','container_scroll_bottom1'] , dataRegionType: 'INHERIT' },
page_container:{ name: 'page_container', type: 'VIEWLAYOUT', caption: '分组标题', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['container_scroll1'] , dataRegionType: 'INHERIT' }
form:{ name: 'form', type: 'VIEWLAYOUT', caption: '表单', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'CENTER', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'FULL', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll_main1', panel: this },
container_scroll_main1:{ name: 'container_scroll_main1', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: true, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:100, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll1', panel: this , details:['form'] , dataRegionType: 'INHERIT' },
button_calluilogic2:{ name: 'button_calluilogic2', type: 'VIEWLAYOUT', caption: '确认', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'PRIMARY', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:60, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , buttonStyle: 'PRIMARY', iconAlign: '', predefinedType: 'DATA_SAVECHANGES', renderMode: '', },
button_calluilogic1:{ name: 'button_calluilogic1', type: 'VIEWLAYOUT', caption: '取消', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:60, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , buttonStyle: 'DEFAULT', iconAlign: '', predefinedType: 'DATA_CANCELCHANGES', renderMode: '', },
container1:{ name: 'container1', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'CENTER', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'FULL', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'flex-end',dir:'row',vAlign:'center'}, parentName: 'container_scroll_bottom1', panel: this , details:['button_calluilogic2','button_calluilogic1'] , dataRegionType: 'INHERIT' },
container_scroll_bottom1:{ name: 'container_scroll_bottom1', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: true, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'SOUTH', layoutHeight:80, heightMode:'PX', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll1', panel: this , details:['container1'] , dataRegionType: 'INHERIT' },
container_scroll1:{ name: 'container_scroll1', type: 'VIEWLAYOUT', caption: '滚动条容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['container_scroll_main1','container_scroll_bottom1'] , dataRegionType: 'INHERIT' }
};
/**
......@@ -498,46 +493,14 @@ export default class IBIZBOOKOptionView_layoutBase extends Vue {
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
if (Object.is(name, 'button_openview1')) {
_this.panel_Usr1104773172_button_openview1_click(datas, contextJO, paramJO, $event, xData, this, undefined);
if (Object.is(name, 'button_calluilogic2')) {
_this.panel_Layoutpanel_button_calluilogic2_click(datas, contextJO, paramJO, $event, xData, this, undefined);
}
if (Object.is(name, 'button_openview2')) {
_this.panel_Usr1104773172_button_openview2_click(datas, contextJO, paramJO, $event, xData, this, undefined);
if (Object.is(name, 'button_calluilogic1')) {
_this.panel_Layoutpanel_button_calluilogic1_click(datas, contextJO, paramJO, $event, xData, this, undefined);
}
}
/**
* 取消
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
*/
public panel_Usr1104773172_button_openview1_click(args: any[], contextJO?:any, params?: any, $event?: any, xData?: any, actionContext?:any, srfParentDeName?:string) {
if (actionContext.viewType === 'APPLOGINVIEW') {
const length = Object.keys(actionContext.layoutData).length;
for (let i = length - 1; i >= 0; i--) {
const name = Object.keys(actionContext.layoutData)[i];
if (actionContext.layoutData.hasOwnProperty(name) && !Object.is(actionContext.layoutModelDetails[name].itemType, 'CONTAINER')) {
actionContext.handleValueChange({ name, value: null });
}
}
actionContext.$nextTick(() => {
actionContext.$forceUpdate();
})
} else {
const parentRef = actionContext.$parent;
if (parentRef.closeView && (parentRef.closeView instanceof Function)) {
parentRef.closeView(args);
} else if (actionContext.closeView && (actionContext.closeView instanceof Function)) {
actionContext.closeView(args);
}
}
}
/**
* 确认
*
......@@ -549,7 +512,7 @@ export default class IBIZBOOKOptionView_layoutBase extends Vue {
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
*/
public panel_Usr1104773172_button_openview2_click(args: any[], context: any = {}, params: any = {}, $event?: any, xData?: any, actionContext?: any, srfParentDeName?: string) {
public panel_Layoutpanel_button_calluilogic2_click(args: any[], context: any = {}, params: any = {}, $event?: any, xData?: any, actionContext?: any, srfParentDeName?: string) {
// 准备上下文参数
const tempContext = {...context};
if (xData && xData.context) {
......@@ -584,6 +547,38 @@ export default class IBIZBOOKOptionView_layoutBase extends Vue {
this.$Notice.error({ title: '错误', desc: '当前环境无法执行保存变更逻辑[执行行为异常]' });
}
}
/**
* 取消
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
*/
public panel_Layoutpanel_button_calluilogic1_click(args: any[], contextJO?:any, params?: any, $event?: any, xData?: any, actionContext?:any, srfParentDeName?:string) {
if (actionContext.viewType === 'APPLOGINVIEW') {
const length = Object.keys(actionContext.layoutData).length;
for (let i = length - 1; i >= 0; i--) {
const name = Object.keys(actionContext.layoutData)[i];
if (actionContext.layoutData.hasOwnProperty(name) && !Object.is(actionContext.layoutModelDetails[name].itemType, 'CONTAINER')) {
actionContext.handleValueChange({ name, value: null });
}
}
actionContext.$nextTick(() => {
actionContext.$forceUpdate();
})
} else {
const parentRef = actionContext.$parent;
if (parentRef.closeView && (parentRef.closeView instanceof Function)) {
parentRef.closeView(args);
} else if (actionContext.closeView && (actionContext.closeView instanceof Function)) {
actionContext.closeView(args);
}
}
}
......
......@@ -27,11 +27,21 @@ export default class GridLoadUILogicBase {
* @memberof GridLoadUILogicBase
*/
protected logicParams: any[] = [
{
name: '应用上下文',
codeName: 'context',
navContextParam: true,
},
{
name: '当前搜索表单',
codeName: 'searchForm',
ctrlParam: true,
},
{
name: '当前视图',
codeName: 'view',
activeViewParam: true,
},
{
name: '当前视图参数',
codeName: 'viewParam',
......@@ -42,22 +52,17 @@ export default class GridLoadUILogicBase {
codeName: 'grid',
ctrlParam: true,
},
{
name: '额外参数',
codeName: 'otherParam',
entityParam: true,
},
{
name: '当前视图',
codeName: 'view',
activeViewParam: true,
},
{
name: '传入变量',
codeName: 'Default',
default: true,
entityParam: true,
},
{
name: '额外参数',
codeName: 'otherParam',
entityParam: true,
},
];
/**
......@@ -113,93 +118,24 @@ export default class GridLoadUILogicBase {
}
/**
* 搜索表单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_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_bindparam2_node(actionContext: UIActionContext) {
protected async execute_preparejsparam1_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);
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 : '发生未知错误!'}`);
throw new Error(`逻辑节点 准备参数 ${error && error.message ? error.message : '发生未知错误!'}`);
}
console.log('已完成执行 绑定表格 节点');
await this.execute_viewctrlinvoke1_node(actionContext);
console.log('已完成执行 准备参数 节点');
await this.execute_deaction1_node(actionContext);
}
/**
......@@ -280,51 +216,19 @@ export default class GridLoadUILogicBase {
}
/**
* 消息弹窗
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridLoadUILogicBase
*/
protected async execute_msgbox1_node(actionContext: UIActionContext) {
// TODO 等待补充
return new Promise<void>((resolve: any) => {
const msgBoxParam: any = actionContext.getParam('');
const data = msgBoxParam ? msgBoxParam.getReal() : {};
const options = {
type: 'INFO',
title: data && data.title ? data.title : '触发',
content: data && data.message ? data.message : '我被触发啦',
buttonType: 'ok',
showMode: 'center',
showClose: false,
mask: true,
maskClosable: true
};
// TODO 支持具体弹窗
// const subject: Subject<any> | null = AppMessageBoxService.getInstance().open(options);
// const subscription = subject?.subscribe((result: any) => {
// resolve(this.handleResponse(logicNode, actionContext, options, result));
// subscription!.unsubscribe();
// subject.complete();
// })
});
console.log('已完成执行 消息弹窗 节点');
}
/**
* 绑定搜索表单
* 绑定表格
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridLoadUILogicBase
*/
protected async execute_bindparam1_node(actionContext: UIActionContext) {
protected async execute_bindparam2_node(actionContext: UIActionContext) {
try {
// 源数据
const srcParam = actionContext.getParam('view');
// 目标数据
const dstParam = actionContext.getParam('searchForm');
const dstParam = actionContext.getParam('grid');
// 源属性
const srcFieldName: string = 'searchform';
const srcFieldName: string = 'grid';
if (srcFieldName) {
dstParam.bind(srcParam.get(srcFieldName));
} else {
......@@ -332,21 +236,21 @@ export default class GridLoadUILogicBase {
}
actionContext.bindLastReturnParam(null);
} catch (error: any) {
throw new Error(`逻辑参数当前搜索表单 ${error && error.message ? error.message : '发生未知错误!'}`);
throw new Error(`逻辑参数当前表格 ${error && error.message ? error.message : '发生未知错误!'}`);
}
console.log('已完成执行 绑定搜索表单 节点');
await this.execute_bindparam2_node(actionContext);
console.log('已完成执行 绑定表格 节点');
await this.execute_viewctrlinvoke1_node(actionContext);
}
/**
* 表格加载
* 搜索表单loadDraft
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridLoadUILogicBase
*/
protected async execute_viewctrlinvoke2_node(actionContext: UIActionContext) {
const invokeCtrl = 'grid';
const invokeMethod = 'load';
protected async execute_viewctrlinvoke1_node(actionContext: UIActionContext) {
const invokeCtrl = 'searchForm';
const invokeMethod = 'loadDraft';
const invokeParam = 'viewParam';
if (!invokeCtrl || !invokeMethod) {
throw new Error(`界面对象或者调用方法缺失`);
......@@ -365,29 +269,8 @@ export default class GridLoadUILogicBase {
} else {
throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`);
}
console.log('已完成执行 表格加载 节点');
await this.execute_delogic1_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);
console.log('已完成执行 搜索表单loadDraft 节点');
await this.execute_viewctrlinvoke2_node(actionContext);
}
/**
......@@ -417,5 +300,127 @@ export default class GridLoadUILogicBase {
console.log('已完成执行 结束 节点');
}
/**
* 实体处理逻辑
*
* @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_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_viewctrlinvoke2_node(actionContext: UIActionContext) {
const invokeCtrl = 'grid';
const invokeMethod = 'load';
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('已完成执行 表格加载 节点');
await this.execute_delogic1_node(actionContext);
}
/**
* 消息弹窗
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridLoadUILogicBase
*/
protected async execute_msgbox1_node(actionContext: UIActionContext) {
// TODO 等待补充
return new Promise<void>((resolve: any) => {
const msgBoxParam: any = actionContext.getParam('');
const data = msgBoxParam ? msgBoxParam.getReal() : {};
const options = {
type: 'INFO',
title: data && data.title ? data.title : '触发',
content: data && data.message ? data.message : '我被触发啦',
buttonType: 'ok',
showMode: 'center',
showClose: false,
mask: true,
maskClosable: true
};
// TODO 支持具体弹窗
// const subject: Subject<any> | null = AppMessageBoxService.getInstance().open(options);
// const subscription = subject?.subscribe((result: any) => {
// resolve(this.handleResponse(logicNode, actionContext, options, result));
// subscription!.unsubscribe();
// subject.complete();
// })
});
console.log('已完成执行 消息弹窗 节点');
}
}
\ No newline at end of file
......@@ -663,7 +663,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (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;
}
const arg: any = { ...opt };
......@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (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;
}
const arg: any = { ...opt } ;
......
......@@ -46,11 +46,11 @@
<span class="quick-toolbar">
<div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="usr4listview_layoutlist_quicktoolbarModels.deuiaction1.visabled" :disabled="usr4listview_layoutlist_quicktoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)">
<i-button v-show="listviewlist_quicktoolbarModels.deuiaction1.visabled" :disabled="listviewlist_quicktoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizbook.usr4listview_layoutlist_quicktoolbar_toolbar.deuiaction1.caption')}}</span>
<span class='caption'>{{$t('entities.ibizbook.listviewlist_quicktoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.usr4listview_layoutlist_quicktoolbar_toolbar.deuiaction1.tip')}}</div>
<div slot='content'>{{$t('entities.ibizbook.listviewlist_quicktoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
</div>
</span>
......@@ -61,18 +61,18 @@
<span class="batch-toolbar">
<div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="usr4listview_layoutlist_batchtoolbarModels.deuiaction1.visabled" :disabled="usr4listview_layoutlist_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i-button v-show="listviewlist_batchtoolbarModels.deuiaction1.visabled" :disabled="listviewlist_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-edit'></i>
<span class='caption'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction1.caption')}}</span>
<span class='caption'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction1.tip')}}</div>
<div slot='content'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="usr4listview_layoutlist_batchtoolbarModels.deuiaction2.visabled" :disabled="usr4listview_layoutlist_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i-button v-show="listviewlist_batchtoolbarModels.deuiaction2.visabled" :disabled="listviewlist_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i class='fa fa-remove'></i>
<span class='caption'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction2.caption')}}</span>
<span class='caption'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction2.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction2.tip')}}</div>
<div slot='content'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction2.tip')}}</div>
</tooltip>
</div>
</span>
......@@ -354,7 +354,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr4ListView_layoutBase
* @memberof IBIZBOOKListViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
......@@ -374,7 +374,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr4ListView_layoutBase
* @memberof IBIZBOOKListViewBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
......@@ -400,7 +400,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr4ListView_layoutBase
* @memberof IBIZBOOKListViewBase
*/
public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
......@@ -575,9 +575,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOKUsr4ListView_layout
* @memberof IBIZBOOKListView
*/
public usr4listview_layoutlist_quicktoolbarModels: any = {
public listviewlist_quicktoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
};
......@@ -587,9 +587,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOKUsr4ListView_layout
* @memberof IBIZBOOKListView
*/
public usr4listview_layoutlist_batchtoolbarModels: any = {
public listviewlist_batchtoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
......@@ -812,7 +812,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/
public load(opt: any = {}): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -928,7 +928,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.removeAction') as string) });
return;
}
if (datas.length === 0) {
......@@ -1023,7 +1023,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -1031,7 +1031,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......
......@@ -657,7 +657,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/
public load(opt: any = {}, isReset: boolean = false): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -736,7 +736,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -845,7 +845,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -853,7 +853,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){
......
......@@ -522,7 +522,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
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;
}
const arg: any = {...opt};
......@@ -638,7 +638,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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;
}
if (datas.length === 0) {
......@@ -733,7 +733,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -741,7 +741,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
}
}else if(Object.is(item.rowDataState, 'update')){
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{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){
......
......@@ -2004,8 +2004,8 @@
"id" : "openKanbanDocument@IBIZBOOK"
}, {
"caption" : "取消",
"codeName" : "panel_Usr1104773172_button_openview1_click",
"fullCodeName" : "panel_Usr1104773172_button_openview1_click",
"codeName" : "panel_Layoutpanel_button_calluilogic1_click",
"fullCodeName" : "panel_Layoutpanel_button_calluilogic1_click",
"name" : "取消",
"getPSAppDataEntity" : {
"modelref" : true,
......@@ -2014,12 +2014,12 @@
"predefinedType" : "DATA_CANCELCHANGES",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1104773172_button_openview1_click",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic1_click",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "确认",
"codeName" : "panel_Usr1104773172_button_openview2_click",
"fullCodeName" : "panel_Usr1104773172_button_openview2_click",
"codeName" : "panel_Layoutpanel_button_calluilogic2_click",
"fullCodeName" : "panel_Layoutpanel_button_calluilogic2_click",
"name" : "确认",
"getPSAppDataEntity" : {
"modelref" : true,
......@@ -2028,7 +2028,7 @@
"predefinedType" : "DATA_SAVECHANGES",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1104773172_button_openview2_click",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic2_click",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "SINGLEDATA",
......@@ -2076,35 +2076,37 @@
} ],
"parallelOutput" : true
}, {
"codeName" : "VIEWCTRLINVOKE1",
"getInvokeCtrl" : {
"modelref" : true,
"id" : "searchForm"
},
"invokeMethod" : "loadDraft",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "搜索表单loadDraft",
"codeName" : "PREPAREJSPARAM1",
"logicNodeType" : "PREPAREJSPARAM",
"name" : "准备参数",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE2"
"id" : "DEACTION1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE1"
"id" : "PREPAREJSPARAM1"
}
} ],
"getPSDEUILogicNodeParams" : [ {
"dstFieldName" : "book",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "otherParam"
},
"name" : "直接值[12] ==> otherParam[book]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "12",
"srcValueType" : "SRCVALUE"
} ]
}, {
"codeName" : "DELOGIC1",
"getDstPSAppDELogic" : {
"codeName" : "DEACTION1",
"getDstPSAppDEAction" : {
"modelref" : true,
"id" : "initData"
"id" : "Get"
},
"getDstPSAppDataEntity" : {
"modelref" : true,
......@@ -2112,33 +2114,26 @@
},
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "viewParam"
"id" : "otherParam"
},
"logicNodeType" : "DELOGIC",
"name" : "实体处理逻辑",
"logicNodeType" : "DEACTION",
"name" : "实体行为",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "MSGBOX1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "DELOGIC1"
}
}, {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM1"
"id" : "END1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "DELOGIC1"
"id" : "DEACTION1"
}
} ]
} ],
"getRetPSDEUILogicParam" : {
"modelref" : true,
"id" : "Default"
}
}, {
"codeName" : "BINDPARAM2",
"getDstPSDEUILogicParam" : {
......@@ -2165,10 +2160,44 @@
"id" : "view"
}
}, {
"codeName" : "DEACTION1",
"getDstPSAppDEAction" : {
"codeName" : "VIEWCTRLINVOKE1",
"getInvokeCtrl" : {
"modelref" : true,
"id" : "Get"
"id" : "searchForm"
},
"invokeMethod" : "loadDraft",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "搜索表单loadDraft",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE2"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE1"
}
} ]
}, {
"codeName" : "END1",
"logicNodeType" : "END",
"name" : "结束",
"getReturnParam" : {
"modelref" : true,
"id" : "Default"
},
"returnType" : "LOGICPARAM"
}, {
"codeName" : "DELOGIC1",
"getDstPSAppDELogic" : {
"modelref" : true,
"id" : "initData"
},
"getDstPSAppDataEntity" : {
"modelref" : true,
......@@ -2176,35 +2205,33 @@
},
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "otherParam"
"id" : "viewParam"
},
"logicNodeType" : "DEACTION",
"name" : "实体行为",
"logicNodeType" : "DELOGIC",
"name" : "实体处理逻辑",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "END1"
"id" : "MSGBOX1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEACTION1"
"id" : "DELOGIC1"
}
} ],
"getRetPSDEUILogicParam" : {
"modelref" : true,
"id" : "Default"
}
}, {
"buttonsType" : "OK",
"codeName" : "MSGBOX1",
"logicNodeType" : "MSGBOX",
"message" : "我被触发啦",
"msgBoxType" : "INFO",
"name" : "消息弹窗",
"showMode" : "CENTER",
"title" : "触发"
}, {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "DELOGIC1"
}
} ]
}, {
"codeName" : "BINDPARAM1",
"getDstPSDEUILogicParam" : {
......@@ -2256,47 +2283,30 @@
}
} ]
}, {
"codeName" : "PREPAREJSPARAM1",
"logicNodeType" : "PREPAREJSPARAM",
"name" : "准备参数",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEACTION1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM1"
}
} ],
"getPSDEUILogicNodeParams" : [ {
"dstFieldName" : "book",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "otherParam"
},
"name" : "直接值[12] ==> otherParam[book]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "12",
"srcValueType" : "SRCVALUE"
} ]
}, {
"codeName" : "END1",
"logicNodeType" : "END",
"name" : "结束",
"getReturnParam" : {
"modelref" : true,
"id" : "Default"
},
"returnType" : "LOGICPARAM"
"buttonsType" : "OK",
"codeName" : "MSGBOX1",
"logicNodeType" : "MSGBOX",
"message" : "我被触发啦",
"msgBoxType" : "INFO",
"name" : "消息弹窗",
"showMode" : "CENTER",
"title" : "触发"
} ],
"getPSDEUILogicParams" : [ {
"codeName" : "context",
"logicName" : "应用上下文",
"name" : "应用上下文",
"navContextParam" : true
}, {
"codeName" : "searchForm",
"logicName" : "当前搜索表单",
"name" : "当前搜索表单",
"ctrlParam" : true
}, {
"codeName" : "view",
"logicName" : "当前视图",
"name" : "当前视图",
"activeViewParam" : true
}, {
"codeName" : "viewParam",
"logicName" : "当前视图参数",
......@@ -2307,22 +2317,17 @@
"logicName" : "当前表格",
"name" : "当前表格",
"ctrlParam" : true
}, {
"codeName" : "otherParam",
"logicName" : "额外参数",
"name" : "额外参数",
"entityParam" : true
}, {
"codeName" : "view",
"logicName" : "当前视图",
"name" : "当前视图",
"activeViewParam" : true
}, {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"default" : true,
"entityParam" : true
}, {
"codeName" : "otherParam",
"logicName" : "额外参数",
"name" : "额外参数",
"entityParam" : true
} ],
"getStartPSDEUILogicNode" : {
"modelref" : true,
......
......@@ -11,16 +11,6 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
......@@ -60,6 +50,16 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -19,11 +19,11 @@
}
} ],
"getPSDETreeColumns" : [ {
"caption" : "图书描述",
"codeName" : "subtext",
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"name" : "subtext",
"dataItemName" : "author",
"name" : "author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
......@@ -39,11 +39,11 @@
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"dataItemName" : "subtext",
"name" : "subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
......
......@@ -34,16 +34,6 @@
"id" : "GANTT"
},
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
......@@ -83,6 +73,16 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -13,1272 +13,1260 @@
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSAppViewEngines" : [ {
"engineCat" : "VIEW",
"engineType" : "OptionView",
"name" : "engine",
"getPSUIEngineParams" : [ {
"ctrlName" : "form",
"name" : "FORM",
"paramType" : "CTRL"
}, {
"name" : "P2K",
"paramType" : "VALUE",
"value" : 0
} ]
} ],
"getPSAppViewMsgGroup" : {
"modelref" : true,
"id" : "VMGroup88"
},
"getPSDEViewCodeName" : "OptionView_layout",
"getPSDEViewId" : "FF5AF5DB-30C7-4C6A-8678-638BCC378642",
"getPSViewLayoutPanel" : {
"codeName" : "Usr1104773172",
"controlType" : "VIEWLAYOUTPANEL",
"layoutMode" : "FLEX",
"logicName" : "OptionView_layoutDEOPTVIEW",
"name" : "layoutpanel",
"getPSControls" : [ {
"codeName" : "Main",
"controlType" : "FORM",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSFORMS/Main.json",
"getGetDraftFromPSControlAction" : {
"modelref" : true,
"id" : "loaddraftfrom"
},
"getGetDraftPSControlAction" : {
"modelref" : true,
"id" : "loaddraft"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"hookEventNames" : [ "LOAD", "SAVE", "REMOVE" ],
"logicName" : "主编辑表单",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "layoutpanel_button_openview1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_button_openview1"
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "layoutpanel_button_openview2_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_button_openview2"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "layoutpanel_button_openview1",
"getPSUIAction" : {
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionName" : "GetDraft",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "GetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "GETDRAFTFROM",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraftfrom",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"modelref" : true,
"id" : "panel_Usr1104773172_button_openview1_click"
},
"xDataControlName" : "layoutpanel"
}, {
"name" : "layoutpanel_button_openview2",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
} ],
"enableDEFieldPrivilege" : false,
"id" : "选项表单处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "LOAD;SAVE;REMOVE",
"logicTag" : "form",
"logicType" : "APPVIEWENGINE",
"name" : "engine_form",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "panel_Usr1104773172_button_openview2_click"
},
"xDataControlName" : "layoutpanel"
"id" : "engine"
}
} ],
"getPSControlParam" : { },
"getPSLayout" : {
"layout" : "FLEX"
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "FORM"
},
"getRootPSPanelItems" : [ {
"caption" : "分组标题",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "page_container",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"heightMode" : "FULL",
"layout" : "FLEX"
"getPSDEFormItems" : [ {
"id" : "srfupdatedate",
"hidden" : true,
"dataType" : 5,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"id" : "srforikey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfkey",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
}
}, {
"id" : "srfmajortext",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
}
}, {
"id" : "srftempmode",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfuf",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfdeid",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfsourcekey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "ibizbookid",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
}
}, {
"id" : "ibizbookname",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
}
}, {
"id" : "author",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "AUTHOR",
"codeName" : "Author"
}
}, {
"id" : "press",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "PRESS",
"codeName" : "Press"
}
}, {
"id" : "price",
"dataType" : 7,
"getPSAppDEField" : {
"name" : "PRICE",
"codeName" : "Price"
}
}, {
"id" : "type",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "TYPE",
"codeName" : "Type"
}
}, {
"id" : "booknumber",
"dataType" : 9,
"getPSAppDEField" : {
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
}
}, {
"id" : "sailstate",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "SAILSTATE",
"codeName" : "Sailstate"
}
}, {
"id" : "lendouttime",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "LENDOUTTIME",
"codeName" : "Lendouttime"
}
}, {
"id" : "returntime",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "RETURNTIME",
"codeName" : "Returntime"
}
}, {
"id" : "tag",
"dataType" : 21,
"getPSAppDEField" : {
"name" : "TAG",
"codeName" : "Tag"
}
}, {
"id" : "tag1",
"dataType" : 21,
"getPSAppDEField" : {
"name" : "TAG",
"codeName" : "Tag"
}
}, {
"id" : "icon",
"dataType" : 21,
"getPSAppDEField" : {
"name" : "ICON",
"codeName" : "Icon"
}
}, {
"id" : "subtext",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"id" : "createman",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "CREATEMAN",
"codeName" : "CreateMan"
}
}, {
"id" : "createdate",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
}
}, {
"id" : "updateman",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
}
}, {
"id" : "updatedate",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
} ],
"getPSDEFormPages" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFORM.IBIZBOOK.MAIN.FORMPAGE.FORMPAGE1"
},
"getPSPanelItems" : [ {
"caption" : "滚动条容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll1",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
"caption" : "基本信息",
"codeName" : "formpage1",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage1",
"getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFORM.IBIZBOOK.MAIN.GROUPPANEL.GROUP1"
},
"getPSPanelItems" : [ {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll_main1",
"getPSLayout" : {
"layout" : "BORDER"
"caption" : "图书基本信息",
"codeName" : "group1",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "group1",
"getPSDEFormDetails" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.IBIZBOOKID"
},
"caption" : "图书标识",
"codeName" : "ibizbookid",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "ibizbookid",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "ibizbookid"
},
"getPSLayoutPos" : {
"layout" : "BORDER",
"layoutPos" : "CENTER"
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "FORM",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "form",
"getPSLayoutPos" : {
"heightMode" : "FULL",
"layout" : "BORDER",
"layoutPos" : "CENTER"
},
"showCaption" : true
} ],
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "面板容器",
"contentHeight" : 60.0,
"height" : 60.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll_bottom1",
"getPSLayout" : {
"layout" : "BORDER"
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.IBIZBOOKNAME"
},
"caption" : "图书名称",
"codeName" : "ibizbookname",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "ibizbookname",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 200,
"name" : "ibizbookname"
},
"getPSLayoutPos" : {
"height" : 60,
"heightMode" : "PX",
"layout" : "BORDER",
"layoutPos" : "SOUTH"
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"align" : "flex-end",
"dir" : "row",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"hAlignSelf" : "RIGHT",
"heightMode" : "FULL",
"layout" : "BORDER",
"layoutPos" : "CENTER",
"spacingBottom" : "INNERSMALL",
"spacingTop" : "INNERSMALL",
"vAlignSelf" : "MIDDLE"
},
"getPSPanelItems" : [ {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"buttonWidth" : 60.0,
"caption" : "取消",
"contentWidth" : 60.0,
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "button_openview1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_button_openview1"
},
"getPSLayoutPos" : {
"grow" : -1,
"heightMode" : "FULL",
"layout" : "FLEX",
"width" : 60,
"widthMode" : "PX"
},
"getPSUIAction" : {
"caption" : "取消",
"codeName" : "panel_Usr1104773172_button_openview1_click",
"fullCodeName" : "panel_Usr1104773172_button_openview1_click",
"name" : "取消",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"predefinedType" : "DATA_CANCELCHANGES",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1104773172_button_openview1_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "取消",
"width" : 60.0,
"showCaption" : true
}, {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"buttonWidth" : 60.0,
"caption" : "确认",
"contentWidth" : 60.0,
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "button_openview2",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_button_openview2"
},
"getPSLayoutPos" : {
"grow" : -1,
"heightMode" : "FULL",
"layout" : "FLEX",
"width" : 60,
"widthMode" : "PX"
},
"getPSUIAction" : {
"caption" : "确认",
"codeName" : "panel_Usr1104773172_button_openview2_click",
"fullCodeName" : "panel_Usr1104773172_button_openview2_click",
"name" : "确认",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"predefinedType" : "DATA_SAVECHANGES",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1104773172_button_openview2_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "确认",
"width" : 60.0,
"showCaption" : true
} ]
} ],
"allowEmpty" : false,
"showCaption" : true
} ]
} ]
} ],
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : false,
"viewProxyMode" : true,
"modelid" : "22CB330C-C9F3-4EB4-8DCB-FC1D2B527B55",
"modeltype" : "PSSYSVIEWLAYOUTPANEL",
"getPSAppViewEngines" : [ {
"engineCat" : "VIEW",
"engineType" : "OptionView",
"name" : "engine",
"getPSUIEngineParams" : [ {
"ctrlName" : "form",
"name" : "FORM",
"paramType" : "CTRL"
}, {
"name" : "P2K",
"paramType" : "VALUE",
"value" : 0
} ]
} ],
"getPSControls" : [ {
"codeName" : "Main",
"controlType" : "FORM",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSFORMS/Main.json",
"getGetDraftFromPSControlAction" : {
"modelref" : true,
"id" : "loaddraftfrom"
},
"getGetDraftPSControlAction" : {
"modelref" : true,
"id" : "loaddraft"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"hookEventNames" : [ "LOAD", "SAVE", "REMOVE" ],
"logicName" : "主编辑表单",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionName" : "GetDraft",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "GetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "GETDRAFTFROM",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraftfrom",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.AUTHOR"
},
"caption" : "图书作者",
"codeName" : "author",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "author",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "AUTHOR",
"codeName" : "Author"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "author"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.PRESS"
},
"caption" : "图书出版社",
"codeName" : "press",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "press",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "PRESS",
"codeName" : "Press"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "press"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
} ],
"enableDEFieldPrivilege" : false,
"id" : "选项表单处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "LOAD;SAVE;REMOVE",
"logicTag" : "form",
"logicType" : "APPVIEWENGINE",
"name" : "engine_form",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "FORM"
},
"getPSDEFormItems" : [ {
"id" : "srfupdatedate",
"hidden" : true,
"dataType" : 5,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"id" : "srforikey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfkey",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
}
}, {
"id" : "srfmajortext",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
}
}, {
"id" : "srftempmode",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfuf",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfdeid",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfsourcekey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "ibizbookid",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
}
}, {
"id" : "ibizbookname",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
}
}, {
"id" : "author",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "AUTHOR",
"codeName" : "Author"
}
}, {
"id" : "press",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "PRESS",
"codeName" : "Press"
}
}, {
"id" : "price",
"dataType" : 7,
"getPSAppDEField" : {
"name" : "PRICE",
"codeName" : "Price"
}
}, {
"id" : "type",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "TYPE",
"codeName" : "Type"
}
}, {
"id" : "booknumber",
"dataType" : 9,
"getPSAppDEField" : {
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
}
}, {
"id" : "sailstate",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "SAILSTATE",
"codeName" : "Sailstate"
}
}, {
"id" : "lendouttime",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "LENDOUTTIME",
"codeName" : "Lendouttime"
}
}, {
"id" : "returntime",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "RETURNTIME",
"codeName" : "Returntime"
}
}, {
"id" : "tag",
"dataType" : 21,
"getPSAppDEField" : {
"name" : "TAG",
"codeName" : "Tag"
}
}, {
"id" : "tag1",
"dataType" : 21,
"getPSAppDEField" : {
"name" : "TAG",
"codeName" : "Tag"
}
}, {
"id" : "icon",
"dataType" : 21,
"getPSAppDEField" : {
"name" : "ICON",
"codeName" : "Icon"
}
}, {
"id" : "subtext",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"id" : "createman",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "CREATEMAN",
"codeName" : "CreateMan"
}
}, {
"id" : "createdate",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
}
}, {
"id" : "updateman",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
}
}, {
"id" : "updatedate",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
} ],
"getPSDEFormPages" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFORM.IBIZBOOK.MAIN.FORMPAGE.FORMPAGE1"
},
"caption" : "基本信息",
"codeName" : "formpage1",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage1",
"getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFORM.IBIZBOOK.MAIN.GROUPPANEL.GROUP1"
"lanResTag" : "DEF.LNAME.PRICE"
},
"caption" : "图书基本信息",
"codeName" : "group1",
"caption" : "图书价格",
"codeName" : "price",
"dataType" : 7,
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "group1",
"getPSDEFormDetails" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.IBIZBOOKID"
},
"caption" : "图书标识",
"codeName" : "ibizbookid",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "ibizbookid",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "ibizbookid"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.IBIZBOOKNAME"
},
"caption" : "图书名称",
"codeName" : "ibizbookname",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "ibizbookname",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 200,
"name" : "ibizbookname"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"allowEmpty" : false,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.AUTHOR"
},
"caption" : "图书作者",
"codeName" : "author",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "author",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "AUTHOR",
"codeName" : "Author"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "author"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.PRESS"
},
"caption" : "图书出版社",
"codeName" : "press",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "press",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "PRESS",
"codeName" : "Press"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "press"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.PRICE"
},
"caption" : "图书价格",
"codeName" : "price",
"dataType" : 7,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "price",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "PRICE",
"codeName" : "Price"
},
"getPSEditor" : {
"editorType" : "NUMBER",
"name" : "price",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "PRICE",
"codeName" : "Price"
},
"getPSEditor" : {
"editorType" : "NUMBER",
"name" : "price",
"precision" : 2
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.TYPE"
},
"caption" : "图书类型",
"codeName" : "type",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"precision" : 2
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.TYPE"
},
"caption" : "图书类型",
"codeName" : "type",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "type",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "TYPE",
"codeName" : "Type"
},
"getPSEditor" : {
"editorType" : "DROPDOWNLIST",
"name" : "type",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "TYPE",
"codeName" : "Type"
},
"getPSEditor" : {
"editorType" : "DROPDOWNLIST",
"name" : "type",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookType.json"
},
"singleSelect" : true
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookType.json"
},
"allowEmpty" : true,
"needCodeListConfig" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.BOOKNUMBER"
},
"caption" : "图书数量",
"codeName" : "booknumber",
"dataType" : 9,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "booknumber",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "booknumber"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.SAILSTATE"
},
"caption" : "图书销售状态",
"codeName" : "sailstate",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"singleSelect" : true
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"needCodeListConfig" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.BOOKNUMBER"
},
"caption" : "图书数量",
"codeName" : "booknumber",
"dataType" : 9,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "booknumber",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "booknumber"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.SAILSTATE"
},
"caption" : "图书销售状态",
"codeName" : "sailstate",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "sailstate",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "SAILSTATE",
"codeName" : "Sailstate"
},
"getPSEditor" : {
"editorType" : "DROPDOWNLIST",
"name" : "sailstate",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "SAILSTATE",
"codeName" : "Sailstate"
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookSailState.json"
},
"getPSEditor" : {
"editorType" : "DROPDOWNLIST",
"name" : "sailstate",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookSailState.json"
},
"singleSelect" : true
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"needCodeListConfig" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.LENDOUTTIME"
},
"caption" : "借出日期",
"codeName" : "lendouttime",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemWidth" : 230.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "lendouttime",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "LENDOUTTIME",
"codeName" : "Lendouttime"
},
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD"
},
"editorType" : "DATEPICKEREX_NOTIME",
"editorWidth" : 100.0,
"name" : "lendouttime"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"valueFormat" : "YYYY-MM-DD",
"allowEmpty" : false,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.RETURNTIME"
},
"caption" : "归还日期",
"codeName" : "returntime",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemWidth" : 230.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "returntime",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "RETURNTIME",
"codeName" : "Returntime"
},
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD"
},
"editorType" : "DATEPICKEREX_NOTIME",
"editorWidth" : 100.0,
"name" : "returntime"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"valueFormat" : "YYYY-MM-DD",
"allowEmpty" : false,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.TAG"
},
"caption" : "标签",
"codeName" : "tag",
"dataType" : 21,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"singleSelect" : true
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"needCodeListConfig" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.LENDOUTTIME"
},
"caption" : "借出日期",
"codeName" : "lendouttime",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemWidth" : 230.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "lendouttime",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "LENDOUTTIME",
"codeName" : "Lendouttime"
},
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD"
},
"editorType" : "DATEPICKEREX_NOTIME",
"editorWidth" : 100.0,
"name" : "lendouttime"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"valueFormat" : "YYYY-MM-DD",
"allowEmpty" : false,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.RETURNTIME"
},
"caption" : "归还日期",
"codeName" : "returntime",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemWidth" : 230.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "returntime",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "RETURNTIME",
"codeName" : "Returntime"
},
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD"
},
"editorType" : "DATEPICKEREX_NOTIME",
"editorWidth" : 100.0,
"name" : "returntime"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"valueFormat" : "YYYY-MM-DD",
"allowEmpty" : false,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.TAG"
},
"caption" : "标签",
"codeName" : "tag",
"dataType" : 21,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "tag",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "TAG",
"codeName" : "Tag"
},
"getPSEditor" : {
"editorType" : "MDROPDOWNLIST",
"name" : "tag",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "TAG",
"codeName" : "Tag"
},
"getPSEditor" : {
"editorType" : "MDROPDOWNLIST",
"name" : "tag",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Booktag.json"
},
"singleSelect" : false
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Booktag.json"
},
"allowEmpty" : true,
"needCodeListConfig" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.TAG"
},
"caption" : "标签",
"codeName" : "tag1",
"dataType" : 21,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"singleSelect" : false
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"needCodeListConfig" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.TAG"
},
"caption" : "标签",
"codeName" : "tag1",
"dataType" : 21,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "tag1",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "TAG",
"codeName" : "Tag"
},
"getPSEditor" : {
"editorType" : "CHECKBOXLIST",
"name" : "tag1",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "TAG",
"codeName" : "Tag"
},
"getPSEditor" : {
"editorType" : "CHECKBOXLIST",
"name" : "tag1",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Booktag.json"
}
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"needCodeListConfig" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFORM.IBIZBOOK.MAIN.FORMITEM.ICON"
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Booktag.json"
}
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"needCodeListConfig" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFORM.IBIZBOOK.MAIN.FORMITEM.ICON"
},
"caption" : "图书封面",
"codeName" : "icon",
"dataType" : 21,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemHeight" : 200.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "icon",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "ICON",
"codeName" : "Icon"
},
"getPSEditor" : {
"editorHeight" : 200.0,
"editorParams" : {
"HEIGHT" : "200"
},
"caption" : "图书封面",
"codeName" : "icon",
"dataType" : 21,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemHeight" : 200.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"editorType" : "TEXTAREA_10",
"maxLength" : 1048576,
"name" : "icon",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "ICON",
"codeName" : "Icon"
},
"getPSEditor" : {
"editorHeight" : 200.0,
"editorParams" : {
"HEIGHT" : "200"
},
"editorType" : "TEXTAREA_10",
"maxLength" : 1048576,
"name" : "icon",
"showMaxLength" : true
},
"getPSLayoutPos" : {
"colLG" : 8,
"colLGOffset" : 1,
"colMD" : 8,
"colMDOffset" : 1,
"colSM" : 8,
"colSMOffset" : 1,
"colXS" : 8,
"colXSOffset" : 1,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.SUBTEXT"
"showMaxLength" : true
},
"getPSLayoutPos" : {
"colLG" : 8,
"colLGOffset" : 1,
"colMD" : 8,
"colMDOffset" : 1,
"colSM" : 8,
"colSMOffset" : 1,
"colXS" : 8,
"colXSOffset" : 1,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.SUBTEXT"
},
"caption" : "图书描述",
"codeName" : "subtext",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemHeight" : 200.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "subtext",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
},
"getPSEditor" : {
"editorHeight" : 200.0,
"editorParams" : {
"HEIGHT" : "200"
},
"caption" : "图书描述",
"codeName" : "subtext",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemHeight" : 200.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"editorType" : "TEXTAREA_10",
"maxLength" : 100,
"name" : "subtext",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
},
"getPSEditor" : {
"editorHeight" : 200.0,
"editorParams" : {
"HEIGHT" : "200"
},
"editorType" : "TEXTAREA_10",
"maxLength" : 100,
"name" : "subtext",
"showMaxLength" : true
},
"getPSLayoutPos" : {
"colLG" : 15,
"colMD" : 15,
"colSM" : 15,
"colXS" : 15,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
"showMaxLength" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"colLG" : 15,
"colMD" : 15,
"colSM" : 15,
"colXS" : 15,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
}, {
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFORM.IBIZBOOK.MAIN.FORMPAGE.FORMPAGE2"
},
"caption" : "其它",
"codeName" : "formpage2",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage2",
"getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFORM.IBIZBOOK.MAIN.FORMPAGE.FORMPAGE2"
"lanResTag" : "CONTROL.DEFORM.IBIZBOOK.MAIN.GROUPPANEL.GROUP2"
},
"caption" : "其它",
"codeName" : "formpage2",
"caption" : "操作信息",
"codeName" : "group2",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage2",
"detailType" : "GROUPPANEL",
"name" : "group2",
"getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFORM.IBIZBOOK.MAIN.GROUPPANEL.GROUP2"
"lanResTag" : "DEF.LNAME.CREATEMAN"
},
"caption" : "操作信息",
"codeName" : "group2",
"caption" : "建立人",
"codeName" : "createman",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "group2",
"getPSDEFormDetails" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.CREATEMAN"
},
"caption" : "建立人",
"codeName" : "createman",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "createman",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "CREATEMAN",
"codeName" : "CreateMan"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "createman",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "CREATEMAN",
"codeName" : "CreateMan"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "createman",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
},
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"convertToCodeItemText" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.CREATEDATE"
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
},
"caption" : "建立时间",
"codeName" : "createdate",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"convertToCodeItemText" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.CREATEDATE"
},
"caption" : "建立时间",
"codeName" : "createdate",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "createdate",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "createdate",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "createdate",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.UPDATEMAN"
},
"caption" : "更新人",
"codeName" : "updateman",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.UPDATEMAN"
},
"caption" : "更新人",
"codeName" : "updateman",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "updateman",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "updateman",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "updateman",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
},
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"convertToCodeItemText" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.UPDATEDATE"
},
"caption" : "更新时间",
"codeName" : "updatedate",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "updatedate",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "updatedate",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
},
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"convertToCodeItemText" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.UPDATEDATE"
},
"caption" : "更新时间",
"codeName" : "updatedate",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "updatedate",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "updatedate",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRemovePSControlAction" : {
"infoGroupMode" : false
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove"
},
"tabHeaderPos" : "TOP",
"getUpdatePSControlAction" : {
"modelref" : true,
"id" : "update"
},
"noTabHeader" : false,
"name" : "form",
"modelid" : "6cd11a010cbbb4d2bad5e1aad7e8020a",
"modeltype" : "PSDEFORM_EDITFORM"
} ],
"getPSDEViewCodeName" : "OptionView_layout",
"getPSDEViewId" : "FF5AF5DB-30C7-4C6A-8678-638BCC378642",
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlType" : "VIEWLAYOUTPANEL",
"layoutMode" : "TABLE_24COL",
"logicName" : "选项操作视图",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.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/IBIZBOOK.json"
},
"modelref" : true,
"id" : "remove"
"id" : "panel_Layoutpanel_button_calluilogic2_click"
},
"tabHeaderPos" : "TOP",
"getUpdatePSControlAction" : {
"xDataControlName" : "layoutpanel"
}, {
"name" : "layoutpanel_button_calluilogic1",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref" : true,
"id" : "update"
"id" : "panel_Layoutpanel_button_calluilogic1_click"
},
"noTabHeader" : false,
"name" : "form",
"modelid" : "6cd11a010cbbb4d2bad5e1aad7e8020a",
"modeltype" : "PSDEFORM_EDITFORM"
} ]
"xDataControlName" : "layoutpanel"
} ],
"getPSControlParam" : { },
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRootPSPanelItems" : [ {
"caption" : "滚动条容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll1",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "面板容器",
"contentWidth" : 100.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll_main1",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"layout" : "BORDER",
"layoutPos" : "CENTER",
"width" : 100,
"widthMode" : "PX"
},
"getPSPanelItems" : [ {
"caption" : "表单",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "form",
"getPSLayoutPos" : {
"heightMode" : "FULL",
"layout" : "BORDER",
"layoutPos" : "CENTER",
"widthMode" : "FULL"
},
"showCaption" : true
} ],
"showCaption" : true
}, {
"caption" : "面板容器",
"contentHeight" : 80.0,
"height" : 80.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll_bottom1",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"height" : 80,
"heightMode" : "PX",
"layout" : "BORDER",
"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",
"widthMode" : "FULL"
},
"getPSPanelItems" : [ {
"actionType" : "UIACTION",
"buttonStyle" : "PRIMARY",
"buttonWidth" : 60.0,
"caption" : "确认",
"contentWidth" : 60.0,
"itemStyle" : "PRIMARY",
"itemType" : "BUTTON",
"name" : "button_calluilogic2",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_button_calluilogic2"
},
"getPSLayoutPos" : {
"grow" : -1,
"heightMode" : "FULL",
"layout" : "FLEX",
"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/IBIZBOOK.json"
},
"predefinedType" : "DATA_SAVECHANGES",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic2_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "确认",
"width" : 60.0,
"showCaption" : true
}, {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"buttonWidth" : 60.0,
"caption" : "取消",
"contentWidth" : 60.0,
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "button_calluilogic1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_button_calluilogic1"
},
"getPSLayoutPos" : {
"grow" : -1,
"heightMode" : "FULL",
"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/IBIZBOOK.json"
},
"predefinedType" : "DATA_CANCELCHANGES",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic1_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "取消",
"width" : 60.0,
"showCaption" : true
} ]
} ],
"showCaption" : true
} ]
} ],
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : false,
"modelid" : "11421FAF-C956-464C-82B9-FC260FF725A7",
"modeltype" : "PSSYSVIEWLAYOUTPANEL"
},
"title" : "实体选项操作视图",
"getTitlePSLanguageRes" : {
......
......@@ -75,11 +75,11 @@
"id" : "TREEGRIDEX"
},
"getPSDETreeColumns" : [ {
"caption" : "图书描述",
"codeName" : "subtext",
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"name" : "subtext",
"dataItemName" : "author",
"name" : "author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
......@@ -95,11 +95,11 @@
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"dataItemName" : "subtext",
"name" : "subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
......
......@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-283-7">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-297-7">
<createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册