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

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

上级 97573721
...@@ -638,7 +638,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -638,7 +638,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: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -674,7 +674,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -674,7 +674,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: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
<template> <template>
<div class="app-layoutpanel TestList" v-loading="isLayoutLoadding" :style="{width: '100%', height: '100%', overflow: 'auto'}"> <div class="app-layoutpanel TestList" v-loading="isLayoutLoadding" :style="{width: '100%', height: '100%', overflow: 'auto'}">
<template v-if="!isLayoutLoadding"> <template v-if="!isLayoutLoadding">
<app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #field_text_dynamic>
<app-preset-text name="field_text_dynamic" :value="layoutData.field_text_dynamic" :layoutModelDetails="layoutModelDetails"/>
</template>
<template #button_calluilogic1>
<app-preset-button name="button_calluilogic1" :layoutModelDetails="layoutModelDetails" @itemClick="handleButtonClick" />
</template>
</app-standard-container>
</template> </template>
</div> </div>
...@@ -282,7 +290,7 @@ export default class TestListBase extends Vue implements ControlInterface { ...@@ -282,7 +290,7 @@ export default class TestListBase extends Vue implements ControlInterface {
* @public * @public
* @memberof List_itempanelBase * @memberof List_itempanelBase
*/ */
public rootLayoutDetailNames: string[] = [ ]; public rootLayoutDetailNames: string[] = [ 'container1' ];
/** /**
* 视图布局面板项模型对象 * 视图布局面板项模型对象
...@@ -291,6 +299,9 @@ export default class TestListBase extends Vue implements ControlInterface { ...@@ -291,6 +299,9 @@ export default class TestListBase extends Vue implements ControlInterface {
* @memberof List_itempanelBase * @memberof List_itempanelBase
*/ */
public layoutItems:any = { public layoutItems:any = {
field_text_dynamic:{ name: 'field_text_dynamic', 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:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_TEXT_DYNAMIC', renderMode: 'TEXT_DYNAMIC', dataItemName:'type', wrapMode:'', vAlign:'', hAlign:'', },
button_calluilogic1:{ name: 'button_calluilogic1', type: 'ITEMLAYOUT', 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 , xDataControlName: 'list', buttonStyle: 'DEFAULT', borderStyle: '', iconAlign: '', uiAction: { actiontarget: 'NONE', noprivdisplaymode: 2, dataaccaction: '', visabled: true, disabled: false }, renderMode: '', },
container1:{ name: 'container1', type: 'ITEMLAYOUT', 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:['field_text_dynamic','button_calluilogic1'] , dataRegionType: 'INHERIT' }
} }
/** /**
...@@ -567,8 +578,25 @@ export default class TestListBase extends Vue implements ControlInterface { ...@@ -567,8 +578,25 @@ export default class TestListBase extends Vue implements ControlInterface {
const paramJO: any = {}; const paramJO: any = {};
const contextJO: any = {}; const contextJO: any = {};
const _this: any = this; const _this: any = this;
if (Object.is(name, 'button_calluilogic1')) {
_this.IBIZBOOK_panel_TestList_button_calluilogic1_click(datas, contextJO, paramJO, $event, xData, this, undefined);
}
} }
/**
* 按钮
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
*/
public IBIZBOOK_panel_TestList_button_calluilogic1_click(args: any[], context: any = {}, params: any = {}, $event?: any, xData?: any, actionContext?: any, srfParentDeName?: string) {
this.$Notice.error({ title: '错误', desc: '自定义行为未实现' });
}
} }
</script> </script>
......
...@@ -14,6 +14,10 @@ export default class TestListModel { ...@@ -14,6 +14,10 @@ export default class TestListModel {
*/ */
public getDataItems(): any[] { public getDataItems(): any[] {
return [ return [
{
name: 'field_text_dynamic',
prop: 'type'
}
] ]
} }
} }
\ No newline at end of file
...@@ -600,7 +600,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -600,7 +600,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -730,7 +730,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -730,7 +730,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.removeAction') as string) });
return; return;
} }
if (datas.length === 0) { if (datas.length === 0) {
...@@ -835,7 +835,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -835,7 +835,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_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);
...@@ -843,7 +843,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -843,7 +843,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZOrderListExpView_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){
......
...@@ -318,7 +318,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -318,7 +318,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderPickupGridViewBase * @memberof IBIZOrderSF1GridViewBase
*/ */
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) {
...@@ -461,6 +461,20 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -461,6 +461,20 @@ 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;
/** /**
* 是否嵌入关系界面 * 是否嵌入关系界面
...@@ -995,7 +1009,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -995,7 +1009,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) { if (!this.fetchAction) {
this.$Notice.error({ this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string, title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderPickupGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string), desc: "IBIZOrderSF1GridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
}); });
return; return;
} }
...@@ -1124,7 +1138,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1124,7 +1138,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) { if (!this.removeAction) {
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string) desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
}); });
return; return;
} }
...@@ -1238,7 +1252,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1238,7 +1252,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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2169,7 +2183,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2169,7 +2183,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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2178,7 +2192,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2178,7 +2192,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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2254,7 +2268,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2254,7 +2268,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
}); });
return; return;
} }
......
...@@ -104,6 +104,21 @@ export default class MainModel { ...@@ -104,6 +104,21 @@ 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',
......
...@@ -2051,6 +2051,21 @@ ...@@ -2051,6 +2051,21 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic2_click", "uIActionTag" : "panel_Layoutpanel_button_calluilogic2_click",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "按钮",
"codeName" : "panel_TestList_button_calluilogic1_click",
"fullCodeName" : "IBIZBOOK_panel_TestList_button_calluilogic1_click",
"name" : "按钮",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"timeout" : 60000,
"uIActionMode" : "CUSTOM",
"uIActionTag" : "panel_TestList_button_calluilogic1_click",
"uIActionType" : "DEUIACTION",
"id" : "panel_TestList_button_calluilogic1_click@IBIZBOOK"
}, { }, {
"actionTarget" : "SINGLEDATA", "actionTarget" : "SINGLEDATA",
"caption" : "编辑", "caption" : "编辑",
......
...@@ -17,6 +17,10 @@ ...@@ -17,6 +17,10 @@
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ], "hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"getItemPSLayoutPanel" : { "getItemPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "field_text_dynamic",
"viewFieldName" : "type"
} ],
"codeName" : "TestList", "codeName" : "TestList",
"controlType" : "PANEL", "controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TestList.json", "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TestList.json",
...@@ -26,11 +30,99 @@ ...@@ -26,11 +30,99 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "list_itempanel_button_calluilogic1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_itempanel_button_calluilogic1"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "list_itempanel_button_calluilogic1",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref" : true,
"id" : "panel_TestList_button_calluilogic1_click@IBIZBOOK"
},
"uIActionTarget" : "NONE",
"xDataControlName" : "list_itempanel"
} ],
"getPSControlParam" : { }, "getPSControlParam" : { },
"getPSLayout" : { "getPSLayout" : {
"columnCount" : 24, "columnCount" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field_text_dynamic",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "type",
"hidden" : false,
"showCaption" : false
}, {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"caption" : "按钮",
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "button_calluilogic1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_itempanel_button_calluilogic1"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "按钮",
"codeName" : "panel_TestList_button_calluilogic1_click",
"fullCodeName" : "IBIZBOOK_panel_TestList_button_calluilogic1_click",
"name" : "按钮",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"timeout" : 60000,
"uIActionMode" : "CUSTOM",
"uIActionTag" : "panel_TestList_button_calluilogic1_click",
"uIActionType" : "DEUIACTION",
"id" : "panel_TestList_button_calluilogic1_click@IBIZBOOK"
},
"tooltip" : "按钮",
"showCaption" : true
} ]
} ],
"name" : "list_itempanel", "name" : "list_itempanel",
"modelid" : "657FB036-73B2-4485-B8C6-DF54910B43E4", "modelid" : "657FB036-73B2-4485-B8C6-DF54910B43E4",
"modeltype" : "PSSYSVIEWPANEL" "modeltype" : "PSSYSVIEWPANEL"
......
{ {
"getAllPSPanelFields" : [ {
"id" : "field_text_dynamic",
"viewFieldName" : "type"
} ],
"codeName" : "TestList", "codeName" : "TestList",
"controlType" : "PANEL", "controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TestList.json", "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TestList.json",
...@@ -8,10 +12,98 @@ ...@@ -8,10 +12,98 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "list_itempanel_button_calluilogic1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_itempanel_button_calluilogic1"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "list_itempanel_button_calluilogic1",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref" : true,
"id" : "panel_TestList_button_calluilogic1_click@IBIZBOOK"
},
"uIActionTarget" : "NONE",
"xDataControlName" : "list_itempanel"
} ],
"getPSLayout" : { "getPSLayout" : {
"columnCount" : 24, "columnCount" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field_text_dynamic",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "type",
"hidden" : false,
"showCaption" : false
}, {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"caption" : "按钮",
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "button_calluilogic1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_itempanel_button_calluilogic1"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "按钮",
"codeName" : "panel_TestList_button_calluilogic1_click",
"fullCodeName" : "IBIZBOOK_panel_TestList_button_calluilogic1_click",
"name" : "按钮",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"timeout" : 60000,
"uIActionMode" : "CUSTOM",
"uIActionTag" : "panel_TestList_button_calluilogic1_click",
"uIActionType" : "DEUIACTION",
"id" : "panel_TestList_button_calluilogic1_click@IBIZBOOK"
},
"tooltip" : "按钮",
"showCaption" : true
} ]
} ],
"modelid" : "657FB036-73B2-4485-B8C6-DF54910B43E4", "modelid" : "657FB036-73B2-4485-B8C6-DF54910B43E4",
"modeltype" : "PSSYSVIEWPANEL" "modeltype" : "PSSYSVIEWPANEL"
} }
\ No newline at end of file
...@@ -273,6 +273,10 @@ ...@@ -273,6 +273,10 @@
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ], "hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"getItemPSLayoutPanel" : { "getItemPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "field_text_dynamic",
"viewFieldName" : "type"
} ],
"codeName" : "TestList", "codeName" : "TestList",
"controlType" : "PANEL", "controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TestList.json", "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TestList.json",
...@@ -282,11 +286,99 @@ ...@@ -282,11 +286,99 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "list_itempanel_button_calluilogic1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_itempanel_button_calluilogic1"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "list_itempanel_button_calluilogic1",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref" : true,
"id" : "panel_TestList_button_calluilogic1_click@IBIZBOOK"
},
"uIActionTarget" : "NONE",
"xDataControlName" : "list_itempanel"
} ],
"getPSControlParam" : { }, "getPSControlParam" : { },
"getPSLayout" : { "getPSLayout" : {
"columnCount" : 24, "columnCount" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field_text_dynamic",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "type",
"hidden" : false,
"showCaption" : false
}, {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"caption" : "按钮",
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "button_calluilogic1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_itempanel_button_calluilogic1"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "按钮",
"codeName" : "panel_TestList_button_calluilogic1_click",
"fullCodeName" : "IBIZBOOK_panel_TestList_button_calluilogic1_click",
"name" : "按钮",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"timeout" : 60000,
"uIActionMode" : "CUSTOM",
"uIActionTag" : "panel_TestList_button_calluilogic1_click",
"uIActionType" : "DEUIACTION",
"id" : "panel_TestList_button_calluilogic1_click@IBIZBOOK"
},
"tooltip" : "按钮",
"showCaption" : true
} ]
} ],
"name" : "list_itempanel", "name" : "list_itempanel",
"modelid" : "657FB036-73B2-4485-B8C6-DF54910B43E4", "modelid" : "657FB036-73B2-4485-B8C6-DF54910B43E4",
"modeltype" : "PSSYSVIEWPANEL" "modeltype" : "PSSYSVIEWPANEL"
......
...@@ -26872,6 +26872,21 @@ ...@@ -26872,6 +26872,21 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic2_click", "uIActionTag" : "panel_Layoutpanel_button_calluilogic2_click",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "按钮",
"codeName" : "panel_TestList_button_calluilogic1_click",
"fullCodeName" : "IBIZBOOK_panel_TestList_button_calluilogic1_click",
"name" : "按钮",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"timeout" : 60000,
"uIActionMode" : "CUSTOM",
"uIActionTag" : "panel_TestList_button_calluilogic1_click",
"uIActionType" : "DEUIACTION",
"id" : "panel_TestList_button_calluilogic1_click@IBIZBOOK"
}, { }, {
"actionTarget" : "SINGLEDATA", "actionTarget" : "SINGLEDATA",
"caption" : "编辑", "caption" : "编辑",
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-782-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-792-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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册