lsc 2 yıl önce
ebeveyn
işleme
e19f6436d3

+ 1 - 1
dist/index.html

@@ -25,4 +25,4 @@
       height: 100%;
       width: 100%;
       background: #e6eaf0;
-    }</style><link href=./static/css/app.a13b10403dcced0632851f4d0b2a9808.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.85f48b0184f614b2b8d9.js></script><script type=text/javascript src=./static/js/vendor.e8eb4c1cc481dbb543fc.js></script><script type=text/javascript src=./static/js/app.759f6671bd075ab316a5.js></script></body></html><script>document.domain = document.domain.split(".").slice(-2).join(".");</script>
+    }</style><link href=./static/css/app.c9cd62f0834705a2d9a4dce1fd5388c7.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.85f48b0184f614b2b8d9.js></script><script type=text/javascript src=./static/js/vendor.e8eb4c1cc481dbb543fc.js></script><script type=text/javascript src=./static/js/app.1ca2e07d87d5714554ac.js></script></body></html><script>document.domain = document.domain.split(".").slice(-2).join(".");</script>

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/css/app.a13b10403dcced0632851f4d0b2a9808.css


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/css/app.a13b10403dcced0632851f4d0b2a9808.css.map


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/css/app.c9cd62f0834705a2d9a4dce1fd5388c7.css


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/css/app.c9cd62f0834705a2d9a4dce1fd5388c7.css.map


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/js/app.1ca2e07d87d5714554ac.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/js/app.1ca2e07d87d5714554ac.js.map


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/js/app.759f6671bd075ab316a5.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/js/app.759f6671bd075ab316a5.js.map


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/js/manifest.85f48b0184f614b2b8d9.js.map


+ 6 - 2
src/components/pages/components/report/courseInfo.vue

@@ -1,6 +1,6 @@
 <template>
-  <div v-if="Object.keys(courseInfo).length">
-    <div class="ci_info">
+  <div v-loading="isloading">
+    <div class="ci_info" v-if="Object.keys(courseInfo).length">
       <div class="ci_info_box">
         <span>项目名称:</span><span>{{ courseInfo.title }}</span>
       </div>
