设备管理增加派班工作站,修改车辆段和派班工作站的路径

This commit is contained in:
yuan 2021-10-12 11:02:36 +08:00
parent 4acb11fa2d
commit 36bd886cb2
2 changed files with 13 additions and 1 deletions

View File

@ -199,6 +199,7 @@ export default {
{label: '现地综合监控', value: 'ISCS_LW'},
{label: '中心综合监控', value: 'ISCS_CW'},
{label: '车辆段终端', value: 'DEPOT'},
{label: '派班工作站', value: 'SCHEDULING'},
{label: '虚拟CCTV', value: 'CCTV'},
{label: 'PLC网关', value: 'PLC_GATEWAY'},
{label: '端头控制盒', value: 'PSL'},

View File

@ -503,7 +503,7 @@ export default {
type: this.$route.query.type
} });
}
} else if (this.$route.query.type === 'DEPOT') {
} else if (this.$route.query.type === 'SCHEDULING') {
this.$router.push({ path: `/displayNew/demon`, query: {
group: res.data.group,
lineCode: resp.data.map.lineCode,
@ -514,6 +514,17 @@ export default {
projectDevice: this.$route.query.projectDevice,
type: this.$route.query.type
}});
} else if (this.$route.query.type === 'DEPOT'){
this.$router.push({ path: `/displayNew/demon`, query: {
group: res.data.group,
lineCode: resp.data.map.lineCode,
mapId: resp.data.map.id,
prdType: '09',
goodsId:'',
try:'0',
projectDevice: this.$route.query.projectDevice,
type: this.$route.query.type
}});
} else if (this.$route.query.type === 'VR_PSD') {
if (res.data.deviceVO && res.data.deviceVO.config) {
query.psdCode = JSON.parse(res.data.deviceVO.config).psdCode;