|
|
@ -163,7 +163,7 @@ |
|
|
|
monitorTimeUnit: [{ required: true, message: '请选择监测时长单位', trigger: 'change' }], |
|
|
|
}; |
|
|
|
const getMenu = async () => { |
|
|
|
let menu = await getAllEnum({ |
|
|
|
let enumData = await getAllEnum({ |
|
|
|
params: [ |
|
|
|
'PriorityEnum', |
|
|
|
'MonitorFrequencyEnumm', |
|
|
@ -171,10 +171,10 @@ |
|
|
|
'IntervalDurationUnitEnum', |
|
|
|
], |
|
|
|
}); |
|
|
|
PriorityEnum.value = menu.data.PriorityEnum; |
|
|
|
MonitorFrequencyEnumm.value = menu.data.MonitorFrequencyEnumm; |
|
|
|
AlarmFrequencyEnum.value = menu.data.AlarmFrequencyEnum; |
|
|
|
intervalDurationUnitData.value = menu.data.IntervalDurationUnitEnum; |
|
|
|
PriorityEnum.value = enumData.data.PriorityEnum; |
|
|
|
MonitorFrequencyEnumm.value = enumData.data.MonitorFrequencyEnumm; |
|
|
|
AlarmFrequencyEnum.value = enumData.data.AlarmFrequencyEnum; |
|
|
|
intervalDurationUnitData.value = enumData.data.IntervalDurationUnitEnum; |
|
|
|
}; |
|
|
|
const toggle = (value: any) => { |
|
|
|
//获取枚举 回显 |
|
|
|