瀏覽代碼

报表导出优化

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({