ldong 1 сар өмнө
parent
commit
e3dd37b343

+ 1 - 1
src/views/report/reportDetailPdf.vue

@@ -44,7 +44,7 @@
               <span class="type" v-if="item.TypeName">{{item.TypeName}}</span>
               <span class="title">{{item.Title}}</span>
             </div>
-            <div id="resetcss" style="overflow:hidden;" v-html="item.Content"></div>
+            <div id="resetcss" style="overflow:hidden;" v-html="setReportContent(item.Content)"></div>
           </div>
         </div>
         <div id="resetcss" style="overflow:hidden;" v-else>

+ 1 - 1
src/views/smartReport/detailPdf.vue

@@ -35,7 +35,7 @@
               <span class="type" v-if="item.TypeName">{{item.TypeName}}</span>
               <span class="title">{{item.Title}}</span>
             </div>
-            <div id="resetcss" style="overflow:hidden;" v-html="item.Content"></div>
+            <div id="resetcss" style="overflow:hidden;" v-html="setReportContent(item.Content)"></div>
           </div>
         </div>
         <div id="resetcss" style="overflow:hidden;" v-html="reportInfo.Content" v-else></div>