Aggiornamento APP RISO:
✅ Inviando i RIS, deve comparire prima il Circuito della Provincia, e poi quello Nazionale ✅ Risolto problema per vecchie registrazioni, la provincia compariva "undefined".
This commit is contained in:
@@ -560,9 +560,9 @@ export default defineComponent({
|
||||
item.value = costanti.FILTER_TUTTI
|
||||
}
|
||||
}
|
||||
} else if (item.table === toolsext.TABCITIES) {
|
||||
} else if (item.table === shared_consts.TAB_CITIES) {
|
||||
const valsaved = tools.getCookie(tools.COOK_SEARCH + costanti.FILTER_SEP + mytable.value + costanti.FILTER_SEP + item.table + costanti.FILTER_SEP + newval, costanti.FILTER_TUTTI)
|
||||
const rec = searchList.value.find((myrec) => myrec.table === toolsext.TABCITIES) // check if exist
|
||||
const rec = searchList.value.find((myrec) => myrec.table === shared_consts.TAB_CITIES) // check if exist
|
||||
let trovato = false
|
||||
let arrvalues = []
|
||||
if (rec) {
|
||||
@@ -595,13 +595,13 @@ export default defineComponent({
|
||||
keycookie += myrecfilt.keycookie
|
||||
tools.setCookie(keycookie, newval)
|
||||
|
||||
if (table === toolsext.TABSKILLS) {
|
||||
if (table === shared_consts.TABLES_MYSKILLS) {
|
||||
const recSector = searchList.value.find((rec) => rec.table === 'sectors')
|
||||
if (recSector) {
|
||||
tools.setCookie(tools.COOK_SEARCH + costanti.FILTER_SEP + mytable.value + costanti.FILTER_SEP + recSector.value, newval)
|
||||
}
|
||||
} else if (table === toolsext.TABSECTORS) {
|
||||
setCategBySector(toolsext.TABSKILLS, table, newval)
|
||||
setCategBySector(shared_consts.TABLES_MYSKILLS, table, newval)
|
||||
} else if (table === toolsext.TABSECTORGOODS) {
|
||||
setCategBySector(toolsext.TABGOODS, table, newval)
|
||||
} else if (table === toolsext.TABREGIONS) {
|
||||
@@ -612,8 +612,8 @@ export default defineComponent({
|
||||
tools.setCookie(tools.COOK_SEARCH + costanti.FILTER_SEP + mytable.value + costanti.FILTER_SEP + table + costanti.FILTER_SEP + recSector.value, newval)
|
||||
}
|
||||
// setCategBySector('sectorgoods', table, newval)
|
||||
} else if (table === toolsext.TABCITIES) {
|
||||
const rec = searchList.value.find((myrec) => myrec.table === toolsext.TABCITIES) // check if exist
|
||||
} else if (table === shared_consts.TAB_CITIES) {
|
||||
const rec = searchList.value.find((myrec) => myrec.table === shared_consts.TAB_CITIES) // check if exist
|
||||
if (rec) {
|
||||
if (rec.value === costanti.FILTER_TUTTI) {
|
||||
globalStore.myselector.data = { _id: 0, comune: '' }
|
||||
@@ -763,7 +763,7 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
if (searchList.value) {
|
||||
recSkill = searchList.value.find((item: ISearchList) => item.table === toolsext.TABSKILLS)
|
||||
recSkill = searchList.value.find((item: ISearchList) => item.table === shared_consts.TABLES_MYSKILLS)
|
||||
idSkill = recSkill ? recSkill.value : 0
|
||||
// console.log('recSkill', idSkill)
|
||||
}
|
||||
@@ -891,7 +891,7 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
} else {
|
||||
if ((item.table === toolsext.TABSKILLS) && item.value === costanti.FILTER_TUTTI) {
|
||||
if ((item.table === shared_consts.TABLES_MYSKILLS) && item.value === costanti.FILTER_TUTTI) {
|
||||
const obj2: any = {}
|
||||
|
||||
if (idSector > 0) {
|
||||
@@ -1919,7 +1919,7 @@ export default defineComponent({
|
||||
if (col.showonlyif_dipersona) {
|
||||
const valori = myrec['idStatusSkill']
|
||||
|
||||
if (valori.length === 1 && valori.includes(shared_consts.STATUSSKILL_ONLINE)) {
|
||||
if (valori && (valori.length === 1) && valori.includes(shared_consts.STATUSSKILL_ONLINE)) {
|
||||
col.required = false
|
||||
} else {
|
||||
col.required = true
|
||||
|
||||
@@ -348,7 +348,7 @@
|
||||
<!--<q-radio v-if="mytable === toolsext.TAB" v-model="myvertical" :val="costanti.VISUTABLE_SCHEDA_GROUP"
|
||||
label="Scheda"
|
||||
@update:model-value="tools.setCookie('myv_' + prop_mytable, myvertical) "/>
|
||||
<q-radio v-else-if="mytable !== toolsext.TABMYGROUPS && !finder" v-model="myvertical"
|
||||
<q-radio v-else-if="mytable !== shared_consts.TABLES_MYGROUPS && !finder" v-model="myvertical"
|
||||
:val="costanti.VISUTABLE_SCHEDA_USER" slabel="Scheda"
|
||||
@update:model-value="tools.setCookie('myv_' + prop_mytable, myvertical) "/>-->
|
||||
<q-radio
|
||||
@@ -409,14 +409,14 @@
|
||||
</div>
|
||||
|
||||
<CMyRecGrpCard
|
||||
v-if="tablesel === toolsext.TABMYGROUPS"
|
||||
v-if="tablesel === shared_consts.TABLES_MYGROUPS"
|
||||
:table="tablesel"
|
||||
:prop_myrec="row"
|
||||
@cmdext="cmdExt"
|
||||
>
|
||||
</CMyRecGrpCard>
|
||||
<CMyRecCircuitCard
|
||||
v-else-if="tablesel === toolsext.TABCIRCUITS"
|
||||
v-else-if="tablesel === shared_consts.TABLES_CIRCUITS"
|
||||
:table="tablesel"
|
||||
:prop_myrec="row"
|
||||
@cmdext="cmdExt"
|
||||
@@ -894,7 +894,7 @@
|
||||
<!--<q-radio v-if="mytable === toolsext.TAB" v-model="myvertical" :val="costanti.VISUTABLE_SCHEDA_GROUP"
|
||||
label="Scheda"
|
||||
@update:model-value="tools.setCookie('myv_' + prop_mytable, myvertical) "/>
|
||||
<q-radio v-else-if="mytable !== toolsext.TABMYGROUPS && !finder" v-model="myvertical"
|
||||
<q-radio v-else-if="mytable !== shared_consts.TABLES_MYGROUPS && !finder" v-model="myvertical"
|
||||
:val="costanti.VISUTABLE_SCHEDA_USER" slabel="Scheda"
|
||||
@update:model-value="tools.setCookie('myv_' + prop_mytable, myvertical) "/>-->
|
||||
<q-radio
|
||||
@@ -1120,13 +1120,13 @@
|
||||
class="dialog_annunci"
|
||||
>
|
||||
<CMyCardGrpPopup
|
||||
v-if="mytable === toolsext.TABMYGROUPS"
|
||||
v-if="mytable === shared_consts.TABLES_MYGROUPS"
|
||||
:table="mytable"
|
||||
:prop_myrec="myrecdialog"
|
||||
>
|
||||
</CMyCardGrpPopup>
|
||||
<CMyCardCircuitPopup
|
||||
v-else-if="mytable === toolsext.TABCIRCUITS"
|
||||
v-else-if="mytable === shared_consts.TABLES_CIRCUITS"
|
||||
:table="mytable"
|
||||
:prop_myrec="myrecdialog"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user