| | |
| | | this.$router.push({path: '/myiframe/urlPath',query:{name: foundRoute.name,src:foundRoute.origin}}); |
| | | return; |
| | | } |
| | | if(foundRoute.name != "数字看板") { |
| | | if(foundRoute.name != "看板") { |
| | | this.$router.push({path: key}); |
| | | }else { |
| | | window.open(key + `?token=${TOKEN}`,'_blank'); |
| | |
| | | //获取多个工作台 |
| | | this.$HTTP.get("/api/blade-system/workbench/list?status=1").then(resp => { |
| | | if (resp.data.length) { |
| | | //console.log(resp.data,resp.data[0].name,333); |
| | | resp.data.forEach((item, index) => { |
| | | item.component = "home"; |
| | | item.meta = { title: item.name, icon: 'el-icon-menu', affix: true }; |