|
|
@@ -146,7 +146,7 @@ import EvalCard from "@/components/EvalCard";
|
|
|
import CoderCard from "@/components/CoderCard";
|
|
|
import MyCourseCard from "@/views/PortalPage/components/MyCourseCard";
|
|
|
import MyTestCard from "@/views/PortalPage/components/MyTestCard";
|
|
|
-import { Lock, SetUp, ShoppingCart } from "@element-plus/icons-vue";
|
|
|
+import {Lock, SetUp, ShoppingCart} from "@element-plus/icons-vue";
|
|
|
|
|
|
export default {
|
|
|
//数据
|
|
|
@@ -219,7 +219,7 @@ export default {
|
|
|
this.myCourseLoading = false;
|
|
|
that.handleResize();
|
|
|
});
|
|
|
- this.$apis.getStudentEvalExams({ state: 0 }).then(res => {
|
|
|
+ this.$apis.getStudentEvalExams({state: 0}).then(res => {
|
|
|
this.myEvalExamList = res.data.data.examVOList;
|
|
|
this.myTestLoading = false;
|
|
|
that.handleResize();
|
|
|
@@ -229,6 +229,11 @@ export default {
|
|
|
this.myTestLoading = false;
|
|
|
that.handleResize();
|
|
|
});
|
|
|
+ this.$apis.getUnreadAnnouncements(this.$store.state.user.id)
|
|
|
+ .then(res => {
|
|
|
+ console.log(res);
|
|
|
+ })
|
|
|
+ .catch();
|
|
|
}
|
|
|
|
|
|
await this.$nextTick(() => {
|