fenye
This commit is contained in:
@@ -241,7 +241,7 @@ export default {
|
||||
this.loading = true
|
||||
listConfig(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
|
||||
this.configList = response.rows
|
||||
this.total = response.total
|
||||
this.total = parseInt(response.total) || 0
|
||||
this.loading = false
|
||||
}
|
||||
)
|
||||
|
||||
@@ -296,7 +296,7 @@ export default {
|
||||
this.loading = true
|
||||
listData(this.queryParams).then(response => {
|
||||
this.dataList = response.rows
|
||||
this.total = response.total
|
||||
this.total = parseInt(response.total) || 0
|
||||
this.loading = false
|
||||
})
|
||||
},
|
||||
|
||||
@@ -245,7 +245,7 @@ export default {
|
||||
this.loading = true
|
||||
listType(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
|
||||
this.typeList = response.rows
|
||||
this.total = response.total
|
||||
this.total = parseInt(response.total) || 0
|
||||
this.loading = false
|
||||
}
|
||||
)
|
||||
|
||||
@@ -225,7 +225,7 @@ export default {
|
||||
this.loading = true
|
||||
listNotice(this.queryParams).then(response => {
|
||||
this.noticeList = response.rows
|
||||
this.total = response.total
|
||||
this.total = parseInt(response.total) || 0
|
||||
this.loading = false
|
||||
})
|
||||
},
|
||||
|
||||
@@ -215,7 +215,7 @@ export default {
|
||||
this.loading = true
|
||||
listPost(this.queryParams).then(response => {
|
||||
this.postList = response.rows
|
||||
this.total = response.total
|
||||
this.total = parseInt(response.total) || 0
|
||||
this.loading = false
|
||||
})
|
||||
},
|
||||
|
||||
@@ -144,7 +144,7 @@ export default {
|
||||
this.loading = true
|
||||
allocatedUserList(this.queryParams).then(response => {
|
||||
this.userList = response.rows
|
||||
this.total = response.total
|
||||
this.total = parseInt(response.total) || 0
|
||||
this.loading = false
|
||||
}
|
||||
)
|
||||
|
||||
@@ -350,7 +350,7 @@ export default {
|
||||
this.loading = true
|
||||
listRole(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
|
||||
this.roleList = response.rows
|
||||
this.total = response.total
|
||||
this.total = parseInt(response.total) || 0
|
||||
this.loading = false
|
||||
}
|
||||
)
|
||||
|
||||
@@ -336,7 +336,7 @@ export default {
|
||||
this.loading = true
|
||||
listUser(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
|
||||
this.userList = response.rows
|
||||
this.total = response.total
|
||||
this.total = parseInt(response.total) || 0
|
||||
this.loading = false
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user