|
@@ -1,33 +1,3 @@
|
|
|
-<!-- -->
|
|
|
-<template>
|
|
|
- <div class="chart-show">
|
|
|
- <header class="chart-header" @click="openNew">
|
|
|
- <span class="chart-title" @click.stop @dblclick="copyText">{{ chartInfo.ChartName }}</span>
|
|
|
- </header>
|
|
|
- <template v-if="haveData">
|
|
|
- <div
|
|
|
- class="chart-wrapper"
|
|
|
- id="chart-wrapper"
|
|
|
- v-loading="loading"
|
|
|
- element-loading-spinner="el-icon-loading"
|
|
|
- element-loading-text="加载中..."
|
|
|
- >
|
|
|
- <chart :options="options" :chartId="chartInfo.ChartInfoId || 0" />
|
|
|
- <div class="mark"></div>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <div class="chart-wrapper notfound" v-else>
|
|
|
- <i class="el-icon-warning"></i>哎吆,你的图飞了,赶快去找管理员救命吧~
|
|
|
- </div>
|
|
|
- <div class="bootom-source">
|
|
|
- <strong style="flex-shrink: 0;">source: <em> {{sourceName}}弘则研究</em></strong>
|
|
|
- <ul class="right-action" @click.stop>
|
|
|
- <li @click="copyUrl" class="copy" v-if="isShare"><i class="el-icon-share"/>分享</li>
|
|
|
- <li @click="refreshChart"><i class="el-icon-refresh"/>刷新</li>
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-</template>
|
|
|
|
|
|
<script lang="ts">
|
|
|
import { defineComponent, reactive, toRefs, onMounted, ref } from 'vue';
|
|
@@ -834,6 +804,38 @@ export default defineComponent({
|
|
|
},
|
|
|
});
|
|
|
</script>
|
|
|
+
|
|
|
+<!-- -->
|
|
|
+<template>
|
|
|
+ <div class="chart-show">
|
|
|
+ <header class="chart-header" @click="openNew">
|
|
|
+ <span class="chart-title" @click.stop @dblclick="copyText">{{ chartInfo.ChartName }}</span>
|
|
|
+ </header>
|
|
|
+ <template v-if="haveData">
|
|
|
+ <div
|
|
|
+ class="chart-wrapper"
|
|
|
+ id="chart-wrapper"
|
|
|
+ v-loading="loading"
|
|
|
+ element-loading-spinner="el-icon-loading"
|
|
|
+ element-loading-text="加载中..."
|
|
|
+ >
|
|
|
+ <chart :options="options" :chartId="chartInfo.ChartInfoId || 0" />
|
|
|
+ <div class="mark"></div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <div class="chart-wrapper notfound" v-else>
|
|
|
+ <i class="el-icon-warning"></i>哎吆,你的图飞了,赶快去找管理员救命吧~
|
|
|
+ </div>
|
|
|
+ <div class="bootom-source">
|
|
|
+ <strong style="flex-shrink: 0;">source: <em> {{sourceName}}弘则研究</em></strong>
|
|
|
+ <ul class="right-action" @click.stop>
|
|
|
+ <li @click="copyUrl" class="copy" v-if="isShare"><i class="el-icon-share"/>分享</li>
|
|
|
+ <li @click="refreshChart"><i class="el-icon-refresh"/>刷新</li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
<style scoped lang="less">
|
|
|
@import './index.less';
|
|
|
</style>
|