Filtri avanzati a scomparsa
This commit is contained in:
@@ -90,6 +90,32 @@ export default defineComponent({
|
||||
|
||||
|
||||
searchList.value = [
|
||||
{
|
||||
label: 'Provincia',
|
||||
table: 'provinces',
|
||||
key: 'idProvince',
|
||||
type: costanti.FieldType.select,
|
||||
value: tools.getCookie(tools.COOK_SEARCH + 'provinces', costanti.FILTER_TUTTI),
|
||||
addall: true,
|
||||
arrvalue: [],
|
||||
filter: null,
|
||||
useinput: true,
|
||||
icon: 'flag',
|
||||
},
|
||||
{
|
||||
label: 'Città',
|
||||
table: 'cities',
|
||||
key: 'idCity',
|
||||
type: costanti.FieldType.select_by_server,
|
||||
value: tools.getCookie(tools.COOK_SEARCH + 'cities', costanti.FILTER_TUTTI),
|
||||
addall: true,
|
||||
arrvalue: [],
|
||||
useinput: true,
|
||||
filter: null,
|
||||
// filter: getFilterCitiesByProvince,
|
||||
// param1: shared_consts.PARAM_SHOW_PROVINCE,
|
||||
tablesel: 'cities',
|
||||
},
|
||||
{
|
||||
label: 'Offro/Cerco',
|
||||
table: 'adtypes',
|
||||
@@ -138,6 +164,20 @@ export default defineComponent({
|
||||
useinput: false,
|
||||
icon: 'far fa-id-card',
|
||||
},
|
||||
{
|
||||
label: '',
|
||||
table: '',
|
||||
key: '',
|
||||
value: 0,
|
||||
type: costanti.FieldType.separator,
|
||||
arrvalue: [],
|
||||
addall: true,
|
||||
filter: null,
|
||||
showcount: true,
|
||||
useinput: false,
|
||||
notinsearch: true,
|
||||
icon: '',
|
||||
},
|
||||
/*{
|
||||
label: 'Regione',
|
||||
table: 'regions',
|
||||
@@ -148,32 +188,6 @@ export default defineComponent({
|
||||
filter: null,
|
||||
useinput: true,
|
||||
},*/
|
||||
{
|
||||
label: 'Provincia',
|
||||
table: 'provinces',
|
||||
key: 'idProvince',
|
||||
type: costanti.FieldType.multiselect,
|
||||
value: 0,
|
||||
addall: true,
|
||||
arrvalue: tools.getCookie(tools.COOK_SEARCH + 'provinces', [costanti.FILTER_TUTTI]),
|
||||
filter: null,
|
||||
useinput: true,
|
||||
icon: 'flag',
|
||||
},
|
||||
{
|
||||
label: 'Città',
|
||||
table: 'cities',
|
||||
key: 'idCity',
|
||||
type: costanti.FieldType.multiselect_by_server,
|
||||
value: 0,
|
||||
addall: true,
|
||||
arrvalue: tools.getCookie(tools.COOK_SEARCH + 'cities', [costanti.FILTER_TUTTI]),
|
||||
useinput: true,
|
||||
filter: null,
|
||||
// filter: getFilterCitiesByProvince,
|
||||
// param1: shared_consts.PARAM_SHOW_PROVINCE,
|
||||
tablesel: 'cities',
|
||||
},
|
||||
{
|
||||
label: 'Livello',
|
||||
table: 'levels',
|
||||
@@ -184,6 +198,7 @@ export default defineComponent({
|
||||
type: costanti.FieldType.select,
|
||||
filter: null,
|
||||
useinput: false,
|
||||
filteradv: true,
|
||||
},
|
||||
{
|
||||
label: 'Stato',
|
||||
@@ -195,6 +210,7 @@ export default defineComponent({
|
||||
filter: null,
|
||||
useinput: false,
|
||||
icon: 'mood',
|
||||
filteradv: true,
|
||||
},
|
||||
{
|
||||
label: 'Contributo',
|
||||
@@ -206,6 +222,7 @@ export default defineComponent({
|
||||
filter: null,
|
||||
useinput: false,
|
||||
icon: 'currency_exchange',
|
||||
filteradv: true,
|
||||
//icon: 'swap_horizontal_circle',
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user