diff --git a/public/js/apps/Cis/Profil.js b/public/js/apps/Cis/Profil.js index d9bff2cb4..eec4f9960 100644 --- a/public/js/apps/Cis/Profil.js +++ b/public/js/apps/Cis/Profil.js @@ -24,8 +24,8 @@ Vue.$collapseFormatter = function(data){ item2.classList.add("col-6"); item.innerHTML = "" + col.title + ""; - console.log("col values",col); item2.innerHTML = col.value?col.value:"-"; + list.appendChild(item); list.appendChild(item2); }); diff --git a/public/js/components/Cis/Profil/MitarbeiterProfil.js b/public/js/components/Cis/Profil/MitarbeiterProfil.js index 95863e3b6..68693b887 100644 --- a/public/js/components/Cis/Profil/MitarbeiterProfil.js +++ b/public/js/components/Cis/Profil/MitarbeiterProfil.js @@ -4,7 +4,6 @@ import { CoreFilterCmpt } from "../../../components/filter/Filter.js"; - export default { components: { CoreFilterCmpt, @@ -14,14 +13,13 @@ export default { funktionen_table_options: { + reactiveData:true, height: 300, layout:"fitColumns", responsiveLayout:"collapse", responsiveLayoutCollapseUseFormatters:false, responsiveLayoutCollapseFormatter:Vue.$collapseFormatter, - data: [ - { Bezeichnung: "", Organisationseinheit: "", @@ -58,12 +56,13 @@ export default { ], }, betriebsmittel_table_options: { + height: 300, layout: "fitColumns", responsiveLayout:"collapse", responsiveLayoutCollapseUseFormatters:false, responsiveLayoutCollapseFormatter:Vue.$collapseFormatter, - data: [{ betriebsmittel: "test", Nummer: "", Ausgegeben_am: "" }], + data: [{ betriebsmittel: "", Nummer: "", Ausgegeben_am: "" }], columns: [ { title: "Betriebsmittel", @@ -130,12 +129,6 @@ export default { Büro:this.data.ort_kurzbz, }, - - - - - - }; }, //? this computed function returns the data for the second column in the profil @@ -167,12 +160,27 @@ export default { this.$refs.funktionenTable.tabulator.on('tableBuilt', () => { this.$refs.funktionenTable.tabulator.setData(this.data.funktionen); - + }) }, - template: ` +/* + +*/ + template: ` + + +
@@ -180,28 +188,26 @@ export default {
- - - - -
-
- + +
diff --git a/public/js/components/Cis/Profil/MitarbeiterViewProfil.js b/public/js/components/Cis/Profil/MitarbeiterViewProfil.js index e7fbbeff4..9329eb538 100644 --- a/public/js/components/Cis/Profil/MitarbeiterViewProfil.js +++ b/public/js/components/Cis/Profil/MitarbeiterViewProfil.js @@ -136,28 +136,25 @@ export default {
- - - - -
-
- +
diff --git a/public/js/components/Cis/Profil/StudentProfil.js b/public/js/components/Cis/Profil/StudentProfil.js index 4aa242a30..ce4f1545e 100644 --- a/public/js/components/Cis/Profil/StudentProfil.js +++ b/public/js/components/Cis/Profil/StudentProfil.js @@ -133,26 +133,25 @@ export default {
- - - - -
-
- +
diff --git a/public/js/components/Cis/Profil/StudentViewProfil.js b/public/js/components/Cis/Profil/StudentViewProfil.js index fc942a51b..4d4584dca 100644 --- a/public/js/components/Cis/Profil/StudentViewProfil.js +++ b/public/js/components/Cis/Profil/StudentViewProfil.js @@ -87,28 +87,25 @@ export default {
- - - - -
-
- +