Commit e49b2c5e43873f74d7a322ffe97a85574145931c
1 parent
ebffcb0b
首页-增加页面跳转
Showing
1 changed file
with
15 additions
and
6 deletions
ant-design-vue-jeecg/src/views/dashboard/Analysis.vue
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | <a-row :gutter="24"> |
4 | 4 | |
5 | 5 | <div class="col-sm-2" style="padding:5px;"> |
6 | - <a class="menuItem" href="/wms/inventory/inventoryTransaction"> | |
6 | + <a class="menuItem" @click="clickInventoryTransactionList()"> | |
7 | 7 | |
8 | 8 | <div class="total_box ys01"> |
9 | 9 | <h1>{{ s1 }}</h1> |
... | ... | @@ -12,7 +12,7 @@ |
12 | 12 | </a> |
13 | 13 | </div> |
14 | 14 | <div class="col-sm-2" style="padding:5px;"> |
15 | - <a class="menuItem" href="/wms/receipt/receiptHeader/900/0"> | |
15 | + <a class="menuItem" @click="clickInventoryTransactionList()"> | |
16 | 16 | <div class="total_box ys02"> |
17 | 17 | <h1>{{ s2 }}</h1> |
18 | 18 | <p>今日入库量</p> |
... | ... | @@ -20,7 +20,7 @@ |
20 | 20 | </a> |
21 | 21 | </div> |
22 | 22 | <div class="col-sm-2" style="padding:5px;"> |
23 | - <a class="menuItem" href="/wms/shipment/shipmentHeader"> | |
23 | + <a class="menuItem" @click="clickInventoryTransactionList()"> | |
24 | 24 | <div class="total_box ys03"> |
25 | 25 | <h1>{{ s3 }}</h1> |
26 | 26 | <p>今日出库量</p> |
... | ... | @@ -28,7 +28,7 @@ |
28 | 28 | </a> |
29 | 29 | </div> |
30 | 30 | <div class="col-sm-2" style="padding:5px;"> |
31 | - <a class="menuItem" href="/wms/inventory/inventoryHeader"> | |
31 | + <a class="menuItem" @click="clickInventoryMaterialSummaryList()"> | |
32 | 32 | <div class="total_box ys04"> |
33 | 33 | <h1>{{ s4 }}</h1> |
34 | 34 | <p>库存总量</p> |
... | ... | @@ -36,7 +36,7 @@ |
36 | 36 | </a> |
37 | 37 | </div> |
38 | 38 | <div class="col-sm-2" style="padding:5px;"> |
39 | - <a class="menuItem" href="/wms/inventory/inventoryMaterialSummary"> | |
39 | + <a class="menuItem" @click="clickInventoryMaterialSummaryList()"> | |
40 | 40 | <div class="total_box ys05"> |
41 | 41 | <h1>{{ s5 }}</h1> |
42 | 42 | <p>库内物料品数</p> |
... | ... | @@ -44,7 +44,7 @@ |
44 | 44 | </a> |
45 | 45 | </div> |
46 | 46 | <div class="col-sm-2" style="padding:5px;"> |
47 | - <a class="menuItem" href="/wms/task/taskHeader?InternalTaskType=100"> | |
47 | + <a class="menuItem" @click="clickAllTasks()" > | |
48 | 48 | <div class="total_box ys06"> |
49 | 49 | <h1>{{ s6 }}</h1> |
50 | 50 | <p>待执行任务数</p> |
... | ... | @@ -167,6 +167,15 @@ export default { |
167 | 167 | } |
168 | 168 | }) |
169 | 169 | |
170 | + }, | |
171 | + clickAllTasks() { | |
172 | + this.$router.push({path: '/system/task/AllTaskHeaderList'}) | |
173 | + }, | |
174 | + clickInventoryTransactionList() { | |
175 | + this.$router.push({path: '/system/inventory/InventoryTransactionList'}) | |
176 | + }, | |
177 | + clickInventoryMaterialSummaryList() { | |
178 | + this.$router.push({path: '/system/inventory/InventoryMaterialSummaryList'}) | |
170 | 179 | } |
171 | 180 | } |
172 | 181 | } |
... | ... |