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"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="0.2.15"
|
APP_VERSION="0.2.16"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="1"
|
APP_ID="1"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="0.2.15"
|
APP_VERSION="0.2.16"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="0.2.15"
|
APP_VERSION="0.2.16"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="12"
|
APP_ID="12"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
</q-item-label>
|
</q-item-label>
|
||||||
|
|
||||||
</q-item-section>
|
</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-item-label>
|
||||||
<q-btn rounded icon="fas fa-pencil-alt">
|
<q-btn rounded icon="fas fa-pencil-alt">
|
||||||
<q-menu>
|
<q-menu>
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
export const costanti = {
|
export const costanti = {
|
||||||
|
AdType: {
|
||||||
|
OFFRO: 1,
|
||||||
|
CERCO: 2,
|
||||||
|
},
|
||||||
|
|
||||||
ShowTypeTask: {
|
ShowTypeTask: {
|
||||||
SHOW_LAST_N_COMPLETED: 200,
|
SHOW_LAST_N_COMPLETED: 200,
|
||||||
SHOW_ONLY_TOCOMPLETE: 201,
|
SHOW_ONLY_TOCOMPLETE: 201,
|
||||||
|
|||||||
@@ -2196,9 +2196,9 @@ export const fieldsTable = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
getColByAdType(adType: number) {
|
getColByAdType(adType: number) {
|
||||||
if (adType === 1)
|
if (adType === costanti.AdType.OFFRO)
|
||||||
return 'green'
|
return 'green'
|
||||||
else if (adType === 2)
|
else if (adType === costanti.AdType.CERCO)
|
||||||
return 'red'
|
return 'red'
|
||||||
else if (adType === 3)
|
else if (adType === 3)
|
||||||
return 'blue'
|
return 'blue'
|
||||||
|
|||||||
@@ -5062,7 +5062,7 @@ export const tools = {
|
|||||||
idContribType: tools.getSelectionByTable('contribtypes', []),
|
idContribType: tools.getSelectionByTable('contribtypes', []),
|
||||||
idCity: this.getCitySel(),
|
idCity: this.getCitySel(),
|
||||||
NumLevel: 0,
|
NumLevel: 0,
|
||||||
adType: tools.getSelectionByTable('adtypes', costanti.FILTER_TUTTI),
|
adType: tools.getSelectionByTable('adtypes', costanti.AdType.OFFRO),
|
||||||
photos: [],
|
photos: [],
|
||||||
note: '',
|
note: '',
|
||||||
//**ADDFIELD_MYSKILL
|
//**ADDFIELD_MYSKILL
|
||||||
@@ -5090,7 +5090,7 @@ export const tools = {
|
|||||||
idContribType: tools.getSelectionByTable('contribtypes', []),
|
idContribType: tools.getSelectionByTable('contribtypes', []),
|
||||||
idCity: this.getCitySel(),
|
idCity: this.getCitySel(),
|
||||||
NumLevel: 0,
|
NumLevel: 0,
|
||||||
adType: tools.getSelectionByTable('adtypes', costanti.FILTER_TUTTI),
|
adType: tools.getSelectionByTable('adtypes', costanti.AdType.OFFRO),
|
||||||
idShipping: [tools.getSelectionByTable('shippings', [])],
|
idShipping: [tools.getSelectionByTable('shippings', [])],
|
||||||
otherfilters: tools.getSelectionByTable('otherfilters', []),
|
otherfilters: tools.getSelectionByTable('otherfilters', []),
|
||||||
photos: [],
|
photos: [],
|
||||||
@@ -5127,7 +5127,7 @@ export const tools = {
|
|||||||
dateTimeEnd: new Date(),
|
dateTimeEnd: new Date(),
|
||||||
idCity: this.getCitySel(),
|
idCity: this.getCitySel(),
|
||||||
NumLevel: 0,
|
NumLevel: 0,
|
||||||
adType: tools.getSelectionByTable('adtypes', costanti.FILTER_TUTTI),
|
adType: tools.getSelectionByTable('adtypes', costanti.AdType.OFFRO),
|
||||||
photos: [],
|
photos: [],
|
||||||
note: '',
|
note: '',
|
||||||
//**ADDFIELD_MYBACHECAS
|
//**ADDFIELD_MYBACHECAS
|
||||||
|
|||||||
Reference in New Issue
Block a user