WIP: #8224 - ContextMenu #1035

Draft
wbuezas wants to merge 6 commits from wbuezas/salix-front-mindshore-fork2:8224-ContextMenu into dev
2 changed files with 0 additions and 11 deletions
Showing only changes of commit 395402fce0 - Show all commits

View File

@ -67,18 +67,11 @@ const filterBySelection = () => {
* Exclude by current field selection
*/
const excludeSelection = () => {
console.log('Exclude selection');
// TODO: Revisar porque no se aplica and en el filtro
let where = { [fieldName.value]: { neq: fieldValue.value } };
console.log('first where: ', where);
if ($props.exprBuilder) {
where = { [fieldName.value]: fieldValue.value };
where = buildFilter(where, (param, value) => {
console.log('build filter where: ', where);
console.log('parammmmm: ', param);
console.log('valueeeee: ', value);
const expr = $props.exprBuilder(param, value);
console.log('expr: ', expr);
const props = Object.keys(expr);
let newExpr = {};
for (let prop of props) {
@ -95,7 +88,6 @@ const excludeSelection = () => {
};
} else newExpr[prop] = { neq: fieldValue.value };
}
console.log('newExpr: ', newExpr);
return newExpr;
});
}
@ -161,8 +153,6 @@ const removeAllFilters = () => {
* value to the clipboard
*/
const copyValue = () => {
console.log('table row: ', $props.tableRow);
console.log('table col: ', $props.tableCol);
navigator.clipboard.writeText($props.tableRow[copyValueField.value]);
};

View File

@ -203,7 +203,6 @@ const columns = computed(() => [
format: (row) => toTimeFormat(row.shipped),
},
{
//TODO: Revisar porque no anda exclude filter
align: 'left',
name: 'zoneLanding',
label: t('ticketList.closure'),