Преглед изворни кода

Merge branch 'requirements_200' into custom

hbchen пре 9 месеци
родитељ
комит
c74efe618d

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

@@ -68,7 +68,7 @@
 
       <div id="abstract">
         <div class="abstract_cont">
-          <div>摘要:{{ reportInfo.Abstract }}</div>
+          <div v-if="reportInfo.Abstract">摘要:{{ reportInfo.Abstract }}</div>
           <div style="color: #666; margintop: 1.2rem">
             *注:请务必阅读&nbsp;<strong
               style="fontweight: normal; cursor: pointer; color: #3e8ce6"

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

@@ -56,7 +56,7 @@
 
       <div id="abstract">
         <div class="abstract_cont">
-          <div>摘要:{{ reportInfo.Abstract }}</div>
+          <div v-if="reportInfo.Abstract">摘要:{{ reportInfo.Abstract }}</div>
           <div style="color: #666; margin-top: 1.2rem">
             *注:请务必阅读&nbsp;<strong
               style="font-weight: normal; cursor: pointer; color: #3e8ce6"

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

@@ -27,7 +27,7 @@
           </div>
         </div>
         <div class="abstract" v-if="reportInfo && !!reportInfo.NeedSplice">
-          <div>摘要: <span v-html="reportInfo.Abstract"></span></div> 
+          <div v-if="reportInfo.Abstract">摘要: <span v-html="reportInfo.Abstract"></span></div> 
         </div>
         <div id="resetcss" style="overflow:hidden;" v-html="reportInfo.Content"></div>
         <div class="html-end-img-box" v-if="reportInfo && !!reportInfo.NeedSplice && reportInfo.EndImg">

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

@@ -20,7 +20,7 @@
           </div>
         </div>
         <div class="abstract" v-if="reportInfo && !!reportInfo.NeedSplice">
-          <div>摘要: <span v-html="reportInfo.Abstract"></span></div> 
+          <div v-if="reportInfo.Abstract">摘要: <span v-html="reportInfo.Abstract"></span></div> 
         </div>
         <div id="resetcss" style="overflow:hidden;" v-html="reportInfo.Content"></div>
         <div class="html-end-img-box" v-if="reportInfo && !!reportInfo.NeedSplice && reportInfo.EndImg">