diff --git a/src/views/home/components/ProvincialCompany.vue b/src/views/home/components/ProvincialCompany.vue index 710a6dcb..689453e6 100644 --- a/src/views/home/components/ProvincialCompany.vue +++ b/src/views/home/components/ProvincialCompany.vue @@ -249,7 +249,8 @@ export default { }); this.$router.push({ path: '/equipment/equipment-ledger', - query: { company: rowData.companyName, total: rowData.maNum } + // query: { company: rowData.companyName, total: rowData.maNum }, + query: { parentId: rowData.parentId, deptId: rowData.companyId } }); } else if (type === 'toolCode') { console.log('跳转至工具详情页', { @@ -257,7 +258,6 @@ export default { }); this.$router.push({ path: '/equipment/codeToolsLedger', - // query: { company: rowData.companyName, total: rowData.toolNum } }); } else if (type === 'toolNum') { this.$router.push({