Преглед на файлове

统计报表地址增加token

jingshuyong преди 10 месеца
родител
ревизия
036861a076
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/salesServiceManagement/statisReport/index.vue

+ 1 - 1
src/views/salesServiceManagement/statisReport/index.vue

@@ -38,7 +38,7 @@
     methods: {
       async init() {
         let url = await getJmPrintViewUrl('eomstatisticalreportprint');
-        this.fileUrl = url;
+        this.fileUrl = `${url}?token=${getToken()}`;
       }
     }
   };