mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-18 15:32:17 +00:00
Status als eigener Tab
This commit is contained in:
@@ -31,6 +31,10 @@ class Config extends FHC_Controller
|
||||
'title' => 'PreStudentIn',
|
||||
'component' => './Stv/Studentenverwaltung/Details/Prestudent.js'
|
||||
];
|
||||
$result['status'] = [
|
||||
'title' => 'Status',
|
||||
'component' => './Stv/Studentenverwaltung/Details/Status.js'
|
||||
];
|
||||
$result['noten'] = [
|
||||
'title' => 'Noten',
|
||||
'component' => './Stv/Studentenverwaltung/Details/Noten.js'
|
||||
|
||||
@@ -143,7 +143,8 @@ class Student_model extends DB_Model
|
||||
{
|
||||
return error($result);
|
||||
}
|
||||
else {
|
||||
else
|
||||
{
|
||||
$resultObject = current(getData($result));
|
||||
|
||||
if (property_exists($resultObject, 'anzahl')) {
|
||||
|
||||
@@ -554,24 +554,17 @@ export default {
|
||||
|
||||
<br>
|
||||
|
||||
<!-- {{defaultSemester}} | {{hasAdminPermission}} | {{hasAdminPermission}}-->
|
||||
|
||||
<div class="col-12 pb-3">
|
||||
<legend>Status</legend>
|
||||
<TblStatus :prestudent_id="modelValue.prestudent_id"></TblStatus>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
|
||||
<div class="col-8">
|
||||
<legend>Gesamthistorie</legend>
|
||||
<TblHistory :person_id="modelValue.person_id"></TblHistory>
|
||||
</div>
|
||||
|
||||
<!-- <div class="col-12 pb-3">
|
||||
<legend>Status</legend>
|
||||
<TblStatus :prestudent_id="modelValue.prestudent_id"></TblStatus>
|
||||
</div>-->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
`
|
||||
|
||||
@@ -356,7 +356,7 @@ export default{
|
||||
})
|
||||
.catch(this.$fhcAlert.handleSystemError);
|
||||
CoreRESTClient
|
||||
.get('components/stv/Prestudent/getStudienplaene/' + this.prestudent_id)
|
||||
.get('components/stv/Prestudent/getStudienplaene/' + this.modelValue.prestudent_id)
|
||||
.then(result => CoreRESTClient.getData(result.data) || [])
|
||||
.then(result => {
|
||||
this.listStudienplaene = result;
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
import TblStatus from "./Prestudent/Status.js";
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TblStatus
|
||||
},
|
||||
props: {
|
||||
modelValue: Object,
|
||||
},
|
||||
template: `
|
||||
<div class="stv-details-details h-100 pb-3">
|
||||
<div class="col-12 pb-3">
|
||||
<legend>Status</legend>
|
||||
<TblStatus :prestudent_id="modelValue.prestudent_id"></TblStatus>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
Reference in New Issue
Block a user