|
@@ -471,9 +471,17 @@ export default {
|
|
|
video_img:res.data.report_info.video_img
|
|
|
}
|
|
|
this.chapterList=res.data.report_chapter_list
|
|
|
- document.title = res.data.report_info.classify_name_first
|
|
|
-
|
|
|
- this.splitContentHandle(this.info.report_info.content);
|
|
|
+ document.title = res.data.report_info.classify_name_first||'';
|
|
|
+
|
|
|
+ //非章节报告处理内容分页
|
|
|
+ (!res.data.report_info.has_chapter) && this.splitContentHandle(this.info.report_info.content);
|
|
|
+
|
|
|
+ //章节拼接报告拼接iframe token
|
|
|
+ if(res.data.report_info.has_chapter&&res.data.report_detail_show_type===1) {
|
|
|
+ res.data.report_chapter_list.forEach(chapter => {
|
|
|
+ chapter.content = addTokenToIframe(chapter.content,this.reportId,chapter.report_chapter_id)
|
|
|
+ })
|
|
|
+ }
|
|
|
|
|
|
if(!res.data.auth_ok){
|
|
|
// 获取详情如果为联系销售根据判断条件是否主动申请一次
|