123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772 |
- <template>
- <view>
- <!-- 头图 -->
- <view class="top_img">
- <!-- 通风管理 -->
- <view v-if="zdhxt == 'tfgl'">
- <image src="./img/tfgl.jpg" mode=""></image>
- </view>
- <!-- 压风制氮 -->
- <view v-if="zdhxt == 'yfzd'">
- <image src="./img/yfzd.jpg" mode=""></image>
- </view>
- <!-- 排水系统 -->
- <view v-if="zdhxt == 'psxt'">
- <image src="./img/psxt.jpg" mode=""></image>
- </view>
- <!-- 主运输 -->
- <view v-if="zdhxt == 'zys'">
- <image src="./img/zys.jpg" mode=""></image>
- </view>
- <!-- 巷道图 -->
- <view v-if="zdhxt == 'xdt'">
- <image src="./img/xdt.jpg" mode=""></image>
- </view>
- <!-- 矿压监测 -->
- <view v-if="zdhxt == 'kyjc'">
- <image src="./img/kyjc.jpg" mode=""></image>
- </view>
- <!-- 提升机 -->
- <view v-if="zdhxt == 'tsj'">
- <image src="./img/tsj.jpg" mode=""></image>
- </view>
- <!-- 架空人车 -->
- <view v-if="zdhxt == 'jkrc'">
- <image src="./img/jkrc.jpg" mode=""></image>
- </view>
- <!-- 锅炉烟气 -->
- <view v-if="zdhxt == 'glyq'">
- <image src="./img/glyq.jpg" mode=""></image>
- </view>
- </view>
- <!-- 列表 -->
- <view class="list">
- <!-- 通风管理 -->
- <view v-if="zdhxt == 'tfgl'">
- <view class="item" v-for="(item,index) in data_tfgl" :key="index">
- <view class="title" @click="item_active(index)">
- <view class="left">
- <view class="icon"></view>
- <view class="name">
- {{item.name}}
- </view>
- </view>
- <view class="right" v-if="index != active">
- <uni-icons type="arrowright"></uni-icons>
- </view>
- <view class="right" v-if="index == active">
- <uni-icons type="arrowdown"></uni-icons>
- </view>
- </view>
- <view class="inner_list" v-if="active == index">
- <view class="inner_item" v-for="(item_2,index_2) in item.list" :key="index_2"
- @click="inner_item_active(item_2)">
- <view class="inner_icon"></view>
- <view class="inner_name">{{item_2.name}}</view>
- </view>
- </view>
- </view>
- </view>
- <!-- 压风制氮 -->
- <view v-if="zdhxt == 'yfzd'">
- <view class="item" v-for="(item,index) in data_yfzd" :key="index">
- <view class="title" @click="item_active(index)">
- <view class="left">
- <view class="icon"></view>
- <view class="name">
- {{item.name}}
- </view>
- </view>
- <view class="right" v-if="index != active">
- <uni-icons type="arrowright"></uni-icons>
- </view>
- <view class="right" v-if="index == active">
- <uni-icons type="arrowdown"></uni-icons>
- </view>
- </view>
- <view class="inner_list" v-if="active == index">
- <view class="inner_item" v-for="(item_2,index_2) in item.list" :key="index_2"
- @click="inner_item_active(item_2)">
- <view class="inner_icon"></view>
- <view class="inner_name">{{item_2.name}}</view>
- </view>
- </view>
- </view>
- </view>
- <!-- 排水系统 -->
- <view v-if="zdhxt == 'psxt'">
- <view class="item" v-for="(item,index) in data_psxt" :key="index">
- <view class="title" @click="item_active(index)">
- <view class="left">
- <view class="icon"></view>
- <view class="name">
- {{item.name}}
- </view>
- </view>
- <view class="right" v-if="index != active">
- <uni-icons type="arrowright"></uni-icons>
- </view>
- <view class="right" v-if="index == active">
- <uni-icons type="arrowdown"></uni-icons>
- </view>
- </view>
- <view class="inner_list" v-if="active == index">
- <view class="inner_item" v-for="(item_2,index_2) in item.list" :key="index_2"
- @click="inner_item_active(item_2)">
- <view class="inner_icon"></view>
- <view class="inner_name">{{item_2.name}}</view>
- </view>
- </view>
- </view>
- </view>
- <!-- 主运输 -->
- <view v-if="zdhxt == 'zys'">
- <view class="item" v-for="(item,index) in data_zys" :key="index">
- <view class="title" @click="item_active(index)">
- <view class="left">
- <view class="icon"></view>
- <view class="name">
- {{item.name}}
- </view>
- </view>
- <view class="right" v-if="index != active">
- <uni-icons type="arrowright"></uni-icons>
- </view>
- <view class="right" v-if="index == active">
- <uni-icons type="arrowdown"></uni-icons>
- </view>
- </view>
- <view class="inner_list" v-if="active == index">
- <view class="inner_item" v-for="(item_2,index_2) in item.list" :key="index_2"
- @click="inner_item_active(item_2)">
- <view class="inner_icon"></view>
- <view class="inner_name">{{item_2.name}}</view>
- </view>
- </view>
- </view>
- </view>
- <!-- 巷道图 -->
- <view v-if="zdhxt == 'xdt'">
- <view class="item" v-for="(item,index) in data_xdt" :key="index">
- <view class="title" @click="item_active(index)">
- <view class="left">
- <view class="icon"></view>
- <view class="name">
- {{item.name}}
- </view>
- </view>
- <view class="right" v-if="index != active">
- <uni-icons type="arrowright"></uni-icons>
- </view>
- <view class="right" v-if="index == active">
- <uni-icons type="arrowdown"></uni-icons>
- </view>
- </view>
- <view class="inner_list" v-if="active == index">
- <view class="inner_item" v-for="(item_2,index_2) in item.list" :key="index_2"
- @click="inner_item_active(item_2)">
- <view class="inner_icon"></view>
- <view class="inner_name">{{item_2.name}}</view>
- </view>
- </view>
- </view>
- </view>
- <!-- 矿压监测 -->
- <view v-if="zdhxt == 'kyjc'">
- <view class="item" v-for="(item,index) in data_kyjc" :key="index">
- <view class="title" @click="item_active(index)">
- <view class="left">
- <view class="icon"></view>
- <view class="name">
- {{item.name}}
- </view>
- </view>
- <view class="right" v-if="index != active">
- <uni-icons type="arrowright"></uni-icons>
- </view>
- <view class="right" v-if="index == active">
- <uni-icons type="arrowdown"></uni-icons>
- </view>
- </view>
- <view class="inner_list" v-if="active == index">
- <view class="inner_item" v-for="(item_2,index_2) in item.list" :key="index_2"
- @click="inner_item_active(item_2)">
- <view class="inner_icon"></view>
- <view class="inner_name">{{item_2.name}}</view>
- </view>
- </view>
- </view>
- </view>
- <!-- 提升机 -->
- <view v-if="zdhxt == 'tsj'">
- <view class="item" v-for="(item,index) in data_tsj" :key="index">
- <view class="title" @click="item_active(index)">
- <view class="left">
- <view class="icon"></view>
- <view class="name">
- {{item.name}}
- </view>
- </view>
- <view class="right" v-if="index != active">
- <uni-icons type="arrowright"></uni-icons>
- </view>
- <view class="right" v-if="index == active">
- <uni-icons type="arrowdown"></uni-icons>
- </view>
- </view>
- <view class="inner_list" v-if="active == index">
- <view class="inner_item" v-for="(item_2,index_2) in item.list" :key="index_2"
- @click="inner_item_active(item_2)">
- <view class="inner_icon"></view>
- <view class="inner_name">{{item_2.name}}</view>
- </view>
- </view>
- </view>
- </view>
-
- <!-- 架空人车 -->
- <view v-if="zdhxt == 'jkrc'">
- <view class="item" v-for="(item,index) in data_jkrc" :key="index">
- <view class="title" @click="item_active(index)">
- <view class="left">
- <view class="icon"></view>
- <view class="name">
- {{item.name}}
- </view>
- </view>
- <view class="right" v-if="index != active">
- <uni-icons type="arrowright"></uni-icons>
- </view>
- <view class="right" v-if="index == active">
- <uni-icons type="arrowdown"></uni-icons>
- </view>
- </view>
- <view class="inner_list" v-if="active == index">
- <view class="inner_item" v-for="(item_2,index_2) in item.list" :key="index_2"
- @click="inner_item_active(item_2)">
- <view class="inner_icon"></view>
- <view class="inner_name">{{item_2.name}}</view>
- </view>
- </view>
- </view>
-
- </view>
-
- <!-- 锅炉烟气 -->
- <view v-if="zdhxt == 'glyq'">
- <view class="item" v-for="(item,index) in data_glyq" :key="index">
- <view class="title" @click="item_active(index)">
- <view class="left">
- <view class="icon"></view>
- <view class="name">
- {{item.name}}
- </view>
- </view>
- <view class="right" v-if="index != active">
- <uni-icons type="arrowright"></uni-icons>
- </view>
- <view class="right" v-if="index == active">
- <uni-icons type="arrowdown"></uni-icons>
- </view>
- </view>
- <view class="inner_list" v-if="active == index">
- <view class="inner_item" v-for="(item_2,index_2) in item.list" :key="index_2"
- @click="inner_item_active(item_2)">
- <view class="inner_icon"></view>
- <view class="inner_name">{{item_2.name}}</view>
- </view>
- </view>
- </view>
-
- </view>
- </view>
- </view>
- </template>
- <script>
- import data from "./data.json"
-
- export default {
- data() {
- return {
- zdhxt: "",
- active: 9999,
- // 通风管理
- data_tfgl: [{
- name: "枣泉煤矿",
- list: [{
- name: "东井通风",
- url: "http://anstatic.nxmy.com:8011/assets/html/zaoquan/djtf/#/"
- },
- {
- name: "西井通风",
- url: "http://anstatic.nxmy.com:8011/assets/html/zaoquan/xjtf/#/"
- }
- ]
- },
- {
- name: "梅花井煤矿",
- list: [{
- name: "斜井通风",
- url: "http://anstatic.nxmy.com:8011/assets/html/meihuajing/xjtf/#/"
- },
- {
- name: "立井通风",
- url: "http://anstatic.nxmy.com:8011/assets/html/meihuajing/ljtf/#/"
- }
- ]
- },
- {
- name: "清水营煤矿",
- list: [{
- name: "通风系统",
- // url: "http://anstatic.nxmy.com:8011/assets/html/qingshuiying/zidonghua_app/#/pages/index/ztfxt/ztfxt"
- url:"../unified_automation_system/ventilation/ventilation?system_type=fan_1&mine_code=qingshuiying"
- }]
- },
- {
- name: "任家庄煤矿",
- list: [{
- name: "通风系统",
- url:"../unified_automation_system/ventilation/ventilation?system_type=fan_1&mine_code=renjiazhuang"
- }]
- },
- {
- name: "金家渠煤矿",
- list: [{
- name: "中部主通风机监测系统",
- url: "../unified_automation_system/ventilation/ventilation?system_type=ventilation_zb&mine_code=jinjiaqu"
- },
- {
- name: "北部主通风机监测系统",
- url: "../unified_automation_system/ventilation/ventilation?system_type=ventilation_bb&mine_code=jinjiaqu"
- }
- ]
- },
- {
- name: "石槽村煤矿",
- list: [{
- name: "1号回风斜井通风",
- url: "../unified_automation_system/ventilation/ventilation?system_type=fan_1&mine_code=shicaocun"
- },
- {
- name: "2号回风斜井通风",
- url: "../unified_automation_system/ventilation/ventilation?system_type=fan_2&mine_code=shicaocun"
- }
- ]
- }
- ],
- // 压风制氮
- data_yfzd: [{
- name: "梅花井煤矿",
- list: [{
- name: "压风系统",
- url: "http://anstatic.nxmy.com:8011/assets/html/meihuajing/yf/#/"
- },
- {
- name: "制氮系统",
- url: "http://anstatic.nxmy.com:8011/assets/html/meihuajing/zd/#/"
- }
- ]
- },
- {
- name: "金家渠煤矿",
- list: [{
- name: "空气压缩机集控系统",
- url: "../unified_automation_system/compressed_air/compressed_air?system_type=compressed_air&mine_code=jinjiaqu"
- }]
- },
- {
- name: "石槽村煤矿",
- list: [{
- name: "空气压缩机集控系统",
- url: "../unified_automation_system/compressed_air/compressed_air?system_type=compressed_air&mine_code=shicaocun"
- }, {
- name: "制氮系统",
- url: "../unified_automation_system/nitrogen_production_system/nitrogen_production_system?system_type=nitrogen&mine_code=shicaocun"
- }]
- },
- {
- name: "清水营煤矿",
- list: [{
- name: "压风系统",
- url: "../unified_automation_system/compressed_air/compressed_air?system_type=compressed_air&mine_code=qingshuiying"
- },
- {
- name: "制氮系统",
- url: "../unified_automation_system/nitrogen_production_system/nitrogen_production_system?system_type=nitrogen&mine_code=qingshuiying"
- }
- ]
- },
- {
- name: "任家庄煤矿",
- list: [{
- name: "压风系统",
- url: "../unified_automation_system/compressed_air/compressed_air?system_type=compressed_air&mine_code=renjiazhuang"
- }
- ]
- }
- ],
- // 排水系统
- data_psxt: [{
- name: "枣泉煤矿",
- list: [{
- name: "720泵房",
- url: "http://anstatic.nxmy.com:8011/assets/html/zaoquan/720bf/#/"
- },
- {
- name: "880泵房",
- url: "http://anstatic.nxmy.com:8011/assets/html/zaoquan/880bf/#/"
- },
- {
- name: "929泵房",
- url: "http://anstatic.nxmy.com:8011/assets/html/zaoquan/929bf/#/"
- },
- {
- name: "950泵房",
- url: "http://anstatic.nxmy.com:8011/assets/html/zaoquan/950bf/#/"
- },
- {
- name: "980泵房",
- url: "http://anstatic.nxmy.com:8011/assets/html/zaoquan/980bf/#/"
- },
- ]
- },
- {
- name: "梅花井煤矿",
- list: [{
- name: "850泵房",
- url: "http://anstatic.nxmy.com:8011/assets/html/meihuajing/850bf/#/"
- },
- {
- name: "697泵房",
- url: "http://anstatic.nxmy.com:8011/assets/html/meihuajing/697bf/#/"
- },
- ]
- },
- {
- name: "清水营煤矿",
- list: [{
- name: "主排水泵房786",
- url: "../unified_automation_system/drainage/drainage?system_type=pump_1&mine_code=qingshuiying"
- },
- {
- name: "主排水泵房11",
- url: "http://anstatic.nxmy.com:8011/assets/html/qingshuiying/zidonghua_app/#/pages/index/11bf/11bf"
- }
- ]
- },
- {
- name: "金家渠煤矿",
- list: [{
- name: "中央水泵排水系统",
- url: "../unified_automation_system/drainage/drainage?system_type=pump_zy&mine_code=jinjiaqu"
- },
- {
- name: "690水泵排水系统",
- url: "../unified_automation_system/drainage/drainage?system_type=pump_690&mine_code=jinjiaqu"
- }
- ]
- },
- {
- name: "石槽村煤矿",
- list: [{
- name: "中央水泵排水系统",
- url: "../unified_automation_system/drainage/drainage?system_type=pump_1&mine_code=shicaocun"
- },
- {
- name: "715水泵排水系统",
- url: "../unified_automation_system/drainage/drainage?system_type=pump_2&mine_code=shicaocun"
- },
- {
- name: "630水泵排水系统",
- url: "../unified_automation_system/drainage/drainage?system_type=pump_3&mine_code=shicaocun"
- }
- ]
- }
- ],
- // 主运输
- data_zys: [{
- name: "梅花井煤矿",
- list: [{
- name: "地面煤流",
- url: "http://anstatic.nxmy.com:8011/assets/html/meihuajing/dmml/#/"
- }]
- },
- {
- name: "金家渠煤矿",
- list: [{
- name: "胶带运输机系统",
- url: "../unified_automation_system/belt_conveyor/belt_conveyor?system_type=belt_13&mine_code=jinjiaqu"
- },
- {
- name: "主斜井胶带运输机系统",
- url: "../unified_automation_system/belt_conveyor/belt_conveyor?system_type=belt_2&mine_code=jinjiaqu"
- }]
- },
- {
- name: "石槽村煤矿",
- list: [{
- name: "22采区皮带",
- url: "../unified_automation_system/belt_conveyor/belt_conveyor?system_type=belt_1&mine_code=shicaocun"
- },{
- name: "西翼巷皮带",
- url: "../unified_automation_system/belt_conveyor/belt_conveyor?system_type=belt_2&mine_code=shicaocun"
- },{
- name: "集中巷皮带",
- url: "../unified_automation_system/belt_conveyor/belt_conveyor?system_type=belt_3&mine_code=shicaocun"
- }]
- },
- {
- name: "清水营煤矿",
- list: [{
- name: "主运输1号皮带",
- url: "../unified_automation_system/belt_conveyor/belt_conveyor?system_type=belt_1&mine_code=qingshuiying"
- }]
- },
- {
- name: "任家庄煤矿",
- list: [{
- name: "主井皮带",
- url: "../unified_automation_system/belt_conveyor/belt_conveyor?system_type=belt_1&mine_code=renjiazhuang"
- }]
- }
- ],
- // 巷道图
- data_xdt: [{
- name: "梅花井煤矿",
- list: [{
- name: "巷道图",
- url: "http://anstatic.nxmy.com:8011/assets/html/meihuajing/zongtu/#/"
- }]
- }],
- // 矿压监测
- data_kyjc: [{
- name: "金家渠煤矿",
- list: [{
- name: "矿压监测",
- // url: "http://anstatic.nxmy.com:8011/assets/html/zhks-quankuang/zidonghua/#/pages/jinjiaqu/kuang_ya_jian_ce/kuang_ya_jian_ce"
- url: "../jinjiaqu/kuang_ya_jian_ce/kuang_ya_jian_ce"
- }]
- }],
- // 提升机
- data_tsj: [{
- name: "金家渠煤矿",
- list: [{
- name: "中部副立井提升机系统",
- url: "../unified_automation_system/hoist/hoist?system_type=hoist&mine_code=jinjiaqu"
- },
- {
- name: "北部副立井提升机系统",
- url: "../unified_automation_system/north_hoist/north_hoist?system_type=hoist_2&mine_code=jinjiaqu"
- },
- {
- name: "13采区提升机监测系统",
- url: "../unified_automation_system/hoist_13/hoist_13?system_type=hoist_1&mine_code=jinjiaqu"
- }]
- }],
-
- // 架空人车
- data_jkrc: [{
- name: "金家渠煤矿",
- list: [{
- name: "13采区架空人车系统",
- url: "../unified_automation_system/man_car/man_car?system_type=mancar&mine_code=jinjiaqu"
- }]
- }],
-
- // 锅炉烟气
- data_glyq: [{
- name: "金家渠煤矿",
- list: [{
- name: "锅炉烟气系统",
- url: "../unified_automation_system/boiler_room/boiler_room?system_type=boiler&mine_code=jinjiaqu"
- }]
- }]
- }
- },
- onLoad(option) {
- console.log(data)
- this.zdhxt = option.zdhxt
- if (this.zdhxt == 'tfgl') {
- uni.setNavigationBarTitle({
- title: "通风管理"
- })
- }
- if (this.zdhxt == 'psxt') {
- uni.setNavigationBarTitle({
- title: "排水系统"
- })
- }
- if (this.zdhxt == 'yfzd') {
- uni.setNavigationBarTitle({
- title: "压风制氮"
- })
- }
- if (this.zdhxt == 'zys') {
- uni.setNavigationBarTitle({
- title: "主运输"
- })
- }
- if (this.zdhxt == 'xdt') {
- uni.setNavigationBarTitle({
- title: "巷道图"
- })
- }
- if (this.zdhxt == 'kyjc') {
- uni.setNavigationBarTitle({
- title: "矿压监测"
- })
- }
- if (this.zdhxt == 'tsj') {
- uni.setNavigationBarTitle({
- title: "提升机系统"
- })
- }
- if (this.zdhxt == 'jkrc') {
- uni.setNavigationBarTitle({
- title: "架空人车系统"
- })
- }
- if (this.zdhxt == 'glyq') {
- uni.setNavigationBarTitle({
- title: "锅炉烟气系统"
- })
- }
- },
- methods: {
- item_active(index) {
- console.log(index)
- if (index != this.active) {
- this.active = index
- } else {
- this.active = 9999
- }
- },
- inner_item_active(item_2) {
- if (item_2.url.indexOf('unified_automation_system') != -1) {
- uni.navigateTo({
- url: item_2.url + "&name=" + item_2.name
- })
- }else if(item_2.url.indexOf('jinjiaqu/kuang_ya_jian_ce/kuang_ya_jian_ce') != -1){
- uni.navigateTo({
- url: '../jinjiaqu/kuang_ya_jian_ce/list'
- })
- } else {
- uni.navigateTo({
- url: "./detail/detail?url=" + item_2.url + "&name=" + item_2.name
- })
- }
- }
- }
- }
- </script>
- <style lang="scss">
- page {
- background-color: #F7F7F7;
- }
- .top_img {
- image {
- width: 750rpx;
- height: 360rpx;
- }
- }
- .list {
- padding-top: 20rpx;
- .item {
- background-color: #FFFFFF;
- margin-bottom: 20rpx;
- box-sizing: border-box;
- padding: 0 35rpx;
- .title {
- display: flex;
- justify-content: space-between;
- align-items: center;
- height: 90rpx;
- border-bottom: 1rpx solid #f7f7f7;
- .left {
- display: flex;
- align-items: center;
- .icon {
- width: 31rpx;
- height: 27rpx;
- background-image: url(img/icon.png);
- background-size: cover;
- background-repeat: no-repeat;
- }
- .name {
- margin-left: 26rpx;
- font-size: 32rpx;
- }
- }
- .right {}
- }
- .inner_list {
- .inner_item {
- display: flex;
- align-items: center;
- height: 80rpx;
- border-bottom: 1rpx solid #f7f7f7;
- padding-left: 96rpx;
- .inner_icon {
- width: 10rpx;
- height: 10rpx;
- background-color: #0992E5;
- border-radius: 50%;
- }
- .inner_name {
- margin-left: 29rpx;
- font-size: 28rpx;
- color: #8a8a8a;
- }
- }
- }
- }
- }
- </style>
|