profiling + research + download
This commit is contained in:
11
src/service/KsDocumentService.js
Normal file
11
src/service/KsDocumentService.js
Normal 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", });
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
26
src/service/ProjectService.js
Normal file
26
src/service/ProjectService.js
Normal 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
|
||||
}*/
|
||||
}
|
||||
Reference in New Issue
Block a user