Explorar o código

更新导出后辍

lex-xin %!s(int64=4) %!d(string=hai) anos
pai
achega
791b675972

+ 1 - 1
src/views/afterSchoolManager/afterSchoolTeach.vue

@@ -357,7 +357,7 @@ export default {
                     nowTime.getHours() +
                     "" +
                     nowTime.getMinutes();
-                  let fname = ymd + "课外训练(教学)";
+                  let fname = ymd + "课外训练(教学).xls";
                   link.href = objectUrl;
                   link.setAttribute("download", fname);
                   document.body.appendChild(link);

+ 1 - 1
src/views/businessManager/orderManager/incomeOut.vue

@@ -313,7 +313,7 @@ export default {
                     nowTime.getHours() +
                     "" +
                     nowTime.getMinutes();
-                  let fname = "报表导出" + new Date().getTime(); //下载文件的名字
+                  let fname = "报表导出" + new Date().getTime()+'.xls'; //下载文件的名字
                   link.href = objectUrl;
                   link.setAttribute("download", fname);
                   document.body.appendChild(link);