|  |  | 
 |  |  | <template> | 
 |  |  |   <div class="main_home"> | 
 |  |  |     <div style="position: fixed;z-index: 99999"><video  style="height: 100px;width: 500px" src="rtsp://10.50.250.253:554/openUrl/K2y2vE4" controls></video></div> | 
 |  |  |     <!-- <div style="position: fixed;z-index: 99999"><video  style="height: 100px;width: 500px" src="rtsp://10.50.250.253:554/openUrl/K2y2vE4" controls></video></div> --> | 
 |  |  |     <div class="home_header"> | 
 |  |  |       <div class="mb10 fs17">下午好,{{ userInfo.realname }}</div> | 
 |  |  |       <div class="fs13"> | 
 |  |  | 
 |  |  |         { name: '访客报备', path: '', url: require('@/assets/icons/home_func1.png'), path: '/business/reportRecord' }, | 
 |  |  |         { name: '隐患随手拍', path: '', url: require('@/assets/icons/home_func2.png'), path: '/operation/danger/record' }, | 
 |  |  |         { name: '预约会议室', path: '', url: require('@/assets/icons/home_func3.png'), path: '/meeting/bookings' }, | 
 |  |  |         { name: '考勤工作台', path: '', url: require('@/assets/icons/home_func4.png') } | 
 |  |  |         { name: '考勤工作台', path: '', url: require('@/assets/icons/home_func4.png') }, | 
 |  |  |         { name: '食堂消费入口', path: '', url: require('@/assets/icons/8.png') } | 
 |  |  |       ], | 
 |  |  |       isShowDetail: false, | 
 |  |  |       isShowReport: false, | 
 |  |  | 
 |  |  |         if (res == undefined || res == null) { | 
 |  |  |           return | 
 |  |  |         } | 
 |  |  |         const myWindow = window.open(res) | 
 |  |  |         console.log('单点登录地址------', res) | 
 |  |  |  | 
 |  |  |         const myWindow = top.window.open(res) | 
 |  |  |         console.log('myWindow---', myWindow) | 
 |  |  |         setTimeout(() => { | 
 |  |  |           const params = { | 
 |  |  |             componentId: 'dfe', | 
 |  |  | 
 |  |  |             }, | 
 |  |  |             msgType: 'tlnc' | 
 |  |  |           } | 
 |  |  |           const argus = JSON.parse(row.param5) | 
 |  |  |           console.log('row.param5 Obj---', argus) | 
 |  |  |           // const argus = JSON.stringify(params) | 
 |  |  |           myWindow.postMessage('{"method":"goToApp","argument":' + row.param5 + '}', '*') | 
 |  |  |         }, 3000) | 
 |  |  |         }, 8000) | 
 |  |  |       }) | 
 |  |  |     }, | 
 |  |  |     SubSuccess (str) { | 
 |  |  | 
 |  |  |           window.open(res, '_blank') | 
 |  |  |         }) | 
 |  |  |       } | 
 |  |  |       if (item.name == '食堂消费入口') { | 
 |  |  |         getAppHeaderNav(6).then(res => { | 
 |  |  |           window.open(res, '_blank') | 
 |  |  |         }) | 
 |  |  |       } | 
 |  |  |       this.$router.push(item.path) | 
 |  |  |     }, | 
 |  |  |     updateDate () { |