monitor.wxml 3.15 KB
<view class="monitor_container">
  <view class="monitor_top">
    <commonTop></commonTop>
  </view>
  <view class="monitor_main">
    <topTabbar tabbarList="{{monitorTabList}}" bind:tabsItemChange="tabsItemChange" currentIndex="{{currentIndex}}"></topTabbar>
    <view class="monitor_content" wx:if="{{currentIndex === 0}}">

      <view class="electroc_money">
        <view class="electroc_left">
          <view class="electroc_money_text">
            累计发电量
          </view>
          <view class="electroc_money_num">
            <text class="electroc_money_text_num">{{allData.allPower
              ||0}}</text>
            <text class="electroc_money_text_unit">kWh</text>
          </view>

        </view>
        <view class="money_right">
          <view class="electroc_money_text">
            累计经济效益
          </view>
          <view class="electroc_money_num">
            <text class="electroc_money_text_num">{{allData.allAmount
              ||0}}</text>
            <text class="electroc_money_text_unit">万元</text>
          </view>
        </view>

      </view>
      <view class="deviceStatistics" wx:if="{{allData&&allData.deviceInfo }}">
        <topTitle topTitleName="设备统计"></topTitle>
        <circularDiagram  deviceInfo="{{allData.deviceInfo}}"></circularDiagram>
        <deviceData deviceDataList="{{deviceDataList}}"></deviceData>
      </view>
      <view class="overallOperationStatus" wx:if="{{overallDataList.length>0}}">
        <topTitle topTitleName="整体运行情况"></topTitle>
        <overallOperation overallDataList="{{overallDataList}}"></overallOperation>
      </view>
      <view class="sceneStatistics">
        <topTitle topTitleName="场景统计"></topTitle>
        <sceneStatistics></sceneStatistics>
      </view>
      <view class="loadCurveEchart">
        <topTitle topTitleName="负荷曲线"></topTitle>
        <loadCurveEchart echartData="{{myLineObj}}"></loadCurveEchart>
      </view>
      <view class="dataStoreCount">
        <topTitle topTitleName="数据储存与统计"></topTitle>
        <dataStoreCount dataStoreCountList="{{dataStoreCountList}}"></dataStoreCount>
      </view>
      <view class="alarmStatistics">
        <topTitle topTitleName="报警统计" bgColor="#DA6159"></topTitle>
        <alarmStatistics storeCountList="{{storeCountList}}"></alarmStatistics>
      </view>

    </view>
    <view class="home_content" wx:if="{{currentIndex !== 0}}">
      <!-- <topTabbar tabbarList="{{monitorTabList}}" bind:tabsItemChange="tabsItemChange" currentIndex="{{currentIndex}}"></topTabbar> -->
      <view class="dashboardList_home">
        <dashboardList dashboardList="{{dashboardList}}"></dashboardList>
      </view>

      <view class="loadCurveEchart_home">
        <loadCurveEchart echartData="{{homeLineObj}}"></loadCurveEchart>
      </view>

      <view class="tableData_home" wx:if="{{tableList&&tableHeader}}">
        <tableData tableList="{{tableList}}" tableHeader="{{tableHeader}}"></tableData>
      </view>
      <view class="allcardList_home">
        <allcardList allcardList="{{allcardList}}"></allcardList>
      </view>

    </view>
  </view>
  <van-toast id="van-toast" />
</view>