feat: add encounter list component with data display, filtering, and record management capabilities
This commit is contained in:
@@ -129,7 +129,6 @@ watch([recSepId, recSepMenu, recSepSubMenu], (value) => {
|
||||
const id = value[0]
|
||||
const menu = value[1]
|
||||
const subMenu = value[2]
|
||||
console.log(id, menu, subMenu)
|
||||
if (!id) return
|
||||
if (subMenu === 'view') {
|
||||
handleViewFile(id, menu, subMenu)
|
||||
@@ -189,8 +188,13 @@ async function getPatientList() {
|
||||
|
||||
function handleUploadFile(id: number, menu: string) {
|
||||
uploadFile.value = null
|
||||
document.getElementById('uploadFile')?.click()
|
||||
console.log(id)
|
||||
const fileInput: HTMLInputElement | undefined | null = document
|
||||
.getElementById('uploadFile')
|
||||
?.querySelector("input[type='file']")
|
||||
if (fileInput) {
|
||||
fileInput.value = ''
|
||||
fileInput.click()
|
||||
}
|
||||
}
|
||||
|
||||
async function handleUploadFileSubmit() {
|
||||
|
||||
Reference in New Issue
Block a user