Browse Source

平衡表下载

jwyu 1 year ago
parent
commit
3030910057
1 changed files with 8 additions and 0 deletions
  1. 8 0
      src/views/datasheet_manage/mixins/balanceTableMixin.js

+ 8 - 0
src/views/datasheet_manage/mixins/balanceTableMixin.js

@@ -1,6 +1,14 @@
 // 平衡表
 import * as sheetInterface from "@/api/modules/sheetApi.js";
 export default {
+  computed: {
+    downExcelFileUrl() {
+      let url = `${
+        process.env.VUE_APP_API_ROOT
+      }/datamanage/excel_info/table/download?${localStorage.getItem("auth")}`;
+      return url;
+    },
+  },
   methods: {
     itemHandle(data, type) {
       if (type === "edit") {