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

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

上级 9dda2948
...@@ -999,6 +999,14 @@ ...@@ -999,6 +999,14 @@
"viewname": "IBIZOrderUsr2ChartView", "viewname": "IBIZOrderUsr2ChartView",
"viewtag": "61178fd42446ff34ea3263088ac2a3f8" "viewtag": "61178fd42446ff34ea3263088ac2a3f8"
}, },
"ibizbookusrgridview_colplugin": {
"title": "红色表格列",
"caption": "红色表格列",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsrGridView_colPlugin",
"viewtag": "611B670D-30A4-44D8-A0F7-DD1266265CD6"
},
"ibizbookusr3calendarview": { "ibizbookusr3calendarview": {
"title": "图书日历视图(项布局面板)", "title": "图书日历视图(项布局面板)",
"caption": "图书", "caption": "图书",
......
...@@ -460,7 +460,6 @@ function getAppLocale(){ ...@@ -460,7 +460,6 @@ function getAppLocale(){
menuitem253: commonLogic.appcommonhandle("表格",null), menuitem253: commonLogic.appcommonhandle("表格",null),
menuitem254: commonLogic.appcommonhandle("部件项插件",null), menuitem254: commonLogic.appcommonhandle("部件项插件",null),
menuitem255: commonLogic.appcommonhandle("表格列",null), menuitem255: commonLogic.appcommonhandle("表格列",null),
menuitem256: commonLogic.appcommonhandle("表单项",null),
menuitem259: commonLogic.appcommonhandle("其他插件",null), menuitem259: commonLogic.appcommonhandle("其他插件",null),
}, },
}, },
......
...@@ -460,7 +460,6 @@ function getAppLocale(){ ...@@ -460,7 +460,6 @@ function getAppLocale(){
menuitem253: commonLogic.appcommonhandle("表格",null), menuitem253: commonLogic.appcommonhandle("表格",null),
menuitem254: commonLogic.appcommonhandle("部件项插件",null), menuitem254: commonLogic.appcommonhandle("部件项插件",null),
menuitem255: commonLogic.appcommonhandle("表格列",null), menuitem255: commonLogic.appcommonhandle("表格列",null),
menuitem256: commonLogic.appcommonhandle("表单项",null),
menuitem259: commonLogic.appcommonhandle("其他插件",null), menuitem259: commonLogic.appcommonhandle("其他插件",null),
}, },
}, },
......
...@@ -460,7 +460,6 @@ function getAppLocale(){ ...@@ -460,7 +460,6 @@ function getAppLocale(){
menuitem253: commonLogic.appcommonhandle("表格",null), menuitem253: commonLogic.appcommonhandle("表格",null),
menuitem254: commonLogic.appcommonhandle("部件项插件",null), menuitem254: commonLogic.appcommonhandle("部件项插件",null),
menuitem255: commonLogic.appcommonhandle("表格列",null), menuitem255: commonLogic.appcommonhandle("表格列",null),
menuitem256: commonLogic.appcommonhandle("表单项",null),
menuitem259: commonLogic.appcommonhandle("其他插件",null), menuitem259: commonLogic.appcommonhandle("其他插件",null),
}, },
}, },
......
...@@ -156,6 +156,10 @@ function getLocaleResourceBase(){ ...@@ -156,6 +156,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("实体看板视图(内置功能)",null), caption: commonLogic.appcommonhandle("实体看板视图(内置功能)",null),
title: commonLogic.appcommonhandle("实体看板视图(内置功能)",null), title: commonLogic.appcommonhandle("实体看板视图(内置功能)",null),
}, },
usrgridview_colplugin: {
caption: commonLogic.appcommonhandle("红色表格列",null),
title: commonLogic.appcommonhandle("红色表格列",null),
},
usr3calendarview: { usr3calendarview: {
caption: commonLogic.appcommonhandle("图书",null), caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书日历视图(项布局面板)",null), title: commonLogic.appcommonhandle("图书日历视图(项布局面板)",null),
...@@ -819,6 +823,16 @@ function getLocaleResourceBase(){ ...@@ -819,6 +823,16 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
usr1206604605_grid: {
columns: {
ibizbookname: commonLogic.appcommonhandle("图书名称",null),
updateman: commonLogic.appcommonhandle("更新人",null),
updatedate: commonLogic.appcommonhandle("更新时间",null),
},
nodata:commonLogic.appcommonhandle("",null),
uiactions: {
},
},
main2_grid: { main2_grid: {
columns: { columns: {
type: commonLogic.appcommonhandle("图书类型",null), type: commonLogic.appcommonhandle("图书类型",null),
...@@ -1021,6 +1035,13 @@ function getLocaleResourceBase(){ ...@@ -1021,6 +1035,13 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
usr1206867660_searchform: {
details: {
formpage1: commonLogic.appcommonhandle("常规条件",null),
},
uiactions: {
},
},
usr3editviewtoolbar_toolbar: { usr3editviewtoolbar_toolbar: {
}, },
internalfuncgridviewtoolbar_toolbar: { internalfuncgridviewtoolbar_toolbar: {
...@@ -1969,6 +1990,8 @@ function getLocaleResourceBase(){ ...@@ -1969,6 +1990,8 @@ function getLocaleResourceBase(){
}, },
haspanellistviewtoolbar_toolbar: { haspanellistviewtoolbar_toolbar: {
}, },
usrgridview_colplugintoolbar_toolbar: {
},
calendarviewcalendar_quicktoolbar_toolbar: { calendarviewcalendar_quicktoolbar_toolbar: {
deuiaction1: { deuiaction1: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
......
...@@ -156,6 +156,10 @@ function getLocaleResourceBase(){ ...@@ -156,6 +156,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("Entity Kanban View",null), caption: commonLogic.appcommonhandle("Entity Kanban View",null),
title: commonLogic.appcommonhandle("实体看板视图(内置功能)",null), title: commonLogic.appcommonhandle("实体看板视图(内置功能)",null),
}, },
usrgridview_colplugin: {
caption: commonLogic.appcommonhandle("红色表格列",null),
title: commonLogic.appcommonhandle("红色表格列",null),
},
usr3calendarview: { usr3calendarview: {
caption: commonLogic.appcommonhandle("Item Layout Panel",null), caption: commonLogic.appcommonhandle("Item Layout Panel",null),
title: commonLogic.appcommonhandle("图书日历视图(项布局面板)",null), title: commonLogic.appcommonhandle("图书日历视图(项布局面板)",null),
...@@ -819,6 +823,16 @@ function getLocaleResourceBase(){ ...@@ -819,6 +823,16 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
usr1206604605_grid: {
columns: {
ibizbookname: commonLogic.appcommonhandle("图书名称",null),
updateman: commonLogic.appcommonhandle("更新人",null),
updatedate: commonLogic.appcommonhandle("更新时间",null),
},
nodata:commonLogic.appcommonhandle("",null),
uiactions: {
},
},
main2_grid: { main2_grid: {
columns: { columns: {
type: commonLogic.appcommonhandle("图书类型",null), type: commonLogic.appcommonhandle("图书类型",null),
...@@ -1021,6 +1035,13 @@ function getLocaleResourceBase(){ ...@@ -1021,6 +1035,13 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
usr1206867660_searchform: {
details: {
formpage1: commonLogic.appcommonhandle("常规条件",null),
},
uiactions: {
},
},
usr3editviewtoolbar_toolbar: { usr3editviewtoolbar_toolbar: {
}, },
internalfuncgridviewtoolbar_toolbar: { internalfuncgridviewtoolbar_toolbar: {
...@@ -1969,6 +1990,8 @@ function getLocaleResourceBase(){ ...@@ -1969,6 +1990,8 @@ function getLocaleResourceBase(){
}, },
haspanellistviewtoolbar_toolbar: { haspanellistviewtoolbar_toolbar: {
}, },
usrgridview_colplugintoolbar_toolbar: {
},
calendarviewcalendar_quicktoolbar_toolbar: { calendarviewcalendar_quicktoolbar_toolbar: {
deuiaction1: { deuiaction1: {
caption: commonLogic.appcommonhandle("Save",null), caption: commonLogic.appcommonhandle("Save",null),
......
...@@ -156,6 +156,10 @@ function getLocaleResourceBase(){ ...@@ -156,6 +156,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("实体看板视图(内置功能)",null), caption: commonLogic.appcommonhandle("实体看板视图(内置功能)",null),
title: commonLogic.appcommonhandle("实体看板视图(内置功能)",null), title: commonLogic.appcommonhandle("实体看板视图(内置功能)",null),
}, },
usrgridview_colplugin: {
caption: commonLogic.appcommonhandle("红色表格列",null),
title: commonLogic.appcommonhandle("红色表格列",null),
},
usr3calendarview: { usr3calendarview: {
caption: commonLogic.appcommonhandle("图书",null), caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书日历视图(项布局面板)",null), title: commonLogic.appcommonhandle("图书日历视图(项布局面板)",null),
...@@ -819,6 +823,16 @@ function getLocaleResourceBase(){ ...@@ -819,6 +823,16 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
usr1206604605_grid: {
columns: {
ibizbookname: commonLogic.appcommonhandle("图书名称",null),
updateman: commonLogic.appcommonhandle("更新人",null),
updatedate: commonLogic.appcommonhandle("更新时间",null),
},
nodata:commonLogic.appcommonhandle("",null),
uiactions: {
},
},
main2_grid: { main2_grid: {
columns: { columns: {
type: commonLogic.appcommonhandle("图书类型",null), type: commonLogic.appcommonhandle("图书类型",null),
...@@ -1021,6 +1035,13 @@ function getLocaleResourceBase(){ ...@@ -1021,6 +1035,13 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
usr1206867660_searchform: {
details: {
formpage1: commonLogic.appcommonhandle("常规条件",null),
},
uiactions: {
},
},
usr3editviewtoolbar_toolbar: { usr3editviewtoolbar_toolbar: {
}, },
internalfuncgridviewtoolbar_toolbar: { internalfuncgridviewtoolbar_toolbar: {
...@@ -1969,6 +1990,8 @@ function getLocaleResourceBase(){ ...@@ -1969,6 +1990,8 @@ function getLocaleResourceBase(){
}, },
haspanellistviewtoolbar_toolbar: { haspanellistviewtoolbar_toolbar: {
}, },
usrgridview_colplugintoolbar_toolbar: {
},
calendarviewcalendar_quicktoolbar_toolbar: { calendarviewcalendar_quicktoolbar_toolbar: {
deuiaction1: { deuiaction1: {
caption: commonLogic.appcommonhandle("保存",null), caption: commonLogic.appcommonhandle("保存",null),
......
...@@ -1007,6 +1007,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -1007,6 +1007,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZOrderUsr2ChartView", "viewname": "IBIZOrderUsr2ChartView",
"viewtag": "61178fd42446ff34ea3263088ac2a3f8" "viewtag": "61178fd42446ff34ea3263088ac2a3f8"
}, },
"ibizbookusrgridview_colplugin": {
"title": "红色表格列",
"caption": "红色表格列",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsrGridView_colPlugin",
"viewtag": "611B670D-30A4-44D8-A0F7-DD1266265CD6"
},
"ibizbookusr3calendarview": { "ibizbookusr3calendarview": {
"title": "图书日历视图(项布局面板)", "title": "图书日历视图(项布局面板)",
"caption": "图书", "caption": "图书",
......
// 基于 @VIEW/实体表格视图/VIEW.less.ftl 生成
.ibizbookusr-grid-view-col-plugin{
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 IBIZBOOKUsrGridView_colPluginBase from './ibizbookusr-grid-view-col-plugin-base.vue';
import view_grid from '@widgets/ibizbook/usr1206604605-grid/usr1206604605-grid.vue';
import view_searchform from '@widgets/ibizbook/usr1206867660-searchform/usr1206867660-searchform.vue';
// 基于 @VIEW/实体表格视图/VIEW.vue.ftl 生成
@Component({
components: {
view_grid,
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 IBIZBOOKUsrGridView_colPlugin extends IBIZBOOKUsrGridView_colPluginBase {
}
</script>
\ No newline at end of file
...@@ -152,6 +152,7 @@ export const PageComponents = { ...@@ -152,6 +152,7 @@ export const PageComponents = {
Vue.component('ibizorder-proivate-plugin-grid-view', () => import('@pages/sample/ibizorder-proivate-plugin-grid-view/ibizorder-proivate-plugin-grid-view.vue')); Vue.component('ibizorder-proivate-plugin-grid-view', () => import('@pages/sample/ibizorder-proivate-plugin-grid-view/ibizorder-proivate-plugin-grid-view.vue'));
Vue.component('ibizbookusr-edit-view-plugin', () => import('@pages/sample/ibizbookusr-edit-view-plugin/ibizbookusr-edit-view-plugin.vue')); Vue.component('ibizbookusr-edit-view-plugin', () => import('@pages/sample/ibizbookusr-edit-view-plugin/ibizbookusr-edit-view-plugin.vue'));
Vue.component('ibizbookusr-grid-view-ctrl-plugin', () => import('@pages/sample/ibizbookusr-grid-view-ctrl-plugin/ibizbookusr-grid-view-ctrl-plugin.vue')); Vue.component('ibizbookusr-grid-view-ctrl-plugin', () => import('@pages/sample/ibizbookusr-grid-view-ctrl-plugin/ibizbookusr-grid-view-ctrl-plugin.vue'));
Vue.component('ibizbookusr-grid-view-col-plugin', () => import('@pages/sample/ibizbookusr-grid-view-col-plugin/ibizbookusr-grid-view-col-plugin.vue'));
Vue.component('ibizbookusr-edit-view-action-plugin', () => import('@pages/sample/ibizbookusr-edit-view-action-plugin/ibizbookusr-edit-view-action-plugin.vue')); Vue.component('ibizbookusr-edit-view-action-plugin', () => import('@pages/sample/ibizbookusr-edit-view-action-plugin/ibizbookusr-edit-view-action-plugin.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'));
......
...@@ -2293,6 +2293,20 @@ const router = new Router({ ...@@ -2293,6 +2293,20 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookusr-grid-view-ctrl-plugin/ibizbookusr-grid-view-ctrl-plugin.vue'), component: () => import('@pages/sample/ibizbookusr-grid-view-ctrl-plugin/ibizbookusr-grid-view-ctrl-plugin.vue'),
}, },
{
path: 'ibizbooks/:ibizbook?/usrgridview_colplugin/:usrgridview_colplugin?',
meta: {
caption: 'entities.ibizbook.views.usrgridview_colplugin.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usrgridview_colplugin', parameterName: 'usrgridview_colplugin' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr-grid-view-col-plugin/ibizbookusr-grid-view-col-plugin.vue'),
},
{ {
path: 'ibizbooks/:ibizbook?/usreditview_actionplugin/:usreditview_actionplugin?', path: 'ibizbooks/:ibizbook?/usreditview_actionplugin/:usreditview_actionplugin?',
meta: { meta: {
...@@ -4904,6 +4918,19 @@ const router = new Router({ ...@@ -4904,6 +4918,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-usr2-chart-view/ibizorder-usr2-chart-view.vue'), component: () => import('@pages/sample/ibizorder-usr2-chart-view/ibizorder-usr2-chart-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/usrgridview_colplugin/:usrgridview_colplugin?',
meta: {
caption: 'entities.ibizbook.views.usrgridview_colplugin.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usrgridview_colplugin', parameterName: 'usrgridview_colplugin' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr-grid-view-col-plugin/ibizbookusr-grid-view-col-plugin.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/usr3calendarview/:usr3calendarview?', path: '/ibizbooks/:ibizbook?/usr3calendarview/:usr3calendarview?',
meta: { meta: {
......
...@@ -1308,6 +1308,19 @@ const router = new Router({ ...@@ -1308,6 +1308,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-usr2-chart-view/ibizorder-usr2-chart-view.vue'), component: () => import('@pages/sample/ibizorder-usr2-chart-view/ibizorder-usr2-chart-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/usrgridview_colplugin/:usrgridview_colplugin?',
meta: {
caption: 'entities.ibizbook.views.usrgridview_colplugin.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usrgridview_colplugin', parameterName: 'usrgridview_colplugin' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr-grid-view-col-plugin/ibizbookusr-grid-view-col-plugin.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/usr3calendarview/:usr3calendarview?', path: '/ibizbooks/:ibizbook?/usr3calendarview/:usr3calendarview?',
meta: { meta: {
......
...@@ -1042,6 +1042,7 @@ export const viewstate: any = { ...@@ -1042,6 +1042,7 @@ export const viewstate: any = {
'8A41D051-1CDD-4050-9B28-822A20EA0D40', '8A41D051-1CDD-4050-9B28-822A20EA0D40',
'427E25F6-DBD4-451B-B20E-87929E061C95', '427E25F6-DBD4-451B-B20E-87929E061C95',
'CBB075E1-BDC9-4F6A-BCF4-09EC4D7370EE', 'CBB075E1-BDC9-4F6A-BCF4-09EC4D7370EE',
'611B670D-30A4-44D8-A0F7-DD1266265CD6',
'F7892096-9D26-49A7-A1E6-9D49CE5D60EA', 'F7892096-9D26-49A7-A1E6-9D49CE5D60EA',
], ],
}, },
...@@ -1131,6 +1132,17 @@ export const viewstate: any = { ...@@ -1131,6 +1132,17 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: '611B670D-30A4-44D8-A0F7-DD1266265CD6',
viewmodule: 'Sample',
viewname: 'IBIZBOOKUsrGridView_colPlugin',
viewaction: '',
viewdatachange: false,
refviews: [
'58e37ccddda10feedac7c809d5cee02a',
'9826dd82f687825c543cc0598615dd5b',
],
},
{ {
viewtag: '619a134b7e83077c3030001ee8545ddb', viewtag: '619a134b7e83077c3030001ee8545ddb',
viewmodule: 'Sample', viewmodule: 'Sample',
......
...@@ -129,6 +129,7 @@ export default class IBIZBOOKUIServiceBase extends UIService { ...@@ -129,6 +129,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'usr5calendarview',viewType:'DECALENDARVIEW',srfappde:'ibizbooks',component:'ibizbookusr5-calendar-view'}); this.allViewMap.set(':',{viewname:'usr5calendarview',viewType:'DECALENDARVIEW',srfappde:'ibizbooks',component:'ibizbookusr5-calendar-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizbooks',component:'ibizbookedit-view'}); this.allViewMap.set('EDITVIEW:',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizbooks',component:'ibizbookedit-view'});
this.allViewMap.set(':',{viewname:'interfunckanbanview_layout',viewType:'DEKANBANVIEW',srfappde:'ibizbooks',component:'ibizbookinter-func-kan-ban-view-layout'}); this.allViewMap.set(':',{viewname:'interfunckanbanview_layout',viewType:'DEKANBANVIEW',srfappde:'ibizbooks',component:'ibizbookinter-func-kan-ban-view-layout'});
this.allViewMap.set(':',{viewname:'usrgridview_colplugin',viewType:'DEGRIDVIEW',srfappde:'ibizbooks',component:'ibizbookusr-grid-view-col-plugin'});
this.allViewMap.set(':',{viewname:'usr3calendarview',viewType:'DECALENDARVIEW',srfappde:'ibizbooks',component:'ibizbookusr3-calendar-view'}); this.allViewMap.set(':',{viewname:'usr3calendarview',viewType:'DECALENDARVIEW',srfappde:'ibizbooks',component:'ibizbookusr3-calendar-view'});
this.allViewMap.set(':',{viewname:'optionview',viewType:'DEOPTVIEW',srfappde:'ibizbooks',component:'ibizbookoption-view'}); this.allViewMap.set(':',{viewname:'optionview',viewType:'DEOPTVIEW',srfappde:'ibizbooks',component:'ibizbookoption-view'});
this.allViewMap.set(':',{viewname:'treegridexview',viewType:'DETREEGRIDEXVIEW',srfappde:'ibizbooks',component:'ibizbooktree-grid-ex-view'}); this.allViewMap.set(':',{viewname:'treegridexview',viewType:'DETREEGRIDEXVIEW',srfappde:'ibizbooks',component:'ibizbooktree-grid-ex-view'});
......
...@@ -1112,6 +1112,9 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -1112,6 +1112,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'UsrAppFunc1206983666': case 'UsrAppFunc1206983666':
this.clickUsrAppFunc1206983666(item); this.clickUsrAppFunc1206983666(item);
return; return;
case 'UsrAppFunc1206606808':
this.clickUsrAppFunc1206606808(item);
return;
case 'UsrAppFunc1206570767': case 'UsrAppFunc1206570767':
this.clickUsrAppFunc1206570767(item); this.clickUsrAppFunc1206570767(item);
return; return;
...@@ -4662,6 +4665,29 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -4662,6 +4665,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}) })
} }
/**
* 表格列插件(vue3)
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickUsrAppFunc1206606808(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usrgridview_colplugin', parameterName: 'usrgridview_colplugin' },
];
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);
})
}
/** /**
* 其他插件(vue3) * 其他插件(vue3)
* *
......
...@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr3GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr3GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
// 基于 @CONTROL/表格/MODEL.ts.ftl 生成
/**
* Usr1206604605 部件模型
*
* @export
* @class Usr1206604605Model
*/
export default class Usr1206604605Model {
/**
* 是否是实体数据导出
*
* @returns {any[]}
* @memberof Usr1206604605GridMode
*/
public isDEExport: boolean = false;
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Usr1206604605GridMode
*/
public getDataItems(): any[] {
if(this.isDEExport){
return [
]
}else{
return [
{
name: 'ibizbookname',
prop: 'ibizbookname',
dataType: 'TEXT',
},
{
name: 'updateman',
prop: 'updateman',
dataType: 'TEXT',
},
{
name: 'updatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{
name: 'ibizbookid',
prop: 'ibizbookid',
dataType: 'GUID',
},
{
name: 'srfkey',
prop: 'ibizbookid',
dataType: 'GUID',
isEditable:true
},
{
name: 'srfdataaccaction',
prop: 'ibizbookid',
dataType: 'GUID',
},
{
name: 'srfmajortext',
prop: 'ibizbookname',
dataType: 'TEXT',
},
{
name: 'srfmstag',
},
{
name: 'ibizbook',
prop: 'ibizbookid',
},
{
name:'size',
prop:'size',
dataType: 'QUERYPARAM'
},
{
name:'query',
prop:'query',
dataType: 'QUERYPARAM'
},
{
name:'filter',
prop:'filter',
dataType: 'QUERYPARAM'
},
{
name:'page',
prop:'page',
dataType: 'QUERYPARAM'
},
{
name:'sort',
prop:'sort',
dataType: 'QUERYPARAM'
},
{
name:'srfparentdata',
prop:'srfparentdata',
dataType: 'QUERYPARAM'
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
// 预置工作流数据字段
{
name: 'srfprocessdefinitionkey',
prop: 'srfprocessdefinitionkey',
dataType: 'TEXT'
},
{
name: 'srftaskdefinitionkey',
prop: 'srftaskdefinitionkey',
dataType: 'TEXT'
},
{
name: 'srftaskid',
prop: 'srftaskid',
dataType: 'TEXT'
}
]
}
}
}
\ No newline at end of file
// 基于 @CONTROL/表格/CONTROL.less.ftl 生成
.grid {
flex-grow: 1;
height: 100%;
overflow: auto;
.el-table__body-wrapper::-webkit-scrollbar {
/*滚动条整体样式*/
width : 10px !important; /*高宽分别对应横竖滚动条的尺寸*/
height: 10px !important;
}
.el-table__body-wrapper::-webkit-scrollbar-thumb {
/*滚动条颜色*/
border-radius : 10px !important;
background-color: #cecece !important;
}
.el-table__body-wrapper::-webkit-scrollbar-track {
/*滚动条里面轨道*/
box-shadow : inset 0 0 5px rgba(0, 0, 0, 0.2) !important;
background : #ededed !important;
border-radius: 10px !important;
}
/*表格文字过长省略*/
.el-table th>.cell, .el-table td>.cell{
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
}
.el-table-column--selection .cell {
padding-left: 0px;
padding-right: 0px;
}
.app-column-link, .app-format-data{
display: inline;
}
.el-table {
height: 100%;
display:flex;
flex-direction: column;
justify-content: flex-start;
.el-table__row{
.grid-uiaction-divider {
padding:0 10px 0 10px;
border-left: 1px #b3b3b3 solid;
}
.grid-first-uiaction {
padding:0 10px 0 10px;
}
}
.quick-toolbar{
display: inline-block;
button{
background: #ebf3fb;
color: #2575ca;
border: 0;
}
}
.el-tooltip{
.ivu-form-item{
margin-bottom: unset !important;
}
}
.el-table__body .edit-cell{
padding:0;
.app-form-item{
margin-top: 20px;
margin-bottom: 20px;
}
}
.el-table__header-wrapper{
min-height: 45px;
max-height: 100px;
height: auto;
}
.el-table__footer-wrapper{
min-height: 45px;
max-height: 100px;
height: auto;
}
}
.grid-pagination {
height: 50px;
padding: 6px 0px;
.page-button {
button {
padding: 0;
font-size: 16px;
min-width: 32px;
height: 32px;
margin-right: 4px;
}
}
.page-column {
position: absolute;
left: 0;
}
.batch-toolbar{
position: absolute;
left: 105px;
>.toolbar-container{
button {
font-size: 16px;
min-width: 32px;
height: 32px;
margin-right: 4px;
margin-top: 0;
margin-bottom: 0;
}
}
}
}
}
.ivu-modal-content{
.footer{
.ivu-row{
text-align: right;
}
}
}
.cell-indeterminate {
>div>label {
>span {
.el-checkbox__inner {
background-color: #409eff;
border-color: #409eff;
}
.el-checkbox__inner:before {
content: "";
position: absolute;
display: block;
background-color: #fff;
height: 2px;
transform: scale(.5);
left: 0;
right: 0;
top: 5px;
}
}
>span.is-checked {
.el-checkbox__inner {
background-color: #409eff;
border-color: #409eff;
}
.el-checkbox__inner:after {
border: 0px;
}
}
}
}
.cell-select-all {
>div>label {
>span {
.el-checkbox__inner {
background-color: #409eff;
border-color: #409eff;
}
.el-checkbox__inner:after {
box-sizing: content-box;
content: "";
border: 1px solid #fff;
border-left: 0;
border-top: 0;
height: 7px;
left: 4px;
position: absolute;
top: 1px;
transform: rotate(45deg) scaleY(1);
width: 3px;
transition: transform .15s ease-in .05s;
transform-origin: center;
}
}
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import Usr1206604605Base from './usr1206604605-grid-base.vue';
// 基于 @CONTROL/表格/CONTROL.vue.ftl 生成
@Component({
components: {
}
})
export default class Usr1206604605 extends Usr1206604605Base {
}
</script>
\ No newline at end of file
// 基于 @CONTROL/搜索表单/MODEL.ts.ftl 生成
/**
* Usr1206867660 部件模型
*
* @export
* @class Usr1206867660Model
*/
export default class Usr1206867660Model {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Usr1206867660Model
*/
public getDataItems(): any[] {
return [
{
name: 'srfwfmemo',
prop: 'srfwfmemo',
dataType: 'TEXT',
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
]
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import Usr1206867660Base from './usr1206867660-searchform-base.vue';
// 基于 @CONTROL/搜索表单/CONTROL.vue.ftl 生成
@Component({
components: {
}
})
export default class Usr1206867660 extends Usr1206867660Base {
}
</script>
\ No newline at end of file
...@@ -97,7 +97,6 @@ export default class MainModel { ...@@ -97,7 +97,6 @@ export default class MainModel {
name: 'ibizorderdetail', name: 'ibizorderdetail',
prop: 'ibizorderdetailid', prop: 'ibizorderdetailid',
}, },
{ {
name:'size', name:'size',
prop:'size', prop:'size',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册