web 所有模块的列表增加loading效果
This commit is contained in:
parent
ce5af3975e
commit
8ddd89cf1a
|
@ -146,6 +146,7 @@ export default {
|
|||
}
|
||||
},
|
||||
searchQueryData() {
|
||||
this.loading = true
|
||||
let days = compareDate(this.queryParam.startTime, this.queryParam.endTime)
|
||||
if (days <= 10) {
|
||||
this.isImmediate = false
|
||||
|
@ -155,6 +156,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
|
||||
|
|
|
@ -135,6 +135,7 @@ export default {
|
|||
}
|
||||
},
|
||||
searchQueryData() {
|
||||
this.loading = true
|
||||
let days = compareDate(this.queryParam.startTime, this.queryParam.endTime)
|
||||
if (days <= 10) {
|
||||
this.isImmediate = false
|
||||
|
@ -149,6 +150,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