Explorar o código

提交测试

1
mo %!s(int64=4) %!d(string=hai) anos
pai
achega
3d8831f5b8
Modificáronse 1 ficheiros con 9 adicións e 1 borrados
  1. 9 1
      src/views/indexErrDataRecord/components/historyError.vue

+ 9 - 1
src/views/indexErrDataRecord/components/historyError.vue

@@ -401,13 +401,21 @@ export default {
       }
     },
     exportIndexErr() {
+      let { timer, ...rest } = this.searchForm;
+      let params = {
+        ...rest,
+        page: this.rules.page,
+        rows: this.rules.limit,
+        ...getTimes(timer, ["startDate", "endDate"]),
+        searchType: this.searchType,
+      };
       Export(
         this,
         {
           url: "/api-web/export/exportIndexHistoryErrData",
           fileName: "首页历史异常统计.xls",
           method: "post",
-          params: qs.stringify({ ...this.searchForm }),
+          params: qs.stringify({ ...params }),
         },
         "您确定导出首页历史异常统计?"
       );