zengyicheng 1 سال پیش
والد
کامیت
b5d4f83fc6

+ 1 - 1
dist/index.html

@@ -24,4 +24,4 @@
             height: 100%;
             width: 100%;
             background: #e6eaf0;
-        }</style><link href=./static/css/app.513c618f8330ca5a4df64eb0c4a71800.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.f73e1f5407603f6a733b.js></script><script type=text/javascript src=./static/js/vendor.0c21445a4cd992a83ee9.js></script><script type=text/javascript src=./static/js/app.fd5eb574f00011e3d11d.js></script></body></html><script>document.domain = document.domain.split(".").slice(-2).join(".");</script>
+        }</style><link href=./static/css/app.ce74957407d0023d4a8f16a6e566cfee.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.f73e1f5407603f6a733b.js></script><script type=text/javascript src=./static/js/vendor.0c21445a4cd992a83ee9.js></script><script type=text/javascript src=./static/js/app.c6cf2c0f21951d2c8083.js></script></body></html><script>document.domain = document.domain.split(".").slice(-2).join(".");</script>

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/css/app.ce74957407d0023d4a8f16a6e566cfee.css


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/css/app.ce74957407d0023d4a8f16a6e566cfee.css.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/js/app.c6cf2c0f21951d2c8083.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/js/app.c6cf2c0f21951d2c8083.js.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/js/app.fd5eb574f00011e3d11d.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/js/app.fd5eb574f00011e3d11d.js.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/js/manifest.f73e1f5407603f6a733b.js.map


+ 2 - 2
src/App.vue

@@ -174,13 +174,13 @@ export default {
           a = 1;
           this.isShowNav = true;
         }
-        this.nav = navTabs;
+        this.nav = navTabs2;
       } else if (userInfo.type == 3) {
         if (navTabs3.indexOf(router_path) != -1) {
           a = 1;
           this.isShowNav = true;
         }
-        this.nav = navTabs;
+        this.nav = navTabs3;
       }
       if (a == 0) {
         this.nav = [];

+ 22 - 19
src/components/pages/disAdmin/score.vue

@@ -61,7 +61,6 @@
     <div
       class="pb_content_body"
       style="margin: 0 auto"
-      v-if="tableData.length > 0"
     >
       <div class="student_table">
         <el-table
@@ -338,24 +337,24 @@ export default {
       reCid: "",
     };
   },
-  mounted() {
-    this.$nextTick(function () {
-      this.tableHeight =
-        window.innerHeight - this.$refs.table.$el.offsetTop - 200;
-      if (this.tableHeight <= 530) {
-        this.tableHeight = 530;
-      }
-      // 监听窗口大小变化
-      let self = this;
-      window.onresize = function () {
-        self.tableHeight =
-          window.innerHeight - self.$refs.table.$el.offsetTop - 200;
-        if (self.tableHeight <= 530) {
-          self.tableHeight = 530;
-        }
-      };
-    });
-  },
+  // mounted() {
+  //   this.$nextTick(function () {
+  //     this.tableHeight =
+  //       window.innerHeight - this.$refs.table.$el.offsetTop - 200;
+  //     if (this.tableHeight <= 530) {
+  //       this.tableHeight = 530;
+  //     }
+  //     // 监听窗口大小变化
+  //     let self = this;
+  //     window.onresize = function () {
+  //       self.tableHeight =
+  //         window.innerHeight - self.$refs.table.$el.offsetTop - 200;
+  //       if (self.tableHeight <= 530) {
+  //         self.tableHeight = 530;
+  //       }
+  //     };
+  //   });
+  // },
   methods: {
     tableRowClassName({ row, rowIndex }) {
       if ((rowIndex + 1) % 2 === 0) {
@@ -496,10 +495,12 @@ export default {
           this.isLoading = false;
         })
         .catch((err) => {
+          this.isLoading = false;
           console.error(err);
         });
     },
     selectPwScore(p) {
+      this.isLoading = true;
       this.ajax
         .get(this.$store.state.api + "selectAllScore")
         .then((res) => {
@@ -528,9 +529,11 @@ export default {
             p[j].sum = isScore == 0 ? 0 : (sum / isScore).toFixed(2)
           }
           this.tableData = p;
+          this.isLoading = false;
           this.$forceUpdate();
         })
         .catch((err) => {
+          this.isLoading = false;
           console.error(err);
         });
     },

+ 22 - 19
src/components/pages/munAdmin/score.vue

@@ -61,7 +61,6 @@
     <div
       class="pb_content_body"
       style="margin: 0 auto"
-      v-if="tableData.length > 0"
     >
       <div class="student_table">
         <el-table
@@ -338,24 +337,24 @@ export default {
       reCid: "",
     };
   },
-  mounted() {
-    this.$nextTick(function () {
-      this.tableHeight =
-        window.innerHeight - this.$refs.table.$el.offsetTop - 200;
-      if (this.tableHeight <= 530) {
-        this.tableHeight = 530;
-      }
-      // 监听窗口大小变化
-      let self = this;
-      window.onresize = function () {
-        self.tableHeight =
-          window.innerHeight - self.$refs.table.$el.offsetTop - 200;
-        if (self.tableHeight <= 530) {
-          self.tableHeight = 530;
-        }
-      };
-    });
-  },
+  // mounted() {
+  //   this.$nextTick(function () {
+  //     this.tableHeight =
+  //       window.innerHeight - this.$refs.table.$el.offsetTop - 200;
+  //     if (this.tableHeight <= 530) {
+  //       this.tableHeight = 530;
+  //     }
+  //     // 监听窗口大小变化
+  //     let self = this;
+  //     window.onresize = function () {
+  //       self.tableHeight =
+  //         window.innerHeight - self.$refs.table.$el.offsetTop - 200;
+  //       if (self.tableHeight <= 530) {
+  //         self.tableHeight = 530;
+  //       }
+  //     };
+  //   });
+  // },
   methods: {
     tableRowClassName({ row, rowIndex }) {
       if ((rowIndex + 1) % 2 === 0) {
@@ -495,10 +494,12 @@ export default {
           this.isLoading = false;
         })
         .catch((err) => {
+          this.isLoading = false;
           console.error(err);
         });
     },
     selectPwScore(p) {
+      this.isLoading = true;
       this.ajax
         .get(this.$store.state.api + "selectAllScore")
         .then((res) => {
@@ -527,9 +528,11 @@ export default {
             p[j].sum = isScore == 0 ? 0 : (sum / isScore).toFixed(2)
           }
           this.tableData = p;
+          this.isLoading = false;
           this.$forceUpdate();
         })
         .catch((err) => {
+          this.isLoading = false;
           console.error(err);
         });
     },

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است