参数项列表-列宽可拖拽
This commit is contained in:
@@ -70,6 +70,7 @@
|
||||
<a-table
|
||||
ref="table"
|
||||
size="middle"
|
||||
:components="drag(columns,'columns')"
|
||||
:loading="loading"
|
||||
:pagination="false"
|
||||
:scroll="{x: '100%',y:'calc(100vh - 130px)'}"
|
||||
@@ -113,12 +114,15 @@ import axios from 'axios'
|
||||
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
||||
import ImportFileOnlyList from '@/components/ImportFileOnlyList/index'
|
||||
import Vue from 'vue'
|
||||
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
||||
|
||||
export default {
|
||||
name: 'index',
|
||||
components: {
|
||||
addModel,
|
||||
ImportFileOnlyList
|
||||
},
|
||||
mixins:[ResizeHeader, ResizeColumnProvide],
|
||||
data() {
|
||||
return {
|
||||
certCategoryParamsInfoEOList: [],
|
||||
@@ -174,6 +178,7 @@ export default {
|
||||
align: 'left',
|
||||
dataIndex: 'description',
|
||||
ellipsis: true,
|
||||
width: 180,
|
||||
// scopedSlots: { customRender: 'titleName' }
|
||||
},
|
||||
{
|
||||
@@ -518,4 +523,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