Ver Fonte

Merge branch 'eta2.3.9_ht' into debug_ht

yujinwen há 2 meses atrás
pai
commit
ef53a22449
1 ficheiros alterados com 12 adições e 0 exclusões
  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)
     splitReportContent(reportContent.value)
+
+    // 智能研报将富文本盒子高度设置为自动
+    if(reportInfo.value.reportLayout===2){
+      nextTick(()=>{
+        document.querySelectorAll('div[comp-type="text"]').forEach(function(div) {
+          div.style.height = 'auto';
+        });
+      })
+    }
   }
 }
 getReportInfo()
@@ -685,6 +694,9 @@ function openContactPerson() {
     }
     :deep(.report-drag-item-wrap_child-wrap) {
       display: block !important;
+      .report-drag-item-wrap_child_content{
+        width: 100% !important;
+      }
     }
   }
   .right-fix-box {