#6900 add Serial #610
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix-front#610
Loading…
Reference in New Issue
No description provided.
Delete Branch "6900-addSerial"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
WIP: #6900 add Serialto #6900 add Serial@alexm se me había olvidado añadir esta sección
@ -0,0 +38,4 @@
});
arrayData.store.userParams.daysAgo = data.daysAgo;
await table.value.reload();
He probado a pasarlo por user-params, pero como es una prop no es reactiva, habría que modificar el comportamiento de vnpaginate.
watch(
() => [props.url, props.filter],
([url, filter]) => mounted.value && fetch({ url, filter })
);
https://gitkraken.dev/link/dnNjb2RlOi8vZWFtb2Rpby5naXRsZW5zL2xpbmsvci83MzM3NWYxZTM3MTc5NDNiZDU4YmYyNGUyMmI0ZjczYmUwOWI3NWUyL2Yvc3JjL2NvbXBvbmVudHMvdWkvVm5QYWdpbmF0ZS52dWU%2FdXJsPWh0dHBzJTNBJTJGJTJGZ2l0ZWEudmVyZG5hdHVyYS5lcyUyRnZlcmRuYXR1cmElMkZzYWxpeC1mcm9udC5naXQmbGluZXM9MTE3?origin=gitlens
añadir ahi userParams?
lo he probado pero creo que al recargar la página no me acababa de funcionar bien. Le doy otro intento a ver.
El enlace no puedo abrirlo
nada.
@alexm Pasar a test
@ -0,0 +35,4 @@
onBeforeMount(async () => {
const tableParam = useRoute().query.table;
if (tableParam) daysAgo.value = JSON.parse(tableParam).daysAgo;
Si se le pasa un parametro, coge ese valor, en lugar de hacer la llamada.
New commits pushed, approval review dismissed automatically according to repository settings
@ -0,0 +51,4 @@
</template>
</RightMenu>
<VnTable
v-if="!isNaN(daysAgo)"
ahora se puede poner 0