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

View File

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