|
|
|
@ -419,6 +419,14 @@
|
|
|
|
const onSortChange = ({ prop, order }) => {
|
|
|
|
const onSortChange = ({ prop, order }) => {
|
|
|
|
searchInfo.value.orderField = prop || ''
|
|
|
|
searchInfo.value.orderField = prop || ''
|
|
|
|
searchInfo.value.orderDirection = order || ''
|
|
|
|
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()
|
|
|
|
GetList()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const printTable = () => {
|
|
|
|
const printTable = () => {
|
|
|
|
|