feat:endpoint query 图表添加比较按钮

This commit is contained in:
zhangyu
2021-03-31 15:26:01 +08:00
parent 1758302b33
commit 2276dcfa93
10 changed files with 74 additions and 26 deletions

View File

@@ -261,7 +261,6 @@ export default {
this.$emit('change', this.searchTime)
},
setCustomTime (timeGroup) {
console.log(timeGroup)
if (timeGroup) {
this.showTime = this.nowTimeType = this.timeData.find(item => item.id == timeGroup.id)
if (this.showTime) {
@@ -293,7 +292,6 @@ export default {
// left(){},
// right(){},
timeChange (val, from) {
console.log(val, from)
this.nowTimeType = val
this.$set(this.showTime, 'id', val.id)
this.$set(this.showTime, 'text', val.text)
@@ -322,7 +320,6 @@ export default {
this.$refs.calendar.focus()
}
} else {
console.log(123123123)
this.isCustom = false
if (this.showEmpty && id === 12) {
this.searchTime = []