Merge branch 'develop' of https://gitea.joylink.club/joylink/xian-ncc-da-client into develop
This commit is contained in:
commit
09b6dcbb19
|
@ -119,7 +119,7 @@
|
||||||
</q-scroll-area>
|
</q-scroll-area>
|
||||||
</q-page-container>
|
</q-page-container>
|
||||||
</q-layout>
|
</q-layout>
|
||||||
<commonAlarm v-if="route.path.includes('alarmRecord')" />
|
<commonAlarm v-if="route.path.includes('alarmInfo')" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|
|
@ -338,24 +338,27 @@ function handleSelectFaultType() {
|
||||||
let allType = '';
|
let allType = '';
|
||||||
searchOptionsFaultType.value = [{ label: '全部', value: '' }];
|
searchOptionsFaultType.value = [{ label: '全部', value: '' }];
|
||||||
for (let i = 0; i < allOptionsFaultType.length; i++) {
|
for (let i = 0; i < allOptionsFaultType.length; i++) {
|
||||||
allOptionsFaultType[i].fts.forEach((item) => {
|
if (allOptionsFaultType[i].lineId == filter.lineId) {
|
||||||
if (
|
allOptionsFaultType[i].fts.forEach((item) => {
|
||||||
(tab.value == 'GUIDE' &&
|
if (
|
||||||
item.faultType.includes('FAULT_EMERGENCY_GUIDE')) ||
|
(tab.value == 'GUIDE' &&
|
||||||
(tab.value == 'SERVICE' &&
|
item.faultType.includes('FAULT_EMERGENCY_GUIDE')) ||
|
||||||
item.faultType.includes('FAULT_EXIT_SERVICE'))
|
(tab.value == 'SERVICE' &&
|
||||||
) {
|
item.faultType.includes('FAULT_EXIT_SERVICE'))
|
||||||
searchOptionsFaultType.value.push({
|
) {
|
||||||
label: item.typeName,
|
searchOptionsFaultType.value.push({
|
||||||
value: item.faultType,
|
label: item.typeName,
|
||||||
});
|
value: item.faultType,
|
||||||
if (allType == '') {
|
});
|
||||||
allType = item.faultType;
|
if (allType == '') {
|
||||||
} else {
|
allType = item.faultType;
|
||||||
allType = allType + ',' + item.faultType;
|
} else {
|
||||||
|
allType = allType + ',' + item.faultType;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
});
|
||||||
});
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
filter.faultType = allType;
|
filter.faultType = allType;
|
||||||
searchOptionsFaultType.value[0].value = allType;
|
searchOptionsFaultType.value[0].value = allType;
|
||||||
|
|
Loading…
Reference in New Issue