故障类型查询调整

This commit is contained in:
joylink_zhaoerwei 2024-11-18 15:05:46 +08:00
parent f7634d7672
commit a37e33d7d8

View File

@ -338,6 +338,7 @@ function handleSelectFaultType() {
let allType = '';
searchOptionsFaultType.value = [{ label: '全部', value: '' }];
for (let i = 0; i < allOptionsFaultType.length; i++) {
if (allOptionsFaultType[i].lineId == filter.lineId) {
allOptionsFaultType[i].fts.forEach((item) => {
if (
(tab.value == 'GUIDE' &&
@ -356,6 +357,8 @@ function handleSelectFaultType() {
}
}
});
break;
}
}
filter.faultType = allType;
searchOptionsFaultType.value[0].value = allType;