소스 검색

报表导出优化

yangyd 3 년 전
부모
커밋
b73b48adba
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/pages/main/antiSpoofing/standingBook.vue

+ 2 - 2
src/pages/main/antiSpoofing/standingBook.vue

@@ -136,8 +136,8 @@
             },
             outList() {
                 let param = new FormData();
-                let startDate = this.searchList[0].value ? this.$formatDate(this.searchList[0].value, "YYYY-MM") : '';
-                let endDate = this.searchList[1].value ? this.$formatDate(this.searchList[1].value, "YYYY-MM") : '';
+                let startDate = this.searchList[0].value ? this.$formatDate(this.searchList[0].value, "YYYY-MM") + '-01' : '';
+                let endDate = this.searchList[1].value ? this.$formatDate(this.searchList[1].value, "YYYY-MM") + '-01' : '';
                 param.append("startDate", startDate);
                 param.append("endDate", endDate);
                 this.$http({