123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440 |
- <!-- 宁煤集团-数据统计版本 -->
- <template>
- <view>
- <view class="content">
- <view class="section">
- <view class="title">
- <view class="line"></view>
- <view class="text">生产类</view>
- <view class="line"></view>
- </view>
- <view class="list">
- <view class="item" @click="go_record('ba8e5fa1c63d4f14a0f4cabb3ec585fc')">
- <view class="icon">
- <image src="./icon/section_1_icon_1.png" mode=""></image>
- </view>
- <view class="name">采煤</view>
- </view>
- <view class="item" style="background-color: #A3A2E4;"
- @click="go_record('a1547d077a7e46b0a8197b8c034e2dee')">
- <view class="icon">
- <image src="./icon/section_1_icon_2.png" mode=""></image>
- </view>
- <view class="name">掘进</view>
- </view>
- <view class="item" style="background-color: #8BC8DA;" @click="go_zdhxt('zys')">
- <view class="icon">
- <image src="./icon/section_1_icon_3.png" mode=""></image>
- </view>
- <view class="name">主运输</view>
- </view>
- <view class="item" style="background-color: #63D57B;" @click="go_production_statistics()">
- <view class="icon">
- <image src="./icon/section_1_icon_4.png" mode=""></image>
- </view>
- <view class="name">生产报表</view>
- </view>
- <view class="item" style="background-color: #E57A98;" @click="go_zdhxt('xdt')">
- <view class="icon">
- <image src="./icon/section_1_icon_5.png" mode=""></image>
- </view>
- <view class="name">巷道图</view>
- </view>
- <view class="item" style="background-color: #E9A037;" @click="show_toast()">
- <view class="icon">
- <image src="./icon/section_1_icon_6.png" mode=""></image>
- </view>
- <view class="name">化工</view>
- </view>
- </view>
- </view>
- <view class="section">
- <view class="title">
- <view class="line"></view>
- <view class="text">辅助类</view>
- <view class="line"></view>
- </view>
- <view class="list">
- <view class="item" style="background-color: #E9A037;" @click="go_zdhxt('tfgl')">
- <view class="icon">
- <image src="./icon/section_2_icon_1.png" mode=""></image>
- </view>
- <view class="name">主扇通风</view>
- </view>
- <view class="item" style="background-color: #638BD5;" @click="show_toast()">
- <view class="icon">
- <image src="./icon/section_2_icon_2.png" mode=""></image>
- </view>
- <view class="name">电力监控</view>
- </view>
- <view class="item" style="background-color: #638BD5;" @click="show_toast()">
- <view class="icon">
- <image src="./icon/section_2_icon_3.png" mode=""></image>
- </view>
- <view class="name">智慧水务</view>
- </view>
- <view class="item" style="background-color: #A3A2E4;" @click="go_zdhxt('psxt')">
- <view class="icon">
- <image src="./icon/section_2_icon_4.png" mode=""></image>
- </view>
- <view class="name">排水系统</view>
- </view>
- <view class="item" style="background-color: #8BC8DA;" @click="go_zdhxt('yfzd')">
- <view class="icon">
- <image src="./icon/section_2_icon_6.png" mode=""></image>
- </view>
- <view class="name">压风制氮</view>
- </view>
- <view class="item" style="background-color: #E9A037;"
- @click="go_record('b89076dac2cd45a8831ee8d3e85b4ed6')">
- <view class="icon">
- <image src="./icon/section_2_icon_7.png" mode=""></image>
- </view>
- <view class="name">设备健康诊断</view>
- </view>
- <view class="item" style="background-color: #E57A98;" @click="show_toast()">
- <view class="icon">
- <image src="./icon/section_2_icon_8.png" mode=""></image>
- </view>
- <view class="name">胶轮车监控</view>
- </view>
- <view class="item" style="background-color: #A3A2E4;" @click="go_zdhxt('jkrc')">
- <view class="icon">
- <image src="./icon/section_2_icon_9.png" mode=""></image>
- </view>
- <view class="name">架空乘人器</view>
- </view>
- <view class="item" style="background-color: #63D57B;" @click="go_zdhxt('tsj')">
- <view class="icon">
- <image src="./icon/section_2_icon_10.png" mode=""></image>
- </view>
- <view class="name">副井提升</view>
- </view>
- </view>
- </view>
- <view class="section">
- <view class="title">
- <view class="line"></view>
- <view class="text">监测监控类</view>
- <view class="line"></view>
- </view>
- <view class="list">
- <view class="item" style="background-color: #E9A037;" @click="go_video()">
- <view class="icon">
- <image src="./icon/section_3_icon_1.png" mode=""></image>
- </view>
- <view class="name">工业视频</view>
- </view>
- <view class="item" style="background-color: #638BD5;" @click="go_shangtang()">
- <view class="icon">
- <image src="./icon/section_3_icon_2.png" mode=""></image>
- </view>
- <view class="name">AI视频分析</view>
- </view>
- <view class="item" style="background-color: #638BD5;" @click="go_safety_monitoring()">
- <view class="icon">
- <image src="./icon/section_3_icon_3.png" mode=""></image>
- </view>
- <view class="name">安全监测</view>
- </view>
- <view class="item" style="background-color: #A3A2E4;" @click="go_personnel_orientation()">
- <view class="icon">
- <image src="./icon/section_3_icon_4.png" mode=""></image>
- </view>
- <view class="name">人员定位</view>
- </view>
- <view class="item" style="background-color: #63D57B;" @click="go_zdhxt('kyjc')">
- <view class="icon">
- <image src="./icon/section_3_icon_5.png" mode=""></image>
- </view>
- <view class="name">矿压监测</view>
- </view>
- <view class="item" style="background-color: #8BC8DA;" @click="go_zdhxt('glyq')">
- <view class="icon">
- <image src="./icon/section_3_icon_6.png" mode=""></image>
- </view>
- <view class="name">锅炉烟气</view>
- </view>
- </view>
- </view>
- <view class="section">
- <view class="title">
- <view class="line"></view>
- <view class="text">重点场所</view>
- <view class="line"></view>
- </view>
- <view class="list">
- <view class="item" style="background-color: #E9A037;"
- @click="go_record('58915240cbff480d87ce20cbdfa66a87')">
- <view class="icon">
- <image src="./icon/section_4_icon_1.png" mode=""></image>
- </view>
- <view class="name">南湖</view>
- </view>
- <view class="item" style="background-color: #638BD5;" @click="show_toast()">
- <view class="icon">
- <image src="./icon/section_4_icon_2.png" mode=""></image>
- </view>
- <view class="name">班前会</view>
- </view>
- <view class="item" style="background-color:#E57A98;"
- @click="go_record('4c1dbe725d8d485e9c58ab81c9f1fd5d')">
- <view class="icon">
- <image src="./icon/section_4_icon_3.png" mode=""></image>
- </view>
- <view class="name">培训课堂</view>
- </view>
- </view>
- </view>
- <view class="section">
- <view class="title">
- <view class="line"></view>
- <view class="text">实时预警</view>
- <view class="line"></view>
- </view>
- <view class="table" v-if="list">
- <uni-table emptyText="暂无更多数据" stripe>
- <!-- 表头行 -->
- <uni-tr>
- <uni-th align="center">时间</uni-th>
- <uni-th align="center" width="90">单位</uni-th>
- <uni-th align="center">地点</uni-th>
- <!-- <uni-th align="center">系统名称</uni-th> -->
- <uni-th align="center">报警内容</uni-th>
- <uni-th align="center">处理措施</uni-th>
- </uni-tr>
- <!-- 表格数据行 -->
- <uni-tr v-for="(item,index) in list" :key="index" v-if="index < 5">
- <uni-td style="vertical-align: middle;" align="center">
- <view>{{item.enter_time}}</view>
- </uni-td>
- <uni-td style="vertical-align: middle;" align="center">
- <view>{{item.coal_name}}</view>
- </uni-td>
- <uni-td style="vertical-align: middle;" align="center">
- <view>{{item.survey_name}}</view>
- </uni-td>
- <uni-td style="vertical-align: middle;" align="center">
- <view>{{item.abnormal_reason}}</view>
- </uni-td>
- <uni-td style="vertical-align: middle;" align="center">
- <view>{{item.do_measure}}</view>
- </uni-td>
- </uni-tr>
- </uni-table>
-
- <view class="btn">
- <view class="icon">
- <image src="./icon/btn.png" mode=""></image>
- </view>
- <view class="btn_text" @click="go_real_time_alarm()">点击查看全部信息</view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- name: "t-p-n-section-1",
- data() {
- return {
- list:[]
- };
- },
- mounted() {
- this.get_ycbj_list()
- },
- methods: {
- get_ycbj_list(){
- this.$p_api.get_ycbj_list({
-
- }).then((res)=>{
- this.list = res.data.content
- })
- },
- show_toast() {
- uni.showToast({
- icon: "none",
- title: "正在建设中..."
- })
- },
- go_real_time_alarm() {
- uni.navigateTo({
- url: "../../ningdongyunying/real_time_alarm/real_time_alarm"
- })
- },
- go_record(pageId) {
- uni.navigateTo({
- url: "../../index/record/record?mine_code=ningmeijituan&pageId=" + pageId
- })
- },
- // 自动化统计列表
- go_zdhxt(zdhxt) {
- uni.navigateTo({
- url: "../../production/zidonghua/zidonghua?zdhxt=" + zdhxt
- })
- },
- // 视频监控
- go_video() {
- uni.navigateTo({
- url: "../../production/video_monitor_app/video_monitor_app?mine_code=ningmeijituan"
- })
- },
- // 生产统计
- go_production_statistics() {
- uni.navigateTo({
- url: "../../ningdongyunying/production_statistics/production_statistics"
- })
- },
- // 人员定位
- go_personnel_orientation() {
- uni.navigateTo({
- url: "../../ningdongyunying/personnel_orientation/personnel_orientation"
- })
- },
- // 安全监测
- go_safety_monitoring() {
- uni.navigateTo({
- url: "../../ningdongyunying/safety_monitoring/safety_monitoring"
- })
- },
- // 商汤
- go_shangtang() {
- uni.navigateTo({
- url: "../../production/shangtang/shangtang"
- })
- },
- }
- }
- </script>
- <style lang="scss">
- .content {
- box-sizing: border-box;
- padding: 20rpx 25rpx 0;
- margin-bottom: 150rpx;
- .section {
- .title {
- line-height: 90rpx;
- font-size: 34rpx;
- color: #424242;
- font-weight: 700;
- display: flex;
- align-items: center;
- justify-content: center;
- .text {
- margin: 0 20rpx;
- }
- .line {
- width: 100rpx;
- height: 2rpx;
- background-color: #BFBFBF;
- }
- }
- .list {
- overflow: hidden;
- .item {
- float: left;
- width: 200rpx;
- height: 166rpx;
- background-color: #638BD5;
- text-align: center;
- box-sizing: border-box;
- padding-top: 25rpx;
- padding-bottom: 34rpx;
- margin-right: 50rpx;
- margin-bottom: 40rpx;
- border-radius: 16rpx;
- .icon {
- image {
- width: 64rpx;
- height: 64rpx;
- }
- }
- .name {
- margin-top: 4rpx;
- font-size: 28rpx;
- font-weight: 700;
- color: #FFFFFF;
- }
- }
- .item:nth-child(3n) {
- margin-right: 0;
- }
- }
- .table {
- .uni-table-th {
- color: #FFFFFF;
- background-color: #00A0E8;
- }
- .uni-table-th.table--border {
- border: none;
- }
- .uni-table-td.table--border {
- color: #666666;
- border: none;
- }
- position: relative;
- margin:0 -25rpx 20rpx;
- width: 750rpx;
- .btn {
- margin: 40rpx auto 0;
- width: 400rpx;
- height: 50rpx;
- background-color: #69BBFA;
- border-radius: 50rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- .icon {
- image {
- width: 23rpx;
- height: 24rpx;
- display: block;
- }
- }
- .btn_text {
- margin-left: 10rpx;
- font-size: 28rpx;
- color: #FFFFFF;
- }
- }
- }
- }
- }
- </style>
|