fix documentViewer url

This commit is contained in:
tiago.kayaya
2021-04-01 17:06:54 +01:00
parent 66ec3882ef
commit 5521dbb2b9
3 changed files with 25 additions and 5 deletions
+14
View File
@@ -133,6 +133,20 @@ export class ProcessesService {
};
return this.http.post<any>(`${geturl}`,'', options);
}
GetDocumentUrl(DocId:string, FsId:string): Observable<any>{
const geturl = environment.apiURL + 'ecm/document/viewrequestshort';
let params = new HttpParams();
params = params.set("DocId", DocId);
params = params.set("applicationid", FsId);
let options = {
headers: this.headers,
params: params
};
return this.http.get<any>(`${geturl}`, options);
}
postDespatcho(body:any){
const geturl = environment.apiURL + 'Processes/CreateDispatch';