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

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

上级 51de06d3
...@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -712,7 +712,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: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
import { Component } from 'vue-property-decorator'; import { Component } from 'vue-property-decorator';
import IBIZBOOKPANELBase from './ibizbookpanel-calendar-base.vue'; import IBIZBOOKPANELBase from './ibizbookpanel-calendar-base.vue';
import layout_item1layoutpanel from '@widgets/ibizbook/auto1-panel/auto1-panel.vue'; import layout_item1layoutpanel from '@widgets/ibizbook/timelineitemlayoutpanel-panel/timelineitemlayoutpanel-panel.vue';
// 基于 @CONTROL/日历部件/CONTROL.vue.ftl 生成 // 基于 @CONTROL/日历部件/CONTROL.vue.ftl 生成
......
...@@ -2,6 +2,15 @@ ...@@ -2,6 +2,15 @@
<div class="app-layoutpanel TIMELINEITEMLAYOUTPANEL" v-loading="isLayoutLoadding" :style="{width: '100%', height: '100%', overflow: 'auto'}"> <div class="app-layoutpanel TIMELINEITEMLAYOUTPANEL" v-loading="isLayoutLoadding" :style="{width: '100%', height: '100%', overflow: 'auto'}">
<div v-show="!isLayoutLoadding" :style="{height: '100%', width: '100%'}"> <div v-show="!isLayoutLoadding" :style="{height: '100%', width: '100%'}">
<app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails"> <app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #author>
<app-panel-field name="author" :layoutModelDetails="layoutModelDetails" :value="layoutData.author"> <app-span name="author" :value="layoutData.author" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
</template>
<template #press>
<app-panel-field name="press" :layoutModelDetails="layoutModelDetails" :value="layoutData.press"> <app-span name="press" :value="layoutData.press" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
</template>
<template #bookname>
<app-panel-field name="bookname" :layoutModelDetails="layoutModelDetails" :value="layoutData.bookname"> <app-span name="bookname" :value="layoutData.bookname" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
</template>
</app-standard-container> </app-standard-container>
</div> </div>
</div> </div>
...@@ -283,7 +292,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI ...@@ -283,7 +292,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 视图布局顶级成员名称 * 视图布局顶级成员名称
* *
* @public * @public
* @memberof ItemlayoutpanelBase * @memberof Item1layoutpanelBase
*/ */
public rootLayoutDetailNames: string[] = [ 'container1' ]; public rootLayoutDetailNames: string[] = [ 'container1' ];
...@@ -291,17 +300,20 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI ...@@ -291,17 +300,20 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 视图布局面板项模型对象 * 视图布局面板项模型对象
* *
* @public * @public
* @memberof ItemlayoutpanelBase * @memberof Item1layoutpanelBase
*/ */
public layoutItems:any = { public layoutItems:any = {
container1:{ name: 'container1', type: 'ITEMLAYOUT', caption: '', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:[] , dataRegionType: 'INHERIT' } author:{ name: 'author', type: 'ITEMLAYOUT', 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:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'author', wrapMode:'', vAlign:'', hAlign:'', },
press:{ name: 'press', type: 'ITEMLAYOUT', 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:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'press', wrapMode:'', vAlign:'', hAlign:'', },
bookname:{ name: 'bookname', type: 'ITEMLAYOUT', 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:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'IBIZBOOKNAME', wrapMode:'', vAlign:'', hAlign:'', },
container1:{ name: 'container1', type: 'ITEMLAYOUT', caption: '', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['author','press','bookname'] , dataRegionType: 'INHERIT' }
} }
/** /**
* 布局面板是否加载 * 布局面板是否加载
* *
* @public * @public
* @memberof ItemlayoutpanelBase * @memberof Item1layoutpanelBase
*/ */
public isLayoutLoadding: boolean = true; public isLayoutLoadding: boolean = true;
...@@ -309,7 +321,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI ...@@ -309,7 +321,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 布局面板数据 * 布局面板数据
* *
* @public * @public
* @memberof ItemlayoutpanelBase * @memberof Item1layoutpanelBase
*/ */
public layoutData:any = {}; public layoutData:any = {};
...@@ -317,7 +329,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI ...@@ -317,7 +329,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 布局面板模型对象 * 布局面板模型对象
* *
* @public * @public
* @memberof ItemlayoutpanelBase * @memberof Item1layoutpanelBase
*/ */
public layoutModelDetails:any = {}; public layoutModelDetails:any = {};
...@@ -325,7 +337,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI ...@@ -325,7 +337,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 初始化布局 * 初始化布局
* *
* @public * @public
* @memberof ItemlayoutpanelBase * @memberof Item1layoutpanelBase
*/ */
public async initLayout() { public async initLayout() {
if (this.rootLayoutDetailNames.length > 0) { if (this.rootLayoutDetailNames.length > 0) {
...@@ -345,7 +357,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI ...@@ -345,7 +357,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 初始化布局项 * 初始化布局项
* *
* @public * @public
* @memberof ItemlayoutpanelBase * @memberof Item1layoutpanelBase
*/ */
public async initLayoutItem(layoutModelItem: any, index?: number) { public async initLayoutItem(layoutModelItem: any, index?: number) {
const { name } = layoutModelItem; const { name } = layoutModelItem;
...@@ -388,7 +400,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI ...@@ -388,7 +400,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* 计算面板按钮权限状态 * 计算面板按钮权限状态
* *
* @public * @public
* @memberof ItemlayoutpanelBase * @memberof Item1layoutpanelBase
*/ */
public async computeButtonAuthState() { public async computeButtonAuthState() {
for (const key in this.layoutModelDetails) { for (const key in this.layoutModelDetails) {
...@@ -502,7 +514,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI ...@@ -502,7 +514,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* @public * @public
* @params args 改变数据 * @params args 改变数据
* @params index 多数据容器下标 * @params index 多数据容器下标
* @memberof ItemlayoutpanelBase * @memberof Item1layoutpanelBase
*/ */
public handleValueChange(args: { name: string, value: any }, index?: number) { public handleValueChange(args: { name: string, value: any }, index?: number) {
const { name, value } = args; const { name, value } = args;
...@@ -556,7 +568,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI ...@@ -556,7 +568,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* @public * @public
* @params name 按钮项名称 * @params name 按钮项名称
* @params index 多数据容器下标 * @params index 多数据容器下标
* @memberof ItemlayoutpanelBase * @memberof Item1layoutpanelBase
*/ */
public handleButtonClick(name: string, index?: number) { public handleButtonClick(name: string, index?: number) {
let datas: any[] = []; let datas: any[] = [];
......
...@@ -15,6 +15,18 @@ export default class TIMELINEITEMLAYOUTPANELModel { ...@@ -15,6 +15,18 @@ export default class TIMELINEITEMLAYOUTPANELModel {
*/ */
public getDataItems(): any[] { public getDataItems(): any[] {
return [ return [
{
name: 'author',
prop: 'author'
},
{
name: 'press',
prop: 'press'
},
{
name: 'bookname',
prop: 'ibizbookname'
}
] ]
} }
} }
\ No newline at end of file
...@@ -45,6 +45,16 @@ ...@@ -45,6 +45,16 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSLayoutPanel" : { "getPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "author",
"viewFieldName" : "author"
}, {
"id" : "press",
"viewFieldName" : "press"
}, {
"id" : "bookname",
"viewFieldName" : "IBIZBOOKNAME"
} ],
"codeName" : "TIMELINEITEMLAYOUTPANEL", "codeName" : "TIMELINEITEMLAYOUTPANEL",
"controlType" : "PANEL", "controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TIMELINEITEMLAYOUTPANEL.json", "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TIMELINEITEMLAYOUTPANEL.json",
...@@ -81,6 +91,58 @@ ...@@ -81,6 +91,58 @@
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"getPSPanelItems" : [ {
"caption" : "作者",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "author",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "author",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"viewFieldName" : "author",
"hidden" : false,
"showCaption" : false
}, {
"caption" : "出版社",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "press",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "press",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"viewFieldName" : "press",
"hidden" : false,
"showCaption" : false
}, {
"caption" : "图书名",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "bookname",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "bookname",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"viewFieldName" : "IBIZBOOKNAME",
"hidden" : false,
"showCaption" : false
} ],
"getPSSysPFPlugin" : { "getPSSysPFPlugin" : {
"pluginType" : "CUSTOM", "pluginType" : "CUSTOM",
"pluginCode" : "PFPlugin11" "pluginCode" : "PFPlugin11"
......
...@@ -484,21 +484,21 @@ ...@@ -484,21 +484,21 @@
}, },
"getPSLayoutPanel" : { "getPSLayoutPanel" : {
"getAllPSPanelFields" : [ { "getAllPSPanelFields" : [ {
"id" : "field1", "id" : "author",
"viewFieldName" : "title" "viewFieldName" : "author"
}, { }, {
"id" : "field2", "id" : "press",
"viewFieldName" : "start" "viewFieldName" : "press"
}, { }, {
"id" : "field3", "id" : "bookname",
"viewFieldName" : "end" "viewFieldName" : "IBIZBOOKNAME"
} ], } ],
"codeName" : "Auto1", "codeName" : "TIMELINEITEMLAYOUTPANEL",
"controlType" : "PANEL", "controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/Auto1.json", "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TIMELINEITEMLAYOUTPANEL.json",
"layoutMode" : "TABLE_24COL", "layoutMode" : "TABLE_24COL",
"logicName" : "日历项布局面板", "logicName" : "日历时间轴项布局面板",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/pssysviewpanels/Auto1", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/pssysviewpanels/TIMELINEITEMLAYOUTPANEL",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
...@@ -530,61 +530,64 @@ ...@@ -530,61 +530,64 @@
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "图书名", "caption" : "作者",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "FIELD", "itemType" : "FIELD",
"name" : "field1", "name" : "author",
"getPSEditor" : { "getPSEditor" : {
"editorType" : "SPAN", "editorType" : "SPAN",
"name" : "field1", "name" : "author",
"enableLinkView" : false "enableLinkView" : false
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"viewFieldName" : "title", "viewFieldName" : "author",
"hidden" : false, "hidden" : false,
"showCaption" : false "showCaption" : false
}, { }, {
"caption" : "借出日期", "caption" : "出版社",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "FIELD", "itemType" : "FIELD",
"name" : "field2", "name" : "press",
"getPSEditor" : { "getPSEditor" : {
"editorType" : "SPAN", "editorType" : "SPAN",
"name" : "field2", "name" : "press",
"enableLinkView" : false "enableLinkView" : false
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"viewFieldName" : "start", "viewFieldName" : "press",
"hidden" : false, "hidden" : false,
"showCaption" : false "showCaption" : false
}, { }, {
"caption" : "归还日期", "caption" : "图书名",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "FIELD", "itemType" : "FIELD",
"name" : "field3", "name" : "bookname",
"getPSEditor" : { "getPSEditor" : {
"editorType" : "SPAN", "editorType" : "SPAN",
"name" : "field3", "name" : "bookname",
"enableLinkView" : false "enableLinkView" : false
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"viewFieldName" : "end", "viewFieldName" : "IBIZBOOKNAME",
"hidden" : false, "hidden" : false,
"showCaption" : false "showCaption" : false
} ]
} ], } ],
"layoutPanel" : true, "getPSSysPFPlugin" : {
"pluginType" : "CUSTOM",
"pluginCode" : "PFPlugin11"
}
} ],
"name" : "item1layoutpanel", "name" : "item1layoutpanel",
"modelid" : "32a693530b12e4b97381964587a01cc7", "modelid" : "2f716a9c8d5e0c0f8327c657dd50c4f2",
"modeltype" : "PSSYSVIEWPANEL" "modeltype" : "PSSYSVIEWPANEL"
}, },
"getTextPSAppDEField" : { "getTextPSAppDEField" : {
......
{ {
"getAllPSPanelFields" : [ {
"id" : "author",
"viewFieldName" : "author"
}, {
"id" : "press",
"viewFieldName" : "press"
}, {
"id" : "bookname",
"viewFieldName" : "IBIZBOOKNAME"
} ],
"codeName" : "TIMELINEITEMLAYOUTPANEL", "codeName" : "TIMELINEITEMLAYOUTPANEL",
"controlType" : "PANEL", "controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TIMELINEITEMLAYOUTPANEL.json", "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TIMELINEITEMLAYOUTPANEL.json",
...@@ -17,7 +27,7 @@ ...@@ -17,7 +27,7 @@
"columnCount" : 24, "columnCount" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsr4CalendarView/psappviewctrls/itemlayoutpanel", "rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsr3CalendarView/psappviewctrls/item1layoutpanel",
"getRootPSPanelItems" : [ { "getRootPSPanelItems" : [ {
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
...@@ -34,6 +44,58 @@ ...@@ -34,6 +44,58 @@
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"getPSPanelItems" : [ {
"caption" : "作者",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "author",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "author",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"viewFieldName" : "author",
"hidden" : false,
"showCaption" : false
}, {
"caption" : "出版社",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "press",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "press",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"viewFieldName" : "press",
"hidden" : false,
"showCaption" : false
}, {
"caption" : "图书名",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "bookname",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "bookname",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"viewFieldName" : "IBIZBOOKNAME",
"hidden" : false,
"showCaption" : false
} ],
"getPSSysPFPlugin" : { "getPSSysPFPlugin" : {
"pluginType" : "CUSTOM", "pluginType" : "CUSTOM",
"pluginCode" : "PFPlugin11" "pluginCode" : "PFPlugin11"
......
...@@ -542,21 +542,21 @@ ...@@ -542,21 +542,21 @@
}, },
"getPSLayoutPanel" : { "getPSLayoutPanel" : {
"getAllPSPanelFields" : [ { "getAllPSPanelFields" : [ {
"id" : "field1", "id" : "author",
"viewFieldName" : "title" "viewFieldName" : "author"
}, { }, {
"id" : "field2", "id" : "press",
"viewFieldName" : "start" "viewFieldName" : "press"
}, { }, {
"id" : "field3", "id" : "bookname",
"viewFieldName" : "end" "viewFieldName" : "IBIZBOOKNAME"
} ], } ],
"codeName" : "Auto1", "codeName" : "TIMELINEITEMLAYOUTPANEL",
"controlType" : "PANEL", "controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/Auto1.json", "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TIMELINEITEMLAYOUTPANEL.json",
"layoutMode" : "TABLE_24COL", "layoutMode" : "TABLE_24COL",
"logicName" : "日历项布局面板", "logicName" : "日历时间轴项布局面板",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/pssysviewpanels/Auto1", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/pssysviewpanels/TIMELINEITEMLAYOUTPANEL",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
...@@ -588,61 +588,64 @@ ...@@ -588,61 +588,64 @@
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "图书名", "caption" : "作者",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "FIELD", "itemType" : "FIELD",
"name" : "field1", "name" : "author",
"getPSEditor" : { "getPSEditor" : {
"editorType" : "SPAN", "editorType" : "SPAN",
"name" : "field1", "name" : "author",
"enableLinkView" : false "enableLinkView" : false
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"viewFieldName" : "title", "viewFieldName" : "author",
"hidden" : false, "hidden" : false,
"showCaption" : false "showCaption" : false
}, { }, {
"caption" : "借出日期", "caption" : "出版社",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "FIELD", "itemType" : "FIELD",
"name" : "field2", "name" : "press",
"getPSEditor" : { "getPSEditor" : {
"editorType" : "SPAN", "editorType" : "SPAN",
"name" : "field2", "name" : "press",
"enableLinkView" : false "enableLinkView" : false
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"viewFieldName" : "start", "viewFieldName" : "press",
"hidden" : false, "hidden" : false,
"showCaption" : false "showCaption" : false
}, { }, {
"caption" : "归还日期", "caption" : "图书名",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "FIELD", "itemType" : "FIELD",
"name" : "field3", "name" : "bookname",
"getPSEditor" : { "getPSEditor" : {
"editorType" : "SPAN", "editorType" : "SPAN",
"name" : "field3", "name" : "bookname",
"enableLinkView" : false "enableLinkView" : false
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"viewFieldName" : "end", "viewFieldName" : "IBIZBOOKNAME",
"hidden" : false, "hidden" : false,
"showCaption" : false "showCaption" : false
} ]
} ], } ],
"layoutPanel" : true, "getPSSysPFPlugin" : {
"pluginType" : "CUSTOM",
"pluginCode" : "PFPlugin11"
}
} ],
"name" : "item1layoutpanel", "name" : "item1layoutpanel",
"modelid" : "32a693530b12e4b97381964587a01cc7", "modelid" : "2f716a9c8d5e0c0f8327c657dd50c4f2",
"modeltype" : "PSSYSVIEWPANEL" "modeltype" : "PSSYSVIEWPANEL"
}, },
"getTextPSAppDEField" : { "getTextPSAppDEField" : {
......
...@@ -103,6 +103,16 @@ ...@@ -103,6 +103,16 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSLayoutPanel" : { "getPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "author",
"viewFieldName" : "author"
}, {
"id" : "press",
"viewFieldName" : "press"
}, {
"id" : "bookname",
"viewFieldName" : "IBIZBOOKNAME"
} ],
"codeName" : "TIMELINEITEMLAYOUTPANEL", "codeName" : "TIMELINEITEMLAYOUTPANEL",
"controlType" : "PANEL", "controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TIMELINEITEMLAYOUTPANEL.json", "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TIMELINEITEMLAYOUTPANEL.json",
...@@ -139,6 +149,58 @@ ...@@ -139,6 +149,58 @@
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"getPSPanelItems" : [ {
"caption" : "作者",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "author",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "author",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"viewFieldName" : "author",
"hidden" : false,
"showCaption" : false
}, {
"caption" : "出版社",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "press",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "press",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"viewFieldName" : "press",
"hidden" : false,
"showCaption" : false
}, {
"caption" : "图书名",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "bookname",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "bookname",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"viewFieldName" : "IBIZBOOKNAME",
"hidden" : false,
"showCaption" : false
} ],
"getPSSysPFPlugin" : { "getPSSysPFPlugin" : {
"pluginType" : "CUSTOM", "pluginType" : "CUSTOM",
"pluginCode" : "PFPlugin11" "pluginCode" : "PFPlugin11"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册