|
|
@@ -93,10 +93,10 @@ const alarmCategory = alarm_category;
|
|
|
const alarmLevel = alarm_level;
|
|
|
|
|
|
const categoryOptions = computed(() =>
|
|
|
- alarmCategory.value.map((o) => ({label: o.dictLabel, value: o.dictValue}))
|
|
|
+ alarmCategory.value.map((o) => ({label: o.label, value: o.value}))
|
|
|
);
|
|
|
const levelOptions = computed(() =>
|
|
|
- alarmLevel.value.map((o) => ({label: o.dictLabel, value: o.dictValue}))
|
|
|
+ alarmLevel.value.map((o) => ({label: o.label, value: o.value}))
|
|
|
);
|
|
|
|
|
|
const confirmedOptions = [
|
|
|
@@ -136,7 +136,11 @@ const rowSelection = reactive({
|
|
|
selectedRowKeys: selectedRowKeys,
|
|
|
onChange: (keys) => {
|
|
|
selectedRowKeys.value = keys;
|
|
|
- }
|
|
|
+ },
|
|
|
+ // 已处理(process_flag=2)的告警不可勾选
|
|
|
+ getCheckboxProps: (record) => ({
|
|
|
+ disabled: String(record.processFlag) === '2'
|
|
|
+ })
|
|
|
});
|
|
|
const pagination = reactive({
|
|
|
current: 1,
|