add status

This commit is contained in:
ma0068
2026-03-06 10:58:54 +01:00
parent daf332a102
commit 9b4fa132dc
2 changed files with 12 additions and 4 deletions
@@ -208,6 +208,7 @@ export default {
'url_studiengang': function (newVal, oldVal) {
if (newVal !== oldVal) {
this.checkUrlStudiengang();
this.$refs.stvList.clearSelection();
}
},
'url_mode': function () {
@@ -420,7 +421,7 @@ export default {
this.$refs.searchbar.$refs.input.blur();
this.$refs.searchbar.abort();
this.$refs.searchbar.hideresult();
}
},
},
created() {
if (!this.url_studiensemester_kurzbz) {
@@ -324,10 +324,13 @@ export default {
actionNewPrestudent() {
this.$refs.new.open();
},
rowSelectionChanged(data, rows) {
rowSelectionChanged(data, rows, selected, deselected) {
this.selectedcount = data.length;
this.lastSelected = this.selected;
this.$emit('update:selected', data);
if(selected.length > 0 || deselected.length > 0){
this.lastSelected = this.selected;
this.$emit('update:selected', data);
}
// set selected elements draggable
const tableEl = this.$refs.table?.$refs?.table;
@@ -471,6 +474,10 @@ export default {
if (el != this.focusObj)
this.changeFocus(this.focusObj, el);
}
},
clearSelection(){
this.lastSelected = [];
this.$emit('update:selected',[]);
}
},
// TODO(chris): focusin, focusout, keydown and tabindex should be in the filter component