资料中心 - loading
This commit is contained in:
@@ -309,6 +309,7 @@ export default {
|
||||
this.searchInfo()
|
||||
},
|
||||
searchInfo() {
|
||||
this.loading = true
|
||||
this.dataCenterSearch.startDataUploadTime = this.dataCenterSearch.dataUploadTime[0]
|
||||
this.dataCenterSearch.endDataUploadTime = this.dataCenterSearch.dataUploadTime[1]
|
||||
this.$http.get('fileMaterialCenter/file-material', this.dataCenterSearch, {
|
||||
@@ -316,8 +317,10 @@ export default {
|
||||
}, res => {
|
||||
this.dataCenterTable = res.data.records
|
||||
this.dataCenterSearch.total = res.data.total
|
||||
this.loading = false
|
||||
}, e => {
|
||||
console.log(e)
|
||||
this.loading = false
|
||||
})
|
||||
},
|
||||
clearSearch() {
|
||||
|
||||
Reference in New Issue
Block a user