浏览代码

Merge branch 'eta2.3.9_ht' into debug_ht

yujinwen 2 月之前
父节点
当前提交
ef53a22449
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12 0
      src/views/report/Detail.vue

+ 12 - 0
src/views/report/Detail.vue

@@ -104,6 +104,15 @@ async function getReportInfo() {
 
 
     reportContent.value = formatIframeData(reportInfo.value.content)
     reportContent.value = formatIframeData(reportInfo.value.content)
     splitReportContent(reportContent.value)
     splitReportContent(reportContent.value)
+
+    // 智能研报将富文本盒子高度设置为自动
+    if(reportInfo.value.reportLayout===2){
+      nextTick(()=>{
+        document.querySelectorAll('div[comp-type="text"]').forEach(function(div) {
+          div.style.height = 'auto';
+        });
+      })
+    }
   }
   }
 }
 }
 getReportInfo()
 getReportInfo()
@@ -685,6 +694,9 @@ function openContactPerson() {
     }
     }
     :deep(.report-drag-item-wrap_child-wrap) {
     :deep(.report-drag-item-wrap_child-wrap) {
       display: block !important;
       display: block !important;
+      .report-drag-item-wrap_child_content{
+        width: 100% !important;
+      }
     }
     }
   }
   }
   .right-fix-box {
   .right-fix-box {