lrf402788946 4 年之前
父節點
當前提交
5408bd28ed
共有 4 個文件被更改,包括 6 次插入1 次删除
  1. 二進制
      public/sheetjs.xlsx
  2. 二進制
      public/名单模板.xlsx
  3. 5 0
      src/store/index.js
  4. 1 1
      src/views/new-plan/detail.vue

二進制
public/sheetjs.xlsx


二進制
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"