代码调整

This commit is contained in:
joylink_cuiweidong 2022-10-14 17:39:51 +08:00
parent 0ed2bf8193
commit c8ed557fa3

View File

@ -19,11 +19,249 @@
</template>
<script>
import { getByGroupStationList } from '@/api/jmap/map';
import iscs_icon1 from '@/assets/iscs_system/iscs_icon1.png';
import iscs_icon2 from '@/assets/iscs_system/iscs_icon2.png';
import iscs_icon3 from '@/assets/iscs_system/iscs_icon3.png';
import iscs_icon5 from '@/assets/iscs_system/iscs_icon5.png';
import iscs_icon6 from '@/assets/iscs_system/iscs_icon6.png';
import iscs_icon7 from '@/assets/iscs_system/iscs_icon7.png';
export default {
name:'',
data() {
return {
stationList:[]
selectStation: 'mainHouseOne',
stationList:[],
buttonId:'substation',
buttonList:{
stationDescription:{name:'车站概要', type:'totalSystem', id: 'stationDescription', active:false, icon:iscs_icon1 },
electric: {name:'电力监控系统', type:'totalSystem', id: 'powerMonitoring', active:false, icon:iscs_icon2,
children:[
{
name: '牵引降压所主接线图',
mode: 'substation',
id: 'substation',
type: 'interface'
},
{
name: '能耗检测管理系统',
mode: 'energyDetected',
id: 'energyDetected',
type: 'interface'
}
] },
environment:{name:'环境与设备监控系统', type:'totalSystem', id: 'environment', active:false, icon:iscs_icon3,
children:[
{
name: '车站模式管理器',
mode: 'environmentOne',
id: 'environmentOne',
type: 'interface'
},
{
name: '时间管理器',
mode: 'environmentTwo',
id: 'environmentTwo',
type: 'interface'
},
{
name: '隧道通风系统',
mode: 'environmentThree',
id: 'environmentThree',
type: 'interface'
},
{
name: '大系统',
mode: 'environmentFour',
id: 'environmentFour',
type: 'interface'
},
{
name: '小系统',
mode: 'environmentFive',
id: 'environmentFive',
type: 'interface'
},
{
name: '空调水系统',
mode: 'environmentSix',
id: 'environmentSix',
type: 'interface'
},
{
name: 'VRV多联空调',
mode: 'environmentSeven',
id: 'environmentSeven',
type: 'interface'
},
{
name: '给排水系统',
mode: 'environmentEight',
id: 'environmentEight',
type: 'interface'
},
{
name: '照明系统',
mode: 'environmentNine',
id: 'environmentNine',
type: 'interface'
},
{
name: '电扶梯系统',
mode: 'environmentTen',
id: 'environmentTen',
type: 'interface'
},
{
name: '人防门/防淹门',
mode: 'environmentEleven',
id: 'environmentEleven',
type: 'interface'
},
{
name: ' 传感器',
mode: 'environmentThirteen',
id: 'environmentThirteen',
type: 'interface'
}
]
},
ffas: {name:'火灾报警系统', type:'totalSystem', id: 'ffas', mode: 'ffas', active:false, icon:iscs_icon4,
children:[
{
name: '火灾报警系统-FAS联动',
mode: 'linkage',
id: 'linkage',
type: 'interface'
},
{
name: '火灾报警系统-站厅层',
mode: 'stationHall',
id: 'stationHall',
type: 'interface'
},
{
name: '火灾报警系统-站台层',
mode: 'platform',
id: 'platform',
type: 'interface'
},
{
name: '火灾报警系统-区间',
mode: 'section',
id: 'section',
type: 'interface'
},
{
name: '感温光纤探测系统',
mode: 'sensing',
id: 'sensing',
type: 'interface'
},
{
name: '气体灭火系统',
mode: 'gas',
id: 'gas',
type: 'interface'
}
]},
psd:{name:'屏蔽门系统', type:'totalSystem', id: 'psdSystem', active:false, icon:iscs_icon5 },
fafc:{name:'自动售检票/门禁', type:'totalSystem', id: 'fafc', mode: 'fafc', active:false, icon:iscs_icon6,
children:[
{
name: '自动售检票系统',
mode: 'autoTicket',
id: 'autoTicket',
type: 'interface'
},
{
name: '门禁系统',
mode: 'afcOne02',
id: 'afcOne02',
type: 'interface'
}
]},
signalSystem:{name:'信号系统', type:'totalSystem', id: 'signalSystem', mode: 'signalSystem', active:false, icon:iscs_icon7,
children:[
{
name: 'TIS管理器',
mode: 'tis',
id: 'tis',
type: 'interface',
disabled: true
},
{
name: '列车时刻表',
mode: 'schedule',
id: 'schedule',
type: 'interface'
},
{
name: '信号系统',
mode: 'signal',
id: 'signal',
type: 'interface'
},
{
name: '全线信号系统界面',
mode: 'allLineSignal',
id: 'allLineSignal',
type: 'interface',
disabled: true
}
]},
communication:{name:'通信', type:'totalSystem', id: 'communication', active:false, icon:iscs_icon7,
children:[
{
name: '乘客信息-主画面',
mode: 'pidsMain',
id: 'pidsMain',
type: 'interface'
},
// {
// name: '-LCD',
// mode: 'pidsLcd',
// id: 'pidsLcd',
// type: 'interface'
// },
// {
// name: '-',
// mode: 'pidsPreview',
// id: 'pidsPreview',
// type: 'interface'
// },
// {
// name: '-',
// mode: 'pidsEmergency',
// id: 'pidsEmergency',
// type: 'interface'
// },
{
name: '广播系统-主画面',
mode: 'paMain',
id: 'paMain',
type: 'interface'
}
// {
// name: '广-广',
// mode: 'paMonitor',
// id: 'paMonitor',
// type: 'interface'
// },
// {
// name: '广-',
// mode: 'paPreview',
// id: 'paPreview',
// type: 'interface'
// }
// {
// name: '',
// mode: 'cctv',
// id: 'cctv',
// type: 'interface'
// }
]}
}
// mode: 'substation'
};
},
async created () {
@ -49,6 +287,14 @@ export default {
// if (!this.$route.params.mode) {
// this.selectChildren(this.buttonId, true);
// }
},
methods:{
changeStation(item) {
this.selectStation = item;
this.selectChildren(this.buttonId);
},
selectChildren(type) { //
}
}
};
</script>