综合演练屏蔽掉车辆段显示

This commit is contained in:
yuan 2021-10-13 16:31:46 +08:00
parent b3b5780a27
commit 58a2ca0192

View File

@ -673,7 +673,7 @@ const map = {
const tepData = findElement(item.amendPointsList || [], code);
if (store.state.training.prdType === '01' && item.type === 'LOCAL' && tepData) {
amendData = tepData;
} else if (['02', '04', '05', '07'].includes(store.state.training.prdType) && item.type === 'CENTER' && tepData) {
} else if (['02', '03', '04', '05', '07'].includes(store.state.training.prdType) && item.type === 'CENTER' && tepData) {
amendData = tepData;
} else if (store.state.training.prdType === '09' && item.type === 'DEPOT_IL' && tepData) {
amendData = tepData;
@ -704,7 +704,7 @@ const map = {
((item.stationCodeList.includes(stationCode) && item.elementList.includes(deviceCode)) || !stationCode)
) {
flag = true;
} else if (['02', '04', '05', '07'].includes(store.state.training.prdType) && item.type === 'CENTER' && item.elementList.includes(deviceCode)) {
} else if (['02', '03', '04', '05', '07'].includes(store.state.training.prdType) && item.type === 'CENTER' && item.elementList.includes(deviceCode)) {
flag = true;
} else if (store.state.training.prdType === '09' && item.type === 'DEPOT_IL' && item.stationCodeList.includes(stationCode) && item.elementList.includes(deviceCode)) {
flag = true;