- Add New Record directly by the QSelect
This commit is contained in:
@@ -41,12 +41,6 @@ module.exports = {
|
||||
"__v" : 0,
|
||||
"label" : "Scambio di Lavoro"
|
||||
},
|
||||
{
|
||||
"_id" : ObjectID("61cae7da4c7b5931a5f367c9"),
|
||||
"idapp" : "1",
|
||||
"__v" : 0,
|
||||
"label" : "Sardex"
|
||||
},
|
||||
{
|
||||
"_id" : ObjectID("615a353c002c8298f4495bf7"),
|
||||
"idapp" : "12",
|
||||
@@ -86,11 +80,5 @@ module.exports = {
|
||||
"__v" : 0,
|
||||
"label" : "Scambio di Lavoro"
|
||||
},
|
||||
{
|
||||
"_id" : ObjectID("61cae7da4c7b5931a5f36712"),
|
||||
"idapp" : "12",
|
||||
"__v" : 0,
|
||||
"label" : "Sardex"
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
@@ -25,7 +25,8 @@ module.exports = {
|
||||
},
|
||||
|
||||
popolaTabelleNuove() {
|
||||
const abilita = false;
|
||||
const abilita = true;
|
||||
const scrivi_citta = false;
|
||||
|
||||
let ris = null;
|
||||
if (abilita) {
|
||||
@@ -41,13 +42,15 @@ module.exports = {
|
||||
const { SubSkill } = require('../models/subskill');
|
||||
this.insertIntoDb('subskills', SubSkill)
|
||||
|
||||
// Cities
|
||||
const {City} = require('../models/city');
|
||||
this.insertIntoDb('cities', City)
|
||||
if (scrivi_citta) {
|
||||
// Cities
|
||||
const {City} = require('../models/city');
|
||||
this.insertIntoDb('cities', City)
|
||||
|
||||
// Province
|
||||
const { Province } = require('../models/province');
|
||||
this.insertIntoDb('provinces', Province)
|
||||
// Province
|
||||
const {Province} = require('../models/province');
|
||||
this.insertIntoDb('provinces', Province)
|
||||
}
|
||||
|
||||
// Contribtypes
|
||||
const { Contribtype } = require('../models/contribtype');
|
||||
|
||||
@@ -6,31 +6,51 @@ module.exports = {
|
||||
},
|
||||
{
|
||||
_id: 2,
|
||||
descr: "Arte",
|
||||
},
|
||||
{
|
||||
_id: 3,
|
||||
descr: "Alimentazione",
|
||||
},
|
||||
{
|
||||
_id: 1,
|
||||
_id: 4,
|
||||
descr: "Artigianato",
|
||||
},
|
||||
{
|
||||
_id: 5,
|
||||
descr: "Assistenza Legale",
|
||||
},
|
||||
{
|
||||
_id: 6,
|
||||
descr: "Benessere e Salute",
|
||||
},
|
||||
{
|
||||
_id: 7,
|
||||
descr: "Gruppi Locali",
|
||||
},
|
||||
{
|
||||
_id: 1,
|
||||
_id: 8,
|
||||
descr: "Istruzione",
|
||||
},
|
||||
{
|
||||
_id: 1,
|
||||
_id: 9,
|
||||
descr: "Mobilità",
|
||||
},
|
||||
{
|
||||
_id: 1,
|
||||
descr: "Salute",
|
||||
},
|
||||
{
|
||||
_id: 1,
|
||||
_id: 10,
|
||||
descr: "Sport",
|
||||
},
|
||||
{
|
||||
_id: 1,
|
||||
_id: 11,
|
||||
descr: "Servizi",
|
||||
},
|
||||
{
|
||||
_id: 12,
|
||||
descr: "Tecnologia",
|
||||
},
|
||||
{
|
||||
_id: 13,
|
||||
descr: "Turismo",
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user