|
|
|
@ -18,33 +18,61 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="menu_box"> |
|
|
|
<view class="menu_box"> |
|
|
|
<view class="menu_title">工作台</view> |
|
|
|
<view class="menu_title">工作台</view> |
|
|
|
<view class="menu_list clearfix"> |
|
|
|
<view class="menu_list clearfix" v-if="dataTypes==1"> |
|
|
|
<view class="item_box" @click="goPage('/pages/inspection/plan')"> |
|
|
|
<view class="item_box" @click="goPage('/pages/inspection/plan')"> |
|
|
|
<view class="item_img"> |
|
|
|
<view class="item_img"> |
|
|
|
<image src="@/static/images/home/left.svg" mode="aspectFit" /> |
|
|
|
<image src="@/static/images/home/left.svg" mode="aspectFit" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="item_txt">巡检计划</view> |
|
|
|
<view class="item_txt">巡检计划</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="item_box" @click="goPage('/pages/submission/records?type=submission')"> |
|
|
|
<view class="item_box" @click="goPage('/pages/submission/records?name=报送记录')"> |
|
|
|
<view class="item_img"> |
|
|
|
<view class="item_img"> |
|
|
|
<image src="@/static/images/home/left.svg" mode="aspectFit" /> |
|
|
|
<image src="@/static/images/home/left.svg" mode="aspectFit" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="item_txt">报送记录</view> |
|
|
|
<view class="item_txt">报送记录</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="menu_list clearfix" v-else-if="dataTypes==4"> |
|
|
|
|
|
|
|
<view class="item_box" @click="goPage('/pages/submission/records?name=维修任务')"> |
|
|
|
|
|
|
|
<view class="item_img"> |
|
|
|
|
|
|
|
<image src="@/static/images/home/left.svg" mode="aspectFit" /> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="item_txt">维修任务</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="item_box" @click="goPage('/pages/inspection/quest')"> |
|
|
|
|
|
|
|
<view class="item_img"> |
|
|
|
|
|
|
|
<image src="@/static/images/home/left.svg" mode="aspectFit" /> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="item_txt">巡检任务</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="menu_list clearfix" v-else> |
|
|
|
|
|
|
|
<view class="item_box" @click="goPage('/pages/submission/records?name=接单记录')"> |
|
|
|
|
|
|
|
<view class="item_img"> |
|
|
|
|
|
|
|
<image src="@/static/images/home/left.svg" mode="aspectFit" /> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="item_txt">接单记录</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="item_box" @click="goPage('/pages/inspection/quest')"> |
|
|
|
|
|
|
|
<view class="item_img"> |
|
|
|
|
|
|
|
<image src="@/static/images/home/left.svg" mode="aspectFit" /> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="item_txt">巡检任务</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="work-title">设备统计</view> |
|
|
|
<view class="work-title">设备统计</view> |
|
|
|
<eachartsPie :echartData="pieInfo"></eachartsPie> |
|
|
|
<eachartsPie :echartData="pieInfo"></eachartsPie> |
|
|
|
|
|
|
|
|
|
|
|
<view class="work-title">检修单状态</view> |
|
|
|
<view class="work-title">检修单状态</view> |
|
|
|
<eachartsNightpie :echartData="pieInfo"></eachartsNightpie> |
|
|
|
<eachartsNightpie :echartData="pieInfo"></eachartsNightpie> |
|
|
|
|
|
|
|
|
|
|
|
<view class="work-title">维修统计</view> |
|
|
|
<view class="work-title">维修统计</view> |
|
|
|
<view class="statistics"> |
|
|
|
<view class="statistics"> |
|
|
|
<eacharts :type="'maintenanceStatistics'"></eacharts> |
|
|
|
<eacharts :type="'maintenanceStatistics'"></eacharts> |
|
|
|
<!-- <eacharts :type="'maintenanceStatisticsPie'"></eacharts> --> |
|
|
|
<!-- <eacharts :type="'maintenanceStatisticsPie'"></eacharts> --> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<betone-tabbar ref="tabbarRef" /> |
|
|
|
<betone-tabbar ref="tabbarRef" /> |
|
|
|
@ -65,6 +93,12 @@ export default { |
|
|
|
eachartsPie, |
|
|
|
eachartsPie, |
|
|
|
eachartsNightpie |
|
|
|
eachartsNightpie |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
computed: { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dataTypes() { |
|
|
|
|
|
|
|
return this.$store.state.dataType |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
data() { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
return { |
|
|
|
swiperList: [], |
|
|
|
swiperList: [], |
|
|
|
@ -269,6 +303,7 @@ export default { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
margin: 0 32rpx; |
|
|
|
margin: 0 32rpx; |
|
|
|
border-radius: 20rpx; |
|
|
|
border-radius: 20rpx; |
|
|
|
|
|
|
|
|
|
|
|
&::after { |
|
|
|
&::after { |
|
|
|
content: ''; |
|
|
|
content: ''; |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
|