zhao 2 лет назад
Родитель
Сommit
9c5eb4fb6a
2 измененных файлов: 7 добавлений и 3 удалений
  1. +3
    -2
      src/views/sunVillage_info/entityReport/reportList.vue
  2. +4
    -1
      src/views/sunVillage_info/entityReport/reportView.vue

+ 3
- 2
src/views/sunVillage_info/entityReport/reportList.vue Просмотреть файл

@@ -70,7 +70,8 @@ export default {
pageNum:1, pageNum:1,
pageSize:10, pageSize:10,
orderByColumn:'createTime', orderByColumn:'createTime',
isAsc:'desc'
isAsc:'desc',
type: '1',
} }
}; };
}, },
@@ -125,7 +126,7 @@ export default {
this.finished = true; this.finished = true;
return; return;
} }
this.list = response.rows;
this.list.push(...response.rows);
this.total += response.rows.length; this.total += response.rows.length;
this.finished = this.total >= response.total; this.finished = this.total >= response.total;
}).finally(() => { }).finally(() => {


+ 4
- 1
src/views/sunVillage_info/entityReport/reportView.vue Просмотреть файл

@@ -174,7 +174,10 @@ export default {
}, },
methods: { methods: {
getTemplateList() { getTemplateList() {
listReporttitle({reportStatus: '0'}).then((resp) => {
listReporttitle({
type: '1',
reportStatus: '0',
}).then((resp) => {
this.templateList = resp.rows; this.templateList = resp.rows;
}); });
}, },


Загрузка…
Отмена
Сохранить