认证管理-参数模板管理-列宽可拖拽
This commit is contained in:
@@ -52,6 +52,7 @@
|
||||
size="middle"
|
||||
:loading="loading"
|
||||
:pagination="false"
|
||||
:components="drag(columns,'columns')"
|
||||
:scroll="{x: '100%',y:'calc(100vh - 130px)'}"
|
||||
rowKey="id"
|
||||
:data-source="dataSource"
|
||||
@@ -120,11 +121,14 @@ import axios from 'axios'
|
||||
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
||||
import eventBUs from '../../../common/event'
|
||||
import Vue from 'vue'
|
||||
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
||||
|
||||
export default {
|
||||
name: 'index',
|
||||
components: {
|
||||
addModel,
|
||||
},
|
||||
mixins:[ResizeHeader, ResizeColumnProvide],
|
||||
data() {
|
||||
return {
|
||||
token:Vue.ls.get(ACCESS_TOKEN),
|
||||
@@ -180,6 +184,7 @@ export default {
|
||||
ellipsis: true,
|
||||
dataIndex: 'description',
|
||||
// scopedSlots: { customRender: 'titleName' }
|
||||
width: 192
|
||||
},
|
||||
// {
|
||||
// title: this.$t('zoneOfApplication'),
|
||||
@@ -535,4 +540,8 @@ export default {
|
||||
::v-deep .ant-table-body {
|
||||
background: transparent!important;
|
||||
}
|
||||
|
||||
::v-deep .ant-table-placeholder{
|
||||
margin-top: 8px !important;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user