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

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

上级 b0124070
...@@ -2585,6 +2585,10 @@ function getLocaleResourceBase(){ ...@@ -2585,6 +2585,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("应用实体方法(弹出随机数)",null), caption: commonLogic.appcommonhandle("应用实体方法(弹出随机数)",null),
tip: commonLogic.appcommonhandle("应用实体方法(弹出随机数)",null), tip: commonLogic.appcommonhandle("应用实体方法(弹出随机数)",null),
}, },
deuiaction2: {
caption: commonLogic.appcommonhandle("红色背景插件",null),
tip: commonLogic.appcommonhandle("红色背景插件",null),
},
}, },
usr4listviewtoolbar_toolbar: { usr4listviewtoolbar_toolbar: {
deuiaction1: { deuiaction1: {
......
...@@ -2585,6 +2585,10 @@ function getLocaleResourceBase(){ ...@@ -2585,6 +2585,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
}, },
deuiaction2: {
caption: commonLogic.appcommonhandle("红色背景插件",null),
tip: commonLogic.appcommonhandle("红色背景插件",null),
},
}, },
usr4listviewtoolbar_toolbar: { usr4listviewtoolbar_toolbar: {
deuiaction1: { deuiaction1: {
......
...@@ -2585,6 +2585,10 @@ function getLocaleResourceBase(){ ...@@ -2585,6 +2585,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("应用实体方法(弹出随机数)",null), caption: commonLogic.appcommonhandle("应用实体方法(弹出随机数)",null),
tip: commonLogic.appcommonhandle("应用实体方法(弹出随机数)",null), tip: commonLogic.appcommonhandle("应用实体方法(弹出随机数)",null),
}, },
deuiaction2: {
caption: commonLogic.appcommonhandle("红色背景插件",null),
tip: commonLogic.appcommonhandle("红色背景插件",null),
},
}, },
usr4listviewtoolbar_toolbar: { usr4listviewtoolbar_toolbar: {
deuiaction1: { deuiaction1: {
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizbook.usreditview_actionplugintoolbar_toolbar.deuiaction1.tip')}}</div> <div slot='content'>{{$t('entities.ibizbook.usreditview_actionplugintoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip> </tooltip>
<div>红色项</div>
</div> </div>
</div> </div>
...@@ -280,6 +281,8 @@ export default class IBIZBOOKUsrEditView_actionPluginBase extends Vue { ...@@ -280,6 +281,8 @@ export default class IBIZBOOKUsrEditView_actionPluginBase extends Vue {
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '应用实体方法(弹出随机数)', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '应用实体方法(弹出随机数)', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '红色背景插件', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'alertMessage', target: 'NONE' } },
}; };
...@@ -672,6 +675,9 @@ export default class IBIZBOOKUsrEditView_actionPluginBase extends Vue { ...@@ -672,6 +675,9 @@ export default class IBIZBOOKUsrEditView_actionPluginBase extends Vue {
if (Object.is($event.tag, 'deuiaction1')) { if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2); this.toolbar_deuiaction1_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction2')) {
this.toolbar_deuiaction2_click(null, '', $event2);
}
} }
/** /**
* form 部件 load 事件 * form 部件 load 事件
...@@ -733,6 +739,35 @@ export default class IBIZBOOKUsrEditView_actionPluginBase extends Vue { ...@@ -733,6 +739,35 @@ export default class IBIZBOOKUsrEditView_actionPluginBase extends Vue {
this.Save(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK"); this.Save(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction2_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.form;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
const curUIService:IBIZBOOKUIService = new IBIZBOOKUIService();
curUIService.IBIZBOOK_alertMessage(datas,contextJO, paramJO, $event, xData,this,"IBIZBOOK");
}
/** /**
* 保存 * 保存
* *
......
...@@ -639,7 +639,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -639,7 +639,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: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -675,7 +675,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -675,7 +675,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: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -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: 'IBIZBOOKUsr9GridView' + (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: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
// 基于 @CONTROL/面板/MODEL.ts.ftl 生成
/**
* List_itempanel 部件模型
*
* @export
* @class List_itempanelModel
*/
export default class List_itempanelModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof List_itempanelModel
*/
public getDataItems(): any[] {
return [
{
name: 'ibizbookname',
prop: 'ibizbookname'
},
{
name: 'srfdescription',
prop: 'srfdescription'
}
]
}
}
\ No newline at end of file
// 基于 @CONTROL/面板/SERVICE.ts.ftl 生成
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* List_itempanel 部件服务对象
*
* @export
* @class List_itempanelService
*/
export default class List_itempanelService extends ControlService {
}
\ No newline at end of file
// 基于 @CONTROL/面板/CONTROL.less.ftl 生成
.app-layoutpanel {
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import List_itempanelBase from './list-itempanel-panel-base.vue';
// 基于 @CONTROL/面板/CONTROL.vue.ftl 生成
@Component({
components: {
}
})
export default class List_itempanel extends List_itempanelBase {
}
</script>
\ No newline at end of file
...@@ -3,38 +3,18 @@ ...@@ -3,38 +3,18 @@
<div :class="['app-list',this.items.length > 0 ? '' : 'app-list-empty' ]"> <div :class="['app-list',this.items.length > 0 ? '' : 'app-list-empty' ]">
<div v-if="items.length > 0"> <div v-if="items.length > 0">
<div v-for = "item in items" :key="item.srfkey" :class="['app-list-item', {'isSelect': item.isselected === true ? true : false}]" @click="handleClick(item)" @dblclick="handleDblClick(item)"> <div v-for = "item in items" :key="item.srfkey" :class="['app-list-item', {'isSelect': item.isselected === true ? true : false}]" @click="handleClick(item)" @dblclick="handleDblClick(item)">
<div class="app-list-item-content"> <layout_list_itempanel
<div class="item-icon"> :viewState="viewState"
<template v-if="item.srficon"> :viewparams="viewparams"
<img :src="item.srficon" /> :context="context"
</template> :parentRef="thisRef"
<template v-else> :inputData="item"
<img src="/assets/img/noimage.png"/> :actionModel="actionModel ? actionModel : null"
</template> @uiAction="(item, action, event) => { uiAction(item, action, event); }"
</div> @panelDataChange="($event)=>{onPanelDataChange(item,$event)}"
<template> name="list_itempanel"
<div class="item-content-text"> ref='list_itempanel'>
<div class="item-title"> </layout_list_itempanel>
<span >{{item.srfmajortext}}</span>
</div>
<div class="item-description">
<span v-if="item.srfdescription" class="item-subtext" :title="item.srfdescription">{{ item.srfdescription }}</span>
</div>
</div>
</template>
</div>
<div v-if="item.srfdate" class="app-list-item-date">
<span class="date">{{ item.srfdate }}</span>
</div>
<div class="app-list-item-action">
<template v-for="(action,index) in Object.keys(actionModel)">
<a :key="index" style="display: inline-block;margin: 0 12px;" v-show="item[action].visabled" :disabled="item[action].disabled" @click="uiAction(item, action, $event)">
<i :class="actionModel[action].icon" style="margin-right:2px;"></i>
<span>{{actionModel[action].caption}}</span>
</a>
</template>
</div>
</div> </div>
<template v-if="isScrollBar"> <template v-if="isScrollBar">
<div v-if="totalRecord>items.length" class="loadmore">{{ this.$t('app.commonWords.loadmore') }}</div> <div v-if="totalRecord>items.length" class="loadmore">{{ this.$t('app.commonWords.loadmore') }}</div>
......
...@@ -16,7 +16,20 @@ export default class LnternalFuncListModel { ...@@ -16,7 +16,20 @@ export default class LnternalFuncListModel {
public getDataItems(): any[] { public getDataItems(): any[] {
return [ return [
{ {
name: 'ibizbookid', name: 'price',
},
{
name: 'srfdescription',
prop: 'subtext',
dataType: 'TEXT',
},
{
name: 'srfdate',
prop: 'createdate',
dataType: 'DATETIME',
},
{
name: 'booknumber',
}, },
{ {
name: 'type', name: 'type',
...@@ -31,29 +44,16 @@ export default class LnternalFuncListModel { ...@@ -31,29 +44,16 @@ export default class LnternalFuncListModel {
dataType: 'LONGTEXT', dataType: 'LONGTEXT',
}, },
{ {
name: 'price', name: 'ibizbookid',
},
{
name: 'srfdate',
prop: 'createdate',
dataType: 'DATETIME',
}, },
{ {
name: 'booknumber', name: 'author',
}, },
{ {
name: 'srfmajortext', name: 'srfmajortext',
prop: 'ibizbookname', prop: 'ibizbookname',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'srfdescription',
prop: 'subtext',
dataType: 'TEXT',
},
{
name: 'author',
},
{ {
name: 'srfkey', name: 'srfkey',
prop: 'ibizbookid', prop: 'ibizbookid',
......
...@@ -2,11 +2,13 @@ ...@@ -2,11 +2,13 @@
import { Component } from 'vue-property-decorator'; import { Component } from 'vue-property-decorator';
import LnternalFuncListBase from './lnternal-func-list-list-base.vue'; import LnternalFuncListBase from './lnternal-func-list-list-base.vue';
import layout_list_itempanel from '@widgets/ibizbook/list-itempanel-panel/list-itempanel-panel.vue';
// 基于 @CONTROL/列表/CONTROL.vue.ftl 生成 // 基于 @CONTROL/列表/CONTROL.vue.ftl 生成
@Component({ @Component({
components: { components: {
layout_list_itempanel,
} }
}) })
......
...@@ -736,7 +736,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -736,7 +736,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/ */
public async load(opt: any = {}, isReset: boolean = false): Promise<any> { public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -830,7 +830,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -830,7 +830,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -946,7 +946,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -946,7 +946,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -954,7 +954,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -954,7 +954,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){ if(item.ibizorder){
......
...@@ -1868,6 +1868,7 @@ ...@@ -1868,6 +1868,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSCODELISTS/ORDERSTATE.json" "path" : "PSMODULES/Sample/PSCODELISTS/ORDERSTATE.json"
}, },
"entityWFFinishState" : "30",
"entityWFState" : "20", "entityWFState" : "20",
"mOSFilePath" : "psworkflows/ACT/pswfdes/WF", "mOSFilePath" : "psworkflows/ACT/pswfdes/WF",
"name" : "IBIZSAMPLE0021", "name" : "IBIZSAMPLE0021",
......
...@@ -12,6 +12,18 @@ ...@@ -12,6 +12,18 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "借出日期",
"codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime",
"mOSFilePath" : "psdetreecols/lendouttime",
"name" : "lendouttime",
"rTMOSFilePath" : "psdetreecols/lendouttime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者", "caption" : "作者",
"codeName" : "author", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -59,18 +71,6 @@ ...@@ -59,18 +71,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "借出日期",
"codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime",
"mOSFilePath" : "psdetreecols/lendouttime",
"name" : "lendouttime",
"rTMOSFilePath" : "psdetreecols/lendouttime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -16,6 +16,95 @@ ...@@ -16,6 +16,95 @@
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ], "hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"getItemPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "ibizbookname",
"viewFieldName" : "ibizbookname"
}, {
"id" : "srfdescription",
"viewFieldName" : "srfdescription"
} ],
"codeName" : "List_itempanel",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/List_itempanel.json",
"layoutMode" : "TABLE_24COL",
"logicName" : "项插件布局面板",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/pssysviewpanels/List_itempanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsrListView_plugin/psappviewctrls/list_itempanel",
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "ibizbookname",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "ibizbookname",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSSysPFPlugin" : {
"pluginType" : "LIST_ITEMRENDER",
"pluginCode" : "redCaption"
},
"viewFieldName" : "ibizbookname",
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "srfdescription",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "srfdescription",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "srfdescription",
"hidden" : false,
"showCaption" : false
} ]
} ],
"layoutPanel" : true,
"name" : "list_itempanel",
"modelid" : "551239CC-D14C-4D76-8C80-0FD9CD4624A6",
"modeltype" : "PSSYSVIEWPANEL"
},
"logicName" : "MOB", "logicName" : "MOB",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdelists/LnternalFuncList", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdelists/LnternalFuncList",
"minorSortDir" : "ASC", "minorSortDir" : "ASC",
...@@ -365,8 +454,25 @@ ...@@ -365,8 +454,25 @@
"id" : "DataImport" "id" : "DataImport"
}, },
"getPSDEListDataItems" : [ { "getPSDEListDataItems" : [ {
"dataType" : 7,
"name" : "price"
}, {
"dataType" : 25, "dataType" : 25,
"name" : "ibizbookid" "name" : "srfdescription",
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 25,
"name" : "srfdate",
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
}
}, {
"dataType" : 9,
"name" : "booknumber"
}, { }, {
"dataType" : 25, "dataType" : 25,
"getFrontPSCodeList" : { "getFrontPSCodeList" : {
...@@ -384,19 +490,12 @@ ...@@ -384,19 +490,12 @@
"name" : "ICON", "name" : "ICON",
"codeName" : "Icon" "codeName" : "Icon"
} }
}, {
"dataType" : 7,
"name" : "price"
}, { }, {
"dataType" : 25, "dataType" : 25,
"name" : "srfdate", "name" : "ibizbookid"
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
}
}, { }, {
"dataType" : 9, "dataType" : 25,
"name" : "booknumber" "name" : "author"
}, { }, {
"dataType" : 25, "dataType" : 25,
"name" : "srfmajortext", "name" : "srfmajortext",
...@@ -404,16 +503,6 @@ ...@@ -404,16 +503,6 @@
"name" : "IBIZBOOKNAME", "name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName" "codeName" : "IBIZBOOKName"
} }
}, {
"dataType" : 25,
"name" : "srfdescription",
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 25,
"name" : "author"
}, { }, {
"dataType" : 25, "dataType" : 25,
"name" : "srfkey", "name" : "srfkey",
......
{
"getAllPSPanelFields" : [ {
"id" : "ibizbookname",
"viewFieldName" : "ibizbookname"
}, {
"id" : "srfdescription",
"viewFieldName" : "srfdescription"
} ],
"codeName" : "List_itempanel",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/List_itempanel.json",
"layoutMode" : "TABLE_24COL",
"logicName" : "项插件布局面板",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/pssysviewpanels/List_itempanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsrListView_plugin/psappviewctrls/list_itempanel",
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "ibizbookname",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "ibizbookname",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSSysPFPlugin" : {
"pluginType" : "LIST_ITEMRENDER",
"pluginCode" : "redCaption"
},
"viewFieldName" : "ibizbookname",
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "srfdescription",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "srfdescription",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "srfdescription",
"hidden" : false,
"showCaption" : false
} ]
} ],
"layoutPanel" : true,
"modelid" : "551239CC-D14C-4D76-8C80-0FD9CD4624A6",
"modeltype" : "PSSYSVIEWPANEL"
}
\ No newline at end of file
...@@ -20,13 +20,13 @@ ...@@ -20,13 +20,13 @@
} }
} ], } ],
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书描述", "caption" : "作者",
"codeName" : "subtext", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext", "dataItemName" : "author",
"mOSFilePath" : "psdetreecols/subtext", "mOSFilePath" : "psdetreecols/author",
"name" : "subtext", "name" : "author",
"rTMOSFilePath" : "psdetreecols/subtext", "rTMOSFilePath" : "psdetreecols/author",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -44,13 +44,13 @@ ...@@ -44,13 +44,13 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "图书描述",
"codeName" : "author", "codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/author", "mOSFilePath" : "psdetreecols/subtext",
"name" : "author", "name" : "subtext",
"rTMOSFilePath" : "psdetreecols/author", "rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -42,6 +42,18 @@ ...@@ -42,6 +42,18 @@
"id" : "GANTT" "id" : "GANTT"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "借出日期",
"codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime",
"mOSFilePath" : "psdetreecols/lendouttime",
"name" : "lendouttime",
"rTMOSFilePath" : "psdetreecols/lendouttime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者", "caption" : "作者",
"codeName" : "author", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -89,18 +101,6 @@ ...@@ -89,18 +101,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "借出日期",
"codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime",
"mOSFilePath" : "psdetreecols/lendouttime",
"name" : "lendouttime",
"rTMOSFilePath" : "psdetreecols/lendouttime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -1187,6 +1187,95 @@ ...@@ -1187,6 +1187,95 @@
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ], "hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"getItemPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "ibizbookname",
"viewFieldName" : "ibizbookname"
}, {
"id" : "srfdescription",
"viewFieldName" : "srfdescription"
} ],
"codeName" : "List_itempanel",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/List_itempanel.json",
"layoutMode" : "TABLE_24COL",
"logicName" : "项插件布局面板",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/pssysviewpanels/List_itempanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKListView/psappviewctrls/list_itempanel",
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "ibizbookname",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "ibizbookname",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSSysPFPlugin" : {
"pluginType" : "LIST_ITEMRENDER",
"pluginCode" : "redCaption"
},
"viewFieldName" : "ibizbookname",
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "srfdescription",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "srfdescription",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "srfdescription",
"hidden" : false,
"showCaption" : false
} ]
} ],
"layoutPanel" : true,
"name" : "list_itempanel",
"modelid" : "551239CC-D14C-4D76-8C80-0FD9CD4624A6",
"modeltype" : "PSSYSVIEWPANEL"
},
"logicName" : "MOB", "logicName" : "MOB",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdelists/LnternalFuncList", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdelists/LnternalFuncList",
"minorSortDir" : "ASC", "minorSortDir" : "ASC",
...@@ -1610,8 +1699,25 @@ ...@@ -1610,8 +1699,25 @@
"id" : "DataImport" "id" : "DataImport"
}, },
"getPSDEListDataItems" : [ { "getPSDEListDataItems" : [ {
"dataType" : 7,
"name" : "price"
}, {
"dataType" : 25, "dataType" : 25,
"name" : "ibizbookid" "name" : "srfdescription",
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 25,
"name" : "srfdate",
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
}
}, {
"dataType" : 9,
"name" : "booknumber"
}, { }, {
"dataType" : 25, "dataType" : 25,
"getFrontPSCodeList" : { "getFrontPSCodeList" : {
...@@ -1629,19 +1735,12 @@ ...@@ -1629,19 +1735,12 @@
"name" : "ICON", "name" : "ICON",
"codeName" : "Icon" "codeName" : "Icon"
} }
}, {
"dataType" : 7,
"name" : "price"
}, { }, {
"dataType" : 25, "dataType" : 25,
"name" : "srfdate", "name" : "ibizbookid"
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
}
}, { }, {
"dataType" : 9, "dataType" : 25,
"name" : "booknumber" "name" : "author"
}, { }, {
"dataType" : 25, "dataType" : 25,
"name" : "srfmajortext", "name" : "srfmajortext",
...@@ -1649,16 +1748,6 @@ ...@@ -1649,16 +1748,6 @@
"name" : "IBIZBOOKNAME", "name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName" "codeName" : "IBIZBOOKName"
} }
}, {
"dataType" : 25,
"name" : "srfdescription",
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 25,
"name" : "author"
}, { }, {
"dataType" : 25, "dataType" : 25,
"name" : "srfkey", "name" : "srfkey",
......
...@@ -1046,6 +1046,95 @@ ...@@ -1046,6 +1046,95 @@
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ], "hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"getItemPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "ibizbookname",
"viewFieldName" : "ibizbookname"
}, {
"id" : "srfdescription",
"viewFieldName" : "srfdescription"
} ],
"codeName" : "List_itempanel",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/List_itempanel.json",
"layoutMode" : "TABLE_24COL",
"logicName" : "项插件布局面板",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/pssysviewpanels/List_itempanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKTestCLListView/psappviewctrls/list_itempanel",
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "ibizbookname",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "ibizbookname",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSSysPFPlugin" : {
"pluginType" : "LIST_ITEMRENDER",
"pluginCode" : "redCaption"
},
"viewFieldName" : "ibizbookname",
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "srfdescription",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "srfdescription",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "srfdescription",
"hidden" : false,
"showCaption" : false
} ]
} ],
"layoutPanel" : true,
"name" : "list_itempanel",
"modelid" : "551239CC-D14C-4D76-8C80-0FD9CD4624A6",
"modeltype" : "PSSYSVIEWPANEL"
},
"logicName" : "MOB", "logicName" : "MOB",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdelists/LnternalFuncList", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdelists/LnternalFuncList",
"minorSortDir" : "ASC", "minorSortDir" : "ASC",
...@@ -1469,8 +1558,25 @@ ...@@ -1469,8 +1558,25 @@
"id" : "DataImport" "id" : "DataImport"
}, },
"getPSDEListDataItems" : [ { "getPSDEListDataItems" : [ {
"dataType" : 7,
"name" : "price"
}, {
"dataType" : 25, "dataType" : 25,
"name" : "ibizbookid" "name" : "srfdescription",
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 25,
"name" : "srfdate",
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
}
}, {
"dataType" : 9,
"name" : "booknumber"
}, { }, {
"dataType" : 25, "dataType" : 25,
"getFrontPSCodeList" : { "getFrontPSCodeList" : {
...@@ -1488,19 +1594,12 @@ ...@@ -1488,19 +1594,12 @@
"name" : "ICON", "name" : "ICON",
"codeName" : "Icon" "codeName" : "Icon"
} }
}, {
"dataType" : 7,
"name" : "price"
}, { }, {
"dataType" : 25, "dataType" : 25,
"name" : "srfdate", "name" : "ibizbookid"
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
}
}, { }, {
"dataType" : 9, "dataType" : 25,
"name" : "booknumber" "name" : "author"
}, { }, {
"dataType" : 25, "dataType" : 25,
"name" : "srfmajortext", "name" : "srfmajortext",
...@@ -1508,16 +1607,6 @@ ...@@ -1508,16 +1607,6 @@
"name" : "IBIZBOOKNAME", "name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName" "codeName" : "IBIZBOOKName"
} }
}, {
"dataType" : 25,
"name" : "srfdescription",
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 25,
"name" : "author"
}, { }, {
"dataType" : 25, "dataType" : 25,
"name" : "srfkey", "name" : "srfkey",
......
...@@ -88,13 +88,13 @@ ...@@ -88,13 +88,13 @@
"id" : "TREEGRIDEX" "id" : "TREEGRIDEX"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书描述", "caption" : "作者",
"codeName" : "subtext", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext", "dataItemName" : "author",
"mOSFilePath" : "psdetreecols/subtext", "mOSFilePath" : "psdetreecols/author",
"name" : "subtext", "name" : "author",
"rTMOSFilePath" : "psdetreecols/subtext", "rTMOSFilePath" : "psdetreecols/author",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -112,13 +112,13 @@ ...@@ -112,13 +112,13 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "图书描述",
"codeName" : "author", "codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/author", "mOSFilePath" : "psdetreecols/subtext",
"name" : "author", "name" : "subtext",
"rTMOSFilePath" : "psdetreecols/author", "rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -533,6 +533,95 @@ ...@@ -533,6 +533,95 @@
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ], "hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"getItemPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "ibizbookname",
"viewFieldName" : "ibizbookname"
}, {
"id" : "srfdescription",
"viewFieldName" : "srfdescription"
} ],
"codeName" : "List_itempanel",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/List_itempanel.json",
"layoutMode" : "TABLE_24COL",
"logicName" : "项插件布局面板",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/pssysviewpanels/List_itempanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsr4ListView/psappviewctrls/list_itempanel",
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "ibizbookname",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "ibizbookname",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSSysPFPlugin" : {
"pluginType" : "LIST_ITEMRENDER",
"pluginCode" : "redCaption"
},
"viewFieldName" : "ibizbookname",
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "srfdescription",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "srfdescription",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "srfdescription",
"hidden" : false,
"showCaption" : false
} ]
} ],
"layoutPanel" : true,
"name" : "list_itempanel",
"modelid" : "551239CC-D14C-4D76-8C80-0FD9CD4624A6",
"modeltype" : "PSSYSVIEWPANEL"
},
"logicName" : "MOB", "logicName" : "MOB",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdelists/LnternalFuncList", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdelists/LnternalFuncList",
"minorSortDir" : "ASC", "minorSortDir" : "ASC",
...@@ -956,8 +1045,25 @@ ...@@ -956,8 +1045,25 @@
"id" : "DataImport" "id" : "DataImport"
}, },
"getPSDEListDataItems" : [ { "getPSDEListDataItems" : [ {
"dataType" : 7,
"name" : "price"
}, {
"dataType" : 25, "dataType" : 25,
"name" : "ibizbookid" "name" : "srfdescription",
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 25,
"name" : "srfdate",
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
}
}, {
"dataType" : 9,
"name" : "booknumber"
}, { }, {
"dataType" : 25, "dataType" : 25,
"getFrontPSCodeList" : { "getFrontPSCodeList" : {
...@@ -975,19 +1081,12 @@ ...@@ -975,19 +1081,12 @@
"name" : "ICON", "name" : "ICON",
"codeName" : "Icon" "codeName" : "Icon"
} }
}, {
"dataType" : 7,
"name" : "price"
}, { }, {
"dataType" : 25, "dataType" : 25,
"name" : "srfdate", "name" : "ibizbookid"
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
}
}, { }, {
"dataType" : 9, "dataType" : 25,
"name" : "booknumber" "name" : "author"
}, { }, {
"dataType" : 25, "dataType" : 25,
"name" : "srfmajortext", "name" : "srfmajortext",
...@@ -995,16 +1094,6 @@ ...@@ -995,16 +1094,6 @@
"name" : "IBIZBOOKNAME", "name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName" "codeName" : "IBIZBOOKName"
} }
}, {
"dataType" : 25,
"name" : "srfdescription",
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 25,
"name" : "author"
}, { }, {
"dataType" : 25, "dataType" : 25,
"name" : "srfkey", "name" : "srfkey",
......
...@@ -533,6 +533,95 @@ ...@@ -533,6 +533,95 @@
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ], "hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"getItemPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "ibizbookname",
"viewFieldName" : "ibizbookname"
}, {
"id" : "srfdescription",
"viewFieldName" : "srfdescription"
} ],
"codeName" : "List_itempanel",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/List_itempanel.json",
"layoutMode" : "TABLE_24COL",
"logicName" : "项插件布局面板",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/pssysviewpanels/List_itempanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsr4ListView_layout/psappviewctrls/list_itempanel",
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "ibizbookname",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "ibizbookname",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSSysPFPlugin" : {
"pluginType" : "LIST_ITEMRENDER",
"pluginCode" : "redCaption"
},
"viewFieldName" : "ibizbookname",
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "srfdescription",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "srfdescription",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "srfdescription",
"hidden" : false,
"showCaption" : false
} ]
} ],
"layoutPanel" : true,
"name" : "list_itempanel",
"modelid" : "551239CC-D14C-4D76-8C80-0FD9CD4624A6",
"modeltype" : "PSSYSVIEWPANEL"
},
"logicName" : "MOB", "logicName" : "MOB",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdelists/LnternalFuncList", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdelists/LnternalFuncList",
"minorSortDir" : "ASC", "minorSortDir" : "ASC",
...@@ -956,8 +1045,25 @@ ...@@ -956,8 +1045,25 @@
"id" : "DataImport" "id" : "DataImport"
}, },
"getPSDEListDataItems" : [ { "getPSDEListDataItems" : [ {
"dataType" : 7,
"name" : "price"
}, {
"dataType" : 25, "dataType" : 25,
"name" : "ibizbookid" "name" : "srfdescription",
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 25,
"name" : "srfdate",
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
}
}, {
"dataType" : 9,
"name" : "booknumber"
}, { }, {
"dataType" : 25, "dataType" : 25,
"getFrontPSCodeList" : { "getFrontPSCodeList" : {
...@@ -975,19 +1081,12 @@ ...@@ -975,19 +1081,12 @@
"name" : "ICON", "name" : "ICON",
"codeName" : "Icon" "codeName" : "Icon"
} }
}, {
"dataType" : 7,
"name" : "price"
}, { }, {
"dataType" : 25, "dataType" : 25,
"name" : "srfdate", "name" : "ibizbookid"
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
}
}, { }, {
"dataType" : 9, "dataType" : 25,
"name" : "booknumber" "name" : "author"
}, { }, {
"dataType" : 25, "dataType" : 25,
"name" : "srfmajortext", "name" : "srfmajortext",
...@@ -995,16 +1094,6 @@ ...@@ -995,16 +1094,6 @@
"name" : "IBIZBOOKNAME", "name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName" "codeName" : "IBIZBOOKName"
} }
}, {
"dataType" : 25,
"name" : "srfdescription",
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 25,
"name" : "author"
}, { }, {
"dataType" : 25, "dataType" : 25,
"name" : "srfkey", "name" : "srfkey",
......
...@@ -44,6 +44,17 @@ ...@@ -44,6 +44,17 @@
"id" : "toolbar_deuiaction1" "id" : "toolbar_deuiaction1"
}, },
"getPSViewCtrlName" : "toolbar" "getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "deuiaction2",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction2_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction2"
},
"getPSViewCtrlName" : "toolbar"
} ], } ],
"getPSAppViewUIActions" : [ { "getPSAppViewUIActions" : [ {
"name" : "toolbar_deuiaction1", "name" : "toolbar_deuiaction1",
...@@ -52,6 +63,18 @@ ...@@ -52,6 +63,18 @@
"id" : "Save" "id" : "Save"
}, },
"xDataControlName" : "form" "xDataControlName" : "form"
}, {
"name" : "toolbar_deuiaction2",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref" : true,
"id" : "alertMessage@IBIZBOOK"
},
"uIActionTarget" : "NONE",
"xDataControlName" : "form"
} ], } ],
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "UsrEditView_actionPlugintoolbar", "codeName" : "UsrEditView_actionPlugintoolbar",
...@@ -74,6 +97,16 @@ ...@@ -74,6 +97,16 @@
"modelref" : true, "modelref" : true,
"id" : "toolbar_deuiaction1_click" "id" : "toolbar_deuiaction1_click"
} }
}, {
"eventArg" : "deuiaction2",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction2_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_deuiaction2_click"
}
} ], } ],
"getPSControlParam" : { "getPSControlParam" : {
"id" : "TOOLBAR" "id" : "TOOLBAR"
...@@ -132,6 +165,47 @@ ...@@ -132,6 +165,47 @@
}, },
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"caption" : "红色背景插件",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction2",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction2"
},
"getPSSysPFPlugin" : {
"pluginType" : "TOOLBAR_ITEM",
"pluginCode" : "redItem"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "弹出消息",
"codeName" : "alertMessage",
"frontProcessType" : "OTHER",
"fullCodeName" : "IBIZBOOK_alertMessage",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/alertMessage",
"name" : "弹出消息",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSSysPFPlugin" : {
"pluginType" : "DEUIACTION",
"pluginCode" : "alertMessage"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/alertMessage",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "alertMessage",
"uIActionType" : "DEUIACTION",
"userTag" : "CUSTOM",
"id" : "alertMessage@IBIZBOOK"
},
"tooltip" : "红色背景插件",
"showCaption" : true,
"showIcon" : true
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsrEditView_actionPlugin/psappviewctrls/toolbar", "rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsrEditView_actionPlugin/psappviewctrls/toolbar",
"modelid" : "B4A70A22-B6D8-4202-87C0-64208737D0A0", "modelid" : "B4A70A22-B6D8-4202-87C0-64208737D0A0",
......
...@@ -1005,6 +1005,95 @@ ...@@ -1005,6 +1005,95 @@
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ], "hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"getItemPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "ibizbookname",
"viewFieldName" : "ibizbookname"
}, {
"id" : "srfdescription",
"viewFieldName" : "srfdescription"
} ],
"codeName" : "List_itempanel",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/List_itempanel.json",
"layoutMode" : "TABLE_24COL",
"logicName" : "项插件布局面板",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/pssysviewpanels/List_itempanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsrListView_plugin/psappviewctrls/list_itempanel",
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "ibizbookname",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "ibizbookname",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSSysPFPlugin" : {
"pluginType" : "LIST_ITEMRENDER",
"pluginCode" : "redCaption"
},
"viewFieldName" : "ibizbookname",
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "srfdescription",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "srfdescription",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "srfdescription",
"hidden" : false,
"showCaption" : false
} ]
} ],
"layoutPanel" : true,
"name" : "list_itempanel",
"modelid" : "551239CC-D14C-4D76-8C80-0FD9CD4624A6",
"modeltype" : "PSSYSVIEWPANEL"
},
"logicName" : "MOB", "logicName" : "MOB",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdelists/LnternalFuncList", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdelists/LnternalFuncList",
"minorSortDir" : "ASC", "minorSortDir" : "ASC",
...@@ -1428,8 +1517,25 @@ ...@@ -1428,8 +1517,25 @@
"id" : "DataImport" "id" : "DataImport"
}, },
"getPSDEListDataItems" : [ { "getPSDEListDataItems" : [ {
"dataType" : 7,
"name" : "price"
}, {
"dataType" : 25, "dataType" : 25,
"name" : "ibizbookid" "name" : "srfdescription",
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 25,
"name" : "srfdate",
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
}
}, {
"dataType" : 9,
"name" : "booknumber"
}, { }, {
"dataType" : 25, "dataType" : 25,
"getFrontPSCodeList" : { "getFrontPSCodeList" : {
...@@ -1447,19 +1553,12 @@ ...@@ -1447,19 +1553,12 @@
"name" : "ICON", "name" : "ICON",
"codeName" : "Icon" "codeName" : "Icon"
} }
}, {
"dataType" : 7,
"name" : "price"
}, { }, {
"dataType" : 25, "dataType" : 25,
"name" : "srfdate", "name" : "ibizbookid"
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
}
}, { }, {
"dataType" : 9, "dataType" : 25,
"name" : "booknumber" "name" : "author"
}, { }, {
"dataType" : 25, "dataType" : 25,
"name" : "srfmajortext", "name" : "srfmajortext",
...@@ -1467,16 +1566,6 @@ ...@@ -1467,16 +1566,6 @@
"name" : "IBIZBOOKNAME", "name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName" "codeName" : "IBIZBOOKName"
} }
}, {
"dataType" : 25,
"name" : "srfdescription",
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 25,
"name" : "author"
}, { }, {
"dataType" : 25, "dataType" : 25,
"name" : "srfkey", "name" : "srfkey",
......
{ {
"codeName" : "ACT", "codeName" : "ACT",
"dynaModelFilePath" : "PSWORKFLOWS/ACT.json", "dynaModelFilePath" : "PSWORKFLOWS/ACT.json",
"entityWFFinishState" : "30",
"entityWFState" : "20", "entityWFState" : "20",
"logicName" : "订单审批", "logicName" : "订单审批",
"mOSFilePath" : "psworkflows/ACT", "mOSFilePath" : "psworkflows/ACT",
...@@ -12,6 +13,7 @@ ...@@ -12,6 +13,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSCODELISTS/ORDERSTATE.json" "path" : "PSMODULES/Sample/PSCODELISTS/ORDERSTATE.json"
}, },
"entityWFFinishState" : "30",
"entityWFState" : "20", "entityWFState" : "20",
"mOSFilePath" : "psworkflows/ACT/pswfdes/WF", "mOSFilePath" : "psworkflows/ACT/pswfdes/WF",
"name" : "IBIZSAMPLE0021", "name" : "IBIZSAMPLE0021",
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<flowable:string>20</flowable:string> <flowable:string>20</flowable:string>
</flowable:field> </flowable:field>
<flowable:field name="wffinishval_ibizsample0021"> <flowable:field name="wffinishval_ibizsample0021">
<flowable:string></flowable:string> <flowable:string>30</flowable:string>
</flowable:field> </flowable:field>
<flowable:field name="wferrorval_ibizsample0021"> <flowable:field name="wferrorval_ibizsample0021">
<flowable:string></flowable:string> <flowable:string></flowable:string>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<flowable:string>20</flowable:string> <flowable:string>20</flowable:string>
</flowable:field> </flowable:field>
<flowable:field name="wffinishval_ibizsample0021"> <flowable:field name="wffinishval_ibizsample0021">
<flowable:string></flowable:string> <flowable:string>30</flowable:string>
</flowable:field> </flowable:field>
<flowable:field name="wferrorval_ibizsample0021"> <flowable:field name="wferrorval_ibizsample0021">
<flowable:string></flowable:string> <flowable:string></flowable:string>
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-1130-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-1154-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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册