WZQ il y a 1 an
Parent
commit
1c006ceadf

+ 18 - 7
src/page/basicData/storehouseList.vue

@@ -18,14 +18,22 @@
18 18
               @click="add"
19 19
               >新增</el-button
20 20
             >
21
-            <!-- <el-button
21
+            <el-button
22 22
               type="primary"
23 23
               size="small"
24 24
               icon="el-icon-plus"
25 25
               @click="daoChu"
26 26
             >
27
-              123
28
-            </el-button> -->
27
+              <template v-slot>
28
+                <a
29
+                  href="/static/file/del.xlsx"
30
+                  target="_blank"
31
+                  style="color: #fff"
32
+                >
33
+                  导出
34
+                </a>
35
+              </template>
36
+            </el-button>
29 37
             <el-divider direction="vertical"></el-divider>
30 38
           </el-form-item>
31 39
           <el-form-item label="仓房名称:" prop="houseId">
@@ -214,6 +222,7 @@ import {
214 222
 import { storehouseList } from "@/api/settlementManagement";
215 223
 import storehouseEdit from "@/components/system/storehouse/storehouseEdit.vue";
216 224
 import { storehouseRemove } from "@/api/base";
225
+import acc from "axios";
217 226
 // import del from "./仓房信息导入模板.xlsx";
218 227
 export default {
219 228
   name: "storehouseList",
@@ -231,9 +240,7 @@ export default {
231 240
     };
232 241
   },
233 242
   methods: {
234
-    daoChu() {
235
-
236
-    },
243
+    daoChu() {},
237 244
     setUp() {
238 245
       this.initHouseOptions();
239 246
     },
@@ -268,4 +275,8 @@ export default {
268 275
 };
269 276
 </script>
270 277
 
271
-<style scoped lang="scss"></style>
278
+<style scoped lang="scss">
279
+.del {
280
+  color: #fff;
281
+}
282
+</style>

+ 10 - 8
src/router/system/basicDataModule.js

@@ -21,6 +21,7 @@ export default {
21 21
             title: "数据字典"
22 22
           }
23 23
         },
24
+
24 25
         {
25 26
           path: "/basicData/storehouseList",
26 27
           name: "storehouseList",
@@ -30,6 +31,14 @@ export default {
30 31
           }
31 32
         },
32 33
         {
34
+          path: "/basicData/granaryList",
35
+          name: "tankList",
36
+          component: () => import("@/page/basicData/granaryList"),
37
+          meta: {
38
+            title: "廒间管理"
39
+          }
40
+        },
41
+        {
33 42
           path: "/basicData/warehouseList",
34 43
           name: "storehouseList",
35 44
           component: () => import("@/page/basicData/warehouseList"),
@@ -45,14 +54,7 @@ export default {
45 54
             title: "油罐管理"
46 55
           }
47 56
         },
48
-        {
49
-          path: "/basicData/granaryList",
50
-          name: "tankList",
51
-          component: () => import("@/page/basicData/granaryList"),
52
-          meta: {
53
-            title: "廒间管理"
54
-          }
55
-        },
57
+
56 58
         {
57 59
           path: "/basicData/sealingRecordList",
58 60
           name: "sealingRecordList",

BIN
static/file/del.xlsx