修改请求
This commit is contained in:
@@ -101,11 +101,16 @@
|
|||||||
ellipsis: true
|
ellipsis: true
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
let width
|
||||||
|
if (this.OperationList.length > 0){
|
||||||
|
width = this.OperationList.length * 55
|
||||||
|
}
|
||||||
if (this.showAction) {
|
if (this.showAction) {
|
||||||
this.columns.push({
|
this.columns.push({
|
||||||
title: '操作',
|
title: '操作',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
|
width: width,
|
||||||
scopedSlots: { customRender: 'operation' }
|
scopedSlots: { customRender: 'operation' }
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -119,7 +124,7 @@
|
|||||||
pageSize: this.pageSize
|
pageSize: this.pageSize
|
||||||
}
|
}
|
||||||
this.loading = true
|
this.loading = true
|
||||||
getAction(this.url.tableList, params).then((res) => {
|
postAction(this.url.tableList, params).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.dataSource = res.result.records
|
this.dataSource = res.result.records
|
||||||
this.total = res.result.total
|
this.total = res.result.total
|
||||||
|
|||||||
Reference in New Issue
Block a user