refs #5989 btn redirection
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Satorres 2023-08-02 11:28:05 +02:00
parent b55e216d6a
commit a45d477151
2 changed files with 15 additions and 0 deletions

View File

@ -141,6 +141,11 @@ function openDialog(dmsId) {
multimediaSlide.value = dmsId; multimediaSlide.value = dmsId;
multimediaDialog.value = true; multimediaDialog.value = true;
} }
function redirect(id) {
const url = `https://salix.verdnatura.es/#!/claim/${id}/summary`;
window.location.href = url;
}
</script> </script>
<template> <template>
@ -159,6 +164,11 @@ function openDialog(dmsId) {
<QCardSection class="row q-pa-none q-col-gutter-md"> <QCardSection class="row q-pa-none q-col-gutter-md">
<div class="col"> <div class="col">
<QList> <QList>
<QBtn
@click="redirect(this.$route.params.id)"
icon="open_in_new"
label="Ir a SALIX"
></QBtn>
<QItem> <QItem>
<QItemSection> <QItemSection>
<QItemLabel caption> <QItemLabel caption>

View File

@ -33,6 +33,10 @@ function viewSummary(id) {
}, },
}); });
} }
function redirect() {
window.location.href = 'https://salix.verdnatura.es/#!/claim/index';
}
</script> </script>
<template> <template>
@ -57,6 +61,7 @@ function viewSummary(id) {
{{ t('globals.collapseMenu') }} {{ t('globals.collapseMenu') }}
</QTooltip> </QTooltip>
</QBtn> </QBtn>
<QBtn @click="redirect()" icon="open_in_new" label="Ir a SALIX"></QBtn>
</div> </div>
</Teleport> </Teleport>
</template> </template>