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

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

上级 4a3540d4
...@@ -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: '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 };
...@@ -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: '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 } ;
......
...@@ -711,7 +711,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -711,7 +711,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: 'IBIZBOOKUsr2GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -747,7 +747,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -747,7 +747,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: 'IBIZBOOKUsr2GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -14,6 +14,22 @@ export default class TestListModel { ...@@ -14,6 +14,22 @@ export default class TestListModel {
*/ */
public getDataItems(): any[] { public getDataItems(): any[] {
return [ return [
{
name: 'field_textbox',
prop: 'type'
},
{
name: 'field_textbox1',
prop: ''
},
{
name: 'field_textbox2',
prop: ''
},
{
name: 'field_textbox3',
prop: ''
}
] ]
} }
} }
\ 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',
......
...@@ -17,6 +17,16 @@ ...@@ -17,6 +17,16 @@
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ], "hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"getItemPSLayoutPanel" : { "getItemPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "field_textbox",
"viewFieldName" : "type"
}, {
"id" : "field_textbox1"
}, {
"id" : "field_textbox2"
}, {
"id" : "field_textbox3"
} ],
"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 +36,253 @@ ...@@ -26,11 +36,253 @@
"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" : "openDocument@IBIZBOOK"
},
"uIActionTarget" : "SINGLEKEY",
"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" : "标签",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_label1",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "按钮权限测试:武侠时禁用打开文本按钮",
"contentType" : "RAW",
"name" : "static_label1",
"predefinedType" : "STATIC_LABEL",
"renderMode" : "PARAGRAPH"
},
"rawContent" : "按钮权限测试:武侠时禁用打开文本按钮",
"showCaption" : true
}, {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"dir" : "row",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"actionType" : "UIACTION",
"buttonStyle" : "INFO",
"buttonWidth" : 100.0,
"caption" : "按钮",
"contentWidth" : 100.0,
"itemStyle" : "INFO",
"itemType" : "BUTTON",
"name" : "button_calluilogic1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_itempanel_button_calluilogic1"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX",
"width" : 100,
"widthMode" : "PX"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"noPrivDisplayMode" : 1,
"caption" : "打开文档",
"codeName" : "openDocument",
"dataAccessAction" : "OPEN_DOCUMENT",
"frontProcessType" : "OPENHTMLPAGE",
"fullCodeName" : "IBIZBOOK_openDocument",
"htmlPageUrl" : "https://www.yuque.com/ibiz/wuf19n",
"name" : "打开文档",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDEOPPriv" : {
"modelref" : true,
"id" : "OPEN_DOCUMENT"
},
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "openDocument",
"uIActionType" : "DEUIACTION",
"id" : "openDocument@IBIZBOOK"
},
"tooltip" : "按钮",
"width" : 100.0,
"showCaption" : true
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "type",
"hidden" : false,
"showCaption" : false
} ]
}, {
"caption" : "标签",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_label2",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "动态逻辑",
"contentType" : "RAW",
"name" : "static_label2",
"predefinedType" : "STATIC_LABEL",
"renderMode" : "PARAGRAPH"
},
"rawContent" : "动态逻辑",
"showCaption" : true
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox1",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox1",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItemGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "PANELVISIBLE",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox1][面板显示]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox2",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "1"
} ],
"relatedItemNames" : [ "field_textbox2" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMBLANK",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox1][表单项空输入]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox3",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "3"
} ],
"relatedItemNames" : [ "field_textbox3" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMENABLE",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox1][表单项启用]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox3",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "2"
} ],
"relatedItemNames" : [ "field_textbox3" ],
"notMode" : false
} ],
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox2",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox2",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox3",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox3",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
} ]
} ],
"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_textbox",
"viewFieldName" : "type"
}, {
"id" : "field_textbox1"
}, {
"id" : "field_textbox2"
}, {
"id" : "field_textbox3"
} ],
"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 +18,252 @@ ...@@ -8,10 +18,252 @@
"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" : "openDocument@IBIZBOOK"
},
"uIActionTarget" : "SINGLEKEY",
"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" : "标签",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_label1",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "按钮权限测试:武侠时禁用打开文本按钮",
"contentType" : "RAW",
"name" : "static_label1",
"predefinedType" : "STATIC_LABEL",
"renderMode" : "PARAGRAPH"
},
"rawContent" : "按钮权限测试:武侠时禁用打开文本按钮",
"showCaption" : true
}, {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"dir" : "row",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"actionType" : "UIACTION",
"buttonStyle" : "INFO",
"buttonWidth" : 100.0,
"caption" : "按钮",
"contentWidth" : 100.0,
"itemStyle" : "INFO",
"itemType" : "BUTTON",
"name" : "button_calluilogic1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_itempanel_button_calluilogic1"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX",
"width" : 100,
"widthMode" : "PX"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"noPrivDisplayMode" : 1,
"caption" : "打开文档",
"codeName" : "openDocument",
"dataAccessAction" : "OPEN_DOCUMENT",
"frontProcessType" : "OPENHTMLPAGE",
"fullCodeName" : "IBIZBOOK_openDocument",
"htmlPageUrl" : "https://www.yuque.com/ibiz/wuf19n",
"name" : "打开文档",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDEOPPriv" : {
"modelref" : true,
"id" : "OPEN_DOCUMENT"
},
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "openDocument",
"uIActionType" : "DEUIACTION",
"id" : "openDocument@IBIZBOOK"
},
"tooltip" : "按钮",
"width" : 100.0,
"showCaption" : true
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "type",
"hidden" : false,
"showCaption" : false
} ]
}, {
"caption" : "标签",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_label2",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "动态逻辑",
"contentType" : "RAW",
"name" : "static_label2",
"predefinedType" : "STATIC_LABEL",
"renderMode" : "PARAGRAPH"
},
"rawContent" : "动态逻辑",
"showCaption" : true
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox1",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox1",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItemGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "PANELVISIBLE",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox1][面板显示]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox2",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "1"
} ],
"relatedItemNames" : [ "field_textbox2" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMBLANK",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox1][表单项空输入]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox3",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "3"
} ],
"relatedItemNames" : [ "field_textbox3" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMENABLE",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox1][表单项启用]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox3",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "2"
} ],
"relatedItemNames" : [ "field_textbox3" ],
"notMode" : false
} ],
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox2",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox2",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox3",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox3",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
} ]
} ],
"modelid" : "657FB036-73B2-4485-B8C6-DF54910B43E4", "modelid" : "657FB036-73B2-4485-B8C6-DF54910B43E4",
"modeltype" : "PSSYSVIEWPANEL" "modeltype" : "PSSYSVIEWPANEL"
} }
\ No newline at end of file
...@@ -124,6 +124,16 @@ ...@@ -124,6 +124,16 @@
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ], "hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"getItemPSLayoutPanel" : { "getItemPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "field_textbox",
"viewFieldName" : "type"
}, {
"id" : "field_textbox1"
}, {
"id" : "field_textbox2"
}, {
"id" : "field_textbox3"
} ],
"codeName" : "TestList", "codeName" : "TestList",
"controlType" : "PANEL", "controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TestList.json", "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TestList.json",
...@@ -133,11 +143,253 @@ ...@@ -133,11 +143,253 @@
"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" : "openDocument@IBIZBOOK"
},
"uIActionTarget" : "SINGLEKEY",
"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" : "标签",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_label1",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "按钮权限测试:武侠时禁用打开文本按钮",
"contentType" : "RAW",
"name" : "static_label1",
"predefinedType" : "STATIC_LABEL",
"renderMode" : "PARAGRAPH"
},
"rawContent" : "按钮权限测试:武侠时禁用打开文本按钮",
"showCaption" : true
}, {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"dir" : "row",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"actionType" : "UIACTION",
"buttonStyle" : "INFO",
"buttonWidth" : 100.0,
"caption" : "按钮",
"contentWidth" : 100.0,
"itemStyle" : "INFO",
"itemType" : "BUTTON",
"name" : "button_calluilogic1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_itempanel_button_calluilogic1"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX",
"width" : 100,
"widthMode" : "PX"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"noPrivDisplayMode" : 1,
"caption" : "打开文档",
"codeName" : "openDocument",
"dataAccessAction" : "OPEN_DOCUMENT",
"frontProcessType" : "OPENHTMLPAGE",
"fullCodeName" : "IBIZBOOK_openDocument",
"htmlPageUrl" : "https://www.yuque.com/ibiz/wuf19n",
"name" : "打开文档",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDEOPPriv" : {
"modelref" : true,
"id" : "OPEN_DOCUMENT"
},
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "openDocument",
"uIActionType" : "DEUIACTION",
"id" : "openDocument@IBIZBOOK"
},
"tooltip" : "按钮",
"width" : 100.0,
"showCaption" : true
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "type",
"hidden" : false,
"showCaption" : false
} ]
}, {
"caption" : "标签",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_label2",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "动态逻辑",
"contentType" : "RAW",
"name" : "static_label2",
"predefinedType" : "STATIC_LABEL",
"renderMode" : "PARAGRAPH"
},
"rawContent" : "动态逻辑",
"showCaption" : true
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox1",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox1",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItemGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "PANELVISIBLE",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox1][面板显示]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox2",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "1"
} ],
"relatedItemNames" : [ "field_textbox2" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMBLANK",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox1][表单项空输入]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox3",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "3"
} ],
"relatedItemNames" : [ "field_textbox3" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMENABLE",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox1][表单项启用]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox3",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "2"
} ],
"relatedItemNames" : [ "field_textbox3" ],
"notMode" : false
} ],
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox2",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox2",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox3",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox3",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
} ]
} ],
"name" : "list_itempanel", "name" : "list_itempanel",
"modelid" : "657FB036-73B2-4485-B8C6-DF54910B43E4", "modelid" : "657FB036-73B2-4485-B8C6-DF54910B43E4",
"modeltype" : "PSSYSVIEWPANEL" "modeltype" : "PSSYSVIEWPANEL"
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-810-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-812-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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册