diff --git a/src/pages/Worker/Card/WorkerDms.vue b/src/pages/Worker/Card/WorkerDms.vue index 144e3edee..f794f6b17 100644 --- a/src/pages/Worker/Card/WorkerDms.vue +++ b/src/pages/Worker/Card/WorkerDms.vue @@ -1,22 +1,27 @@ @@ -95,6 +107,12 @@ const toWorkerDmsCreate = () => { auto-load :url="`WorkerDms/${route.params.id}/filter`" /> + { > @@ -138,7 +158,7 @@ const toWorkerDmsCreate = () => { - + {{ t('Upload file') }} @@ -147,7 +167,7 @@ const toWorkerDmsCreate = () => { diff --git a/src/pages/Worker/components/WorkerDmsActions.vue b/src/pages/Worker/components/WorkerDmsActions.vue index 9a8e4816e..2a6ab1ce3 100644 --- a/src/pages/Worker/components/WorkerDmsActions.vue +++ b/src/pages/Worker/components/WorkerDmsActions.vue @@ -1,17 +1,15 @@ - - -en: - clientFileDescription: '{dmsTypeName} FROM CLIENT {clientName} ID {clientId}' -es: - Reference: Referencia - Company: Empresa - Warehouse: Almacén - Type: Tipo - Description: Descripción - clientFileDescription: '{dmsTypeName} DEL CLIENTE {clientName} ID {clientId}' - File: Fichero - Select a file: Selecciona un fichero - Allowed content types: Tipos de archivo permitidos - Generate identifier for original file: Generar identificador para archivo original - diff --git a/src/pages/Worker/components/WorkerDmsEdit.vue b/src/pages/Worker/components/WorkerDmsEdit.vue index 8e84c6326..7656fe09f 100644 --- a/src/pages/Worker/components/WorkerDmsEdit.vue +++ b/src/pages/Worker/components/WorkerDmsEdit.vue @@ -1,246 +1,56 @@ - - -en: - clientFileDescription: '{dmsTypeName} FROM CLIENT {clientName} ID {clientId}' -es: - Reference: Referencia - Company: Empresa - Warehouse: Almacén - Type: Tipo - Description: Descripción - clientFileDescription: '{dmsTypeName} DEL CLIENTE {clientName} ID {clientId}' - File: Fichero - Select a file: Selecciona un fichero - Allowed content types: Tipos de archivo permitidos - Generate identifier for original file: Generar identificador para archivo original - diff --git a/src/router/modules/worker.js b/src/router/modules/worker.js index a3b2d52dc..c0fe6e1fa 100644 --- a/src/router/modules/worker.js +++ b/src/router/modules/worker.js @@ -86,33 +86,13 @@ export default { component: () => import('src/pages/Worker/Card/WorkerPda.vue'), }, { + name: 'WorkerDms', path: 'dms', - name: 'DmsCard', - redirect: { name: 'WorkerDms' }, - children: [ - { - path: '', - name: 'WorkerDms', - meta: { - title: 'dms', - icon: 'cloud_upload', - }, - component: () => - import('src/pages/Worker/Card/WorkerDms.vue'), - }, - { - path: 'create', - name: 'WorkerDmsCreate', - component: () => - import('src/pages/Worker/components/WorkerDmsCreate.vue'), - }, - { - path: ':dmsId/edit', - name: 'WorkerDmsEdit', - component: () => - import('src/pages/Worker/components/WorkerDmsEdit.vue'), - }, - ], + meta: { + title: 'dms', + icon: 'cloud_upload', + }, + component: () => import('src/pages/Worker/Card/WorkerDms.vue'), }, ], },