Compare commits

..

No commits in common. "3f942111b00e7535c25f233ff7b5c61df9f966a2" and "384527d6db7e3d568f5720453bad3713df290138" have entirely different histories.

5 changed files with 6 additions and 21 deletions

View File

@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2024-04-15 10:49:13
* @LastEditTime: 2024-07-01 11:49:38
* @LastEditTime: 2024-06-28 14:43:36
* @LastEditors: zhp
* @Description:
-->
@ -329,9 +329,6 @@ export default {
if (!this.listQuery.startDate && !this.listQuery.endDate) {
return this.$message('请选择起止时间')
}
if (!this.listQuery.type) {
return this.$message('请选择时间维度')
}
this.otherProps = []
let arr = []
this.currentMenu === '邯郸' ? arr.push(1) : arr.push(0)

View File

@ -290,7 +290,7 @@ export default {
barWidth: 20,
label: {
show: true,
position: [-20, -16],
position: [-50, -16],
color: "#68C483",
formatter: function (params) {
return params.value.toFixed(2)
@ -532,9 +532,6 @@ export default {
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]
@ -571,10 +568,10 @@ export default {
})
})
if (res.data[0].list.length != 0) {
this.chartMsg.xData.push(res.data[0].list[res.data[0].list.length - 1].reportTimep + '目标')
this.chartMsg.xData.push(res.data[0].list[res.data[0].list.length-1].reportTimep + '目标')
if (this.listQuery.date === 0 || this.listQuery.date === 1 || this.listQuery.date === 2) {
this.otherProps.push({
label: res.data[0].list[res.data[0].list.length - 1].reportTimep + '目标',
label: res.data[0].list[res.data[0].list.length - 1].reportTimep + '目标',
prop: 'dayData'
})
dataArr[0]['dayData'] = res.data[0].list[res.data[0].list.length - 1].chipTarget
@ -610,7 +607,7 @@ export default {
// })
})
})
this.title = res.data[0].yearTarget.targetTime ? res.data[0].yearTarget.targetTime + '目标值' : ''
this.title = res.data[0].yearTarget.targetTime ? res.data[0].yearTarget.targetTime + '目标值' : ''
this.chartMsgYearTarget.series[0].data = [
{
value: res.data[0].yearTarget.chipTotalPower,

View File

@ -503,9 +503,6 @@ export default {
if (!this.listQuery.startDate && !this.listQuery.endDate) {
return this.$message('请选择起止时间')
}
if (!this.listQuery.type) {
return this.$message('请选择时间维度')
}
let arr = []
this.currentMenu === '邯郸' ? arr.push(1) : arr.push(0)
this.listQuery.factory = arr

View File

@ -635,9 +635,6 @@ export default {
if (!this.listQuery.startDate && !this.listQuery.endDate) {
return this.$message('请选择起止时间')
}
if (!this.listQuery.type) {
return this.$message('请选择时间维度')
}
let arr = []
this.currentMenu === '邯郸' ? arr.push(1) : arr.push(0)
this.listQuery.factory = arr

View File

@ -554,9 +554,6 @@ export default {
if (!this.listQuery.startDate && !this.listQuery.endDate) {
return this.$message('请选择起止时间')
}
if (!this.listQuery.type) {
return this.$message('请选择时间维度')
}
let arr = []
this.currentMenu === '邯郸' ? arr.push(1) : arr.push(0)
this.listQuery.factory = arr