洪海涛 4 years ago
parent
commit
d9a1cc2050

+ 2 - 1
src/views/monthlyReport/childrenPage/editReport/components/content.vue

@@ -76,7 +76,8 @@
           :item="item"
         />
 <!--        <div v-else class="no-data">暂无数据</div>-->
-<!--        <div v-else-if="title.search(/本月优秀|持续改进/) > -1" style="margin-top: 10px;color: #666">无{{ title }}!</div>-->
+        <div v-else-if="title.search(/本月优秀|持续改进/) > -1" style="margin-top: 10px;color: #666">本月无{{ title }}!</div>
+        <div v-else class="no-data" style="padding-left: 20px">暂无数据!</div>
       </div>
       <div v-else>
         <!--        <fixedText-->

+ 1 - 1
src/views/monthlyReport/childrenPage/editReport/components/core.vue

@@ -297,7 +297,7 @@ export default {
         this.baseData.content[0].type === 'RichText' &&
         !this.baseData.content[0].value
       ) {
-        return false
+        return true
       }
       return true
     },