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

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

上级 de129e9b
...@@ -483,6 +483,7 @@ function getAppLocale(){ ...@@ -483,6 +483,7 @@ function getAppLocale(){
menuitem257: commonLogic.appcommonhandle("vue3视图部件测试",null), menuitem257: commonLogic.appcommonhandle("vue3视图部件测试",null),
menuitem258: commonLogic.appcommonhandle("树视图",null), menuitem258: commonLogic.appcommonhandle("树视图",null),
menuitem261: commonLogic.appcommonhandle("选项操作视图",null), menuitem261: commonLogic.appcommonhandle("选项操作视图",null),
menuitem263: commonLogic.appcommonhandle("列表导航测试",null),
}, },
}, },
formpage:{ formpage:{
......
...@@ -483,6 +483,7 @@ function getAppLocale(){ ...@@ -483,6 +483,7 @@ function getAppLocale(){
menuitem257: commonLogic.appcommonhandle("vue3视图部件测试",null), menuitem257: commonLogic.appcommonhandle("vue3视图部件测试",null),
menuitem258: commonLogic.appcommonhandle("树视图",null), menuitem258: commonLogic.appcommonhandle("树视图",null),
menuitem261: commonLogic.appcommonhandle("选项操作视图",null), menuitem261: commonLogic.appcommonhandle("选项操作视图",null),
menuitem263: commonLogic.appcommonhandle("列表导航测试",null),
}, },
}, },
formpage:{ formpage:{
......
...@@ -483,6 +483,7 @@ function getAppLocale(){ ...@@ -483,6 +483,7 @@ function getAppLocale(){
menuitem257: commonLogic.appcommonhandle("vue3视图部件测试",null), menuitem257: commonLogic.appcommonhandle("vue3视图部件测试",null),
menuitem258: commonLogic.appcommonhandle("树视图",null), menuitem258: commonLogic.appcommonhandle("树视图",null),
menuitem261: commonLogic.appcommonhandle("选项操作视图",null), menuitem261: commonLogic.appcommonhandle("选项操作视图",null),
menuitem263: commonLogic.appcommonhandle("列表导航测试",null),
}, },
}, },
formpage:{ formpage:{
......
...@@ -364,6 +364,10 @@ function getLocaleResourceBase(){ ...@@ -364,6 +364,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("图书",null), caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书自定义视图",null), title: commonLogic.appcommonhandle("图书自定义视图",null),
}, },
listexpview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书列表导航视图",null),
},
panelview: { panelview: {
caption: commonLogic.appcommonhandle("图书",null), caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书面板视图",null), title: commonLogic.appcommonhandle("图书面板视图",null),
......
...@@ -364,6 +364,10 @@ function getLocaleResourceBase(){ ...@@ -364,6 +364,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("图书",null), caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书自定义视图",null), title: commonLogic.appcommonhandle("图书自定义视图",null),
}, },
listexpview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书列表导航视图",null),
},
panelview: { panelview: {
caption: commonLogic.appcommonhandle("图书",null), caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书面板视图",null), title: commonLogic.appcommonhandle("图书面板视图",null),
......
...@@ -364,6 +364,10 @@ function getLocaleResourceBase(){ ...@@ -364,6 +364,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("图书",null), caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书自定义视图",null), title: commonLogic.appcommonhandle("图书自定义视图",null),
}, },
listexpview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书列表导航视图",null),
},
panelview: { panelview: {
caption: commonLogic.appcommonhandle("图书",null), caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书面板视图",null), title: commonLogic.appcommonhandle("图书面板视图",null),
......
...@@ -4383,6 +4383,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => { ...@@ -4383,6 +4383,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '', textcls: '',
appfunctag: 'AppFunc139', appfunctag: 'AppFunc139',
resourcetag: '', resourcetag: '',
},
{
id: '9EE75A84-7609-43AB-BEE2-124292CBA0B4',
name: 'menuitem263',
text: '列表导航测试',
type: 'MENUITEM',
counterid: '',
tooltip: '列表导航测试',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc142',
resourcetag: '',
}, },
], ],
}, },
......
...@@ -3263,6 +3263,19 @@ const router = new Router({ ...@@ -3263,6 +3263,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookusr2-custom-view/ibizbookusr2-custom-view.vue'), component: () => import('@pages/sample/ibizbookusr2-custom-view/ibizbookusr2-custom-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/listexpview/:listexpview?',
meta: {
caption: 'entities.ibizbook.views.listexpview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'listexpview', parameterName: 'listexpview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbooklist-exp-view/ibizbooklist-exp-view.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/haspanellistview/:haspanellistview?', path: '/ibizbooks/:ibizbook?/haspanellistview/:haspanellistview?',
meta: { meta: {
......
// 基于 @VIEW/实体列表导航视图/VIEW.less.ftl 生成
.ibizbooklist-exp-view{
position: relative;
}
.ibizbooklist-exp-view{
display: block;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZBOOKListExpViewBase from './ibizbooklist-exp-view-base.vue';
import view_listexpbar from '@widgets/ibizbook/list-exp-viewlistexpbar-listexpbar/list-exp-viewlistexpbar-listexpbar.vue';
// 基于 @VIEW/实体列表导航视图/VIEW.vue.ftl 生成
@Component({
components: {
view_listexpbar,
},
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 IBIZBOOKListExpView extends IBIZBOOKListExpViewBase {
}
</script>
\ No newline at end of file
...@@ -167,6 +167,7 @@ export const PageComponents = { ...@@ -167,6 +167,7 @@ export const PageComponents = {
Vue.component('ibizbookusr10-edit-view', () => import('@pages/sample/ibizbookusr10-edit-view/ibizbookusr10-edit-view.vue')); Vue.component('ibizbookusr10-edit-view', () => import('@pages/sample/ibizbookusr10-edit-view/ibizbookusr10-edit-view.vue'));
Vue.component('ibizbookusr3-tree-view', () => import('@pages/sample/ibizbookusr3-tree-view/ibizbookusr3-tree-view.vue')); Vue.component('ibizbookusr3-tree-view', () => import('@pages/sample/ibizbookusr3-tree-view/ibizbookusr3-tree-view.vue'));
Vue.component('ibizbookusr2-option-view', () => import('@pages/sample/ibizbookusr2-option-view/ibizbookusr2-option-view.vue')); Vue.component('ibizbookusr2-option-view', () => import('@pages/sample/ibizbookusr2-option-view/ibizbookusr2-option-view.vue'));
Vue.component('ibizbooklist-exp-view', () => import('@pages/sample/ibizbooklist-exp-view/ibizbooklist-exp-view.vue'));
Vue.component('ibizappviewgrid-view', () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue')); Vue.component('ibizappviewgrid-view', () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue'));
Vue.component('ibizappviewlist-view', () => import('@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue')); Vue.component('ibizappviewlist-view', () => import('@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue'));
Vue.component('ibizappctrlgrid-view', () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue')); Vue.component('ibizappctrlgrid-view', () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue'));
......
...@@ -2503,6 +2503,20 @@ const router = new Router({ ...@@ -2503,6 +2503,20 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookusr2-option-view/ibizbookusr2-option-view.vue'), component: () => import('@pages/sample/ibizbookusr2-option-view/ibizbookusr2-option-view.vue'),
}, },
{
path: 'ibizbooks/:ibizbook?/listexpview/:listexpview?',
meta: {
caption: 'entities.ibizbook.views.listexpview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'listexpview', parameterName: 'listexpview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbooklist-exp-view/ibizbooklist-exp-view.vue'),
},
{ {
path: 'ibizappviews/:ibizappview?/gridview/:gridview?', path: 'ibizappviews/:ibizappview?/gridview/:gridview?',
meta: { meta: {
...@@ -7027,6 +7041,19 @@ const router = new Router({ ...@@ -7027,6 +7041,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookusr2-custom-view/ibizbookusr2-custom-view.vue'), component: () => import('@pages/sample/ibizbookusr2-custom-view/ibizbookusr2-custom-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/listexpview/:listexpview?',
meta: {
caption: 'entities.ibizbook.views.listexpview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'listexpview', parameterName: 'listexpview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbooklist-exp-view/ibizbooklist-exp-view.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/haspanellistview/:haspanellistview?', path: '/ibizbooks/:ibizbook?/haspanellistview/:haspanellistview?',
meta: { meta: {
......
...@@ -167,6 +167,7 @@ export const PageComponents = { ...@@ -167,6 +167,7 @@ export const PageComponents = {
Vue.component('ibizbookusr10-edit-view', () => import('@pages/sample/ibizbookusr10-edit-view/ibizbookusr10-edit-view.vue')); Vue.component('ibizbookusr10-edit-view', () => import('@pages/sample/ibizbookusr10-edit-view/ibizbookusr10-edit-view.vue'));
Vue.component('ibizbookusr3-tree-view', () => import('@pages/sample/ibizbookusr3-tree-view/ibizbookusr3-tree-view.vue')); Vue.component('ibizbookusr3-tree-view', () => import('@pages/sample/ibizbookusr3-tree-view/ibizbookusr3-tree-view.vue'));
Vue.component('ibizbookusr2-option-view', () => import('@pages/sample/ibizbookusr2-option-view/ibizbookusr2-option-view.vue')); Vue.component('ibizbookusr2-option-view', () => import('@pages/sample/ibizbookusr2-option-view/ibizbookusr2-option-view.vue'));
Vue.component('ibizbooklist-exp-view', () => import('@pages/sample/ibizbooklist-exp-view/ibizbooklist-exp-view.vue'));
Vue.component('ibizappviewgrid-view', () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue')); Vue.component('ibizappviewgrid-view', () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue'));
Vue.component('ibizappviewlist-view', () => import('@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue')); Vue.component('ibizappviewlist-view', () => import('@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue'));
Vue.component('ibizappctrlgrid-view', () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue')); Vue.component('ibizappctrlgrid-view', () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue'));
......
...@@ -2503,6 +2503,20 @@ const router = new Router({ ...@@ -2503,6 +2503,20 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookusr2-option-view/ibizbookusr2-option-view.vue'), component: () => import('@pages/sample/ibizbookusr2-option-view/ibizbookusr2-option-view.vue'),
}, },
{
path: 'ibizbooks/:ibizbook?/listexpview/:listexpview?',
meta: {
caption: 'entities.ibizbook.views.listexpview.caption',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'listexpview', parameterName: 'listexpview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbooklist-exp-view/ibizbooklist-exp-view.vue'),
},
{ {
path: 'ibizappviews/:ibizappview?/gridview/:gridview?', path: 'ibizappviews/:ibizappview?/gridview/:gridview?',
meta: { meta: {
...@@ -7027,6 +7041,19 @@ const router = new Router({ ...@@ -7027,6 +7041,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookusr2-custom-view/ibizbookusr2-custom-view.vue'), component: () => import('@pages/sample/ibizbookusr2-custom-view/ibizbookusr2-custom-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/listexpview/:listexpview?',
meta: {
caption: 'entities.ibizbook.views.listexpview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'listexpview', parameterName: 'listexpview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbooklist-exp-view/ibizbooklist-exp-view.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/haspanellistview/:haspanellistview?', path: '/ibizbooks/:ibizbook?/haspanellistview/:haspanellistview?',
meta: { meta: {
......
...@@ -1142,6 +1142,7 @@ export const viewstate: any = { ...@@ -1142,6 +1142,7 @@ export const viewstate: any = {
'237aa26a288713e29a1e733394564d3a', '237aa26a288713e29a1e733394564d3a',
'406f27bfbbbe3bb0f15d8d77ca63e24c', '406f27bfbbbe3bb0f15d8d77ca63e24c',
'33e9f40b8b9255757f792baf79a8e309', '33e9f40b8b9255757f792baf79a8e309',
'ce761954d47de70419725c986316a6be',
], ],
}, },
{ {
...@@ -2397,6 +2398,16 @@ export const viewstate: any = { ...@@ -2397,6 +2398,16 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: 'ce761954d47de70419725c986316a6be',
viewmodule: 'Sample',
viewname: 'IBIZBOOKListExpView',
viewaction: '',
viewdatachange: false,
refviews: [
'58e37ccddda10feedac7c809d5cee02a',
],
},
{ {
viewtag: 'd0683173aefd706f451cf652552c5dd7', viewtag: 'd0683173aefd706f451cf652552c5dd7',
viewmodule: 'Sample', viewmodule: 'Sample',
...@@ -3136,6 +3147,7 @@ export const viewstate: any = { ...@@ -3136,6 +3147,7 @@ export const viewstate: any = {
'237aa26a288713e29a1e733394564d3a', '237aa26a288713e29a1e733394564d3a',
'406f27bfbbbe3bb0f15d8d77ca63e24c', '406f27bfbbbe3bb0f15d8d77ca63e24c',
'33e9f40b8b9255757f792baf79a8e309', '33e9f40b8b9255757f792baf79a8e309',
'ce761954d47de70419725c986316a6be',
], ],
}, },
{ {
......
...@@ -185,6 +185,7 @@ export default class IBIZBOOKUIServiceBase extends UIService { ...@@ -185,6 +185,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'interfunckanbanview',viewType:'DEKANBANVIEW',srfappde:'ibizbooks',component:'ibizbookinter-func-kan-ban-view'}); this.allViewMap.set(':',{viewname:'interfunckanbanview',viewType:'DEKANBANVIEW',srfappde:'ibizbooks',component:'ibizbookinter-func-kan-ban-view'});
this.allViewMap.set(':',{viewname:'usrgridview_ctrlplugin',viewType:'DEGRIDVIEW',srfappde:'ibizbooks',component:'ibizbookusr-grid-view-ctrl-plugin'}); this.allViewMap.set(':',{viewname:'usrgridview_ctrlplugin',viewType:'DEGRIDVIEW',srfappde:'ibizbooks',component:'ibizbookusr-grid-view-ctrl-plugin'});
this.allViewMap.set(':',{viewname:'usr2customview',viewType:'DECUSTOMVIEW',srfappde:'ibizbooks',component:'ibizbookusr2-custom-view'}); this.allViewMap.set(':',{viewname:'usr2customview',viewType:'DECUSTOMVIEW',srfappde:'ibizbooks',component:'ibizbookusr2-custom-view'});
this.allViewMap.set(':',{viewname:'listexpview',viewType:'DELISTEXPVIEW',srfappde:'ibizbooks',component:'ibizbooklist-exp-view'});
this.allViewMap.set(':',{viewname:'panelview',viewType:'DEPANELVIEW',srfappde:'ibizbooks',component:'ibizbookpanel-view'}); this.allViewMap.set(':',{viewname:'panelview',viewType:'DEPANELVIEW',srfappde:'ibizbooks',component:'ibizbookpanel-view'});
this.allViewMap.set(':',{viewname:'haspanellistview',viewType:'DELISTVIEW',srfappde:'ibizbooks',component:'ibizbookhas-panel-list-view'}); this.allViewMap.set(':',{viewname:'haspanellistview',viewType:'DELISTVIEW',srfappde:'ibizbooks',component:'ibizbookhas-panel-list-view'});
this.allViewMap.set(':',{viewname:'usr10gridview',viewType:'DEGRIDVIEW',srfappde:'ibizbooks',component:'ibizbookusr10-grid-view'}); this.allViewMap.set(':',{viewname:'usr10gridview',viewType:'DEGRIDVIEW',srfappde:'ibizbooks',component:'ibizbookusr10-grid-view'});
......
...@@ -970,6 +970,9 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -970,6 +970,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'AppFunc139': case 'AppFunc139':
this.clickAppFunc139(item); this.clickAppFunc139(item);
return; return;
case 'AppFunc142':
this.clickAppFunc142(item);
return;
default: default:
console.warn('未指定应用功能'); console.warn('未指定应用功能');
} }
...@@ -4864,6 +4867,29 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -4864,6 +4867,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
this.$router.push(path); this.$router.push(path);
}) })
} }
/**
* 列表导航测试
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc142(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'listexpview', parameterName: 'listexpview' },
];
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);
})
}
/** /**
* 数据加载 * 数据加载
......
...@@ -4626,6 +4626,25 @@ export default class MainMenuModel { ...@@ -4626,6 +4626,25 @@ export default class MainMenuModel {
appfunctag: 'AppFunc139', appfunctag: 'AppFunc139',
resourcetag: '', resourcetag: '',
authtag:'Web-MainMenu-menuitem261', authtag:'Web-MainMenu-menuitem261',
},
{
id: '9EE75A84-7609-43AB-BEE2-124292CBA0B4',
name: 'menuitem263',
text: '列表导航测试',
type: 'MENUITEM',
counterid: '',
tooltip: '列表导航测试',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc142',
resourcetag: '',
authtag:'Web-MainMenu-menuitem263',
}, },
], ],
}, },
......
// 基于 @CONTROL/列表导航/MODEL.ts.ftl 生成
/**
* ListExpViewlistexpbar 部件模型
*
* @export
* @class ListExpViewlistexpbarModel
*/
export default class ListExpViewlistexpbarModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof ListExpViewlistexpbarListexpbarMode
*/
public getDataItems(): any[] {
return [
]
}
}
\ No newline at end of file
// 基于 @CONTROL/列表导航/SERVICE.ts.ftl 生成
import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service';
import IBIZBOOKService from '@/service/ibizbook/ibizbook-service';
import ListExpViewlistexpbarModel from './list-exp-viewlistexpbar-listexpbar-model';
/**
* ListExpViewlistexpbar 部件服务对象
*
* @export
* @class ListExpViewlistexpbarService
*/
export default class ListExpViewlistexpbarService extends ControlService {
/**
* 图书服务对象
*
* @type {IBIZBOOKService}
* @memberof ListExpViewlistexpbarService
*/
public appEntityService: IBIZBOOKService = new IBIZBOOKService();
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof ListExpViewlistexpbarService
*/
public setTempMode(){
this.isTempMode = false;
}
/**
* Creates an instance of ListExpViewlistexpbarService.
*
* @param {*} [opts={}]
* @memberof ListExpViewlistexpbarService
*/
constructor(opts: any = {}) {
super(opts);
this.model = new ListExpViewlistexpbarModel();
}
}
\ No newline at end of file
// 基于 @CONTROL/列表导航/CONTROL.less.ftl 生成
.app-list-exp-bar {
height: 100%;
display: flex;
flex-direction: column;
.list-exp-bar-header {
line-height: 50px;
border-bottom: 1px solid #ddd;
.list-exp-bar-title {
font-size: 18px;
padding-left: 8px;
i {
font-size: 20px;
margin-top: -2px;
}
}
}
.exp-bar-action-container {
display: flex;
justify-content: flex-start;
align-items: center;
flex-wrap: wrap;
.search-container {
width: 30%;
height: 48px;
padding: 10px 10px 10px 0;
min-width: 200px;
max-width: 400px;
}
.toolbar-container{
padding: 4px;
}
.quick-group-container {
padding-top: 8px;
padding-right: 20px;
}
}
.list-exp-bar-content {
flex-grow: 1;
overflow: auto;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import ListExpViewlistexpbarBase from './list-exp-viewlistexpbar-listexpbar-base.vue';
import view_listexpbar_list from '@widgets/ibizbook/booklist-list/booklist-list.vue';
// 基于 @CONTROL/列表导航/CONTROL.vue.ftl 生成
@Component({
components: {
view_listexpbar_list,
}
})
export default class ListExpViewlistexpbar extends ListExpViewlistexpbarBase {
}
</script>
\ No newline at end of file
...@@ -698,7 +698,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -698,7 +698,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/ */
public async load(opt: any = {}, isReset: boolean = false): Promise<any> { public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -792,7 +792,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -792,7 +792,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -908,7 +908,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -908,7 +908,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (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);
...@@ -916,7 +916,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -916,7 +916,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (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){
......
...@@ -5520,6 +5520,14 @@ ...@@ -5520,6 +5520,14 @@
"rTMOSFilePath" : "psmodeldata$psdataentities/DashboardView_layout", "rTMOSFilePath" : "psmodeldata$psdataentities/DashboardView_layout",
"realModelSubType" : "DEPORTALVIEW", "realModelSubType" : "DEPORTALVIEW",
"realModelType" : "PSDEVIEWBASE" "realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "ListExpView",
"logicName" : "列表导航测试",
"mOSFilePath" : "psmodeldata$psdataentities/ListExpView",
"name" : "列表导航测试",
"rTMOSFilePath" : "psmodeldata$psdataentities/ListExpView",
"realModelSubType" : "DELISTEXPVIEW",
"realModelType" : "PSDEVIEWBASE"
}, { }, {
"codeName" : "InterFuncKanBanView_layout", "codeName" : "InterFuncKanBanView_layout",
"logicName" : "实体看板视图(内置功能)(布局面板)", "logicName" : "实体看板视图(内置功能)(布局面板)",
......
...@@ -7863,6 +7863,10 @@ ...@@ -7863,6 +7863,10 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2CustomView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2CustomView.json",
"viewType" : "DECUSTOMVIEW" "viewType" : "DECUSTOMVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKListExpView.json",
"viewType" : "DELISTEXPVIEW"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKPanelView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKPanelView.json",
......
...@@ -12,18 +12,6 @@ ...@@ -12,18 +12,6 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期", "caption" : "归还日期",
"codeName" : "returntime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -71,6 +59,18 @@ ...@@ -71,6 +59,18 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -42,18 +42,6 @@ ...@@ -42,18 +42,6 @@
"id" : "GANTT" "id" : "GANTT"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期", "caption" : "归还日期",
"codeName" : "returntime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -101,6 +89,18 @@ ...@@ -101,6 +89,18 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -5386,6 +5386,22 @@ ...@@ -5386,6 +5386,22 @@
"layout" : "TABLE" "layout" : "TABLE"
}, },
"tooltip" : "选项操作视图" "tooltip" : "选项操作视图"
}, {
"accUserMode" : 2,
"caption" : "列表导航测试",
"itemType" : "MENUITEM",
"name" : "menuitem263",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc142"
},
"getPSLayout" : {
"layout" : "TABLE"
},
"getPSLayoutPos" : {
"layout" : "TABLE"
},
"tooltip" : "列表导航测试"
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"layout" : "TABLE" "layout" : "TABLE"
......
...@@ -4507,6 +4507,22 @@ ...@@ -4507,6 +4507,22 @@
"layout" : "TABLE" "layout" : "TABLE"
}, },
"tooltip" : "选项操作视图" "tooltip" : "选项操作视图"
}, {
"accUserMode" : 2,
"caption" : "列表导航测试",
"itemType" : "MENUITEM",
"name" : "menuitem263",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc142"
},
"getPSLayout" : {
"layout" : "TABLE"
},
"getPSLayoutPos" : {
"layout" : "TABLE"
},
"tooltip" : "列表导航测试"
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"layout" : "TABLE" "layout" : "TABLE"
......
...@@ -3058,6 +3058,16 @@ ...@@ -3058,6 +3058,16 @@
"id" : "AppFunc139" "id" : "AppFunc139"
}, },
"tooltip" : "选项操作视图" "tooltip" : "选项操作视图"
}, {
"accUserMode" : 2,
"caption" : "列表导航测试",
"itemType" : "MENUITEM",
"name" : "menuitem263",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc142"
},
"tooltip" : "列表导航测试"
} ], } ],
"tooltip" : "vue3视图部件测试" "tooltip" : "vue3视图部件测试"
} ], } ],
......
...@@ -4178,6 +4178,18 @@ ...@@ -4178,6 +4178,18 @@
"viewType" : "DEDATAVIEW" "viewType" : "DEDATAVIEW"
}, },
"rTMOSFilePath" : "pssysapps/Web/psappfuncs/AppFunc16" "rTMOSFilePath" : "pssysapps/Web/psappfuncs/AppFunc16"
}, {
"appFuncType" : "APPVIEW",
"codeName" : "AppFunc142",
"mOSFilePath" : "pssysapps/Web/psappfuncs/AppFunc142",
"name" : "列表导航测试",
"openMode" : "INDEXVIEWTAB",
"getPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKListExpView.json",
"viewType" : "DELISTEXPVIEW"
},
"rTMOSFilePath" : "pssysapps/Web/psappfuncs/AppFunc142"
}, { }, {
"appFuncType" : "APPVIEW", "appFuncType" : "APPVIEW",
"codeName" : "UsrAppFunc1102681676", "codeName" : "UsrAppFunc1102681676",
...@@ -17892,6 +17904,12 @@ ...@@ -17892,6 +17904,12 @@
"viewType" : "DECUSTOMVIEW", "viewType" : "DECUSTOMVIEW",
"resource" : "IBIZBOOK", "resource" : "IBIZBOOK",
"view" : "Usr2CustomView" "view" : "Usr2CustomView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKListExpView.json",
"viewType" : "DELISTEXPVIEW",
"resource" : "IBIZBOOK",
"view" : "ListExpView"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKPanelView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKPanelView.json",
...@@ -22944,6 +22962,22 @@ ...@@ -22944,6 +22962,22 @@
"layout" : "TABLE" "layout" : "TABLE"
}, },
"tooltip" : "选项操作视图" "tooltip" : "选项操作视图"
}, {
"accUserMode" : 2,
"caption" : "列表导航测试",
"itemType" : "MENUITEM",
"name" : "menuitem263",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc142"
},
"getPSLayout" : {
"layout" : "TABLE"
},
"getPSLayoutPos" : {
"layout" : "TABLE"
},
"tooltip" : "列表导航测试"
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"layout" : "TABLE" "layout" : "TABLE"
...@@ -37005,6 +37039,10 @@ ...@@ -37005,6 +37039,10 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2CustomView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2CustomView.json",
"viewType" : "DECUSTOMVIEW" "viewType" : "DECUSTOMVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKListExpView.json",
"viewType" : "DELISTEXPVIEW"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKPanelView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKPanelView.json",
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-1466-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-1468-7">
<createTable tableName="T_IBIZBOOK"> <createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册