删除无用代码+框选bug
This commit is contained in:
parent
ce8b36179d
commit
58b04e3024
@ -180,7 +180,7 @@ watch(
|
||||
}) as JlGraphic[];
|
||||
if (setAlartTextData.value.alertType !== '列车信号故障') {
|
||||
selectGraphic.push(...deviceFilter);
|
||||
} else {
|
||||
} else if (deviceFilter.length) {
|
||||
selectGraphic = [deviceFilter[0]];
|
||||
}
|
||||
selectGraphic = Array.from(new Set(selectGraphic));
|
||||
|
@ -83,45 +83,6 @@
|
||||
</q-scroll-area>
|
||||
</q-page-container>
|
||||
</q-layout>
|
||||
<q-dialog
|
||||
v-model="alertSetShow"
|
||||
persistent
|
||||
transition-show="scale"
|
||||
transition-hide="scale"
|
||||
>
|
||||
<q-card style="width: 300px" class="q-pa-md">
|
||||
<q-form ref="myForm" @submit="alarmMockSet" class="q-gutter-md">
|
||||
<div class="text-h6">设置故障演练</div>
|
||||
<q-input
|
||||
outlined
|
||||
label="线路ID"
|
||||
v-model.number="lineId"
|
||||
type="number"
|
||||
lazy-rules
|
||||
:rules="[(val) => val || '请输入线路ID!']"
|
||||
/>
|
||||
<q-select
|
||||
outlined
|
||||
label="故障类型"
|
||||
v-model="alertType"
|
||||
:options="optionsAlertType"
|
||||
:rules="[(val) => val.length > 0 || '请选择故障类型!']"
|
||||
@blur="searchAlertDevice"
|
||||
/>
|
||||
<q-select
|
||||
outlined
|
||||
label="指定故障设备"
|
||||
multiple
|
||||
v-model="alertDevice"
|
||||
:options="optionsAlertDevice"
|
||||
/>
|
||||
<q-card-actions align="right">
|
||||
<q-btn color="primary" label="创建" type="submit" />
|
||||
<q-btn label="取消" v-close-popup />
|
||||
</q-card-actions>
|
||||
</q-form>
|
||||
</q-card>
|
||||
</q-dialog>
|
||||
<commonAlarm v-if="route.path.includes('alarmList')" />
|
||||
</template>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user