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

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

上级 cbbbe53a
<template> <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"> <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"> <app-scroll-container name="container_scroll1" :layoutModelDetails="layoutModelDetails">
<template #container_scroll_main1> <template #container_scroll_main1>
<app-scroll-container name="container_scroll_main1" :layoutModelDetails="layoutModelDetails"> <app-scroll-container name="container_scroll_main1" :layoutModelDetails="layoutModelDetails">
...@@ -38,11 +36,11 @@ ...@@ -38,11 +36,11 @@
<app-scroll-container name="container_scroll_bottom1" :layoutModelDetails="layoutModelDetails"> <app-scroll-container name="container_scroll_bottom1" :layoutModelDetails="layoutModelDetails">
<template #container1> <template #container1>
<app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails"> <app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #button_openview1> <template #button_calluilogic2>
<app-login-button class="app-reset-button" name="button_openview1" :layoutModelDetails="layoutModelDetails" defaultStyle='success' @itemClick="handleButtonClick" /> <app-preset-button name="button_calluilogic2" :layoutModelDetails="layoutModelDetails" caption="确认" tooltip="" @itemClick="handleButtonClick" />
</template> </template>
<template #button_openview2> <template #button_calluilogic1>
<app-preset-button name="button_openview2" :layoutModelDetails="layoutModelDetails" caption="确认" tooltip="" @itemClick="handleButtonClick" /> <app-login-button class="app-reset-button" name="button_calluilogic1" :layoutModelDetails="layoutModelDetails" defaultStyle='success' @itemClick="handleButtonClick" />
</template> </template>
</app-standard-container> </app-standard-container>
</template> </template>
...@@ -50,8 +48,6 @@ ...@@ -50,8 +48,6 @@
</template> </template>
</app-scroll-container> </app-scroll-container>
</template> </template>
</app-standard-container>
</template>
</div> </div>
</template> </template>
...@@ -302,7 +298,7 @@ export default class IBIZBOOKOptionView_layoutBase extends Vue { ...@@ -302,7 +298,7 @@ export default class IBIZBOOKOptionView_layoutBase extends Vue {
* @public * @public
* @memberof IBIZBOOKOptionView_layoutBase * @memberof IBIZBOOKOptionView_layoutBase
*/ */
public rootLayoutDetailNames: string[] = [ 'page_container' ]; public rootLayoutDetailNames: string[] = [ 'container_scroll1' ];
/** /**
* 视图布局面板项模型对象 * 视图布局面板项模型对象
...@@ -311,14 +307,13 @@ export default class IBIZBOOKOptionView_layoutBase extends Vue { ...@@ -311,14 +307,13 @@ export default class IBIZBOOKOptionView_layoutBase extends Vue {
* @memberof IBIZBOOKOptionView_layoutBase * @memberof IBIZBOOKOptionView_layoutBase
*/ */
public layoutItems:any = { 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 }, 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:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll1', panel: this , details:['form'] , dataRegionType: 'INHERIT' }, 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_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_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_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: '', }, 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:'', 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' }, 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: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_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:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'page_container', panel: this , details:['container_scroll_main1','container_scroll_bottom1'] , 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' }
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' }
}; };
/** /**
...@@ -498,46 +493,14 @@ export default class IBIZBOOKOptionView_layoutBase extends Vue { ...@@ -498,46 +493,14 @@ export default class IBIZBOOKOptionView_layoutBase extends Vue {
const paramJO: any = {}; const paramJO: any = {};
const contextJO: any = {}; const contextJO: any = {};
const _this: any = this; const _this: any = this;
if (Object.is(name, 'button_openview1')) { if (Object.is(name, 'button_calluilogic2')) {
_this.panel_Usr1104773172_button_openview1_click(datas, contextJO, paramJO, $event, xData, this, undefined); _this.panel_Layoutpanel_button_calluilogic2_click(datas, contextJO, paramJO, $event, xData, this, undefined);
} }
if (Object.is(name, 'button_openview2')) { if (Object.is(name, 'button_calluilogic1')) {
_this.panel_Usr1104773172_button_openview2_click(datas, contextJO, paramJO, $event, xData, this, undefined); _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 { ...@@ -549,7 +512,7 @@ export default class IBIZBOOKOptionView_layoutBase extends Vue {
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称 * @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}; const tempContext = {...context};
if (xData && xData.context) { if (xData && xData.context) {
...@@ -584,6 +547,38 @@ export default class IBIZBOOKOptionView_layoutBase extends Vue { ...@@ -584,6 +547,38 @@ export default class IBIZBOOKOptionView_layoutBase extends Vue {
this.$Notice.error({ title: '错误', desc: '当前环境无法执行保存变更逻辑[执行行为异常]' }); 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 { ...@@ -27,11 +27,21 @@ export default class GridLoadUILogicBase {
* @memberof GridLoadUILogicBase * @memberof GridLoadUILogicBase
*/ */
protected logicParams: any[] = [ protected logicParams: any[] = [
{
name: '应用上下文',
codeName: 'context',
navContextParam: true,
},
{ {
name: '当前搜索表单', name: '当前搜索表单',
codeName: 'searchForm', codeName: 'searchForm',
ctrlParam: true, ctrlParam: true,
}, },
{
name: '当前视图',
codeName: 'view',
activeViewParam: true,
},
{ {
name: '当前视图参数', name: '当前视图参数',
codeName: 'viewParam', codeName: 'viewParam',
...@@ -42,22 +52,17 @@ export default class GridLoadUILogicBase { ...@@ -42,22 +52,17 @@ export default class GridLoadUILogicBase {
codeName: 'grid', codeName: 'grid',
ctrlParam: true, ctrlParam: true,
}, },
{
name: '额外参数',
codeName: 'otherParam',
entityParam: true,
},
{
name: '当前视图',
codeName: 'view',
activeViewParam: true,
},
{ {
name: '传入变量', name: '传入变量',
codeName: 'Default', codeName: 'Default',
default: true, default: true,
entityParam: true, entityParam: true,
}, },
{
name: '额外参数',
codeName: 'otherParam',
entityParam: true,
},
]; ];
/** /**
...@@ -113,93 +118,24 @@ export default class GridLoadUILogicBase { ...@@ -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 界面逻辑上下文 * @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridLoadUILogicBase * @memberof GridLoadUILogicBase
*/ */
protected async execute_bindparam2_node(actionContext: UIActionContext) { protected async execute_preparejsparam1_node(actionContext: UIActionContext) {
try { try {
// 源数据
const srcParam = actionContext.getParam('view');
// 目标数据 // 目标数据
const dstParam = actionContext.getParam('grid'); const dstParam_1: any = actionContext.getParam('otherParam');
// 源属性 // 无值类型
const srcFieldName: string = 'grid'; // 直接值
if (srcFieldName) { const result_1 = '12';
dstParam.bind(srcParam.get(srcFieldName)); dstParam_1.set('book', result_1);
} else {
dstParam.bind(srcParam.getReal());
}
actionContext.bindLastReturnParam(null);
} catch (error: any) { } catch (error: any) {
throw new Error(`逻辑参数当前表格 ${error && error.message ? error.message : '发生未知错误!'}`); throw new Error(`逻辑节点 准备参数 ${error && error.message ? error.message : '发生未知错误!'}`);
} }
console.log('已完成执行 绑定表格 节点'); console.log('已完成执行 准备参数 节点');
await this.execute_viewctrlinvoke1_node(actionContext); await this.execute_deaction1_node(actionContext);
} }
/** /**
...@@ -280,51 +216,19 @@ export default class GridLoadUILogicBase { ...@@ -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 界面逻辑上下文 * @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridLoadUILogicBase * @memberof GridLoadUILogicBase
*/ */
protected async execute_bindparam1_node(actionContext: UIActionContext) { protected async execute_bindparam2_node(actionContext: UIActionContext) {
try { try {
// 源数据 // 源数据
const srcParam = actionContext.getParam('view'); 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) { if (srcFieldName) {
dstParam.bind(srcParam.get(srcFieldName)); dstParam.bind(srcParam.get(srcFieldName));
} else { } else {
...@@ -332,21 +236,21 @@ export default class GridLoadUILogicBase { ...@@ -332,21 +236,21 @@ export default class GridLoadUILogicBase {
} }
actionContext.bindLastReturnParam(null); actionContext.bindLastReturnParam(null);
} catch (error: any) { } catch (error: any) {
throw new Error(`逻辑参数当前搜索表单 ${error && error.message ? error.message : '发生未知错误!'}`); throw new Error(`逻辑参数当前表格 ${error && error.message ? error.message : '发生未知错误!'}`);
} }
console.log('已完成执行 绑定搜索表单 节点'); console.log('已完成执行 绑定表格 节点');
await this.execute_bindparam2_node(actionContext); await this.execute_viewctrlinvoke1_node(actionContext);
} }
/** /**
* 表格加载 * 搜索表单loadDraft
* *
* @param {UIActionContext} actionContext 界面逻辑上下文 * @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridLoadUILogicBase * @memberof GridLoadUILogicBase
*/ */
protected async execute_viewctrlinvoke2_node(actionContext: UIActionContext) { protected async execute_viewctrlinvoke1_node(actionContext: UIActionContext) {
const invokeCtrl = 'grid'; const invokeCtrl = 'searchForm';
const invokeMethod = 'load'; const invokeMethod = 'loadDraft';
const invokeParam = 'viewParam'; const invokeParam = 'viewParam';
if (!invokeCtrl || !invokeMethod) { if (!invokeCtrl || !invokeMethod) {
throw new Error(`界面对象或者调用方法缺失`); throw new Error(`界面对象或者调用方法缺失`);
...@@ -365,29 +269,8 @@ export default class GridLoadUILogicBase { ...@@ -365,29 +269,8 @@ export default class GridLoadUILogicBase {
} else { } else {
throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`); throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`);
} }
console.log('已完成执行 表格加载 节点'); console.log('已完成执行 搜索表单loadDraft 节点');
await this.execute_delogic1_node(actionContext); await this.execute_viewctrlinvoke2_node(actionContext);
}
/**
* 准备参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof GridLoadUILogicBase
*/
protected async execute_preparejsparam1_node(actionContext: UIActionContext) {
try {
// 目标数据
const dstParam_1: any = actionContext.getParam('otherParam');
// 无值类型
// 直接值
const result_1 = '12';
dstParam_1.set('book', result_1);
} catch (error: any) {
throw new Error(`逻辑节点 准备参数 ${error && error.message ? error.message : '发生未知错误!'}`);
}
console.log('已完成执行 准备参数 节点');
await this.execute_deaction1_node(actionContext);
} }
/** /**
...@@ -417,5 +300,127 @@ export default class GridLoadUILogicBase { ...@@ -417,5 +300,127 @@ export default class GridLoadUILogicBase {
console.log('已完成执行 结束 节点'); 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 { ...@@ -663,7 +663,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -46,11 +46,11 @@ ...@@ -46,11 +46,11 @@
<span class="quick-toolbar"> <span class="quick-toolbar">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <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> <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> </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> </tooltip>
</div> </div>
</span> </span>
...@@ -61,18 +61,18 @@ ...@@ -61,18 +61,18 @@
<span class="batch-toolbar"> <span class="batch-toolbar">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <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> <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> </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>
<tooltip :transfer="true" :max-width="600"> <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> <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> </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> </tooltip>
</div> </div>
</span> </span>
...@@ -354,7 +354,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -354,7 +354,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr4ListView_layoutBase * @memberof IBIZBOOKListViewBase
*/ */
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this; const _this: any = this;
...@@ -374,7 +374,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -374,7 +374,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr4ListView_layoutBase * @memberof IBIZBOOKListViewBase
*/ */
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) { if (args.length === 0) {
...@@ -400,7 +400,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -400,7 +400,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr4ListView_layoutBase * @memberof IBIZBOOKListViewBase
*/ */
public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this; const _this: any = this;
...@@ -575,9 +575,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -575,9 +575,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型 * 工具栏模型
* *
* @type {*} * @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: '' } }, 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 ...@@ -587,9 +587,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型 * 工具栏模型
* *
* @type {*} * @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' } }, 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' } }, 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 ...@@ -812,7 +812,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -928,7 +928,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -928,7 +928,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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; return;
} }
if (datas.length === 0) { if (datas.length === 0) {
...@@ -1023,7 +1023,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -1023,7 +1023,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -1031,7 +1031,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -1031,7 +1031,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: '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{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){ if(item.ibizbook){
......
...@@ -657,7 +657,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -657,7 +657,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}, isReset: boolean = false): void { public load(opt: any = {}, isReset: boolean = false): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -736,7 +736,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -736,7 +736,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -845,7 +845,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -845,7 +845,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -853,7 +853,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -853,7 +853,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){ if(item.ibizorder){
......
...@@ -522,7 +522,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -522,7 +522,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -638,7 +638,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -638,7 +638,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.removeAction') as string) });
return; return;
} }
if (datas.length === 0) { if (datas.length === 0) {
...@@ -733,7 +733,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -733,7 +733,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -741,7 +741,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -741,7 +741,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){ if(item.ibizorder){
......
...@@ -2004,8 +2004,8 @@ ...@@ -2004,8 +2004,8 @@
"id" : "openKanbanDocument@IBIZBOOK" "id" : "openKanbanDocument@IBIZBOOK"
}, { }, {
"caption" : "取消", "caption" : "取消",
"codeName" : "panel_Usr1104773172_button_openview1_click", "codeName" : "panel_Layoutpanel_button_calluilogic1_click",
"fullCodeName" : "panel_Usr1104773172_button_openview1_click", "fullCodeName" : "panel_Layoutpanel_button_calluilogic1_click",
"name" : "取消", "name" : "取消",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -2014,12 +2014,12 @@ ...@@ -2014,12 +2014,12 @@
"predefinedType" : "DATA_CANCELCHANGES", "predefinedType" : "DATA_CANCELCHANGES",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1104773172_button_openview1_click", "uIActionTag" : "panel_Layoutpanel_button_calluilogic1_click",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, { }, {
"caption" : "确认", "caption" : "确认",
"codeName" : "panel_Usr1104773172_button_openview2_click", "codeName" : "panel_Layoutpanel_button_calluilogic2_click",
"fullCodeName" : "panel_Usr1104773172_button_openview2_click", "fullCodeName" : "panel_Layoutpanel_button_calluilogic2_click",
"name" : "确认", "name" : "确认",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -2028,7 +2028,7 @@ ...@@ -2028,7 +2028,7 @@
"predefinedType" : "DATA_SAVECHANGES", "predefinedType" : "DATA_SAVECHANGES",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1104773172_button_openview2_click", "uIActionTag" : "panel_Layoutpanel_button_calluilogic2_click",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, { }, {
"actionTarget" : "SINGLEDATA", "actionTarget" : "SINGLEDATA",
...@@ -2076,35 +2076,37 @@ ...@@ -2076,35 +2076,37 @@
} ], } ],
"parallelOutput" : true "parallelOutput" : true
}, { }, {
"codeName" : "VIEWCTRLINVOKE1", "codeName" : "PREPAREJSPARAM1",
"getInvokeCtrl" : { "logicNodeType" : "PREPAREJSPARAM",
"modelref" : true, "name" : "准备参数",
"id" : "searchForm"
},
"invokeMethod" : "loadDraft",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "搜索表单loadDraft",
"getPSDEUILogicLinks" : [ { "getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : { "getDstPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "VIEWCTRLINVOKE2" "id" : "DEACTION1"
}, },
"linkMode" : 0, "linkMode" : 0,
"name" : "连接名称", "name" : "连接名称",
"getSrcPSDEUILogicNode" : { "getSrcPSDEUILogicNode" : {
"modelref" : true, "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", "codeName" : "DEACTION1",
"getDstPSAppDELogic" : { "getDstPSAppDEAction" : {
"modelref" : true, "modelref" : true,
"id" : "initData" "id" : "Get"
}, },
"getDstPSAppDataEntity" : { "getDstPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -2112,33 +2114,26 @@ ...@@ -2112,33 +2114,26 @@
}, },
"getDstPSDEUILogicParam" : { "getDstPSDEUILogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "viewParam" "id" : "otherParam"
}, },
"logicNodeType" : "DELOGIC", "logicNodeType" : "DEACTION",
"name" : "实体处理逻辑", "name" : "实体行为",
"getPSDEUILogicLinks" : [ { "getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : { "getDstPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "MSGBOX1" "id" : "END1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "DELOGIC1"
}
}, {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM1"
}, },
"linkMode" : 0, "linkMode" : 0,
"name" : "连接名称", "name" : "连接名称",
"getSrcPSDEUILogicNode" : { "getSrcPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "DELOGIC1" "id" : "DEACTION1"
} }
} ] } ],
"getRetPSDEUILogicParam" : {
"modelref" : true,
"id" : "Default"
}
}, { }, {
"codeName" : "BINDPARAM2", "codeName" : "BINDPARAM2",
"getDstPSDEUILogicParam" : { "getDstPSDEUILogicParam" : {
...@@ -2165,10 +2160,44 @@ ...@@ -2165,10 +2160,44 @@
"id" : "view" "id" : "view"
} }
}, { }, {
"codeName" : "DEACTION1", "codeName" : "VIEWCTRLINVOKE1",
"getDstPSAppDEAction" : { "getInvokeCtrl" : {
"modelref" : true, "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" : { "getDstPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -2176,35 +2205,33 @@ ...@@ -2176,35 +2205,33 @@
}, },
"getDstPSDEUILogicParam" : { "getDstPSDEUILogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "otherParam" "id" : "viewParam"
}, },
"logicNodeType" : "DEACTION", "logicNodeType" : "DELOGIC",
"name" : "实体行为", "name" : "实体处理逻辑",
"getPSDEUILogicLinks" : [ { "getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : { "getDstPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "END1" "id" : "MSGBOX1"
}, },
"linkMode" : 0, "linkMode" : 0,
"name" : "连接名称", "name" : "连接名称",
"getSrcPSDEUILogicNode" : { "getSrcPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "DEACTION1" "id" : "DELOGIC1"
} }
} ], }, {
"getRetPSDEUILogicParam" : { "getDstPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "PREPAREJSPARAM1"
} },
}, { "linkMode" : 0,
"buttonsType" : "OK", "name" : "连接名称",
"codeName" : "MSGBOX1", "getSrcPSDEUILogicNode" : {
"logicNodeType" : "MSGBOX", "modelref" : true,
"message" : "我被触发啦", "id" : "DELOGIC1"
"msgBoxType" : "INFO", }
"name" : "消息弹窗", } ]
"showMode" : "CENTER",
"title" : "触发"
}, { }, {
"codeName" : "BINDPARAM1", "codeName" : "BINDPARAM1",
"getDstPSDEUILogicParam" : { "getDstPSDEUILogicParam" : {
...@@ -2256,47 +2283,30 @@ ...@@ -2256,47 +2283,30 @@
} }
} ] } ]
}, { }, {
"codeName" : "PREPAREJSPARAM1", "buttonsType" : "OK",
"logicNodeType" : "PREPAREJSPARAM", "codeName" : "MSGBOX1",
"name" : "准备参数", "logicNodeType" : "MSGBOX",
"getPSDEUILogicLinks" : [ { "message" : "我被触发啦",
"getDstPSDEUILogicNode" : { "msgBoxType" : "INFO",
"modelref" : true, "name" : "消息弹窗",
"id" : "DEACTION1" "showMode" : "CENTER",
}, "title" : "触发"
"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"
} ], } ],
"getPSDEUILogicParams" : [ { "getPSDEUILogicParams" : [ {
"codeName" : "context",
"logicName" : "应用上下文",
"name" : "应用上下文",
"navContextParam" : true
}, {
"codeName" : "searchForm", "codeName" : "searchForm",
"logicName" : "当前搜索表单", "logicName" : "当前搜索表单",
"name" : "当前搜索表单", "name" : "当前搜索表单",
"ctrlParam" : true "ctrlParam" : true
}, {
"codeName" : "view",
"logicName" : "当前视图",
"name" : "当前视图",
"activeViewParam" : true
}, { }, {
"codeName" : "viewParam", "codeName" : "viewParam",
"logicName" : "当前视图参数", "logicName" : "当前视图参数",
...@@ -2307,22 +2317,17 @@ ...@@ -2307,22 +2317,17 @@
"logicName" : "当前表格", "logicName" : "当前表格",
"name" : "当前表格", "name" : "当前表格",
"ctrlParam" : true "ctrlParam" : true
}, {
"codeName" : "otherParam",
"logicName" : "额外参数",
"name" : "额外参数",
"entityParam" : true
}, {
"codeName" : "view",
"logicName" : "当前视图",
"name" : "当前视图",
"activeViewParam" : true
}, { }, {
"codeName" : "Default", "codeName" : "Default",
"logicName" : "传入变量", "logicName" : "传入变量",
"name" : "传入变量", "name" : "传入变量",
"default" : true, "default" : true,
"entityParam" : true "entityParam" : true
}, {
"codeName" : "otherParam",
"logicName" : "额外参数",
"name" : "额外参数",
"entityParam" : true
} ], } ],
"getStartPSDEUILogicNode" : { "getStartPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
......
...@@ -11,16 +11,6 @@ ...@@ -11,16 +11,6 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称", "caption" : "图书名称",
"codeName" : "ibizbookname", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -60,6 +50,16 @@ ...@@ -60,6 +50,16 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -19,11 +19,11 @@ ...@@ -19,11 +19,11 @@
} }
} ], } ],
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书描述", "caption" : "作者",
"codeName" : "subtext", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext", "dataItemName" : "author",
"name" : "subtext", "name" : "author",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -39,11 +39,11 @@ ...@@ -39,11 +39,11 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "图书描述",
"codeName" : "author", "codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "subtext",
"name" : "author", "name" : "subtext",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -34,16 +34,6 @@ ...@@ -34,16 +34,6 @@
"id" : "GANTT" "id" : "GANTT"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称", "caption" : "图书名称",
"codeName" : "ibizbookname", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -83,6 +73,16 @@ ...@@ -83,6 +73,16 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -13,1272 +13,1260 @@ ...@@ -13,1272 +13,1260 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "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" : { "getPSAppViewMsgGroup" : {
"modelref" : true, "modelref" : true,
"id" : "VMGroup88" "id" : "VMGroup88"
}, },
"getPSDEViewCodeName" : "OptionView_layout", "getPSControls" : [ {
"getPSDEViewId" : "FF5AF5DB-30C7-4C6A-8678-638BCC378642", "codeName" : "Main",
"getPSViewLayoutPanel" : { "controlType" : "FORM",
"codeName" : "Usr1104773172", "getCreatePSControlAction" : {
"controlType" : "VIEWLAYOUTPANEL", "modelref" : true,
"layoutMode" : "FLEX", "id" : "create"
"logicName" : "OptionView_layoutDEOPTVIEW", },
"name" : "layoutpanel", "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" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSAppViewLogics" : [ { "getPSControlHandler" : {
"logicTrigger" : "CUSTOM", "getPSHandlerActions" : [ {
"logicType" : "APPVIEWUIACTION", "actionName" : "GetDraft",
"name" : "layoutpanel_button_openview1_click", "actionType" : "DEACTION",
"getPSAppViewUIAction" : { "dataAccessAction" : "CREATE",
"modelref" : true, "name" : "loaddraft",
"id" : "layoutpanel_button_openview1" "getPSAppDEMethod" : {
} "modelref" : true,
}, { "id" : "GetDraft"
"logicTrigger" : "CUSTOM", },
"logicType" : "APPVIEWUIACTION",
"name" : "layoutpanel_button_openview2_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_button_openview2"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "layoutpanel_button_openview1",
"getPSUIAction" : {
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "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" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "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, "modelref" : true,
"id" : "panel_Usr1104773172_button_openview2_click" "id" : "engine"
}, }
"xDataControlName" : "layoutpanel"
} ], } ],
"getPSControlParam" : { }, "getPSControlParam" : {
"getPSLayout" : { "autoLoad" : true,
"layout" : "FLEX" "showBusyIndicator" : true,
"id" : "FORM"
}, },
"getRootPSPanelItems" : [ { "getPSDEFormItems" : [ {
"caption" : "分组标题", "id" : "srfupdatedate",
"itemStyle" : "DEFAULT", "hidden" : true,
"itemType" : "CONTAINER", "dataType" : 5,
"name" : "page_container", "getPSAppDEField" : {
"getPSLayout" : { "name" : "UPDATEDATE",
"layout" : "FLEX" "codeName" : "UpdateDate"
}, }
"getPSLayoutPos" : { }, {
"grow" : -1, "id" : "srforikey",
"heightMode" : "FULL", "hidden" : true,
"layout" : "FLEX" "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" : "基本信息",
"caption" : "滚动条容器", "codeName" : "formpage1",
"itemStyle" : "DEFAULT", "detailStyle" : "DEFAULT",
"itemType" : "CONTAINER", "detailType" : "FORMPAGE",
"name" : "container_scroll1", "name" : "formpage1",
"getPSLayout" : { "getPSDEFormDetails" : [ {
"layout" : "BORDER" "actionGroupExtractMode" : "ITEM",
}, "getCapPSLanguageRes" : {
"getPSLayoutPos" : { "lanResTag" : "CONTROL.DEFORM.IBIZBOOK.MAIN.GROUPPANEL.GROUP1"
"grow" : -1,
"layout" : "FLEX"
}, },
"getPSPanelItems" : [ { "caption" : "图书基本信息",
"caption" : "面板容器", "codeName" : "group1",
"itemStyle" : "DEFAULT", "detailStyle" : "DEFAULT",
"itemType" : "CONTAINER", "detailType" : "GROUPPANEL",
"name" : "container_scroll_main1", "name" : "group1",
"getPSLayout" : { "getPSDEFormDetails" : [ {
"layout" : "BORDER" "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" : { "getPSLayoutPos" : {
"layout" : "BORDER", "colLG" : 8,
"layoutPos" : "CENTER" "colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
}, },
"getPSPanelItems" : [ { "allowEmpty" : true,
"caption" : "FORM",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "form",
"getPSLayoutPos" : {
"heightMode" : "FULL",
"layout" : "BORDER",
"layoutPos" : "CENTER"
},
"showCaption" : true
} ],
"showCaption" : true "showCaption" : true
}, { }, {
"caption" : "面板容器", "getCapPSLanguageRes" : {
"contentHeight" : 60.0, "lanResTag" : "DEF.LNAME.IBIZBOOKNAME"
"height" : 60.0, },
"itemStyle" : "DEFAULT", "caption" : "图书名称",
"itemType" : "CONTAINER", "codeName" : "ibizbookname",
"name" : "container_scroll_bottom1", "dataType" : 25,
"getPSLayout" : { "detailStyle" : "DEFAULT",
"layout" : "BORDER" "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" : { "getPSLayoutPos" : {
"height" : 60, "colLG" : 8,
"heightMode" : "PX", "colMD" : 8,
"layout" : "BORDER", "colSM" : 8,
"layoutPos" : "SOUTH" "colXS" : 8,
"layout" : "TABLE_24COL"
}, },
"getPSPanelItems" : [ { "allowEmpty" : false,
"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
} ]
} ],
"showCaption" : true "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", "getCapPSLanguageRes" : {
"actionType" : "DEACTION", "lanResTag" : "DEF.LNAME.AUTHOR"
"dataAccessAction" : "CREATE", },
"name" : "create", "caption" : "图书作者",
"getPSAppDEMethod" : { "codeName" : "author",
"modelref" : true, "dataType" : 25,
"id" : "Create" "detailStyle" : "DEFAULT",
}, "detailType" : "FORMITEM",
"getPSAppDataEntity" : { "enableCond" : 3,
"modelref" : true, "ignoreInput" : 0,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "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", "getCapPSLanguageRes" : {
"actionType" : "DEACTION", "lanResTag" : "DEF.LNAME.PRESS"
"dataAccessAction" : "UPDATE", },
"name" : "update", "caption" : "图书出版社",
"getPSAppDEMethod" : { "codeName" : "press",
"modelref" : true, "dataType" : 25,
"id" : "Update" "detailStyle" : "DEFAULT",
}, "detailType" : "FORMITEM",
"getPSAppDataEntity" : { "enableCond" : 3,
"modelref" : true, "ignoreInput" : 0,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "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" : { "getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFORM.IBIZBOOK.MAIN.GROUPPANEL.GROUP1" "lanResTag" : "DEF.LNAME.PRICE"
}, },
"caption" : "图书基本信息", "caption" : "图书价格",
"codeName" : "group1", "codeName" : "price",
"dataType" : 7,
"detailStyle" : "DEFAULT", "detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL", "detailType" : "FORMITEM",
"name" : "group1", "enableCond" : 3,
"getPSDEFormDetails" : [ { "ignoreInput" : 0,
"getCapPSLanguageRes" : { "labelPos" : "LEFT",
"lanResTag" : "DEF.LNAME.IBIZBOOKID" "labelWidth" : 130,
}, "name" : "price",
"caption" : "图书标识", "noPrivDisplayMode" : 1,
"codeName" : "ibizbookid", "getPSAppDEField" : {
"dataType" : 25, "name" : "PRICE",
"detailStyle" : "DEFAULT", "codeName" : "Price"
"detailType" : "FORMITEM", },
"enableCond" : 3, "getPSEditor" : {
"ignoreInput" : 0, "editorType" : "NUMBER",
"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,
"name" : "price", "name" : "price",
"noPrivDisplayMode" : 1, "precision" : 2
"getPSAppDEField" : { },
"name" : "PRICE", "getPSLayoutPos" : {
"codeName" : "Price" "colLG" : 8,
}, "colMD" : 8,
"getPSEditor" : { "colSM" : 8,
"editorType" : "NUMBER", "colXS" : 8,
"name" : "price", "layout" : "TABLE_24COL"
"precision" : 2 },
}, "allowEmpty" : true,
"getPSLayoutPos" : { "showCaption" : true
"colLG" : 8, }, {
"colMD" : 8, "getCapPSLanguageRes" : {
"colSM" : 8, "lanResTag" : "DEF.LNAME.TYPE"
"colXS" : 8, },
"layout" : "TABLE_24COL" "caption" : "图书类型",
}, "codeName" : "type",
"allowEmpty" : true, "dataType" : 25,
"showCaption" : true "detailStyle" : "DEFAULT",
}, { "detailType" : "FORMITEM",
"getCapPSLanguageRes" : { "enableCond" : 3,
"lanResTag" : "DEF.LNAME.TYPE" "ignoreInput" : 0,
}, "labelPos" : "LEFT",
"caption" : "图书类型", "labelWidth" : 130,
"codeName" : "type", "name" : "type",
"dataType" : 25, "noPrivDisplayMode" : 1,
"detailStyle" : "DEFAULT", "getPSAppDEField" : {
"detailType" : "FORMITEM", "name" : "TYPE",
"enableCond" : 3, "codeName" : "Type"
"ignoreInput" : 0, },
"labelPos" : "LEFT", "getPSEditor" : {
"labelWidth" : 130, "editorType" : "DROPDOWNLIST",
"name" : "type", "name" : "type",
"noPrivDisplayMode" : 1, "getPSAppCodeList" : {
"getPSAppDEField" : { "modelref" : true,
"name" : "TYPE", "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookType.json"
"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"
}, },
"allowEmpty" : true, "singleSelect" : true
"needCodeListConfig" : true, },
"showCaption" : true "getPSLayoutPos" : {
}, { "colLG" : 8,
"getCapPSLanguageRes" : { "colMD" : 8,
"lanResTag" : "DEF.LNAME.BOOKNUMBER" "colSM" : 8,
}, "colXS" : 8,
"caption" : "图书数量", "layout" : "TABLE_24COL"
"codeName" : "booknumber", },
"dataType" : 9, "allowEmpty" : true,
"detailStyle" : "DEFAULT", "needCodeListConfig" : true,
"detailType" : "FORMITEM", "showCaption" : true
"enableCond" : 3, }, {
"ignoreInput" : 0, "getCapPSLanguageRes" : {
"labelPos" : "LEFT", "lanResTag" : "DEF.LNAME.BOOKNUMBER"
"labelWidth" : 130, },
"name" : "booknumber", "caption" : "图书数量",
"noPrivDisplayMode" : 1, "codeName" : "booknumber",
"getPSAppDEField" : { "dataType" : 9,
"name" : "BOOKNUMBER", "detailStyle" : "DEFAULT",
"codeName" : "Booknumber" "detailType" : "FORMITEM",
}, "enableCond" : 3,
"getPSEditor" : { "ignoreInput" : 0,
"editorType" : "TEXTBOX", "labelPos" : "LEFT",
"name" : "booknumber" "labelWidth" : 130,
}, "name" : "booknumber",
"getPSLayoutPos" : { "noPrivDisplayMode" : 1,
"colLG" : 8, "getPSAppDEField" : {
"colMD" : 8, "name" : "BOOKNUMBER",
"colSM" : 8, "codeName" : "Booknumber"
"colXS" : 8, },
"layout" : "TABLE_24COL" "getPSEditor" : {
}, "editorType" : "TEXTBOX",
"allowEmpty" : true, "name" : "booknumber"
"showCaption" : true },
}, { "getPSLayoutPos" : {
"getCapPSLanguageRes" : { "colLG" : 8,
"lanResTag" : "DEF.LNAME.SAILSTATE" "colMD" : 8,
}, "colSM" : 8,
"caption" : "图书销售状态", "colXS" : 8,
"codeName" : "sailstate", "layout" : "TABLE_24COL"
"dataType" : 25, },
"detailStyle" : "DEFAULT", "allowEmpty" : true,
"detailType" : "FORMITEM", "showCaption" : true
"enableCond" : 3, }, {
"ignoreInput" : 0, "getCapPSLanguageRes" : {
"labelPos" : "LEFT", "lanResTag" : "DEF.LNAME.SAILSTATE"
"labelWidth" : 130, },
"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", "name" : "sailstate",
"noPrivDisplayMode" : 1, "getPSAppCodeList" : {
"getPSAppDEField" : { "modelref" : true,
"name" : "SAILSTATE", "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookSailState.json"
"codeName" : "Sailstate"
}, },
"getPSEditor" : { "singleSelect" : true
"editorType" : "DROPDOWNLIST", },
"name" : "sailstate", "getPSLayoutPos" : {
"getPSAppCodeList" : { "colLG" : 8,
"modelref" : true, "colMD" : 8,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookSailState.json" "colSM" : 8,
}, "colXS" : 8,
"singleSelect" : true "layout" : "TABLE_24COL"
}, },
"getPSLayoutPos" : { "allowEmpty" : true,
"colLG" : 8, "needCodeListConfig" : true,
"colMD" : 8, "showCaption" : true
"colSM" : 8, }, {
"colXS" : 8, "getCapPSLanguageRes" : {
"layout" : "TABLE_24COL" "lanResTag" : "DEF.LNAME.LENDOUTTIME"
}, },
"allowEmpty" : true, "caption" : "借出日期",
"needCodeListConfig" : true, "codeName" : "lendouttime",
"showCaption" : true "dataType" : 5,
}, { "detailStyle" : "DEFAULT",
"getCapPSLanguageRes" : { "detailType" : "FORMITEM",
"lanResTag" : "DEF.LNAME.LENDOUTTIME" "enableCond" : 3,
}, "ignoreInput" : 0,
"caption" : "借出日期", "itemWidth" : 230.0,
"codeName" : "lendouttime", "labelPos" : "LEFT",
"dataType" : 5, "labelWidth" : 130,
"detailStyle" : "DEFAULT", "name" : "lendouttime",
"detailType" : "FORMITEM", "noPrivDisplayMode" : 1,
"enableCond" : 3, "getPSAppDEField" : {
"ignoreInput" : 0, "name" : "LENDOUTTIME",
"itemWidth" : 230.0, "codeName" : "Lendouttime"
"labelPos" : "LEFT", },
"labelWidth" : 130, "getPSEditor" : {
"name" : "lendouttime", "dateTimeFormat" : "YYYY-MM-DD",
"noPrivDisplayMode" : 1, "editorParams" : {
"getPSAppDEField" : { "TIMEFMT" : "YYYY-MM-DD"
"name" : "LENDOUTTIME", },
"codeName" : "Lendouttime" "editorType" : "DATEPICKEREX_NOTIME",
}, "editorWidth" : 100.0,
"getPSEditor" : { "name" : "lendouttime"
"dateTimeFormat" : "YYYY-MM-DD", },
"editorParams" : { "getPSLayoutPos" : {
"TIMEFMT" : "YYYY-MM-DD" "colLG" : 8,
}, "colMD" : 8,
"editorType" : "DATEPICKEREX_NOTIME", "colSM" : 8,
"editorWidth" : 100.0, "colXS" : 8,
"name" : "lendouttime" "layout" : "TABLE_24COL"
}, },
"getPSLayoutPos" : { "valueFormat" : "YYYY-MM-DD",
"colLG" : 8, "allowEmpty" : false,
"colMD" : 8, "showCaption" : true
"colSM" : 8, }, {
"colXS" : 8, "getCapPSLanguageRes" : {
"layout" : "TABLE_24COL" "lanResTag" : "DEF.LNAME.RETURNTIME"
}, },
"valueFormat" : "YYYY-MM-DD", "caption" : "归还日期",
"allowEmpty" : false, "codeName" : "returntime",
"showCaption" : true "dataType" : 5,
}, { "detailStyle" : "DEFAULT",
"getCapPSLanguageRes" : { "detailType" : "FORMITEM",
"lanResTag" : "DEF.LNAME.RETURNTIME" "enableCond" : 3,
}, "ignoreInput" : 0,
"caption" : "归还日期", "itemWidth" : 230.0,
"codeName" : "returntime", "labelPos" : "LEFT",
"dataType" : 5, "labelWidth" : 130,
"detailStyle" : "DEFAULT", "name" : "returntime",
"detailType" : "FORMITEM", "noPrivDisplayMode" : 1,
"enableCond" : 3, "getPSAppDEField" : {
"ignoreInput" : 0, "name" : "RETURNTIME",
"itemWidth" : 230.0, "codeName" : "Returntime"
"labelPos" : "LEFT", },
"labelWidth" : 130, "getPSEditor" : {
"name" : "returntime", "dateTimeFormat" : "YYYY-MM-DD",
"noPrivDisplayMode" : 1, "editorParams" : {
"getPSAppDEField" : { "TIMEFMT" : "YYYY-MM-DD"
"name" : "RETURNTIME", },
"codeName" : "Returntime" "editorType" : "DATEPICKEREX_NOTIME",
}, "editorWidth" : 100.0,
"getPSEditor" : { "name" : "returntime"
"dateTimeFormat" : "YYYY-MM-DD", },
"editorParams" : { "getPSLayoutPos" : {
"TIMEFMT" : "YYYY-MM-DD" "colLG" : 8,
}, "colMD" : 8,
"editorType" : "DATEPICKEREX_NOTIME", "colSM" : 8,
"editorWidth" : 100.0, "colXS" : 8,
"name" : "returntime" "layout" : "TABLE_24COL"
}, },
"getPSLayoutPos" : { "valueFormat" : "YYYY-MM-DD",
"colLG" : 8, "allowEmpty" : false,
"colMD" : 8, "showCaption" : true
"colSM" : 8, }, {
"colXS" : 8, "getCapPSLanguageRes" : {
"layout" : "TABLE_24COL" "lanResTag" : "DEF.LNAME.TAG"
}, },
"valueFormat" : "YYYY-MM-DD", "caption" : "标签",
"allowEmpty" : false, "codeName" : "tag",
"showCaption" : true "dataType" : 21,
}, { "detailStyle" : "DEFAULT",
"getCapPSLanguageRes" : { "detailType" : "FORMITEM",
"lanResTag" : "DEF.LNAME.TAG" "enableCond" : 3,
}, "ignoreInput" : 0,
"caption" : "标签", "labelPos" : "LEFT",
"codeName" : "tag", "labelWidth" : 130,
"dataType" : 21, "name" : "tag",
"detailStyle" : "DEFAULT", "noPrivDisplayMode" : 1,
"detailType" : "FORMITEM", "getPSAppDEField" : {
"enableCond" : 3, "name" : "TAG",
"ignoreInput" : 0, "codeName" : "Tag"
"labelPos" : "LEFT", },
"labelWidth" : 130, "getPSEditor" : {
"editorType" : "MDROPDOWNLIST",
"name" : "tag", "name" : "tag",
"noPrivDisplayMode" : 1, "getPSAppCodeList" : {
"getPSAppDEField" : { "modelref" : true,
"name" : "TAG", "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Booktag.json"
"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"
}, },
"allowEmpty" : true, "singleSelect" : false
"needCodeListConfig" : true, },
"showCaption" : true "getPSLayoutPos" : {
}, { "colLG" : 8,
"getCapPSLanguageRes" : { "colMD" : 8,
"lanResTag" : "DEF.LNAME.TAG" "colSM" : 8,
}, "colXS" : 8,
"caption" : "标签", "layout" : "TABLE_24COL"
"codeName" : "tag1", },
"dataType" : 21, "allowEmpty" : true,
"detailStyle" : "DEFAULT", "needCodeListConfig" : true,
"detailType" : "FORMITEM", "showCaption" : true
"enableCond" : 3, }, {
"ignoreInput" : 0, "getCapPSLanguageRes" : {
"labelPos" : "LEFT", "lanResTag" : "DEF.LNAME.TAG"
"labelWidth" : 130, },
"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", "name" : "tag1",
"noPrivDisplayMode" : 1, "getPSAppCodeList" : {
"getPSAppDEField" : { "modelref" : true,
"name" : "TAG", "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Booktag.json"
"codeName" : "Tag" }
}, },
"getPSEditor" : { "getPSLayoutPos" : {
"editorType" : "CHECKBOXLIST", "colMD" : 24,
"name" : "tag1", "layout" : "TABLE_24COL"
"getPSAppCodeList" : { },
"modelref" : true, "allowEmpty" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Booktag.json" "needCodeListConfig" : true,
} "showCaption" : true
}, }, {
"getPSLayoutPos" : { "getCapPSLanguageRes" : {
"colMD" : 24, "lanResTag" : "CONTROL.DEFORM.IBIZBOOK.MAIN.FORMITEM.ICON"
"layout" : "TABLE_24COL" },
}, "caption" : "图书封面",
"allowEmpty" : true, "codeName" : "icon",
"needCodeListConfig" : true, "dataType" : 21,
"showCaption" : true "detailStyle" : "DEFAULT",
}, { "detailType" : "FORMITEM",
"getCapPSLanguageRes" : { "enableCond" : 3,
"lanResTag" : "CONTROL.DEFORM.IBIZBOOK.MAIN.FORMITEM.ICON" "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" : "图书封面", "editorType" : "TEXTAREA_10",
"codeName" : "icon", "maxLength" : 1048576,
"dataType" : 21,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemHeight" : 200.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "icon", "name" : "icon",
"noPrivDisplayMode" : 1, "showMaxLength" : true
"getPSAppDEField" : { },
"name" : "ICON", "getPSLayoutPos" : {
"codeName" : "Icon" "colLG" : 8,
}, "colLGOffset" : 1,
"getPSEditor" : { "colMD" : 8,
"editorHeight" : 200.0, "colMDOffset" : 1,
"editorParams" : { "colSM" : 8,
"HEIGHT" : "200" "colSMOffset" : 1,
}, "colXS" : 8,
"editorType" : "TEXTAREA_10", "colXSOffset" : 1,
"maxLength" : 1048576, "layout" : "TABLE_24COL"
"name" : "icon", },
"showMaxLength" : true "allowEmpty" : true,
}, "showCaption" : true
"getPSLayoutPos" : { }, {
"colLG" : 8, "getCapPSLanguageRes" : {
"colLGOffset" : 1, "lanResTag" : "DEF.LNAME.SUBTEXT"
"colMD" : 8, },
"colMDOffset" : 1, "caption" : "图书描述",
"colSM" : 8, "codeName" : "subtext",
"colSMOffset" : 1, "dataType" : 25,
"colXS" : 8, "detailStyle" : "DEFAULT",
"colXSOffset" : 1, "detailType" : "FORMITEM",
"layout" : "TABLE_24COL" "enableCond" : 3,
}, "ignoreInput" : 0,
"allowEmpty" : true, "itemHeight" : 200.0,
"showCaption" : true "labelPos" : "LEFT",
}, { "labelWidth" : 130,
"getCapPSLanguageRes" : { "name" : "subtext",
"lanResTag" : "DEF.LNAME.SUBTEXT" "noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
},
"getPSEditor" : {
"editorHeight" : 200.0,
"editorParams" : {
"HEIGHT" : "200"
}, },
"caption" : "图书描述", "editorType" : "TEXTAREA_10",
"codeName" : "subtext", "maxLength" : 100,
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemHeight" : 200.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "subtext", "name" : "subtext",
"noPrivDisplayMode" : 1, "showMaxLength" : true
"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"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "colLG" : 15,
"colMD" : 15,
"colSM" : 15,
"colXS" : 15,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"infoGroupMode" : false, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"columnCount" : 24, "columnCount" : 24,
"layout" : "TABLE_24COL" "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" : { "getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFORM.IBIZBOOK.MAIN.FORMPAGE.FORMPAGE2" "lanResTag" : "CONTROL.DEFORM.IBIZBOOK.MAIN.GROUPPANEL.GROUP2"
}, },
"caption" : "其它", "caption" : "操作信息",
"codeName" : "formpage2", "codeName" : "group2",
"detailStyle" : "DEFAULT", "detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE", "detailType" : "GROUPPANEL",
"name" : "formpage2", "name" : "group2",
"getPSDEFormDetails" : [ { "getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFORM.IBIZBOOK.MAIN.GROUPPANEL.GROUP2" "lanResTag" : "DEF.LNAME.CREATEMAN"
}, },
"caption" : "操作信息", "caption" : "建立人",
"codeName" : "group2", "codeName" : "createman",
"dataType" : 25,
"detailStyle" : "DEFAULT", "detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL", "detailType" : "FORMITEM",
"name" : "group2", "enableCond" : 3,
"getPSDEFormDetails" : [ { "ignoreInput" : 3,
"getCapPSLanguageRes" : { "labelPos" : "LEFT",
"lanResTag" : "DEF.LNAME.CREATEMAN" "labelWidth" : 130,
}, "name" : "createman",
"caption" : "建立人", "noPrivDisplayMode" : 1,
"codeName" : "createman", "getPSAppDEField" : {
"dataType" : 25, "name" : "CREATEMAN",
"detailStyle" : "DEFAULT", "codeName" : "CreateMan"
"detailType" : "FORMITEM", },
"enableCond" : 3, "getPSEditor" : {
"ignoreInput" : 3, "editorType" : "SPAN",
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "createman", "name" : "createman",
"noPrivDisplayMode" : 1, "getPSAppCodeList" : {
"getPSAppDEField" : { "modelref" : true,
"name" : "CREATEMAN", "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
"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"
}, },
"caption" : "建立时间", "enableLinkView" : false
"codeName" : "createdate", },
"dataType" : 5, "getPSLayoutPos" : {
"detailStyle" : "DEFAULT", "colMD" : 24,
"detailType" : "FORMITEM", "layout" : "TABLE_24COL"
"enableCond" : 3, },
"ignoreInput" : 3, "allowEmpty" : true,
"labelPos" : "LEFT", "convertToCodeItemText" : true,
"labelWidth" : 130, "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", "name" : "createdate",
"noPrivDisplayMode" : 1, "enableLinkView" : false
"getPSAppDEField" : { },
"name" : "CREATEDATE", "getPSLayoutPos" : {
"codeName" : "CreateDate" "colMD" : 24,
}, "layout" : "TABLE_24COL"
"getPSEditor" : { },
"editorType" : "SPAN", "valueFormat" : "YYYY-MM-DD HH:mm:ss",
"name" : "createdate", "allowEmpty" : true,
"enableLinkView" : false "showCaption" : true
}, }, {
"getPSLayoutPos" : { "getCapPSLanguageRes" : {
"colMD" : 24, "lanResTag" : "DEF.LNAME.UPDATEMAN"
"layout" : "TABLE_24COL" },
}, "caption" : "更新人",
"valueFormat" : "YYYY-MM-DD HH:mm:ss", "codeName" : "updateman",
"allowEmpty" : true, "dataType" : 25,
"showCaption" : true "detailStyle" : "DEFAULT",
}, { "detailType" : "FORMITEM",
"getCapPSLanguageRes" : { "enableCond" : 3,
"lanResTag" : "DEF.LNAME.UPDATEMAN" "ignoreInput" : 3,
}, "labelPos" : "LEFT",
"caption" : "更新人", "labelWidth" : 130,
"codeName" : "updateman", "name" : "updateman",
"dataType" : 25, "noPrivDisplayMode" : 1,
"detailStyle" : "DEFAULT", "getPSAppDEField" : {
"detailType" : "FORMITEM", "name" : "UPDATEMAN",
"enableCond" : 3, "codeName" : "UpdateMan"
"ignoreInput" : 3, },
"labelPos" : "LEFT", "getPSEditor" : {
"labelWidth" : 130, "editorType" : "SPAN",
"name" : "updateman", "name" : "updateman",
"noPrivDisplayMode" : 1, "getPSAppCodeList" : {
"getPSAppDEField" : { "modelref" : true,
"name" : "UPDATEMAN", "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
"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"
}, },
"valueFormat" : "YYYY-MM-DD HH:mm:ss", "enableLinkView" : false
"allowEmpty" : true, },
"showCaption" : true "getPSLayoutPos" : {
} ], "colMD" : 24,
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL" "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" : { "getPSLayoutPos" : {
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"infoGroupMode" : false, "valueFormat" : "YYYY-MM-DD HH:mm:ss",
"allowEmpty" : true,
"showCaption" : true "showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"columnCount" : 24, "columnCount" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"infoGroupMode" : false "getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"columnCount" : 24, "columnCount" : 24,
"layout" : "TABLE_24COL" "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, "modelref" : true,
"id" : "remove" "id" : "panel_Layoutpanel_button_calluilogic2_click"
}, },
"tabHeaderPos" : "TOP", "xDataControlName" : "layoutpanel"
"getUpdatePSControlAction" : { }, {
"name" : "layoutpanel_button_calluilogic1",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref" : true, "modelref" : true,
"id" : "update" "id" : "panel_Layoutpanel_button_calluilogic1_click"
}, },
"noTabHeader" : false, "xDataControlName" : "layoutpanel"
"name" : "form", } ],
"modelid" : "6cd11a010cbbb4d2bad5e1aad7e8020a", "getPSControlParam" : { },
"modeltype" : "PSDEFORM_EDITFORM" "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" : "实体选项操作视图", "title" : "实体选项操作视图",
"getTitlePSLanguageRes" : { "getTitlePSLanguageRes" : {
......
...@@ -75,11 +75,11 @@ ...@@ -75,11 +75,11 @@
"id" : "TREEGRIDEX" "id" : "TREEGRIDEX"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书描述", "caption" : "作者",
"codeName" : "subtext", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext", "dataItemName" : "author",
"name" : "subtext", "name" : "author",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -95,11 +95,11 @@ ...@@ -95,11 +95,11 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "图书描述",
"codeName" : "author", "codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "subtext",
"name" : "author", "name" : "subtext",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[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"> <createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册