|
@@ -17,6 +17,7 @@ import CollectBox from '@/components/CollectBox.vue'
|
|
import collectIcon from '@/assets/collect2.png'
|
|
import collectIcon from '@/assets/collect2.png'
|
|
import collectSIcon from '@/assets/collect2-s.png'
|
|
import collectSIcon from '@/assets/collect2-s.png'
|
|
import {addTokenToIframe} from '@/utils/common.js'
|
|
import {addTokenToIframe} from '@/utils/common.js'
|
|
|
|
+import ReportContent from './components/ReportContent.vue'
|
|
moment.locale('zh-cn')
|
|
moment.locale('zh-cn')
|
|
|
|
|
|
const route=useRoute()
|
|
const route=useRoute()
|
|
@@ -104,7 +105,7 @@ const getReportDetail=async ()=>{
|
|
|
|
|
|
// 设置水印
|
|
// 设置水印
|
|
nextTick(()=>{
|
|
nextTick(()=>{
|
|
- useWaterMark(store.state.userInfo.mobile,waterMarkEl)
|
|
|
|
|
|
+ useWaterMark(store.state.userInfo?.mobile,waterMarkEl)
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
|
|
@@ -467,7 +468,8 @@ const formatTitle=(e)=>{
|
|
<!-- <div class="abstract" v-if="info.report_info.abstract">摘要:{{info.report_info.abstract}}</div> -->
|
|
<!-- <div class="abstract" v-if="info.report_info.abstract">摘要:{{info.report_info.abstract}}</div> -->
|
|
|
|
|
|
<div id="report-rich-content" class="no-select-text rich-content" ref="waterMarkEl">
|
|
<div id="report-rich-content" class="no-select-text rich-content" ref="waterMarkEl">
|
|
- <div v-html="info.report_info.content" v-if="info.auth_ok"></div>
|
|
|
|
|
|
+ <!-- <div v-html="info.report_info.content" v-if="info.auth_ok"></div> -->
|
|
|
|
+ <ReportContent :html="info.report_info.content" v-if="info.auth_ok"></ReportContent>
|
|
<div v-html="info.report_info.content_sub" v-else></div>
|
|
<div v-html="info.report_info.content_sub" v-else></div>
|
|
<!-- 隐藏的水印 -->
|
|
<!-- 隐藏的水印 -->
|
|
<div class="hide-watermark-box">
|
|
<div class="hide-watermark-box">
|