forked from verdnatura/salix-front
refs #5989 btn redirection
This commit is contained in:
parent
b55e216d6a
commit
a45d477151
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue