diff --git a/src/views/floodSys/scada/plcPointInfo/tableDalgo.vue b/src/views/floodSys/scada/plcPointInfo/tableDalgo.vue index 5ba1629..e255c9a 100644 --- a/src/views/floodSys/scada/plcPointInfo/tableDalgo.vue +++ b/src/views/floodSys/scada/plcPointInfo/tableDalgo.vue @@ -187,6 +187,7 @@ // 站点选择点击,加载区域和设备 function stationNameChange(code) { + console.log(code, '1'); getAreaList({ stationCode: code }); getDeviceList({ stationCode: code }); } @@ -195,6 +196,7 @@ areaName_type.value = []; let res = await areaInfolist(codes); if (res && res.code == 200) { + console.log(res, 'res'); areaName_type.value = res.data; } }; @@ -208,6 +210,7 @@ }; onMounted(() => { FormList.value = typeList; + getAreaList({ stationCode: FormList.value.stationCode }); });