Se crea submodulo mis documentos en worker #253

Merged
alexm merged 10 commits from :features/ms_19_worker_my_documents into dev 2024-04-10 12:15:33 +00:00
1 changed files with 2 additions and 3 deletions
Showing only changes of commit e88194eb88 - Show all commits

View File

@ -1,11 +1,10 @@
<script setup>
import VnDmsList from 'src/components/common/VnDmsList.vue';
import { useRoute } from 'vue-router';
const route = useRoute();
</script>

De inicio no se usó la misma URL que Salix
La URL correcta tiene este formato: http://localhost:9000/api/WorkerDms/1/filter?filter
Para mas info: podeis consultar el salix/modules/worker/back/models/worker-dms.js
<script setup> import VnDmsList from 'src/components/common/VnDmsList.vue'; import { useRoute } from 'vue-router'; const route = useRoute(); </script> <template> <VnDmsList :model="WorkerDms/${route.params.id}/filter" update-model="Workers" default-dms-code="hhrrData" filter="worker" /> </template>

De inicio no se usó la misma URL que Salix La URL correcta tiene este formato: http://localhost:9000/api/WorkerDms/1/filter?filter Para mas info: podeis consultar el salix/modules/worker/back/models/worker-dms.js `<script setup> import VnDmsList from 'src/components/common/VnDmsList.vue'; import { useRoute } from 'vue-router'; const route = useRoute(); </script> <template> <VnDmsList :model="`WorkerDms/${route.params.id}/filter`" update-model="Workers" default-dms-code="hhrrData" filter="worker" /> </template> `
<template>
<VnDmsList
:model="`WorkerDms/${route.params.id}/filter`"
model="WorkerDms"
update-model="Workers"
download-model="WorkerDms"
default-dms-code="hhrrData"