zhangjie 3 jaren geleden
bovenliggende
commit
32bc31c0f9

+ 11 - 6
src/assets/styles/icons.scss

@@ -15,32 +15,37 @@
   }
   // menu
   &-exam {
-    background-image: url(../images/college/icon-exam.png);
+    background-image: url(../images/icon-exam.png);
     width: 16px;
     height: 16px;
   }
   &-report {
-    background-image: url(../images/college/icon-report.png);
+    background-image: url(../images/icon-report.png);
     width: 16px;
     height: 16px;
   }
   &-base {
-    background-image: url(../images/college/icon-base.png);
+    background-image: url(../images/icon-base.png);
     width: 14px;
     height: 16px;
   }
   &-customer {
-    background-image: url(../images/college/icon-customer.png);
+    background-image: url(../images/icon-customer.png);
     width: 16px;
     height: 16px;
   }
   &-workspace {
-    background-image: url(../images/college/icon-workspace.png);
+    background-image: url(../images/icon-workspace.png);
     width: 16px;
     height: 16px;
   }
   &-logout {
-    background-image: url(../images/college/icon-logout.png);
+    background-image: url(../images/icon-logout.png);
+    width: 16px;
+    height: 16px;
+  }
+  &-account {
+    background-image: url(../images/icon-account.png);
     width: 16px;
     height: 16px;
   }

+ 1 - 0
src/components/ExamSelect.vue

@@ -50,6 +50,7 @@ export default {
       }
     },
     semester(val, oldval) {
+      console.log(val, oldval);
       if (val !== oldval) {
         this.search();
         this.$emit("input", "");

+ 1 - 1
src/components/SemesterSelect.vue

@@ -47,7 +47,7 @@ export default {
     }
   },
   created() {
-    // this.search();
+    this.search();
   },
   methods: {
     async search() {

+ 1 - 1
src/modules/login/views/LoginAuthen.vue

@@ -52,7 +52,7 @@ export default {
 
       this.$ls.set("token", data.accessToken);
 
-      this.$router.push({
+      this.$router.replace({
         name: "Home"
       });
     }

+ 1 - 0
src/plugins/filters.js

@@ -1,5 +1,6 @@
 import Vue from "vue";
 import { PUBLISH_STATUS } from "../constants/enumerate";
+import { formatDate } from "./utils";
 
 const DEFAULT_FIELD = "--";