Fare procedura per cambiare gli username in giro nelle varie tabelle

fix icon Android "Badge" black and white.
This commit is contained in:
Surya Paolo
2022-12-23 00:37:22 +01:00
parent a8677dc644
commit 61451ef994
13 changed files with 24 additions and 18 deletions

View File

@@ -14,15 +14,6 @@
:label="$t('reg.submit')"
>
</q-btn>
<q-btn
color="blue"
label="pippo"
type="a"
size="sm"
href="http://pippo.it"
target="_blank"
>
</q-btn>
</div>
<q-carousel
v-if="start"

View File

@@ -24,9 +24,11 @@ export default defineComponent({
const date_start = ref(new Date())
const col = ref(0)
const placca = ref('')
const search_username = ref('')
const replace_username = ref('')
const incaricamento = ref(false)
function EseguiFunz(miafunz: string) {
function EseguiFunz(miafunz: string, search_username?: string, replace_username?: string) {
const userStore = useUserStore()
const globalStore = useGlobalStore()
@@ -47,6 +49,8 @@ export default defineComponent({
col: col,
date_start: date_start,
numpersone: numpersone,
search_username,
replace_username,
}
incaricamento.value = true
@@ -77,6 +81,8 @@ export default defineComponent({
EseguiFunz,
tools,
costanti,
search_username,
replace_username
}
},
})

View File

@@ -271,6 +271,15 @@
@click="EseguiFunz('RewriteContribType')"></q-btn>
<br>
</div>
<div class="row">
<q-input v-model="search_username" label="Username Search" style="width: 300px;"></q-input>
<q-input v-model="replace_username" label="Username Replace" style="width: 300px;"></q-input>
<q-btn
label="Replace Username" color="primary"
@click="EseguiFunz('ReplaceUsername', search_username, replace_username)"></q-btn>
<br>
</div>
<q-field

View File

@@ -1,6 +1,6 @@
<template>
<q-page padding class="signup">
<CSignUp :showcell="false" :showaportador="true" :show_namesurname="false" :need_Telegram="true" :regexpire="regexpire">
<CSignUp :showcell="false" :showaportador="true" :show_namesurname="true" :need_Telegram="true" :regexpire="regexpire">
</CSignUp>
</q-page>