|
@@ -1072,9 +1072,9 @@ export default {
|
|
|
if (val == "Count") {
|
|
|
let partsVal = this.hot.getDataAtCell(row.row,row.col);//获取被点击的单元格的数据
|
|
|
if(this.onlyRead){
|
|
|
- this.$router.push({ name: 'partsLedger', params: { deviceId: infos.infos.EquipID }});
|
|
|
+ this.$router.push({ path: '/ledger/parts', query: { deviceId: infos.infos.EquipID }});
|
|
|
}else{
|
|
|
- this.$router.push({ name: 'partsmanageLedger', params: { deviceId: infos.infos.EquipID,typeId: this.mess.deviceId }});
|
|
|
+ this.$router.push({ path: '/ledger/partsmanage', query: { deviceId: infos.infos.EquipID,typeId: this.mess.deviceId }});
|
|
|
}
|
|
|
}
|
|
|
|