This commit is contained in:
PMKuipers 2023-06-30 17:03:17 +02:00
parent 35dd6c2b32
commit efcf4228c6

View File

@ -1024,7 +1024,7 @@ export default {
<b-container> <b-container>
<b-row> <b-row>
<b-col cols="4">{{ text.studyplan_name}}</b-col> <b-col cols="4">{{ text.studyplan_name}}</b-col>
<b-col> <b-col cols="8">
<b-form-input v-model="editdata.name" <b-form-input v-model="editdata.name"
:state='editdata.name.length>0' :state='editdata.name.length>0'
:placeholder="text.studyplan_name_ph"></b-form-input> :placeholder="text.studyplan_name_ph"></b-form-input>
@ -1032,7 +1032,7 @@ export default {
</b-row> </b-row>
<b-row> <b-row>
<b-col cols="4">{{ text.studyplan_shortname}}</b-col> <b-col cols="4">{{ text.studyplan_shortname}}</b-col>
<b-col> <b-col cols="8">
<b-form-input v-model="editdata.shortname" <b-form-input v-model="editdata.shortname"
:state='editdata.shortname.length>0' :state='editdata.shortname.length>0'
:placeholder="text.studyplan_shortname_ph"></b-form-input> :placeholder="text.studyplan_shortname_ph"></b-form-input>
@ -1040,14 +1040,14 @@ export default {
</b-row> </b-row>
<b-row> <b-row>
<b-col cols="4">{{ text.studyplan_description}}</b-col> <b-col cols="4">{{ text.studyplan_description}}</b-col>
<b-col> <b-col cols="8">
<b-form-input v-model="editdata.description" <b-form-input v-model="editdata.description"
:placeholder="text.studyplan_description_ph"></b-form-input> :placeholder="text.studyplan_description_ph"></b-form-input>
</b-col> </b-col>
</b-row> </b-row>
<b-row> <b-row>
<b-col cols="4">{{ text.studyplan_context}}</b-col> <b-col cols="4">{{ text.studyplan_context}}</b-col>
<b-col> <b-col cols="8">
<b-form-select v-model="editdata.context_id" <b-form-select v-model="editdata.context_id"
:options="categories" text-field="category.pathname" value-field="context_id" :options="categories" text-field="category.pathname" value-field="context_id"
></b-form-select> ></b-form-select>
@ -1055,25 +1055,25 @@ export default {
</b-row> </b-row>
<b-row> <b-row>
<b-col cols="4">{{ text.studyplan_slots}}</b-col> <b-col cols="4">{{ text.studyplan_slots}}</b-col>
<b-col> <b-col cols="8">
<b-form-input type=number v-model="editdata.slots"></b-form-input> <b-form-input type=number v-model="editdata.slots"></b-form-input>
</b-col> </b-col>
</b-row> </b-row>
<b-row> <b-row>
<b-col cols="4">{{ text.studyplan_startdate}}</b-col> <b-col cols="4">{{ text.studyplan_startdate}}</b-col>
<b-col> <b-col cols="8">
<b-form-datepicker v-model="editdata.startdate"></b-form-datepicker> <b-form-datepicker v-model="editdata.startdate"></b-form-datepicker>
</b-col> </b-col>
</b-row> </b-row>
<b-row> <b-row>
<b-col cols="4">{{ text.studyplan_enddate}}</b-col> <b-col cols="4">{{ text.studyplan_enddate}}</b-col>
<b-col> <b-col cols="8">
<b-form-datepicker v-model="editdata.enddate" ></b-form-datepicker> <b-form-datepicker v-model="editdata.enddate" ></b-form-datepicker>
</b-col> </b-col>
</b-row> </b-row>
<b-row> <b-row>
<b-col cols="4">{{ text.choose_aggregation_style}}</b-col> <b-col cols="4">{{ text.choose_aggregation_style}}</b-col>
<b-col> <b-col cols="8">
<b-form-select v-model="editdata.aggregation" <b-form-select v-model="editdata.aggregation"
:options="aggregators" text-field="name" value-field="id" :options="aggregators" text-field="name" value-field="id"
></b-form-select> ></b-form-select>
@ -1082,7 +1082,7 @@ export default {
<template v-if="aggregation_parsed.bistate && editdata.aggregation == 'bistate'"> <template v-if="aggregation_parsed.bistate && editdata.aggregation == 'bistate'">
<b-row > <b-row >
<b-col cols="4">{{ text.setting_bistate_thresh_excellent}}</b-col> <b-col cols="4">{{ text.setting_bistate_thresh_excellent}}</b-col>
<b-col> <b-col cols="8">
<b-form-input v-model="aggregation_parsed.bistate.thresh_excellent" <b-form-input v-model="aggregation_parsed.bistate.thresh_excellent"
type="number" number :formatter="numberFilter" type="number" number :formatter="numberFilter"
></b-form-input> ></b-form-input>
@ -1090,7 +1090,7 @@ export default {
</b-row> </b-row>
<b-row > <b-row >
<b-col cols="4">{{ text.setting_bistate_thresh_good}}</b-col> <b-col cols="4">{{ text.setting_bistate_thresh_good}}</b-col>
<b-col> <b-col cols="8">
<b-form-input v-model="aggregation_parsed.bistate.thresh_good" <b-form-input v-model="aggregation_parsed.bistate.thresh_good"
type="number" number :formatter="numberFilter" type="number" number :formatter="numberFilter"
></b-form-input> ></b-form-input>
@ -1098,7 +1098,7 @@ export default {
</b-row> </b-row>
<b-row > <b-row >
<b-col cols="4">{{ text.setting_bistate_thresh_completed}}</b-col> <b-col cols="4">{{ text.setting_bistate_thresh_completed}}</b-col>
<b-col> <b-col cols="8">
<b-form-input v-model="aggregation_parsed.bistate.thresh_completed" <b-form-input v-model="aggregation_parsed.bistate.thresh_completed"
type="number" number :formatter="numberFilter" type="number" number :formatter="numberFilter"
></b-form-input> ></b-form-input>
@ -1106,7 +1106,7 @@ export default {
</b-row> </b-row>
<b-row> <b-row>
<b-col cols="4">{{ text.setting_bistate_thresh_progress}}</b-col> <b-col cols="4">{{ text.setting_bistate_thresh_progress}}</b-col>
<b-col> <b-col cols="8">
<b-form-input v-model="aggregation_parsed.bistate.thresh_progress" <b-form-input v-model="aggregation_parsed.bistate.thresh_progress"
type="number" number :formatter="numberFilter" type="number" number :formatter="numberFilter"
></b-form-input> ></b-form-input>
@ -1115,7 +1115,7 @@ export default {
<b-row><b-col cols="*">&nbsp;</b-col></b-row> <b-row><b-col cols="*">&nbsp;</b-col></b-row>
<b-row> <b-row>
<b-col cols="7">{{ text.setting_bistate_support_failed}}</b-col> <b-col cols="7">{{ text.setting_bistate_support_failed}}</b-col>
<b-col> <b-col cols="3">
<b-form-checkbox v-model="aggregation_parsed.bistate.use_failed" <b-form-checkbox v-model="aggregation_parsed.bistate.use_failed"
></b-form-checkbox> ></b-form-checkbox>
</b-col> </b-col>
@ -1123,7 +1123,7 @@ export default {
<b-row><b-col cols="*">&nbsp;</b-col></b-row> <b-row><b-col cols="*">&nbsp;</b-col></b-row>
<b-row > <b-row >
<b-col cols="7">{{ text.setting_bistate_accept_pending_submitted}}</b-col> <b-col cols="7">{{ text.setting_bistate_accept_pending_submitted}}</b-col>
<b-col> <b-col cols="3">
<b-form-checkbox v-model="aggregation_parsed.bistate.accept_pending_as_submitted" <b-form-checkbox v-model="aggregation_parsed.bistate.accept_pending_as_submitted"
></b-form-checkbox> ></b-form-checkbox>
</b-col> </b-col>