This commit is contained in:
joylink_fanyuhong 2024-11-18 16:59:55 +08:00
commit 09b6dcbb19
2 changed files with 21 additions and 18 deletions

View File

@ -119,7 +119,7 @@
</q-scroll-area>
</q-page-container>
</q-layout>
<commonAlarm v-if="route.path.includes('alarmRecord')" />
<commonAlarm v-if="route.path.includes('alarmInfo')" />
</template>
<script setup lang="ts">

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;