feat: 对企业作业平台的单独处理

This commit is contained in:
Tony 2023-11-08 09:15:52 +08:00
parent d900df3811
commit 878191ffe5
3 changed files with 12 additions and 1 deletions

View File

@ -99,6 +99,9 @@ export default {
case '9140':
location.href = '/species/home';
break;
case '9150':
location.href = '/index';
break;
default:
location.href = '/index';
break;
@ -116,6 +119,9 @@ export default {
case '9140':
this.$router.push('/bigscreen1')
break;
case '9150':
this.$router.push("/bigscreen2")
break;
default:
this.$router.push('/bigscreen')
break;

View File

@ -42,6 +42,9 @@ export default {
case '9140':
this.title = '山林生态安全监测管理平台'
break;
case '9150':
this.title = '企业作业综合可视化监管平台'
break;
default:
this.title = '山林生态安全监测管理平台'
break;

View File

@ -83,7 +83,9 @@ export const constantRoutes = [
children: [
{
path: 'index',
component: () => import('@/views/index'),
// component: () => import('@/views/index'),
// 这是用了企业作业的首页,部署企业作业用下面
component: () => import('@/views/operation/home/index.vue'),
name: 'Index',
meta: { title: '首页', icon: 'dashboard', affix: true }
}