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

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

上级 3db3b94e
...@@ -91,6 +91,10 @@ function getLocaleResourceBase(){ ...@@ -91,6 +91,10 @@ function getLocaleResourceBase(){
listviewtoolbar_toolbar: { listviewtoolbar_toolbar: {
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
......
...@@ -91,6 +91,10 @@ function getLocaleResourceBase(){ ...@@ -91,6 +91,10 @@ function getLocaleResourceBase(){
listviewtoolbar_toolbar: { listviewtoolbar_toolbar: {
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
......
...@@ -139,6 +139,10 @@ function getLocaleResourceBase(){ ...@@ -139,6 +139,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
......
...@@ -139,6 +139,10 @@ function getLocaleResourceBase(){ ...@@ -139,6 +139,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
......
...@@ -88,6 +88,10 @@ function getLocaleResourceBase(){ ...@@ -88,6 +88,10 @@ function getLocaleResourceBase(){
listviewtoolbar_toolbar: { listviewtoolbar_toolbar: {
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
......
...@@ -88,6 +88,10 @@ function getLocaleResourceBase(){ ...@@ -88,6 +88,10 @@ function getLocaleResourceBase(){
listviewtoolbar_toolbar: { listviewtoolbar_toolbar: {
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
......
...@@ -137,6 +137,10 @@ function getLocaleResourceBase(){ ...@@ -137,6 +137,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
......
...@@ -137,6 +137,10 @@ function getLocaleResourceBase(){ ...@@ -137,6 +137,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
......
...@@ -858,6 +858,10 @@ function getLocaleResourceBase(){ ...@@ -858,6 +858,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
...@@ -988,6 +992,10 @@ function getLocaleResourceBase(){ ...@@ -988,6 +992,10 @@ function getLocaleResourceBase(){
}, },
}, },
interfunceditviewtoolbar_toolbar: { interfunceditviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
...@@ -1576,6 +1584,10 @@ function getLocaleResourceBase(){ ...@@ -1576,6 +1584,10 @@ function getLocaleResourceBase(){
editview3toolbar_toolbar: { editview3toolbar_toolbar: {
}, },
editview2toolbar_toolbar: { editview2toolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
...@@ -1586,6 +1598,10 @@ function getLocaleResourceBase(){ ...@@ -1586,6 +1598,10 @@ function getLocaleResourceBase(){
}, },
}, },
usr2editviewtoolbar_toolbar: { usr2editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
......
...@@ -858,6 +858,10 @@ function getLocaleResourceBase(){ ...@@ -858,6 +858,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
...@@ -988,6 +992,10 @@ function getLocaleResourceBase(){ ...@@ -988,6 +992,10 @@ function getLocaleResourceBase(){
}, },
}, },
interfunceditviewtoolbar_toolbar: { interfunceditviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
...@@ -1576,6 +1584,10 @@ function getLocaleResourceBase(){ ...@@ -1576,6 +1584,10 @@ function getLocaleResourceBase(){
editview3toolbar_toolbar: { editview3toolbar_toolbar: {
}, },
editview2toolbar_toolbar: { editview2toolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
...@@ -1586,6 +1598,10 @@ function getLocaleResourceBase(){ ...@@ -1586,6 +1598,10 @@ function getLocaleResourceBase(){
}, },
}, },
usr2editviewtoolbar_toolbar: { usr2editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
......
...@@ -46,6 +46,10 @@ function getLocaleResourceBase(){ ...@@ -46,6 +46,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
......
...@@ -46,6 +46,10 @@ function getLocaleResourceBase(){ ...@@ -46,6 +46,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
......
...@@ -132,6 +132,10 @@ function getLocaleResourceBase(){ ...@@ -132,6 +132,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
...@@ -200,6 +204,10 @@ function getLocaleResourceBase(){ ...@@ -200,6 +204,10 @@ function getLocaleResourceBase(){
}, },
}, },
usr2editviewtoolbar_toolbar: { usr2editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
......
...@@ -132,6 +132,10 @@ function getLocaleResourceBase(){ ...@@ -132,6 +132,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
...@@ -200,6 +204,10 @@ function getLocaleResourceBase(){ ...@@ -200,6 +204,10 @@ function getLocaleResourceBase(){
}, },
}, },
usr2editviewtoolbar_toolbar: { usr2editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
......
...@@ -84,6 +84,10 @@ function getLocaleResourceBase(){ ...@@ -84,6 +84,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
......
...@@ -84,6 +84,10 @@ function getLocaleResourceBase(){ ...@@ -84,6 +84,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
......
...@@ -383,6 +383,10 @@ function getLocaleResourceBase(){ ...@@ -383,6 +383,10 @@ function getLocaleResourceBase(){
}, },
}, },
f7editviewtoolbar_toolbar: { f7editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
...@@ -489,6 +493,10 @@ function getLocaleResourceBase(){ ...@@ -489,6 +493,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
...@@ -617,6 +625,10 @@ function getLocaleResourceBase(){ ...@@ -617,6 +625,10 @@ function getLocaleResourceBase(){
}, },
}, },
f6editviewtoolbar_toolbar: { f6editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
...@@ -718,6 +730,20 @@ function getLocaleResourceBase(){ ...@@ -718,6 +730,20 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("刷新",null), tip: commonLogic.appcommonhandle("刷新",null),
}, },
}, },
sf2editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: {
caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null),
},
tbitem5: {
caption: commonLogic.appcommonhandle("Save And Close",null),
tip: commonLogic.appcommonhandle("Save And Close Window",null),
},
},
tempmodegridviewtoolbar_toolbar: { tempmodegridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("New",null), caption: commonLogic.appcommonhandle("New",null),
......
...@@ -383,6 +383,10 @@ function getLocaleResourceBase(){ ...@@ -383,6 +383,10 @@ function getLocaleResourceBase(){
}, },
}, },
f7editviewtoolbar_toolbar: { f7editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
...@@ -489,6 +493,10 @@ function getLocaleResourceBase(){ ...@@ -489,6 +493,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
...@@ -617,6 +625,10 @@ function getLocaleResourceBase(){ ...@@ -617,6 +625,10 @@ function getLocaleResourceBase(){
}, },
}, },
f6editviewtoolbar_toolbar: { f6editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
...@@ -718,6 +730,20 @@ function getLocaleResourceBase(){ ...@@ -718,6 +730,20 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("刷新",null), tip: commonLogic.appcommonhandle("刷新",null),
}, },
}, },
sf2editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: {
caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null),
},
tbitem5: {
caption: commonLogic.appcommonhandle("保存并关闭",null),
tip: commonLogic.appcommonhandle("保存并关闭",null),
},
},
tempmodegridviewtoolbar_toolbar: { tempmodegridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
......
...@@ -129,6 +129,10 @@ function getLocaleResourceBase(){ ...@@ -129,6 +129,10 @@ function getLocaleResourceBase(){
}, },
}, },
usr2editviewtoolbar_toolbar: { usr2editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
...@@ -139,6 +143,10 @@ function getLocaleResourceBase(){ ...@@ -139,6 +143,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
......
...@@ -129,6 +129,10 @@ function getLocaleResourceBase(){ ...@@ -129,6 +129,10 @@ function getLocaleResourceBase(){
}, },
}, },
usr2editviewtoolbar_toolbar: { usr2editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
...@@ -139,6 +143,10 @@ function getLocaleResourceBase(){ ...@@ -139,6 +143,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
......
...@@ -999,6 +999,10 @@ function getLocaleResourceBase(){ ...@@ -999,6 +999,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
...@@ -1225,6 +1229,10 @@ function getLocaleResourceBase(){ ...@@ -1225,6 +1229,10 @@ function getLocaleResourceBase(){
}, },
}, },
seditview3toolbar_toolbar: { seditview3toolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
...@@ -1315,6 +1323,10 @@ function getLocaleResourceBase(){ ...@@ -1315,6 +1323,10 @@ function getLocaleResourceBase(){
}, },
}, },
f13editviewtoolbar_toolbar: { f13editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
...@@ -1517,6 +1529,10 @@ function getLocaleResourceBase(){ ...@@ -1517,6 +1529,10 @@ function getLocaleResourceBase(){
}, },
}, },
f17editviewtoolbar_toolbar: { f17editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
...@@ -1543,6 +1559,10 @@ function getLocaleResourceBase(){ ...@@ -1543,6 +1559,10 @@ function getLocaleResourceBase(){
}, },
}, },
seditview2toolbar_toolbar: { seditview2toolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
...@@ -1647,6 +1667,10 @@ function getLocaleResourceBase(){ ...@@ -1647,6 +1667,10 @@ function getLocaleResourceBase(){
}, },
}, },
seditview4toolbar_toolbar: { seditview4toolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
...@@ -1757,6 +1781,10 @@ function getLocaleResourceBase(){ ...@@ -1757,6 +1781,10 @@ function getLocaleResourceBase(){
}, },
}, },
f19editviewtoolbar_toolbar: { f19editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
...@@ -1853,6 +1881,10 @@ function getLocaleResourceBase(){ ...@@ -1853,6 +1881,10 @@ function getLocaleResourceBase(){
}, },
}, },
usr4editviewtoolbar_toolbar: { usr4editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
......
...@@ -999,6 +999,10 @@ function getLocaleResourceBase(){ ...@@ -999,6 +999,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
...@@ -1225,6 +1229,10 @@ function getLocaleResourceBase(){ ...@@ -1225,6 +1229,10 @@ function getLocaleResourceBase(){
}, },
}, },
seditview3toolbar_toolbar: { seditview3toolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
...@@ -1315,6 +1323,10 @@ function getLocaleResourceBase(){ ...@@ -1315,6 +1323,10 @@ function getLocaleResourceBase(){
}, },
}, },
f13editviewtoolbar_toolbar: { f13editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
...@@ -1517,6 +1529,10 @@ function getLocaleResourceBase(){ ...@@ -1517,6 +1529,10 @@ function getLocaleResourceBase(){
}, },
}, },
f17editviewtoolbar_toolbar: { f17editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
...@@ -1543,6 +1559,10 @@ function getLocaleResourceBase(){ ...@@ -1543,6 +1559,10 @@ function getLocaleResourceBase(){
}, },
}, },
seditview2toolbar_toolbar: { seditview2toolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
...@@ -1647,6 +1667,10 @@ function getLocaleResourceBase(){ ...@@ -1647,6 +1667,10 @@ function getLocaleResourceBase(){
}, },
}, },
seditview4toolbar_toolbar: { seditview4toolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
...@@ -1757,6 +1781,10 @@ function getLocaleResourceBase(){ ...@@ -1757,6 +1781,10 @@ function getLocaleResourceBase(){
}, },
}, },
f19editviewtoolbar_toolbar: { f19editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
...@@ -1853,6 +1881,10 @@ function getLocaleResourceBase(){ ...@@ -1853,6 +1881,10 @@ function getLocaleResourceBase(){
}, },
}, },
usr4editviewtoolbar_toolbar: { usr4editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
......
...@@ -398,6 +398,10 @@ function getLocaleResourceBase(){ ...@@ -398,6 +398,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
...@@ -536,6 +540,10 @@ function getLocaleResourceBase(){ ...@@ -536,6 +540,10 @@ function getLocaleResourceBase(){
}, },
}, },
usr2editviewtoolbar_toolbar: { usr2editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
......
...@@ -398,6 +398,10 @@ function getLocaleResourceBase(){ ...@@ -398,6 +398,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
...@@ -536,6 +540,10 @@ function getLocaleResourceBase(){ ...@@ -536,6 +540,10 @@ function getLocaleResourceBase(){
}, },
}, },
usr2editviewtoolbar_toolbar: { usr2editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
......
...@@ -76,6 +76,10 @@ function getLocaleResourceBase(){ ...@@ -76,6 +76,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
......
...@@ -76,6 +76,10 @@ function getLocaleResourceBase(){ ...@@ -76,6 +76,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
......
...@@ -293,6 +293,10 @@ function getLocaleResourceBase(){ ...@@ -293,6 +293,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
......
...@@ -293,6 +293,10 @@ function getLocaleResourceBase(){ ...@@ -293,6 +293,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
......
...@@ -63,6 +63,10 @@ function getLocaleResourceBase(){ ...@@ -63,6 +63,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
......
...@@ -63,6 +63,10 @@ function getLocaleResourceBase(){ ...@@ -63,6 +63,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
......
...@@ -223,6 +223,10 @@ function getLocaleResourceBase(){ ...@@ -223,6 +223,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
...@@ -233,6 +237,10 @@ function getLocaleResourceBase(){ ...@@ -233,6 +237,10 @@ function getLocaleResourceBase(){
}, },
}, },
f20editviewtoolbar_toolbar: { f20editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
...@@ -243,6 +251,10 @@ function getLocaleResourceBase(){ ...@@ -243,6 +251,10 @@ function getLocaleResourceBase(){
}, },
}, },
f30editviewtoolbar_toolbar: { f30editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
...@@ -253,6 +265,10 @@ function getLocaleResourceBase(){ ...@@ -253,6 +265,10 @@ function getLocaleResourceBase(){
}, },
}, },
f10editviewtoolbar_toolbar: { f10editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
......
...@@ -223,6 +223,10 @@ function getLocaleResourceBase(){ ...@@ -223,6 +223,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
...@@ -233,6 +237,10 @@ function getLocaleResourceBase(){ ...@@ -233,6 +237,10 @@ function getLocaleResourceBase(){
}, },
}, },
f20editviewtoolbar_toolbar: { f20editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
...@@ -243,6 +251,10 @@ function getLocaleResourceBase(){ ...@@ -243,6 +251,10 @@ function getLocaleResourceBase(){
}, },
}, },
f30editviewtoolbar_toolbar: { f30editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
...@@ -253,6 +265,10 @@ function getLocaleResourceBase(){ ...@@ -253,6 +265,10 @@ function getLocaleResourceBase(){
}, },
}, },
f10editviewtoolbar_toolbar: { f10editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
......
...@@ -126,6 +126,10 @@ function getLocaleResourceBase(){ ...@@ -126,6 +126,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
......
...@@ -126,6 +126,10 @@ function getLocaleResourceBase(){ ...@@ -126,6 +126,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
......
...@@ -155,6 +155,10 @@ function getLocaleResourceBase(){ ...@@ -155,6 +155,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
......
...@@ -155,6 +155,10 @@ function getLocaleResourceBase(){ ...@@ -155,6 +155,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
......
...@@ -66,6 +66,10 @@ function getLocaleResourceBase(){ ...@@ -66,6 +66,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
......
...@@ -66,6 +66,10 @@ function getLocaleResourceBase(){ ...@@ -66,6 +66,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
......
...@@ -46,6 +46,10 @@ function getLocaleResourceBase(){ ...@@ -46,6 +46,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
......
...@@ -46,6 +46,10 @@ function getLocaleResourceBase(){ ...@@ -46,6 +46,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
......
...@@ -38,6 +38,10 @@ function getLocaleResourceBase(){ ...@@ -38,6 +38,10 @@ function getLocaleResourceBase(){
}, },
}, },
usr2editviewtoolbar_toolbar: { usr2editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
......
...@@ -38,6 +38,10 @@ function getLocaleResourceBase(){ ...@@ -38,6 +38,10 @@ function getLocaleResourceBase(){
}, },
}, },
usr2editviewtoolbar_toolbar: { usr2editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
......
...@@ -133,6 +133,10 @@ function getLocaleResourceBase(){ ...@@ -133,6 +133,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null), tip: commonLogic.appcommonhandle("Save",null),
......
...@@ -133,6 +133,10 @@ function getLocaleResourceBase(){ ...@@ -133,6 +133,10 @@ function getLocaleResourceBase(){
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null), tip: commonLogic.appcommonhandle("保存",null),
......
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizappctrl.editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizappctrl.editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -271,6 +278,8 @@ export default class IBIZAPPCTRLEditViewBase extends Vue { ...@@ -271,6 +278,8 @@ export default class IBIZAPPCTRLEditViewBase extends Vue {
* @memberof IBIZAPPCTRLEditView * @memberof IBIZAPPCTRLEditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -607,6 +616,9 @@ export default class IBIZAPPCTRLEditViewBase extends Vue { ...@@ -607,6 +616,9 @@ export default class IBIZAPPCTRLEditViewBase extends Vue {
* @memberof IBIZAPPCTRLEditViewBase * @memberof IBIZAPPCTRLEditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -659,6 +671,34 @@ export default class IBIZAPPCTRLEditViewBase extends Vue { ...@@ -659,6 +671,34 @@ export default class IBIZAPPCTRLEditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZAPPCTRL");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -771,6 +811,26 @@ export default class IBIZAPPCTRLEditViewBase extends Vue { ...@@ -771,6 +811,26 @@ export default class IBIZAPPCTRLEditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZAPPCTRL"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZAPPCTRL");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZAPPCTRLEditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizappeditor.editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizappeditor.editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -271,6 +278,8 @@ export default class IBIZAPPEDITOREditViewBase extends Vue { ...@@ -271,6 +278,8 @@ export default class IBIZAPPEDITOREditViewBase extends Vue {
* @memberof IBIZAPPEDITOREditView * @memberof IBIZAPPEDITOREditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -607,6 +616,9 @@ export default class IBIZAPPEDITOREditViewBase extends Vue { ...@@ -607,6 +616,9 @@ export default class IBIZAPPEDITOREditViewBase extends Vue {
* @memberof IBIZAPPEDITOREditViewBase * @memberof IBIZAPPEDITOREditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -659,6 +671,34 @@ export default class IBIZAPPEDITOREditViewBase extends Vue { ...@@ -659,6 +671,34 @@ export default class IBIZAPPEDITOREditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZAPPEDITOR");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -771,6 +811,26 @@ export default class IBIZAPPEDITOREditViewBase extends Vue { ...@@ -771,6 +811,26 @@ export default class IBIZAPPEDITOREditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZAPPEDITOR"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZAPPEDITOR");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZAPPEDITOREditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizappextendeditor.editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizappextendeditor.editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -271,6 +278,8 @@ export default class IBIZAPPEXTENDEDITOREditViewBase extends Vue { ...@@ -271,6 +278,8 @@ export default class IBIZAPPEXTENDEDITOREditViewBase extends Vue {
* @memberof IBIZAPPEXTENDEDITOREditView * @memberof IBIZAPPEXTENDEDITOREditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -607,6 +616,9 @@ export default class IBIZAPPEXTENDEDITOREditViewBase extends Vue { ...@@ -607,6 +616,9 @@ export default class IBIZAPPEXTENDEDITOREditViewBase extends Vue {
* @memberof IBIZAPPEXTENDEDITOREditViewBase * @memberof IBIZAPPEXTENDEDITOREditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -659,6 +671,34 @@ export default class IBIZAPPEXTENDEDITOREditViewBase extends Vue { ...@@ -659,6 +671,34 @@ export default class IBIZAPPEXTENDEDITOREditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZAPPEXTENDEDITOR");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -771,6 +811,26 @@ export default class IBIZAPPEXTENDEDITOREditViewBase extends Vue { ...@@ -771,6 +811,26 @@ export default class IBIZAPPEXTENDEDITOREditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZAPPEXTENDEDITOR"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZAPPEXTENDEDITOR");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZAPPEXTENDEDITOREditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizappview.editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizappview.editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -271,6 +278,8 @@ export default class IBIZAPPVIEWEditViewBase extends Vue { ...@@ -271,6 +278,8 @@ export default class IBIZAPPVIEWEditViewBase extends Vue {
* @memberof IBIZAPPVIEWEditView * @memberof IBIZAPPVIEWEditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -607,6 +616,9 @@ export default class IBIZAPPVIEWEditViewBase extends Vue { ...@@ -607,6 +616,9 @@ export default class IBIZAPPVIEWEditViewBase extends Vue {
* @memberof IBIZAPPVIEWEditViewBase * @memberof IBIZAPPVIEWEditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -659,6 +671,34 @@ export default class IBIZAPPVIEWEditViewBase extends Vue { ...@@ -659,6 +671,34 @@ export default class IBIZAPPVIEWEditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZAPPVIEW");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -771,6 +811,26 @@ export default class IBIZAPPVIEWEditViewBase extends Vue { ...@@ -771,6 +811,26 @@ export default class IBIZAPPVIEWEditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZAPPVIEW"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZAPPVIEW");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZAPPVIEWEditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizbook.editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -271,6 +278,8 @@ export default class IBIZBOOKEditViewBase extends Vue { ...@@ -271,6 +278,8 @@ export default class IBIZBOOKEditViewBase extends Vue {
* @memberof IBIZBOOKEditView * @memberof IBIZBOOKEditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -607,6 +616,9 @@ export default class IBIZBOOKEditViewBase extends Vue { ...@@ -607,6 +616,9 @@ export default class IBIZBOOKEditViewBase extends Vue {
* @memberof IBIZBOOKEditViewBase * @memberof IBIZBOOKEditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -659,6 +671,34 @@ export default class IBIZBOOKEditViewBase extends Vue { ...@@ -659,6 +671,34 @@ export default class IBIZBOOKEditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -771,6 +811,26 @@ export default class IBIZBOOKEditViewBase extends Vue { ...@@ -771,6 +811,26 @@ export default class IBIZBOOKEditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKEditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizbook.interfunceditviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.interfunceditviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -271,6 +278,8 @@ export default class IBIZBOOKInterFuncEditViewBase extends Vue { ...@@ -271,6 +278,8 @@ export default class IBIZBOOKInterFuncEditViewBase extends Vue {
* @memberof IBIZBOOKInterFuncEditView * @memberof IBIZBOOKInterFuncEditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -607,6 +616,9 @@ export default class IBIZBOOKInterFuncEditViewBase extends Vue { ...@@ -607,6 +616,9 @@ export default class IBIZBOOKInterFuncEditViewBase extends Vue {
* @memberof IBIZBOOKInterFuncEditViewBase * @memberof IBIZBOOKInterFuncEditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -659,6 +671,34 @@ export default class IBIZBOOKInterFuncEditViewBase extends Vue { ...@@ -659,6 +671,34 @@ export default class IBIZBOOKInterFuncEditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -771,6 +811,26 @@ export default class IBIZBOOKInterFuncEditViewBase extends Vue { ...@@ -771,6 +811,26 @@ export default class IBIZBOOKInterFuncEditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKInterFuncEditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -5,6 +5,13 @@ ...@@ -5,6 +5,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizbook.usr2editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.usr2editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -271,6 +278,8 @@ export default class IBIZBOOKUsr2EditViewBase extends Vue { ...@@ -271,6 +278,8 @@ export default class IBIZBOOKUsr2EditViewBase extends Vue {
* @memberof IBIZBOOKUsr2EditView * @memberof IBIZBOOKUsr2EditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -607,6 +616,9 @@ export default class IBIZBOOKUsr2EditViewBase extends Vue { ...@@ -607,6 +616,9 @@ export default class IBIZBOOKUsr2EditViewBase extends Vue {
* @memberof IBIZBOOKUsr2EditViewBase * @memberof IBIZBOOKUsr2EditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -659,6 +671,34 @@ export default class IBIZBOOKUsr2EditViewBase extends Vue { ...@@ -659,6 +671,34 @@ export default class IBIZBOOKUsr2EditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -771,6 +811,26 @@ export default class IBIZBOOKUsr2EditViewBase extends Vue { ...@@ -771,6 +811,26 @@ export default class IBIZBOOKUsr2EditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr2EditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizcpu.editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizcpu.editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -271,6 +278,8 @@ export default class IBIZCPUEditViewBase extends Vue { ...@@ -271,6 +278,8 @@ export default class IBIZCPUEditViewBase extends Vue {
* @memberof IBIZCPUEditView * @memberof IBIZCPUEditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -607,6 +616,9 @@ export default class IBIZCPUEditViewBase extends Vue { ...@@ -607,6 +616,9 @@ export default class IBIZCPUEditViewBase extends Vue {
* @memberof IBIZCPUEditViewBase * @memberof IBIZCPUEditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -659,6 +671,34 @@ export default class IBIZCPUEditViewBase extends Vue { ...@@ -659,6 +671,34 @@ export default class IBIZCPUEditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZCPU");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -771,6 +811,26 @@ export default class IBIZCPUEditViewBase extends Vue { ...@@ -771,6 +811,26 @@ export default class IBIZCPUEditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZCPU"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZCPU");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZCPUEditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizcustomer.editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizcustomer.editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -271,6 +278,8 @@ export default class IBIZCustomerEditViewBase extends Vue { ...@@ -271,6 +278,8 @@ export default class IBIZCustomerEditViewBase extends Vue {
* @memberof IBIZCustomerEditView * @memberof IBIZCustomerEditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -607,6 +616,9 @@ export default class IBIZCustomerEditViewBase extends Vue { ...@@ -607,6 +616,9 @@ export default class IBIZCustomerEditViewBase extends Vue {
* @memberof IBIZCustomerEditViewBase * @memberof IBIZCustomerEditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -659,6 +671,34 @@ export default class IBIZCustomerEditViewBase extends Vue { ...@@ -659,6 +671,34 @@ export default class IBIZCustomerEditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZCustomer");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -771,6 +811,26 @@ export default class IBIZCustomerEditViewBase extends Vue { ...@@ -771,6 +811,26 @@ export default class IBIZCustomerEditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZCustomer"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZCustomer");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZCustomerEditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizhardware.editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizhardware.editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -271,6 +278,8 @@ export default class IBIZHardwareEditViewBase extends Vue { ...@@ -271,6 +278,8 @@ export default class IBIZHardwareEditViewBase extends Vue {
* @memberof IBIZHardwareEditView * @memberof IBIZHardwareEditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -607,6 +616,9 @@ export default class IBIZHardwareEditViewBase extends Vue { ...@@ -607,6 +616,9 @@ export default class IBIZHardwareEditViewBase extends Vue {
* @memberof IBIZHardwareEditViewBase * @memberof IBIZHardwareEditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -659,6 +671,34 @@ export default class IBIZHardwareEditViewBase extends Vue { ...@@ -659,6 +671,34 @@ export default class IBIZHardwareEditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZHardware");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -771,6 +811,26 @@ export default class IBIZHardwareEditViewBase extends Vue { ...@@ -771,6 +811,26 @@ export default class IBIZHardwareEditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZHardware"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZHardware");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZHardwareEditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizorderdetail.editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorderdetail.editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -271,6 +278,8 @@ export default class IBIZOrderDetailEditViewBase extends Vue { ...@@ -271,6 +278,8 @@ export default class IBIZOrderDetailEditViewBase extends Vue {
* @memberof IBIZOrderDetailEditView * @memberof IBIZOrderDetailEditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -607,6 +616,9 @@ export default class IBIZOrderDetailEditViewBase extends Vue { ...@@ -607,6 +616,9 @@ export default class IBIZOrderDetailEditViewBase extends Vue {
* @memberof IBIZOrderDetailEditViewBase * @memberof IBIZOrderDetailEditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -659,6 +671,34 @@ export default class IBIZOrderDetailEditViewBase extends Vue { ...@@ -659,6 +671,34 @@ export default class IBIZOrderDetailEditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZOrderDetail");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -771,6 +811,26 @@ export default class IBIZOrderDetailEditViewBase extends Vue { ...@@ -771,6 +811,26 @@ export default class IBIZOrderDetailEditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZOrderDetail"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZOrderDetail");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderDetailEditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -8,5 +8,20 @@ ...@@ -8,5 +8,20 @@
.ibizorder-detail-sf2-edit-view{ .ibizorder-detail-sf2-edit-view{
position: relative; position: relative;
} }
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizorder.editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorder.editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -288,6 +295,8 @@ export default class IBIZOrderEditViewBase extends Vue { ...@@ -288,6 +295,8 @@ export default class IBIZOrderEditViewBase extends Vue {
* @memberof IBIZOrderEditView * @memberof IBIZOrderEditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -630,6 +639,9 @@ export default class IBIZOrderEditViewBase extends Vue { ...@@ -630,6 +639,9 @@ export default class IBIZOrderEditViewBase extends Vue {
* @memberof IBIZOrderEditViewBase * @memberof IBIZOrderEditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -682,6 +694,34 @@ export default class IBIZOrderEditViewBase extends Vue { ...@@ -682,6 +694,34 @@ export default class IBIZOrderEditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -794,6 +834,26 @@ export default class IBIZOrderEditViewBase extends Vue { ...@@ -794,6 +834,26 @@ export default class IBIZOrderEditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderEditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizorder.f19editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorder.f19editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -288,6 +295,8 @@ export default class IBIZOrderF19EditViewBase extends Vue { ...@@ -288,6 +295,8 @@ export default class IBIZOrderF19EditViewBase extends Vue {
* @memberof IBIZOrderF19EditView * @memberof IBIZOrderF19EditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -630,6 +639,9 @@ export default class IBIZOrderF19EditViewBase extends Vue { ...@@ -630,6 +639,9 @@ export default class IBIZOrderF19EditViewBase extends Vue {
* @memberof IBIZOrderF19EditViewBase * @memberof IBIZOrderF19EditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -682,6 +694,34 @@ export default class IBIZOrderF19EditViewBase extends Vue { ...@@ -682,6 +694,34 @@ export default class IBIZOrderF19EditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -794,6 +834,26 @@ export default class IBIZOrderF19EditViewBase extends Vue { ...@@ -794,6 +834,26 @@ export default class IBIZOrderF19EditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderF19EditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -8,6 +8,13 @@ ...@@ -8,6 +8,13 @@
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<template v-if="Object.is(this.selection.id, 'form')"> <template v-if="Object.is(this.selection.id, 'form')">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizorder.seditview2toolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorder.seditview2toolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -302,6 +309,8 @@ export default class IBIZOrderSEditView2Base extends Vue { ...@@ -302,6 +309,8 @@ export default class IBIZOrderSEditView2Base extends Vue {
* @memberof IBIZOrderSEditView2 * @memberof IBIZOrderSEditView2
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -644,6 +653,9 @@ export default class IBIZOrderSEditView2Base extends Vue { ...@@ -644,6 +653,9 @@ export default class IBIZOrderSEditView2Base extends Vue {
* @memberof IBIZOrderSEditView2Base * @memberof IBIZOrderSEditView2Base
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -720,6 +732,34 @@ export default class IBIZOrderSEditView2Base extends Vue { ...@@ -720,6 +732,34 @@ export default class IBIZOrderSEditView2Base extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -832,6 +872,26 @@ export default class IBIZOrderSEditView2Base extends Vue { ...@@ -832,6 +872,26 @@ export default class IBIZOrderSEditView2Base extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderSEditView2Base
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -8,6 +8,13 @@ ...@@ -8,6 +8,13 @@
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<template v-if="Object.is(this.selection.id, 'form')"> <template v-if="Object.is(this.selection.id, 'form')">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizorder.seditview3toolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorder.seditview3toolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -304,6 +311,8 @@ export default class IBIZOrderSEditView3Base extends Vue { ...@@ -304,6 +311,8 @@ export default class IBIZOrderSEditView3Base extends Vue {
* @memberof IBIZOrderSEditView3 * @memberof IBIZOrderSEditView3
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -658,6 +667,9 @@ export default class IBIZOrderSEditView3Base extends Vue { ...@@ -658,6 +667,9 @@ export default class IBIZOrderSEditView3Base extends Vue {
* @memberof IBIZOrderSEditView3Base * @memberof IBIZOrderSEditView3Base
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -710,6 +722,34 @@ export default class IBIZOrderSEditView3Base extends Vue { ...@@ -710,6 +722,34 @@ export default class IBIZOrderSEditView3Base extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -822,6 +862,26 @@ export default class IBIZOrderSEditView3Base extends Vue { ...@@ -822,6 +862,26 @@ export default class IBIZOrderSEditView3Base extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderSEditView3Base
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -7,6 +7,13 @@ ...@@ -7,6 +7,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizorder.seditview4toolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorder.seditview4toolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -301,6 +308,8 @@ export default class IBIZOrderSEditView4Base extends Vue { ...@@ -301,6 +308,8 @@ export default class IBIZOrderSEditView4Base extends Vue {
* @memberof IBIZOrderSEditView4 * @memberof IBIZOrderSEditView4
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -655,6 +664,9 @@ export default class IBIZOrderSEditView4Base extends Vue { ...@@ -655,6 +664,9 @@ export default class IBIZOrderSEditView4Base extends Vue {
* @memberof IBIZOrderSEditView4Base * @memberof IBIZOrderSEditView4Base
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -707,6 +719,34 @@ export default class IBIZOrderSEditView4Base extends Vue { ...@@ -707,6 +719,34 @@ export default class IBIZOrderSEditView4Base extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -819,6 +859,26 @@ export default class IBIZOrderSEditView4Base extends Vue { ...@@ -819,6 +859,26 @@ export default class IBIZOrderSEditView4Base extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderSEditView4Base
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizsample0002.editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizsample0002.editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -271,6 +278,8 @@ export default class IBIZSample0002EditViewBase extends Vue { ...@@ -271,6 +278,8 @@ export default class IBIZSample0002EditViewBase extends Vue {
* @memberof IBIZSample0002EditView * @memberof IBIZSample0002EditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -607,6 +616,9 @@ export default class IBIZSample0002EditViewBase extends Vue { ...@@ -607,6 +616,9 @@ export default class IBIZSample0002EditViewBase extends Vue {
* @memberof IBIZSample0002EditViewBase * @memberof IBIZSample0002EditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -659,6 +671,34 @@ export default class IBIZSample0002EditViewBase extends Vue { ...@@ -659,6 +671,34 @@ export default class IBIZSample0002EditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0002");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -771,6 +811,26 @@ export default class IBIZSample0002EditViewBase extends Vue { ...@@ -771,6 +811,26 @@ export default class IBIZSample0002EditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0002"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0002");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZSample0002EditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizsample0003.editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizsample0003.editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -271,6 +278,8 @@ export default class IBIZSample0003EditViewBase extends Vue { ...@@ -271,6 +278,8 @@ export default class IBIZSample0003EditViewBase extends Vue {
* @memberof IBIZSample0003EditView * @memberof IBIZSample0003EditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -607,6 +616,9 @@ export default class IBIZSample0003EditViewBase extends Vue { ...@@ -607,6 +616,9 @@ export default class IBIZSample0003EditViewBase extends Vue {
* @memberof IBIZSample0003EditViewBase * @memberof IBIZSample0003EditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -659,6 +671,34 @@ export default class IBIZSample0003EditViewBase extends Vue { ...@@ -659,6 +671,34 @@ export default class IBIZSample0003EditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0003");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -771,6 +811,26 @@ export default class IBIZSample0003EditViewBase extends Vue { ...@@ -771,6 +811,26 @@ export default class IBIZSample0003EditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0003"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0003");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZSample0003EditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizsample0014.editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizsample0014.editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -271,6 +278,8 @@ export default class IBIZSample0014EditViewBase extends Vue { ...@@ -271,6 +278,8 @@ export default class IBIZSample0014EditViewBase extends Vue {
* @memberof IBIZSample0014EditView * @memberof IBIZSample0014EditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -607,6 +616,9 @@ export default class IBIZSample0014EditViewBase extends Vue { ...@@ -607,6 +616,9 @@ export default class IBIZSample0014EditViewBase extends Vue {
* @memberof IBIZSample0014EditViewBase * @memberof IBIZSample0014EditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -659,6 +671,34 @@ export default class IBIZSample0014EditViewBase extends Vue { ...@@ -659,6 +671,34 @@ export default class IBIZSample0014EditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0014");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -771,6 +811,26 @@ export default class IBIZSample0014EditViewBase extends Vue { ...@@ -771,6 +811,26 @@ export default class IBIZSample0014EditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0014"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0014");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZSample0014EditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizsample0018.editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizsample0018.editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -271,6 +278,8 @@ export default class IBIZSample0018EditViewBase extends Vue { ...@@ -271,6 +278,8 @@ export default class IBIZSample0018EditViewBase extends Vue {
* @memberof IBIZSample0018EditView * @memberof IBIZSample0018EditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -607,6 +616,9 @@ export default class IBIZSample0018EditViewBase extends Vue { ...@@ -607,6 +616,9 @@ export default class IBIZSample0018EditViewBase extends Vue {
* @memberof IBIZSample0018EditViewBase * @memberof IBIZSample0018EditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -659,6 +671,34 @@ export default class IBIZSample0018EditViewBase extends Vue { ...@@ -659,6 +671,34 @@ export default class IBIZSample0018EditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0018");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -771,6 +811,26 @@ export default class IBIZSample0018EditViewBase extends Vue { ...@@ -771,6 +811,26 @@ export default class IBIZSample0018EditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0018"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0018");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZSample0018EditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizsample0021.editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizsample0021.editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -280,6 +287,8 @@ export default class IBIZSample0021EditViewBase extends Vue { ...@@ -280,6 +287,8 @@ export default class IBIZSample0021EditViewBase extends Vue {
* @memberof IBIZSample0021EditView * @memberof IBIZSample0021EditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -619,6 +628,9 @@ export default class IBIZSample0021EditViewBase extends Vue { ...@@ -619,6 +628,9 @@ export default class IBIZSample0021EditViewBase extends Vue {
* @memberof IBIZSample0021EditViewBase * @memberof IBIZSample0021EditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -671,6 +683,34 @@ export default class IBIZSample0021EditViewBase extends Vue { ...@@ -671,6 +683,34 @@ export default class IBIZSample0021EditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0021");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -783,6 +823,26 @@ export default class IBIZSample0021EditViewBase extends Vue { ...@@ -783,6 +823,26 @@ export default class IBIZSample0021EditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0021"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0021");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZSample0021EditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizsoftwaresuit.editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizsoftwaresuit.editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -271,6 +278,8 @@ export default class IBIZSoftwareSuitEditViewBase extends Vue { ...@@ -271,6 +278,8 @@ export default class IBIZSoftwareSuitEditViewBase extends Vue {
* @memberof IBIZSoftwareSuitEditView * @memberof IBIZSoftwareSuitEditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -607,6 +616,9 @@ export default class IBIZSoftwareSuitEditViewBase extends Vue { ...@@ -607,6 +616,9 @@ export default class IBIZSoftwareSuitEditViewBase extends Vue {
* @memberof IBIZSoftwareSuitEditViewBase * @memberof IBIZSoftwareSuitEditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -659,6 +671,34 @@ export default class IBIZSoftwareSuitEditViewBase extends Vue { ...@@ -659,6 +671,34 @@ export default class IBIZSoftwareSuitEditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZSoftwareSuit");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -771,6 +811,26 @@ export default class IBIZSoftwareSuitEditViewBase extends Vue { ...@@ -771,6 +811,26 @@ export default class IBIZSoftwareSuitEditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZSoftwareSuit"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZSoftwareSuit");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZSoftwareSuitEditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizstorage.editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizstorage.editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -271,6 +278,8 @@ export default class IBIZStorageEditViewBase extends Vue { ...@@ -271,6 +278,8 @@ export default class IBIZStorageEditViewBase extends Vue {
* @memberof IBIZStorageEditView * @memberof IBIZStorageEditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -607,6 +616,9 @@ export default class IBIZStorageEditViewBase extends Vue { ...@@ -607,6 +616,9 @@ export default class IBIZStorageEditViewBase extends Vue {
* @memberof IBIZStorageEditViewBase * @memberof IBIZStorageEditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -659,6 +671,34 @@ export default class IBIZStorageEditViewBase extends Vue { ...@@ -659,6 +671,34 @@ export default class IBIZStorageEditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZStorage");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -771,6 +811,26 @@ export default class IBIZStorageEditViewBase extends Vue { ...@@ -771,6 +811,26 @@ export default class IBIZStorageEditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZStorage"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZStorage");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZStorageEditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibiztask.usr2editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibiztask.usr2editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -271,6 +278,8 @@ export default class IBIZTASKUsr2EditViewBase extends Vue { ...@@ -271,6 +278,8 @@ export default class IBIZTASKUsr2EditViewBase extends Vue {
* @memberof IBIZTASKUsr2EditView * @memberof IBIZTASKUsr2EditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -607,6 +616,9 @@ export default class IBIZTASKUsr2EditViewBase extends Vue { ...@@ -607,6 +616,9 @@ export default class IBIZTASKUsr2EditViewBase extends Vue {
* @memberof IBIZTASKUsr2EditViewBase * @memberof IBIZTASKUsr2EditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -659,6 +671,34 @@ export default class IBIZTASKUsr2EditViewBase extends Vue { ...@@ -659,6 +671,34 @@ export default class IBIZTASKUsr2EditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZTASK");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -771,6 +811,26 @@ export default class IBIZTASKUsr2EditViewBase extends Vue { ...@@ -771,6 +811,26 @@ export default class IBIZTASKUsr2EditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZTASK"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZTASK");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZTASKUsr2EditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizuniproduct.editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizuniproduct.editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar' v-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
...@@ -271,6 +278,8 @@ export default class IBIZUNIProductEditViewBase extends Vue { ...@@ -271,6 +278,8 @@ export default class IBIZUNIProductEditViewBase extends Vue {
* @memberof IBIZUNIProductEditView * @memberof IBIZUNIProductEditView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } }, tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
...@@ -607,6 +616,9 @@ export default class IBIZUNIProductEditViewBase extends Vue { ...@@ -607,6 +616,9 @@ export default class IBIZUNIProductEditViewBase extends Vue {
* @memberof IBIZUNIProductEditViewBase * @memberof IBIZUNIProductEditViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
} }
...@@ -659,6 +671,34 @@ export default class IBIZUNIProductEditViewBase extends Vue { ...@@ -659,6 +671,34 @@ export default class IBIZUNIProductEditViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_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];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZUNIProduct");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -771,6 +811,26 @@ export default class IBIZUNIProductEditViewBase extends Vue { ...@@ -771,6 +811,26 @@ export default class IBIZUNIProductEditViewBase extends Vue {
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZUNIProduct"); this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZUNIProduct");
} }
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZUNIProductEditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/** /**
* 保存 * 保存
* *
......
...@@ -37,11 +37,6 @@ ...@@ -37,11 +37,6 @@
git clone -b master $para2 demosys/ git clone -b master $para2 demosys/
export NODE_OPTIONS=--max-old-space-size=4096 export NODE_OPTIONS=--max-old-space-size=4096
cd demosys/ cd demosys/
mvn clean package -Pweb
cd demo-app/demo-app-web
mvn -Pweb docker:build
mvn -Pweb docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/demo-app-web.yaml iBizDemo --with-registry-auth
</command> </command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
......
...@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \ ...@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \ sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /demo-app-web.jar java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /demo-app-web.jar
EXPOSE 51001 EXPOSE 8080
ADD demo-app-web.jar /demo-app-web.jar ADD demo-app-web.jar /demo-app-web.jar
...@@ -3,24 +3,9 @@ services: ...@@ -3,24 +3,9 @@ services:
demo-app-web: demo-app-web:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/demo-app-web:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/demo-app-web:latest
ports: ports:
- "51001:51001" - "8080:8080"
networks: networks:
- agent_network - agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
- SERVER_PORT=51001
- SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
- SPRING_REDIS_HOST=172.16.240.110
- SPRING_REDIS_PORT=6379
- SPRING_REDIS_DATABASE=0
- SPRING_DATASOURCE_USERNAME=a_LAB01_df847bdfd
- SPRING_DATASOURCE_PASSWORD=3d6@460A
- SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_df847bdfd?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_df847bdfd
- NACOS=172.16.240.110:8848
- SEATA_REGISTRY_NACOS_SERVER-ADDR=172.16.240.110:8848
- SEATA_ENABLED=true
deploy: deploy:
resources: resources:
limits: limits:
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册