diverses + doku

This commit is contained in:
darthsandmann
2017-01-19 11:27:12 +01:00
parent fe08a2fd2a
commit 0f6cd32fa7
28 changed files with 672 additions and 82 deletions

View File

@ -112,7 +112,9 @@ APP.DetailView_cl = class {
var id_s = $('#id_s').val();
var name_s = $('#name_s').val();
var komponenteid_s = $('#komponenteid_s').val();
var data_s = "id_s=" + id_s + "&status_s=protokolliert&name_s=" + name_s + "&komponenteid_s=" + komponenteid_s + "&katfehlerid_s=&katursacheid_s=&qsmitarbeiterid_s=&swentwicklerid_s=";
var beschreibung_s = $('#beschreibung_s').val();
var zeiterfasst_s = $('#zeiterfasst_s').val();
var data_s = "id_s=" + id_s + "&status_s=protokolliert&name_s=" + name_s + "&komponenteid_s=" + komponenteid_s + "&katfehlerid_s=&katursacheid_s=&qsmitarbeiterid_s=&swentwicklerid_s=&beschreibungursache_s=&zeitbehoben_s&beschreibung_s=" + beschreibung_s + "&zeiterfasst_s=" + zeiterfasst_s;
if (id_s == '') {
type_s = 'POST';
}
@ -153,22 +155,4 @@ APP.DetailView_cl = class {
}
}
// ----------------------------------------------
APP.SourceDetailView_cl = class extends APP.DetailView_cl {
// ----------------------------------------------
//constructor (name_spl, path_spl, template_spl) {
// super.constructor(name_spl, path_spl, template_spl)
//}
checkContent_p () {
// hier nur zur Demonstration Prüfung des Typs gegen eine Werteliste
// (das realisiert man besser mit einer Liste)
var status_b = true;
var typ_s = $("#typ_s").val();
if ((typ_s != "Typ1") && (typ_s != "Typ2")) {
status_b = false;
}
return status_b;
}
}
// EOF