liyongli il y a 2 ans
Parent
commit
8f0868ddf2
1 fichiers modifiés avec 5 ajouts et 4 suppressions
  1. 5 4
      src/views/Content/index.vue

+ 5 - 4
src/views/Content/index.vue

@@ -782,11 +782,11 @@ export default {
       this.form.version = ver;
     },
     onExport() {
-      const S = this.form.date[0]
-        ? this.FormData(this.form.date[0])
+      const S = this.lastParams.start
+        ? this.lastParams.start
         : undefined;
-      const E = this.form.date[1]
-        ? this.FormData(this.form.date[1])
+      const E = this.lastParams.end
+        ? this.lastParams.end
         : undefined;
       const app = this.lastParams.app || this.form.app;
       const version =
@@ -802,6 +802,7 @@ export default {
         app;
       version && (url += '&version=' + version);
       contentType && (url += '&contentType=' + contentType);
+      this.lastParams.lib && (url += '&lib=' + this.lastParams.lib);
       window.open(url);
     },
   },