diff --git a/src/common/shared_vuejs.ts b/src/common/shared_vuejs.ts index bae2c82c..e296e0ae 100755 --- a/src/common/shared_vuejs.ts +++ b/src/common/shared_vuejs.ts @@ -204,6 +204,7 @@ export const shared_consts = { TABLES_SHOW_ADTYPE: ['myskills', 'mygoods'], TABLES_VISU_LISTA_USER: ['myskills', 'mybachecas', 'myhosps', 'mygoods', 'users'], + TABLES_FIELDS_DESCR_AND_CITY_AND_USER: ['myskills', 'mybachecas', 'myhosps', 'mygoods'], TABLES_ORDER_DATE_UPDATED: ['myskills', 'myhosps', 'mygoods'], TABLES_ORDER_DESCR: ['mygroups'], diff --git a/src/components/CGridTableRec/CGridTableRec.vue b/src/components/CGridTableRec/CGridTableRec.vue index b6958135..624c5d5a 100755 --- a/src/components/CGridTableRec/CGridTableRec.vue +++ b/src/components/CGridTableRec/CGridTableRec.vue @@ -229,10 +229,7 @@ -
+
+ - Nuovo {{ mytitle }}: + Aggiungi {{ mytitle }}: @@ -1266,7 +1269,7 @@ diff --git a/src/statics/lang/it.js b/src/statics/lang/it.js index 49f27707..06681a31 100755 --- a/src/statics/lang/it.js +++ b/src/statics/lang/it.js @@ -181,6 +181,7 @@ const msg_it = { yes: 'Si', no: 'No', save: 'Salva', + insert: 'Aggiungi', delete: 'Elimina', cancel: 'Annulla', update: 'Aggiorna', @@ -637,6 +638,7 @@ const msg_it = { rec_already_exist_name: 'Esiste già con questo Nome', rec_already_exist_code: 'Esiste già con questo Link Pagina', rec_already_exist_symbol: 'Esiste già con questo Simbolo', + rec_duplicated_descr_city_user: 'l\'annuncio esiste già con questa descrizione', duplicate_username: 'L\'Username è stato già utilizzato', username_not_valid: 'L\'Username non é valido', aportador_not_exist: 'L\'Username di chi ti ha invitato non è presente. Contattaci.', diff --git a/src/store/Modules/serv_constants.ts b/src/store/Modules/serv_constants.ts index f4453c08..eb78ddf0 100755 --- a/src/store/Modules/serv_constants.ts +++ b/src/store/Modules/serv_constants.ts @@ -6,6 +6,7 @@ export const serv_constants = { RIS_CODE_EMAIL_ALREADY_VERIFIED: -5, RIS_CODE_EMAIL_VERIFIED: 1, + RIS_CODE_REC_DUPLICATED_DESCR_CITY_USER: -110, RIS_CODE_REC_ALREADY_EXIST_SYMBOL: -102, RIS_CODE_REC_ALREADY_EXIST_CODE: -101, RIS_CODE_REC_ALREADY_EXIST_NAME: -100, diff --git a/src/store/Modules/tools.ts b/src/store/Modules/tools.ts index a813857b..7f63ecd4 100644 --- a/src/store/Modules/tools.ts +++ b/src/store/Modules/tools.ts @@ -3986,6 +3986,8 @@ export const tools = { this.showNegativeNotif(mythisq, t('reg.err.rec_already_exist_code') + ' ' + msg) } else if (riscode === serv_constants.RIS_CODE_REC_ALREADY_EXIST_SYMBOL) { this.showNegativeNotif(mythisq, t('reg.err.rec_already_exist_symbol') + ' ' + msg) + } else if (riscode === serv_constants.RIS_CODE_REC_DUPLICATED_DESCR_CITY_USER) { + this.showNegativeNotif(mythisq, t('reg.err.rec_duplicated_descr_city_user') + ' ' + msg) } }, diff --git a/src/store/globalStore.ts b/src/store/globalStore.ts index 086143c5..3fad6c69 100644 --- a/src/store/globalStore.ts +++ b/src/store/globalStore.ts @@ -1093,6 +1093,7 @@ export const useGlobalStore = defineStore('GlobalStore', { return Api.SendReq('/settable', 'POST', mydata) .then((res) => { this.serverError = false + console.log('res', res) if (res && res.data) { tools.updateMyData(res.data.ris) if (res.data.rec) { diff --git a/src/views/admin/dbop/dbop.ts b/src/views/admin/dbop/dbop.ts index 1039c58f..197ddb84 100755 --- a/src/views/admin/dbop/dbop.ts +++ b/src/views/admin/dbop/dbop.ts @@ -61,8 +61,8 @@ export default defineComponent({ numpersone: numpersone, search_username, replace_username, - valmin: valmin, - valmax: valmax, + valmin: tools.convstrToNum(valmin), + valmax: tools.convstrToNum(valmax), circuitId, } diff --git a/src/views/admin/dbop/dbop.vue b/src/views/admin/dbop/dbop.vue index ad5a5301..3747c2dc 100755 --- a/src/views/admin/dbop/dbop.vue +++ b/src/views/admin/dbop/dbop.vue @@ -410,6 +410,16 @@ label="DEFAULT Max Qta" style="width: 300px" > + +
@@ -438,12 +449,29 @@ style="width: 300px" >
+ +