solveConflicts_test_to_dev #957

Merged
alexm merged 58 commits from solveConflicts_test_to_dev into dev 2024-11-18 10:21:51 +00:00
1 changed files with 0 additions and 19 deletions
Showing only changes of commit aa5eb005fd - Show all commits

View File

@ -133,25 +133,6 @@ const onThermographCreated = async (data) => {
warehouseId: data.warehouseFk, warehouseId: data.warehouseFk,
}; };
}; };
const exprBuilder = (param, value) => {
switch (param) {
case 'search':
return /^\d+$/.test(value)
? { id: value }
: {
or: [
{ name: { like: `%${value}%` } },
{ nickname: { like: `%${value}%` } },
],
};
case 'name':
case 'nickname':
return { [param]: { like: `%${value}%` } };
case 'roleFk':
return { [param]: value };
}
};
</script> </script>
<template> <template>
<FetchData <FetchData