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

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

上级 58893749
...@@ -326,7 +326,7 @@ function getAppLocale(){ ...@@ -326,7 +326,7 @@ function getAppLocale(){
menuitem147: commonLogic.appcommonhandle("打开HTML页面",null), menuitem147: commonLogic.appcommonhandle("打开HTML页面",null),
menuitem160: commonLogic.appcommonhandle("执行JavaScript",null), menuitem160: commonLogic.appcommonhandle("执行JavaScript",null),
menuitem155: commonLogic.appcommonhandle("界面行为",null), menuitem155: commonLogic.appcommonhandle("界面行为",null),
menuitem181: commonLogic.appcommonhandle("前界面行为",null), menuitem181: commonLogic.appcommonhandle("前界面行为",null),
menuitem182: commonLogic.appcommonhandle("后台界面行为",null), menuitem182: commonLogic.appcommonhandle("后台界面行为",null),
menuitem2: commonLogic.appcommonhandle("更多",null), menuitem2: commonLogic.appcommonhandle("更多",null),
menuitem46: commonLogic.appcommonhandle("数据导出导入",null), menuitem46: commonLogic.appcommonhandle("数据导出导入",null),
......
...@@ -326,7 +326,7 @@ function getAppLocale(){ ...@@ -326,7 +326,7 @@ function getAppLocale(){
menuitem147: commonLogic.appcommonhandle("打开HTML页面",null), menuitem147: commonLogic.appcommonhandle("打开HTML页面",null),
menuitem160: commonLogic.appcommonhandle("执行JavaScript",null), menuitem160: commonLogic.appcommonhandle("执行JavaScript",null),
menuitem155: commonLogic.appcommonhandle("界面行为",null), menuitem155: commonLogic.appcommonhandle("界面行为",null),
menuitem181: commonLogic.appcommonhandle("前界面行为",null), menuitem181: commonLogic.appcommonhandle("前界面行为",null),
menuitem182: commonLogic.appcommonhandle("后台界面行为",null), menuitem182: commonLogic.appcommonhandle("后台界面行为",null),
menuitem2: commonLogic.appcommonhandle("更多",null), menuitem2: commonLogic.appcommonhandle("更多",null),
menuitem46: commonLogic.appcommonhandle("数据导出导入",null), menuitem46: commonLogic.appcommonhandle("数据导出导入",null),
......
...@@ -1317,6 +1317,24 @@ function getLocaleResourceBase(){ ...@@ -1317,6 +1317,24 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("数据导入",null), tip: commonLogic.appcommonhandle("数据导入",null),
}, },
}, },
usr4listviewtoolbar_toolbar: {
},
usr4listviewlist_quicktoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
},
usr4listviewlist_batchtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("Edit",null),
tip: commonLogic.appcommonhandle("Edit {0}",null),
},
deuiaction2: {
caption: commonLogic.appcommonhandle("Remove",null),
tip: commonLogic.appcommonhandle("Remove {0}",null),
},
},
usr8gridviewtoolbar_toolbar: { usr8gridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("New",null), caption: commonLogic.appcommonhandle("New",null),
...@@ -1793,24 +1811,6 @@ function getLocaleResourceBase(){ ...@@ -1793,24 +1811,6 @@ function getLocaleResourceBase(){
}, },
haspanellistviewtoolbar_toolbar: { haspanellistviewtoolbar_toolbar: {
}, },
usr4listviewtoolbar_toolbar: {
},
usr4listviewlist_quicktoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
},
usr4listviewlist_batchtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("Edit",null),
tip: commonLogic.appcommonhandle("Edit {0}",null),
},
deuiaction2: {
caption: commonLogic.appcommonhandle("Remove",null),
tip: commonLogic.appcommonhandle("Remove {0}",null),
},
},
portlet_booklist_list_quicktoolbar_toolbar: { portlet_booklist_list_quicktoolbar_toolbar: {
deuiaction1: { deuiaction1: {
caption: commonLogic.appcommonhandle("New",null), caption: commonLogic.appcommonhandle("New",null),
...@@ -1839,27 +1839,27 @@ function getLocaleResourceBase(){ ...@@ -1839,27 +1839,27 @@ function getLocaleResourceBase(){
ibizbook_opendocument: commonLogic.appcommonhandle("打开文档",null), ibizbook_opendocument: commonLogic.appcommonhandle("打开文档",null),
}, },
}, },
tree_treeview: { treeview_treeview: {
nodata:commonLogic.appcommonhandle("",null), nodata:commonLogic.appcommonhandle("",null),
nodes: { nodes: {
root: commonLogic.appcommonhandle("默认根节点",null),
book: commonLogic.appcommonhandle("图书",null),
}, },
uiactions: { uiactions: {
}, },
}, },
booktypeselect_treeview: { tree_treeview: {
nodata:commonLogic.appcommonhandle("",null), nodata:commonLogic.appcommonhandle("",null),
nodes: { nodes: {
ibizbooktype: commonLogic.appcommonhandle("图书类型",null),
root: commonLogic.appcommonhandle("默认根节点",null),
}, },
uiactions: { uiactions: {
}, },
}, },
treeview_treeview: { booktypeselect_treeview: {
nodata:commonLogic.appcommonhandle("",null), nodata:commonLogic.appcommonhandle("",null),
nodes: { nodes: {
ibizbooktype: commonLogic.appcommonhandle("图书类型",null),
root: commonLogic.appcommonhandle("默认根节点",null), root: commonLogic.appcommonhandle("默认根节点",null),
book: commonLogic.appcommonhandle("图书",null),
}, },
uiactions: { uiactions: {
}, },
......
...@@ -1317,6 +1317,24 @@ function getLocaleResourceBase(){ ...@@ -1317,6 +1317,24 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("数据导入",null), tip: commonLogic.appcommonhandle("数据导入",null),
}, },
}, },
usr4listviewtoolbar_toolbar: {
},
usr4listviewlist_quicktoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
},
usr4listviewlist_batchtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("编辑",null),
tip: commonLogic.appcommonhandle("编辑",null),
},
deuiaction2: {
caption: commonLogic.appcommonhandle("删除",null),
tip: commonLogic.appcommonhandle("删除",null),
},
},
usr8gridviewtoolbar_toolbar: { usr8gridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
...@@ -1793,24 +1811,6 @@ function getLocaleResourceBase(){ ...@@ -1793,24 +1811,6 @@ function getLocaleResourceBase(){
}, },
haspanellistviewtoolbar_toolbar: { haspanellistviewtoolbar_toolbar: {
}, },
usr4listviewtoolbar_toolbar: {
},
usr4listviewlist_quicktoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
},
usr4listviewlist_batchtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("编辑",null),
tip: commonLogic.appcommonhandle("编辑",null),
},
deuiaction2: {
caption: commonLogic.appcommonhandle("删除",null),
tip: commonLogic.appcommonhandle("删除",null),
},
},
portlet_booklist_list_quicktoolbar_toolbar: { portlet_booklist_list_quicktoolbar_toolbar: {
deuiaction1: { deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
...@@ -1839,27 +1839,27 @@ function getLocaleResourceBase(){ ...@@ -1839,27 +1839,27 @@ function getLocaleResourceBase(){
ibizbook_opendocument: commonLogic.appcommonhandle("打开文档",null), ibizbook_opendocument: commonLogic.appcommonhandle("打开文档",null),
}, },
}, },
tree_treeview: { treeview_treeview: {
nodata:commonLogic.appcommonhandle("",null), nodata:commonLogic.appcommonhandle("",null),
nodes: { nodes: {
root: commonLogic.appcommonhandle("默认根节点",null),
book: commonLogic.appcommonhandle("图书",null),
}, },
uiactions: { uiactions: {
}, },
}, },
booktypeselect_treeview: { tree_treeview: {
nodata:commonLogic.appcommonhandle("",null), nodata:commonLogic.appcommonhandle("",null),
nodes: { nodes: {
ibizbooktype: commonLogic.appcommonhandle("图书类型",null),
root: commonLogic.appcommonhandle("默认根节点",null),
}, },
uiactions: { uiactions: {
}, },
}, },
treeview_treeview: { booktypeselect_treeview: {
nodata:commonLogic.appcommonhandle("",null), nodata:commonLogic.appcommonhandle("",null),
nodes: { nodes: {
ibizbooktype: commonLogic.appcommonhandle("图书类型",null),
root: commonLogic.appcommonhandle("默认根节点",null), root: commonLogic.appcommonhandle("默认根节点",null),
book: commonLogic.appcommonhandle("图书",null),
}, },
uiactions: { uiactions: {
}, },
......
...@@ -2169,7 +2169,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => { ...@@ -2169,7 +2169,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
iconcls: '', iconcls: '',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '', appfunctag: 'AppFunc90',
resourcetag: '', resourcetag: '',
}, },
{ {
...@@ -2241,7 +2241,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => { ...@@ -2241,7 +2241,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
iconcls: '', iconcls: '',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '', appfunctag: 'AppFunc91',
resourcetag: '', resourcetag: '',
}, },
{ {
...@@ -2693,10 +2693,10 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => { ...@@ -2693,10 +2693,10 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
{ {
id: '5BD8B4AB-A156-45B0-9C2F-9C7E80F5AB07', id: '5BD8B4AB-A156-45B0-9C2F-9C7E80F5AB07',
name: 'menuitem181', name: 'menuitem181',
text: '前界面行为', text: '前界面行为',
type: 'MENUITEM', type: 'MENUITEM',
counterid: '', counterid: '',
tooltip: '前界面行为', tooltip: '前界面行为',
expanded: false, expanded: false,
separator: false, separator: false,
hidden: false, hidden: false,
......
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.search-contant {
height: 40px;
.ivu-input-wrapper {
max-width: 400px;
padding-top: 6px;
}
}
.tree-contant {
height: 100%;
margin: 0px 0px 16px 0;
overflow: auto;
}
.ibizbookusr2-tree-view{
position: relative;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZBOOKUsr2TreeViewBase from './ibizbookusr2-tree-view-base.vue';
import view_tree from '@widgets/ibizbook/tree-view-treeview/tree-view-treeview.vue';
@Component({
components: {
view_tree,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
if(!Object.is(vm.navModel,"route")){
vm.initNavDataWithTab(vm.viewCacheData);
}
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class IBIZBOOKUsr2TreeView extends IBIZBOOKUsr2TreeViewBase {
}
</script>
\ No newline at end of file
.ibizbookusr4-list-view{
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
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZBOOKUsr4ListViewBase from './ibizbookusr4-list-view-base.vue';
import view_list from '@widgets/ibizbook/lnternal-func-list-list/lnternal-func-list-list.vue';
import view_searchform from '@widgets/ibizbook/default-searchform/default-searchform.vue';
@Component({
components: {
view_list,
view_searchform,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
if(!Object.is(vm.navModel,"route")){
vm.initNavDataWithTab(vm.viewCacheData);
}
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class IBIZBOOKUsr4ListView extends IBIZBOOKUsr4ListViewBase {
}
</script>
\ No newline at end of file
...@@ -52,6 +52,7 @@ export const PageComponents = { ...@@ -52,6 +52,7 @@ export const PageComponents = {
Vue.component('ibizbookmedit-view9', () => import('@pages/sample/ibizbookmedit-view9/ibizbookmedit-view9.vue')); Vue.component('ibizbookmedit-view9', () => import('@pages/sample/ibizbookmedit-view9/ibizbookmedit-view9.vue'));
Vue.component('ibizorder-sf5-grid-view', () => import('@pages/sample/ibizorder-sf5-grid-view/ibizorder-sf5-grid-view.vue')); Vue.component('ibizorder-sf5-grid-view', () => import('@pages/sample/ibizorder-sf5-grid-view/ibizorder-sf5-grid-view.vue'));
Vue.component('ibizcustomer-edit-view', () => import('@pages/sample/ibizcustomer-edit-view/ibizcustomer-edit-view.vue')); Vue.component('ibizcustomer-edit-view', () => import('@pages/sample/ibizcustomer-edit-view/ibizcustomer-edit-view.vue'));
Vue.component('ibizbookusr4-list-view', () => import('@pages/sample/ibizbookusr4-list-view/ibizbookusr4-list-view.vue'));
Vue.component('ibizbookgroup-by-codelist-kan-ban-view', () => import('@pages/sample/ibizbookgroup-by-codelist-kan-ban-view/ibizbookgroup-by-codelist-kan-ban-view.vue')); Vue.component('ibizbookgroup-by-codelist-kan-ban-view', () => import('@pages/sample/ibizbookgroup-by-codelist-kan-ban-view/ibizbookgroup-by-codelist-kan-ban-view.vue'));
Vue.component('ibizbookusr3-data-view', () => import('@pages/sample/ibizbookusr3-data-view/ibizbookusr3-data-view.vue')); Vue.component('ibizbookusr3-data-view', () => import('@pages/sample/ibizbookusr3-data-view/ibizbookusr3-data-view.vue'));
Vue.component('ibizorder-detail-grid-view9', () => import('@pages/sample/ibizorder-detail-grid-view9/ibizorder-detail-grid-view9.vue')); Vue.component('ibizorder-detail-grid-view9', () => import('@pages/sample/ibizorder-detail-grid-view9/ibizorder-detail-grid-view9.vue'));
...@@ -109,6 +110,7 @@ export const PageComponents = { ...@@ -109,6 +110,7 @@ export const PageComponents = {
Vue.component('ibizorder-f9-edit-view', () => import('@pages/sample/ibizorder-f9-edit-view/ibizorder-f9-edit-view.vue')); Vue.component('ibizorder-f9-edit-view', () => import('@pages/sample/ibizorder-f9-edit-view/ibizorder-f9-edit-view.vue'));
Vue.component('ibizbookrules-edit-view', () => import('@pages/sample/ibizbookrules-edit-view/ibizbookrules-edit-view.vue')); Vue.component('ibizbookrules-edit-view', () => import('@pages/sample/ibizbookrules-edit-view/ibizbookrules-edit-view.vue'));
Vue.component('ibizsample0001-usr3-grid-view', () => import('@pages/sample/ibizsample0001-usr3-grid-view/ibizsample0001-usr3-grid-view.vue')); Vue.component('ibizsample0001-usr3-grid-view', () => import('@pages/sample/ibizsample0001-usr3-grid-view/ibizsample0001-usr3-grid-view.vue'));
Vue.component('ibizbookusr2-tree-view', () => import('@pages/sample/ibizbookusr2-tree-view/ibizbookusr2-tree-view.vue'));
Vue.component('ibizorder-wfstart-view', () => import('@pages/sample/ibizorder-wfstart-view/ibizorder-wfstart-view.vue')); Vue.component('ibizorder-wfstart-view', () => import('@pages/sample/ibizorder-wfstart-view/ibizorder-wfstart-view.vue'));
Vue.component('ibizsample0003-f4-tree-exp-view', () => import('@pages/sample/ibizsample0003-f4-tree-exp-view/ibizsample0003-f4-tree-exp-view.vue')); Vue.component('ibizsample0003-f4-tree-exp-view', () => import('@pages/sample/ibizsample0003-f4-tree-exp-view/ibizsample0003-f4-tree-exp-view.vue'));
Vue.component('ibizorder-f10-edit-view', () => import('@pages/sample/ibizorder-f10-edit-view/ibizorder-f10-edit-view.vue')); Vue.component('ibizorder-f10-edit-view', () => import('@pages/sample/ibizorder-f10-edit-view/ibizorder-f10-edit-view.vue'));
......
...@@ -882,6 +882,20 @@ const router = new Router({ ...@@ -882,6 +882,20 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizcustomer-edit-view/ibizcustomer-edit-view.vue'), component: () => import('@pages/sample/ibizcustomer-edit-view/ibizcustomer-edit-view.vue'),
}, },
{
path: 'ibizbooks/:ibizbook?/usr4listview/:usr4listview?',
meta: {
caption: 'entities.ibizbook.views.usr4listview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr4listview', parameterName: 'usr4listview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr4-list-view/ibizbookusr4-list-view.vue'),
},
{ {
path: 'ibizbooks/:ibizbook?/groupbycodelistkanbanview/:groupbycodelistkanbanview?', path: 'ibizbooks/:ibizbook?/groupbycodelistkanbanview/:groupbycodelistkanbanview?',
meta: { meta: {
...@@ -1755,6 +1769,20 @@ const router = new Router({ ...@@ -1755,6 +1769,20 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizsample0001-usr3-grid-view/ibizsample0001-usr3-grid-view.vue'), component: () => import('@pages/sample/ibizsample0001-usr3-grid-view/ibizsample0001-usr3-grid-view.vue'),
}, },
{
path: 'ibizbooks/:ibizbook?/usr2treeview/:usr2treeview?',
meta: {
caption: 'entities.ibizbook.views.usr2treeview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr2treeview', parameterName: 'usr2treeview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr2-tree-view/ibizbookusr2-tree-view.vue'),
},
{ {
path: 'ibizorders/:ibizorder?/wfstartview/:wfstartview?', path: 'ibizorders/:ibizorder?/wfstartview/:wfstartview?',
meta: { meta: {
...@@ -5006,6 +5034,19 @@ const router = new Router({ ...@@ -5006,6 +5034,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizappctrledit-view/ibizappctrledit-view.vue'), component: () => import('@pages/sample/ibizappctrledit-view/ibizappctrledit-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/usr2treeview/:usr2treeview?',
meta: {
caption: 'entities.ibizbook.views.usr2treeview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr2treeview', parameterName: 'usr2treeview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr2-tree-view/ibizbookusr2-tree-view.vue'),
},
{ {
path: '/ibizorders/:ibizorder?/zdytpgridview/:zdytpgridview?', path: '/ibizorders/:ibizorder?/zdytpgridview/:zdytpgridview?',
meta: { meta: {
...@@ -5136,6 +5177,19 @@ const router = new Router({ ...@@ -5136,6 +5177,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizsample0003-f1-tree-exp-view/ibizsample0003-f1-tree-exp-view.vue'), component: () => import('@pages/sample/ibizsample0003-f1-tree-exp-view/ibizsample0003-f1-tree-exp-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/usr4listview/:usr4listview?',
meta: {
caption: 'entities.ibizbook.views.usr4listview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr4listview', parameterName: 'usr4listview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr4-list-view/ibizbookusr4-list-view.vue'),
},
{ {
path: '/ibizuniproducts/:ibizuniproduct?/pickupview/:pickupview?', path: '/ibizuniproducts/:ibizuniproduct?/pickupview/:pickupview?',
meta: { meta: {
......
...@@ -233,6 +233,7 @@ export const viewstate: any = { ...@@ -233,6 +233,7 @@ export const viewstate: any = {
'0b8c0a8b7a5b8b73595b23fc502652fc', '0b8c0a8b7a5b8b73595b23fc502652fc',
'59500fe075fdae44c35c88b95e64d9c8', '59500fe075fdae44c35c88b95e64d9c8',
'b7c0a73eb248d41eb750bbf095fa5505', 'b7c0a73eb248d41eb750bbf095fa5505',
'ec074fd503f6c149b57e2d5b19815f1a',
'3041238537beef69c0f3410a1ba04c84', '3041238537beef69c0f3410a1ba04c84',
'e14e0fa8f3def77ebbcf18f1f39c0225', 'e14e0fa8f3def77ebbcf18f1f39c0225',
'd3255261c8522c660c1000cd0a61c3b0', 'd3255261c8522c660c1000cd0a61c3b0',
...@@ -248,8 +249,8 @@ export const viewstate: any = { ...@@ -248,8 +249,8 @@ export const viewstate: any = {
'd3321077dfab8bc6b92c649e5b69daf3', 'd3321077dfab8bc6b92c649e5b69daf3',
'836bdb4063978b55fedd6a180d60c323', '836bdb4063978b55fedd6a180d60c323',
'e54ae8e27a53b3425ac78a229a163bd5', 'e54ae8e27a53b3425ac78a229a163bd5',
'794fbfb192285c60dc9ce640270d79c0',
'369a14f21cbff0d0fe23831aecfca7ba', '369a14f21cbff0d0fe23831aecfca7ba',
'794fbfb192285c60dc9ce640270d79c0',
'cceb88c50ae9567f3f0ee1d7164f1d6e', 'cceb88c50ae9567f3f0ee1d7164f1d6e',
'a894de140705ecab2f39797d2922a3ce', 'a894de140705ecab2f39797d2922a3ce',
'ea604a66caf499c70c9002a917dd1694', 'ea604a66caf499c70c9002a917dd1694',
...@@ -271,6 +272,7 @@ export const viewstate: any = { ...@@ -271,6 +272,7 @@ export const viewstate: any = {
'16b68282950fb352dfe27e94bda47304', '16b68282950fb352dfe27e94bda47304',
'2bf74d5d66fa6d8d38b21b090586529b', '2bf74d5d66fa6d8d38b21b090586529b',
'8d1205a914564cbd528cadc3963c2905', '8d1205a914564cbd528cadc3963c2905',
'e240a385ba3c1e752f1a3aed838e9b58',
'59c5d311d09a7f68f8b6962ca652374a', '59c5d311d09a7f68f8b6962ca652374a',
'ad37d44e57c18e4431a609968203c646', 'ad37d44e57c18e4431a609968203c646',
'7f65e6161c444d29e1f53f1cb76e92de', '7f65e6161c444d29e1f53f1cb76e92de',
...@@ -1683,6 +1685,15 @@ export const viewstate: any = { ...@@ -1683,6 +1685,15 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: 'e240a385ba3c1e752f1a3aed838e9b58',
viewmodule: 'Sample',
viewname: 'IBIZBOOKUsr2TreeView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: 'e2a1c9cb077cd2c74f2f2b914fb1db84', viewtag: 'e2a1c9cb077cd2c74f2f2b914fb1db84',
viewmodule: 'Sample', viewmodule: 'Sample',
...@@ -1783,6 +1794,16 @@ export const viewstate: any = { ...@@ -1783,6 +1794,16 @@ export const viewstate: any = {
'b29d930f430c127162f83753d85dd40c', 'b29d930f430c127162f83753d85dd40c',
], ],
}, },
{
viewtag: 'ec074fd503f6c149b57e2d5b19815f1a',
viewmodule: 'Sample',
viewname: 'IBIZBOOKUsr4ListView',
viewaction: '',
viewdatachange: false,
refviews: [
'b3429ecc4d89a02bc5f5279f1bd7f620',
],
},
{ {
viewtag: 'ec6cfd868c34a036250a813b24068519', viewtag: 'ec6cfd868c34a036250a813b24068519',
viewmodule: 'Sample', viewmodule: 'Sample',
......
...@@ -674,6 +674,9 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -674,6 +674,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'Auto402': case 'Auto402':
this.clickAuto402(item); this.clickAuto402(item);
return; return;
case 'AppFunc90':
this.clickAppFunc90(item);
return;
case 'AppFunc62': case 'AppFunc62':
this.clickAppFunc62(item); this.clickAppFunc62(item);
return; return;
...@@ -707,6 +710,9 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -707,6 +710,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'AppFunc84': case 'AppFunc84':
this.clickAppFunc84(item); this.clickAppFunc84(item);
return; return;
case 'AppFunc91':
this.clickAppFunc91(item);
return;
case 'AppFunc58': case 'AppFunc58':
this.clickAppFunc58(item); this.clickAppFunc58(item);
return; return;
...@@ -1562,6 +1568,29 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -1562,6 +1568,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}) })
} }
/**
* 列表视图
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc90(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr4listview', parameterName: 'usr4listview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/** /**
* 客户实体示例数据补充 * 客户实体示例数据补充
* *
...@@ -1815,6 +1844,29 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -1815,6 +1844,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}) })
} }
/**
* 实体树视图
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc91(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr2treeview', parameterName: 'usr2treeview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/** /**
* 实体卡片导航视图 * 实体卡片导航视图
* *
......
...@@ -2290,7 +2290,7 @@ export default class MainMenuModel { ...@@ -2290,7 +2290,7 @@ export default class MainMenuModel {
iconcls: '', iconcls: '',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '', appfunctag: 'AppFunc90',
resourcetag: '', resourcetag: '',
authtag:'Web-MainMenu-menuitem9', authtag:'Web-MainMenu-menuitem9',
}, },
...@@ -2366,7 +2366,7 @@ export default class MainMenuModel { ...@@ -2366,7 +2366,7 @@ export default class MainMenuModel {
iconcls: '', iconcls: '',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '', appfunctag: 'AppFunc91',
resourcetag: '', resourcetag: '',
authtag:'Web-MainMenu-menuitem173', authtag:'Web-MainMenu-menuitem173',
}, },
...@@ -2843,10 +2843,10 @@ export default class MainMenuModel { ...@@ -2843,10 +2843,10 @@ export default class MainMenuModel {
{ {
id: '5BD8B4AB-A156-45B0-9C2F-9C7E80F5AB07', id: '5BD8B4AB-A156-45B0-9C2F-9C7E80F5AB07',
name: 'menuitem181', name: 'menuitem181',
text: '前界面行为', text: '前界面行为',
type: 'MENUITEM', type: 'MENUITEM',
counterid: '', counterid: '',
tooltip: '前界面行为', tooltip: '前界面行为',
expanded: false, expanded: false,
separator: false, separator: false,
hidden: false, hidden: false,
...@@ -3658,6 +3658,18 @@ export default class MainMenuModel { ...@@ -3658,6 +3658,18 @@ export default class MainMenuModel {
{ pathName: 'seditview2', parameterName: 'seditview2' }, { pathName: 'seditview2', parameterName: 'seditview2' },
], ],
}, },
{
appfunctag: 'AppFunc90',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibizbookusr4listview',
deResParameters: [],
routepath: '/index/:index?/ibizbooks/:ibizbook?/usr4listview/:usr4listview?',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr4listview', parameterName: 'usr4listview' },
],
},
{ {
appfunctag: 'AppFunc62', appfunctag: 'AppFunc62',
appfuncyype: 'APPVIEW', appfuncyype: 'APPVIEW',
...@@ -3790,6 +3802,18 @@ export default class MainMenuModel { ...@@ -3790,6 +3802,18 @@ export default class MainMenuModel {
{ pathName: 'treeview', parameterName: 'treeview' }, { pathName: 'treeview', parameterName: 'treeview' },
], ],
}, },
{
appfunctag: 'AppFunc91',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibizbookusr2treeview',
deResParameters: [],
routepath: '/index/:index?/ibizbooks/:ibizbook?/usr2treeview/:usr2treeview?',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr2treeview', parameterName: 'usr2treeview' },
],
},
{ {
appfunctag: 'AppFunc58', appfunctag: 'AppFunc58',
appfuncyype: 'APPVIEW', appfuncyype: 'APPVIEW',
......
...@@ -47,11 +47,11 @@ ...@@ -47,11 +47,11 @@
<span class="quick-toolbar"> <span class="quick-toolbar">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="listviewlist_quicktoolbarModels.deuiaction1.visabled" :disabled="listviewlist_quicktoolbarModels.deuiaction1.disabled" class='' v-loading:i-button @click="list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="usr4listviewlist_quicktoolbarModels.deuiaction1.visabled" :disabled="usr4listviewlist_quicktoolbarModels.deuiaction1.disabled" class='' v-loading:i-button @click="list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i> <i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizbook.listviewlist_quicktoolbar_toolbar.deuiaction1.caption')}}</span> <span class='caption'>{{$t('entities.ibizbook.usr4listviewlist_quicktoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizbook.listviewlist_quicktoolbar_toolbar.deuiaction1.tip')}}</div> <div slot='content'>{{$t('entities.ibizbook.usr4listviewlist_quicktoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip> </tooltip>
</div> </div>
</span> </span>
...@@ -62,18 +62,18 @@ ...@@ -62,18 +62,18 @@
<span class="batch-toolbar"> <span class="batch-toolbar">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="listviewlist_batchtoolbarModels.deuiaction1.visabled" :disabled="listviewlist_batchtoolbarModels.deuiaction1.disabled" class='' v-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="usr4listviewlist_batchtoolbarModels.deuiaction1.visabled" :disabled="usr4listviewlist_batchtoolbarModels.deuiaction1.disabled" class='' v-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-edit'></i> <i class='fa fa-edit'></i>
<span class='caption'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction1.caption')}}</span> <span class='caption'>{{$t('entities.ibizbook.usr4listviewlist_batchtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction1.tip')}}</div> <div slot='content'>{{$t('entities.ibizbook.usr4listviewlist_batchtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="listviewlist_batchtoolbarModels.deuiaction2.visabled" :disabled="listviewlist_batchtoolbarModels.deuiaction2.disabled" class='' v-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"> <i-button v-show="usr4listviewlist_batchtoolbarModels.deuiaction2.visabled" :disabled="usr4listviewlist_batchtoolbarModels.deuiaction2.disabled" class='' v-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i class='fa fa-remove'></i> <i class='fa fa-remove'></i>
<span class='caption'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction2.caption')}}</span> <span class='caption'>{{$t('entities.ibizbook.usr4listviewlist_batchtoolbar_toolbar.deuiaction2.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction2.tip')}}</div> <div slot='content'>{{$t('entities.ibizbook.usr4listviewlist_batchtoolbar_toolbar.deuiaction2.tip')}}</div>
</tooltip> </tooltip>
</div> </div>
</span> </span>
...@@ -355,7 +355,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -355,7 +355,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKListViewBase * @memberof IBIZBOOKUsr4ListViewBase
*/ */
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this; const _this: any = this;
...@@ -375,7 +375,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -375,7 +375,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKListViewBase * @memberof IBIZBOOKUsr4ListViewBase
*/ */
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) { if (args.length === 0) {
...@@ -401,7 +401,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -401,7 +401,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKListViewBase * @memberof IBIZBOOKUsr4ListViewBase
*/ */
public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this; const _this: any = this;
...@@ -568,9 +568,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -568,9 +568,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型 * 工具栏模型
* *
* @type {*} * @type {*}
* @memberof IBIZBOOKListView * @memberof IBIZBOOKUsr4ListView
*/ */
public listviewlist_quicktoolbarModels: any = { public usr4listviewlist_quicktoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } }, deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
}; };
...@@ -580,9 +580,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -580,9 +580,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型 * 工具栏模型
* *
* @type {*} * @type {*}
* @memberof IBIZBOOKListView * @memberof IBIZBOOKUsr4ListView
*/ */
public listviewlist_batchtoolbarModels: any = { public usr4listviewlist_batchtoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } }, deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -804,7 +804,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -804,7 +804,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -920,7 +920,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -920,7 +920,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView' + (this.$t('app.list.notConfig.removeAction') as string) });
return; return;
} }
if (datas.length === 0) { if (datas.length === 0) {
...@@ -1015,7 +1015,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -1015,7 +1015,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -1023,7 +1023,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -1023,7 +1023,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZBOOKUsr4ListView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){ if(item.ibizbook){
......
/**
* Tree 部件模型
*
* @export
* @class TreeModel
*/
export default class TreeModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof TreeModel
*/
public getDataItems(): any[] {
return [
{
name: 'createman',
},
{
name: 'ibizbookname',
},
{
name: 'ibizbook',
prop: 'ibizbookid',
},
{
name: 'createdate',
},
{
name: 'updateman',
},
{
name: 'updatedate',
},
{
name: 'author',
},
{
name: 'price',
},
{
name: 'press',
},
{
name: 'type',
},
{
name: 'booknumber',
},
{
name: 'subtext',
},
{
name: 'lendouttime',
},
{
name: 'returntime',
},
{
name: 'icon',
},
{
name: 'sailstate',
},
{
name: 'borrowstatus',
},
{
name: 'stepstatus',
},
{
name: 'borrower',
},
{
name: 'borrowway',
},
{
name: 'returnlib',
},
{
name: 'borrowerid',
},
{
name: 'borrower1',
},
{
name: 'borrower1_id',
},
{
name: 'borrower2',
},
{
name: 'borrower2_id',
},
{
name: 'borrower3',
},
{
name: 'borrower3_id',
},
{
name: 'tag',
},
]
}
}
\ No newline at end of file
.tree-right-menu {
.ivu-divider-horizontal {
width: 100%;
min-width: 100%;
margin: 0 auto;
}
.ivu-dropdown-item {
position: relative;
padding-left: 32px;
> i {
position: absolute;
left: 16px;
top: 10px;
}
.ivu-icon-ios-arrow-forward {
left: initial;
right: 4px;
}
}
.ivu-dropdown {
.ivu-select-dropdown {
margin: 0;
}
}
}
.el-tree .context-menu-component .tree-node{
width: calc(100% - 15px);
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
.icon{
padding-right: 10px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import TreeBase from './tree-view-treeview-base.vue';
@Component({
components: {
}
})
export default class Tree extends TreeBase {
}
</script>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册