jhwxapp/miniprogram/pages/safety_manage/index.wxml

272 lines
9.5 KiB
Plaintext
Raw Normal View History

2023-09-02 23:45:35 +08:00
<!--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">
2024-03-17 16:19:31 +08:00
<view class="left_head"><image src="https://szgcwx.jhncidg.com/staticFiles/images/user_avatar.png"></image></view>
2023-09-02 23:45:35 +08:00
</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">
2024-03-09 14:01:46 +08:00
<span wx:if="{{item.menu_identi=='AQYHPC'}}"><span class="tabNum_active" wx:if="{{aq>0}}">{{aq}}</span></span>
2023-09-02 23:45:35 +08:00
<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">
2024-01-21 20:09:42 +08:00
<view>教育培训({{trainTotal}}</view>
2023-09-03 00:47:14 +08:00
<view class="module_see_info" bindtap="goZXPX">查看详情<van-icon name="arrow" /></view>
2023-09-02 23:45:35 +08:00
</view>
<view class="safety_highlights">
<van-row>
<swiper circular indicator-dots="{{true}}" autoplay="true" indicator-active-color="#028ffb">
2023-09-03 00:47:14 +08:00
<swiper-item wx:for="{{trainList}}" wx:key="index" wx:if="{{index<5}}">
2023-09-11 09:45:21 +08:00
<image src="{{request+item.mainImage+'.min.jpg'}}" style="width: 100%;height: 100%;"/>
2023-09-02 23:45:35 +08:00
</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">
2023-09-03 14:08:39 +08:00
<view>安全隐患排查</view>
2023-09-03 00:47:14 +08:00
<view class="module_see_info" bindtap="goAQYH">查看详情<van-icon name="arrow" /></view>
2023-09-02 23:45:35 +08:00
</view>
<view class="safety_inspect">
<van-row>
<van-col span="12">
2023-09-03 00:47:14 +08:00
<view class="safety_inspect_title">常规检查问题数</view>
2023-09-02 23:45:35 +08:00
<safety-number number="{{securityCheck.routineCheckNumber}}"></safety-number>
2023-09-03 00:47:14 +08:00
<view class="safety_prop ">
2023-09-02 23:45:35 +08:00
<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">
2023-09-03 00:47:14 +08:00
<view style="padding-right: 30rpx;">已整改问题数</view>
2023-09-02 23:45:35 +08:00
<view>{{securityCheck.routineProblemTotal}}</view>
</view>
</view>
</van-col>
<van-col span="12">
2023-09-03 00:47:14 +08:00
<view class="safety_inspect_title">专项检查问题数</view>
2023-09-02 23:45:35 +08:00
<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">
2023-09-03 00:47:14 +08:00
<view style="padding-right: 30rpx;">已整改问题数</view>
2023-09-02 23:45:35 +08:00
<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>
2023-09-03 00:47:14 +08:00
<view class="module_see_info" bindtap="goTZRY">查看详情<van-icon name="arrow" /></view>
2023-09-02 23:45:35 +08:00
</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>
2023-09-03 00:47:14 +08:00
<view class="module_see_info" bindtap="goXMBX">查看详情<van-icon name="arrow" /></view>
2023-09-02 23:45:35 +08:00
</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>
2023-09-03 00:47:14 +08:00
<view class="module_see_info" bindtap="goZGRY">查看详情<van-icon name="arrow" /></view>
2023-09-02 23:45:35 +08:00
</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>
2023-09-03 00:47:14 +08:00
<view class="module_see_info" bindtap="goYJYL">查看详情<van-icon name="arrow" /></view>
2023-09-02 23:45:35 +08:00
</view>
<view class="safety_highlights">
<van-row>
<swiper circular indicator-dots="{{true}}" autoplay="true" indicator-active-color="#028ffb">
2023-09-03 00:47:14 +08:00
<swiper-item wx:for="{{emergencyDrillList}}" wx:key="index" wx:if="{{index<5}}">
2023-09-11 09:45:21 +08:00
<image src="{{request+item.mainImage+'.min.jpg'}}" style="width: 100%;height: 100%;"/>
2023-09-02 23:45:35 +08:00
</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;"
/>
安全管理
2024-03-09 14:01:46 +08:00
<span class="tabNum" wx:if="{{aq>0}}">{{aq}}</span>
2023-09-02 23:45:35 +08:00
</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;"
/>
质量管理
2023-09-24 23:17:05 +08:00
<span class="tabNum" wx:if="{{approveDb>0}}">{{approveDb}}</span>
2023-09-02 23:45:35 +08:00
</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;"
/>
更多功能
2023-09-24 23:17:05 +08:00
<span class="tabNum" wx:if="{{todoDb>0}}">{{todoDb}}</span>
2023-09-02 23:45:35 +08:00
</van-tabbar-item>
</van-tabbar>