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

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

上级 c4a5d575
......@@ -1639,6 +1639,14 @@
"viewname": "IBIZAPPCTRLEditView",
"viewtag": "e21081d1a548f021a112d6d78cde6e49"
},
"ibizbookusr2treeview": {
"title": "图书树视图",
"caption": "图书",
"viewtype": "DETREEVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsr2TreeView",
"viewtag": "e240a385ba3c1e752f1a3aed838e9b58"
},
"ibizorderzdytpgridview": {
"title": "订单表格视图",
"caption": "订单",
......
......@@ -209,25 +209,25 @@ function getAppLocale(){
menuitem108: commonLogic.appcommonhandle("FormValueRule",null),
menuitem16: commonLogic.appcommonhandle("SearchForm",null),
menuitem126: commonLogic.appcommonhandle("EntityDataKanban",null),
menuitem157: commonLogic.appcommonhandle("导航类",null),
menuitem116: commonLogic.appcommonhandle(" 数据关系栏(左右关系)",null),
menuitem117: commonLogic.appcommonhandle("数据关系栏(上下关系)",null),
menuitem118: commonLogic.appcommonhandle("数据关系栏(分页关系)",null),
menuitem120: commonLogic.appcommonhandle("分页导航",null),
menuitem128: commonLogic.appcommonhandle("表格导航",null),
menuitem136: commonLogic.appcommonhandle("树导航",null),
menuitem137: commonLogic.appcommonhandle("卡片导航",null),
menuitem139: commonLogic.appcommonhandle("时间轴导航",null),
menuitem114: commonLogic.appcommonhandle("列表导航",null),
menuitem138: commonLogic.appcommonhandle("日历导航",null),
menuitem158: commonLogic.appcommonhandle("面板类",null),
menuitem145: commonLogic.appcommonhandle("选择视图面板",null),
menuitem17: commonLogic.appcommonhandle("向导面板",null),
menuitem134: commonLogic.appcommonhandle("基础用法",null),
menuitem135: commonLogic.appcommonhandle("状态属性",null),
menuitem121: commonLogic.appcommonhandle("多编辑视图面板",null),
menuitem115: commonLogic.appcommonhandle("多表单(行记录)",null),
menuitem123: commonLogic.appcommonhandle("多表单(上分页)",null),
menuitem157: commonLogic.appcommonhandle("NavigationClass",null),
menuitem116: commonLogic.appcommonhandle("DataRelationColumn(left right relation)",null),
menuitem117: commonLogic.appcommonhandle("DataRelationBar(up and down)",null),
menuitem118: commonLogic.appcommonhandle("DataRelationBar (pagination relation)",null),
menuitem120: commonLogic.appcommonhandle("PagingNavigation",null),
menuitem128: commonLogic.appcommonhandle("TableNavigation",null),
menuitem136: commonLogic.appcommonhandle("TreeNavigation",null),
menuitem137: commonLogic.appcommonhandle("CardNavigation",null),
menuitem139: commonLogic.appcommonhandle("TimelineNavigation",null),
menuitem114: commonLogic.appcommonhandle("ListNavigation",null),
menuitem138: commonLogic.appcommonhandle("CalendarNavigation",null),
menuitem158: commonLogic.appcommonhandle("PanelClass",null),
menuitem145: commonLogic.appcommonhandle("SelectViewPanel",null),
menuitem17: commonLogic.appcommonhandle("WizardPanel",null),
menuitem134: commonLogic.appcommonhandle("BasicUsage",null),
menuitem135: commonLogic.appcommonhandle("StateProperties",null),
menuitem121: commonLogic.appcommonhandle("MultiEditViewPanel",null),
menuitem115: commonLogic.appcommonhandle("MultipleForms (row records)",null),
menuitem123: commonLogic.appcommonhandle("MultiForm (top page)",null),
menuitem119: commonLogic.appcommonhandle("多数据类",null),
menuitem13: commonLogic.appcommonhandle("表格",null),
menuitem57: commonLogic.appcommonhandle("禁用排序",null),
......
......@@ -218,6 +218,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书数据视图(代码表分组)",null),
},
usr2treeview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书树视图",null),
},
updatedefaultgridview: {
caption: commonLogic.appcommonhandle("表格更新默认值",null),
title: commonLogic.appcommonhandle("表格更新默认值",null),
......@@ -1851,6 +1855,15 @@ function getLocaleResourceBase(){
uiactions: {
},
},
treeview_treeview: {
nodata:commonLogic.appcommonhandle("",null),
nodes: {
root: commonLogic.appcommonhandle("默认根节点",null),
book: commonLogic.appcommonhandle("图书",null),
},
uiactions: {
},
},
bookcalendarmajorstate_calendar: {
nodata:commonLogic.appcommonhandle("",null),
uiactions: {
......
......@@ -218,6 +218,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书数据视图(代码表分组)",null),
},
usr2treeview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书树视图",null),
},
updatedefaultgridview: {
caption: commonLogic.appcommonhandle("表格更新默认值",null),
title: commonLogic.appcommonhandle("表格更新默认值",null),
......@@ -1851,6 +1855,15 @@ function getLocaleResourceBase(){
uiactions: {
},
},
treeview_treeview: {
nodata:commonLogic.appcommonhandle("",null),
nodes: {
root: commonLogic.appcommonhandle("默认根节点",null),
book: commonLogic.appcommonhandle("图书",null),
},
uiactions: {
},
},
bookcalendarmajorstate_calendar: {
nodata:commonLogic.appcommonhandle("",null),
uiactions: {
......
......@@ -1647,6 +1647,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZAPPCTRLEditView",
"viewtag": "e21081d1a548f021a112d6d78cde6e49"
},
"ibizbookusr2treeview": {
"title": "图书树视图",
"caption": "图书",
"viewtype": "DETREEVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsr2TreeView",
"viewtag": "e240a385ba3c1e752f1a3aed838e9b58"
},
"ibizorderzdytpgridview": {
"title": "订单表格视图",
"caption": "订单",
......
......@@ -142,6 +142,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'dataview',srfappde:'ibizbooks',component:'ibizbookdata-view'});
this.allViewMap.set(':',{viewname:'interfunceditview',srfappde:'ibizbooks',component:'ibizbookinter-func-edit-view'});
this.allViewMap.set(':',{viewname:'usr3dataview',srfappde:'ibizbooks',component:'ibizbookusr3-data-view'});
this.allViewMap.set(':',{viewname:'usr2treeview',srfappde:'ibizbooks',component:'ibizbookusr2-tree-view'});
this.allViewMap.set(':',{viewname:'updatedefaultgridview',srfappde:'ibizbooks',component:'ibizbookupdate-default-grid-view'});
this.allViewMap.set(':',{viewname:'gridexpview',srfappde:'ibizbooks',component:'ibizbookgrid-exp-view'});
this.allViewMap.set(':',{viewname:'ganttview',srfappde:'ibizbooks',component:'ibizbookgantt-view'});
......
......@@ -224,7 +224,7 @@ export default class IBIZOrderUIServiceBase extends UIService {
}
const backend = () => {
const curService:IBIZOrderService = new IBIZOrderService();
curService.Save(context,data, true).then((response: any) => {
curService.Update(context,data, true).then((response: any) => {
if (!response || response.status !== 200) {
actionContext.$Notice.error({ title: '错误', desc: response.message });
return;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册