From f05a712ba918a1ed365b4a063eb839b2d47e05b5 Mon Sep 17 00:00:00 2001 From: mch <1332099529@qq.com> Date: Fri, 11 Aug 2023 18:18:47 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=A2=84=E7=BA=A6=E7=99=BB=E8=AE=B0?= =?UTF-8?q?=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 5 + src/views/Home.vue | 4 + src/views/doctorCheck/personnelBatch.vue | 153 +++++++++++++++++++++++ 3 files changed, 162 insertions(+) create mode 100644 src/views/doctorCheck/personnelBatch.vue diff --git a/src/router/index.js b/src/router/index.js index 9e211ec..a2349f6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -244,6 +244,11 @@ const routes = [ name: "总检医生诊台", component: () => import("../views/doctorCheck/sumDoctorCheck.vue"), }, + { + path: "/personnelBatch", + name: "人员预约登记", + component: () => import("../views/doctorCheck/personnelBatch.vue"), + }, //---------------------- 体 检 end ---------------------- ], }, diff --git a/src/views/Home.vue b/src/views/Home.vue index b95476b..f800c7f 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -247,6 +247,10 @@ 总检医生诊台 + 人员预约登记 diff --git a/src/views/doctorCheck/personnelBatch.vue b/src/views/doctorCheck/personnelBatch.vue new file mode 100644 index 0000000..979ea78 --- /dev/null +++ b/src/views/doctorCheck/personnelBatch.vue @@ -0,0 +1,153 @@ + + + \ No newline at end of file From e50cb06a1b64e08954eda176d463856f68ae47e5 Mon Sep 17 00:00:00 2001 From: mch <1332099529@qq.com> Date: Mon, 14 Aug 2023 15:33:37 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 4 + src/store/index.js | 3 + src/views/Home.vue | 213 +++++++++-------------- src/views/doctorCheck/personnelBatch.vue | 6 +- 4 files changed, 94 insertions(+), 132 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index a2349f6..478eb04 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -4,6 +4,10 @@ import VueRouter from "vue-router"; import login from "@/views/login/Login.vue"; Vue.use(VueRouter); +// const originalpush = VueRouter.prototype.push +// VueRouter.prototype.push = function (location) { +// return originalpush.call(this, location).catch(err => err) +// } const routes = [ { path: "/", diff --git a/src/store/index.js b/src/store/index.js index 3b82a41..6a4fbca 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -9,6 +9,9 @@ export default new Vuex.Store({ state: { changepassword:'',//用户密码 set: "qqqq", + router:{ + path:'', + }, window:{ pageHeight:960, //页面高度 pageWidth:1920, //页面宽度 diff --git a/src/views/Home.vue b/src/views/Home.vue index f800c7f..a3faf15 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -5,22 +5,17 @@