|
@@ -49,6 +49,13 @@ let endPageNum = 0
|
|
|
let contentTotals = []
|
|
|
const renderContentList = ref([])
|
|
|
function splitReportContent(data) {
|
|
|
+ // 智能研报不分页
|
|
|
+ if(reportInfo.value.reportLayout===2){
|
|
|
+ contentTotals=[data]
|
|
|
+ renderContentList.value=[data]
|
|
|
+ endPageNum=1
|
|
|
+ return
|
|
|
+ }
|
|
|
const arr = data.split('</p>');
|
|
|
contentTotals = arr.map(_ => _ + '</p>')
|
|
|
renderContentList.value = contentTotals.slice(0, pageSize)
|