PMCORE-2544:Improve an integrate the pending task table with the rest services

This commit is contained in:
fabio
2020-12-14 16:19:44 -04:00
parent 81677b9bb1
commit b542202a3c
7 changed files with 61 additions and 12 deletions

View File

@@ -95,6 +95,16 @@ export let cases = {
window.config.SYS_URI +
`appProxy/getNotesList`, params);
},
pendingtask(data){
return axios.get(window.config.SYS_SERVER +
'/api/1.0/' +
window.config.SYS_WORKSPACE +
'/home/' + data.APP_NUMBER + '/pending-tasks', {
headers: {
'Authorization': 'Bearer ' + window.config.SYS_CREDENTIALS.accessToken
}
});
},
start(dt) {
var params = new URLSearchParams();
params.append('action', 'startCase');