@@ -316,6 +316,9 @@
getValvesByWell(params).then(response => {
if (response.code === 200) {
this.valves = response.data
+ if (this.valves && this.valves.length === 0) {
+ this.$message.warning('没有查找到上游阀门信息')
+ }
}
})
},
@@ -325,6 +328,9 @@
getAffectAreaByWell(params).then(response => {
if (response.code === 200) {
this.closeAreas = response.data
+ if (this.closeAreas && this.closeAreas.length === 0) {
+ this.$message.warning('没有查找到上游阀门信息')
+ }
}
})
}
@@ -488,7 +494,7 @@
}
}
// 地图
-.overview-map-container{
+.overview-map-container-smart{
width: calc(100% - 380px);
padding: 5px;
float: left;