client initial commit
This commit is contained in:
parent
b5f98baa2b
commit
dd1547d7c2
70 changed files with 18446 additions and 0 deletions
18
Services/client/src/stores/searched-data.ts
Normal file
18
Services/client/src/stores/searched-data.ts
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import { ref } from 'vue'
|
||||
import { defineStore } from 'pinia'
|
||||
import type { EhrFile } from '@/stores/tree-data'
|
||||
|
||||
export const useSearchDataStore = defineStore('searched', () => {
|
||||
const foundFile = ref<EhrFile[]>([])
|
||||
const isSearch = ref<Boolean>(false)
|
||||
|
||||
async function getFoundFile(data: EhrFile[]) {
|
||||
foundFile.value = data
|
||||
}
|
||||
|
||||
return {
|
||||
isSearch,
|
||||
foundFile,
|
||||
getFoundFile,
|
||||
}
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue