|
|
@@ -63,7 +63,9 @@
|
|
|
</template>
|
|
|
</template> -->
|
|
|
<!-- 日报指标 -->
|
|
|
- <!-- <template v-if=""></template> -->
|
|
|
+ <template v-if="isTarget">
|
|
|
+ <shareAtarget :reportInfo="reportTarget"></shareAtarget>
|
|
|
+ </template>
|
|
|
<!-- 日报填写内容 -->
|
|
|
<!-- 今日拜访照片 -->
|
|
|
<template v-if="photosData && photosData.length">
|
|
|
@@ -129,9 +131,10 @@
|
|
|
import html2canvas from 'html2canvas';
|
|
|
import { imgToBase64 } from '@/api/index';
|
|
|
import VueQr from 'vue-qr';
|
|
|
+import ShareAtarget from './shareAtarget.vue';
|
|
|
export default {
|
|
|
name: 'share',
|
|
|
- components: { VueQr },
|
|
|
+ components: { VueQr, ShareAtarget },
|
|
|
props: {
|
|
|
// 日报数据
|
|
|
reportTarget: {
|
|
|
@@ -167,6 +170,11 @@ export default {
|
|
|
return [];
|
|
|
},
|
|
|
},
|
|
|
+ // 是否显示 指标
|
|
|
+ isTarget: {
|
|
|
+ type: Boolean,
|
|
|
+ default: true,
|
|
|
+ },
|
|
|
},
|
|
|
data() {
|
|
|
return {
|