大屏登录后跳转url增加prdType字段用于车辆段显隐处理

This commit is contained in:
yuan 2021-10-13 17:16:13 +08:00
parent 58a2ca0192
commit f5f4db14c5

View File

@ -470,9 +470,9 @@ export default {
if (this.$route.query.type == 'LSW') {
const config = JSON.parse(res.data.deviceVO.config);
if (config.quadrant == '99') {
this.$router.push({ path: `/displayBigScreen/${resp.data.map.id}`, query: query });
this.$router.push({ path: `/displayBigScreen/${resp.data.map.id}`, query: {...query, prdType:resp.data.prodType} });
} else {
this.$router.push({ path: `/bigSplitScreen/${resp.data.map.id}`, query: query });
this.$router.push({ path: `/bigSplitScreen/${resp.data.map.id}`, query: {...query, prdType:resp.data.prodType} });
}
} else if (this.$route.query.type === 'ISCS_LW' || this.$route.query.type === 'ISCS_CW') {
this.$router.push({ path: `/displayIscs/system`, query: {