|
|
@@ -22,9 +22,9 @@
|
|
|
</a-col>
|
|
|
<a-col :xs="24" :md="4">
|
|
|
<a-select
|
|
|
- v-model:value="query.confirmed"
|
|
|
- :options="confirmedOptions"
|
|
|
- placeholder="是否确认"
|
|
|
+ v-model:value="query.processStatus"
|
|
|
+ :options="processStatusOptions"
|
|
|
+ placeholder="处理状态"
|
|
|
allow-clear
|
|
|
class="full-control"
|
|
|
/>
|
|
|
@@ -107,9 +107,9 @@ const categoryLabelMap = computed(() =>
|
|
|
const levelLabel = (val) => (val == null ? '' : levelLabelMap.value[String(val)] ?? val);
|
|
|
const categoryLabel = (val) => (val == null ? '' : categoryLabelMap.value[String(val)] ?? val);
|
|
|
|
|
|
-const confirmedOptions = [
|
|
|
- {label: '已确认', value: true},
|
|
|
- {label: '未确认', value: false}
|
|
|
+const processStatusOptions = [
|
|
|
+ {label: '已处理', value: true},
|
|
|
+ {label: '未处理', value: false}
|
|
|
];
|
|
|
|
|
|
const processLabelMap = {
|
|
|
@@ -161,14 +161,14 @@ const pagination = reactive({
|
|
|
const query = reactive({
|
|
|
alarmCategory: undefined,
|
|
|
alarmLevel: undefined,
|
|
|
- confirmed: undefined,
|
|
|
+ processStatus: undefined,
|
|
|
alarmDate: dayjs().format('YYYY-MM-DD')
|
|
|
});
|
|
|
|
|
|
const buildParams = () => ({
|
|
|
alarmCategory: query.alarmCategory,
|
|
|
alarmLevel: query.alarmLevel,
|
|
|
- confirmed: query.confirmed,
|
|
|
+ processStatus: query.processStatus,
|
|
|
alarmDate: query.alarmDate
|
|
|
});
|
|
|
|