修改bug

This commit is contained in:
‘937886381’
2024-07-01 14:40:09 +08:00
parent 2128538199
commit a249e88530
5 changed files with 17 additions and 17 deletions

View File

@@ -402,7 +402,7 @@ export default {
this.getDataList()
},
methods: {
handleChange() {
handleChange(val) {
this.listQuery.reportTime = []
this.listQuery.end = null
this.listQuery.start = null
@@ -529,12 +529,12 @@ export default {
this.chartMsgYearTarget.series[0].data = []
this.chartMsgYearTarget.series[1].data = []
this.title = ''
if (this.listQuery.date == null) {
return this.$message('请选择时间维度')
}
if (!this.listQuery.beginTime && !this.listQuery.endTime) {
return this.$message('请选择起止时间')
}
if (!this.listQuery.date) {
return this.$message('请选择时间维度')
}
console.log(this.listQuery);
if (this.listQuery.type == 3) {
this.listQuery.beginTime = this.listQuery.reportTime[0]