|
@@ -16,7 +16,7 @@ VueRouter.prototype.replace = function replace (location) {
|
|
import main from '@views/main'
|
|
import main from '@views/main'
|
|
import error404 from '@views/404'
|
|
import error404 from '@views/404'
|
|
import login from '@views/login'
|
|
import login from '@views/login'
|
|
-import contents from '@layout/main'
|
|
|
|
|
|
+import contents from '@layout/vueapp'
|
|
// 子路由
|
|
// 子路由
|
|
import yRouter from '@router/ylf';
|
|
import yRouter from '@router/ylf';
|
|
import lRouter from '@router/lzx';
|
|
import lRouter from '@router/lzx';
|
|
@@ -50,7 +50,6 @@ const routes = [
|
|
},
|
|
},
|
|
name: 'error404',
|
|
name: 'error404',
|
|
component: error404,
|
|
component: error404,
|
|
- components:{rally:error404}
|
|
|
|
}
|
|
}
|
|
,
|
|
,
|
|
{
|
|
{
|
|
@@ -59,9 +58,9 @@ const routes = [
|
|
requireAuth: true,
|
|
requireAuth: true,
|
|
},
|
|
},
|
|
name: 'login',
|
|
name: 'login',
|
|
- component: login,
|
|
|
|
- components:{rally:login}
|
|
|
|
- }
|
|
|
|
|
|
+ component: ()=>import("@views/login"),
|
|
|
|
+ },
|
|
|
|
+
|
|
// { // 健康评价报告 - 临时 /部署单页面
|
|
// { // 健康评价报告 - 临时 /部署单页面
|
|
// path:'/healthAssessmentDetailed2',
|
|
// path:'/healthAssessmentDetailed2',
|
|
// component: r => require.ensure([], () => r(require('@views/healthManagement/healthAssessmentDetailed')), 'healthManagement')
|
|
// component: r => require.ensure([], () => r(require('@views/healthManagement/healthAssessmentDetailed')), 'healthManagement')
|