mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 09:04:28 +00:00
UDFs Prestudent aktivieren
This commit is contained in:
@@ -2,11 +2,14 @@ import FormForm from '../../../Form/Form.js';
|
||||
import FormInput from '../../../Form/Input.js';
|
||||
import TblHistory from "./Prestudent/History.js";
|
||||
|
||||
import CoreUdf from '../../../Udf/Udf.js';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
FormForm,
|
||||
FormInput,
|
||||
TblHistory
|
||||
TblHistory,
|
||||
CoreUdf
|
||||
},
|
||||
inject: {
|
||||
lists: {
|
||||
@@ -98,6 +101,9 @@ export default {
|
||||
})
|
||||
.catch(this.$fhcAlert.handleSystemError);
|
||||
},
|
||||
udfsLoaded(udfs) {
|
||||
this.initialFormData = {...(this.initialFormData || {}), ...udfs};
|
||||
},
|
||||
updatePrestudent(){
|
||||
this.$refs.form
|
||||
.post('api/frontend/v1/stv/prestudent/updatePrestudent/' + this.modelValue.prestudent_id, this.deltaArray)
|
||||
@@ -505,6 +511,7 @@ export default {
|
||||
>
|
||||
</form-input>
|
||||
</div>
|
||||
<core-udf @load="udfsLoaded" v-model="data" class="row-cols-3 g-3 mb-3" ci-model="crm/prestudent" :pk="{prestudent_id:modelValue.prestudent_id}"></core-udf>
|
||||
</fieldset>
|
||||
</form-form>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user