业务支持-知识分享-列宽可拖拽
This commit is contained in:
+13
-5
@@ -60,6 +60,7 @@
|
|||||||
</a-form>
|
</a-form>
|
||||||
</div>
|
</div>
|
||||||
<a-table
|
<a-table
|
||||||
|
:components="drag(columns,'columns')"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:rowKey="(record)=>JSON.stringify(record)"
|
:rowKey="(record)=>JSON.stringify(record)"
|
||||||
:scroll="{x: 1200}"
|
:scroll="{x: 1200}"
|
||||||
@@ -93,6 +94,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import { getAction, postAction } from '@/api/manage'
|
import { getAction, postAction } from '@/api/manage'
|
||||||
import globalAdvancedQuery from '@/components/globalAdvancedQuery/index'
|
import globalAdvancedQuery from '@/components/globalAdvancedQuery/index'
|
||||||
|
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'listAddModel',
|
name: 'listAddModel',
|
||||||
@@ -100,6 +102,7 @@
|
|||||||
globalAdvancedQuery
|
globalAdvancedQuery
|
||||||
},
|
},
|
||||||
props: ['url'],
|
props: ['url'],
|
||||||
|
mixins:[ResizeHeader, ResizeColumnProvide],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
toggleSearchStatus: false,
|
toggleSearchStatus: false,
|
||||||
@@ -113,31 +116,36 @@
|
|||||||
title: this.$t('standard'),
|
title: this.$t('standard'),
|
||||||
dataIndex: 'serial_number',
|
dataIndex: 'serial_number',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
ellipsis: true
|
ellipsis: true,
|
||||||
|
width: 228
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('title'),
|
title: this.$t('title'),
|
||||||
dataIndex: 'title',
|
dataIndex: 'title',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
ellipsis: true
|
ellipsis: true,
|
||||||
|
width: 228
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('zoneOfApplication'),
|
title: this.$t('zoneOfApplication'),
|
||||||
dataIndex: 'region',
|
dataIndex: 'region',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
ellipsis: true
|
ellipsis: true,
|
||||||
|
width: 228
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('ImplementationDate'),
|
title: this.$t('ImplementationDate'),
|
||||||
dataIndex: 'xin1_che1_xing2_shi2_shi1_ri4_qi1',
|
dataIndex: 'xin1_che1_xing2_shi2_shi1_ri4_qi1',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
ellipsis: true
|
ellipsis: true,
|
||||||
|
width: 228
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('vehicleInProductionDate'),
|
title: this.$t('vehicleInProductionDate'),
|
||||||
dataIndex: 'implement_time',
|
dataIndex: 'implement_time',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
ellipsis: true
|
ellipsis: true,
|
||||||
|
width: 228
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
dataList: [],
|
dataList: [],
|
||||||
|
|||||||
+1
-1
@@ -674,7 +674,7 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
@import '~@assets/less/common.less';
|
@import'~@assets/less/common.less';
|
||||||
|
|
||||||
.doc-detail {
|
.doc-detail {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|||||||
Reference in New Issue
Block a user