|
@@ -64,7 +64,6 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
<div id="report-rich-content" class="rich-content" style="position: relative;" ref="richConBox">
|
|
|
<div v-if="info.auth_ok">
|
|
|
<ul>
|
|
@@ -157,6 +156,7 @@
|
|
|
import moment from 'moment'
|
|
|
import 'moment/dist/locale/zh-cn'
|
|
|
moment.locale('zh-cn')
|
|
|
+import {addTokenToIframe} from '../utils/common'
|
|
|
|
|
|
import {apiReportDetail,apiRddpShareImg,apiReportPPtImgs} from '@/api/hzyb/report'
|
|
|
import {apiApplyPermission,apiUserInfo,apiSetCollect,apiCancelCollect} from '@/api/hzyb/user'
|
|
@@ -167,6 +167,7 @@ import _ from 'lodash';
|
|
|
import LeaveMessage from '../components/leaveMessage/index.vue'
|
|
|
import collectIcon from '@/assets/hzyb/collect-icon.png'
|
|
|
import collectIcons from '@/assets/hzyb/collect-icon-s.png'
|
|
|
+
|
|
|
export default {
|
|
|
components:{
|
|
|
[Popup.name]:Popup,
|
|
@@ -430,6 +431,7 @@ export default {
|
|
|
|
|
|
/*内容分割*/
|
|
|
splitContentHandle(content) {
|
|
|
+ content=addTokenToIframe(content,this.reportId,0)
|
|
|
const arr = content.split('</p>');
|
|
|
this.totalContent = arr.map(_ => _+'</p>');
|
|
|
this.realContent = this.totalContent.slice(0,this.pageSize)
|