@@ -34,6 +34,7 @@ export default {
   props: ["courseid"],
   data() {
     return {
+      isloading:false,
       chartJson: {},
       courseInfo: {},
       teacher: "",
@@ -95,6 +96,7 @@ export default {
       }
     },
     getInfo() {
+      this.isloading = true
       let params = {
         cid: this.courseid,
       };
@@ -105,6 +107,7 @@ export default {
       this.ajax
         .get(this.$store.state.api + "getCourseInfo", params)
         .then((res) => {
+          this.isloading = false
           this.courseInfo = res.data[0][0];
           let teachers = res.data[1];
           let teacher = [];
@@ -163,6 +166,7 @@ export default {
           });
         })
         .catch((err) => {
+          this.isloading = false
           console.error(err);
         });
     },

+ 5 - 1
src/components/pages/components/report/coursePie.vue

@@ -1,5 +1,5 @@
 <template>
-  <div>
+  <div v-loading="isloading">
     <div style="width: 95%; height: calc(100% - 40px); margin: 20px auto;">
       <!-- <img src="../../assets/dataimage/1.png" style="width:90%" /> -->
       <!-- <div
@@ -62,6 +62,7 @@ export default {
   props: ["userid", "courseid"],
   data() {
     return {
+      isloading:false,
       workJson: [],
       chartObj: null,
       tdata: [],
@@ -125,6 +126,7 @@ export default {
       }
     },
     getInfo() {
+      this.isloading = true
       let params = {
         uid: this.userid,
         cid: this.courseid,
@@ -136,6 +138,7 @@ export default {
       this.ajax
         .get(this.$store.state.api + "getUserInfo", params)
         .then((res) => {
+          this.isloading = false
           let chapters = JSON.parse(res.data[2][0].chapters);
           var tool = 0;
           let workJson = []
@@ -206,6 +209,7 @@ export default {
           this.setChart();
         })
         .catch((err) => {
+          this.isloading = false
           console.error(err);
         });
     },

+ 5 - 1
src/components/pages/components/report/courseRadar.vue

@@ -1,5 +1,5 @@
 <template>
-  <div>
+  <div v-loading="isloading">
     <div style="width: 95%; height: calc(100%);margin: 0 auto;">
       <!-- <img src="../../assets/dataimage/1.png" style="width:90%" /> -->
       <div id="charts_canvas" class="echart" style="width: 100%; height: 100%"></div>
@@ -12,6 +12,7 @@ export default {
   props: ["userid", "courseid"],
   data() {
     return {
+      isloading:false,
       workJson: [],
       chartObj: null,
       option: {
@@ -90,6 +91,7 @@ export default {
       }
     },
     getInfo() {
+      this.isloading = true
       let params = {
         uid: this.userid,
         cid: this.courseid,
@@ -101,6 +103,7 @@ export default {
       this.ajax
         .get(this.$store.state.api + "getUserInfo", params)
         .then((res) => {
+          this.isloading = false
           let chapters = JSON.parse(res.data[2][0].chapters);
           var tool = 0;
           let workJson = []
@@ -174,6 +177,7 @@ export default {
           this.setChart();
         })
         .catch((err) => {
+          this.isloading = false
           console.error(err);
         });
     },

+ 5 - 1
src/components/pages/components/report/studentAbility.vue

@@ -1,5 +1,5 @@
 <template>
-  <div>
+  <div v-loading="isloading">
     <div style="background: #fff; padding: 10px 0; height: 100%">
       <div class="sd_person_button">
         <span @click="setType(1)" :class="{ active: type == 1 }">项目目标设置</span>
@@ -47,6 +47,7 @@ export default {
   props: ["userid", "courseid"],
   data() {
     return {
+      isloading:false,
       chartObj2: null,
       chartObj3: null,
       color: [],
@@ -355,6 +356,7 @@ export default {
       }
     },
     getInfo() {
+      this.isloading = true
       let params = {
         uid: this.userid,
         cid: this.courseid,
@@ -366,6 +368,7 @@ export default {
       this.ajax
         .get(this.$store.state.api + "getUserInfo", params)
         .then((res) => {
+          this.isloading = false
           let chapters = JSON.parse(res.data[2][0].chapters);
           var tool = 0;
           let workJson = []
@@ -532,6 +535,7 @@ export default {
           this.workW = _workW
         })
         .catch((err) => {
+          this.isloading = false
           console.error(err);
         });
     },

+ 7 - 3
src/components/pages/components/report/studentInfo.vue

@@ -1,6 +1,6 @@
 <template>
-  <div v-if="Object.keys(userinfo).length">
-    <div class="si_head">
+  <div v-loading="isloading">
+    <div class="si_head"  v-if="Object.keys(userinfo).length">
       <img class="si_img" src="@/assets/portal.png" alt="" />
       <div class="si_content">
         <div>
@@ -16,7 +16,7 @@
         </div>
       </div>
     </div>
-    <div class="si_course">
+    <div class="si_course"  v-if="Object.keys(userinfo).length">
       <div class="si_course_head">项目概况</div>
       <div class="si_course_content">
         <div class="si_course_box">
@@ -51,6 +51,7 @@ export default {
       iscount: 0,
       islearn: 0,
       ccount: 0,
+      isloading:false,
     };
   },
   methods: {
@@ -68,6 +69,7 @@ export default {
       }
     },
     getInfo() {
+      this.isloading = true
       let params = {
         uid: this.userid,
         cid: this.courseid,
@@ -79,6 +81,7 @@ export default {
       this.ajax
         .get(this.$store.state.api + "getUserInfo", params)
         .then((res) => {
+          this.isloading = false
           let chapters = JSON.parse(res.data[2][0].chapters);
           var tool = 0;
           for (var i = 0; i < chapters.length; i++) {
@@ -115,6 +118,7 @@ export default {
           this.vcount = 0;
         })
         .catch((err) => {
+          this.isloading = false
           console.error(err);
         });
     },

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor