pengjun 2 years ago
parent
commit
17a7aa3fdd
  1. 15
      src/components/sumDoctorCheck/CheckDetails.vue

15
src/components/sumDoctorCheck/CheckDetails.vue

@ -58,11 +58,11 @@ export default {
//
mounted() {
this.CheckDetails(this.dataTransOpts.tableS.patient_register.id);
this.CheckDetails(this.dataTransOpts.tableS.patient_register.id);
},
computed: {
...mapState(['window', 'dict','dataTransOpts', 'doctorCheck', 'sumDoctorCheck']),
...mapState(['window', 'dict', 'dataTransOpts', 'doctorCheck', 'sumDoctorCheck']),
divHeight() {
let tempHeight = this.window.pageHeight < 600 ? 600 : this.window.pageHeight
@ -72,13 +72,14 @@ export default {
methods: {
//
CheckDetails(RegisterId) {
if (!RegisterId) {
CheckDetails(patientRegisterId) {
if (!patientRegisterId) {
this.tableData = []
return
}
console.log(`/api/app/sumsummaryreport/getdetailedresultslist?PatientRegisterId=${RegisterId}`)
getapi(`/api/app/sumsummaryreport/getdetailedresultslist?PatientRegisterId=${RegisterId}`)
console.log(`/api/app/sumsummaryreport/getdetailedresultslist?PatientRegisterId=${patientRegisterId}`)
postapi('/api/app/SumSummaryReport/GetDetailResults', { patientRegisterId })
.then((res) => {
console.log("获取结果明细 CheckDetails", res.data);
if (res.code != -1) {
@ -101,7 +102,7 @@ export default {
},
//
watch: {
watch: {
// sumDoctor.M
"dataTransOpts.refresh.sumDoctor.M": {
// immediate:true,

Loading…
Cancel
Save