微调
This commit is contained in:
@@ -240,10 +240,18 @@ export default {
|
||||
this.$message.warning('横坐标为监测指标时,区域不能多选')
|
||||
return false
|
||||
}
|
||||
if (this.queryParams.xco === '监测指标' && this.queryParams.placeList.length > 1) {
|
||||
this.$message.warning('横坐标为监测指标时,测点名称不能多选')
|
||||
return false
|
||||
}
|
||||
if (this.queryParams.xco === '测点名称' && this.queryParams.placeList.length === 0) {
|
||||
this.$message.warning('横坐标为测点名称时,测点名称选择不能为空')
|
||||
return false
|
||||
}
|
||||
if (this.queryParams.xco === '测点名称' && this.queryParams.indicatorList.length > 1) {
|
||||
this.$message.warning('横坐标为测点名称时,监测指标不能多选')
|
||||
return false
|
||||
}
|
||||
if (this.queryParams.areaList.length > 0 && this.queryParams.placeList.length > 0) {
|
||||
this.$message.warning('区域与测点名称不能同时选择')
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user