Merge branch 'phatt' into development
This commit is contained in:
commit
8f42584423
1 changed files with 2 additions and 5 deletions
|
|
@ -2,6 +2,7 @@
|
|||
import { ref, watch } from 'vue'
|
||||
import { storeToRefs } from 'pinia'
|
||||
import axiosClient from '@/services/HttpService'
|
||||
import mime from 'mime'
|
||||
|
||||
import type { EhrFile } from '@/stores/tree-data'
|
||||
import { useSearchDataStore } from '@/stores/searched-data'
|
||||
|
|
@ -55,7 +56,7 @@ async function searchSubmit() {
|
|||
})
|
||||
submitSearchData.value.OR.push({
|
||||
field: 'fileType',
|
||||
value: searchData.value.value,
|
||||
value: mime.getType(searchData.value.value) || '',
|
||||
})
|
||||
} else {
|
||||
submitSearchData.value.OR.push({
|
||||
|
|
@ -125,10 +126,6 @@ watch(
|
|||
}
|
||||
},
|
||||
)
|
||||
|
||||
function test() {
|
||||
alert('helloooo')
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue