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

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

上级 4d00be4a
......@@ -530,7 +530,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -646,7 +646,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.removeAction') as string) });
return;
}
if (datas.length === 0) {
......@@ -741,7 +741,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -749,7 +749,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){
......
......@@ -2076,62 +2076,57 @@
} ],
"parallelOutput" : true
}, {
"codeName" : "VIEWCTRLINVOKE2",
"codeName" : "VIEWCTRLINVOKE1",
"getInvokeCtrl" : {
"modelref" : true,
"id" : "grid"
"id" : "searchForm"
},
"invokeMethod" : "load",
"invokeMethod" : "loadDraft",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "表格加载",
"name" : "搜索表单loadDraft",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM2"
"id" : "VIEWCTRLINVOKE2"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE2"
"id" : "VIEWCTRLINVOKE1"
}
} ]
}, {
"codeName" : "DEACTION1",
"getDstPSAppDEAction" : {
"modelref" : true,
"id" : "Get"
},
"getDstPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "otherParam"
},
"logicNodeType" : "DEACTION",
"name" : "实体行为",
"codeName" : "PREPAREJSPARAM1",
"logicNodeType" : "PREPAREJSPARAM",
"name" : "准备参数",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "END1"
"id" : "DEACTION1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEACTION1"
"id" : "PREPAREJSPARAM1"
}
} ],
"getRetPSDEUILogicParam" : {
"modelref" : true,
"id" : "Default"
}
"getPSDEUILogicNodeParams" : [ {
"dstFieldName" : "book",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "otherParam"
},
"name" : "直接值[12] ==> otherParam[book]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "12",
"srcValueType" : "SRCVALUE"
} ]
}, {
"codeName" : "DELOGIC1",
"getDstPSAppDELogic" : {
......@@ -2172,75 +2167,63 @@
}
} ]
}, {
"codeName" : "PREPAREJSPARAM1",
"logicNodeType" : "PREPAREJSPARAM",
"name" : "准备参数",
"codeName" : "DEBUGPARAM1",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "context"
},
"logicNodeType" : "DEBUGPARAM",
"name" : "调试逻辑参数"
}, {
"codeName" : "VIEWCTRLINVOKE2",
"getInvokeCtrl" : {
"modelref" : true,
"id" : "grid"
},
"invokeMethod" : "load",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "表格加载",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEACTION1"
"id" : "PREPAREJSPARAM2"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM1"
"id" : "VIEWCTRLINVOKE2"
}
} ],
"getPSDEUILogicNodeParams" : [ {
"dstFieldName" : "book",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "otherParam"
},
"name" : "直接值[12] ==> otherParam[book]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "12",
"srcValueType" : "SRCVALUE"
} ]
}, {
"codeName" : "VIEWCTRLINVOKE1",
"getInvokeCtrl" : {
"codeName" : "BINDPARAM1",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "searchForm"
},
"invokeMethod" : "loadDraft",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "搜索表单loadDraft",
"logicNodeType" : "BINDPARAM",
"name" : "绑定搜索表单",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE2"
"id" : "BINDPARAM2"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE1"
"id" : "BINDPARAM1"
}
} ]
}, {
"buttonsType" : "OK",
"codeName" : "MSGBOX1",
"logicNodeType" : "MSGBOX",
"message" : "我被触发啦",
"msgBoxType" : "INFO",
"name" : "消息弹窗",
"showMode" : "CENTER",
"title" : "触发"
}, {
"codeName" : "END1",
"logicNodeType" : "END",
"name" : "结束",
"getReturnParam" : {
} ],
"srcFieldName" : "searchform",
"getSrcPSDEUILogicParam" : {
"modelref" : true,
"id" : "Default"
},
"returnType" : "LOGICPARAM"
"id" : "view"
}
}, {
"codeName" : "BINDPARAM2",
"getDstPSDEUILogicParam" : {
......@@ -2267,30 +2250,46 @@
"id" : "view"
}
}, {
"codeName" : "BINDPARAM1",
"codeName" : "DEACTION1",
"getDstPSAppDEAction" : {
"modelref" : true,
"id" : "Get"
},
"getDstPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "searchForm"
"id" : "otherParam"
},
"logicNodeType" : "BINDPARAM",
"name" : "绑定搜索表单",
"logicNodeType" : "DEACTION",
"name" : "实体行为",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM2"
"id" : "END1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
"id" : "DEACTION1"
}
} ],
"srcFieldName" : "searchform",
"getSrcPSDEUILogicParam" : {
"getRetPSDEUILogicParam" : {
"modelref" : true,
"id" : "view"
"id" : "Default"
}
}, {
"codeName" : "END1",
"logicNodeType" : "END",
"name" : "结束",
"getReturnParam" : {
"modelref" : true,
"id" : "Default"
},
"returnType" : "LOGICPARAM"
}, {
"codeName" : "PREPAREJSPARAM2",
"logicNodeType" : "PREPAREJSPARAM",
......@@ -2318,27 +2317,53 @@
"srcValue" : "12",
"srcValueType" : "SRCVALUE"
} ]
}, {
"buttonsType" : "OK",
"codeName" : "MSGBOX1",
"logicNodeType" : "MSGBOX",
"message" : "我被触发啦",
"msgBoxType" : "INFO",
"name" : "消息弹窗",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "MSGBOX1"
}
} ],
"showMode" : "CENTER",
"title" : "触发"
} ],
"getPSDEUILogicParams" : [ {
"codeName" : "grid",
"logicName" : "当前表格",
"name" : "当前表格",
"ctrlParam" : true
}, {
"codeName" : "context",
"logicName" : "应用上下文",
"name" : "应用上下文",
"navContextParam" : true
}, {
"codeName" : "routerParam",
"logicName" : "路由会话变量",
"name" : "路由会话变量",
"paramFieldName" : "testParam",
"routeViewSessionParam" : true
}, {
"codeName" : "viewParam",
"logicName" : "当前视图参数",
"name" : "当前视图参数",
"viewNavDataParam" : true
}, {
"codeName" : "searchForm",
"logicName" : "当前搜索表单",
"name" : "当前搜索表单",
"ctrlParam" : true
"codeName" : "otherParam",
"logicName" : "额外参数",
"name" : "额外参数",
"entityParam" : true
}, {
"codeName" : "systemName",
"logicName" : "当前系统名称",
"name" : "当前系统名称"
}, {
"codeName" : "Default",
"logicName" : "传入变量",
......@@ -2346,15 +2371,20 @@
"default" : true,
"entityParam" : true
}, {
"codeName" : "otherParam",
"logicName" : "额外参数",
"name" : "额外参数",
"entityParam" : true
"codeName" : "searchForm",
"logicName" : "当前搜索表单",
"name" : "当前搜索表单",
"ctrlParam" : true
}, {
"codeName" : "view",
"logicName" : "当前视图",
"name" : "当前视图",
"activeViewParam" : true
}, {
"codeName" : "grid",
"logicName" : "当前表格",
"name" : "当前表格",
"ctrlParam" : true
} ],
"getStartPSDEUILogicNode" : {
"modelref" : true,
......
......@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-347-7">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-351-7">
<createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册