updated translations for dcuments lsit on case details
This commit is contained in:
+17
-2
@@ -314,7 +314,7 @@ export const getBasicDNSSearchDetails = (token, appealType, caseReference) => {
|
||||
};
|
||||
|
||||
export const getLinkedCases = (parentIncidentid) => {
|
||||
console.log(parentIncidentid);
|
||||
//console.log(parentIncidentid);
|
||||
var token = getSASToken();
|
||||
|
||||
return axios
|
||||
@@ -324,7 +324,7 @@ export const getLinkedCases = (parentIncidentid) => {
|
||||
" and pinswg_appealcasetype ne null and pinswg_publishtoweb eq true &$select=title, incidentid,"
|
||||
)
|
||||
.then((res) => {
|
||||
console.log(" linked date", res.data);
|
||||
//console.log(" linked date", res.data);
|
||||
return res.data;
|
||||
})
|
||||
.catch((error) => {
|
||||
@@ -663,3 +663,18 @@ export const getPortalModuelDetails = (token, appealType, caseReference) => {
|
||||
console.log("thiserror", error);
|
||||
});
|
||||
};
|
||||
|
||||
export const getFileFromCRM = (docRef) => {
|
||||
const weburl = "/api/proxy/documents/download/" + docRef;
|
||||
|
||||
console.log("proxy url", weburl);
|
||||
return axios
|
||||
.get(weburl, { responseType: "arraybuffer" })
|
||||
.then((res) => {
|
||||
console.log(res);
|
||||
return res;
|
||||
})
|
||||
.catch((error) => {
|
||||
console.log("thi serror", error);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user