From 0db556a97b6ac7acf7f1e356ba4f73c61f548364 Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 27 Jan 2025 13:21:38 +0100 Subject: [PATCH] fix: refs #8409 deleted code of merge --- src/pages/Route/Roadmap/RoadmapFilter.vue | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/pages/Route/Roadmap/RoadmapFilter.vue b/src/pages/Route/Roadmap/RoadmapFilter.vue index 1c7858f72..0d51a88bb 100644 --- a/src/pages/Route/Roadmap/RoadmapFilter.vue +++ b/src/pages/Route/Roadmap/RoadmapFilter.vue @@ -16,24 +16,6 @@ const props = defineProps({ }); const emit = defineEmits(['search']); - -const supplierList = ref([]); -const exprBuilder = (param, value) => { - switch (param) { - case 'tractorPlate': - case 'trailerPlate': - case 'driverName': - case 'phone': - return { [param]: { like: `%${value}%` } }; - case 'supplierFk': - case 'price': - return { [param]: value }; - case 'from': - return { etd: { gte: value } }; - case 'to': - return { etd: { lte: value } }; - } -};