feat:新功能

1 panel列表查询:直接从前台查询,及拖拽功能相关逻辑修改
2 panel时间选择列表,默认为1小时
This commit is contained in:
hyx
2020-04-27 22:17:31 +08:00
parent e7932b3115
commit 79cac9103a
7 changed files with 238 additions and 62 deletions

View File

@@ -7,7 +7,7 @@
}
</style>
<template>
<div class="chart-url" :id="'chartUrlDiv'+chartIndex" v-show="divFirstShow" @mouseenter="caretShow=true" @mouseleave="caretShow=false">
<div class="chart-url" :id="'chartUrlDiv'+chartIndex" v-show="divFirstShow" @mouseenter="caretShow=true" @mouseleave="caretShow=false">
<loading :ref="'localLoading'+chartIndex"></loading>
<div class="clearfix chartTitle" :class="{'dragTitle':dragTitleShow}" :id="'chartTitle'+chartIndex">
@@ -313,8 +313,9 @@ export default {
},
clearData(){
},
clearChart(){
this.data = {};
},
// 重新请求数据 刷新操作-local
refreshChart() {
this.dropdownMenuShow=false;
@@ -371,6 +372,8 @@ export default {
mounted() {
this.firstLoad = false;
},
beforeDestroy() {},
beforeDestroy() {
this.clearChart();
},
};
</script>