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

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

上级 eb151488
...@@ -231,6 +231,14 @@ ...@@ -231,6 +231,14 @@
"viewname": "IBIZSample0018EditView", "viewname": "IBIZSample0018EditView",
"viewtag": "3730f86aa3a089df4f44f43426fc5478" "viewtag": "3730f86aa3a089df4f44f43426fc5478"
}, },
"ibizbookusr2gridview": {
"title": "图书表格视图(表格分组)",
"caption": "图书",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsr2GridView",
"viewtag": "39e841c85d9bbfc7ecf009c4202dbf0c"
},
"ibizorderseditview3": { "ibizorderseditview3": {
"title": "订单编辑视图", "title": "订单编辑视图",
"caption": "订单", "caption": "订单",
......
...@@ -191,6 +191,7 @@ export default { ...@@ -191,6 +191,7 @@ export default {
menuitem75: "新建默认值", menuitem75: "新建默认值",
menuitem76: "更新默认值", menuitem76: "更新默认值",
menuitem77: "表格值规则", menuitem77: "表格值规则",
menuitem78: "表格分组",
menuitem14: "树视图", menuitem14: "树视图",
menuitem60: "静态节点", menuitem60: "静态节点",
menuitem61: "动态节点(代码表)", menuitem61: "动态节点(代码表)",
......
...@@ -191,6 +191,7 @@ export default { ...@@ -191,6 +191,7 @@ export default {
menuitem75: "新建默认值", menuitem75: "新建默认值",
menuitem76: "更新默认值", menuitem76: "更新默认值",
menuitem77: "表格值规则", menuitem77: "表格值规则",
menuitem78: "表格分组",
menuitem14: "树视图", menuitem14: "树视图",
menuitem60: "静态节点", menuitem60: "静态节点",
menuitem61: "动态节点(代码表)", menuitem61: "动态节点(代码表)",
......
...@@ -13,6 +13,10 @@ export default { ...@@ -13,6 +13,10 @@ export default {
type: "图书类型", type: "图书类型",
}, },
views: { views: {
usr2gridview: {
caption: "图书",
title: "图书表格视图(表格分组)",
},
valuerulesgridview: { valuerulesgridview: {
caption: "图书", caption: "图书",
title: "图书表格视图(表格值规则)", title: "图书表格视图(表格值规则)",
...@@ -104,6 +108,18 @@ export default { ...@@ -104,6 +108,18 @@ export default {
uiactions: { uiactions: {
}, },
}, },
main2_grid: {
columns: {
author: "图书作者",
ibizbookname: "图书名称",
press: "图书出版社",
price: "图书价格",
type: "图书类型",
},
nodata:"",
uiactions: {
},
},
internalfunc_grid: { internalfunc_grid: {
columns: { columns: {
ibizbookname: "图书名称", ibizbookname: "图书名称",
...@@ -128,18 +144,18 @@ export default { ...@@ -128,18 +144,18 @@ export default {
uiactions: { uiactions: {
}, },
}, },
quicksearchform_searchform: { default_searchform: {
details: { details: {
formpage1: "表单分页", formpage1: "常规条件",
n_ibizbookname_like: "图书名称(%)",
n_price_gtandeq: "图书价格(>=)",
}, },
uiactions: { uiactions: {
}, },
}, },
default_searchform: { quicksearchform_searchform: {
details: { details: {
formpage1: "常规条件", formpage1: "表单分页",
n_ibizbookname_like: "图书名称(%)",
n_price_gtandeq: "图书价格(>=)",
}, },
uiactions: { uiactions: {
}, },
...@@ -352,6 +368,8 @@ export default { ...@@ -352,6 +368,8 @@ export default {
tip: "数据导入", tip: "数据导入",
}, },
}, },
usr2gridviewtoolbar_toolbar: {
},
internalfuncgridviewtoolbar_toolbar: { internalfuncgridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: "New", caption: "New",
......
...@@ -12,6 +12,10 @@ export default { ...@@ -12,6 +12,10 @@ export default {
type: "图书类型", type: "图书类型",
}, },
views: { views: {
usr2gridview: {
caption: "图书",
title: "图书表格视图(表格分组)",
},
valuerulesgridview: { valuerulesgridview: {
caption: "图书", caption: "图书",
title: "图书表格视图(表格值规则)", title: "图书表格视图(表格值规则)",
...@@ -103,6 +107,18 @@ export default { ...@@ -103,6 +107,18 @@ export default {
uiactions: { uiactions: {
}, },
}, },
main2_grid: {
columns: {
author: "图书作者",
ibizbookname: "图书名称",
press: "图书出版社",
price: "图书价格",
type: "图书类型",
},
nodata:"",
uiactions: {
},
},
internalfunc_grid: { internalfunc_grid: {
columns: { columns: {
ibizbookname: "图书名称", ibizbookname: "图书名称",
...@@ -127,18 +143,18 @@ export default { ...@@ -127,18 +143,18 @@ export default {
uiactions: { uiactions: {
}, },
}, },
quicksearchform_searchform: { default_searchform: {
details: { details: {
formpage1: "表单分页", formpage1: "常规条件",
n_ibizbookname_like: "图书名称(%)",
n_price_gtandeq: "图书价格(>=)",
}, },
uiactions: { uiactions: {
}, },
}, },
default_searchform: { quicksearchform_searchform: {
details: { details: {
formpage1: "常规条件", formpage1: "表单分页",
n_ibizbookname_like: "图书名称(%)",
n_price_gtandeq: "图书价格(>=)",
}, },
uiactions: { uiactions: {
}, },
...@@ -351,6 +367,8 @@ export default { ...@@ -351,6 +367,8 @@ export default {
tip: "数据导入", tip: "数据导入",
}, },
}, },
usr2gridviewtoolbar_toolbar: {
},
internalfuncgridviewtoolbar_toolbar: { internalfuncgridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: "新建", caption: "新建",
......
...@@ -517,6 +517,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => { ...@@ -517,6 +517,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '', textcls: '',
appfunctag: 'AppFunc6', appfunctag: 'AppFunc6',
resourcetag: '', resourcetag: '',
},
{
id: 'DDCC0C0A-3A1C-4579-86DB-6727CFB46E04',
name: 'menuitem78',
text: '表格分组',
type: 'MENUITEM',
counterid: '',
tooltip: '表格分组',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc7',
resourcetag: '',
}, },
], ],
}, },
......
...@@ -239,6 +239,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -239,6 +239,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZSample0018EditView", "viewname": "IBIZSample0018EditView",
"viewtag": "3730f86aa3a089df4f44f43426fc5478" "viewtag": "3730f86aa3a089df4f44f43426fc5478"
}, },
"ibizbookusr2gridview": {
"title": "图书表格视图(表格分组)",
"caption": "图书",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsr2GridView",
"viewtag": "39e841c85d9bbfc7ecf009c4202dbf0c"
},
"ibizorderseditview3": { "ibizorderseditview3": {
"title": "订单编辑视图", "title": "订单编辑视图",
"caption": "订单", "caption": "订单",
......
.ibizbookusr2-grid-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 IBIZBOOKUsr2GridViewBase from './ibizbookusr2-grid-view-base.vue';
import view_grid from '@widgets/ibizbook/main2-grid/main2-grid.vue';
import view_searchform from '@widgets/ibizbook/default-searchform/default-searchform.vue';
@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 IBIZBOOKUsr2GridView extends IBIZBOOKUsr2GridViewBase {
}
</script>
\ No newline at end of file
...@@ -11,6 +11,7 @@ export const PageComponents = { ...@@ -11,6 +11,7 @@ export const PageComponents = {
Vue.component('ibizsoftware-suit-sgrid-view', () => import('@pages/sample/ibizsoftware-suit-sgrid-view/ibizsoftware-suit-sgrid-view.vue')); Vue.component('ibizsoftware-suit-sgrid-view', () => import('@pages/sample/ibizsoftware-suit-sgrid-view/ibizsoftware-suit-sgrid-view.vue'));
Vue.component('ibizorder-bar-chart-view', () => import('@pages/sample/ibizorder-bar-chart-view/ibizorder-bar-chart-view.vue')); Vue.component('ibizorder-bar-chart-view', () => import('@pages/sample/ibizorder-bar-chart-view/ibizorder-bar-chart-view.vue'));
Vue.component('ibizsample0003-stree-exp-view2', () => import('@pages/sample/ibizsample0003-stree-exp-view2/ibizsample0003-stree-exp-view2.vue')); Vue.component('ibizsample0003-stree-exp-view2', () => import('@pages/sample/ibizsample0003-stree-exp-view2/ibizsample0003-stree-exp-view2.vue'));
Vue.component('ibizbookusr2-grid-view', () => import('@pages/sample/ibizbookusr2-grid-view/ibizbookusr2-grid-view.vue'));
Vue.component('ibizsample0001-sf2-edit-view', () => import('@pages/sample/ibizsample0001-sf2-edit-view/ibizsample0001-sf2-edit-view.vue')); Vue.component('ibizsample0001-sf2-edit-view', () => import('@pages/sample/ibizsample0001-sf2-edit-view/ibizsample0001-sf2-edit-view.vue'));
Vue.component('ibizorder-detail-sf2-edit-view', () => import('@pages/sample/ibizorder-detail-sf2-edit-view/ibizorder-detail-sf2-edit-view.vue')); Vue.component('ibizorder-detail-sf2-edit-view', () => import('@pages/sample/ibizorder-detail-sf2-edit-view/ibizorder-detail-sf2-edit-view.vue'));
Vue.component('ibizbooknew-default-value-grid-view', () => import('@pages/sample/ibizbooknew-default-value-grid-view/ibizbooknew-default-value-grid-view.vue')); Vue.component('ibizbooknew-default-value-grid-view', () => import('@pages/sample/ibizbooknew-default-value-grid-view/ibizbooknew-default-value-grid-view.vue'));
...@@ -80,8 +81,8 @@ export const PageComponents = { ...@@ -80,8 +81,8 @@ export const PageComponents = {
Vue.component('ibizorder-detail-f6-grid-view', () => import('@pages/sample/ibizorder-detail-f6-grid-view/ibizorder-detail-f6-grid-view.vue')); Vue.component('ibizorder-detail-f6-grid-view', () => import('@pages/sample/ibizorder-detail-f6-grid-view/ibizorder-detail-f6-grid-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('ibizsample0003-stree-exp-view', () => import('@pages/sample/ibizsample0003-stree-exp-view/ibizsample0003-stree-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'));
Vue.component('ibizsample0003-stree-exp-view', () => import('@pages/sample/ibizsample0003-stree-exp-view/ibizsample0003-stree-exp-view.vue'));
Vue.component('ibizsoftware-suit-grid-view9', () => import('@pages/sample/ibizsoftware-suit-grid-view9/ibizsoftware-suit-grid-view9.vue')); Vue.component('ibizsoftware-suit-grid-view9', () => import('@pages/sample/ibizsoftware-suit-grid-view9/ibizsoftware-suit-grid-view9.vue'));
Vue.component('ibizorder-sf6-grid-view', () => import('@pages/sample/ibizorder-sf6-grid-view/ibizorder-sf6-grid-view.vue')); Vue.component('ibizorder-sf6-grid-view', () => import('@pages/sample/ibizorder-sf6-grid-view/ibizorder-sf6-grid-view.vue'));
Vue.component('ibizorder-detail-edit-view', () => import('@pages/sample/ibizorder-detail-edit-view/ibizorder-detail-edit-view.vue')); Vue.component('ibizorder-detail-edit-view', () => import('@pages/sample/ibizorder-detail-edit-view/ibizorder-detail-edit-view.vue'));
......
...@@ -219,6 +219,20 @@ const router = new Router({ ...@@ -219,6 +219,20 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizsample0003-stree-exp-view2/ibizsample0003-stree-exp-view2.vue'), component: () => import('@pages/sample/ibizsample0003-stree-exp-view2/ibizsample0003-stree-exp-view2.vue'),
}, },
{
path: 'ibizbooks/:ibizbook?/usr2gridview/:usr2gridview?',
meta: {
caption: 'entities.ibizbook.views.usr2gridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr2gridview', parameterName: 'usr2gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr2-grid-view/ibizbookusr2-grid-view.vue'),
},
{ {
path: 'ibizsample0002s/:ibizsample0002?/ibizsample0001s/:ibizsample0001?/sf2editview/:sf2editview?', path: 'ibizsample0002s/:ibizsample0002?/ibizsample0001s/:ibizsample0001?/sf2editview/:sf2editview?',
meta: { meta: {
...@@ -1201,32 +1215,32 @@ const router = new Router({ ...@@ -1201,32 +1215,32 @@ const router = new Router({
component: () => import('@pages/sample/ibizsample0003-f4-tree-exp-view/ibizsample0003-f4-tree-exp-view.vue'), component: () => import('@pages/sample/ibizsample0003-f4-tree-exp-view/ibizsample0003-f4-tree-exp-view.vue'),
}, },
{ {
path: 'ibizsample0003s/:ibizsample0003?/streeexpview/:streeexpview?', path: 'ibizorders/:ibizorder?/f10editview/:f10editview?',
meta: { meta: {
caption: 'entities.ibizsample0003.views.streeexpview.caption', caption: 'entities.ibizorder.views.f10editview.caption',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'index', parameterName: 'index' }, { pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' }, { pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'streeexpview', parameterName: 'streeexpview' }, { pathName: 'f10editview', parameterName: 'f10editview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/sample/ibizsample0003-stree-exp-view/ibizsample0003-stree-exp-view.vue'), component: () => import('@pages/sample/ibizorder-f10-edit-view/ibizorder-f10-edit-view.vue'),
}, },
{ {
path: 'ibizorders/:ibizorder?/f10editview/:f10editview?', path: 'ibizsample0003s/:ibizsample0003?/streeexpview/:streeexpview?',
meta: { meta: {
caption: 'entities.ibizorder.views.f10editview.caption', caption: 'entities.ibizsample0003.views.streeexpview.caption',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'index', parameterName: 'index' }, { pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' }, { pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
{ pathName: 'f10editview', parameterName: 'f10editview' }, { pathName: 'streeexpview', parameterName: 'streeexpview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/sample/ibizorder-f10-edit-view/ibizorder-f10-edit-view.vue'), component: () => import('@pages/sample/ibizsample0003-stree-exp-view/ibizsample0003-stree-exp-view.vue'),
}, },
{ {
path: 'ibizsoftwaresuits/:ibizsoftwaresuit?/gridview9/:gridview9?', path: 'ibizsoftwaresuits/:ibizsoftwaresuit?/gridview9/:gridview9?',
...@@ -2128,6 +2142,19 @@ const router = new Router({ ...@@ -2128,6 +2142,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizsample0018-edit-view/ibizsample0018-edit-view.vue'), component: () => import('@pages/sample/ibizsample0018-edit-view/ibizsample0018-edit-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/usr2gridview/:usr2gridview?',
meta: {
caption: 'entities.ibizbook.views.usr2gridview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr2gridview', parameterName: 'usr2gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr2-grid-view/ibizbookusr2-grid-view.vue'),
},
{ {
path: '/ibizorders/:ibizorder?/seditview3/:seditview3?', path: '/ibizorders/:ibizorder?/seditview3/:seditview3?',
meta: { meta: {
......
...@@ -176,6 +176,7 @@ export const viewstate: any = { ...@@ -176,6 +176,7 @@ export const viewstate: any = {
'7d37165f2f535b4a6d2116188fe83d18', '7d37165f2f535b4a6d2116188fe83d18',
'f94df735642ce85ebb2fe3816c4dc77b', 'f94df735642ce85ebb2fe3816c4dc77b',
'ac9add3724d90fba46e7298ac051fa5f', 'ac9add3724d90fba46e7298ac051fa5f',
'39e841c85d9bbfc7ecf009c4202dbf0c',
'16b68282950fb352dfe27e94bda47304', '16b68282950fb352dfe27e94bda47304',
'658d519f1868979431e7e0da5d967e6b', '658d519f1868979431e7e0da5d967e6b',
'59c5d311d09a7f68f8b6962ca652374a', '59c5d311d09a7f68f8b6962ca652374a',
...@@ -353,6 +354,16 @@ export const viewstate: any = { ...@@ -353,6 +354,16 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: '39e841c85d9bbfc7ecf009c4202dbf0c',
viewmodule: 'Sample',
viewname: 'IBIZBOOKUsr2GridView',
viewaction: '',
viewdatachange: false,
refviews: [
'b3429ecc4d89a02bc5f5279f1bd7f620',
],
},
{ {
viewtag: '3bbf72a3e5b59fed0dee362a9b1384a8', viewtag: '3bbf72a3e5b59fed0dee362a9b1384a8',
viewmodule: 'Sample', viewmodule: 'Sample',
......
...@@ -96,6 +96,7 @@ export default class IBIZBOOKUIServiceBase extends UIService { ...@@ -96,6 +96,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
* @memberof IBIZBOOKUIServiceBase * @memberof IBIZBOOKUIServiceBase
*/ */
public initViewMap(){ public initViewMap(){
this.allViewMap.set(':',{viewname:'usr2gridview',srfappde:'ibizbooks',component:'ibizbookusr2-grid-view'});
this.allViewMap.set(':',{viewname:'valuerulesgridview',srfappde:'ibizbooks',component:'ibizbookvalue-rules-grid-view'}); this.allViewMap.set(':',{viewname:'valuerulesgridview',srfappde:'ibizbooks',component:'ibizbookvalue-rules-grid-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'ibizbooks',component:'ibizbookedit-view'}); this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'ibizbooks',component:'ibizbookedit-view'});
this.allViewMap.set(':',{viewname:'roweditgridview',srfappde:'ibizbooks',component:'ibizbookrow-edit-grid-view'}); this.allViewMap.set(':',{viewname:'roweditgridview',srfappde:'ibizbooks',component:'ibizbookrow-edit-grid-view'});
......
...@@ -551,6 +551,9 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -551,6 +551,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'Auto213': case 'Auto213':
this.clickAuto213(item); this.clickAuto213(item);
return; return;
case 'AppFunc7':
this.clickAppFunc7(item);
return;
case 'Auto415': case 'Auto415':
this.clickAuto415(item); this.clickAuto415(item);
return; return;
...@@ -963,6 +966,29 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -963,6 +966,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}) })
} }
/**
* 功能名称
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc7(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr2gridview', parameterName: 'usr2gridview' },
];
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);
})
}
/** /**
* 常规导航 * 常规导航
* *
......
...@@ -549,6 +549,25 @@ export default class MainMenuModel { ...@@ -549,6 +549,25 @@ export default class MainMenuModel {
appfunctag: 'AppFunc6', appfunctag: 'AppFunc6',
resourcetag: '', resourcetag: '',
authtag:'Web-MainMenu-menuitem77', authtag:'Web-MainMenu-menuitem77',
},
{
id: 'DDCC0C0A-3A1C-4579-86DB-6727CFB46E04',
name: 'menuitem78',
text: '表格分组',
type: 'MENUITEM',
counterid: '',
tooltip: '表格分组',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc7',
resourcetag: '',
authtag:'Web-MainMenu-menuitem78',
}, },
], ],
}, },
......
/**
* Main2 部件模型
*
* @export
* @class Main2Model
*/
export default class Main2Model {
/**
* 是否是实体数据导出
*
* @returns {any[]}
* @memberof Main2GridMode
*/
public isDEExport: boolean = false;
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Main2GridMode
*/
public getDataItems(): any[] {
if(this.isDEExport){
return [
]
}else{
return [
{
name: 'author',
prop: 'author',
dataType: 'TEXT',
},
{
name: 'press',
prop: 'press',
dataType: 'TEXT',
},
{
name: 'ibizbookname',
prop: 'ibizbookname',
dataType: 'TEXT',
},
{
name: 'price',
prop: 'price',
dataType: 'CURRENCY',
},
{
name: 'ibizbookid',
prop: 'ibizbookid',
dataType: 'GUID',
},
{
name: 'type',
prop: 'type',
dataType: 'TEXT',
},
{
name: 'srfmajortext',
prop: 'ibizbookname',
dataType: 'TEXT',
},
{
name: 'srfdataaccaction',
prop: 'ibizbookid',
dataType: 'GUID',
},
{
name: 'srfkey',
prop: 'ibizbookid',
dataType: 'GUID',
isEditable:true
},
{
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',
},
]
}
}
}
\ No newline at end of file
.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 Main2Base from './main2-grid-base.vue';
@Component({
components: {
}
})
export default class Main2 extends Main2Base {
}
</script>
\ No newline at end of file
...@@ -8,9 +8,9 @@ import java.util.List; ...@@ -8,9 +8,9 @@ import java.util.List;
public interface IBIZOrderImport { public interface IBIZOrderImport {
@Mappings({ @Mappings({
@Mapping(target = "ibizorderid", source = "ibizorderid"), @Mapping(target = "ibizorderid", source = "ibizorderid"),
@Mapping(target = "ibizordername", source = "ibizordername"),
@Mapping(target = "ordertype", source = "ordertype"), @Mapping(target = "ordertype", source = "ordertype"),
@Mapping(target = "ordertime", source = "ordertime"), @Mapping(target = "ordertime", source = "ordertime"),
@Mapping(target = "ibizordername", source = "ibizordername"),
@Mapping(target = "orderuid", source = "orderuid"), @Mapping(target = "orderuid", source = "orderuid"),
}) })
@BeanMapping(ignoreByDefault = true) @BeanMapping(ignoreByDefault = true)
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-91-2"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-97-2">
<createTable tableName="T_IBIZBOOK"> <createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
......
...@@ -302,7 +302,7 @@ ...@@ -302,7 +302,7 @@
{ {
"appid":"Web", "appid":"Web",
"appname":"演示应用", "appname":"演示应用",
"appmenu":[{"menuid":"MainMenu", "menuname":"MainMenu", "menuitem":[{ "id":"menuitem1" , "name":"工作台" },{ "id":"menuitem3" , "name":"控件" , "items":[{ "id":"menuitem6" , "name":"默认数据类型" },{ "id":"menuitem7" , "name":"默认编辑器类型" },{ "id":"menuitem15" , "name":"基础表单项" },{ "id":"menuitem72" , "name":"编辑器扩展" }]},{ "id":"menuitem4" , "name":"部件" , "items":[{ "id":"menuitem12" , "name":"编辑表单" , "items":[{ "id":"menuitem47" , "name":"默认值" },{ "id":"menuitem48" , "name":"输入提示" },{ "id":"menuitem49" , "name":"辅助输入" },{ "id":"menuitem50" , "name":"自动填充" },{ "id":"menuitem51" , "name":"超链接" },{ "id":"menuitem52" , "name":"值重置" },{ "id":"menuitem55" , "name":"动态显示" },{ "id":"menuitem53" , "name":"动态启用" },{ "id":"menuitem54" , "name":"动态空输入" },{ "id":"menuitem56" , "name":"表单项更新" }]},{ "id":"menuitem16" , "name":"搜索表单" },{ "id":"menuitem13" , "name":"表格" , "items":[{ "id":"menuitem57" , "name":"禁用排序" },{ "id":"menuitem59" , "name":"行操作" },{ "id":"menuitem58" , "name":"行编辑" },{ "id":"menuitem73" , "name":"表格内置功能" },{ "id":"menuitem74" , "name":"行编辑" },{ "id":"menuitem75" , "name":"新建默认值" },{ "id":"menuitem76" , "name":"更新默认值" },{ "id":"menuitem77" , "name":"表格值规则" }]},{ "id":"menuitem14" , "name":"树视图" , "items":[{ "id":"menuitem60" , "name":"静态节点" },{ "id":"menuitem61" , "name":"动态节点(代码表)" },{ "id":"menuitem62" , "name":"动态节点(实体)" },{ "id":"menuitem63" , "name":"右键操作" },{ "id":"menuitem64" , "name":"动态参数过滤" }]},{ "id":"menuitem37" , "name":"图表" , "items":[{ "id":"menuitem38" , "name":"柱状图" },{ "id":"menuitem39" , "name":"折线图" },{ "id":"menuitem40" , "name":"饼图" },{ "id":"menuitem41" , "name":"区域图" },{ "id":"menuitem42" , "name":"雷达图" },{ "id":"menuitem43" , "name":"仪表盘" },{ "id":"menuitem44" , "name":"K线图" }]},{ "id":"menuitem17" , "name":"向导" },{ "id":"menuitem18" , "name":"界面行为" , "items":[{ "id":"menuitem65" , "name":"前端界面行为" },{ "id":"menuitem66" , "name":"后台界面行为" }]}]},{ "id":"menuitem5" , "name":"视图" , "items":[{ "id":"menuitem9" , "name":"列表视图" , "items":[{ "id":"menuitem19" , "name":"常规表格视图" },{ "id":"menuitem21" , "name":"左右表格视图" },{ "id":"menuitem20" , "name":"嵌入表格视图" }]},{ "id":"menuitem8" , "name":"编辑视图" , "items":[{ "id":"menuitem22" , "name":"常规编辑视图" },{ "id":"menuitem23" , "name":"左右编辑视图" },{ "id":"menuitem24" , "name":"分页编辑视图" },{ "id":"menuitem25" , "name":"嵌入编辑视图" }]},{ "id":"menuitem26" , "name":"选择视图" , "items":[{ "id":"menuitem27" , "name":"单选视图" },{ "id":"menuitem28" , "name":"多选视图" },{ "id":"menuitem29" , "name":"树形选择视图" },{ "id":"menuitem30" , "name":"左右单选视图" },{ "id":"menuitem31" , "name":"左右多选视图" }]},{ "id":"menuitem10" , "name":"导航视图" , "items":[{ "id":"menuitem32" , "name":"常规导航视图" },{ "id":"menuitem33" , "name":"分页导航视图" },{ "id":"menuitem34" , "name":"嵌入导航视图" }]},{ "id":"menuitem11" , "name":"其他视图" , "items":[{ "id":"menuitem35" , "name":"图表视图" },{ "id":"menuitem36" , "name":"报表视图" }]}]},{ "id":"menuitem69" , "name":"工作流" },{ "id":"menuitem2" , "name":"更多" , "items":[{ "id":"menuitem46" , "name":"数据导出导入" },{ "id":"menuitem45" , "name":"数据打印" },{ "id":"menuitem67" , "name":"索引实体" },{ "id":"menuitem68" , "name":"继承实体" },{ "id":"menuitem70" , "name":"主状态" },{ "id":"menuitem71" , "name":"多表单" }]}] }] "appmenu":[{"menuid":"MainMenu", "menuname":"MainMenu", "menuitem":[{ "id":"menuitem1" , "name":"工作台" },{ "id":"menuitem3" , "name":"控件" , "items":[{ "id":"menuitem6" , "name":"默认数据类型" },{ "id":"menuitem7" , "name":"默认编辑器类型" },{ "id":"menuitem15" , "name":"基础表单项" },{ "id":"menuitem72" , "name":"编辑器扩展" }]},{ "id":"menuitem4" , "name":"部件" , "items":[{ "id":"menuitem12" , "name":"编辑表单" , "items":[{ "id":"menuitem47" , "name":"默认值" },{ "id":"menuitem48" , "name":"输入提示" },{ "id":"menuitem49" , "name":"辅助输入" },{ "id":"menuitem50" , "name":"自动填充" },{ "id":"menuitem51" , "name":"超链接" },{ "id":"menuitem52" , "name":"值重置" },{ "id":"menuitem55" , "name":"动态显示" },{ "id":"menuitem53" , "name":"动态启用" },{ "id":"menuitem54" , "name":"动态空输入" },{ "id":"menuitem56" , "name":"表单项更新" }]},{ "id":"menuitem16" , "name":"搜索表单" },{ "id":"menuitem13" , "name":"表格" , "items":[{ "id":"menuitem57" , "name":"禁用排序" },{ "id":"menuitem59" , "name":"行操作" },{ "id":"menuitem58" , "name":"行编辑" },{ "id":"menuitem73" , "name":"表格内置功能" },{ "id":"menuitem74" , "name":"行编辑" },{ "id":"menuitem75" , "name":"新建默认值" },{ "id":"menuitem76" , "name":"更新默认值" },{ "id":"menuitem77" , "name":"表格值规则" },{ "id":"menuitem78" , "name":"表格分组" }]},{ "id":"menuitem14" , "name":"树视图" , "items":[{ "id":"menuitem60" , "name":"静态节点" },{ "id":"menuitem61" , "name":"动态节点(代码表)" },{ "id":"menuitem62" , "name":"动态节点(实体)" },{ "id":"menuitem63" , "name":"右键操作" },{ "id":"menuitem64" , "name":"动态参数过滤" }]},{ "id":"menuitem37" , "name":"图表" , "items":[{ "id":"menuitem38" , "name":"柱状图" },{ "id":"menuitem39" , "name":"折线图" },{ "id":"menuitem40" , "name":"饼图" },{ "id":"menuitem41" , "name":"区域图" },{ "id":"menuitem42" , "name":"雷达图" },{ "id":"menuitem43" , "name":"仪表盘" },{ "id":"menuitem44" , "name":"K线图" }]},{ "id":"menuitem17" , "name":"向导" },{ "id":"menuitem18" , "name":"界面行为" , "items":[{ "id":"menuitem65" , "name":"前端界面行为" },{ "id":"menuitem66" , "name":"后台界面行为" }]}]},{ "id":"menuitem5" , "name":"视图" , "items":[{ "id":"menuitem9" , "name":"列表视图" , "items":[{ "id":"menuitem19" , "name":"常规表格视图" },{ "id":"menuitem21" , "name":"左右表格视图" },{ "id":"menuitem20" , "name":"嵌入表格视图" }]},{ "id":"menuitem8" , "name":"编辑视图" , "items":[{ "id":"menuitem22" , "name":"常规编辑视图" },{ "id":"menuitem23" , "name":"左右编辑视图" },{ "id":"menuitem24" , "name":"分页编辑视图" },{ "id":"menuitem25" , "name":"嵌入编辑视图" }]},{ "id":"menuitem26" , "name":"选择视图" , "items":[{ "id":"menuitem27" , "name":"单选视图" },{ "id":"menuitem28" , "name":"多选视图" },{ "id":"menuitem29" , "name":"树形选择视图" },{ "id":"menuitem30" , "name":"左右单选视图" },{ "id":"menuitem31" , "name":"左右多选视图" }]},{ "id":"menuitem10" , "name":"导航视图" , "items":[{ "id":"menuitem32" , "name":"常规导航视图" },{ "id":"menuitem33" , "name":"分页导航视图" },{ "id":"menuitem34" , "name":"嵌入导航视图" }]},{ "id":"menuitem11" , "name":"其他视图" , "items":[{ "id":"menuitem35" , "name":"图表视图" },{ "id":"menuitem36" , "name":"报表视图" }]}]},{ "id":"menuitem69" , "name":"工作流" },{ "id":"menuitem2" , "name":"更多" , "items":[{ "id":"menuitem46" , "name":"数据导出导入" },{ "id":"menuitem45" , "name":"数据打印" },{ "id":"menuitem67" , "name":"索引实体" },{ "id":"menuitem68" , "name":"继承实体" },{ "id":"menuitem70" , "name":"主状态" },{ "id":"menuitem71" , "name":"多表单" }]}] }]
} }
] ]
} }
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册