参数导出模板管理-调整列宽

This commit is contained in:
刘彦泽
2023-01-13 10:52:00 +08:00
parent 7c47ab70d8
commit 9c9f5f1cf3
@@ -46,6 +46,7 @@
<a-table
ref="table"
size="middle"
:components="drag(columns,'columns')"
:loading="loading"
:pagination="false"
:scroll="{x: '100%',y:'calc(100vh - 160px)'}"
@@ -114,11 +115,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),
@@ -166,7 +170,7 @@ export default {
dataIndex: 'templateName',
sorter:true,
ellipsis: true,
width: 300,
width: 201,
scopedSlots: { customRender: 'templateName' }
},
{
@@ -174,7 +178,7 @@ export default {
align: 'left',
dataIndex: 'description',
ellipsis: true,
width: 300,
width: 192,
scopedSlots: { customRender: 'projectName' }
},
{