修改上传文件组件
This commit is contained in:
@@ -66,8 +66,8 @@
|
||||
columns: [],
|
||||
selectedRowKeys: [],
|
||||
dataSource: [],
|
||||
pageNo: '1',
|
||||
pageSize: '10',
|
||||
pageNo: 1,
|
||||
pageSize: 10,
|
||||
total: 0,
|
||||
searchParmes: {},
|
||||
loading: false
|
||||
@@ -102,7 +102,7 @@
|
||||
})
|
||||
})
|
||||
let width
|
||||
if (this.OperationList.length > 0){
|
||||
if (this.OperationList.length > 0) {
|
||||
width = this.OperationList.length * 55
|
||||
}
|
||||
if (this.showAction) {
|
||||
@@ -118,10 +118,12 @@
|
||||
})
|
||||
},
|
||||
getTableList() {
|
||||
let pageNo = JSON.parse(JSON.stringify(this.pageNo))
|
||||
let pageSize = JSON.parse(JSON.stringify(this.pageSize))
|
||||
let params = {
|
||||
...this.searchParmes,
|
||||
pageNo: this.pageNo,
|
||||
pageSize: this.pageSize
|
||||
pageNo: pageNo + '',
|
||||
pageSize: pageSize + ''
|
||||
}
|
||||
this.loading = true
|
||||
postAction(this.url.tableList, params).then((res) => {
|
||||
@@ -133,11 +135,11 @@
|
||||
})
|
||||
},
|
||||
onChange(page, pageSize) {
|
||||
this.pageNo = page+''
|
||||
this.pageNo = page
|
||||
this.getTableList()
|
||||
},
|
||||
SizeChange(page, pageSize) {
|
||||
this.pageSize = pageSize+''
|
||||
this.pageSize = pageSize
|
||||
this.getTableList()
|
||||
},
|
||||
onSelectChange() {
|
||||
|
||||
Reference in New Issue
Block a user