文档工具-文档对比-发起对比-列宽可拖拽
This commit is contained in:
+17
-5
@@ -45,6 +45,7 @@
|
|||||||
<a-table
|
<a-table
|
||||||
ref="table"
|
ref="table"
|
||||||
size="middle"
|
size="middle"
|
||||||
|
:components="drag(columns,'columns')"
|
||||||
:loading="loadingLeft"
|
:loading="loadingLeft"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:scroll="{x: '100%',y:340}"
|
:scroll="{x: '100%',y:340}"
|
||||||
@@ -111,6 +112,7 @@
|
|||||||
<a-table
|
<a-table
|
||||||
ref="table"
|
ref="table"
|
||||||
size="middle"
|
size="middle"
|
||||||
|
:components="drag(columns,'columns')"
|
||||||
:loading="loadingRight"
|
:loading="loadingRight"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:scroll="{x: '100%',y:340}"
|
:scroll="{x: '100%',y:340}"
|
||||||
@@ -174,9 +176,11 @@
|
|||||||
import { getAction, postAction, deleteAction ,downloadFile} from '@/api/manage'
|
import { getAction, postAction, deleteAction ,downloadFile} from '@/api/manage'
|
||||||
import { Base64 } from 'js-base64'
|
import { Base64 } from 'js-base64'
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
|
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'initiateDocumentComparison',
|
name: 'initiateDocumentComparison',
|
||||||
|
mixins:[ResizeHeader, ResizeColumnProvide],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
loading: false,
|
loading: false,
|
||||||
@@ -219,25 +223,29 @@
|
|||||||
title: this.$t('standard'),
|
title: this.$t('standard'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
dataIndex: 'serialNumber'
|
dataIndex: 'serialNumber',
|
||||||
|
width: 79
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('title'),
|
title: this.$t('title'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
dataIndex: 'title'
|
dataIndex: 'title',
|
||||||
|
width: 79
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('TextStatus'),
|
title: this.$t('TextStatus'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
dataIndex: 'fileType'
|
dataIndex: 'fileType',
|
||||||
|
width: 79
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('fileName'),
|
title: this.$t('fileName'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
dataIndex: 'fileName'
|
dataIndex: 'fileName',
|
||||||
|
width: 79
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
dataSourceLeft: [],
|
dataSourceLeft: [],
|
||||||
@@ -434,7 +442,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@assets/less/common.less';
|
@import'~@assets/less/common.less';
|
||||||
|
|
||||||
.doc-detail {
|
.doc-detail {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
@@ -611,4 +619,8 @@
|
|||||||
color: #040B29;
|
color: #040B29;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::v-deep .ant-table-placeholder{
|
||||||
|
margin-top: 8px !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user