Browse Source

fix:周报bug

guotianliang 3 years ago
parent
commit
84c2496d8f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/ReportForm/weekReport/reportDetail.vue

+ 1 - 1
src/views/ReportForm/weekReport/reportDetail.vue

@@ -68,7 +68,7 @@
                 <div class="content_title_noline mb32">{{seccontentTitle(envType)}}</div>
                 <chartLegend class="charttext_p" :legend-type="envType" :num-type="false"/>
                 <!-- 折线图 -->
-                <lineChart v-if="!isUserorEngry"  :chart-id="chartId" :chart-date="chartweekDate" :env-type="envType" :xType="dayType"/>
+                <lineChart v-if="!isUserorEngry(envType)"  :chart-id="chartId" :chart-date="chartweekDate" :env-type="envType" :xType="dayType"/>
                 <!-- 柱状图 -->
                 <barChart  :numberChart="isUserorEngry(envType)" :chart-id="chartId+'1'" :key="envType" :chart-date="chartweekDate" :env-type="envType"  :xType="dayType"/>
                 <!-- 服务空间数 -->