|
@@ -221,7 +221,9 @@ export default {
|
|
|
// 分页查询
|
|
|
getCostList() {
|
|
|
this.$nextTick(() => {
|
|
|
+ this.loading = true
|
|
|
checkList(this.queryParam).then(res => {
|
|
|
+ this.loading = false
|
|
|
if (res.success) {
|
|
|
this.costAllocationData = res.result.records
|
|
|
this.pagination = {
|
|
@@ -229,6 +231,8 @@ export default {
|
|
|
current: res.result.current,
|
|
|
pageSize: res.result.size
|
|
|
}
|
|
|
+ }else{
|
|
|
+ this.$message.error(res.message);
|
|
|
}
|
|
|
})
|
|
|
})
|