调整ibp盘显示位置

This commit is contained in:
fan 2020-08-26 17:43:34 +08:00
parent d5a4d58fe6
commit 22099d841c

View File

@ -341,9 +341,9 @@ export default {
const deviceVO = JSON.parse(getSessionStorage('projectDevice')); const deviceVO = JSON.parse(getSessionStorage('projectDevice'));
if (deviceVO && deviceVO.type === 'VR_IBP') { if (deviceVO && deviceVO.type === 'VR_IBP') {
this.showIbp(this.deviceCode);
const config = JSON.parse(deviceVO.config); const config = JSON.parse(deviceVO.config);
this.ibpPart = config.part.toLowerCase(); this.ibpPart = config.part.toLowerCase();
this.showIbp(this.deviceCode);
} else { } else {
this.hideIbp(); this.hideIbp();
} }
@ -498,7 +498,6 @@ export default {
window.open(routeData.href, '_blank', 'noopener noreferrer'); window.open(routeData.href, '_blank', 'noopener noreferrer');
}, },
showdriving() { showdriving() {
console.log('***************');
this.panelShow = true; this.panelShow = true;
this.drivingShow = false; this.drivingShow = false;
this.ibpShow = false; this.ibpShow = false;