lrf402788946 4 years ago
parent
commit
5408bd28ed
4 changed files with 6 additions and 1 deletions
  1. BIN
      public/sheetjs.xlsx
  2. BIN
      public/名单模板.xlsx
  3. 5 0
      src/store/index.js
  4. 1 1
      src/views/new-plan/detail.vue

BIN
public/sheetjs.xlsx


BIN
public/名单模板.xlsx


+ 5 - 0
src/store/index.js

@@ -47,4 +47,9 @@ export default new Vuex.Store({
   state: { ...ustate, ...dostate },
   mutations: { ...umutations, ...domutations },
   actions: {},
+  getters: {
+    topOptions: state => {
+      return state.defaultOption;
+    },
+  },
 });

+ 1 - 1
src/views/new-plan/detail.vue

@@ -2,7 +2,7 @@
   <div id="detail">
     <list-frame :title="pageTitle" returns="./index" :needFilter="false" :needPag="false" :needAdd="false">
       <el-col class="mb">
-        <!-- <el-button type="primary" size="mini"><a href="/sheetjs.xlsx" download="上传名单模板.xlsx">下载上传名单模板</a></el-button> -->
+        <el-button type="primary" size="mini"><a href="/名单模板.xlsx" download="上传名单模板.xlsx">下载上传名单模板</a></el-button>
       </el-col>
       <data-table
         id="out-table"