Tento commit je obsažen v:
‘937886381’ 2024-07-10 15:46:21 +08:00
rodič 91c352ff79
revize 8af5158a1b
5 změnil soubory, kde provedl 28 přidání a 18 odebrání

Zobrazit soubor

@ -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 = []

Zobrazit soubor

@ -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) {

Zobrazit soubor

@ -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)

Zobrazit soubor

@ -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)

Zobrazit soubor

@ -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)