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

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

上级 735e1943
......@@ -1239,6 +1239,14 @@
"viewname": "IBIZOrderSGridView2",
"viewtag": "e7441fa67d425df343d996c745fb5d6b"
},
"ibizbookgridexpview": {
"title": "图书表格导航视图",
"caption": "图书",
"viewtype": "DEGRIDEXPVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKGridExpView",
"viewtag": "e8777dd0c1ad16060fed5e7ed2380cc7"
},
"ibizbookganttview": {
"title": "图书甘特视图",
"caption": "图书",
......
......@@ -284,6 +284,7 @@ export default {
menuitem103: "产品示例数据补充",
menuitem106: "示例实体03示例数据补充",
menuitem113: "订单类型添加",
menuitem124: "示例实体01数据补充",
},
},
formpage:{
......
......@@ -284,6 +284,7 @@ export default {
menuitem103: "产品示例数据补充",
menuitem106: "示例实体03示例数据补充",
menuitem113: "订单类型添加",
menuitem124: "示例实体01数据补充",
},
},
formpage:{
......
......@@ -130,6 +130,10 @@ export default {
caption: "图书",
title: "图书表格视图(更新默认值)",
},
gridexpview: {
caption: "图书",
title: "图书表格导航视图",
},
ganttview: {
caption: "图书",
title: "图书甘特视图",
......@@ -367,6 +371,13 @@ export default {
uiactions: {
},
},
gridexpbar_grid_grid: {
columns: {
},
nodata:"",
uiactions: {
},
},
groupbycodelistlist_list: {
nodata:"",
uiactions: {
......
......@@ -129,6 +129,10 @@ export default {
caption: "图书",
title: "图书表格视图(更新默认值)",
},
gridexpview: {
caption: "图书",
title: "图书表格导航视图",
},
ganttview: {
caption: "图书",
title: "图书甘特视图",
......@@ -366,6 +370,13 @@ export default {
uiactions: {
},
},
gridexpbar_grid_grid: {
columns: {
},
nodata:"",
uiactions: {
},
},
groupbycodelistlist_list: {
nodata:"",
uiactions: {
......
......@@ -463,10 +463,10 @@ export default {
tip: "数据导入",
},
},
usr2editviewtoolbar_toolbar: {
},
usr3gridviewtoolbar_toolbar: {
},
usr2editviewtoolbar_toolbar: {
},
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
......
......@@ -462,10 +462,10 @@ export default {
tip: "数据导入",
},
},
usr2editviewtoolbar_toolbar: {
},
usr3gridviewtoolbar_toolbar: {
},
usr2editviewtoolbar_toolbar: {
},
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "新建",
......
......@@ -2231,6 +2231,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '',
appfunctag: 'AppFunc34',
resourcetag: '',
},
{
id: '4D5C20EF-7277-450F-9EA6-448D0A9D3F84',
name: 'menuitem124',
text: '示例实体01数据补充',
type: 'MENUITEM',
counterid: '',
tooltip: '示例实体01数据补充',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc44',
resourcetag: '',
},
],
},
......
......@@ -1247,6 +1247,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZOrderSGridView2",
"viewtag": "e7441fa67d425df343d996c745fb5d6b"
},
"ibizbookgridexpview": {
"title": "图书表格导航视图",
"caption": "图书",
"viewtype": "DEGRIDEXPVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKGridExpView",
"viewtag": "e8777dd0c1ad16060fed5e7ed2380cc7"
},
"ibizbookganttview": {
"title": "图书甘特视图",
"caption": "图书",
......
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.ibizsample0001-usr2-edit-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 IBIZSample0001Usr2EditViewBase from './ibizsample0001-usr2-edit-view-base.vue';
import view_form from '@widgets/ibizsample0001/main3-2-form/main3-2-form.vue';
@Component({
components: {
view_form,
},
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 IBIZSample0001Usr2EditView extends IBIZSample0001Usr2EditViewBase {
}
</script>
\ No newline at end of file
.ibizsample0001-usr3-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 IBIZSample0001Usr3GridViewBase from './ibizsample0001-usr3-grid-view-base.vue';
import view_grid from '@widgets/ibizsample0001/main2-grid/main2-grid.vue';
import view_searchform from '@widgets/ibizsample0001/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 IBIZSample0001Usr3GridView extends IBIZSample0001Usr3GridViewBase {
}
</script>
\ No newline at end of file
......@@ -6,8 +6,8 @@ export const PageComponents = {
Vue.component('ibizorder-detail-sedit-view9', () => import('@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'));
Vue.component('ibizorder-detail-smedit-view9', () => import('@pages/sample/ibizorder-detail-smedit-view9/ibizorder-detail-smedit-view9.vue'));
Vue.component('ibizsample0003-edit-view', () => import('@pages/sample/ibizsample0003-edit-view/ibizsample0003-edit-view.vue'));
Vue.component('ibizorder-sgrid-view', () => import('@pages/sample/ibizorder-sgrid-view/ibizorder-sgrid-view.vue'));
Vue.component('ibizuniproduct-pickup-view', () => import('@pages/sample/ibizuniproduct-pickup-view/ibizuniproduct-pickup-view.vue'));
Vue.component('ibizorder-sgrid-view', () => import('@pages/sample/ibizorder-sgrid-view/ibizorder-sgrid-view.vue'));
Vue.component('ibizsample0001-sf4-edit-view', () => import('@pages/sample/ibizsample0001-sf4-edit-view/ibizsample0001-sf4-edit-view.vue'));
Vue.component('ibizsoftware-suit-sgrid-view', () => import('@pages/sample/ibizsoftware-suit-sgrid-view/ibizsoftware-suit-sgrid-view.vue'));
Vue.component('ibizsample0002-edit-view', () => import('@pages/sample/ibizsample0002-edit-view/ibizsample0002-edit-view.vue'));
......@@ -35,6 +35,7 @@ export const PageComponents = {
Vue.component('ibizorder-sf1-grid-view', () => import('@pages/sample/ibizorder-sf1-grid-view/ibizorder-sf1-grid-view.vue'));
Vue.component('ibizsample0003-pickup-grid-view', () => import('@pages/sample/ibizsample0003-pickup-grid-view/ibizsample0003-pickup-grid-view.vue'));
Vue.component('ibizsample0003-pickup-view', () => import('@pages/sample/ibizsample0003-pickup-view/ibizsample0003-pickup-view.vue'));
Vue.component('ibizsample0001-usr2-edit-view', () => import('@pages/sample/ibizsample0001-usr2-edit-view/ibizsample0001-usr2-edit-view.vue'));
Vue.component('ibizhardware-sgrid-view', () => import('@pages/sample/ibizhardware-sgrid-view/ibizhardware-sgrid-view.vue'));
Vue.component('ibizsample0017-form-pickup-data-view', () => import('@pages/sample/ibizsample0017-form-pickup-data-view/ibizsample0017-form-pickup-data-view.vue'));
Vue.component('ibizorder-sf5-grid-view', () => import('@pages/sample/ibizorder-sf5-grid-view/ibizorder-sf5-grid-view.vue'));
......@@ -94,6 +95,7 @@ export const PageComponents = {
Vue.component('ibizorder-f9-edit-view', () => import('@pages/sample/ibizorder-f9-edit-view/ibizorder-f9-edit-view.vue'));
Vue.component('ibizbookrules-edit-view', () => import('@pages/sample/ibizbookrules-edit-view/ibizbookrules-edit-view.vue'));
Vue.component('ibizorder-detail-f6-grid-view', () => import('@pages/sample/ibizorder-detail-f6-grid-view/ibizorder-detail-f6-grid-view.vue'));
Vue.component('ibizsample0001-usr3-grid-view', () => import('@pages/sample/ibizsample0001-usr3-grid-view/ibizsample0001-usr3-grid-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('ibizorder-f10-edit-view', () => import('@pages/sample/ibizorder-f10-edit-view/ibizorder-f10-edit-view.vue'));
......
......@@ -150,32 +150,32 @@ const router = new Router({
component: () => import('@pages/sample/ibizsample0003-edit-view/ibizsample0003-edit-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/sgridview/:sgridview?',
path: 'ibizuniproducts/:ibizuniproduct?/pickupview/:pickupview?',
meta: {
caption: 'entities.ibizorder.views.sgridview.caption',
caption: 'entities.ibizuniproduct.views.pickupview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'sgridview', parameterName: 'sgridview' },
{ pathName: 'ibizuniproducts', parameterName: 'ibizuniproduct' },
{ pathName: 'pickupview', parameterName: 'pickupview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-sgrid-view/ibizorder-sgrid-view.vue'),
component: () => import('@pages/sample/ibizuniproduct-pickup-view/ibizuniproduct-pickup-view.vue'),
},
{
path: 'ibizuniproducts/:ibizuniproduct?/pickupview/:pickupview?',
path: 'ibizorders/:ibizorder?/sgridview/:sgridview?',
meta: {
caption: 'entities.ibizuniproduct.views.pickupview.caption',
caption: 'entities.ibizorder.views.sgridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizuniproducts', parameterName: 'ibizuniproduct' },
{ pathName: 'pickupview', parameterName: 'pickupview' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'sgridview', parameterName: 'sgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizuniproduct-pickup-view/ibizuniproduct-pickup-view.vue'),
component: () => import('@pages/sample/ibizorder-sgrid-view/ibizorder-sgrid-view.vue'),
},
{
path: 'ibizsample0002s/:ibizsample0002?/ibizsample0001s/:ibizsample0001?/sf4editview/:sf4editview?',
......@@ -585,6 +585,35 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizsample0003-pickup-view/ibizsample0003-pickup-view.vue'),
},
{
path: 'ibizsample0002s/:ibizsample0002?/ibizsample0001s/:ibizsample0001?/usr2editview/:usr2editview?',
meta: {
caption: 'entities.ibizsample0001.views.usr2editview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizsample0002s', parameterName: 'ibizsample0002' },
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'usr2editview', parameterName: 'usr2editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-usr2-edit-view/ibizsample0001-usr2-edit-view.vue'),
},
{
path: 'ibizsample0001s/:ibizsample0001?/usr2editview/:usr2editview?',
meta: {
caption: 'entities.ibizsample0001.views.usr2editview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'usr2editview', parameterName: 'usr2editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-usr2-edit-view/ibizsample0001-usr2-edit-view.vue'),
},
{
path: 'ibizhardwares/:ibizhardware?/sgridview/:sgridview?',
meta: {
......@@ -1426,6 +1455,35 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-detail-f6-grid-view/ibizorder-detail-f6-grid-view.vue'),
},
{
path: 'ibizsample0002s/:ibizsample0002?/ibizsample0001s/:ibizsample0001?/usr3gridview/:usr3gridview?',
meta: {
caption: 'entities.ibizsample0001.views.usr3gridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizsample0002s', parameterName: 'ibizsample0002' },
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'usr3gridview', parameterName: 'usr3gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-usr3-grid-view/ibizsample0001-usr3-grid-view.vue'),
},
{
path: 'ibizsample0001s/:ibizsample0001?/usr3gridview/:usr3gridview?',
meta: {
caption: 'entities.ibizsample0001.views.usr3gridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'usr3gridview', parameterName: 'usr3gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-usr3-grid-view/ibizsample0001-usr3-grid-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/wfstartview/:wfstartview?',
meta: {
......@@ -2490,6 +2548,33 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizsample0014-edit-view/ibizsample0014-edit-view.vue'),
},
{
path: '/ibizsample0002s/:ibizsample0002?/ibizsample0001s/:ibizsample0001?/usr2editview/:usr2editview?',
meta: {
caption: 'entities.ibizsample0001.views.usr2editview.caption',
info:'',
parameters: [
{ pathName: 'ibizsample0002s', parameterName: 'ibizsample0002' },
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'usr2editview', parameterName: 'usr2editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-usr2-edit-view/ibizsample0001-usr2-edit-view.vue'),
},
{
path: '/ibizsample0001s/:ibizsample0001?/usr2editview/:usr2editview?',
meta: {
caption: 'entities.ibizsample0001.views.usr2editview.caption',
info:'',
parameters: [
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'usr2editview', parameterName: 'usr2editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-usr2-edit-view/ibizsample0001-usr2-edit-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/wfstartview/:wfstartview?',
meta: {
......@@ -3311,6 +3396,33 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizhardware-sgrid-view/ibizhardware-sgrid-view.vue'),
},
{
path: '/ibizsample0002s/:ibizsample0002?/ibizsample0001s/:ibizsample0001?/usr3gridview/:usr3gridview?',
meta: {
caption: 'entities.ibizsample0001.views.usr3gridview.caption',
info:'',
parameters: [
{ pathName: 'ibizsample0002s', parameterName: 'ibizsample0002' },
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'usr3gridview', parameterName: 'usr3gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-usr3-grid-view/ibizsample0001-usr3-grid-view.vue'),
},
{
path: '/ibizsample0001s/:ibizsample0001?/usr3gridview/:usr3gridview?',
meta: {
caption: 'entities.ibizsample0001.views.usr3gridview.caption',
info:'',
parameters: [
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'usr3gridview', parameterName: 'usr3gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-usr3-grid-view/ibizsample0001-usr3-grid-view.vue'),
},
{
path: '/ibizsample0017s/:ibizsample0017?/f20editview/:f20editview?',
meta: {
......
......@@ -204,6 +204,7 @@ export const viewstate: any = {
'703686dd4e6aa6f55aca5d92c00d9ee3',
'2bf74d5d66fa6d8d38b21b090586529b',
'16b68282950fb352dfe27e94bda47304',
'8d1205a914564cbd528cadc3963c2905',
'658d519f1868979431e7e0da5d967e6b',
'59c5d311d09a7f68f8b6962ca652374a',
'8a3f2cc88421d9f07cbb53dd78e11495',
......@@ -282,6 +283,16 @@ export const viewstate: any = {
'2acfa7c67cff5b1f6fc0d46f6a1c06bf',
],
},
{
viewtag: '1ea6cf1eb27a534fccbcd00675a9fa40',
viewmodule: 'Sample',
viewname: 'IBIZSample0001Usr2EditView',
viewaction: '',
viewdatachange: false,
refviews: [
'581e6727bc5983c238cc9990ba5fdcac',
],
},
{
viewtag: '2640aa1ca02649c8831b43023d449945',
viewmodule: 'Sample',
......@@ -893,6 +904,16 @@ export const viewstate: any = {
'75f6b59b25762a8faf7c795e94370834',
],
},
{
viewtag: '8d1205a914564cbd528cadc3963c2905',
viewmodule: 'Sample',
viewname: 'IBIZSample0001Usr3GridView',
viewaction: '',
viewdatachange: false,
refviews: [
'1ea6cf1eb27a534fccbcd00675a9fa40',
],
},
{
viewtag: '9147f210be1f0751245496a40be86fad',
viewmodule: 'Sample',
......
......@@ -124,6 +124,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'interfunceditview',srfappde:'ibizbooks',component:'ibizbookinter-func-edit-view'});
this.allViewMap.set(':',{viewname:'usr3dataview',srfappde:'ibizbooks',component:'ibizbookusr3-data-view'});
this.allViewMap.set(':',{viewname:'updatedefaultgridview',srfappde:'ibizbooks',component:'ibizbookupdate-default-grid-view'});
this.allViewMap.set(':',{viewname:'gridexpview',srfappde:'ibizbooks',component:'ibizbookgrid-exp-view'});
this.allViewMap.set(':',{viewname:'ganttview',srfappde:'ibizbooks',component:'ibizbookgantt-view'});
this.allViewMap.set(':',{viewname:'usr2dataview',srfappde:'ibizbooks',component:'ibizbookusr2-data-view'});
this.allViewMap.set(':',{viewname:'groupbycodelistlistview',srfappde:'ibizbooks',component:'ibizbookgroup-by-codelist-list-view'});
......
......@@ -518,6 +518,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'Auto308':
this.clickAuto308(item);
return;
case 'AppFunc44':
this.clickAppFunc44(item);
return;
case 'AppFunc33':
this.clickAppFunc33(item);
return;
......@@ -815,6 +818,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 示例实体01数据补充
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc44(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'usr3gridview', parameterName: 'usr3gridview' },
];
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);
})
}
/**
* 功能名称
*
......
......@@ -2356,6 +2356,25 @@ export default class MainMenuModel {
appfunctag: 'AppFunc34',
resourcetag: '',
authtag:'Web-MainMenu-menuitem113',
},
{
id: '4D5C20EF-7277-450F-9EA6-448D0A9D3F84',
name: 'menuitem124',
text: '示例实体01数据补充',
type: 'MENUITEM',
counterid: '',
tooltip: '示例实体01数据补充',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc44',
resourcetag: '',
authtag:'Web-MainMenu-menuitem124',
},
],
},
......
......@@ -626,7 +626,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001Usr2GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001Usr3GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -662,7 +662,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001Usr2GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001Usr3GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
/**
* 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: 'field',
prop: 'field',
dataType: 'BIGINT',
},
{
name: 'ibizsample0002id',
prop: 'ibizsample0002id',
dataType: 'PICKUP',
},
{
name: 'address',
prop: 'address',
dataType: 'TEXT',
},
{
name: 'createdate',
prop: 'createdate',
dataType: 'DATETIME',
},
{
name: 'field01',
prop: 'field01',
dataType: 'TEXT',
},
{
name: 'ibizsample0001id',
prop: 'ibizsample0001id',
dataType: 'GUID',
},
{
name: 'createman',
prop: 'createman',
dataType: 'TEXT',
},
{
name: 'srfmajortext',
prop: 'ibizsample0001name',
dataType: 'TEXT',
},
{
name: 'srfdataaccaction',
prop: 'ibizsample0001id',
dataType: 'GUID',
},
{
name: 'srfkey',
prop: 'ibizsample0001id',
dataType: 'GUID',
isEditable:true
},
{
name: 'field02',
prop: 'field02',
dataType: 'LONGTEXT_1000',
},
{
name: 'field03',
prop: 'field03',
dataType: 'LONGTEXT',
},
{
name: 'ibizsample0001',
prop: 'ibizsample0001id',
},
{
name: 'n_ibizsample0001name_like',
prop: 'n_ibizsample0001name_like',
dataType: 'QUERYPARAM'
},
{
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
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册