diff --git a/src/views/floodSys/scada/alertService/components/abilityAnalysis.vue b/src/views/floodSys/scada/alertService/components/abilityAnalysis.vue index af503ce..903ea8a 100644 --- a/src/views/floodSys/scada/alertService/components/abilityAnalysis.vue +++ b/src/views/floodSys/scada/alertService/components/abilityAnalysis.vue @@ -291,8 +291,7 @@ function getSearchSiteList() { getInfolist().then(res => { projectList.value = res.data; - console.log(res.data, '111'); - queryParams.value.stCode = res.data[1].stationCode; + if (infoList.type == 1) queryParams.value.stCode = res.data[0].stCode; changeStation(); }); } diff --git a/src/views/floodSys/scada/alertService/components/abilityAnalysis.vue b/src/views/floodSys/scada/alertService/components/abilityAnalysis.vue index af503ce..903ea8a 100644 --- a/src/views/floodSys/scada/alertService/components/abilityAnalysis.vue +++ b/src/views/floodSys/scada/alertService/components/abilityAnalysis.vue @@ -291,8 +291,7 @@ function getSearchSiteList() { getInfolist().then(res => { projectList.value = res.data; - console.log(res.data, '111'); - queryParams.value.stCode = res.data[1].stationCode; + if (infoList.type == 1) queryParams.value.stCode = res.data[0].stCode; changeStation(); }); } diff --git a/src/views/floodSys/scada/alertService/components/reportService.vue b/src/views/floodSys/scada/alertService/components/reportService.vue index 9f96b50..511f706 100644 --- a/src/views/floodSys/scada/alertService/components/reportService.vue +++ b/src/views/floodSys/scada/alertService/components/reportService.vue @@ -181,7 +181,7 @@ dialogShow.value = true; if (t == 2) { - dialogTitle.value = '修改告警1'; + dialogTitle.value = '修改告警'; plcWarnConfigInfo(id).then(({ data }) => { infoList.value = data; keyLit.value++;