|
|
@@ -50,8 +50,8 @@ export default { |
|
|
|
rowNum: 1, |
|
|
|
windowWidth: 0, |
|
|
|
routeList: [ |
|
|
|
{ name: 'factory', path: 'http://192.168.1.47:9527/#/3d-overview', title: '数字工厂总览' }, |
|
|
|
{ name: 'mes', path: 'http://192.168.1.47:9527/#/login', title: 'MES生产管理平台' }, |
|
|
|
{ name: 'factory', path: 'http://192.168.1.103:9528/#/3d-overview', title: '数字工厂总览' }, |
|
|
|
{ name: 'mes', path: 'http://192.168.1.103:9528/#/login', title: 'MES生产管理平台' }, |
|
|
|
{ name: 'wms', path: 'http://192.168.1.103:9529/#/login', title: 'WMS物流仓储管理' }, |
|
|
|
{ name: 'data', path: 'factory', title: '数据采集平台' } |
|
|
|
], |
|
|
@@ -90,7 +90,7 @@ export default { |
|
|
|
}, |
|
|
|
handelClick(item) { |
|
|
|
if (item.path.substring(0, 4) === 'http') { |
|
|
|
if (item.path === 'http://192.168.1.47:9527/#/3d-overview') { |
|
|
|
if (item.path === 'http://192.168.1.103:9528/#/3d-overview') { |
|
|
|
window.open(item.path) |
|
|
|
} else { |
|
|
|
window.open(`${item.path}?username=${Cookie.get('account')}&password=${Cookie.get('password')}`) |
|
|
|