diff --git a/src/Services/http.js b/src/Services/http.js
index c02569a..730dcdb 100644
--- a/src/Services/http.js
+++ b/src/Services/http.js
@@ -1,7 +1,7 @@
import axios from 'axios'
import store from '@/store/store'
-const baseDomain = "http://15.206.52.174:8001/v1";
+const baseDomain = "https://api-dashboard.intrack.in/v1";
const baseURL = `${baseDomain}`;
// var token = ""
diff --git a/src/api/menu.js b/src/api/menu.js
index a042fe8..f3e3cea 100644
--- a/src/api/menu.js
+++ b/src/api/menu.js
@@ -311,7 +311,7 @@ const teacherMenu = [{
items: [
{ name: 'Course', title: 'Course', component: 'Course', action: '', },
{ name: 'Enroll Students', title: 'Enroll Students', component: 'Enroll Students', action: '', },
- // { name: 'Assignment', title: 'Assignment', component: 'Assignment', action: '', },
+ { name: 'Course Detail', title: 'Course Detail', component: 'Course Detail', action: '', },
// { name: 'Routine', title: 'Routine', component: 'Routine', action: '', },
]
},
@@ -381,6 +381,11 @@ const teacherMenu = [{
}
];
+const parentMenu = [{
+ title: 'Dashboard',
+ name: 'Dashboard',
+ icon: '/static/icon/dashboard.png',
+}];
// reorder menu
// Menu.forEach((item) => {
// if (item.items) {
@@ -392,4 +397,4 @@ const teacherMenu = [{
// }
// });
-export default { adminMenu, schoolMenu, teacherMenu, libraryMenu, accountMenu };
\ No newline at end of file
+export default { adminMenu, schoolMenu, teacherMenu, libraryMenu, accountMenu, parentMenu };
\ No newline at end of file
diff --git a/src/components/pageHeader/AppDrawer.vue b/src/components/pageHeader/AppDrawer.vue
index 4a04e4f..7536bd3 100644
--- a/src/components/pageHeader/AppDrawer.vue
+++ b/src/components/pageHeader/AppDrawer.vue
@@ -486,6 +486,98 @@
+
+
+
+
+
+
+
+
+
+ {{ item.title }}
+
+
+
+
+
+
+
+ {{ subItem.title }}
+
+
+
+
+ {{ grand.title }}
+
+
+
+
+
+
+
+
+
+
+ {{ subItem.title }}
+
+
+
+
+
+
+ {{ item.header }}
+
+
+
+
+
+
+
+
+ {{ item.title }}
+
+
+
+
+
+
+
+
+
+
@@ -512,6 +604,7 @@ export default {
menuTeacher: [],
menuAccount: [],
menuLibrarian: [],
+ menuParent: [],
schoolRole: "",
role: "",
scrollSettings: {
@@ -538,6 +631,7 @@ export default {
this.menuTeacher = menu.teacherMenu;
this.menuAccount = menu.accountMenu;
this.menuLibrarian = menu.libraryMenu;
+ this.menuParent = menu.parentMenu;
// console.log("this.$route.name", this.$route.name);
// if (this.$route.name === "School") {
// localStorage.setItem("SchoolName", this.$route.name);
@@ -599,6 +693,9 @@ export default {
if (this.$store.state.role === "LIBRARIAN") {
this.token = this.$store.state.token;
}
+ if (this.$store.state.role === "PARENT") {
+ this.token = this.$store.state.token;
+ }
}
};
diff --git a/src/components/pageHeader/AppToolbar.vue b/src/components/pageHeader/AppToolbar.vue
index 029f5bd..0668079 100644
--- a/src/components/pageHeader/AppToolbar.vue
+++ b/src/components/pageHeader/AppToolbar.vue
@@ -19,9 +19,9 @@
Towards School!
-
+
@@ -97,6 +97,18 @@ export default {
mounted() {
// this.getUserData();
this.adminRole = this.$store.state.role;
+ if (this.adminRole == "PARENT") {
+ var obj = {};
+ obj = {
+ icon: "face",
+ href: "/changeStudents",
+ title: "Change Student",
+ click: e => {
+ console.log(e);
+ }
+ };
+ this.items.push(obj);
+ }
// console.log("this.adminRole", this.adminRole);
this.SchoolRole = this.$store.state.schoolRole;
},
diff --git a/src/event.js b/src/event.js
index 9634f6f..5f8c5f0 100644
--- a/src/event.js
+++ b/src/event.js
@@ -45,6 +45,13 @@ export default [{
this.$store.dispatch('setSchoolToken', null)
this.$store.dispatch('setSchoolRole', null)
this.$router.replace({ path: '/' });
+ } else if (this.$store.state.role === "PARENT") {
+ this.$store.dispatch('setToken', null)
+ this.$store.dispatch('Id', null)
+ this.$store.dispatch('Role', null)
+ this.$store.dispatch('setSchoolToken', null)
+ this.$store.dispatch('setSchoolRole', null)
+ this.$router.replace({ path: '/' });
}
}
},
diff --git a/src/pages/Authentication/Login.vue b/src/pages/Authentication/Login.vue
index f630912..230fe54 100644
--- a/src/pages/Authentication/Login.vue
+++ b/src/pages/Authentication/Login.vue
@@ -143,6 +143,11 @@ export default {
this.$store.dispatch("Id", response.data.data.id);
this.$store.dispatch("Role", response.data.data.role);
this.$router.push("/dashboard");
+ } else if (response.data.data.role === "PARENT") {
+ this.$store.dispatch("setToken", response.data.data.token);
+ this.$store.dispatch("Id", response.data.data.id);
+ this.$store.dispatch("Role", response.data.data.role);
+ this.$router.push("/dashboard");
}
})
.catch(error => {
diff --git a/src/pages/Course/course.vue b/src/pages/Course/course.vue
index 6b31354..ffb37f6 100644
--- a/src/pages/Course/course.vue
+++ b/src/pages/Course/course.vue
@@ -299,8 +299,8 @@
xs12
class="text-xs-center text-sm-center text-md-center text-lg-center"
>
-
-
+
+
+
+
+
+
+
+
+
+ cancel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ cancel
+
+
+
+
+
+
+
+
+ Save
+
+
+
+ Save
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ cancel
+
+
+
+
+
+
+
+
+
+ Chapter Name:
+
+
+
+ {{ editedItem.chapterName }}
+
+
+
+
+
+ Description:
+
+
+
+ {{ editedItem.description }}
+
+
+
+
+
+ You Tube Link Url:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ add
+
+
+ addAdd Course Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ close
+
+
+
+
+
+
+ {{ props.index + 1}} |
+ {{ props.item.classId.classNum }} |
+ {{ props.item.courseId.coursrName }} |
+
+
+
+
+
+ Delete
+
+
+ |
+
+
+
+
+
+
+ {{ props.index + 1}} |
+ {{ props.item.chapterName}} |
+ {{ props.item.description }} |
+
+
+
+ View
+
+
+
+ Edit
+
+ |
+
+
+
+
+
+
+
+
+
+
+ Your search for "{{ search }}" found no results.
+
+
+
+
+
+
+
+ cancel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ cancel
+ add_circle
+
+
+
+
+
+
+
+
+ Clear
+ Add
+
+
+
+
+
+
+
+ {{ text }}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/Course/enrollStudents.vue b/src/pages/Course/enrollStudents.vue
index 46bb616..7835d07 100644
--- a/src/pages/Course/enrollStudents.vue
+++ b/src/pages/Course/enrollStudents.vue
@@ -236,6 +236,7 @@ export default {
getStudentTable(id) {
console.log("id", this.getReport.courseId);
this.getStudents();
+ this.getParticularCourse();
},
update() {
var studentsAttendence = [];
@@ -270,7 +271,7 @@ export default {
console.log("this.selected", this.selected);
console.log("selected====", selected);
let selectedStudentsArray = [];
- selectedStudentsArray.push(selected.id);
+ selectedStudentsArray.push({ studentId: selected.id });
var payload = {
courseId: this.getReport.courseId,
enrollStudents: selectedStudentsArray
@@ -289,7 +290,7 @@ export default {
selectParticularStudent(selected) {
console.log("selected====", selected);
let selectedStudentsArray = [];
- selectedStudentsArray.push(selected);
+ selectedStudentsArray.push({ studentId: selected });
var payload = {
courseId: this.getReport.courseId,
enrollStudents: selectedStudentsArray
@@ -305,6 +306,24 @@ export default {
this.text = error.response.data.message;
});
},
+ getParticularCourse() {
+ var payload = {
+ courseId: this.getReport.courseId
+ };
+ http()
+ .get("/getParticularCourse", {
+ params: payload
+ })
+ .then(response => {
+ conso.log("DTAAAAA", response.data.data);
+ this.snackbar = true;
+ this.text = response.data.message;
+ })
+ .catch(error => {
+ this.snackbar = true;
+ this.text = error.response.data.message;
+ });
+ },
changeSort(column) {
if (this.pagination.sortBy === column) {
this.pagination.descending = !this.pagination.descending;
diff --git a/src/pages/Dashboard/dashboard.vue b/src/pages/Dashboard/dashboard.vue
index 2a026f7..06fd6e7 100644
--- a/src/pages/Dashboard/dashboard.vue
+++ b/src/pages/Dashboard/dashboard.vue
@@ -98,7 +98,11 @@
-
+ You have no student registered with scholl
+
@@ -162,7 +166,7 @@
-
+
+
+
+
+
+ My Courses
+
+
+
+
+
+
+
+ panorama_fish_eye
+
+
+ {{ course.coursrName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Latest Annoucements
+
+
+
+
+
+ {{ props.index + 1}} |
+
+ {{ date(props.item.created) }}
+
+ {{ props.item.discussionType}}
+ |
+
+
+
+
+ View
+
+
+ |
+
+
+
+
+
+
+
+
+ Online User
+
+
+
+
+
+ {{ props.index + 1}} |
+
+ {{ props.item.user }}
+ |
+
+
+
+
+ View
+
+
+ |
+
+
+
+
+
+
@@ -316,7 +434,23 @@ export default {
customClass: "disabled highlight" // Custom classes to an calendar cell
}
],
-
+ onlineUser: [
+ {
+ user: "Student Demo"
+ },
+ {
+ user: "Teacher Demo"
+ },
+ {
+ user: "Priyansh Gupta"
+ },
+ {
+ user: "Gaurav Aggarwal"
+ },
+ {
+ user: "Approve Arorra"
+ }
+ ],
showLoader: false,
calendarData: {},
dialog: false,
@@ -345,7 +479,10 @@ export default {
expenseData: [],
feeData: [],
collectionData: [],
-
+ courseData: [],
+ studentsData: [],
+ annoucementData: [],
+ role: "",
attrs: [
{
key: "today",
@@ -452,7 +589,10 @@ export default {
this.token = this.$store.state.token;
} else if (this.$store.state.role === "LIBRARIAN") {
this.token = this.$store.state.token;
+ } else if (this.$store.state.role === "PARENT") {
+ this.token = this.$store.state.token;
}
+ this.role = this.$store.state.role;
// console.log("role", this.$store.state.schoolRole,"tt",this.$store.state.schoolToken);
// this.getData();
this.getStudents();
@@ -463,6 +603,7 @@ export default {
this.getUserData();
this.getFeesAndCollectionsData();
this.getExpensesData();
+ this.getparentStudents();
// this.getUsersList();
},
methods: {
@@ -608,7 +749,7 @@ 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);
+ // console.log("this.series====", this.series);
this.showLoader = false;
})
@@ -639,6 +780,77 @@ export default {
.catch(error => {
this.showLoader = false;
});
+ },
+ getparentStudents() {
+ this.showLoader = true;
+ http()
+ .get("/parentStudentsList")
+ .then(response => {
+ // console.log("resssssss", response.data.data.students[0].classId);
+ this.studentsData = response.data.data;
+ // localStorage.setItem(
+ // "parentStudentId",
+ // this.studentsData.students[0]._id
+ // );
+ // localStorage.setItem(
+ // "parentClassId",
+ // this.studentsData.students[0].classId
+ // );
+ console.log(
+ "localStorage.getItem('parentStudentId')",
+ localStorage.getItem("parentStudentId")
+ );
+ if (localStorage.getItem("parentStudentId") == null) {
+ var parentStudentsId = response.data.data.students[0].classId;
+ var ClassId = response.data.data.students[0]._id;
+ }
+ if (localStorage.getItem("parentStudentId")) {
+ var parentStudentsId = localStorage.getItem("parentStudentId");
+ var ClassId = localStorage.getItem("parentClassId");
+ }
+ this.getCourses(parentStudentsId, ClassId);
+ this.getAnnoucementes(ClassId);
+ this.showLoader = false;
+ })
+ .catch(err => {
+ console.log("err====>", err);
+ this.showLoader = false;
+ });
+ },
+ getCourses(parentStudentsId, ClassId) {
+ this.showLoader = true;
+ http()
+ .get("/getStudentCourses", {
+ params: {
+ classId: ClassId,
+ studentId: parentStudentsId
+ }
+ })
+ .then(response => {
+ this.courseData = response.data.data;
+ this.showLoader = false;
+ })
+ .catch(err => {
+ console.log("err====>", err);
+ this.showLoader = false;
+ });
+ },
+ getAnnoucementes(ClassId) {
+ this.showLoader = true;
+ http()
+ .get("/getAnnoucementesList", {
+ params: {
+ classId: ClassId
+ }
+ })
+ .then(response => {
+ this.annoucementData = response.data.data;
+ this.showLoader = false;
+ })
+ .catch(err => {
+ console.log("err====>", err);
+ this.showLoader = false;
+ });
}
}
};
diff --git a/src/pages/Report/idCard.vue b/src/pages/Report/idCard.vue
index 02a6b3d..d4be9ca 100644
--- a/src/pages/Report/idCard.vue
+++ b/src/pages/Report/idCard.vue
@@ -55,7 +55,7 @@
{{ getCard.mobile}}
{{ getCard.mobileNo }}
-
-
!!v || "Class Field is required"],
- // sectionRules: [v => !!v || "Section Field is required"],
- // studentRules: [v => !!v || "Student Field is required"],
- // teacherRules: [v => !!v || "Teacher Field is required"],
- // adminRules: [v => !!v || "Admin Field is required"],
- // accountantRules: [v => !!v || "Accountant Field is required"],
- // librarianRules: [v => !!v || "Librarian Field is required"],
-
typeRules: [v => !!v || "Type is required"],
- // backgroundRules: [v => !!v || "Background is required"],
typeList: [
{
name: "Front Part",
@@ -523,7 +492,7 @@ export default {
}
},
getRoleInputs(role) {
- console.log("role", role);
+ // console.log("role", role);
this.showReport = false;
this.getReport._id = "";
this.getCard = "";
@@ -585,11 +554,18 @@ export default {
this.$htmlToPaper("printMe");
},
getUserData() {
+ this.getSelectUserData = [];
this.showLoader = true;
http()
.get("/getParticularUserDetail")
.then(response => {
- this.userData = response.data.data;
+ let mergeObj = {
+ name: "Select All",
+ id: "Select All"
+ };
+ this.getSelectUserData.push(mergeObj);
+ let getUserDetails = response.data.data;
+ this.getSelectUserData.push(getUserDetails);
this.showLoader = false;
// this.adminList = response.data.data;
})
@@ -611,9 +587,6 @@ export default {
.then(response => {
var getRoles = [];
getRoles = response.data.data;
- // if (getRoles[0].role !== 1) {
- // getRoles = response.data.data;
- // }
for (let i = 0; i < getRoles.length; i++) {
if (getRoles[i].role != "1" && getRoles[i].role != "5") {
this.getRoles.push(getRoles[i]);
@@ -632,7 +605,7 @@ export default {
});
},
getClass() {
- console.log("get classes");
+ // console.log("get classes");
this.showLoader = true;
http()
.get("/getClassesList", {
@@ -668,6 +641,7 @@ export default {
});
},
getStudents() {
+ this.getSelectUserData = [];
this.showLoader = true;
http()
.get("/getStudentWithClass", {
@@ -677,7 +651,11 @@ export default {
}
})
.then(response => {
- this.getStudentsList = response.data.data;
+ response.data.data.unshift({
+ name: "Select All",
+ _id: "Select All"
+ });
+ this.getSelectUserData = response.data.data;
this.showStudents = true;
this.showLoader = false;
})
@@ -687,6 +665,33 @@ export default {
});
},
getCards() {
+ console.log("this.getSelectUserData", this.getSelectUserData);
+ var getSelectUserId = [];
+ for (let i = 0; i < this.getSelectUserData.length; i++) {
+ console.log("this.getReport._id", this.getReport._id);
+ if (this.getReport._id === this.getSelectUserData[i]._id) {
+ console.log(
+ "this.getSelectUserData[i]._id------------",
+ this.getSelectUserData[i]._id
+ );
+ getSelectUserId.push(this.getSelectUserData[i]._id);
+ } else if (this.getReport._id == "Select All") {
+ console.log(
+ "this.getSelectUserData[i]._id)",
+ this.getSelectUserData[i]._id
+ );
+ getSelectUserId.push(this.getSelectUserData[i]._id);
+ if (getSelectUserId[0] == undefined) {
+ delete getSelectUserId[0];
+ }
+ }
+ }
+ console.log(
+ // "this.getSelectUserData[i]._id",/
+ // this.getSelectUserData[i]._id,
+ "getSelectUserId",
+ getSelectUserId
+ );
if (this.$refs.form.validate()) {
this.showLoader = true;
http()
@@ -695,7 +700,7 @@ export default {
Authorization: "Bearer " + this.token
},
params: {
- profileId: this.getReport._id,
+ profileId: getSelectUserId,
role: this.getReport.role
}
})
@@ -707,28 +712,28 @@ export default {
data.adminData.constructor === Object
) {
this.getCard = response.data.data.adminData;
- console.log("this.getCard ", this.getCard);
+ // console.log("this.getCard ", this.getCard);
}
if (
Object.keys(data.teachersData).length != 0 &&
data.teachersData.constructor === Object
) {
this.getCard = response.data.data.teachersData;
- console.log("this.getCard--teachersData ", this.getCard);
+ // console.log("this.getCard--teachersData ", this.getCard);
}
if (
Object.keys(data.studentData).length != 0 &&
data.studentData.constructor === Object
) {
this.getCard = response.data.data.studentData;
- console.log("this.getCard--studentData ", this.getCard);
+ // console.log("this.getCard--studentData ", this.getCard);
}
if (
Object.keys(data.usersData).length != 0 &&
data.usersData.constructor === Object
) {
this.getCard = response.data.data.usersData;
- console.log("this.getCard--usersData ", this.getCard);
+ // console.log("this.getCard--usersData ", this.getCard);
}
// console.log("this.getCard--all ", response.data.data);
this.showLoader = false;
@@ -736,7 +741,7 @@ export default {
})
.catch(error => {
this.showLoader = false;
- console.log("error", error.response.data.errors);
+ // console.log("error", error.response.data.errors);
if (error.response.data.errors) {
this.snackbar = true;
this.text = " Field is required";
@@ -746,6 +751,7 @@ export default {
}
},
getTeacherList() {
+ this.getSelectUserData = [];
this.showLoader = true;
var token = this.$store.state.token;
http()
@@ -753,7 +759,11 @@ export default {
headers: { Authorization: "Bearer " + token }
})
.then(response => {
- this.teacherList = response.data.data;
+ response.data.data.unshift({
+ name: "Select All",
+ _id: "Select All"
+ });
+ this.getSelectUserData = response.data.data;
this.showLoader = false;
})
.catch(error => {
@@ -766,6 +776,7 @@ export default {
});
},
getUsersList(role) {
+ this.getSelectUserData = [];
this.showLoader = true;
var token = this.$store.state.token;
http()
@@ -773,7 +784,11 @@ export default {
headers: { Authorization: "Bearer " + token }
})
.then(response => {
- this.Users = response.data.data;
+ response.data.data.unshift({
+ name: "Select All",
+ _id: "Select All"
+ });
+ this.getSelectUserData = response.data.data;
this.showLoader = false;
})
.catch(error => {
diff --git a/src/pages/Report/progressCardReport.vue b/src/pages/Report/progressCardReport.vue
index 24e49f9..11bb810 100644
--- a/src/pages/Report/progressCardReport.vue
+++ b/src/pages/Report/progressCardReport.vue
@@ -103,8 +103,6 @@
-
-
-
-
", response.data.data);
})
.catch(error => {
console.log("err====>", error);
@@ -619,11 +611,11 @@ export default {
this.userData = response.data.data;
})
.catch(error => {
- // if (error.response.status === 401) {
- // this.$router.replace({ path: "/" });
- // this.$store.dispatch("setToken", null);
- // this.$store.dispatch("Id", null);
- // }
+ if (error.response.status === 401) {
+ this.$router.replace({ path: "/" });
+ this.$store.dispatch("setToken", null);
+ this.$store.dispatch("Id", null);
+ }
});
}
}
diff --git a/src/pages/Students/students.vue b/src/pages/Students/students.vue
index 5e8533e..85bdc30 100644
--- a/src/pages/Students/students.vue
+++ b/src/pages/Students/students.vue
@@ -15,9 +15,7 @@
-
+
-
+
@@ -866,7 +864,13 @@
- Find
+ Find
@@ -921,7 +925,14 @@
- Find
+ Find
@@ -966,9 +977,7 @@
/>
View
-
+
Edit
-
+
@@ -1582,7 +1590,6 @@
placeholder="fill your MobileNo"
name="mobileNo"
type="number"
-
>
@@ -1944,8 +1951,8 @@ export default {
v => v <= 10000000000 || "Max 10 characters is required"
],
password: [
- v => !!v || "Password field is Required.",
- // v => (/^(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%^&*])(?=.{8,})/).test(v) && v.length >= 8
+ v => !!v || "Password field is Required."
+ // v => (/^(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%^&*])(?=.{8,})/).test(v) && v.length >= 8
],
mobileNoRule: [v => !!v || " Mobile Number is required"],
establishmentYearRules: [v => !!v || " Academic Year is required"],
@@ -2121,7 +2128,7 @@ export default {
},
dates: function(date) {
return moment(date).format("MMMM DD, YYYY");
- return date
+ return date;
},
onFilePicked(e) {
// console.log(e)
@@ -2366,6 +2373,7 @@ export default {
}
},
getParentDetails() {
+ console.log("AYYYYYYYYYYYYYYYYYYAAAAAAAAAAAAAAA");
if (this.parentData.fatherCellNo.length > 9) {
this.showLoader = true;
http()
diff --git a/src/pages/changeStudents/changeStudents.vue b/src/pages/changeStudents/changeStudents.vue
new file mode 100644
index 0000000..e67e55c
--- /dev/null
+++ b/src/pages/changeStudents/changeStudents.vue
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Change
+
+
+ {{ text }}
+
+
+
+
+
+
+
+
diff --git a/src/router/paths.js b/src/router/paths.js
index 870b904..4e88909 100644
--- a/src/router/paths.js
+++ b/src/router/paths.js
@@ -806,6 +806,18 @@ export default [{
)
},
{
+ path: '/courseDetail',
+ meta: {},
+ name: 'Course Detail',
+ props: (route) => ({ type: route.query.type }),
+ component: () =>
+ import (
+ /* webpackChunkName: "routes" */
+ /* webpackMode: "lazy-once" */
+ `@/pages/Course/courseDetail.vue`
+ )
+ },
+ {
path: '/enrollStudents',
meta: {},
name: 'Enroll Students',
@@ -818,6 +830,18 @@ export default [{
)
},
{
+ path: '/changeStudents',
+ meta: {},
+ name: 'Change Students',
+ props: (route) => ({ type: route.query.type }),
+ component: () =>
+ import (
+ /* webpackChunkName: "routes" */
+ /* webpackMode: "lazy-once" */
+ `@/pages/changeStudents/changeStudents.vue`
+ )
+ },
+ {
path: '/annoucement',
meta: {},
name: 'Annoucement',