Aggiungi Nuovo: non viene selezionato correttamente il Tipo di Annuncio (Offro/Cerco)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
APP_VERSION="0.2.15"
|
||||
APP_VERSION="0.2.16"
|
||||
SERVICE_WORKER_FILE="service-worker.js"
|
||||
APP_ID="13"
|
||||
DIRECTORY_LOCAL="newfreeplanet"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
APP_VERSION="0.2.15"
|
||||
APP_VERSION="0.2.16"
|
||||
SERVICE_WORKER_FILE="service-worker.js"
|
||||
APP_ID="1"
|
||||
DIRECTORY_LOCAL="newfreeplanet"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
APP_VERSION="0.2.15"
|
||||
APP_VERSION="0.2.16"
|
||||
SERVICE_WORKER_FILE="service-worker.js"
|
||||
APP_ID="13"
|
||||
DIRECTORY_LOCAL="newfreeplanet"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
APP_VERSION="0.2.15"
|
||||
APP_VERSION="0.2.16"
|
||||
SERVICE_WORKER_FILE="service-worker.js"
|
||||
APP_ID="12"
|
||||
DIRECTORY_LOCAL="newfreeplanet"
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
</q-item-label>
|
||||
|
||||
</q-item-section>
|
||||
<q-item-section side v-if="myrec.userId === userStore.my._id">
|
||||
<q-item-section side v-if="tools.canModifyThisRec(myrec)">
|
||||
<q-item-label>
|
||||
<q-btn rounded icon="fas fa-pencil-alt">
|
||||
<q-menu>
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
export const costanti = {
|
||||
AdType: {
|
||||
OFFRO: 1,
|
||||
CERCO: 2,
|
||||
},
|
||||
|
||||
ShowTypeTask: {
|
||||
SHOW_LAST_N_COMPLETED: 200,
|
||||
SHOW_ONLY_TOCOMPLETE: 201,
|
||||
|
||||
@@ -2196,9 +2196,9 @@ export const fieldsTable = {
|
||||
},
|
||||
|
||||
getColByAdType(adType: number) {
|
||||
if (adType === 1)
|
||||
if (adType === costanti.AdType.OFFRO)
|
||||
return 'green'
|
||||
else if (adType === 2)
|
||||
else if (adType === costanti.AdType.CERCO)
|
||||
return 'red'
|
||||
else if (adType === 3)
|
||||
return 'blue'
|
||||
|
||||
@@ -5062,7 +5062,7 @@ export const tools = {
|
||||
idContribType: tools.getSelectionByTable('contribtypes', []),
|
||||
idCity: this.getCitySel(),
|
||||
NumLevel: 0,
|
||||
adType: tools.getSelectionByTable('adtypes', costanti.FILTER_TUTTI),
|
||||
adType: tools.getSelectionByTable('adtypes', costanti.AdType.OFFRO),
|
||||
photos: [],
|
||||
note: '',
|
||||
//**ADDFIELD_MYSKILL
|
||||
@@ -5090,7 +5090,7 @@ export const tools = {
|
||||
idContribType: tools.getSelectionByTable('contribtypes', []),
|
||||
idCity: this.getCitySel(),
|
||||
NumLevel: 0,
|
||||
adType: tools.getSelectionByTable('adtypes', costanti.FILTER_TUTTI),
|
||||
adType: tools.getSelectionByTable('adtypes', costanti.AdType.OFFRO),
|
||||
idShipping: [tools.getSelectionByTable('shippings', [])],
|
||||
otherfilters: tools.getSelectionByTable('otherfilters', []),
|
||||
photos: [],
|
||||
@@ -5127,7 +5127,7 @@ export const tools = {
|
||||
dateTimeEnd: new Date(),
|
||||
idCity: this.getCitySel(),
|
||||
NumLevel: 0,
|
||||
adType: tools.getSelectionByTable('adtypes', costanti.FILTER_TUTTI),
|
||||
adType: tools.getSelectionByTable('adtypes', costanti.AdType.OFFRO),
|
||||
photos: [],
|
||||
note: '',
|
||||
//**ADDFIELD_MYBACHECAS
|
||||
|
||||
Reference in New Issue
Block a user