repare login

add search in sale detail
add refresh button in sale detail
This commit is contained in:
2024-11-26 15:10:38 +01:00
parent 848fc4909e
commit 23dbfff014
41 changed files with 192 additions and 127 deletions
+27
View File
@@ -99,6 +99,33 @@ const Agent = class
});
}
async getLotInfos(url){
return new Promise((resolve, reject) => {
url = encodeURIComponent(url);
this.request(this.ApiAgentURL+'/lot/getInfos/'+url, 'GET')
.then(data => {
resolve(data);
})
.catch(error => {
reject(error);
});
});
}
async getPictures(url){
return new Promise((resolve, reject) => {
url = encodeURIComponent(url);
this.request(this.ApiAgentURL+'/lot/getPictures/'+url, 'GET')
.then(data => {
resolve(data);
})
.catch(error => {
reject(error);
});
});
}
}
module.exports = {Agent};