From 76f4e50a22c60c1931953ff72ab20fdb4a7e1a2f Mon Sep 17 00:00:00 2001 From: pengjun <158915633@qq.com> Date: Sat, 10 Aug 2024 09:02:54 +0800 Subject: [PATCH] doctor --- src/components/doctorCheck/ButtonList.vue | 8 ++++---- src/components/sumDoctorCheck/SumHistory.vue | 13 ++++++++++--- src/components/sumDoctorCheck/SumItems.vue | 13 ++++++++++--- 3 files changed, 24 insertions(+), 10 deletions(-) diff --git a/src/components/doctorCheck/ButtonList.vue b/src/components/doctorCheck/ButtonList.vue index 6522028..5ec74ea 100644 --- a/src/components/doctorCheck/ButtonList.vue +++ b/src/components/doctorCheck/ButtonList.vue @@ -125,19 +125,19 @@
- + - + - + - +
diff --git a/src/components/sumDoctorCheck/SumHistory.vue b/src/components/sumDoctorCheck/SumHistory.vue index dec46a4..e078a0f 100644 --- a/src/components/sumDoctorCheck/SumHistory.vue +++ b/src/components/sumDoctorCheck/SumHistory.vue @@ -33,7 +33,7 @@ import { getapi, postapi, putapi, deletapi } from "@/api/api"; import { arrayExistObj } from '@/utlis/proFunc'; export default { components: {}, - props: ["patientId","tabChoosed"], + props: ["patientId","tabChoosed","refParams"], data() { return { tableData: [], //显示数据 @@ -53,8 +53,15 @@ export default { computed: { ...mapState(['window', 'dict','dataTransOpts', 'doctorCheck', 'sumDoctorCheck']), divHeight() { - let tempHeight = this.window.pageHeight < 600 ? 600 : this.window.pageHeight - return tempHeight - 195 + let tableHeight = 465 + switch (this.refParams.place) { + case 'summary': //总检处 + tableHeight = (this.window.pageHeight < 600 ? 600 : this.window.pageHeight) - 195 + break; + default: + break; + } + return tableHeight }, }, diff --git a/src/components/sumDoctorCheck/SumItems.vue b/src/components/sumDoctorCheck/SumItems.vue index 6a962fb..6d24569 100644 --- a/src/components/sumDoctorCheck/SumItems.vue +++ b/src/components/sumDoctorCheck/SumItems.vue @@ -63,7 +63,7 @@ import { getapi, postapi, putapi, deletapi } from "@/api/api"; import { arrayExistObj, getColorStr } from '@/utlis/proFunc'; export default { components: {}, - props: ["patientId", "tabChoosed"], + props: ["patientId", "tabChoosed","refParams"], data() { return { RegisterCheckList: [], @@ -84,8 +84,15 @@ export default { ...mapState(['window', 'dict', 'dataTransOpts', 'doctorCheck', 'sumDoctorCheck']), divHeight() { - let tempHeight = this.window.pageHeight < 600 ? 600 : this.window.pageHeight - return tempHeight - 195 + let tableHeight = 465 + switch (this.refParams.place) { + case 'summary': //总检处 + tableHeight = (this.window.pageHeight < 600 ? 600 : this.window.pageHeight) - 195 + break; + default: + break; + } + return tableHeight }, },