diff --git a/src/pages/Authentication/Login.vue b/src/pages/Authentication/Login.vue index 0add740..be897a3 100644 --- a/src/pages/Authentication/Login.vue +++ b/src/pages/Authentication/Login.vue @@ -30,12 +30,12 @@ SCHOOL LOGIN - + @@ -113,6 +113,10 @@ export default { email: this.userLogincredentials.email, password: this.userLogincredentials.password }; + if (/^[0-9]{10}$/.test(this.userLogincredentials.email)) { + userdata.fatherCellNo = this.userLogincredentials.email; + delete userdata.email; + } http() .post("/schoolLogin", userdata) .then(response => { diff --git a/src/pages/Course/courseDetail.vue b/src/pages/Course/courseDetail.vue index f58dae2..b352109 100644 --- a/src/pages/Course/courseDetail.vue +++ b/src/pages/Course/courseDetail.vue @@ -382,7 +382,7 @@
- You Tube Link Url: + Chapter Point:
@@ -863,7 +863,6 @@ export default { .then(response => { this.editChapter.courseId = ""; this.courseData = response.data.data; - // console.log("this.courseData", this.courseData); this.showLoader = false; }) .catch(err => { @@ -883,9 +882,7 @@ export default { this.CourseDetailsList = response.data.data; if (response.data.data[0]) { this.chapters = response.data.data[0].chapters; - console.log(" this.chapters - ", this.chapters); } - // console.log("response.data.data", this.CourseDetailsList); this.showLoader = false; }) .catch(error => { @@ -899,7 +896,6 @@ export default { }); }, courseTableRow(id) { - // console.log("click7", id); this.courseId = id; }, addChapters(item) { @@ -913,7 +909,6 @@ export default { for (let i = 0; i < this.findsChapterPoint.length; i++) { this.addChapterItem.chapterPoints.push(this.findsChapterPoint[i].value); } - // console.log("this.addChapterItem", this.addChapterItem); this.loading = true; http() .put("/addChapters", this.addChapterItem) @@ -1015,7 +1010,6 @@ export default { var chapterPoints = []; for (let i = 0; i < this.finds.length; i++) { chapterPoints.push(this.finds[i].value); - // console.log("this.finds[i].value", this.finds[i].value); chapters = [ { chapterName: this.addCourseDetail.chapterName, @@ -1027,7 +1021,6 @@ export default { ]; } if (this.$refs.form.validate()) { - // console.log("this.addCourseDetail", this.addCourseDetail); var courseDetailsData = { classId: this.addCourseDetail.classId, courseId: this.addCourseDetail.courseId, @@ -1060,7 +1053,6 @@ export default { }, saveChapter() { this.editedItem.courseDetailId = this.editedItem._id; - // console.log("this.updates", this.updates); var chapterPoints = []; for (let i = 0; i < this.updates.length; i++) { chapterPoints.push(this.updates[i].value); diff --git a/src/pages/Dashboard/dashboard.vue b/src/pages/Dashboard/dashboard.vue index 20485e7..9c0c9f3 100644 --- a/src/pages/Dashboard/dashboard.vue +++ b/src/pages/Dashboard/dashboard.vue @@ -90,9 +90,19 @@ + Start Time : {{particularEvent.startTime}} + + + + Duration : {{particularEvent.duration}} + + + Link : {{particularEvent.link}} + + @@ -215,7 +225,8 @@
- + + + + + +

+ Notice +

+ + + +
+ + + + Latest Events +
+ +
+
+
{{moment(activity.dateOfEvent).format("DD MMMM, YYYY")}}
+
{{activity.title}}
+
+
+
+
+

No Data Found!

+
+
+
+
+
+ @@ -400,8 +492,9 @@ - - + + +

@@ -419,7 +512,7 @@ - + Latest Events

{ this.userData = response.data.data; this.showLoader = false; - console.log("sdsdfsdfsd - ", response); }) .catch(error => { this.showLoader = false; @@ -871,7 +961,6 @@ export default { // this.collectionData = response.data.data; this.series[0].data[0] = this.feeData.totalFees; this.series[0].data[1] = this.feeData.totalCollection; - // console.log("this.series====", this.series); this.showLoader = false; }) @@ -896,7 +985,6 @@ export default { // data: array // } // ]; - // console.log("this.series====", this.series); this.showLoader = false; }) .catch(error => { @@ -910,7 +998,6 @@ export default { await http() .get("/parentStudentsList") .then(response => { - // console.log("resssssss", response.data.data.students[0].classId); this.studentsData = response.data.data; localStorage.setItem( "parentStudentId", @@ -1057,4 +1144,8 @@ export default { \ No newline at end of file diff --git a/src/pages/meetingEvent/meetingEvent.vue b/src/pages/meetingEvent/meetingEvent.vue index eafab87..466f853 100644 --- a/src/pages/meetingEvent/meetingEvent.vue +++ b/src/pages/meetingEvent/meetingEvent.vue @@ -79,6 +79,7 @@ > @@ -370,6 +371,7 @@ > @@ -578,6 +580,7 @@ export default { this.editedIndex = this.events.indexOf(item); this.editedItem = Object.assign({}, item); this.editedItem.meetingEventId = item._id; + this.editedItem.startTime = moment(this.editedItem.startTime, ["h:mm A"]).format("HH:mm"); this.editEventdialog = true; }, profile(item) { @@ -650,6 +653,7 @@ export default { submit() { if (this.$refs.form.validate()) { this.loading = true; + this.meetEvent.startTime = moment(this.meetEvent.startTime, "hh:mm").format("LT"); http() .post("/createMeetingEvent", this.meetEvent) .then(response => { @@ -674,6 +678,8 @@ export default { }, save() { delete this.editedItem.classId; + this.editedItem.courseId = this.editedItem.courseId._id; + this.editedItem.startTime = moment(this.editedItem.startTime, "hh:mm").format("LT"); http() .put("/updateMeetingEvent", this.editedItem) .then(response => {