| | |
| | | # 开发环境配置 |
| | | NODE_ENV = 'development' |
| | | |
| | | VUE_APP_SCREEN_URL_PREFIX = 'http://192.168.0.7/screen/#/' |
| | | # VUE_APP_API_URL = 'https://atwl.ahzyssl.com/zhyq_interface' |
| | | |
| | | #VUE_APP_API_URL = 'http://localhost:10010' |
| | | # VUE_APP_API_URL = 'http://192.168.1.45:10010' |
| | | |
| | | VUE_APP_API_URL = 'http://192.168.0.7/system_gateway' |
| | | |
| | | # VUE_APP_API_URL = 'http://localhost:10010' |
| | | |
| | | # VUE_APP_API_URL = 'https://atwl.ahzyssl.com/zhyq_interface' |
| | | |
| | | #key:045542fc5f436b75e6c911c5c84ff8cd |
| | | #密钥:8bd38497f9aee2b75e7a888a4dfd1e6c |
| | | VUE_APP_AMAP_KEY='045542fc5f436b75e6c911c5c84ff8cd' |
| | |
| | | this.setTopMenuCurrent(item) |
| | | }else{ |
| | | if (item.url && item.url === 'goHKAF' && item.params != null) { |
| | | this.getHKAFHeaderNav(item.params) |
| | | this.getHKAFHeaderNav(item.params, item.label) |
| | | } else if (item.url && item.url.indexOf('http') === 0) { |
| | | window.open(item.url, '_blank') |
| | | } |
| | | } |
| | | }, |
| | | getHKAFHeaderNav (type) { |
| | | getHKAFHeaderNav (type, label) { |
| | | getAppHeaderNav(type).then(res => { |
| | | if (label === '安防中心') { |
| | | let openWindow = window.open(res, '_blank') |
| | | setTimeout(() => { |
| | | openWindow.close() |
| | | }, 7 * 1000) |
| | | } else { |
| | | window.open(res, '_blank') |
| | | } |
| | | }) |
| | | }, |
| | | handleTest () { |