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