报警记录增加查询
This commit is contained in:
parent
a486e97e5a
commit
37835ed2d6
@ -44,6 +44,13 @@
|
||||
lazy-rules
|
||||
:rules="[(val) => val >= 0 || '请选择线路ID!']"
|
||||
/>
|
||||
<q-select
|
||||
dense
|
||||
label="线路类型"
|
||||
v-model="filter.lineType"
|
||||
:options="searchOptionsLineType"
|
||||
style="width: 100px"
|
||||
/>
|
||||
<q-input
|
||||
dense
|
||||
v-model="filter.beginDateTime"
|
||||
@ -344,7 +351,11 @@ async function onRequest(props: any) {
|
||||
lineId: filter.value.lineId,
|
||||
});
|
||||
}
|
||||
|
||||
if (filter.value.lineType !== '全部') {
|
||||
Object.assign(params, {
|
||||
lineType: filter.value.lineType,
|
||||
});
|
||||
}
|
||||
if (filter.value.alertType !== '全部') {
|
||||
Object.assign(params, {
|
||||
alertType: (saveAlertTypeData as never)[filter.value.alertType],
|
||||
@ -436,6 +447,7 @@ function batchHandle() {
|
||||
const filter = ref({
|
||||
alertType: '全部',
|
||||
lineId: 0,
|
||||
lineType: '全部',
|
||||
beginDateTime: '',
|
||||
endDateTime: '',
|
||||
alertStatus: 999,
|
||||
@ -444,6 +456,7 @@ const filter = ref({
|
||||
const optionsLineId = ref<{ label: string; value: number }[]>([
|
||||
{ label: '全部', value: 0 },
|
||||
]);
|
||||
const searchOptionsLineType = ['全部', 'NCC', 'OCC'];
|
||||
async function queryLineInfo() {
|
||||
try {
|
||||
let response = await pageQuery({
|
||||
|
Loading…
Reference in New Issue
Block a user