Se crea submodulo mis documentos en worker #253
|
@ -1,11 +1,10 @@
|
|||
<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`"
|
||||
model="WorkerDms"
|
||||
update-model="Workers"
|
||||
download-model="WorkerDms"
|
||||
default-dms-code="hhrrData"
|
||||
|
|
Loading…
Reference in New Issue
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>