CN-333 fix : 修改了一些样式和接口请求参数

This commit is contained in:
zhangxiaolong
2022-03-07 17:27:55 +08:00
parent 51c96fbc1e
commit 97a6e893c6
15 changed files with 123 additions and 100 deletions

View File

@@ -311,9 +311,9 @@ export default {
ChartTwoSituationStatistics,
ChartAlarmInfo
},
data(){
return{
tabHandleClickType:''
data () {
return {
tabHandleClickType: ''
}
},
props: {
@@ -329,7 +329,7 @@ export default {
isError: Boolean,
table: Object,
orderPieTable: Object,
tabHandleClickType:String
tabHandleClickType: String
},
computed: {
isNoData () {
@@ -353,7 +353,7 @@ export default {
} else {
return getOption(this.chartInfo.type)
}
},
}
},
methods: {
resize () {
@@ -363,8 +363,8 @@ export default {
showLoading (show) {
this.$emit('showLoading', show)
},
getAlarmInfo(url,extraParams){
this.$emit('getChartData',url,extraParams)
getAlarmInfo (url, extraParams, isRefresh, timeFilter) {
this.$emit('getChartData', url, extraParams, isRefresh, timeFilter)
},
initEchartsWithTable () {
this.$refs['chart' + this.chartInfo.id] &&
@@ -381,9 +381,9 @@ export default {
deep: true,
handler (n) {}
},
tabHandleClickType:{
deep:true,
handler(n){
tabHandleClickType: {
deep: true,
handler (n) {
this.tabHandleClickType = n
}
}
@@ -427,8 +427,8 @@ export default {
isAppRelatedDomain: isAppRelatedDomain(props.chartInfo.type),
isSingleSupportStatistics: isSingleSupportStatistics(props.chartInfo.type),
isTwoSupportStatistics: isTwoSupportStatistics(props.chartInfo.type),
isAlarmInfo: isAlarmInfo(props.chartInfo.type),
isAlarmInfo: isAlarmInfo(props.chartInfo.type)
}
},
}
}
</script>