|
|
@@ -91,6 +91,7 @@
|
|
91
|
91
|
|
|
92
|
92
|
|
|
93
|
93
|
const getDatas = (type) => {
|
|
|
94
|
+ console.log(type, 'type')
|
|
94
|
95
|
if (props.patientId) {
|
|
95
|
96
|
getPageListData('/patient/hospitalrecord', {
|
|
96
|
97
|
patientId: props.patientId,
|
|
|
@@ -98,8 +99,8 @@
|
|
98
|
99
|
pageSize: 5,
|
|
99
|
100
|
typelist: type,
|
|
100
|
101
|
}).then(res => {
|
|
101
|
|
- if (type === 2) zyData.value = res.data
|
|
102
|
|
- if (type === 1) mzData.value = res.data
|
|
|
102
|
+ if (type.includes(2)) zyData.value = res.data
|
|
|
103
|
+ if (type.includes(1)) mzData.value = res.data
|
|
103
|
104
|
})
|
|
104
|
105
|
}
|
|
105
|
106
|
|