列表页面table组件,查询时增加loading效果
This commit is contained in:
		
							parent
							
								
									27a9e836f5
								
							
						
					
					
						commit
						8089bd3ad7
					
				|  | @ -166,6 +166,7 @@ export default { | |||
|     }, | ||||
|     searchQueryData() { | ||||
|       this.isImmediate = false | ||||
|       this.loading = true | ||||
|       // this.queryParam = { | ||||
|       //   dataType: "S", | ||||
|       //   startTime: "2023-05-01", | ||||
|  | @ -178,6 +179,7 @@ export default { | |||
|         pageSize: 10 | ||||
|       } | ||||
|       getAction(this.url.list, params).then((res) => { | ||||
|         this.loading = false | ||||
|         if (res.success) { | ||||
|           this.ipagination.current = res.result.current | ||||
|           this.ipagination.pageSize = res.result.size | ||||
|  |  | |||
|  | @ -90,9 +90,6 @@ export default { | |||
|     } | ||||
|   }, | ||||
|   methods: { | ||||
|      | ||||
| 
 | ||||
|      | ||||
|     handleExcel() { | ||||
|       if (this.dataSource.length>0) { | ||||
|         // this.queryParam = { | ||||
|  | @ -126,6 +123,7 @@ export default { | |||
|     }, | ||||
|     searchQueryData() { | ||||
|       this.isImmediate = false | ||||
|       this.loading = true | ||||
|       // this.queryParam = { | ||||
|       //   dataType: "S", | ||||
|       //   startTime: "2023-05-01", | ||||
|  | @ -138,6 +136,7 @@ export default { | |||
|         pageSize: 10 | ||||
|       } | ||||
|       getAction(this.url.list, params).then((res) => { | ||||
|         this.loading = false | ||||
|         if (res.success) { | ||||
|           this.ipagination.current = res.result.current | ||||
|           this.ipagination.pageSize = res.result.size | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 orgin
							orgin