|
@@ -3,7 +3,7 @@
|
|
<view class="top">
|
|
<view class="top">
|
|
<image src="./icon/top.gif" mode="widthFix"></image>
|
|
<image src="./icon/top.gif" mode="widthFix"></image>
|
|
</view>
|
|
</view>
|
|
- <view class="content">
|
|
|
|
|
|
+ <view class="content" v-if="nav.length > 0">
|
|
<view class="segmented-control-x">
|
|
<view class="segmented-control-x">
|
|
<view class="segmented">
|
|
<view class="segmented">
|
|
<view class="title" :class="active==index?'active':''" v-for="(item,index) in nav" :key="index"
|
|
<view class="title" :class="active==index?'active':''" v-for="(item,index) in nav" :key="index"
|
|
@@ -34,336 +34,31 @@
|
|
mine_code: "zaoquan",
|
|
mine_code: "zaoquan",
|
|
|
|
|
|
active: 0,
|
|
active: 0,
|
|
- nav: [{
|
|
|
|
- title: "智能监测",
|
|
|
|
- list: [{
|
|
|
|
- icon: require("./icon/icon_2.png"),
|
|
|
|
- module: "rydw",
|
|
|
|
- name: "人员定位"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- icon: require("./icon/icon_3.png"),
|
|
|
|
- module: "aqjc",
|
|
|
|
- name: "安全监测"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- icon: require("./icon/icon_4.png"),
|
|
|
|
- module: "spjk",
|
|
|
|
- name: "视频监控"
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
- // {
|
|
|
|
- // icon: require("./icon/icon_6.png"),
|
|
|
|
- // module: "scbb",
|
|
|
|
- // name: "生产报表"
|
|
|
|
- // }, {
|
|
|
|
- // icon: require("./icon/icon_7.png"),
|
|
|
|
- // module: "kjscl",
|
|
|
|
- // name: "矿井水处理"
|
|
|
|
- // }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- title: "智能采煤",
|
|
|
|
- list: [{
|
|
|
|
- icon: require("./icon/sc_sj.png"),
|
|
|
|
- module: "zncm",
|
|
|
|
- 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_sj.png"),
|
|
|
|
- module: "zncm",
|
|
|
|
- name: "液压支架",
|
|
|
|
- sys_code: "yeyazhijia"
|
|
|
|
- }, {
|
|
|
|
- icon: require("./icon/sc_sj.png"),
|
|
|
|
- module: "zncm",
|
|
|
|
- name: "三机",
|
|
|
|
- sys_code: "sanji"
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- title: "智能掘进",
|
|
|
|
- list: [{
|
|
|
|
- icon: require("./icon/sc_sj.png"),
|
|
|
|
- module: "znjj",
|
|
|
|
- name: "150201工作面胶带巷",
|
|
|
|
- sys_code: ""
|
|
|
|
- }]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- title: "供配电",
|
|
|
|
- list: [{
|
|
|
|
- icon: require("./icon/chart.png"),
|
|
|
|
- module: "zngd",
|
|
|
|
- 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: "智能排水",
|
|
|
|
- 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压风制氮",
|
|
|
|
- sys_code: "1314"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- icon: require("./icon/sc_zhidan.png"),
|
|
|
|
- module: "yfzd",
|
|
|
|
- name: "12采区压风制氮",
|
|
|
|
- sys_code: "12"
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- title: "智能通风",
|
|
|
|
- list: [{
|
|
|
|
- icon: require("./icon/sc_tongfeng.png"),
|
|
|
|
- module: "zntf",
|
|
|
|
- name: "智能通风",
|
|
|
|
- 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: [{
|
|
|
|
- icon: require("./icon/icon_5.png"),
|
|
|
|
- module: "zncs",
|
|
|
|
- name: "地面车辆监测",
|
|
|
|
- sys_code: ""
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- icon: require("./icon/icon_5.png"),
|
|
|
|
- module: "zncs",
|
|
|
|
- name: "井下车辆监测",
|
|
|
|
- sys_code: "downhole"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- icon: require("./icon/sc_zhidan.png"),
|
|
|
|
- module: "ycjc",
|
|
|
|
- name: "扬尘监测"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- icon: require("./icon/icon_6.png"),
|
|
|
|
- module: "zncdz",
|
|
|
|
- name: "智能充电桩"
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
|
|
+ nav:[]
|
|
|
|
+ // nav: [{
|
|
|
|
+ // title: "",
|
|
|
|
+ // list: [{
|
|
|
|
+ // icon: '',
|
|
|
|
+ // module: "",
|
|
|
|
+ // name: "",
|
|
|
|
+ // sys_code: ""
|
|
|
|
+ // }]
|
|
|
|
+ // }],
|
|
|
|
|
|
};
|
|
};
|
|
},
|
|
},
|
|
|
|
+ mounted() {
|
|
|
|
+ this.get_nav()
|
|
|
|
+ },
|
|
methods: {
|
|
methods: {
|
|
|
|
+ get_nav() {
|
|
|
|
+ uni.request({
|
|
|
|
+ url: "http://zq.oa.nxmy.com:8011/api.php?m=openDcsApi&a=dcs_door&openkey=d9302364e2a2d9fdcab2707a46fbab5a",
|
|
|
|
+ method: "POST",
|
|
|
|
+ }).then((res) => {
|
|
|
|
+ this.nav = res[1].data.nav
|
|
|
|
+ })
|
|
|
|
+ },
|
|
change_active(index) {
|
|
change_active(index) {
|
|
this.active = index
|
|
this.active = index
|
|
|
|
|
|
@@ -377,79 +72,101 @@
|
|
mask: true,
|
|
mask: true,
|
|
title: "载入中..."
|
|
title: "载入中..."
|
|
})
|
|
})
|
|
- this.$p_api.product_data_query_power({
|
|
|
|
- staff_num: uni.getStorageSync('user').staff_num,
|
|
|
|
- data_module: item.module
|
|
|
|
|
|
+ // 老后台权限
|
|
|
|
+ // 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: "没有查看权限!"
|
|
|
|
+ // })
|
|
|
|
+ // }
|
|
|
|
+ // })
|
|
|
|
+ // oa权限
|
|
|
|
+ uni.request({
|
|
|
|
+ url: "http://zq.oa.nxmy.com:8011/api.php?m=openDcsApi&a=dcs_auth_check&openkey=d9302364e2a2d9fdcab2707a46fbab5a",
|
|
|
|
+ method: "GET",
|
|
|
|
+ data: {
|
|
|
|
+ staff_num: uni.getStorageSync('user').staff_num,
|
|
|
|
+ sys_id: item.id
|
|
|
|
+ }
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
- if (res.data.content.status) {
|
|
|
|
|
|
+ if (res[1].data.code == '200') {
|
|
// 具备权限进入对应系统
|
|
// 具备权限进入对应系统
|
|
|
|
+ console.log(item)
|
|
this.navigator_handler(item)
|
|
this.navigator_handler(item)
|
|
} else {
|
|
} else {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
icon: "none",
|
|
icon: "none",
|
|
- title: "没有查看权限!"
|
|
|
|
|
|
+ title: res[1].data.msg
|
|
})
|
|
})
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
+
|
|
},
|
|
},
|
|
navigator_handler(item) {
|
|
navigator_handler(item) {
|
|
- // 人员定位
|
|
|
|
- if (item.module == 'rydw') {
|
|
|
|
- uni.navigateTo({
|
|
|
|
- url: "../../production/personnel_orientation/personnel_orientation?mine=" + this.mine
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
- // 安全监测
|
|
|
|
- if (item.module == 'aqjc') {
|
|
|
|
- uni.navigateTo({
|
|
|
|
- url: "../../production/safety_monitoring/safety_monitoring?mine=" + this.mine
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
- // 视频监控
|
|
|
|
- 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 == 'znjc') {
|
|
|
|
+ if (item.sys_code == 'rydw') {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: "../../production/personnel_orientation/personnel_orientation?mine=" + this.mine
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ if (item.sys_code == 'aqjc') {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: "../../production/safety_monitoring/safety_monitoring?mine=" + this.mine
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ if (item.sys_code == 'spjk') {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: "../../production/video_monitor/video_monitor?mine_code=" + this.mine_code
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ if (item.sys_code == 'scbb') {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: "../../production/production_report/production_report?mine=" + this.mine +
|
|
|
|
+ "&org_num=" + this.org_num,
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ if (item.sys_code == 'kjscl') {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: "../../production/zaoquan/mine_water_treatment/mine_water_treatment?mine_code=" +
|
|
|
|
+ this
|
|
|
|
+ .mine_code
|
|
|
|
+ })
|
|
|
|
+ }
|
|
}
|
|
}
|
|
// 智能采煤
|
|
// 智能采煤
|
|
if (item.module == 'zncm') {
|
|
if (item.module == 'zncm') {
|
|
- if(item.sys_code == ''){
|
|
|
|
|
|
+ if (item.sys_code == '') {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: "../../production/zaoquan/control_platform/coal_mining/coal_mining"
|
|
url: "../../production/zaoquan/control_platform/coal_mining/coal_mining"
|
|
})
|
|
})
|
|
}
|
|
}
|
|
- if(item.sys_code == 'ruhuabeng'){
|
|
|
|
|
|
+ if (item.sys_code == 'ruhuabeng') {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: "../../production/zaoquan/control_platform/coal_mining/emulsion_pump/emulsion_pump"
|
|
url: "../../production/zaoquan/control_platform/coal_mining/emulsion_pump/emulsion_pump"
|
|
})
|
|
})
|
|
}
|
|
}
|
|
- if(item.sys_code == 'caimeiji'){
|
|
|
|
|
|
+ if (item.sys_code == 'caimeiji') {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: "../../production/zaoquan/control_platform/coal_mining/shearer/shearer"
|
|
url: "../../production/zaoquan/control_platform/coal_mining/shearer/shearer"
|
|
})
|
|
})
|
|
}
|
|
}
|
|
- if(item.sys_code == 'yeyazhijia'){
|
|
|
|
|
|
+ if (item.sys_code == 'yeyazhijia') {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: "../../production/unified_automation_system/support/support?title=液压支架&sys_code=main"
|
|
url: "../../production/unified_automation_system/support/support?title=液压支架&sys_code=main"
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
- if(item.sys_code == 'sanji'){
|
|
|
|
|
|
+ if (item.sys_code == 'sanji') {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: "../../production/zaoquan/control_platform/coal_mining/sanji/sanji"
|
|
url: "../../production/zaoquan/control_platform/coal_mining/sanji/sanji"
|
|
})
|
|
})
|
|
@@ -477,11 +194,11 @@
|
|
}
|
|
}
|
|
// 供排水
|
|
// 供排水
|
|
if (item.module == 'znps') {
|
|
if (item.module == 'znps') {
|
|
- if (item.sys_code == '') {
|
|
|
|
|
|
+ if (item.sys_code == 'znps') {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: "../../production/zaoquan/control_platform/drainage/drainage"
|
|
url: "../../production/zaoquan/control_platform/drainage/drainage"
|
|
})
|
|
})
|
|
- } else if (item.sys_code == '5000') {
|
|
|
|
|
|
+ } else if (item.sys_code == '5000f') {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: "../../production/zaoquan/control_platform/drainage/pool/pool?title=" + item
|
|
url: "../../production/zaoquan/control_platform/drainage/pool/pool?title=" + item
|
|
.name + "&sys_code=" + item.sys_code
|
|
.name + "&sys_code=" + item.sys_code
|
|
@@ -514,41 +231,62 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- // 智能测速
|
|
|
|
- if (item.module == 'zncs') {
|
|
|
|
- if (item.sys_code == '') {
|
|
|
|
|
|
+ // 智能园区
|
|
|
|
+ if (item.module == 'zhyq') {
|
|
|
|
+ if (item.sys_code == 'zncs_dm') {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: "../../production/zaoquan/vehicle_monitoring/speed_alarm/speed_alarm"
|
|
url: "../../production/zaoquan/vehicle_monitoring/speed_alarm/speed_alarm"
|
|
})
|
|
})
|
|
- } else {
|
|
|
|
|
|
+ }
|
|
|
|
+ if (item.sys_code == 'zncs_jx') {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: "../../production/zaoquan/vehicle_monitoring/vehicle_monitoring"
|
|
url: "../../production/zaoquan/vehicle_monitoring/vehicle_monitoring"
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
+ // 扬尘监测
|
|
|
|
+ if (item.sys_code == 'ycjc') {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: "../../production/zaoquan/control_platform/dust_emission/dust_emission"
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ // 智能充电桩
|
|
|
|
+ if (item.sys_code == 'zncdz') {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: "../../production/zaoquan/control_platform/charging_station/charging_station"
|
|
|
|
+ })
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- // 主运输
|
|
|
|
- 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 == 'ysxt') {
|
|
|
|
+ // 主运输
|
|
|
|
+ if (item.sys_code == 'zys') {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: "../../production/zaoquan/control_platform/transport/transport"
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ // 动井架空乘人器
|
|
|
|
+ if (item.sys_code == 'djjk') {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: "../../production/zaoquan/control_platform/aerial/aerial"
|
|
|
|
+ })
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- // 智能充电桩
|
|
|
|
- if (item.module == 'zncdz') {
|
|
|
|
- uni.navigateTo({
|
|
|
|
- url: "../../production/zaoquan/control_platform/charging_station/charging_station"
|
|
|
|
- })
|
|
|
|
|
|
+ // 灾害监测
|
|
|
|
+ if (item.module == 'zaihai') {
|
|
|
|
+ if (item.sys_code == 'sw') {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: "../../production/zaoquan/control_platform/hydrology/hydrology"
|
|
|
|
+ })
|
|
|
|
+ } else if (item.sys_code == 'kyjc') {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: "../../production/zaoquan/control_platform/mineral_pressure/mineral_pressure"
|
|
|
|
+ })
|
|
|
|
+ } else if (item.sys_code == 'yjgb') {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: "../../production/zaoquan/control_platform/emergency_broadcasting/emergency_broadcasting"
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -575,6 +313,7 @@
|
|
.segmented-control-x {
|
|
.segmented-control-x {
|
|
display: flex;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
|
+
|
|
.segmented {
|
|
.segmented {
|
|
margin-right: 20rpx;
|
|
margin-right: 20rpx;
|
|
flex: 1.2;
|
|
flex: 1.2;
|