排序门诊号/住院号时自动切换患者类型

dev
鹿和sa0ChunLuyu 21 hours ago
parent 66c207096a
commit 39e55f0a16

@ -419,6 +419,14 @@
const onSortChange = ({ prop, order }) => {
searchInfo.value.orderField = prop || ''
searchInfo.value.orderDirection = order || ''
// /
if (order) {
if (prop === 'reg_num') {
searchInfo.value.patient_type = "1"
} else if (prop === 'episodeid') {
searchInfo.value.patient_type = "0"
}
}
GetList()
}
const printTable = () => {

Loading…
Cancel
Save