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

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

上级 88f2f530
...@@ -519,6 +519,14 @@ ...@@ -519,6 +519,14 @@
"viewname": "IBIZSample0017F20EditView", "viewname": "IBIZSample0017F20EditView",
"viewtag": "9147f210be1f0751245496a40be86fad" "viewtag": "9147f210be1f0751245496a40be86fad"
}, },
"ibizsample0015pickupgridview": {
"title": "项目选择表格视图",
"caption": "项目",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZSample0015PickupGridView",
"viewtag": "9ca3b289765416a9d9f35ab0ead5a954"
},
"ibizsample0014gridview": { "ibizsample0014gridview": {
"title": "员工表格视图", "title": "员工表格视图",
"caption": "员工", "caption": "员工",
......
...@@ -10,4 +10,28 @@ export default { ...@@ -10,4 +10,28 @@ export default {
updateman: "更新人", updateman: "更新人",
ibizsample0015id: "项目标识", ibizsample0015id: "项目标识",
}, },
views: {
pickupgridview: {
caption: "项目",
title: "项目选择表格视图",
},
},
main_grid: {
columns: {
sn: "项目编号",
ibizsample0015name: "项目名称",
updateman: "更新人",
updatedate: "更新时间",
},
nodata:"",
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "",
},
uiactions: {
},
},
}; };
\ No newline at end of file
...@@ -9,4 +9,28 @@ export default { ...@@ -9,4 +9,28 @@ export default {
updateman: "更新人", updateman: "更新人",
ibizsample0015id: "项目标识", ibizsample0015id: "项目标识",
}, },
views: {
pickupgridview: {
caption: "项目",
title: "项目选择表格视图",
},
},
main_grid: {
columns: {
sn: "项目编号",
ibizsample0015name: "项目名称",
updateman: "更新人",
updatedate: "更新时间",
},
nodata:"",
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "",
},
uiactions: {
},
},
}; };
\ No newline at end of file
...@@ -527,6 +527,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -527,6 +527,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZSample0017F20EditView", "viewname": "IBIZSample0017F20EditView",
"viewtag": "9147f210be1f0751245496a40be86fad" "viewtag": "9147f210be1f0751245496a40be86fad"
}, },
"ibizsample0015pickupgridview": {
"title": "项目选择表格视图",
"caption": "项目",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZSample0015PickupGridView",
"viewtag": "9ca3b289765416a9d9f35ab0ead5a954"
},
"ibizsample0014gridview": { "ibizsample0014gridview": {
"title": "员工表格视图", "title": "员工表格视图",
"caption": "员工", "caption": "员工",
......
.ibizsample0015-pickup-grid-view{
position: relative;
}
.ibizsample0015-pickup-grid-view{
display: block;
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZSample0015PickupGridViewBase from './ibizsample0015-pickup-grid-view-base.vue';
import view_grid from '@widgets/ibizsample0015/main-grid/main-grid.vue';
import view_searchform from '@widgets/ibizsample0015/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 IBIZSample0015PickupGridView extends IBIZSample0015PickupGridViewBase {
}
</script>
\ No newline at end of file
...@@ -22,6 +22,7 @@ export const PageComponents = { ...@@ -22,6 +22,7 @@ export const PageComponents = {
Vue.component('ibizorder-sf4-grid-view', () => import('@pages/sample/ibizorder-sf4-grid-view/ibizorder-sf4-grid-view.vue')); Vue.component('ibizorder-sf4-grid-view', () => import('@pages/sample/ibizorder-sf4-grid-view/ibizorder-sf4-grid-view.vue'));
Vue.component('ibizsample0003-grid-view', () => import('@pages/sample/ibizsample0003-grid-view/ibizsample0003-grid-view.vue')); Vue.component('ibizsample0003-grid-view', () => import('@pages/sample/ibizsample0003-grid-view/ibizsample0003-grid-view.vue'));
Vue.component('ibizsample0003-sf4-edit-view', () => import('@pages/sample/ibizsample0003-sf4-edit-view/ibizsample0003-sf4-edit-view.vue')); Vue.component('ibizsample0003-sf4-edit-view', () => import('@pages/sample/ibizsample0003-sf4-edit-view/ibizsample0003-sf4-edit-view.vue'));
Vue.component('ibizsample0015-pickup-grid-view', () => import('@pages/sample/ibizsample0015-pickup-grid-view/ibizsample0015-pickup-grid-view.vue'));
Vue.component('ibizorder-sf1-grid-view', () => import('@pages/sample/ibizorder-sf1-grid-view/ibizorder-sf1-grid-view.vue')); 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-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('ibizsample0003-pickup-view', () => import('@pages/sample/ibizsample0003-pickup-view/ibizsample0003-pickup-view.vue'));
......
...@@ -373,6 +373,20 @@ const router = new Router({ ...@@ -373,6 +373,20 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizsample0003-sf4-edit-view/ibizsample0003-sf4-edit-view.vue'), component: () => import('@pages/sample/ibizsample0003-sf4-edit-view/ibizsample0003-sf4-edit-view.vue'),
}, },
{
path: 'ibizsample0015s/:ibizsample0015?/pickupgridview/:pickupgridview?',
meta: {
caption: 'entities.ibizsample0015.views.pickupgridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizsample0015s', parameterName: 'ibizsample0015' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0015-pickup-grid-view/ibizsample0015-pickup-grid-view.vue'),
},
{ {
path: 'ibizorders/:ibizorder?/sf1gridview/:sf1gridview?', path: 'ibizorders/:ibizorder?/sf1gridview/:sf1gridview?',
meta: { meta: {
...@@ -2483,6 +2497,19 @@ const router = new Router({ ...@@ -2483,6 +2497,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizsample0017-f20-edit-view/ibizsample0017-f20-edit-view.vue'), component: () => import('@pages/sample/ibizsample0017-f20-edit-view/ibizsample0017-f20-edit-view.vue'),
}, },
{
path: '/ibizsample0015s/:ibizsample0015?/pickupgridview/:pickupgridview?',
meta: {
caption: 'entities.ibizsample0015.views.pickupgridview.caption',
info:'',
parameters: [
{ pathName: 'ibizsample0015s', parameterName: 'ibizsample0015' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0015-pickup-grid-view/ibizsample0015-pickup-grid-view.vue'),
},
{ {
path: '/ibizsample0014s/:ibizsample0014?/gridview/:gridview?', path: '/ibizsample0014s/:ibizsample0014?/gridview/:gridview?',
meta: { meta: {
......
...@@ -53,6 +53,7 @@ export const viewstate: any = { ...@@ -53,6 +53,7 @@ export const viewstate: any = {
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'03c54f13883f56a08229c1a2db6a283f', '03c54f13883f56a08229c1a2db6a283f',
'9ca3b289765416a9d9f35ab0ead5a954',
'ca4d303820103b229490282d1d850702', 'ca4d303820103b229490282d1d850702',
'3169df07474ba775203f9635eb0e9b9a', '3169df07474ba775203f9635eb0e9b9a',
], ],
...@@ -702,6 +703,15 @@ export const viewstate: any = { ...@@ -702,6 +703,15 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: '9ca3b289765416a9d9f35ab0ead5a954',
viewmodule: 'Sample',
viewname: 'IBIZSample0015PickupGridView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: '9d52aff477cf38e1d92ac24cd4a08c20', viewtag: '9d52aff477cf38e1d92ac24cd4a08c20',
viewmodule: 'Sample', viewmodule: 'Sample',
......
...@@ -96,6 +96,7 @@ export default class IBIZSample0015UIServiceBase extends UIService { ...@@ -96,6 +96,7 @@ export default class IBIZSample0015UIServiceBase extends UIService {
* @memberof IBIZSample0015UIServiceBase * @memberof IBIZSample0015UIServiceBase
*/ */
public initViewMap(){ public initViewMap(){
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'ibizsample0015s',component:'ibizsample0015-pickup-grid-view'});
} }
/** /**
......
...@@ -250,6 +250,25 @@ ...@@ -250,6 +250,25 @@
<i-col v-show="detailsModel.f24.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.f24.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='f24' :itemRules="this.rules().f24" class='' :caption="$t('entities.ibizsample0001.main4_form.details.f24')" uiStyle="DEFAULT" :labelWidth="200" :isShowCaption="true" :error="detailsModel.f24.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='f24' :itemRules="this.rules().f24" class='' :caption="$t('entities.ibizsample0001.main4_form.details.f24')" uiStyle="DEFAULT" :labelWidth="200" :isShowCaption="true" :error="detailsModel.f24.error" :isEmptyCaption="false" labelPos="LEFT">
<app-picker
:formState="formState"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.f24.disabled"
name='f24'
:service="service"
:acParams="{ }"
valueitem='formitem'
:value="data.f24"
editortype=""
:pickupView="{ viewname: 'ibizsample0015-pickup-grid-view', title: $t('entities.ibizsample0015.views.pickupgridview.title'), deResParameters: [], parameters: [{ pathName: 'ibizsample0015s', parameterName: 'ibizsample0015' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item> </app-form-item>
...@@ -257,6 +276,25 @@ ...@@ -257,6 +276,25 @@
<i-col v-show="detailsModel.f25.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.f25.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='f25' :itemRules="this.rules().f25" class='' :caption="$t('entities.ibizsample0001.main4_form.details.f25')" uiStyle="DEFAULT" :labelWidth="200" :isShowCaption="true" :error="detailsModel.f25.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='f25' :itemRules="this.rules().f25" class='' :caption="$t('entities.ibizsample0001.main4_form.details.f25')" uiStyle="DEFAULT" :labelWidth="200" :isShowCaption="true" :error="detailsModel.f25.error" :isEmptyCaption="false" labelPos="LEFT">
<app-picker
:formState="formState"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.f25.disabled"
name='f25'
:service="service"
:acParams="{ }"
valueitem='formitem'
:value="data.f25"
editortype=""
:pickupView="{ viewname: 'ibizsample0015-pickup-grid-view', title: $t('entities.ibizsample0015.views.pickupgridview.title'), deResParameters: [], parameters: [{ pathName: 'ibizsample0015s', parameterName: 'ibizsample0015' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' } ], placement:'' }"
:linkview="{ viewname: 'IBIZOrderTypePickupView', title: $t('entities.ibizordertype.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'ibizordertypes', parameterName: 'ibizordertype' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], width: 0, height: 0, placement: '', isRedirectView: false }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item> </app-form-item>
...@@ -264,6 +302,22 @@ ...@@ -264,6 +302,22 @@
<i-col v-show="detailsModel.f26.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.f26.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='f26' :itemRules="this.rules().f26" class='' :caption="$t('entities.ibizsample0001.main4_form.details.f26')" uiStyle="DEFAULT" :labelWidth="200" :isShowCaption="true" :error="detailsModel.f26.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='f26' :itemRules="this.rules().f26" class='' :caption="$t('entities.ibizsample0001.main4_form.details.f26')" uiStyle="DEFAULT" :labelWidth="200" :isShowCaption="true" :error="detailsModel.f26.error" :isEmptyCaption="false" labelPos="LEFT">
<app-picker
:formState="formState"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.f26.disabled"
name='f26'
valueitem='formitem'
:value="data.f26"
editortype="pickup-no-ac"
:pickupView="{ viewname: 'ibizsample0015-pickup-grid-view', title: $t('entities.ibizsample0015.views.pickupgridview.title'), deResParameters: [], parameters: [{ pathName: 'ibizsample0015s', parameterName: 'ibizsample0015' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item> </app-form-item>
...@@ -271,6 +325,23 @@ ...@@ -271,6 +325,23 @@
<i-col v-show="detailsModel.f27.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.f27.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='f27' :itemRules="this.rules().f27" class='' :caption="$t('entities.ibizsample0001.main4_form.details.f27')" uiStyle="DEFAULT" :labelWidth="200" :isShowCaption="true" :error="detailsModel.f27.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='f27' :itemRules="this.rules().f27" class='' :caption="$t('entities.ibizsample0001.main4_form.details.f27')" uiStyle="DEFAULT" :labelWidth="200" :isShowCaption="true" :error="detailsModel.f27.error" :isEmptyCaption="false" labelPos="LEFT">
<app-picker
:formState="formState"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.f27.disabled"
name='f27'
valueitem='formitem'
:value="data.f27"
editortype="pickup-no-ac"
:pickupView="{ viewname: 'ibizsample0015-pickup-grid-view', title: $t('entities.ibizsample0015.views.pickupgridview.title'), deResParameters: [], parameters: [{ pathName: 'ibizsample0015s', parameterName: 'ibizsample0015' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' } ], placement:'' }"
:linkview="{ viewname: 'IBIZSample0013PickupView', title: $t('entities.ibizsample0013.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'ibizsample0013s', parameterName: 'ibizsample0013' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], width: 0, height: 0, placement: '', isRedirectView: false }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item> </app-form-item>
...@@ -303,6 +374,25 @@ ...@@ -303,6 +374,25 @@
<i-col v-show="detailsModel.f29.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.f29.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='f29' :itemRules="this.rules().f29" class='' :caption="$t('entities.ibizsample0001.main4_form.details.f29')" uiStyle="DEFAULT" :labelWidth="200" :isShowCaption="true" :error="detailsModel.f29.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='f29' :itemRules="this.rules().f29" class='' :caption="$t('entities.ibizsample0001.main4_form.details.f29')" uiStyle="DEFAULT" :labelWidth="200" :isShowCaption="true" :error="detailsModel.f29.error" :isEmptyCaption="false" labelPos="LEFT">
<app-picker
:formState="formState"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.f29.disabled"
name='f29'
:service="service"
:acParams="{ }"
valueitem='formitem'
:value="data.f29"
editortype=""
:pickupView="{ viewname: 'ibizsample0015-pickup-grid-view', title: $t('entities.ibizsample0015.views.pickupgridview.title'), deResParameters: [], parameters: [{ pathName: 'ibizsample0015s', parameterName: 'ibizsample0015' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' } ], placement:'' }"
:linkview="{ viewname: 'IBIZSample0017PickupView', title: $t('entities.ibizsample0017.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'ibizsample0017s', parameterName: 'ibizsample0017' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], width: 0, height: 0, placement: '', isRedirectView: false }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item> </app-form-item>
......
/**
* Default 部件模型
*
* @export
* @class DefaultModel
*/
export default class DefaultModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof DefaultModel
*/
public getDataItems(): any[] {
return [
{
name: 'srfwfmemo',
prop: 'srfwfmemo',
dataType: 'TEXT',
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
]
}
}
\ No newline at end of file
.ivu-tabs-no-animation>.ivu-tabs-content{
padding: 0 16px;
}
.ivu-card-head{
padding: 14px 0;
}
.app-search-form {
padding: 8px 14px 0;
.ivu-form-item{
margin-bottom: 8px;
}
.search_reset {
margin-right: 12px;
margin-bottom: 8px;
}
.search-button{
text-align: right;
}
}
.app-search-form-flex {
height: 100%;
> .ivu-row {
height: 100%;
> .ivu-tabs {
height: 100%;
display: flex;
flex-direction: column;
> .ivu-tabs-content {
flex-grow: 1;
overflow: auto;
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
}
}
.app-tabpanel-flex {
height: 100%;
> .ivu-tabs-content {
height: calc(100% - 52px);
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import DefaultBase from './default-searchform-base.vue';
@Component({
components: {
}
})
export default class Default extends DefaultBase {
}
</script>
\ No newline at end of file
/**
* Main 部件模型
*
* @export
* @class MainModel
*/
export default class MainModel {
/**
* 是否是实体数据导出
*
* @returns {any[]}
* @memberof MainGridMode
*/
public isDEExport: boolean = false;
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof MainGridMode
*/
public getDataItems(): any[] {
if(this.isDEExport){
return [
]
}else{
return [
{
name: 'ibizsample0015id',
prop: 'ibizsample0015id',
dataType: 'GUID',
},
{
name: 'sn',
prop: 'sn',
dataType: 'TEXT',
},
{
name: 'updateman',
prop: 'updateman',
dataType: 'TEXT',
},
{
name: 'ibizsample0015name',
prop: 'ibizsample0015name',
dataType: 'TEXT',
},
{
name: 'updatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{
name: 'srfmajortext',
prop: 'ibizsample0015name',
dataType: 'TEXT',
},
{
name: 'srfdataaccaction',
prop: 'ibizsample0015id',
dataType: 'GUID',
},
{
name: 'srfkey',
prop: 'ibizsample0015id',
dataType: 'GUID',
isEditable:true
},
{
name: 'ibizsample0015',
prop: 'ibizsample0015id',
},
{
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 MainBase from './main-grid-base.vue';
@Component({
components: {
}
})
export default class Main extends MainBase {
}
</script>
\ No newline at end of file
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
<!--输出实体[IBIZORDER]数据结构 --> <!--输出实体[IBIZORDER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-30-8"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-37-8">
<createTable tableName="T_IBIZORDER"> <createTable tableName="T_IBIZORDER">
<column name="TP" remarks="" type="TEXT(1048576)"> <column name="TP" remarks="" type="TEXT(1048576)">
</column> </column>
...@@ -316,7 +316,7 @@ ...@@ -316,7 +316,7 @@
<!--输出实体[IBIZSAMPLE0001]数据结构 --> <!--输出实体[IBIZSAMPLE0001]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0001-43-13"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0001-52-13">
<createTable tableName="T_IBIZSAMPLE0001"> <createTable tableName="T_IBIZSAMPLE0001">
<column name="FIELD01" remarks="" type="VARCHAR(100)"> <column name="FIELD01" remarks="" type="VARCHAR(100)">
</column> </column>
...@@ -390,7 +390,7 @@ ...@@ -390,7 +390,7 @@
<!--输出实体[IBIZSAMPLE0002]数据结构 --> <!--输出实体[IBIZSAMPLE0002]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0002-4-14"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0002-5-14">
<createTable tableName="T_IBIZSAMPLE0002"> <createTable tableName="T_IBIZSAMPLE0002">
<column name="DE" remarks="" type="VARCHAR(100)"> <column name="DE" remarks="" type="VARCHAR(100)">
</column> </column>
...@@ -784,7 +784,7 @@ ...@@ -784,7 +784,7 @@
<!--输出实体[IBIZSAMPLE0015]数据结构 --> <!--输出实体[IBIZSAMPLE0015]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0015-4-27"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0015-5-27">
<createTable tableName="T_IBIZSAMPLE0015"> <createTable tableName="T_IBIZSAMPLE0015">
<column name="CREATEDATE" remarks="" type="DATETIME"> <column name="CREATEDATE" remarks="" type="DATETIME">
</column> </column>
...@@ -1057,7 +1057,7 @@ ...@@ -1057,7 +1057,7 @@
<!--输出实体[IBIZQJ]外键关系 --> <!--输出实体[IBIZQJ]外键关系 -->
<!--输出实体[IBIZSAMPLE]外键关系 --> <!--输出实体[IBIZSAMPLE]外键关系 -->
<!--输出实体[IBIZSAMPLE0001]外键关系 --> <!--输出实体[IBIZSAMPLE0001]外键关系 -->
<changeSet author="a_LAB01_df847bdfd" id="fk-ibizsample0001-43-38"> <changeSet author="a_LAB01_df847bdfd" id="fk-ibizsample0001-52-38">
<addForeignKeyConstraint baseColumnNames="IBIZSAMPLE0002ID" baseTableName="T_IBIZSAMPLE0001" constraintName="DER1N_IBIZSAMPLE0001_IBIZSAMPL" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="IBIZSAMPLE0002ID" referencedTableName="T_IBIZSAMPLE0002" validate="true"/> <addForeignKeyConstraint baseColumnNames="IBIZSAMPLE0002ID" baseTableName="T_IBIZSAMPLE0001" constraintName="DER1N_IBIZSAMPLE0001_IBIZSAMPL" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="IBIZSAMPLE0002ID" referencedTableName="T_IBIZSAMPLE0002" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[IBIZSAMPLE0002]外键关系 --> <!--输出实体[IBIZSAMPLE0002]外键关系 -->
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-30-8" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-37-8" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDER"> <createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDER">
<![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]> <![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]>
</createView> </createView>
...@@ -67,13 +67,13 @@ ...@@ -67,13 +67,13 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZSAMPLE0001]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZSAMPLE0001]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0001-43-13" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0001-52-13" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0001"> <createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0001">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[FIELD01], t1.[FIELD02], t1.[FIELD05], t1.[FIELD06], t1.[FIELD07], t1.[FIELD08], t1.[FIELD09], t1.[FIELD10], t1.[FIELD11], t1.[FIELD12], t1.[FIELD13], t1.[FIELD14], t1.[FIELD15], t1.[FIELD16], t1.[FIELD17], t1.[FIELD18], t1.[FIELD19], t1.[FIELD20], t1.[FIELD21], t1.[FIELD22], t1.[FIELD23], t1.[FIELD24], t1.[FIELD25], t1.[FIELD26], t1.[FIELD27], t1.[IBIZSAMPLE0001ID], t1.[IBIZSAMPLE0001NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0001] t1 ]]> <![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[FIELD01], t1.[FIELD02], t1.[FIELD05], t1.[FIELD06], t1.[FIELD07], t1.[FIELD08], t1.[FIELD09], t1.[FIELD10], t1.[FIELD11], t1.[FIELD12], t1.[FIELD13], t1.[FIELD14], t1.[FIELD15], t1.[FIELD16], t1.[FIELD17], t1.[FIELD18], t1.[FIELD19], t1.[FIELD20], t1.[FIELD21], t1.[FIELD22], t1.[FIELD23], t1.[FIELD24], t1.[FIELD25], t1.[FIELD26], t1.[FIELD27], t1.[IBIZSAMPLE0001ID], t1.[IBIZSAMPLE0001NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0001] t1 ]]>
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZSAMPLE0002]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZSAMPLE0002]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0002-4-14" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0002-5-14" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0002"> <createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0002">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[DE], t1.[DENUM], t1.[IBIZSAMPLE0002ID], t1.[IBIZSAMPLE0002NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0002] t1 ]]> <![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[DE], t1.[DENUM], t1.[IBIZSAMPLE0002ID], t1.[IBIZSAMPLE0002NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0002] t1 ]]>
</createView> </createView>
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZSAMPLE0015]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZSAMPLE0015]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0015-4-27" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0015-5-27" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0015"> <createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0015">
<![CDATA[ SELECT t1.[CONTENT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZSAMPLE0015ID], t1.[IBIZSAMPLE0015NAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0015] t1 ]]> <![CDATA[ SELECT t1.[CONTENT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZSAMPLE0015ID], t1.[IBIZSAMPLE0015NAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0015] t1 ]]>
</createView> </createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册