diff --git a/acupuncture-前台/src/router/index.js b/acupuncture-前台/src/router/index.js index 1a862cab..108fb426 100644 --- a/acupuncture-前台/src/router/index.js +++ b/acupuncture-前台/src/router/index.js @@ -77,12 +77,12 @@ export const constantRoutes = [ { path: "/patientFile", component: Layout, - redirect: "index", + redirect: "patientFile", children: [ { path: "/patientIndex", component: () => import("@/views/patientFile/index"), - name: "Index", + name: "patientIndex", meta: { title: "患者档案", icon: "dashboard", }, }, ], diff --git a/acupuncture-前台/src/views/medicalFile/index.vue b/acupuncture-前台/src/views/medicalFile/index.vue index 0e48596a..50349ac4 100644 --- a/acupuncture-前台/src/views/medicalFile/index.vue +++ b/acupuncture-前台/src/views/medicalFile/index.vue @@ -137,7 +137,7 @@ - {{ scope.row.queueVoList.map((i) => i.queueName).join(",") }} + {{ scope.row.queueVoList.map((i) => i.queueName).join(",") }} @@ -203,15 +203,15 @@ 住院 - + - + - + @@ -219,7 +219,7 @@ - + @@ -509,6 +509,10 @@ dicts: ["sys_normal_disable", "sys_user_sex"], data() { return { + visitType: { + 0: '门诊', + 1: "住院" + }, headers: { Authorization: "Bearer " + getToken(), deptId: localStorage.getItem("hospitalId"), @@ -923,7 +927,7 @@ pageNum: 1, pageSize: 10, param: { - keywords:'', + keywords: '', visitType: '', name: '', gender: '', @@ -1072,13 +1076,13 @@ followupQuery({ pageNum: -1, param: { - status:1 + status: 1 }, }).then((res) => { this.followupList = res.data.list; let commonQueue = JSON.parse(localStorage.getItem('commonQueue')) - commonQueue?.forEach(i=>{ - this.followupList.unshift(i) + commonQueue?.forEach(i => { + this.followupList.unshift(i) }) }); }, @@ -1141,7 +1145,7 @@ phone: "", idCardType: "", idCard: "", - visitType: "", + visitType: 0, visitNumber: "", visitTime: "", dischargeTime: "", @@ -1159,7 +1163,7 @@ /** 重置按钮操作 */ resetQuery() { this.queryParams.param = { - keywords:'', + keywords: '', visitType: '', name: '', gender: '', @@ -1191,7 +1195,7 @@ let queueList = row.queueVoList.map((item) => item.queueId); this.form = { ...JSON.parse(JSON.stringify(row)), - queueIdList:queueList + queueIdList: queueList } }, /** 提交审核 */ @@ -1212,7 +1216,7 @@ /** 随访记录 */ handleEecorde(row) { this.$router.push({ - path:`/followWork?idCard=${row.idCard}` + path: `/followWork?idCard=${row.idCard}` }) }, /** 详情按钮操作 */ @@ -1334,21 +1338,24 @@