Compare commits
3 Commits
91c352ff79
...
074432851c
Author | SHA1 | Date | |
---|---|---|---|
|
074432851c | ||
|
8af5158a1b | ||
46743fa4ef |
@ -1,7 +1,7 @@
|
||||
<!--
|
||||
* @Author: zhp
|
||||
* @Date: 2024-04-15 10:49:13
|
||||
* @LastEditTime: 2024-07-09 16:16:14
|
||||
* @LastEditTime: 2024-07-10 15:45:28
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
-->
|
||||
@ -344,11 +344,13 @@ export default {
|
||||
},
|
||||
async getDataList() {
|
||||
console.log(this.listQuery.type);
|
||||
if (this.listQuery.type == null || this.listQuery.type == '') {
|
||||
return this.$message('请选择时间维度')
|
||||
if (this.listQuery.type === '') {
|
||||
this.$message.warning('请选择时间维度!')
|
||||
return
|
||||
}
|
||||
if (!this.listQuery.startDate && !this.listQuery.endDate) {
|
||||
return this.$message('请选择起止时间')
|
||||
this.$message.warning('请选择起止时间')
|
||||
return
|
||||
}
|
||||
this.otherProps = []
|
||||
let arr = []
|
||||
|
@ -546,11 +546,13 @@ export default {
|
||||
this.chartMsgYearTarget.series[0].data = []
|
||||
this.chartMsgYearTarget.series[1].data = []
|
||||
this.title = ''
|
||||
if (this.listQuery.date == null || this.listQuery.date == '') {
|
||||
return this.$message('请选择时间维度')
|
||||
if (this.listQuery.date === '') {
|
||||
this.$message.warning('请选择时间维度!')
|
||||
return
|
||||
}
|
||||
if (!this.listQuery.beginTime && !this.listQuery.endTime) {
|
||||
return this.$message('请选择起止时间')
|
||||
this.$message.warning('请选择起止时间')
|
||||
return
|
||||
}
|
||||
console.log(this.listQuery);
|
||||
if (this.listQuery.type == 3) {
|
||||
|
@ -516,12 +516,14 @@ export default {
|
||||
this.chartMsgTarget.series = []
|
||||
this.chartMsgYearTarget.series[0].data = []
|
||||
this.chartMsgYearTarget.series[1].data = []
|
||||
console.log(this.listQuery);
|
||||
if (this.listQuery.type == null || this.listQuery.type == '') {
|
||||
return this.$message('请选择时间维度')
|
||||
console.log(this.listQuery.type);
|
||||
if (this.listQuery.type === '') {
|
||||
this.$message.warning('请选择时间维度!')
|
||||
return
|
||||
}
|
||||
if (!this.listQuery.startDate && !this.listQuery.endDate) {
|
||||
return this.$message('请选择起止时间')
|
||||
this.$message.warning('请选择起止时间')
|
||||
return
|
||||
}
|
||||
let arr = []
|
||||
this.currentMenu === '邯郸' ? arr.push(1) : arr.push(0)
|
||||
|
@ -648,12 +648,14 @@ export default {
|
||||
if (this.chartMsgYearTarget.series[3]) {
|
||||
this.chartMsgYearTarget.series[3].data = []
|
||||
}
|
||||
// console.log(this.listQuery);
|
||||
if (this.listQuery.type == null || this.listQuery.type == '') {
|
||||
return this.$message('请选择时间维度')
|
||||
console.log(this.listQuery)
|
||||
if (this.listQuery.type === '') {
|
||||
this.$message.warning('请选择时间维度!')
|
||||
return
|
||||
}
|
||||
if (!this.listQuery.startDate && !this.listQuery.endDate) {
|
||||
return this.$message('请选择起止时间')
|
||||
this.$message.warning('请选择起止时间')
|
||||
return
|
||||
}
|
||||
let arr = []
|
||||
this.currentMenu === '邯郸' ? arr.push(1) : arr.push(0)
|
||||
|
@ -567,11 +567,13 @@ export default {
|
||||
this.chartMsgYearTarget.xData = []
|
||||
this.chartMsgYearTarget.series[0].data = []
|
||||
this.chartMsgYearTarget.series[1].data = []
|
||||
if (this.listQuery.type == null || this.listQuery.type == '') {
|
||||
return this.$message('请选择时间维度')
|
||||
if (this.listQuery.type === '') {
|
||||
this.$message.warning('请选择时间维度!')
|
||||
return
|
||||
}
|
||||
if (!this.listQuery.startDate && !this.listQuery.endDate) {
|
||||
return this.$message('请选择起止时间')
|
||||
this.$message.warning('请选择起止时间')
|
||||
return
|
||||
}
|
||||
let arr = []
|
||||
this.currentMenu === '邯郸' ? arr.push(1) : arr.push(0)
|
||||
|
Loading…
Reference in New Issue
Block a user