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,7 +3,7 @@ | ||
3 | <a-row :gutter="24"> | 3 | <a-row :gutter="24"> |
4 | 4 | ||
5 | <div class="col-sm-2" style="padding:5px;"> | 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 | <div class="total_box ys01"> | 8 | <div class="total_box ys01"> |
9 | <h1>{{ s1 }}</h1> | 9 | <h1>{{ s1 }}</h1> |
@@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
12 | </a> | 12 | </a> |
13 | </div> | 13 | </div> |
14 | <div class="col-sm-2" style="padding:5px;"> | 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 | <div class="total_box ys02"> | 16 | <div class="total_box ys02"> |
17 | <h1>{{ s2 }}</h1> | 17 | <h1>{{ s2 }}</h1> |
18 | <p>今日入库量</p> | 18 | <p>今日入库量</p> |
@@ -20,7 +20,7 @@ | @@ -20,7 +20,7 @@ | ||
20 | </a> | 20 | </a> |
21 | </div> | 21 | </div> |
22 | <div class="col-sm-2" style="padding:5px;"> | 22 | <div class="col-sm-2" style="padding:5px;"> |
23 | - <a class="menuItem" href="/wms/shipment/shipmentHeader"> | 23 | + <a class="menuItem" @click="clickInventoryTransactionList()"> |
24 | <div class="total_box ys03"> | 24 | <div class="total_box ys03"> |
25 | <h1>{{ s3 }}</h1> | 25 | <h1>{{ s3 }}</h1> |
26 | <p>今日出库量</p> | 26 | <p>今日出库量</p> |
@@ -28,7 +28,7 @@ | @@ -28,7 +28,7 @@ | ||
28 | </a> | 28 | </a> |
29 | </div> | 29 | </div> |
30 | <div class="col-sm-2" style="padding:5px;"> | 30 | <div class="col-sm-2" style="padding:5px;"> |
31 | - <a class="menuItem" href="/wms/inventory/inventoryHeader"> | 31 | + <a class="menuItem" @click="clickInventoryMaterialSummaryList()"> |
32 | <div class="total_box ys04"> | 32 | <div class="total_box ys04"> |
33 | <h1>{{ s4 }}</h1> | 33 | <h1>{{ s4 }}</h1> |
34 | <p>库存总量</p> | 34 | <p>库存总量</p> |
@@ -36,7 +36,7 @@ | @@ -36,7 +36,7 @@ | ||
36 | </a> | 36 | </a> |
37 | </div> | 37 | </div> |
38 | <div class="col-sm-2" style="padding:5px;"> | 38 | <div class="col-sm-2" style="padding:5px;"> |
39 | - <a class="menuItem" href="/wms/inventory/inventoryMaterialSummary"> | 39 | + <a class="menuItem" @click="clickInventoryMaterialSummaryList()"> |
40 | <div class="total_box ys05"> | 40 | <div class="total_box ys05"> |
41 | <h1>{{ s5 }}</h1> | 41 | <h1>{{ s5 }}</h1> |
42 | <p>库内物料品数</p> | 42 | <p>库内物料品数</p> |
@@ -44,7 +44,7 @@ | @@ -44,7 +44,7 @@ | ||
44 | </a> | 44 | </a> |
45 | </div> | 45 | </div> |
46 | <div class="col-sm-2" style="padding:5px;"> | 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 | <div class="total_box ys06"> | 48 | <div class="total_box ys06"> |
49 | <h1>{{ s6 }}</h1> | 49 | <h1>{{ s6 }}</h1> |
50 | <p>待执行任务数</p> | 50 | <p>待执行任务数</p> |
@@ -167,6 +167,15 @@ export default { | @@ -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 | } |