From 9e9759bc6d473cade46f2050884b03fb2612d69b Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Fri, 22 Apr 2022 09:30:32 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E4=BA=BA=E5=91=98=E5=90=8D=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../projectManagement/components/listOfRelevantPersonnel.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jero-web/src/views/projectManagement/components/listOfRelevantPersonnel.vue b/jero-web/src/views/projectManagement/components/listOfRelevantPersonnel.vue index a50a70238..2ad3176ad 100644 --- a/jero-web/src/views/projectManagement/components/listOfRelevantPersonnel.vue +++ b/jero-web/src/views/projectManagement/components/listOfRelevantPersonnel.vue @@ -321,7 +321,7 @@ this.loading = true postAction(this.url.page, query).then((res) => { if (res.success) { - this.dataSource = res.result.records || [] + this.dataSource = res.result || [] // this.total = res.result.total this.loading = false } else { @@ -333,7 +333,7 @@ let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys)) let query = { id: selectedRowKeys.join(','), - // projectId: this.$route.query.id + projectId: this.$route.query.id } downloadFile(this.url.exportData, this.$t('ListOfRelevantPersonnel') + '.xls', query, this.Deselect) }, From 2c8f8ca52c42dfb34f48d839a4cfb962a308225c Mon Sep 17 00:00:00 2001 From: zhn <947514737@qq.com> Date: Fri, 22 Apr 2022 09:36:50 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=99=9A=E6=8B=9F=E6=B8=85=E5=8D=95--?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E6=A8=A1=E6=9D=BF=E6=B7=BB=E5=8A=A0=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/DummyInventoryInfoEOServiceImpl.java | 48 ++++++++++++++++--- 1 file changed, 42 insertions(+), 6 deletions(-) diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/dummy/service/impl/DummyInventoryInfoEOServiceImpl.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/dummy/service/impl/DummyInventoryInfoEOServiceImpl.java index e78ec781f..c332aab30 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/dummy/service/impl/DummyInventoryInfoEOServiceImpl.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/dummy/service/impl/DummyInventoryInfoEOServiceImpl.java @@ -31,6 +31,7 @@ import org.apache.commons.lang3.StringUtils; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFCellStyle; import org.apache.poi.hssf.usermodel.HSSFDateUtil; +import org.apache.poi.hssf.usermodel.HSSFRichTextString; import org.apache.poi.hssf.usermodel.HSSFSheet; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.ss.usermodel.Cell; @@ -345,6 +346,9 @@ public class DummyInventoryInfoEOServiceImpl extends ServiceImpl 2){ List headList = Arrays.asList(headerSb.toString().split(",")); String field =""; if (HSSFCell.CELL_TYPE_NUMERIC == cell.getCellType() && HSSFDateUtil.isCellDateFormatted(cell)) { @@ -715,12 +751,12 @@ public class DummyInventoryInfoEOServiceImpl extends ServiceImpl 2) { rowList.put(headerCell.getStringCellValue(), ""); } } } - if (i != 0 && i != 1) { + if (i > 2) { dataList.add(rowList); } } @@ -783,7 +819,7 @@ public class DummyInventoryInfoEOServiceImpl extends ServiceImpl msgList = new ArrayList<>(); String value = ""; boolean flag = true;