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

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

上级 1e571950
.app-nav-pos { .app-nav-pos {
width: 100%; width: 100%;
height: 100%; height: 100%;
}
.app-nav-pos.is-layout {
margin-left: 12px;
margin-right: 12px;
padding-left: 12px;
padding-right: 12px;
height: calc(100% - 12px);
width: auto;
background-color: #fff;
} }
\ No newline at end of file
...@@ -118,7 +118,7 @@ export default class AppNavPos extends Vue { ...@@ -118,7 +118,7 @@ export default class AppNavPos extends Vue {
get curClassName() { get curClassName() {
const currentModel = this.layoutModelDetails[this.itemName]; const currentModel = this.layoutModelDetails[this.itemName];
if (currentModel) { if (currentModel) {
return `app-nav-pos ${this.itemName} ${currentModel.sysCss}`; return `app-nav-pos ${this.itemName} ${currentModel.sysCss} ${currentModel && 'is-layout'}`;
} }
} }
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
style='' style=''
name="form" name="form"
ref='form' ref='form'
@onloaddraftsuccess="form_onloaddraftsuccess($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_form> </view_form>
</app-ctrl-pos> </app-ctrl-pos>
...@@ -802,6 +803,18 @@ export default class IBIZBOOKTestLogicCustomViewBase extends Vue { ...@@ -802,6 +803,18 @@ export default class IBIZBOOKTestLogicCustomViewBase extends Vue {
} }
/**
* form 部件 onloaddraftsuccess 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKTestLogicCustomViewBase
*/
public form_onloaddraftsuccess($event: any, $event2?: any) {
this.CTRLLOADDRAFT($event, '', $event2);
}
/** /**
......
...@@ -269,7 +269,7 @@ export default class IBIZBOOKWizardView_layoutBase extends Vue { ...@@ -269,7 +269,7 @@ export default class IBIZBOOKWizardView_layoutBase extends Vue {
*/ */
public layoutItems:any = { public layoutItems:any = {
wizardpanel:{ name: 'wizardpanel', 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_main2', panel: this }, wizardpanel:{ name: 'wizardpanel', 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_main2', panel: this },
container_scroll_main2:{ name: 'container_scroll_main2', 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_scroll', panel: this , details:['wizardpanel'] , dataRegionType: 'INHERIT' }, container_scroll_main2:{ name: 'container_scroll_main2', 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_scroll', panel: this , details:['wizardpanel'] , dataRegionType: 'INHERIT' },
container_scroll:{ name: 'container_scroll', 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_main2'] , dataRegionType: 'INHERIT' } container_scroll:{ name: 'container_scroll', 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_main2'] , dataRegionType: 'INHERIT' }
}; };
......
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
<app-preset-text name="field_text_dynamic" :index="slotProps.data.index" :value="layoutData[`field_text_dynamic_${slotProps.data.index}`]" :layoutModelDetails="layoutModelDetails"/> <app-preset-text name="field_text_dynamic" :index="slotProps.data.index" :value="layoutData[`field_text_dynamic_${slotProps.data.index}`]" :layoutModelDetails="layoutModelDetails"/>
</template> </template>
<template #field_textbox> <template #field_textbox>
<app-panel-field name="field_textbox" :index="slotProps.data.index" :data="layoutData" :value="layoutData[`field_textbox_${slotProps.data.index}`]"> </app-panel-field> <app-panel-field name="field_textbox" :index="slotProps.data.index" :data="layoutData" :value="layoutData[`field_textbox_${slotProps.data.index}`]"> <app-preset-text-input name="field_textbox" :index="slotProps.data.index" :layoutModelDetails="layoutModelDetails" :value="layoutData[`field_textbox_${slotProps.data.index}`]" @valueChange="handleValueChange"/> </app-panel-field>
</template> </template>
</app-standard-container> </app-standard-container>
</template> </template>
......
...@@ -297,10 +297,10 @@ export default class IndexBase extends Vue { ...@@ -297,10 +297,10 @@ export default class IndexBase extends Vue {
* @memberof IndexBase * @memberof IndexBase
*/ */
public layoutItems:any = { public layoutItems:any = {
nav_pos1:{ name: 'nav_pos1', type: 'VIEWLAYOUT', caption: '导航区占位', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll_main2', panel: this , viewType: 'APPINDEXVIEW', predefinedType: 'NAV_POS', contentType: '', contentStyle: '', rawContent: '', htmlContent: '', }, nav_pos1:{ name: 'nav_pos1', type: 'VIEWLAYOUT', caption: '导航区占位', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'INNERMEDIUM', spacingRight:'INNERMEDIUM', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll_main2', panel: this , viewType: 'APPINDEXVIEW', predefinedType: 'NAV_POS', contentType: '', contentStyle: '', rawContent: '', htmlContent: '', },
container_scroll_main2:{ name: 'container_scroll_main2', 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_scroll2', panel: this , details:['nav_pos1'] , dataRegionType: 'INHERIT' }, container_scroll_main2:{ name: 'container_scroll_main2', 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:'INNERMEDIUM', spacingLeft:'INNERMEDIUM', spacingRight:'INNERMEDIUM', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll2', panel: this , details:['nav_pos1'] , dataRegionType: 'INHERIT' },
nav_tabs2:{ name: 'nav_tabs2', type: 'VIEWLAYOUT', caption: '标签页导航栏', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', 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_header2', panel: this , viewType: 'APPINDEXVIEW', predefinedType: 'NAV_TABS', contentType: '', contentStyle: '', rawContent: '', htmlContent: '', }, nav_tabs2:{ name: 'nav_tabs2', type: 'VIEWLAYOUT', caption: '标签页导航栏', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', 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_header2', panel: this , viewType: 'APPINDEXVIEW', predefinedType: 'NAV_TABS', contentType: '', contentStyle: '', rawContent: '', htmlContent: '', },
container_scroll_header2:{ name: 'container_scroll_header2', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: true, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'NORTH', layoutHeight:56, heightMode:'PX', layoutWidth:0, widthMode:'', spacingBottom:'INNERSMALL', spacingLeft:'', spacingRight:'', spacingTop:'INNERSMALL', hAlignSelf:'LEFT', vAlignSelf:'MIDDLE', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll2', panel: this , details:['nav_tabs2'] , dataRegionType: 'INHERIT' }, container_scroll_header2:{ name: 'container_scroll_header2', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: true, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'NORTH', layoutHeight:56, heightMode:'PX', layoutWidth:0, widthMode:'', spacingBottom:'INNERSMALL', spacingLeft:'INNERMEDIUM', spacingRight:'', spacingTop:'INNERSMALL', hAlignSelf:'LEFT', vAlignSelf:'MIDDLE', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll2', panel: this , details:['nav_tabs2'] , dataRegionType: 'INHERIT' },
container_scroll2:{ name: 'container_scroll2', type: 'VIEWLAYOUT', caption: '滚动条容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'CENTER', layoutHeight:100, heightMode:'FULL', layoutWidth:0, widthMode:'FULL', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll_main1', panel: this , details:['container_scroll_main2','container_scroll_header2'] , dataRegionType: 'INHERIT' }, container_scroll2:{ name: 'container_scroll2', type: 'VIEWLAYOUT', caption: '滚动条容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'CENTER', layoutHeight:100, heightMode:'FULL', layoutWidth:0, widthMode:'FULL', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll_main1', panel: this , details:['container_scroll_main2','container_scroll_header2'] , dataRegionType: 'INHERIT' },
container_scroll_main1:{ name: 'container_scroll_main1', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: true, sysCss: 'gray-background', 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:['container_scroll2'] , dataRegionType: 'INHERIT' }, container_scroll_main1:{ name: 'container_scroll_main1', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: true, sysCss: 'gray-background', 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:['container_scroll2'] , dataRegionType: 'INHERIT' },
appmenu:{ name: 'appmenu', type: 'VIEWLAYOUT', caption: '首页菜单', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'CENTER', layoutHeight:100, heightMode:'FULL', layoutWidth:0, widthMode:'FULL', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll_left1', panel: this }, appmenu:{ name: 'appmenu', type: 'VIEWLAYOUT', caption: '首页菜单', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'CENTER', layoutHeight:100, heightMode:'FULL', layoutWidth:0, widthMode:'FULL', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll_left1', panel: this },
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<app-preset-switch name="field_switch" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_switch" @valueChange="handleValueChange"/> <app-preset-switch name="field_switch" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_switch" @valueChange="handleValueChange"/>
</template> </template>
<template #field_textbox> <template #field_textbox>
<app-panel-field name="field_textbox" :data="layoutData" :value="layoutData.field_textbox"> </app-panel-field> <app-panel-field name="field_textbox" :data="layoutData" :value="layoutData.field_textbox"> <app-preset-text-input name="field_textbox" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_textbox" @valueChange="handleValueChange"/> </app-panel-field>
</template> </template>
<template #field_textbox1> <template #field_textbox1>
<app-panel-field name="field_textbox1" :data="layoutData" :value="layoutData.field_textbox1"> <dropdown-list :value="layoutData.field_textbox1" :data="layoutData" :context="context" :viewparams="viewparams" :formState="viewState" :disabled="layoutModelDetails.field_textbox1.disabled" :localContext={} :localParam={} placeholder='请选择...' @change="(value) => handleValueChange({ name: 'field_textbox1', value})"> </dropdown-list> </app-panel-field> <app-panel-field name="field_textbox1" :data="layoutData" :value="layoutData.field_textbox1"> <dropdown-list :value="layoutData.field_textbox1" :data="layoutData" :context="context" :viewparams="viewparams" :formState="viewState" :disabled="layoutModelDetails.field_textbox1.disabled" :localContext={} :localParam={} placeholder='请选择...' @change="(value) => handleValueChange({ name: 'field_textbox1', value})"> </dropdown-list> </app-panel-field>
......
...@@ -230,6 +230,7 @@ export default class FormLoadUILogicBase { ...@@ -230,6 +230,7 @@ export default class FormLoadUILogicBase {
if(Verify.testCond(this.getCondParam(actionContext, 'otherParam', ''), 'NOTEQ', 'ok')) { if(Verify.testCond(this.getCondParam(actionContext, 'otherParam', ''), 'NOTEQ', 'ok')) {
resolve(this.execute_debugparam1_node(actionContext)); resolve(this.execute_debugparam1_node(actionContext));
} }
console.log('已完成执行 消息弹窗 节点');
} }
const subscription = subject.subscribe((result: any) => { const subscription = subject.subscribe((result: any) => {
resolve(handleResponse(result)); resolve(handleResponse(result));
...@@ -238,9 +239,9 @@ export default class FormLoadUILogicBase { ...@@ -238,9 +239,9 @@ export default class FormLoadUILogicBase {
}); });
} else { } else {
resolve(true); resolve(true);
console.log('已完成执行 消息弹窗 节点');
} }
}); });
console.log('已完成执行 消息弹窗 节点');
} }
/** /**
......
...@@ -177,6 +177,7 @@ export default class GridLoadUILogicBase { ...@@ -177,6 +177,7 @@ export default class GridLoadUILogicBase {
} }
actionContext.bindLastReturnParam(result); actionContext.bindLastReturnParam(result);
resolve(this.execute_debugparam1_node(actionContext)); resolve(this.execute_debugparam1_node(actionContext));
console.log('已完成执行 消息弹窗 节点');
} }
const subscription = subject.subscribe((result: any) => { const subscription = subject.subscribe((result: any) => {
resolve(handleResponse(result)); resolve(handleResponse(result));
...@@ -185,9 +186,9 @@ export default class GridLoadUILogicBase { ...@@ -185,9 +186,9 @@ export default class GridLoadUILogicBase {
}); });
} else { } else {
resolve(true); resolve(true);
console.log('已完成执行 消息弹窗 节点');
} }
}); });
console.log('已完成执行 消息弹窗 节点');
} }
/** /**
......
...@@ -6,6 +6,7 @@ import IBIZBOOKService from '@/service/ibizbook/ibizbook-service'; ...@@ -6,6 +6,7 @@ import IBIZBOOKService from '@/service/ibizbook/ibizbook-service';
import IBIZBOOKAuthService from '@/authservice/ibizbook/ibizbook-auth-service'; import IBIZBOOKAuthService from '@/authservice/ibizbook/ibizbook-auth-service';
import FormLoadUILogic from './form-load-ui-logic'; import FormLoadUILogic from './form-load-ui-logic';
import GridLoadUILogic from './grid-load-ui-logic'; import GridLoadUILogic from './grid-load-ui-logic';
import PrintParamsUILogic from './print-params-ui-logic';
/** /**
* 图书UI服务对象基类 * 图书UI服务对象基类
...@@ -611,6 +612,9 @@ export default class IBIZBOOKUIServiceBase extends UIService { ...@@ -611,6 +612,9 @@ export default class IBIZBOOKUIServiceBase extends UIService {
if (name === 'GridLoad') { if (name === 'GridLoad') {
return await GridLoadUILogic.getInstance().execute(args, context, params, $event, xData, actionContext, srfParentDeName); return await GridLoadUILogic.getInstance().execute(args, context, params, $event, xData, actionContext, srfParentDeName);
} }
if (name === 'PrintParams') {
return await PrintParamsUILogic.getInstance().execute(args, context, params, $event, xData, actionContext, srfParentDeName);
}
} }
} }
\ No newline at end of file
import { Http,Util } from '@/utils';
import PrintParamsUILogicBase from './print-params-ui-logic-base';
/**
* 输出参数
*
* @export
* @class PrintParamsUILogic
*/
export default class PrintParamsUILogic extends PrintParamsUILogicBase {
/**
* 输出参数 逻辑实例对象
*
* @private
* @static
* @type {PrintParamsUILogic}
* @memberof PrintParamsUILogic
*/
private static instance: PrintParamsUILogic;
/**
* 获取 输出参数 逻辑实例对象
*
* @static
* @return {*} {PrintParamsUILogic}
* @memberof PrintParamsUILogic
*/
static getInstance(): PrintParamsUILogic {
if (!this.instance) {
this.instance = new PrintParamsUILogic();
}
return this.instance;
}
/**
* Creates an instance of PrintParamsUILogic
*
* @param {*} [opts={}]
* @memberof PrintParamsUILogic
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
...@@ -342,6 +342,28 @@ export default class AppPanelViewBase extends Vue implements ControlInterface { ...@@ -342,6 +342,28 @@ export default class AppPanelViewBase extends Vue implements ControlInterface {
} }
} }
/**
* 生命周期
*
* @memberof AppPanelViewBase
*/
public mounted () {
this.afterMounted();
}
/**
* 执行mounted后的逻辑
*
* @memberof AppPanelViewBase
*/
public afterMounted () {
const _this: any = this;
_this.initLayout().then((result: any) => {
_this.isLayoutLoadding = false;
});
}
/** /**
* 计算UI展示数据 * 计算UI展示数据
* *
......
...@@ -3,13 +3,13 @@ ...@@ -3,13 +3,13 @@
<template v-show="!isLayoutLoadding"> <template v-show="!isLayoutLoadding">
<app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails"> <app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #field1> <template #field1>
<app-panel-field name="field1" :data="layoutData" :value="layoutData.field1"> </app-panel-field> <app-panel-field name="field1" :data="layoutData" :value="layoutData.field1"> <app-preset-text-input name="field1" :layoutModelDetails="layoutModelDetails" :value="layoutData.field1" @valueChange="handleValueChange"/> </app-panel-field>
</template> </template>
<template #field2> <template #field2>
<app-panel-field name="field2" :data="layoutData" :value="layoutData.field2"> </app-panel-field> <app-panel-field name="field2" :data="layoutData" :value="layoutData.field2"> <app-preset-text-input name="field2" :layoutModelDetails="layoutModelDetails" :value="layoutData.field2" @valueChange="handleValueChange"/> </app-panel-field>
</template> </template>
<template #field3> <template #field3>
<app-panel-field name="field3" :data="layoutData" :value="layoutData.field3"> </app-panel-field> <app-panel-field name="field3" :data="layoutData" :value="layoutData.field3"> <app-preset-text-input name="field3" :layoutModelDetails="layoutModelDetails" :value="layoutData.field3" @valueChange="handleValueChange"/> </app-panel-field>
</template> </template>
</app-standard-container> </app-standard-container>
</template> </template>
...@@ -392,6 +392,28 @@ export default class Auto1Base extends Vue implements ControlInterface { ...@@ -392,6 +392,28 @@ export default class Auto1Base extends Vue implements ControlInterface {
} }
} }
/**
* 生命周期
*
* @memberof Auto1Base
*/
public mounted () {
this.afterMounted();
}
/**
* 执行mounted后的逻辑
*
* @memberof Auto1Base
*/
public afterMounted () {
const _this: any = this;
_this.initLayout().then((result: any) => {
_this.isLayoutLoadding = false;
});
}
/** /**
* 计算UI展示数据 * 计算UI展示数据
* *
......
...@@ -3,13 +3,13 @@ ...@@ -3,13 +3,13 @@
<template v-show="!isLayoutLoadding"> <template v-show="!isLayoutLoadding">
<app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails"> <app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #srfmajortext> <template #srfmajortext>
<app-panel-field name="srfmajortext" :data="layoutData" :value="layoutData.srfmajortext"> </app-panel-field> <app-panel-field name="srfmajortext" :data="layoutData" :value="layoutData.srfmajortext"> <app-preset-text-input name="srfmajortext" :layoutModelDetails="layoutModelDetails" :value="layoutData.srfmajortext" @valueChange="handleValueChange"/> </app-panel-field>
</template> </template>
<template #author> <template #author>
<app-panel-field name="author" :data="layoutData" :value="layoutData.author"> </app-panel-field> <app-panel-field name="author" :data="layoutData" :value="layoutData.author"> <app-preset-text-input name="author" :layoutModelDetails="layoutModelDetails" :value="layoutData.author" @valueChange="handleValueChange"/> </app-panel-field>
</template> </template>
<template #srfdescription> <template #srfdescription>
<app-panel-field name="srfdescription" :data="layoutData" :value="layoutData.srfdescription"> </app-panel-field> <app-panel-field name="srfdescription" :data="layoutData" :value="layoutData.srfdescription"> <app-preset-text-input name="srfdescription" :layoutModelDetails="layoutModelDetails" :value="layoutData.srfdescription" @valueChange="handleValueChange"/> </app-panel-field>
</template> </template>
</app-standard-container> </app-standard-container>
</template> </template>
...@@ -392,6 +392,28 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface ...@@ -392,6 +392,28 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
} }
} }
/**
* 生命周期
*
* @memberof HasPanelKanBanBase
*/
public mounted () {
this.afterMounted();
}
/**
* 执行mounted后的逻辑
*
* @memberof HasPanelKanBanBase
*/
public afterMounted () {
const _this: any = this;
_this.initLayout().then((result: any) => {
_this.isLayoutLoadding = false;
});
}
/** /**
* 计算UI展示数据 * 计算UI展示数据
* *
......
...@@ -3,13 +3,13 @@ ...@@ -3,13 +3,13 @@
<template v-show="!isLayoutLoadding"> <template v-show="!isLayoutLoadding">
<app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails"> <app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #bookname> <template #bookname>
<app-panel-field name="bookname" :data="layoutData" :value="layoutData.bookname"> </app-panel-field> <app-panel-field name="bookname" :data="layoutData" :value="layoutData.bookname"> <app-preset-text-input name="bookname" :layoutModelDetails="layoutModelDetails" :value="layoutData.bookname" @valueChange="handleValueChange"/> </app-panel-field>
</template> </template>
<template #author> <template #author>
<app-panel-field name="author" :data="layoutData" :value="layoutData.author"> </app-panel-field> <app-panel-field name="author" :data="layoutData" :value="layoutData.author"> <app-preset-text-input name="author" :layoutModelDetails="layoutModelDetails" :value="layoutData.author" @valueChange="handleValueChange"/> </app-panel-field>
</template> </template>
<template #press> <template #press>
<app-panel-field name="press" :data="layoutData" :value="layoutData.press"> </app-panel-field> <app-panel-field name="press" :data="layoutData" :value="layoutData.press"> <app-preset-text-input name="press" :layoutModelDetails="layoutModelDetails" :value="layoutData.press" @valueChange="handleValueChange"/> </app-panel-field>
</template> </template>
</app-standard-container> </app-standard-container>
</template> </template>
...@@ -392,6 +392,28 @@ export default class HasPanelListBase extends Vue implements ControlInterface { ...@@ -392,6 +392,28 @@ export default class HasPanelListBase extends Vue implements ControlInterface {
} }
} }
/**
* 生命周期
*
* @memberof HasPanelListBase
*/
public mounted () {
this.afterMounted();
}
/**
* 执行mounted后的逻辑
*
* @memberof HasPanelListBase
*/
public afterMounted () {
const _this: any = this;
_this.initLayout().then((result: any) => {
_this.isLayoutLoadding = false;
});
}
/** /**
* 计算UI展示数据 * 计算UI展示数据
* *
......
...@@ -14,16 +14,16 @@ export default class ListpanelModel { ...@@ -14,16 +14,16 @@ export default class ListpanelModel {
*/ */
public getDataItems(): any[] { public getDataItems(): any[] {
return [ return [
{
name: 'booknumber',
prop: 'booknumber',
dataType: 'INT',
},
{ {
name: 'author', name: 'author',
prop: 'author', prop: 'author',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'booknumber',
prop: 'booknumber',
dataType: 'INT',
},
{ {
name: 'srfkey', name: 'srfkey',
prop: 'ibizbookid', prop: 'ibizbookid',
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<app-preset-text name="field_text_dynamic" :value="layoutData.field_text_dynamic" :layoutModelDetails="layoutModelDetails"/> <app-preset-text name="field_text_dynamic" :value="layoutData.field_text_dynamic" :layoutModelDetails="layoutModelDetails"/>
</template> </template>
<template #field_textbox> <template #field_textbox>
<app-panel-field name="field_textbox" :data="layoutData" :value="layoutData.field_textbox"> </app-panel-field> <app-panel-field name="field_textbox" :data="layoutData" :value="layoutData.field_textbox"> <app-preset-text-input name="field_textbox" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_textbox" @valueChange="handleValueChange"/> </app-panel-field>
</template> </template>
<template #button_link1> <template #button_link1>
<app-preset-button name="button_link1" :layoutModelDetails="layoutModelDetails" caption="页面链接" tooltip="" @itemClick="handleButtonClick" /> <app-preset-button name="button_link1" :layoutModelDetails="layoutModelDetails" caption="页面链接" tooltip="" @itemClick="handleButtonClick" />
...@@ -360,8 +360,8 @@ export default class ListpanelBase extends Vue implements ControlInterface { ...@@ -360,8 +360,8 @@ export default class ListpanelBase extends Vue implements ControlInterface {
public layoutItems:any = { public layoutItems:any = {
static_label1:{ name: 'static_label1', type: 'VIEWLAYOUT', caption: '标签', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , viewType: 'DELISTVIEW', predefinedType: 'STATIC_LABEL', contentType: 'RAW', contentStyle: '', rawContent: '标签', htmlContent: '', renderMode: 'PARAGRAPH', wrapMode:'', vAlign:'', hAlign:'', }, static_label1:{ name: 'static_label1', type: 'VIEWLAYOUT', caption: '标签', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , viewType: 'DELISTVIEW', predefinedType: 'STATIC_LABEL', contentType: 'RAW', contentStyle: '', rawContent: '标签', htmlContent: '', renderMode: 'PARAGRAPH', wrapMode:'', vAlign:'', hAlign:'', },
static_text1:{ name: 'static_text1', type: 'VIEWLAYOUT', caption: '文本', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , viewType: 'DELISTVIEW', predefinedType: 'STATIC_TEXT', contentType: 'RAW', contentStyle: '', rawContent: '文本内容', htmlContent: '', renderMode: 'TEXT', wrapMode:'', vAlign:'', hAlign:'', }, static_text1:{ name: 'static_text1', type: 'VIEWLAYOUT', caption: '文本', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , viewType: 'DELISTVIEW', predefinedType: 'STATIC_TEXT', contentType: 'RAW', contentStyle: '', rawContent: '文本内容', htmlContent: '', renderMode: 'TEXT', wrapMode:'', vAlign:'', hAlign:'', },
field_text_dynamic:{ name: 'field_text_dynamic', type: 'VIEWLAYOUT', caption: '文本(动态)', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , fieldState: '0', predefinedType: 'FIELD_TEXT_DYNAMIC', renderMode: 'TEXT_DYNAMIC', dataItemName:'field_textbox', wrapMode:'', vAlign:'', hAlign:'', }, field_text_dynamic:{ name: 'field_text_dynamic', type: 'VIEWLAYOUT', caption: '文本(动态)', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , fieldState: '0', predefinedType: 'FIELD_TEXT_DYNAMIC', renderMode: 'TEXT_DYNAMIC', dataItemName:'author', wrapMode:'', vAlign:'', hAlign:'', },
field_textbox:{ name: 'field_textbox', type: 'VIEWLAYOUT', caption: '文本框', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , fieldState: '0', predefinedType: 'FIELD_TEXTBOX', dataItemName:'', }, field_textbox:{ name: 'field_textbox', type: 'VIEWLAYOUT', caption: '文本框', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , fieldState: '0', predefinedType: 'FIELD_TEXTBOX', dataItemName:'booknumber', },
button_link1:{ name: 'button_link1', type: 'VIEWLAYOUT', caption: '页面链接', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , buttonStyle: 'DEFAULT', borderStyle: '', iconAlign: '', renderMode: 'LINK', }, button_link1:{ name: 'button_link1', type: 'VIEWLAYOUT', caption: '页面链接', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , buttonStyle: 'DEFAULT', borderStyle: '', iconAlign: '', renderMode: 'LINK', },
button_calluilogic1:{ name: 'button_calluilogic1', type: 'VIEWLAYOUT', caption: '按钮', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , buttonStyle: 'DEFAULT', borderStyle: '', iconAlign: '', 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:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , buttonStyle: 'DEFAULT', borderStyle: '', iconAlign: '', renderMode: '', },
container1:{ name: 'container1', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['static_label1','static_text1','field_text_dynamic','field_textbox','button_link1','button_calluilogic1'] , dataRegionType: 'INHERIT' } container1:{ name: 'container1', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['static_label1','static_text1','field_text_dynamic','field_textbox','button_link1','button_calluilogic1'] , dataRegionType: 'INHERIT' }
...@@ -400,6 +400,28 @@ export default class ListpanelBase extends Vue implements ControlInterface { ...@@ -400,6 +400,28 @@ export default class ListpanelBase extends Vue implements ControlInterface {
} }
} }
/**
* 生命周期
*
* @memberof ListpanelBase
*/
public mounted () {
this.afterMounted();
}
/**
* 执行mounted后的逻辑
*
* @memberof ListpanelBase
*/
public afterMounted () {
const _this: any = this;
_this.initLayout().then((result: any) => {
_this.isLayoutLoadding = false;
});
}
/** /**
* 计算UI展示数据 * 计算UI展示数据
* *
......
...@@ -16,11 +16,11 @@ export default class ListpanelModel { ...@@ -16,11 +16,11 @@ export default class ListpanelModel {
return [ return [
{ {
name: 'field_text_dynamic', name: 'field_text_dynamic',
prop: 'field_textbox' prop: 'author'
}, },
{ {
name: 'field_textbox', name: 'field_textbox',
prop: '' prop: 'booknumber'
} }
] ]
} }
......
...@@ -368,6 +368,28 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI ...@@ -368,6 +368,28 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
} }
} }
/**
* 生命周期
*
* @memberof TIMELINEITEMLAYOUTPANELBase
*/
public mounted () {
this.afterMounted();
}
/**
* 执行mounted后的逻辑
*
* @memberof TIMELINEITEMLAYOUTPANELBase
*/
public afterMounted () {
const _this: any = this;
_this.initLayout().then((result: any) => {
_this.isLayoutLoadding = false;
});
}
/** /**
* 计算UI展示数据 * 计算UI展示数据
* *
......
...@@ -368,6 +368,28 @@ export default class UsrBase extends Vue implements ControlInterface { ...@@ -368,6 +368,28 @@ export default class UsrBase extends Vue implements ControlInterface {
} }
} }
/**
* 生命周期
*
* @memberof UsrBase
*/
public mounted () {
this.afterMounted();
}
/**
* 执行mounted后的逻辑
*
* @memberof UsrBase
*/
public afterMounted () {
const _this: any = this;
_this.initLayout().then((result: any) => {
_this.isLayoutLoadding = false;
});
}
/** /**
* 计算UI展示数据 * 计算UI展示数据
* *
......
...@@ -10,7 +10,7 @@ export default class Usr2Model { ...@@ -10,7 +10,7 @@ export default class Usr2Model {
* 获取数据项集合 * 获取数据项集合
* *
* @returns {any[]} * @returns {any[]}
* @memberof Usr2Dataviewexpbar_dataviewMode * @memberof Usr2DataViewMode
*/ */
public getDataItems(): any[] { public getDataItems(): any[] {
return [ return [
...@@ -39,6 +39,17 @@ export default class Usr2Model { ...@@ -39,6 +39,17 @@ export default class Usr2Model {
dataType: 'FONTKEY', dataType: 'FONTKEY',
}, },
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -3,13 +3,13 @@ ...@@ -3,13 +3,13 @@
<template v-show="!isLayoutLoadding"> <template v-show="!isLayoutLoadding">
<app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails"> <app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #author> <template #author>
<app-panel-field name="author" :data="layoutData" :value="layoutData.author"> </app-panel-field> <app-panel-field name="author" :data="layoutData" :value="layoutData.author"> <app-preset-text-input name="author" :layoutModelDetails="layoutModelDetails" :value="layoutData.author" @valueChange="handleValueChange"/> </app-panel-field>
</template> </template>
<template #press> <template #press>
<app-panel-field name="press" :data="layoutData" :value="layoutData.press"> </app-panel-field> <app-panel-field name="press" :data="layoutData" :value="layoutData.press"> <app-preset-text-input name="press" :layoutModelDetails="layoutModelDetails" :value="layoutData.press" @valueChange="handleValueChange"/> </app-panel-field>
</template> </template>
<template #bookname> <template #bookname>
<app-panel-field name="bookname" :data="layoutData" :value="layoutData.bookname"> </app-panel-field> <app-panel-field name="bookname" :data="layoutData" :value="layoutData.bookname"> <app-preset-text-input name="bookname" :layoutModelDetails="layoutModelDetails" :value="layoutData.bookname" @valueChange="handleValueChange"/> </app-panel-field>
</template> </template>
</app-standard-container> </app-standard-container>
</template> </template>
...@@ -392,6 +392,28 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -392,6 +392,28 @@ export default class Usr4Base extends Vue implements ControlInterface {
} }
} }
/**
* 生命周期
*
* @memberof Usr4Base
*/
public mounted () {
this.afterMounted();
}
/**
* 执行mounted后的逻辑
*
* @memberof Usr4Base
*/
public afterMounted () {
const _this: any = this;
_this.initLayout().then((result: any) => {
_this.isLayoutLoadding = false;
});
}
/** /**
* 计算UI展示数据 * 计算UI展示数据
* *
......
...@@ -368,6 +368,28 @@ export default class Usr5Base extends Vue implements ControlInterface { ...@@ -368,6 +368,28 @@ export default class Usr5Base extends Vue implements ControlInterface {
} }
} }
/**
* 生命周期
*
* @memberof Usr5Base
*/
public mounted () {
this.afterMounted();
}
/**
* 执行mounted后的逻辑
*
* @memberof Usr5Base
*/
public afterMounted () {
const _this: any = this;
_this.initLayout().then((result: any) => {
_this.isLayoutLoadding = false;
});
}
/** /**
* 计算UI展示数据 * 计算UI展示数据
* *
......
...@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderSF1GridViewBase * @memberof IBIZOrderPickupGridViewBase
*/ */
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) { if (args.length === 0) {
...@@ -421,20 +421,6 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -421,20 +421,6 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0]; return this.selections[0];
} }
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public newdata: any;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public opendata: any;
/** /**
* 是否嵌入关系界面 * 是否嵌入关系界面
...@@ -967,7 +953,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -967,7 +953,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}, pageReset: boolean = false): void { public load(opt: any = {}, pageReset: boolean = false): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(pageReset){ if(pageReset){
...@@ -1062,7 +1048,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1062,7 +1048,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -1168,7 +1154,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1168,7 +1154,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public addBatch(arg: any = {}): void { public addBatch(arg: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2085,7 +2071,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2085,7 +2071,7 @@ export default class MainBase extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
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);
...@@ -2093,7 +2079,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2093,7 +2079,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){ if(item.ibizorder){
...@@ -2160,7 +2146,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2160,7 +2146,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public newRow(args: any[], params?: any, $event?: any, xData?: any): void { public newRow(args: any[], params?: any, $event?: any, xData?: any): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
return; return;
} }
let _this = this; let _this = this;
......
...@@ -104,21 +104,6 @@ export default class MainModel { ...@@ -104,21 +104,6 @@ export default class MainModel {
prop: 'n_ibizordername_like', prop: 'n_ibizordername_like',
dataType: 'QUERYPARAM' dataType: 'QUERYPARAM'
}, },
{
name: 'n_orderstate_eq',
prop: 'n_orderstate_eq',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_gt',
prop: 'n_ordertime_gt',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_lt',
prop: 'n_ordertime_lt',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -2728,6 +2728,251 @@ ...@@ -2728,6 +2728,251 @@
"modelref" : true, "modelref" : true,
"id" : "Begin" "id" : "Begin"
} }
}, {
"codeName" : "PrintParams",
"defaultParamName" : "Default",
"logicName" : "输出参数",
"name" : "输出参数",
"getPSDEUILogicNodes" : [ {
"codeName" : "Begin",
"logicNodeType" : "BEGIN",
"name" : "开始",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "Begin"
}
} ],
"parallelOutput" : true
}, {
"codeName" : "DEBUGPARAM2",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "routerSession"
},
"logicNodeType" : "DEBUGPARAM",
"name" : "调试逻辑参数",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM3"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM2"
}
} ]
}, {
"codeName" : "PREPAREJSPARAM3",
"logicNodeType" : "PREPAREJSPARAM",
"name" : "获取路由参数",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM3"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM3"
}
} ],
"getPSDEUILogicNodeParams" : [ {
"dstFieldName" : "testCCC",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "currentView"
},
"name" : "routerSession[testParam] ==> currentView[testCCC]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "testParam",
"getSrcPSDEUILogicParam" : {
"modelref" : true,
"id" : "routerSession"
},
"srcValueType" : "SRCDLPARAM"
} ]
}, {
"codeName" : "PREPAREJSPARAM2",
"logicNodeType" : "PREPAREJSPARAM",
"name" : "获取全局testParam",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM2"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM2"
}
} ],
"getPSDEUILogicNodeParams" : [ {
"dstFieldName" : "appglobalparam",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "routerSession"
},
"name" : "appGlobal[testParam] ==> routerSession[appglobalparam]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "testParam",
"getSrcPSDEUILogicParam" : {
"modelref" : true,
"id" : "appGlobal"
},
"srcValueType" : "SRCDLPARAM"
} ]
}, {
"codeName" : "RESETPARAM1",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "appGlobal"
},
"logicNodeType" : "RESETPARAM",
"name" : "重置参数",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM4"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "RESETPARAM1"
}
} ]
}, {
"codeName" : "DEBUGPARAM1",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "appGlobal"
},
"logicNodeType" : "DEBUGPARAM",
"name" : "调试逻辑参数",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM2"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM1"
}
} ]
}, {
"codeName" : "DEBUGPARAM4",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "appGlobal"
},
"logicNodeType" : "DEBUGPARAM",
"name" : "调试逻辑参数",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "END1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM4"
}
} ]
}, {
"codeName" : "END1",
"logicNodeType" : "END",
"name" : "结束"
}, {
"codeName" : "PREPAREJSPARAM1",
"logicNodeType" : "PREPAREJSPARAM",
"name" : "设置testParam",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM1"
}
} ],
"getPSDEUILogicNodeParams" : [ {
"dstFieldName" : "testParam",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "appGlobal"
},
"name" : "直接值[121] ==> appGlobal[testParam]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "121",
"srcValueType" : "SRCVALUE"
} ]
}, {
"codeName" : "DEBUGPARAM3",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "currentView"
},
"logicNodeType" : "DEBUGPARAM",
"name" : "调试逻辑参数",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "RESETPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM3"
}
} ]
} ],
"getPSDEUILogicParams" : [ {
"codeName" : "routerSession",
"logicName" : "路由视图会话变量",
"name" : "路由视图会话变量",
"paramFieldName" : "routerSession",
"routeViewSessionParam" : true
}, {
"codeName" : "currentView",
"logicName" : "当前视图会话变量",
"name" : "当前视图会话变量",
"paramFieldName" : "currentView",
"viewSessionParam" : true
}, {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"default" : true,
"entityParam" : true
}, {
"codeName" : "appGlobal",
"logicName" : "应用全局",
"name" : "应用全局",
"paramFieldName" : "appGlobal",
"appGlobalParam" : true
} ],
"getStartPSDEUILogicNode" : {
"modelref" : true,
"id" : "Begin"
}
} ], } ],
"getAllPSAppPortletCats" : [ { "getAllPSAppPortletCats" : [ {
"codeName" : "PortletCat", "codeName" : "PortletCat",
......
...@@ -11,51 +11,51 @@ ...@@ -11,51 +11,51 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书名称", "caption" : "出版社",
"codeName" : "ibizbookname", "codeName" : "press",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "press",
"name" : "ibizbookname", "name" : "press",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "归还日期", "caption" : "作者",
"codeName" : "returntime", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime", "dataItemName" : "author",
"name" : "returntime", "name" : "author",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "出版社", "caption" : "借出日期",
"codeName" : "press", "codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press", "dataItemName" : "lendouttime",
"name" : "press", "name" : "lendouttime",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "借出日期", "caption" : "图书名称",
"codeName" : "lendouttime", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime", "dataItemName" : "ibizbookname",
"name" : "lendouttime", "name" : "ibizbookname",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "归还日期",
"codeName" : "author", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "returntime",
"name" : "author", "name" : "returntime",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -19,9 +19,10 @@ ...@@ -19,9 +19,10 @@
"getItemPSLayoutPanel" : { "getItemPSLayoutPanel" : {
"getAllPSPanelFields" : [ { "getAllPSPanelFields" : [ {
"id" : "field_text_dynamic", "id" : "field_text_dynamic",
"viewFieldName" : "field_textbox" "viewFieldName" : "author"
}, { }, {
"id" : "field_textbox" "id" : "field_textbox",
"viewFieldName" : "booknumber"
} ], } ],
"codeName" : "Listpanel", "codeName" : "Listpanel",
"controlType" : "PANEL", "controlType" : "PANEL",
...@@ -145,7 +146,7 @@ ...@@ -145,7 +146,7 @@
"grow" : -1, "grow" : -1,
"layout" : "FLEX" "layout" : "FLEX"
}, },
"viewFieldName" : "field_textbox", "viewFieldName" : "author",
"hidden" : false, "hidden" : false,
"showCaption" : false "showCaption" : false
}, { }, {
...@@ -162,6 +163,7 @@ ...@@ -162,6 +163,7 @@
"grow" : -1, "grow" : -1,
"layout" : "FLEX" "layout" : "FLEX"
}, },
"viewFieldName" : "booknumber",
"hidden" : false, "hidden" : false,
"showCaption" : false "showCaption" : false
}, { }, {
...@@ -267,19 +269,19 @@ ...@@ -267,19 +269,19 @@
"id" : "DataImport" "id" : "DataImport"
}, },
"getPSDEListDataItems" : [ { "getPSDEListDataItems" : [ {
"dataType" : 9,
"name" : "booknumber",
"getPSAppDEField" : {
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
}
}, {
"dataType" : 25, "dataType" : 25,
"name" : "author", "name" : "author",
"getPSAppDEField" : { "getPSAppDEField" : {
"name" : "AUTHOR", "name" : "AUTHOR",
"codeName" : "Author" "codeName" : "Author"
} }
}, {
"dataType" : 9,
"name" : "booknumber",
"getPSAppDEField" : {
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
}
}, { }, {
"dataType" : 25, "dataType" : 25,
"name" : "srfkey", "name" : "srfkey",
......
{ {
"getAllPSPanelFields" : [ { "getAllPSPanelFields" : [ {
"id" : "field_text_dynamic", "id" : "field_text_dynamic",
"viewFieldName" : "field_textbox" "viewFieldName" : "author"
}, { }, {
"id" : "field_textbox" "id" : "field_textbox",
"viewFieldName" : "booknumber"
} ], } ],
"codeName" : "Listpanel", "codeName" : "Listpanel",
"controlType" : "PANEL", "controlType" : "PANEL",
...@@ -126,7 +127,7 @@ ...@@ -126,7 +127,7 @@
"grow" : -1, "grow" : -1,
"layout" : "FLEX" "layout" : "FLEX"
}, },
"viewFieldName" : "field_textbox", "viewFieldName" : "author",
"hidden" : false, "hidden" : false,
"showCaption" : false "showCaption" : false
}, { }, {
...@@ -143,6 +144,7 @@ ...@@ -143,6 +144,7 @@
"grow" : -1, "grow" : -1,
"layout" : "FLEX" "layout" : "FLEX"
}, },
"viewFieldName" : "booknumber",
"hidden" : false, "hidden" : false,
"showCaption" : false "showCaption" : false
}, { }, {
......
...@@ -29,21 +29,21 @@ ...@@ -29,21 +29,21 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书名称", "caption" : "作者",
"codeName" : "ibizbookname", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "author",
"name" : "ibizbookname", "name" : "author",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "图书名称",
"codeName" : "author", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "ibizbookname",
"name" : "author", "name" : "ibizbookname",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -34,51 +34,51 @@ ...@@ -34,51 +34,51 @@
"id" : "GANTT" "id" : "GANTT"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书名称", "caption" : "出版社",
"codeName" : "ibizbookname", "codeName" : "press",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "press",
"name" : "ibizbookname", "name" : "press",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "归还日期", "caption" : "作者",
"codeName" : "returntime", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime", "dataItemName" : "author",
"name" : "returntime", "name" : "author",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "出版社", "caption" : "借出日期",
"codeName" : "press", "codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press", "dataItemName" : "lendouttime",
"name" : "press", "name" : "lendouttime",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "借出日期", "caption" : "图书名称",
"codeName" : "lendouttime", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime", "dataItemName" : "ibizbookname",
"name" : "lendouttime", "name" : "ibizbookname",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "归还日期",
"codeName" : "author", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "returntime",
"name" : "author", "name" : "returntime",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -24,6 +24,20 @@ ...@@ -24,6 +24,20 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
} }
}, {
"eventNames" : "onLoadDraftSuccess",
"logicTrigger" : "CTRLEVENT",
"logicType" : "DEUILOGIC",
"name" : "CTRLLOADDRAFT",
"getPSAppDEUILogic" : {
"modelref" : true,
"id" : "PrintParams"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSViewCtrlName" : "FORM"
} ], } ],
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "Main", "codeName" : "Main",
...@@ -45,6 +59,7 @@ ...@@ -45,6 +59,7 @@
"modelref" : true, "modelref" : true,
"id" : "load" "id" : "load"
}, },
"hookEventNames" : [ "ONLOADDRAFTSUCCESS" ],
"logicName" : "主编辑表单", "logicName" : "主编辑表单",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -129,6 +144,16 @@ ...@@ -129,6 +144,16 @@
"enableDEFieldPrivilege" : false, "enableDEFieldPrivilege" : false,
"id" : "编辑表单处理器" "id" : "编辑表单处理器"
}, },
"getPSControlLogics" : [ {
"eventNames" : "onLoadDraftSuccess",
"logicTag" : "FORM",
"logicType" : "APPVIEWLOGIC",
"name" : "CTRLLOADDRAFT",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "CTRLLOADDRAFT"
}
} ],
"getPSControlParam" : { "getPSControlParam" : {
"autoLoad" : true, "autoLoad" : true,
"showBusyIndicator" : true, "showBusyIndicator" : true,
......
...@@ -85,21 +85,21 @@ ...@@ -85,21 +85,21 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书名称", "caption" : "作者",
"codeName" : "ibizbookname", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "author",
"name" : "ibizbookname", "name" : "author",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "图书名称",
"codeName" : "author", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "ibizbookname",
"name" : "author", "name" : "ibizbookname",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -275,9 +275,10 @@ ...@@ -275,9 +275,10 @@
"getItemPSLayoutPanel" : { "getItemPSLayoutPanel" : {
"getAllPSPanelFields" : [ { "getAllPSPanelFields" : [ {
"id" : "field_text_dynamic", "id" : "field_text_dynamic",
"viewFieldName" : "field_textbox" "viewFieldName" : "author"
}, { }, {
"id" : "field_textbox" "id" : "field_textbox",
"viewFieldName" : "booknumber"
} ], } ],
"codeName" : "Listpanel", "codeName" : "Listpanel",
"controlType" : "PANEL", "controlType" : "PANEL",
...@@ -401,7 +402,7 @@ ...@@ -401,7 +402,7 @@
"grow" : -1, "grow" : -1,
"layout" : "FLEX" "layout" : "FLEX"
}, },
"viewFieldName" : "field_textbox", "viewFieldName" : "author",
"hidden" : false, "hidden" : false,
"showCaption" : false "showCaption" : false
}, { }, {
...@@ -418,6 +419,7 @@ ...@@ -418,6 +419,7 @@
"grow" : -1, "grow" : -1,
"layout" : "FLEX" "layout" : "FLEX"
}, },
"viewFieldName" : "booknumber",
"hidden" : false, "hidden" : false,
"showCaption" : false "showCaption" : false
}, { }, {
...@@ -597,19 +599,19 @@ ...@@ -597,19 +599,19 @@
"id" : "DataImport" "id" : "DataImport"
}, },
"getPSDEListDataItems" : [ { "getPSDEListDataItems" : [ {
"dataType" : 9,
"name" : "booknumber",
"getPSAppDEField" : {
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
}
}, {
"dataType" : 25, "dataType" : 25,
"name" : "author", "name" : "author",
"getPSAppDEField" : { "getPSAppDEField" : {
"name" : "AUTHOR", "name" : "AUTHOR",
"codeName" : "Author" "codeName" : "Author"
} }
}, {
"dataType" : 9,
"name" : "booknumber",
"getPSAppDEField" : {
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
}
}, { }, {
"dataType" : 25, "dataType" : 25,
"name" : "srfkey", "name" : "srfkey",
......
...@@ -1352,7 +1352,6 @@ ...@@ -1352,7 +1352,6 @@
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "面板容器", "caption" : "面板容器",
"contentWidth" : 100.0,
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
"name" : "container_scroll_main2", "name" : "container_scroll_main2",
...@@ -1361,9 +1360,7 @@ ...@@ -1361,9 +1360,7 @@
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"layout" : "BORDER", "layout" : "BORDER",
"layoutPos" : "CENTER", "layoutPos" : "CENTER"
"width" : 100,
"widthMode" : "PX"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "向导面板", "caption" : "向导面板",
......
...@@ -77,7 +77,10 @@ ...@@ -77,7 +77,10 @@
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"layout" : "BORDER", "layout" : "BORDER",
"layoutPos" : "CENTER" "layoutPos" : "CENTER",
"spacingBottom" : "INNERMEDIUM",
"spacingLeft" : "INNERMEDIUM",
"spacingRight" : "INNERMEDIUM"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "导航区占位", "caption" : "导航区占位",
...@@ -86,7 +89,9 @@ ...@@ -86,7 +89,9 @@
"name" : "nav_pos1", "name" : "nav_pos1",
"getPSLayoutPos" : { "getPSLayoutPos" : {
"layout" : "BORDER", "layout" : "BORDER",
"layoutPos" : "CENTER" "layoutPos" : "CENTER",
"spacingLeft" : "INNERMEDIUM",
"spacingRight" : "INNERMEDIUM"
}, },
"getPSRawItem" : { "getPSRawItem" : {
"name" : "nav_pos1", "name" : "nav_pos1",
...@@ -112,6 +117,7 @@ ...@@ -112,6 +117,7 @@
"layout" : "BORDER", "layout" : "BORDER",
"layoutPos" : "NORTH", "layoutPos" : "NORTH",
"spacingBottom" : "INNERSMALL", "spacingBottom" : "INNERSMALL",
"spacingLeft" : "INNERMEDIUM",
"spacingTop" : "INNERSMALL", "spacingTop" : "INNERSMALL",
"vAlignSelf" : "MIDDLE" "vAlignSelf" : "MIDDLE"
}, },
......
...@@ -15029,7 +15029,10 @@ ...@@ -15029,7 +15029,10 @@
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"layout" : "BORDER", "layout" : "BORDER",
"layoutPos" : "CENTER" "layoutPos" : "CENTER",
"spacingBottom" : "INNERMEDIUM",
"spacingLeft" : "INNERMEDIUM",
"spacingRight" : "INNERMEDIUM"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "导航区占位", "caption" : "导航区占位",
...@@ -15038,7 +15041,9 @@ ...@@ -15038,7 +15041,9 @@
"name" : "nav_pos1", "name" : "nav_pos1",
"getPSLayoutPos" : { "getPSLayoutPos" : {
"layout" : "BORDER", "layout" : "BORDER",
"layoutPos" : "CENTER" "layoutPos" : "CENTER",
"spacingLeft" : "INNERMEDIUM",
"spacingRight" : "INNERMEDIUM"
}, },
"getPSRawItem" : { "getPSRawItem" : {
"name" : "nav_pos1", "name" : "nav_pos1",
...@@ -15064,6 +15069,7 @@ ...@@ -15064,6 +15069,7 @@
"layout" : "BORDER", "layout" : "BORDER",
"layoutPos" : "NORTH", "layoutPos" : "NORTH",
"spacingBottom" : "INNERSMALL", "spacingBottom" : "INNERSMALL",
"spacingLeft" : "INNERMEDIUM",
"spacingTop" : "INNERSMALL", "spacingTop" : "INNERSMALL",
"vAlignSelf" : "MIDDLE" "vAlignSelf" : "MIDDLE"
}, },
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-457-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-472-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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册