update Mo 15. Jun 01:01:02 CEST 2020
This commit is contained in:
parent
4106796cdc
commit
a32d6adf5a
@ -292,6 +292,7 @@ socket.on('io.standby', function (data) {
|
||||
$('#em_alarmiert').empty();
|
||||
$('#em_weitere').html('');
|
||||
reset_rmld();
|
||||
recount_rmld();
|
||||
map.setView(new L.LatLng(0, 0), 14);
|
||||
// Tareset_responsebleau ausblenden
|
||||
$('#waiptableau').addClass('d-none');
|
||||
@ -464,23 +465,18 @@ var counter_rmld = [];
|
||||
function reset_rmld(p_uuid) {
|
||||
var bar_uuid = 'bar-' + p_uuid;
|
||||
$('#pg-ek').children().each(function (i) {
|
||||
console.log('ein gefunden');
|
||||
console.log(this);
|
||||
|
||||
if ($(this).hasClass(bar_uuid)) {
|
||||
console.log('hier');
|
||||
|
||||
$(this).remove;
|
||||
if (!$(this).hasClass(bar_uuid)) {
|
||||
$(this).remove();
|
||||
};
|
||||
});
|
||||
$('#pg-ma').children().each(function (i) {
|
||||
if (!$(this).hasClass(bar_uuid)) {
|
||||
$(this).remove;
|
||||
$(this).remove();
|
||||
};
|
||||
});
|
||||
$('#pg-fk').children().each(function (i) {
|
||||
if (!$(this).hasClass(bar_uuid)) {
|
||||
$(this).remove;
|
||||
$(this).remove();
|
||||
};
|
||||
});
|
||||
/*$('#pg-ek').empty();
|
||||
|
||||
@ -839,7 +839,7 @@ module.exports = function (db, uuidv4, app_cfg) {
|
||||
|
||||
function db_rmld_loeschen(waip_uuid) {
|
||||
// Rueckmeldungen löschen
|
||||
db.run(`DELETE FROM waip_response WHERE waip_uuid = `, [waip_uuid]);
|
||||
db.run(`DELETE FROM waip_response WHERE waip_uuid = ?`, [waip_uuid]);
|
||||
};
|
||||
|
||||
function db_vmtl_get_list(waip_id, callback) {
|
||||
@ -885,7 +885,6 @@ module.exports = function (db, uuidv4, app_cfg) {
|
||||
// DEBUG
|
||||
if (app_cfg.global.development) {
|
||||
console.log('Export-Liste RMLD: ' + JSON.stringify(arry_wachen));
|
||||
console.log(arry_wachen.join(', '));
|
||||
};
|
||||
// nur weiter machen wenn arry_wachen nicht leer, weil z.b. keine Rueckmeldungen vorhanden sind
|
||||
if (arry_wachen.length > 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user