diff --git a/src/Services/AllApiCalls.js b/src/Services/AllApiCalls.js index 19245aa..420a40e 100644 --- a/src/Services/AllApiCalls.js +++ b/src/Services/AllApiCalls.js @@ -15,6 +15,8 @@ export default { pdfFileName: "", courseData: [], teachersList: [], + schoolEvents: [], + particularEvent: {}, } }, diff --git a/src/Services/GetApis.js b/src/Services/GetApis.js index f5ddb4b..f86fd3e 100644 --- a/src/Services/GetApis.js +++ b/src/Services/GetApis.js @@ -3,10 +3,10 @@ export default { mixins: [ApiCalls], data() { return { - courseData: [], + // courseData: [], // dashboard.vue data properties - particularEvent: {}, + } @@ -81,12 +81,38 @@ export default { let response = await this.getMethod("/getParticularMeetingEvent", { meetingEventId: params.meetingEventId }) - this.particularEvent = response.data.data + // this.particularEvent.push = response.data.data + return response + } catch (error) { + console.log("Error in getParticularMeetingEvent - ", error.message) + } + }, + + async getParticularSchoolEvent(params) { + try { + let response = await this.getMethod("/getParticularSchoolEvent", { + schoolEventId: params.schoolEventId + }) + // this.particularEvent = response.data.data + return response } catch (error) { console.log("Error in getParticularMeetingEvent - ", error.message) } }, + async getSchoolEventsList(params) { + try { + let response = await this.getMethod("/getSchoolEventsList") + this.schoolEvents = response.data.data; + console.log("school events - ", this.schoolEvents) + return response + } catch (error) { + console.log("Error in getParticularMeetingEvent - ", error.message) + } + + }, + + /************************************************************************************************************************ */ /* APIS USED IN LiveOnlineClass.vue */ diff --git a/src/pages/Dashboard/dashboard.vue b/src/pages/Dashboard/dashboard.vue index 97e1cc2..efe536c 100644 --- a/src/pages/Dashboard/dashboard.vue +++ b/src/pages/Dashboard/dashboard.vue @@ -69,50 +69,115 @@ - - - + + - - - - cancel - - + + cancel + + + + +
{{ tab.name }}
+
+ - - - - - Date Of Event : {{moment(particularEvent.dateOfEvent).format("DD MMMM, YYYY")}} - - - - - Start Time : {{particularEvent.startTime}} - - - - - Duration : {{particularEvent.duration}} - - - - - + + + + + + +
+
{{particularEvent.title}}
+
Date Of Event : {{moment(particularEvent.dateOfEvent).format("DD MMMM, YYYY")}}
+
Start Time : {{particularEvent.startTime}}
+
Duration : {{particularEvent.duration}}
+ +
Description : {{particularEvent.description}}
+
+ +
+
+
+
+ + + + + + + +
+
{{particularEvent.title}}
+
Date Of Event : {{moment(particularEvent.dateOfEvent).format("DD MMMM, YYYY")}}
+
Start Time : {{particularEvent.startTime}}
+
Duration : {{particularEvent.duration}}
+ +
Description : {{particularEvent.description}}
+
+ +
+
+
+
+
+ + + + + + +
+
{{particularEvent.title}}
+
Date Of Event : {{moment(particularEvent.dateOfEvent).format("DD MMMM, YYYY")}}
+
Start Time : {{particularEvent.startTime}}
+
Duration : {{particularEvent.duration}}
+
Link : {{particularEvent.link}} - - - - - +
+
Description : {{particularEvent.description}}
+
+ +
+
+
- + @@ -228,58 +293,95 @@ - - -

- Notice -

+ + + + + + Notice - - + + + + + + + + + + School Events +
+ + +
+
+ +
{{moment(schoolEvent.dateOfEvent).format("DD MMMM, YYYY")}}
+ +
{{schoolEvent.title}}
+
+
+
+
+

No Data Found!

+
+
+
+
+
+ + +
@@ -331,7 +433,7 @@ - Latest Events + Meeting Events
- +

@@ -540,9 +642,11 @@ + - Latest Events + + Meeting Events
{{moment(activity.dateOfEvent).format("DD MMMM, YYYY")}}
-
{{activity.title}}
+
{{activity.title}}

@@ -568,6 +672,8 @@

No Data Found!

+ + Latest Events
@import "fullcalendar/dist/fullcalendar.css"; +.wrap-text { + -webkit-line-clamp: unset !important; +} a { color: white;