Procházet zdrojové kódy

fix:bug5807pdf文件

ldong před 3 měsíci
rodič
revize
e71e04f2fa

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

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