Merge pull request 'projects/mescc/zhp' (#91) from projects/mescc/zhp into projects/mescc/develop
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: #91
This commit is contained in:
朱菊兰 2024-07-11 08:28:10 +08:00
förälder 46743fa4ef 074432851c
incheckning fe6fb41e29
5 ändrade filer med 28 tillägg och 18 borttagningar

Visa fil

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

Visa fil

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

Visa fil

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

Visa fil

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

Visa fil

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