profiling + research + download

This commit is contained in:
Florinda
2024-11-27 09:33:08 +01:00
parent 818ed15ca0
commit ddd06350cd
15 changed files with 578 additions and 34 deletions

View File

@@ -0,0 +1,11 @@
import axios from 'axios';
export const KsDocumentService = {
getKsDocuments() {
return axios.get('/fe-api/ksdocuments')
},
downloadKsDocument(doc) {
return axios.post('/fe-api/ksdocuments/downloadKSDocument', doc, { responseType: "blob", });
}
}

View File

@@ -0,0 +1,26 @@
import axios from 'axios';
export const ProjectService = {
getUserProjects() {
return axios.get('/userProjects')
}
,
getUserApplications() {
return axios.get('/userApplications')
}
,
updateSelectedProject(data) {
return axios.post('/updateSelectedProject', data)
}
,
updateSelectedApplication(data) {
return axios.post('/updateSelectedApplication', data)
}
/* {
projectName: selectedProjectName
}*/
}