Compare commits

..

No commits in common. "074432851c2cd2e9c3d15e919e7548c6804b95db" and "91c352ff791ce0c9eb43688bb2cd19de72fb99a4" have entirely different histories.

5 changed files with 18 additions and 28 deletions

View File

@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2024-04-15 10:49:13
* @LastEditTime: 2024-07-10 15:45:28
* @LastEditTime: 2024-07-09 16:16:14
* @LastEditors: zhp
* @Description:
-->
@ -344,13 +344,11 @@ export default {
},
async getDataList() {
console.log(this.listQuery.type);
if (this.listQuery.type === '') {
this.$message.warning('请选择时间维度!')
return
if (this.listQuery.type == null || this.listQuery.type == '') {
return this.$message('请选择时间维度')
}
if (!this.listQuery.startDate && !this.listQuery.endDate) {
this.$message.warning('请选择起止时间')
return
return this.$message('请选择起止时间')
}
this.otherProps = []
let arr = []

View File

@ -546,13 +546,11 @@ export default {
this.chartMsgYearTarget.series[0].data = []
this.chartMsgYearTarget.series[1].data = []
this.title = ''
if (this.listQuery.date === '') {
this.$message.warning('请选择时间维度!')
return
if (this.listQuery.date == null || this.listQuery.date == '') {
return this.$message('请选择时间维度')
}
if (!this.listQuery.beginTime && !this.listQuery.endTime) {
this.$message.warning('请选择起止时间')
return
return this.$message('请选择起止时间')
}
console.log(this.listQuery);
if (this.listQuery.type == 3) {

View File

@ -516,14 +516,12 @@ export default {
this.chartMsgTarget.series = []
this.chartMsgYearTarget.series[0].data = []
this.chartMsgYearTarget.series[1].data = []
console.log(this.listQuery.type);
if (this.listQuery.type === '') {
this.$message.warning('请选择时间维度!')
return
console.log(this.listQuery);
if (this.listQuery.type == null || this.listQuery.type == '') {
return this.$message('请选择时间维度')
}
if (!this.listQuery.startDate && !this.listQuery.endDate) {
this.$message.warning('请选择起止时间')
return
return this.$message('请选择起止时间')
}
let arr = []
this.currentMenu === '邯郸' ? arr.push(1) : arr.push(0)

View File

@ -648,14 +648,12 @@ export default {
if (this.chartMsgYearTarget.series[3]) {
this.chartMsgYearTarget.series[3].data = []
}
console.log(this.listQuery)
if (this.listQuery.type === '') {
this.$message.warning('请选择时间维度!')
return
// console.log(this.listQuery);
if (this.listQuery.type == null || this.listQuery.type == '') {
return this.$message('请选择时间维度')
}
if (!this.listQuery.startDate && !this.listQuery.endDate) {
this.$message.warning('请选择起止时间')
return
return this.$message('请选择起止时间')
}
let arr = []
this.currentMenu === '邯郸' ? arr.push(1) : arr.push(0)

View File

@ -567,13 +567,11 @@ export default {
this.chartMsgYearTarget.xData = []
this.chartMsgYearTarget.series[0].data = []
this.chartMsgYearTarget.series[1].data = []
if (this.listQuery.type === '') {
this.$message.warning('请选择时间维度!')
return
if (this.listQuery.type == null || this.listQuery.type == '') {
return this.$message('请选择时间维度')
}
if (!this.listQuery.startDate && !this.listQuery.endDate) {
this.$message.warning('请选择起止时间')
return
return this.$message('请选择起止时间')
}
let arr = []
this.currentMenu === '邯郸' ? arr.push(1) : arr.push(0)