Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Fix: Pulic Link (#2511)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricargame authored Jul 26, 2024
1 parent 66b22b1 commit d803103
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/lang/ADempiere/en/report.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ const report = {
sendDetails: 'Send Details',
recipient: 'Recipient',
urlAddress: 'Url Address',
subject: 'Subject'
subject: 'Subject',
urlPublic: 'Click to go to the Link'
}
}

Expand Down
3 changes: 2 additions & 1 deletion src/lang/ADempiere/es/report.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ const report = {
sendDetails: 'Detalles del Envío',
recipient: 'Destinatarios',
urlAddress: 'Dirección Url',
subject: 'Asunto'
subject: 'Asunto',
urlPublic: 'Click Para ir al Enlace'
}
}

Expand Down
12 changes: 11 additions & 1 deletion src/views/ADempiere/ReportViewerEngine/dialog/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@
</el-card>
</el-col>
<el-col style="margin-top: 1%">
<span v-if="checkedItemGeneral === 1" style="float:left">
<a :href="link" target="_blank">
{{ $t('report.reportEnginer.urlPublic') }}
</a>
</span>
<el-button
class="button-base-icon"
icon="el-icon-check"
Expand Down Expand Up @@ -245,6 +250,10 @@ export default defineComponent({
const isLoading = ref(false)
const validTime = ref(3600)
const titleDocument = ref(props.reportOutput.name)
const markdownContent = ref('')
const link = computed(() => {
return linkShare.value ? linkShare.value : 'www.010203923023/.com'
})
const markdownContent = computed({
// getter
get() {
Expand Down Expand Up @@ -432,7 +441,8 @@ export default defineComponent({
previwerBody,
downloadFile,
markdownContent,
toUser
toUser,
link
}
}
})
Expand Down

0 comments on commit d803103

Please sign in to comment.