refactor: refs #8224 remove console.logs
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
2498c8e365
commit
395402fce0
|
@ -67,18 +67,11 @@ const filterBySelection = () => {
|
||||||
* Exclude by current field selection
|
* Exclude by current field selection
|
||||||
*/
|
*/
|
||||||
const excludeSelection = () => {
|
const excludeSelection = () => {
|
||||||
console.log('Exclude selection');
|
|
||||||
// TODO: Revisar porque no se aplica and en el filtro
|
|
||||||
let where = { [fieldName.value]: { neq: fieldValue.value } };
|
let where = { [fieldName.value]: { neq: fieldValue.value } };
|
||||||
console.log('first where: ', where);
|
|
||||||
if ($props.exprBuilder) {
|
if ($props.exprBuilder) {
|
||||||
where = { [fieldName.value]: fieldValue.value };
|
where = { [fieldName.value]: fieldValue.value };
|
||||||
where = buildFilter(where, (param, 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);
|
const expr = $props.exprBuilder(param, value);
|
||||||
console.log('expr: ', expr);
|
|
||||||
const props = Object.keys(expr);
|
const props = Object.keys(expr);
|
||||||
let newExpr = {};
|
let newExpr = {};
|
||||||
for (let prop of props) {
|
for (let prop of props) {
|
||||||
|
@ -95,7 +88,6 @@ const excludeSelection = () => {
|
||||||
};
|
};
|
||||||
} else newExpr[prop] = { neq: fieldValue.value };
|
} else newExpr[prop] = { neq: fieldValue.value };
|
||||||
}
|
}
|
||||||
console.log('newExpr: ', newExpr);
|
|
||||||
return newExpr;
|
return newExpr;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -161,8 +153,6 @@ const removeAllFilters = () => {
|
||||||
* value to the clipboard
|
* value to the clipboard
|
||||||
*/
|
*/
|
||||||
const copyValue = () => {
|
const copyValue = () => {
|
||||||
console.log('table row: ', $props.tableRow);
|
|
||||||
console.log('table col: ', $props.tableCol);
|
|
||||||
navigator.clipboard.writeText($props.tableRow[copyValueField.value]);
|
navigator.clipboard.writeText($props.tableRow[copyValueField.value]);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -203,7 +203,6 @@ const columns = computed(() => [
|
||||||
format: (row) => toTimeFormat(row.shipped),
|
format: (row) => toTimeFormat(row.shipped),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
//TODO: Revisar porque no anda exclude filter
|
|
||||||
align: 'left',
|
align: 'left',
|
||||||
name: 'zoneLanding',
|
name: 'zoneLanding',
|
||||||
label: t('ticketList.closure'),
|
label: t('ticketList.closure'),
|
||||||
|
|
Loading…
Reference in New Issue