- Versione 1.0.28

- Bottone "Condividi" permette di creare un post Telegram con l'annuncio selezionato.
- migliorata grafica dell'annuncio.
This commit is contained in:
Surya Paolo
2024-02-27 22:08:16 +01:00
parent f91de26a9a
commit 9b4406c3ae
30 changed files with 673 additions and 298 deletions

View File

@@ -7376,6 +7376,25 @@ export const tools = {
return this.sendMsgTelegram($q, $t, mydata, showmsgsent)
},
async sendMsgAnnuncioToTelegramCmd($q: any, $t: any, tablerec: string, idrec: string) {
const userStore = useUserStore()
let showmsgsent = false
let mydata: IMsgGlobParam = {
typemsg: shared_consts.TypeMsg.SEND_TO_MYSELF,
typesend: shared_consts.TypeSend.TELEGRAM,
cmd: shared_consts.MsgTeleg.SHARE_ANNUNCIO,
tablerec,
idrec,
idapp: tools.appid(),
}
// tools.copyStringToClipboard($q, link, true)
return this.sendMsgTelegram($q, $t, mydata, showmsgsent)
},
getFieldSearchByTable(mytable: string, tablejoin: string, field: string) {
let ris = field
if (mytable === 'users') {
@@ -8425,6 +8444,12 @@ export const tools = {
}
},
openUrl(url: string) {
window.open(url, '_blank');
}
// FINE !
// getLocale() {