diff --git a/ant-design-vue-jeecg/src/views/dashboard/Analysis.vue b/ant-design-vue-jeecg/src/views/dashboard/Analysis.vue index 7187a81..45de39d 100644 --- a/ant-design-vue-jeecg/src/views/dashboard/Analysis.vue +++ b/ant-design-vue-jeecg/src/views/dashboard/Analysis.vue @@ -3,7 +3,7 @@ <a-row :gutter="24"> <div class="col-sm-2" style="padding:5px;"> - <a class="menuItem" href="/wms/inventory/inventoryTransaction"> + <a class="menuItem" @click="clickInventoryTransactionList()"> <div class="total_box ys01"> <h1>{{ s1 }}</h1> @@ -12,7 +12,7 @@ </a> </div> <div class="col-sm-2" style="padding:5px;"> - <a class="menuItem" href="/wms/receipt/receiptHeader/900/0"> + <a class="menuItem" @click="clickInventoryTransactionList()"> <div class="total_box ys02"> <h1>{{ s2 }}</h1> <p>今日入库量</p> @@ -20,7 +20,7 @@ </a> </div> <div class="col-sm-2" style="padding:5px;"> - <a class="menuItem" href="/wms/shipment/shipmentHeader"> + <a class="menuItem" @click="clickInventoryTransactionList()"> <div class="total_box ys03"> <h1>{{ s3 }}</h1> <p>今日出库量</p> @@ -28,7 +28,7 @@ </a> </div> <div class="col-sm-2" style="padding:5px;"> - <a class="menuItem" href="/wms/inventory/inventoryHeader"> + <a class="menuItem" @click="clickInventoryMaterialSummaryList()"> <div class="total_box ys04"> <h1>{{ s4 }}</h1> <p>库存总量</p> @@ -36,7 +36,7 @@ </a> </div> <div class="col-sm-2" style="padding:5px;"> - <a class="menuItem" href="/wms/inventory/inventoryMaterialSummary"> + <a class="menuItem" @click="clickInventoryMaterialSummaryList()"> <div class="total_box ys05"> <h1>{{ s5 }}</h1> <p>库内物料品数</p> @@ -44,7 +44,7 @@ </a> </div> <div class="col-sm-2" style="padding:5px;"> - <a class="menuItem" href="/wms/task/taskHeader?InternalTaskType=100"> + <a class="menuItem" @click="clickAllTasks()" > <div class="total_box ys06"> <h1>{{ s6 }}</h1> <p>待执行任务数</p> @@ -167,6 +167,15 @@ export default { } }) + }, + clickAllTasks() { + this.$router.push({path: '/system/task/AllTaskHeaderList'}) + }, + clickInventoryTransactionList() { + this.$router.push({path: '/system/inventory/InventoryTransactionList'}) + }, + clickInventoryMaterialSummaryList() { + this.$router.push({path: '/system/inventory/InventoryMaterialSummaryList'}) } } }