-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* calender * calender * Adding events, meetings and vacations to calender * vacation card * vacation card with update, reject, approve and delete * adding filters * refactor: Update calender code * forms styling * adding dayscell * feat: Add background to events in calender * feat: Remove watchEffect from loading users * removing getuser method and moving methods to helpers * Fixing build errors * useAsync state in calender * resolving errors * adding emits to calender * resolving comments * fixing build errors * fixing build errors * using homes api * fixing build errors and calender emits * Adding birthday and public holiday cards * fixing state user error * Remove loading * Adding vacation balance condition * WIP: Added the expired field, initialized a new refrance from the date object to bind it on changing the month from the calendar. * Adding watch to currentDate to execute homes * Linting. * Adding v-alert on loading * Enhance the birthday card. * Change warning alert to info alert --------- Co-authored-by: MohamedElmdary <[email protected]> Co-authored-by: Mahmoud Emad <[email protected]>
- Loading branch information
1 parent
2bbfa7f
commit 8e933ed
Showing
27 changed files
with
1,923 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
import type { Api } from '@/types' | ||
import { ApiClientBase } from './base' | ||
|
||
export class HomeApi extends ApiClientBase { | ||
protected readonly path = '/home' | ||
|
||
async list() {} | ||
async list(query?: any) { | ||
return this.unwrap(this.$http.get<Api.Returns.List<Api.Home>>(this.getUrl('', query)), { | ||
transform: (d) => d.results | ||
}) | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.