|
@@ -74,6 +74,7 @@
|
|
<li v-if="$route.query.source==='ybxcx'"><collectBtn/></li>
|
|
<li v-if="$route.query.source==='ybxcx'"><collectBtn/></li>
|
|
<!-- eta小程序报告详情中的有收藏 -->
|
|
<!-- eta小程序报告详情中的有收藏 -->
|
|
<li v-if="$route.query.source==='etamini'" @click="handleChangeChartCollect">{{IsCollect?'取消收藏':'收藏'}}</li>
|
|
<li v-if="$route.query.source==='etamini'" @click="handleChangeChartCollect">{{IsCollect?'取消收藏':'收藏'}}</li>
|
|
|
|
+ <li v-if="$route.query.source==='ht_chart'" @click="handleChangeChartCollect"><collectBtnHT/></li>
|
|
<li @click="copyUrl" class="copy" v-if="isShare"><i class="el-icon-share"/>分享</li>
|
|
<li @click="copyUrl" class="copy" v-if="isShare"><i class="el-icon-share"/>分享</li>
|
|
<li @click="refreshChart" v-if="chartInfo.UniqueCode&&$route.query.source!=='smartReportGetImg'"><i class="el-icon-refresh"/>刷新</li>
|
|
<li @click="refreshChart" v-if="chartInfo.UniqueCode&&$route.query.source!=='smartReportGetImg'"><i class="el-icon-refresh"/>刷新</li>
|
|
</ul>
|
|
</ul>
|
|
@@ -90,13 +91,15 @@ import chart from '@/components/chart.vue';
|
|
import { IState } from './typing';
|
|
import { IState } from './typing';
|
|
import { ChartApi } from '@/request/api';
|
|
import { ChartApi } from '@/request/api';
|
|
import collectBtn from './components/collectBtn.vue'
|
|
import collectBtn from './components/collectBtn.vue'
|
|
|
|
+import collectBtnHT from './components/collectBtnHT.vue'
|
|
import { useChartRender } from '@/hooks/chart/useChartRender';
|
|
import { useChartRender } from '@/hooks/chart/useChartRender';
|
|
|
|
|
|
|
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
components: {
|
|
components: {
|
|
chart,
|
|
chart,
|
|
- collectBtn
|
|
|
|
|
|
+ collectBtn,
|
|
|
|
+ collectBtnHT
|
|
},
|
|
},
|
|
setup() {
|
|
setup() {
|
|
const route = useRoute();
|
|
const route = useRoute();
|