Parcourir la source

报表导出优化

yangyd il y a 3 ans
Parent
commit
b73b48adba
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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({