From 8bfc89d08c5c1b426517abc27b7ceb6da998269d Mon Sep 17 00:00:00 2001 From: WN <56852884+1720360649@users.noreply.github.com> Date: Fri, 26 May 2023 16:39:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=83=E7=90=86=E7=9B=91=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 2 + src/router/index.js | 5 + src/views/psychological-modeling/index.vue | 286 +++++++++++++++ .../psychological-questionnaire/index.vue | 337 ++++++++++++++++++ 4 files changed, 630 insertions(+) create mode 100644 src/views/psychological-modeling/index.vue create mode 100644 src/views/psychological-questionnaire/index.vue 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..27b1504 --- /dev/null +++ b/src/views/psychological-questionnaire/index.vue @@ -0,0 +1,337 @@ + + + + +