Browse Source

doctor

master
pengjun 1 year ago
parent
commit
76f4e50a22
  1. 8
      src/components/doctorCheck/ButtonList.vue
  2. 13
      src/components/sumDoctorCheck/SumHistory.vue
  3. 13
      src/components/sumDoctorCheck/SumItems.vue

8
src/components/doctorCheck/ButtonList.vue

@ -125,19 +125,19 @@
<div>
<el-tabs v-model="tabChoosed">
<el-tab-pane label="明细结果" name="2">
<CheckDetails :patientRegisterId="doctorCheck.prBase.id" />
<CheckDetails :patientRegisterId="doctorCheck.prBase.id" :refParams="{ place: 'doctor' }"/>
</el-tab-pane>
<el-tab-pane label="本次图文报告" name="4">
<ImageTextReport :refParams="{ place: 'doctor' }" />
<ImageTextReport :refParams="{ place: 'doctor' }"/>
</el-tab-pane>
<!-- <el-tab-pane label="项目对比" name="4">
<SumItemsType :patientId="doctorCheck.prBase.patientId" />
</el-tab-pane> -->
<el-tab-pane label="横向对比" name="5">
<SumItems :patientId="doctorCheck.prBase.patientId" />
<SumItems :patientId="doctorCheck.prBase.patientId" :refParams="{ place: 'doctor' }"/>
</el-tab-pane>
<el-tab-pane label="历次综述" name="6">
<SumHistory :patientId="doctorCheck.prBase.patientId" />
<SumHistory :patientId="doctorCheck.prBase.patientId" :refParams="{ place: 'doctor' }"/>
</el-tab-pane>
</el-tabs>
</div>

13
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
},
},

13
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
},
},

Loading…
Cancel
Save