新建决策信息调整

This commit is contained in:
joylink_zhaoerwei 2024-11-04 10:49:37 +08:00
parent 586e920216
commit ae81b3f4f8

View File

@ -419,7 +419,7 @@ let optionsLocationList: AreaConfigItem[] = [];
async function searchLocationType() { async function searchLocationType() {
try { try {
const alertType = (saveAlertTypeData as never)[creatForm.alertType]; const alertType = (saveAlertTypeData as never)[creatForm.alertType];
optionsLocationList = await getDeviceAreaByAlarmType(3, alertType); optionsLocationList = await getDeviceAreaByAlarmType(+creatForm.lineId, alertType);
optionsLocationType.value = optionsLocationList.map( optionsLocationType.value = optionsLocationList.map(
(item) => item.areaName (item) => item.areaName
); );