avg nuclide 页面的table列表增加loading效果
This commit is contained in:
parent
3e845fff6c
commit
20f52d06e1
|
@ -180,13 +180,15 @@ export default {
|
||||||
},
|
},
|
||||||
moment,
|
moment,
|
||||||
getNuclideAvgList() {
|
getNuclideAvgList() {
|
||||||
|
this.loading = true
|
||||||
let params = {
|
let params = {
|
||||||
startDate:this.queryParams.startDate,
|
startDate:this.queryParams.startDate,
|
||||||
endDate:this.queryParams.endDate,
|
endDate:this.queryParams.endDate,
|
||||||
pageNo: this.ipagination.current,
|
pageNo: this.ipagination.current,
|
||||||
pageSize: this.ipagination.pageSize
|
pageSize: this.ipagination.pageSize
|
||||||
}
|
}
|
||||||
getAction("/nuclideAvg/findPage",params).then(res => {
|
getAction("/nuclideAvg/findPage", params).then(res => {
|
||||||
|
this.loading = false
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.dataSource = res.result.records
|
this.dataSource = res.result.records
|
||||||
this.ipagination.total = res.result.total
|
this.ipagination.total = res.result.total
|
||||||
|
|
Loading…
Reference in New Issue
Block a user