diff --git a/src/main.js b/src/main.js index d507f3e..2a4d95f 100644 --- a/src/main.js +++ b/src/main.js @@ -55,6 +55,7 @@ import { Tabs, Toast, ActionSheet, + Progress, } from 'vant'; //按需加载vant组件 Vue @@ -97,6 +98,7 @@ Vue .use(Tabs) .use(Toast) .use(ActionSheet) +.use(Progress) Vue.config.productionTip = false; Vue.config.devtools = true; diff --git a/src/router/index.js b/src/router/index.js index 88fa066..c9b781c 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -31,6 +31,11 @@ const routes = [ { path: '/cardActive', name: 'cardActive', component: resolve => require(['@/views/card-active'], resolve) }, { path: '/alarmDetails', name: 'alarmDetails', component: resolve => require(['@/views/alarm/alarm-details'], resolve) }, + + // 心理监测 + { path: '/PsychologicalModeling', name: 'PsychologicalModeling', component: resolve => require(['@/views/psychological-modeling'], resolve) }, + { path: '/PsychologicalQuestionnaire', name: 'PsychologicalQuestionnaire', component: resolve => require(['@/views/psychological-questionnaire'], resolve) }, + ]; const router = new VueRouter({ diff --git a/src/views/psychological-modeling/index.vue b/src/views/psychological-modeling/index.vue new file mode 100644 index 0000000..0f7c642 --- /dev/null +++ b/src/views/psychological-modeling/index.vue @@ -0,0 +1,286 @@ + + + + + diff --git a/src/views/psychological-questionnaire/index.vue b/src/views/psychological-questionnaire/index.vue new file mode 100644 index 0000000..acb4d61 --- /dev/null +++ b/src/views/psychological-questionnaire/index.vue @@ -0,0 +1,342 @@ + + + + +