|
@@ -4,14 +4,19 @@
|
|
|
<image src="./icon/top.gif" mode="widthFix"></image>
|
|
|
</view>
|
|
|
<view class="content">
|
|
|
- <view class="nav" v-for="(item,index) in nav" :key="index">
|
|
|
- <view class="title" v-if="item.title">{{item.title}}</view>
|
|
|
- <view class="list">
|
|
|
- <view class="item" v-for="(item_2,index_2) in item.list" :key="index_2" @click="navigator(item_2)">
|
|
|
+ <view class="segmented-control-x">
|
|
|
+ <view class="segmented">
|
|
|
+ <view class="title" :class="active==index?'active':''" v-for="(item,index) in nav" :key="index"
|
|
|
+ @click="change_active(index)">
|
|
|
+ {{item.title}}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="segmented-inner">
|
|
|
+ <view class="nav" v-for="(item,index) in nav[active].list" :key="index" @click="navigator(item)">
|
|
|
<view class="icon">
|
|
|
- <image :src="item_2.icon" mode="heightFix"></image>
|
|
|
+ <image :src="item.icon" mode=""></image>
|
|
|
</view>
|
|
|
- <view class="name" v-html="item_2.name"></view>
|
|
|
+ <view class="name">{{item.name}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -28,252 +33,535 @@
|
|
|
org_num: "1014",
|
|
|
mine_code: "zaoquan",
|
|
|
|
|
|
+ active: 0,
|
|
|
nav: [{
|
|
|
title: "智能监测",
|
|
|
- list: [
|
|
|
- // {
|
|
|
- // icon: require("./icon/icon_1.png"),
|
|
|
- // module: "gkpt",
|
|
|
- // name: "管控平台",
|
|
|
- // url: "../../production/zaoquan/h5/h5?url=" + "http://zdh.zaoquan.nxmy.com:8011/home/dashboard"
|
|
|
- // },
|
|
|
- {
|
|
|
+ list: [{
|
|
|
icon: require("./icon/icon_2.png"),
|
|
|
module: "rydw",
|
|
|
- name: "人员定位",
|
|
|
- url: "../../production/personnel_orientation/personnel_orientation?mine=640181B0011010037723"
|
|
|
+ name: "人员定位"
|
|
|
},
|
|
|
{
|
|
|
icon: require("./icon/icon_3.png"),
|
|
|
module: "aqjc",
|
|
|
- name: "安全监测",
|
|
|
- url: "../../production/safety_monitoring/safety_monitoring?mine=640181B0011010037723"
|
|
|
+ name: "安全监测"
|
|
|
},
|
|
|
{
|
|
|
icon: require("./icon/icon_4.png"),
|
|
|
module: "spjk",
|
|
|
- name: "视频监控",
|
|
|
- url: "../../production/video_monitor/video_monitor?mine_code=zaoquan"
|
|
|
+ name: "视频监控"
|
|
|
},
|
|
|
|
|
|
- {
|
|
|
- icon: require("./icon/icon_6.png"),
|
|
|
- module: "scbb",
|
|
|
- name: "生产报表",
|
|
|
- url: "../../production/production_report/production_report?mine=640181B0011010037723&org_num=1014"
|
|
|
- }, {
|
|
|
- icon: require("./icon/icon_7.png"),
|
|
|
- module: "kjscl",
|
|
|
- name: "矿井水处理",
|
|
|
- url: "../../production/zaoquan/mine_water_treatment/mine_water_treatment?mine_code=zaoquan"
|
|
|
- },
|
|
|
// {
|
|
|
- // icon: require("./icon/icon_5.png"),
|
|
|
- // module: "zncs",
|
|
|
- // name: "智能测速",
|
|
|
- // url: "../../production/zaoquan/intelligent_speed_measurement/intelligent_speed_measurement"
|
|
|
+ // icon: require("./icon/icon_6.png"),
|
|
|
+ // module: "scbb",
|
|
|
+ // name: "生产报表"
|
|
|
+ // }, {
|
|
|
+ // icon: require("./icon/icon_7.png"),
|
|
|
+ // module: "kjscl",
|
|
|
+ // name: "矿井水处理"
|
|
|
// }
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
- title: "智能生产",
|
|
|
+ title: "智能采煤",
|
|
|
list: [{
|
|
|
icon: require("./icon/sc_sj.png"),
|
|
|
module: "zncm",
|
|
|
- name: "智能采煤",
|
|
|
- url: "../../production/zaoquan/control_platform/coal_mining/coal_mining"
|
|
|
+ name: "220707新智能综采",
|
|
|
+ sys_code: ""
|
|
|
+ }, {
|
|
|
+ icon: require("./icon/sc_sj.png"),
|
|
|
+ module: "zncm",
|
|
|
+ name: "乳化泵",
|
|
|
+ sys_code: "ruhuabeng"
|
|
|
+ }, {
|
|
|
+ icon: require("./icon/sc_sj.png"),
|
|
|
+ module: "zncm",
|
|
|
+ name: "采煤机",
|
|
|
+ sys_code: "caimeiji"
|
|
|
},
|
|
|
- // {
|
|
|
- // icon: require("./icon/sc_tongfeng.png"),
|
|
|
- // module: "zntf",
|
|
|
- // name: "智能通风",
|
|
|
- // url: "../../production/zaoquan/control_platform/ventilate/ventilate"
|
|
|
- // },
|
|
|
- // {
|
|
|
- // icon: require("./icon/sc_paishui.png"),
|
|
|
- // module: "znps",
|
|
|
- // name: "智能排水",
|
|
|
- // url: "../../production/zaoquan/control_platform/drainage/drainage",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // icon: require("./icon/sc_zhidan.png"),
|
|
|
- // module: "yfzd",
|
|
|
- // name: "压风制氮",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // icon: require("./icon/sc_yunshu.png"),
|
|
|
- // module: "znzy",
|
|
|
- // name: "智能主运",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // icon: require("./icon/chart.png"),
|
|
|
- // module: "zngd",
|
|
|
- // name: "智能供电",
|
|
|
- // }
|
|
|
+ {
|
|
|
+ icon: require("./icon/sc_sj.png"),
|
|
|
+ module: "zncm",
|
|
|
+ name: "液压支架",
|
|
|
+ sys_code: "yeyazhijia"
|
|
|
+ }, {
|
|
|
+ icon: require("./icon/sc_sj.png"),
|
|
|
+ module: "zncm",
|
|
|
+ name: "三机",
|
|
|
+ sys_code: "sanji"
|
|
|
+ }
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
- title: "智能辅助",
|
|
|
+ title: "智能掘进",
|
|
|
+ list: [{
|
|
|
+ icon: require("./icon/sc_sj.png"),
|
|
|
+ module: "znjj",
|
|
|
+ name: "150201工作面胶带巷",
|
|
|
+ sys_code: ""
|
|
|
+ }]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "供配电",
|
|
|
list: [{
|
|
|
icon: require("./icon/chart.png"),
|
|
|
module: "zngd",
|
|
|
- name: "智能供电",
|
|
|
- url: "../../production/zaoquan/control_platform/substation/substation",
|
|
|
- },{
|
|
|
+ name: "五分区1200变电所",
|
|
|
+ sys_code: "5fq1200"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/chart.png"),
|
|
|
+ module: "zngd",
|
|
|
+ name: "五分区950变电所",
|
|
|
+ sys_code: "5fq950"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/chart.png"),
|
|
|
+ module: "zngd",
|
|
|
+ name: "22采区变电所-低压",
|
|
|
+ sys_code: "22high"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/chart.png"),
|
|
|
+ module: "zngd",
|
|
|
+ name: "980变电所",
|
|
|
+ sys_code: "980"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/chart.png"),
|
|
|
+ module: "zngd",
|
|
|
+ name: "1000变电所",
|
|
|
+ sys_code: "1000low"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/chart.png"),
|
|
|
+ module: "zngd",
|
|
|
+ name: "1142变电所",
|
|
|
+ sys_code: "1142"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/chart.png"),
|
|
|
+ module: "zngd",
|
|
|
+ name: "720变电所",
|
|
|
+ sys_code: "720"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/chart.png"),
|
|
|
+ module: "zngd",
|
|
|
+ name: "880变电所",
|
|
|
+ sys_code: "880"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/chart.png"),
|
|
|
+ module: "zngd",
|
|
|
+ name: "950变电所",
|
|
|
+ sys_code: "950"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/chart.png"),
|
|
|
+ module: "zngd",
|
|
|
+ name: "929变电所",
|
|
|
+ sys_code: "929"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/chart.png"),
|
|
|
+ module: "zngd",
|
|
|
+ name: "22采区变电所-高压",
|
|
|
+ sys_code: "22gy"
|
|
|
+ },
|
|
|
+
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "供排水",
|
|
|
+ list: [{
|
|
|
icon: require("./icon/sc_paishui.png"),
|
|
|
module: "znps",
|
|
|
name: "智能排水",
|
|
|
- url: "../../production/zaoquan/control_platform/drainage/drainage",
|
|
|
+ sys_code: ""
|
|
|
},
|
|
|
{
|
|
|
+ icon: require("./icon/sc_paishui.png"),
|
|
|
+ module: "znps",
|
|
|
+ name: "5000方水池监控",
|
|
|
+ sys_code: "5000"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/sc_paishui.png"),
|
|
|
+ module: "znps",
|
|
|
+ name: "720水泵房",
|
|
|
+ sys_code: "720"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/sc_paishui.png"),
|
|
|
+ module: "znps",
|
|
|
+ name: "880水泵房",
|
|
|
+ sys_code: "880"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/sc_paishui.png"),
|
|
|
+ module: "znps",
|
|
|
+ name: "929水泵房",
|
|
|
+ sys_code: "929"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/sc_paishui.png"),
|
|
|
+ module: "znps",
|
|
|
+ name: "950水泵房",
|
|
|
+ sys_code: "950"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/sc_paishui.png"),
|
|
|
+ module: "znps",
|
|
|
+ name: "980水泵房",
|
|
|
+ sys_code: "980"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/sc_paishui.png"),
|
|
|
+ module: "znps",
|
|
|
+ name: "五分区950水泵房",
|
|
|
+ sys_code: "5fq"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/sc_paishui.png"),
|
|
|
+ module: "znps",
|
|
|
+ name: "清水泵房",
|
|
|
+ sys_code: "qsb"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/sc_paishui.png"),
|
|
|
+ module: "znps",
|
|
|
+ name: "正1000水泵房",
|
|
|
+ sys_code: "p1000"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "主运输",
|
|
|
+ list: [{
|
|
|
+ icon: require("./icon/sc_yunshu.png"),
|
|
|
+ module: "zys",
|
|
|
+ name: "主运输"
|
|
|
+ }]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "辅助运输",
|
|
|
+ list: [{
|
|
|
+ icon: require("./icon/sc_yeyazhijia.png"),
|
|
|
+ module: "jkcr",
|
|
|
+ name: "东井架空乘人器"
|
|
|
+ }]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "压风制氮",
|
|
|
+ list: [{
|
|
|
icon: require("./icon/sc_zhidan.png"),
|
|
|
module: "yfzd",
|
|
|
- name: "1314<br/>压风制氮",
|
|
|
- url: "../../production/zaoquan/control_platform/air_nitrogen/air_nitrogen?title=1314压风制氮&sys_code=1314",
|
|
|
+ name: "1314压风制氮",
|
|
|
+ sys_code: "1314"
|
|
|
},
|
|
|
{
|
|
|
icon: require("./icon/sc_zhidan.png"),
|
|
|
module: "yfzd",
|
|
|
- name: "12采区<br/>压风制氮",
|
|
|
- url: "../../production/zaoquan/control_platform/air_nitrogen/air_nitrogen?title=12采区压风制氮&sys_code=12",
|
|
|
+ name: "12采区压风制氮",
|
|
|
+ sys_code: "12"
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
- title: "智能保障",
|
|
|
- list: [
|
|
|
- {
|
|
|
+ title: "智能通风",
|
|
|
+ list: [{
|
|
|
icon: require("./icon/sc_tongfeng.png"),
|
|
|
module: "zntf",
|
|
|
name: "智能通风",
|
|
|
- url: "../../production/zaoquan/control_platform/ventilate/ventilate"
|
|
|
+ sys_code: ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/sc_tongfeng.png"),
|
|
|
+ module: "zntf",
|
|
|
+ name: "东井通风",
|
|
|
+ sys_code: "east"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/sc_tongfeng.png"),
|
|
|
+ module: "zntf",
|
|
|
+ name: "西井通风",
|
|
|
+ sys_code: "west"
|
|
|
+ }, {
|
|
|
+ icon: require("./icon/sc_tongfeng.png"),
|
|
|
+ module: "zntf",
|
|
|
+ name: "五分区通风机",
|
|
|
+ sys_code: "5fq"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/sc_tongfeng.png"),
|
|
|
+ module: "zntf",
|
|
|
+ name: "1314通风机",
|
|
|
+ sys_code: "1314"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/sc_tongfeng.png"),
|
|
|
+ module: "zntf",
|
|
|
+ name: "15201回风巷通风机",
|
|
|
+ sys_code: "1200sm"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/sc_tongfeng.png"),
|
|
|
+ module: "zntf",
|
|
|
+ name: "15201机巷通风机",
|
|
|
+ sys_code: "1200car"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/sc_tongfeng.png"),
|
|
|
+ module: "zntf",
|
|
|
+ name: "220708辅助巷通风机",
|
|
|
+ sys_code: "220708fzx"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/sc_tongfeng.png"),
|
|
|
+ module: "zntf",
|
|
|
+ name: "220708回风巷通风机",
|
|
|
+ sys_code: "220708hfx"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/sc_tongfeng.png"),
|
|
|
+ module: "zntf",
|
|
|
+ name: "13207机巷通风机",
|
|
|
+ sys_code: "13207jx"
|
|
|
},
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
title: "智慧园区",
|
|
|
- list: [
|
|
|
+ list: [{
|
|
|
+ icon: require("./icon/icon_5.png"),
|
|
|
+ module: "zncs",
|
|
|
+ name: "地面车辆监测",
|
|
|
+ sys_code: ""
|
|
|
+ },
|
|
|
{
|
|
|
icon: require("./icon/icon_5.png"),
|
|
|
module: "zncs",
|
|
|
- name: "智能测速",
|
|
|
- url: "../../production/zaoquan/intelligent_speed_measurement/intelligent_speed_measurement"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- title: "智能主运",
|
|
|
- list: [
|
|
|
+ name: "井下车辆监测",
|
|
|
+ sys_code: "downhole"
|
|
|
+ },
|
|
|
{
|
|
|
- icon: require("./icon/sc_yunshu.png"),
|
|
|
- module: "zys",
|
|
|
- name: "主运输",
|
|
|
- url: "../../production/zaoquan/control_platform/transport/transport"
|
|
|
+ icon: require("./icon/sc_zhidan.png"),
|
|
|
+ module: "ycjc",
|
|
|
+ name: "扬尘监测"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: require("./icon/icon_6.png"),
|
|
|
+ module: "zncdz",
|
|
|
+ name: "智能充电桩"
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
- ]
|
|
|
+ ],
|
|
|
+
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
+ change_active(index) {
|
|
|
+ this.active = index
|
|
|
+
|
|
|
+ uni.pageScrollTo({
|
|
|
+ scrollTop: 0,
|
|
|
+ duration: 150
|
|
|
+ });
|
|
|
+ },
|
|
|
navigator(item) {
|
|
|
- if (!item.url) {
|
|
|
- uni.showToast({
|
|
|
- icon: "none",
|
|
|
- title: "暂未开通!"
|
|
|
+ uni.showLoading({
|
|
|
+ mask: true,
|
|
|
+ title: "载入中..."
|
|
|
+ })
|
|
|
+ this.$p_api.product_data_query_power({
|
|
|
+ staff_num: uni.getStorageSync('user').staff_num,
|
|
|
+ data_module: item.module
|
|
|
+ }).then((res) => {
|
|
|
+ uni.hideLoading()
|
|
|
+ if (res.data.content.status) {
|
|
|
+ // 具备权限进入对应系统
|
|
|
+ this.navigator_handler(item)
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ icon: "none",
|
|
|
+ title: "没有查看权限!"
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+ navigator_handler(item) {
|
|
|
+ // 人员定位
|
|
|
+ if (item.module == 'rydw') {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/personnel_orientation/personnel_orientation?mine=" + this.mine
|
|
|
})
|
|
|
- } else {
|
|
|
- uni.showLoading({
|
|
|
- mask: true,
|
|
|
- title: "载入中..."
|
|
|
+ }
|
|
|
+ // 安全监测
|
|
|
+ if (item.module == 'aqjc') {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/safety_monitoring/safety_monitoring?mine=" + this.mine
|
|
|
})
|
|
|
- this.$p_api.product_data_query_power({
|
|
|
- staff_num: uni.getStorageSync('user').staff_num,
|
|
|
- data_module: item.module
|
|
|
- }).then((res) => {
|
|
|
- uni.hideLoading()
|
|
|
- if (res.data.content.status) {
|
|
|
+ }
|
|
|
+ // 视频监控
|
|
|
+ if (item.module == 'spjk') {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/video_monitor/video_monitor?mine_code=" + this.mine_code
|
|
|
+ })
|
|
|
+ }
|
|
|
+ // 生产报表
|
|
|
+ if (item.module == 'scbb') {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/production_report/production_report?mine=" + this.mine +
|
|
|
+ "&org_num=" + this.org_num,
|
|
|
+ })
|
|
|
+ }
|
|
|
+ // 矿井水处理
|
|
|
+ if (item.module == 'kjscl') {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/zaoquan/mine_water_treatment/mine_water_treatment?mine_code=" + this
|
|
|
+ .mine_code
|
|
|
+ })
|
|
|
+ }
|
|
|
+ // 智能采煤
|
|
|
+ if (item.module == 'zncm') {
|
|
|
+ if(item.sys_code == ''){
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/zaoquan/control_platform/coal_mining/coal_mining"
|
|
|
+ })
|
|
|
+ }
|
|
|
+ if(item.sys_code == 'ruhuabeng'){
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/zaoquan/control_platform/coal_mining/emulsion_pump/emulsion_pump"
|
|
|
+ })
|
|
|
+ }
|
|
|
+ if(item.sys_code == 'caimeiji'){
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/zaoquan/control_platform/coal_mining/shearer/shearer"
|
|
|
+ })
|
|
|
+ }
|
|
|
+ if(item.sys_code == 'yeyazhijia'){
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/unified_automation_system/support/support?title=液压支架&sys_code=main"
|
|
|
+ })
|
|
|
+
|
|
|
+ }
|
|
|
+ if(item.sys_code == 'sanji'){
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/zaoquan/control_platform/coal_mining/sanji/sanji"
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // 智能综掘
|
|
|
+ if (item.module == 'znjj') {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/zaoquan/control_platform/driving/driving"
|
|
|
+ })
|
|
|
+ }
|
|
|
+ // 压风制氮
|
|
|
+ if (item.module == 'yfzd') {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/zaoquan/control_platform/air_nitrogen/air_nitrogen?title=" + item
|
|
|
+ .name + "&sys_code=" + item.sys_code
|
|
|
+ })
|
|
|
+ }
|
|
|
+ // 供配电
|
|
|
+ if (item.module == 'zngd') {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/zaoquan/control_platform/substation/detail/detail?title=" + item
|
|
|
+ .name + "&type=" + item.sys_code
|
|
|
+ })
|
|
|
+ }
|
|
|
+ // 供排水
|
|
|
+ if (item.module == 'znps') {
|
|
|
+ if (item.sys_code == '') {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/zaoquan/control_platform/drainage/drainage"
|
|
|
+ })
|
|
|
+ } else if (item.sys_code == '5000') {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/zaoquan/control_platform/drainage/pool/pool?title=" + item
|
|
|
+ .name + "&sys_code=" + item.sys_code
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/zaoquan/control_platform/drainage/pump_house/pump_house?title=" +
|
|
|
+ item.name + "&sys_code=" + item.sys_code
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // 智能通风
|
|
|
+ if (item.module == 'zntf') {
|
|
|
+ if (item.sys_code == '') {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/zaoquan/control_platform/ventilate/ventilate"
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ let zhutongfeng = ["east", "west", "1314", "5fq"]
|
|
|
+ if (zhutongfeng.includes(item.sys_code)) {
|
|
|
uni.navigateTo({
|
|
|
- url: item.url
|
|
|
+ url: "../../production/zaoquan/control_platform/ventilate/main_ventilation/main_ventilation" +
|
|
|
+ "?title=" + item.name + "&sys_code=" + item.sys_code
|
|
|
})
|
|
|
} else {
|
|
|
- uni.showToast({
|
|
|
- icon: "none",
|
|
|
- title: "没有查看权限!"
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/zaoquan/control_platform/ventilate/local_ventilation/local_ventilation" +
|
|
|
+ "?title=" + item.name + "&sys_code=" + item.sys_code
|
|
|
})
|
|
|
}
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // 智能测速
|
|
|
+ if (item.module == 'zncs') {
|
|
|
+ if (item.sys_code == '') {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/zaoquan/vehicle_monitoring/speed_alarm/speed_alarm"
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/zaoquan/vehicle_monitoring/vehicle_monitoring"
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // 主运输
|
|
|
+ if (item.module == 'zys') {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/zaoquan/control_platform/transport/transport"
|
|
|
+ })
|
|
|
+ }
|
|
|
+ // 架空乘人器
|
|
|
+ if (item.module == 'jkcr') {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/zaoquan/control_platform/aerial/aerial"
|
|
|
+ })
|
|
|
+ }
|
|
|
+ // 扬尘监测
|
|
|
+ if (item.module == 'ycjc') {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/zaoquan/control_platform/dust_emission/dust_emission"
|
|
|
+ })
|
|
|
+ }
|
|
|
+ // 智能充电桩
|
|
|
+ if (item.module == 'zncdz') {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../../production/zaoquan/control_platform/charging_station/charging_station"
|
|
|
})
|
|
|
}
|
|
|
- },
|
|
|
- // 自动化统计列表
|
|
|
- go_zdhxt(zdhxt) {
|
|
|
- uni.navigateTo({
|
|
|
- url: "../../production/zaoquan/zidonghua_list/zidonghua_list?zdhxt=" + zdhxt
|
|
|
- })
|
|
|
- },
|
|
|
- // 生产报表
|
|
|
- go_production_report() {
|
|
|
- uni.navigateTo({
|
|
|
- url: "../../production/production_report/production_report?mine=" + this.mine + "&org_num=" +
|
|
|
- this.org_num,
|
|
|
- })
|
|
|
- },
|
|
|
- // 安全监测
|
|
|
- go_safety_monitoring() {
|
|
|
- uni.navigateTo({
|
|
|
- url: "../../production/safety_monitoring/safety_monitoring?mine=" + this.mine
|
|
|
- })
|
|
|
- },
|
|
|
- //人员定位
|
|
|
- go_personnel_orientation() {
|
|
|
- uni.navigateTo({
|
|
|
- url: "../../production/personnel_orientation/personnel_orientation?mine=" + this.mine
|
|
|
- })
|
|
|
- },
|
|
|
- // 视频监控
|
|
|
- go_video_monitor() {
|
|
|
- uni.navigateTo({
|
|
|
- url: "../../production/video_monitor/video_monitor?mine_code=" + this.mine_code
|
|
|
- })
|
|
|
- },
|
|
|
- // 电力监控
|
|
|
- go_power_monitoring() {
|
|
|
- uni.navigateTo({
|
|
|
- url: "../../production/zaoquan/power_monitoring/power_monitoring"
|
|
|
- })
|
|
|
- },
|
|
|
- // 矿井水处理
|
|
|
- go_mine_water_treatment() {
|
|
|
- uni.navigateTo({
|
|
|
- url: "../../production/zaoquan/mine_water_treatment/mine_water_treatment?mine_code=" + this
|
|
|
- .mine_code
|
|
|
- })
|
|
|
- },
|
|
|
-
|
|
|
- // 数据分析
|
|
|
- go_table() {
|
|
|
- uni.navigateTo({
|
|
|
- url: "../../production/statistical_analysis_table/statistical_analysis_table"
|
|
|
- })
|
|
|
- },
|
|
|
-
|
|
|
- go_zaoquan_h5() {
|
|
|
- uni.navigateTo({
|
|
|
- url: "../../production/zaoquan/h5/h5?url=" +
|
|
|
- "http://zdh.zaoquan.nxmy.com:8011/home/dashboard"
|
|
|
- })
|
|
|
- },
|
|
|
-
|
|
|
- go_vehicle() {
|
|
|
- uni.navigateTo({
|
|
|
- url: "../../production/zaoquan/intelligent_speed_measurement/intelligent_speed_measurement"
|
|
|
- })
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss">
|
|
|
+ page {
|
|
|
+ background: linear-gradient(to bottom, #E4F8FF, #F3F5F9);
|
|
|
+ background-color: #F3F5F9;
|
|
|
+ }
|
|
|
+
|
|
|
.top {
|
|
|
image {
|
|
|
width: 750rpx;
|
|
@@ -281,54 +569,68 @@
|
|
|
}
|
|
|
|
|
|
.content {
|
|
|
- background-color: #fff;
|
|
|
- border-radius: 60rpx;
|
|
|
- position: relative;
|
|
|
- top: -40rpx;
|
|
|
+ padding-bottom: 60rpx;
|
|
|
+ background-color: #F3F5F9;
|
|
|
|
|
|
- .nav {
|
|
|
- padding-top: 60rpx;
|
|
|
+ .segmented-control-x {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ .segmented {
|
|
|
+ margin-right: 20rpx;
|
|
|
+ flex: 1.2;
|
|
|
+ background-color: #FFF;
|
|
|
+ border-radius: 0 20rpx 20rpx 0;
|
|
|
+ overflow: hidden;
|
|
|
|
|
|
- .title {
|
|
|
- position: relative;
|
|
|
- text-align: center;
|
|
|
- font-size: 36rpx;
|
|
|
- color: #383838;
|
|
|
- font-weight: 700;
|
|
|
- margin-bottom: 20rpx;
|
|
|
- }
|
|
|
+ .title {
|
|
|
+ padding: 30rpx;
|
|
|
+ font-size: 34rpx;
|
|
|
+ font-weight: 700;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 1.5;
|
|
|
+ color: #999;
|
|
|
+ }
|
|
|
|
|
|
- .title::after {
|
|
|
- content: " ";
|
|
|
- position: absolute;
|
|
|
- left: 50%;
|
|
|
- bottom: -16rpx;
|
|
|
- width: 200rpx;
|
|
|
- height: 10rpx;
|
|
|
- background-image: linear-gradient(to right, transparent, #03A2E9);
|
|
|
- border-radius: 20rpx;
|
|
|
- transform: translateX(-50%);
|
|
|
+ .active {
|
|
|
+ background-color: #F3F5F9;
|
|
|
+ color: #000;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
- .list {
|
|
|
- padding: 50rpx 20rpx 0;
|
|
|
+ .segmented-inner {
|
|
|
+ background-color: #FFF;
|
|
|
+ flex: 2;
|
|
|
+ border-radius: 20rpx 0 0 20rpx;
|
|
|
+ overflow: hidden;
|
|
|
+ box-sizing: border-box;
|
|
|
+ padding: 40rpx 20rpx;
|
|
|
+
|
|
|
display: grid;
|
|
|
- grid-template-columns: repeat(4, 1fr);
|
|
|
- gap: 60rpx 20rpx;
|
|
|
+ grid-template-columns: repeat(2, 1fr);
|
|
|
+ grid-auto-rows: 200rpx;
|
|
|
+ gap: 20rpx;
|
|
|
|
|
|
- .item {
|
|
|
+ .nav {
|
|
|
text-align: center;
|
|
|
|
|
|
.icon {
|
|
|
- margin-bottom: 20rpx;
|
|
|
+ margin-bottom: 10rpx;
|
|
|
|
|
|
image {
|
|
|
- height: 54rpx;
|
|
|
+ width: 80rpx;
|
|
|
+ height: 80rpx;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.name {
|
|
|
- font-size: 30rpx;
|
|
|
+ display: -webkit-box;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+ -webkit-line-clamp: 2;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ font-weight: 700;
|
|
|
+ line-height: 1.5;
|
|
|
+ font-size: 28rpx;
|
|
|
}
|
|
|
}
|
|
|
}
|