268 lines
9.1 KiB
Plaintext
268 lines
9.1 KiB
Plaintext
<!--pages/newAddPage/safetyManagement/index.wxml-->
|
||
<view class="header_title">
|
||
<view class="header_title_row">
|
||
<van-row>
|
||
<van-col span="3">
|
||
<view class="header_img" bindtap="showPopup"><image src="/images/core.png"></image></view>
|
||
</van-col>
|
||
<van-col span="4">
|
||
<view class="header_img" bindtap="XMGK">
|
||
<image src="/images/left.png"></image>
|
||
<text class="header_fh">返回</text>
|
||
</view>
|
||
</van-col>
|
||
<van-col span="10">
|
||
<view class="header_name">安全管理</view>
|
||
</van-col>
|
||
</van-row>
|
||
</view>
|
||
</view>
|
||
<!-- 左侧账号信息 -->
|
||
<van-popup show="{{ show }}" position="left" custom-style="width: 70%;height:100%;background:#191d28;" bind:close="onClosePopup" >
|
||
<view class="left_max">
|
||
<van-row class="demo clearfix">
|
||
<van-col span="24">
|
||
<view class="left_info_dept">{{deptName}}</view>
|
||
</van-col>
|
||
<van-col span="10">
|
||
<view class="left_head"><image src="../../images/user_3.png"></image></view>
|
||
</van-col>
|
||
<van-col span="14">
|
||
<view class="left_info">
|
||
<view class="left_info_name">{{nickName}}</view>
|
||
<view class="left_info_name">{{loginName}}</view>
|
||
</view>
|
||
</van-col>
|
||
</van-row>
|
||
<view class="left_manage_min">
|
||
<view class="left_manage" bindtap="XGMM">
|
||
<image src="/images/set.png" class="left_icon"></image>
|
||
<text class="left_password">修改密码</text>
|
||
<image src="/images/right.png" class="left_flaot"></image>
|
||
</view>
|
||
</view>
|
||
<view class="left_manage_min">
|
||
<view class="left_manage" bindtap="TCDL">
|
||
<image src="/images/set.png" class="left_icon"></image>
|
||
<text class="left_sign">退出登录</text>
|
||
<image src="/images/right.png" class="left_flaot"></image>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</van-popup>
|
||
|
||
<view class="max_content">
|
||
<project-select init="{{initData}}" bindchange="onProjectSelect"></project-select>
|
||
<view class="gd_max" style="margin-top: 20rpx;">
|
||
<van-row class="demo clearfix">
|
||
<van-col span="8" wx:for="{{menuList}}" wx:key="unique">
|
||
<view class="gd_min" data-id="{{item.menu_identi}}" data-url="{{item.menu_url}}" bindtap="goMenu">
|
||
<image src="{{item.menu_img}}"></image>
|
||
<view>{{item.menu_name}}</view>
|
||
</view>
|
||
</van-col>
|
||
</van-row>
|
||
</view>
|
||
|
||
<view class="module_max" >
|
||
<view class="module_min" style="padding: 30rpx 20rpx 20rpx 20rpx;">
|
||
<view class="module_title module_title_flex">
|
||
<view>专项培训({{trainTotal}})</view>
|
||
<view class="module_see_info" bindtap="goZXPX">查看详情<van-icon name="arrow" /></view>
|
||
</view>
|
||
<view class="safety_highlights">
|
||
<van-row>
|
||
<swiper circular indicator-dots="{{true}}" autoplay="true" indicator-active-color="#028ffb">
|
||
<swiper-item wx:for="{{trainList}}" wx:key="index" wx:if="{{index<5}}">
|
||
<image src="{{item.mainImage}}" style="width: 100%;height: 100%;"/>
|
||
</swiper-item>
|
||
</swiper>
|
||
</van-row>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<!-- <view class="module_max">
|
||
<view class="module_min">
|
||
<view class="module_title module_title_flex" >
|
||
<view>教育培训</view>
|
||
<view class="module_see_info" bindtap="goEducations">查看详情<van-icon name="arrow" /></view>
|
||
</view>
|
||
<safety-pie-chart chart-id="chart1" title="教育总数" chart-data="{{videoSurvey}}"></safety-pie-chart>
|
||
</view>
|
||
</view> -->
|
||
<view class="module_max">
|
||
<view class="module_min">
|
||
<view class="module_title module_title_flex">
|
||
<view>安全检查</view>
|
||
<view class="module_see_info" bindtap="goAQYH">查看详情<van-icon name="arrow" /></view>
|
||
</view>
|
||
<view class="safety_inspect">
|
||
<van-row>
|
||
<van-col span="12">
|
||
<view class="safety_inspect_title">常规检查问题数</view>
|
||
<safety-number number="{{securityCheck.routineCheckNumber}}"></safety-number>
|
||
<view class="safety_prop ">
|
||
<view style="padding-right: 30rpx;">整改率</view>
|
||
<view class="safety_prop_val"><text>{{securityCheck.routineRectificationRate}}</text> %</view>
|
||
</view>
|
||
<view class="safety_issue">
|
||
<view class="safety_issue_number">
|
||
<view style="padding-right: 30rpx;">已整改问题数</view>
|
||
<view>{{securityCheck.routineProblemTotal}}</view>
|
||
</view>
|
||
</view>
|
||
</van-col>
|
||
<van-col span="12">
|
||
<view class="safety_inspect_title">专项检查问题数</view>
|
||
<safety-number number="{{securityCheck.specialCheckNumber}}"></safety-number>
|
||
<view class="safety_prop">
|
||
<view style="padding-right: 30rpx;">整改率</view>
|
||
<view class="safety_prop_val"><text>{{securityCheck.specialRectificationRate}}</text> %</view>
|
||
</view>
|
||
<view class="safety_issue">
|
||
<view class="safety_issue_number">
|
||
<view style="padding-right: 30rpx;">已整改问题数</view>
|
||
<view>{{securityCheck.specialProblemTotal}}</view>
|
||
</view>
|
||
</view>
|
||
</van-col>
|
||
</van-row>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="module_max">
|
||
<view class="module_min">
|
||
<view class="module_title module_title_flex" >
|
||
<view>特种作业人员</view>
|
||
<view class="module_see_info" bindtap="goTZRY">查看详情<van-icon name="arrow" /></view>
|
||
</view>
|
||
<safety-pie-chart chart-id="chart1" title="人员总数" chart-data="{{specialStatistics}}"></safety-pie-chart>
|
||
</view>
|
||
</view>
|
||
<view class="module_max">
|
||
<view class="module_min">
|
||
<view class="module_title module_title_flex">
|
||
<view>项目保险</view>
|
||
<view class="module_see_info" bindtap="goXMBX">查看详情<van-icon name="arrow" /></view>
|
||
</view>
|
||
<safety-pie-chart chart-id="chart2" title="保险总数" chart-data="{{insuranceStatistics}}"></safety-pie-chart>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="module_max">
|
||
<view class="module_min">
|
||
<view class="module_title module_title_flex">
|
||
<view>在岗人员</view>
|
||
<view class="module_see_info" bindtap="goZGRY">查看详情<van-icon name="arrow" /></view>
|
||
</view>
|
||
<safety-pie-chart chart-id="chart3" title="在岗人员" chart-data="{{deptWorksStatistics}}"></safety-pie-chart>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="module_max" >
|
||
<view class="module_min" style="padding: 30rpx 20rpx 20rpx 20rpx;">
|
||
<view class="module_title module_title_flex">
|
||
<view>应急演练({{emergencyDrillTotal}})</view>
|
||
<view class="module_see_info" bindtap="goYJYL">查看详情<van-icon name="arrow" /></view>
|
||
</view>
|
||
<view class="safety_highlights">
|
||
<van-row>
|
||
<swiper circular indicator-dots="{{true}}" autoplay="true" indicator-active-color="#028ffb">
|
||
<swiper-item wx:for="{{emergencyDrillList}}" wx:key="index" wx:if="{{index<5}}">
|
||
<image src="{{item.mainImage}}" style="width: 100%;height: 100%;"/>
|
||
</swiper-item>
|
||
</swiper>
|
||
</van-row>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
|
||
</view>
|
||
|
||
|
||
<!-- 底部导航 -->
|
||
<van-tabbar active="{{ active }}" bind:change="onChange" active-color="#ffffff" inactive-color="#7d95d6">
|
||
<van-tabbar-item bindtap="XMGK" >
|
||
<image
|
||
slot="icon"
|
||
src="/images/footer_5.png"
|
||
mode="aspectFit"
|
||
style="width:40rpx; height: 40rpx;"
|
||
/>
|
||
<image
|
||
slot="icon-active"
|
||
src="/images/foot_5.png"
|
||
mode="aspectFit"
|
||
style="width:40rpx; height: 40rpx;"
|
||
/>
|
||
项目概况
|
||
</van-tabbar-item>
|
||
|
||
<van-tabbar-item>
|
||
<image
|
||
slot="icon"
|
||
src="/images/footer_7.png"
|
||
mode="aspectFit"
|
||
style="width:40rpx; height: 40rpx;"
|
||
/>
|
||
<image
|
||
slot="icon-active"
|
||
src="/images/foot_7.png"
|
||
mode="aspectFit"
|
||
style="width:40rpx; height: 40rpx;"
|
||
/>
|
||
安全管理
|
||
</van-tabbar-item>
|
||
|
||
<van-tabbar-item bindtap="ZLGL">
|
||
<image
|
||
slot="icon"
|
||
src="/images/footer_5.png"
|
||
mode="aspectFit"
|
||
style="width:40rpx; height: 40rpx;"
|
||
/>
|
||
<image
|
||
slot="icon-active"
|
||
src="/images/foot_5.png"
|
||
mode="aspectFit"
|
||
style="width:40rpx; height: 40rpx;"
|
||
/>
|
||
质量管理
|
||
</van-tabbar-item>
|
||
|
||
<van-tabbar-item bindtap="JDGL">
|
||
<image
|
||
slot="icon"
|
||
src="/images/footer_6.png"
|
||
mode="aspectFit"
|
||
style="width:40rpx; height: 40rpx;"
|
||
/>
|
||
<image
|
||
slot="icon-active"
|
||
src="/images/foot_6.png"
|
||
mode="aspectFit"
|
||
style="width:40rpx; height: 40rpx;"
|
||
/>
|
||
进度管理
|
||
</van-tabbar-item>
|
||
|
||
<van-tabbar-item bindtap="GDGN">
|
||
<image
|
||
slot="icon"
|
||
src="/images/footer_1.png"
|
||
mode="aspectFit"
|
||
style="width:40rpx; height: 40rpx;"
|
||
/>
|
||
<image
|
||
slot="icon-active"
|
||
src="/images/foot_1.png"
|
||
mode="aspectFit"
|
||
style="width:40rpx; height:40rpx;"
|
||
/>
|
||
更多功能
|
||
</van-tabbar-item>
|
||
</van-tabbar>
|
||
|
||
|
||
|