'update_url'

This commit is contained in:
gtz 2022-12-15 16:39:38 +08:00
parent ff4e76f843
commit 126b78ae23

View File

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