Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Alsijil
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-App-Alsijil
Commits
e6f0c517
Commit
e6f0c517
authored
9 months ago
by
Hangzhi Yu
Browse files
Options
Downloads
Patches
Plain Diff
Use absence reason group select component
parent
16ddfe70
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!363
Resolve "Add absence overview page"
Pipeline
#190835
failed
9 months ago
Stage: prepare
Stage: test
Stage: build
Stage: publish
Stage: docker
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aleksis/apps/alsijil/frontend/components/coursebook/absences/ParticipationList.vue
+8
-6
8 additions, 6 deletions
...tend/components/coursebook/absences/ParticipationList.vue
with
8 additions
and
6 deletions
aleksis/apps/alsijil/frontend/components/coursebook/absences/ParticipationList.vue
+
8
−
6
View file @
e6f0c517
<
script
setup
>
<
script
setup
>
import
MobileFullscreenDialog
from
"
aleksis.core/components/generic/dialogs/MobileFullscreenDialog.vue
"
;
import
MobileFullscreenDialog
from
"
aleksis.core/components/generic/dialogs/MobileFullscreenDialog.vue
"
;
import
AbsenceReasonChip
from
"
aleksis.apps.kolego/components/AbsenceReasonChip.vue
"
;
import
AbsenceReasonGroupSelect
from
"
aleksis.apps.kolego/components/AbsenceReasonGroupSelect.vue
"
;
import
AbsenceReasonGroupSelect
from
"
aleksis.apps.kolego/components/AbsenceReasonGroupSelect.vue
"
;
import
selectParticipationMixin
from
"
./selectParticipationMixin.js
"
;
import
selectParticipationMixin
from
"
./selectParticipationMixin.js
"
;
import
document
ation
Part
Mixin
from
"
.
./documentation/document
ation
Part
Mixin
"
;
import
updateParticip
ationMixin
from
"
.
/updateParticip
ationMixin
.js
"
;
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -29,9 +28,12 @@ import documentationPartMixin from "../documentation/documentationPartMixin";
...
@@ -29,9 +28,12 @@ import documentationPartMixin from "../documentation/documentationPartMixin";
{{
participation
.
person
.
fullName
}}
{{
participation
.
person
.
fullName
}}
</v-list-item-title>
</v-list-item-title>
<v-list-item-subtitle
v-if=
"participation.absenceReason"
>
<v-list-item-subtitle
v-if=
"participation.absenceReason"
>
<absence-reason-chip
<absence-reason-group-select
small
allow-empty
:absence-reason=
"participation.absenceReason"
empty-value=
"present"
:loadSelectedChip=
"loading"
:value=
"participation.absenceReason?.id || 'present'"
@
input=
"sendToServer([participation], 'absenceReason', $event)"
/>
/>
</v-list-item-subtitle>
</v-list-item-subtitle>
<v-list-item-action>
<v-list-item-action>
...
@@ -75,7 +77,7 @@ import documentationPartMixin from "../documentation/documentationPartMixin";
...
@@ -75,7 +77,7 @@ import documentationPartMixin from "../documentation/documentationPartMixin";
<
script
>
<
script
>
export
default
{
export
default
{
name
:
"
ParticipationList
"
,
name
:
"
ParticipationList
"
,
mixins
:
[
documentationPart
Mixin
,
select
ParticipationMixin
],
mixins
:
[
selectParticipation
Mixin
,
update
ParticipationMixin
],
data
()
{
data
()
{
return
{
return
{
loading
:
false
,
loading
:
false
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment