| | |
| | | <template> |
| | | <div class="chart-container" :style="getStyle" > |
| | | <div class="chart-content-container" |
| | | @mouseenter="mouseEnter" |
| | | @mouseleave="mouseLeave" |
| | | <div class="chart-content-container" |
| | | :class="{'chart-content-fixed':isFull}"> |
| | | <div class="chart-content" :id="id"></div> |
| | | <!-- <div class="chart-tools"> |
| | |
| | | }, |
| | | dataZoom: [ |
| | | { |
| | | show: dataZoom.show, |
| | | show: false, |
| | | start: 0, |
| | | end: dataZoom.end, |
| | | xAxisIndex: [0], |
| | |
| | | this.$nextTick(()=>{ |
| | | this.chart.resize(); |
| | | }); |
| | | }, |
| | | mouseEnter() { |
| | | console.log(123); |
| | | }, |
| | | mouseLeave() { |
| | | console.log(456); |
| | | }, |
| | | }, |
| | | computed: { |
| | |
| | | }, |
| | | data() { |
| | | // 配置导出的action |
| | | let action = this.$config.http+'ExportTable.servlet'; |
| | | let action = this.$config.http+'EXportCSV.servlet'; |
| | | |
| | | return { |
| | | loading: false, |