|
@@ -141,6 +141,7 @@
|
|
|
rowKey="id"
|
|
|
:dataSource="dataSource"
|
|
|
:pagination="ipagination"
|
|
|
+ :scroll="{ x: 1500,y:200 }"
|
|
|
:loading="loading"
|
|
|
@change="handleTableChange"
|
|
|
:columns="selectedColumns"
|
|
@@ -635,7 +636,7 @@ export default {
|
|
|
},
|
|
|
getSubstring(e){
|
|
|
// this.ellipsis(e,l)
|
|
|
- return <j-ellipsis value={e} length='5' />
|
|
|
+ // return <j-ellipsis value={e} length='5' />
|
|
|
// <j-ellipsis value={e} length={l} />
|
|
|
},
|
|
|
handleMenuClick_comm(e) {
|
|
@@ -647,7 +648,8 @@ export default {
|
|
|
this.visible = false
|
|
|
if (this.checkedColumn.length > 0) {
|
|
|
let selectedColumns = this.tableColumns.map(item => {
|
|
|
- item.customRender=this.getSubstring;
|
|
|
+ item.width=200
|
|
|
+ // item.customRender=this.getSubstring;
|
|
|
//判断是否页面临时处理字段
|
|
|
let isscopedSlots = '1'
|
|
|
if (item.scopedSlots) {
|
|
@@ -866,7 +868,8 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
this.selectedColumns.map(item=>{
|
|
|
- item.customRender=this.getSubstring;
|
|
|
+ item.width=200
|
|
|
+ // item.customRender=this.getSubstring;
|
|
|
})
|
|
|
})
|
|
|
//加载数据 若传入参数1则加载第一页的内容
|