diff --git a/src/components/common/VnSelect.vue b/src/components/common/VnSelect.vue
index 4622f1cb0..227ff9465 100644
--- a/src/components/common/VnSelect.vue
+++ b/src/components/common/VnSelect.vue
@@ -1,7 +1,7 @@
- setOptions(data)"
- :where="where || { [optionValue]: value }"
- :limit="limit"
- :sort-by="sortBy"
- :fields="fields"
- :params="params"
- />
diff --git a/src/pages/Route/Cmr/CmrList.vue b/src/pages/Route/Cmr/CmrList.vue
index ede271960..b3eaf3b48 100644
--- a/src/pages/Route/Cmr/CmrList.vue
+++ b/src/pages/Route/Cmr/CmrList.vue
@@ -116,7 +116,7 @@ function getApiUrl() {
return new URL(window.location).origin;
}
function getCmrUrl(value) {
- return `${getApiUrl()}/api/Routes/${value}/cmr?access_token=${token}`;
+ return `${getApiUrl()}/api/Cmrs/${value}/print?access_token=${token}`;
}
function downloadPdfs() {
if (!selectedRows.value.length) {
@@ -129,7 +129,7 @@ function downloadPdfs() {
let cmrs = [];
for (let value of selectedRows.value) cmrs.push(value.cmrFk);
// prettier-ignore
- return window.open(`${getApiUrl()}/api/Routes/downloadCmrsZip?ids=${cmrs.join(',')}&access_token=${token}`);
+ return window.open(`${getApiUrl()}/api/Cmrs/downloadZip?ids=${cmrs.join(',')}&access_token=${token}`);
}
@@ -149,7 +149,7 @@ function downloadPdfs() {
{
data-key="TravelThermographs"
url="TravelThermographs"
:filter="thermographFilter"
- :params="{ travelFk: id }"
auto-load
>