lsc il y a 1 an
Parent
commit
d5f1bcb02d

+ 1 - 1
dist/index.html

@@ -25,7 +25,7 @@
       height: 100%;
       width: 100%;
       background: #e6eaf0;
-    }</style><link href=./static/css/app.5ef8d7cad13f8d91e19ed30f28ecb4a1.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3512a67a6213c2df4180.js></script><script type=text/javascript src=./static/js/vendor.f4313154be2b51e16fef.js></script><script type=text/javascript src=./static/js/app.906a17b2ccab545d0c51.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.ca6b6f4b0695f46967fd73bcf466735f.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3512a67a6213c2df4180.js></script><script type=text/javascript src=./static/js/vendor.f4313154be2b51e16fef.js></script><script type=text/javascript src=./static/js/app.90918639148b10928b51.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/static/css/app.ca6b6f4b0695f46967fd73bcf466735f.css


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/static/css/app.ca6b6f4b0695f46967fd73bcf466735f.css.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/static/js/app.90918639148b10928b51.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/static/js/app.90918639148b10928b51.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/static/js/manifest.3512a67a6213c2df4180.js.map


+ 11 - 11
src/components/pages/EnglishVoice/component/check.vue

@@ -63,17 +63,17 @@ export default {
                         }
                     ]
                 },
-                // {
-                //     name:'对话',
-                //     open: true,
-                //     children:[
-                //         {
-                //             icon:icon_check_addUser,
-                //             name:'创建角色',
-                //             type:'createRole'
-                //         }
-                //     ]
-                // },
+                {
+                    name:'对话',
+                    open: true,
+                    children:[
+                        {
+                            icon:icon_check_addUser,
+                            name:'创建角色',
+                            type:'createRole'
+                        }
+                    ]
+                },
                 {
                     name:'主题陈述',
                     open: true,

+ 3 - 1
src/components/pages/EnglishVoice/component/component/testRole.vue

@@ -183,7 +183,9 @@ export default {
             let audioFile = this.dataURLtoAudio(mp3Blob, "wav");
             console.log(audioFile);
             let iiframe = this.$refs['iiframe']
-            iiframe.contentWindow.doPronunciationAssessmentOnceAsync('', { files: [audioFile] })
+            // iiframe.contentWindow.doPronunciationAssessmentOnceAsync('', { files: [audioFile] })
+            iiframe.contentWindow.doContinuousPronunciationAssessment('', { files: [audioFile] })
+            
             this.isloading = true
             let _this = this
             iiframe.contentWindow.onRecognizedResult = function (e) {

+ 3 - 0
src/components/pages/dataBoardNew/course/chartList/toolUse.vue

@@ -88,6 +88,9 @@ export default {
           max: 10,
           calculable: true,
           orient: 'horizontal',
+          inRange: {
+            color: ['#fff', '#477cd7']
+          },
           right: '10',
           top: '0%'
         },

+ 3 - 0
src/components/pages/dataBoardNew/course/chartList/toolUse2.vue

@@ -88,6 +88,9 @@ export default {
           max: 10,
           calculable: true,
           orient: 'horizontal',
+          inRange: {
+            color: ['#fff', '#477cd7']
+          },
           right: '10',
           top: '0%'
         },

+ 3 - 0
src/components/pages/dataBoardNew/project/chartList/toolUse.vue

@@ -88,6 +88,9 @@ export default {
           max: 10,
           calculable: true,
           orient: 'horizontal',
+          inRange: {
+            color: ['#fff', '#477cd7']
+          },
           right: '10',
           top: '0%'
         },

+ 3 - 0
src/components/pages/dataBoardNew/school/barToolUser/index.vue

@@ -91,6 +91,9 @@ export default {
           max: 10,
           calculable: true,
           orient: 'horizontal',
+          inRange: {
+            color: ['#fff', '#477cd7']
+          },
           right: '10',
           top: '0%'
         },

+ 3 - 0
src/components/pages/dataBoardNew/school/toolUser/index.vue

@@ -88,6 +88,9 @@ export default {
           max: 10,
           calculable: true,
           orient: 'horizontal',
+          inRange: {
+            color: ['#fff', '#477cd7']
+          },
           right: '10',
           top: '0%'
         },

+ 29 - 24
src/components/pages/dataBoardNew/student/index.vue

@@ -685,7 +685,7 @@ export default {
           }
           loginCountMonthArray = loginCountMonthArray.reverse();
           for (var i = 0; i < _loginCount.length; i++) {
-            let _date = new Date(_loginCount[i].create_at);
+            let _date = new Date(_loginCount[i].time);
             var _month = _date.getMonth() + 1;
             var _year = _date.getFullYear();
             for (var j = 0; j < loginCountMonthArray.length; j++) {
@@ -693,7 +693,7 @@ export default {
                 _month == loginCountMonthArray[j].Month &&
                 _year == loginCountMonthArray[j].Year
               ) {
-                loginCountMonthArray[j].user++;
+                loginCountMonthArray[j].user+=_loginCount[i].usernum;
                 break;
               }
             }
@@ -733,7 +733,7 @@ export default {
           }
           loginCountYearArray = loginCountYearArray.reverse();
           for (var i = 0; i < loginCountYear.length; i++) {
-            let _date = new Date(loginCountYear[i].create_at);
+            let _date = new Date(loginCountYear[i].time);
             var _month = _date.getMonth() + 1;
             var _year = _date.getFullYear();
             var _day = _date.getDay();
@@ -743,7 +743,7 @@ export default {
                 _month == loginCountYearArray[j].Month &&
                 _year == loginCountYearArray[j].Year
               ) {
-                loginCountYearArray[j][dayArray[_day]]++;
+                loginCountYearArray[j][dayArray[_day]]+=loginCountYear[i].usernum;
                 break;
               }
             }
@@ -754,7 +754,7 @@ export default {
           this.loginTime = parseInt(res.data[7][0].time) / 60 / 60;
           let _loginTimeArray = res.data[9]; //在线时间
           let _classList = res.data[8]; //班级
-          this.classList = _classList.filter(el => {return el.studentCount > 0});
+          this.classList = _classList.filter(el => {return el.count > 0});
           this.cTypeRank = _classList[0].id
           let _EloginTimeArray = [];
           for (let i = 0; i < _classList.length; i++) {
@@ -765,7 +765,7 @@ export default {
             });
             for (let j = 0; j < _loginTimeArray.length; j++) {
               const _user = _loginTimeArray[j];
-              if (_user.classid.indexOf(_classList[i].id) != -1) {
+              if (_user.id.indexOf(_classList[i].id) != -1) {
                 _EloginTimeArray[i].loginTime += Number(_user.time);
               }
             }
@@ -791,7 +791,7 @@ export default {
           this.scourseJson.toolNum = res.data[17][0].count; //使用工具
           this.scourseJson.gcourseNum = res.data[18][0].count; //协同
 
-          let loginUser = res.data[20].length; //登录
+          let loginUser = res.data[20][0].count; //登录
           let worksEva = res.data[21][0].count; //评价
 
           this.courseArray = [
@@ -872,19 +872,23 @@ export default {
             });
             for (let j = 0; j < _studentWorksArray.length; j++) {
               const _user = _studentWorksArray[j];
-              if (_courseIdArray.length == 0) {
-                if (_user.classid.indexOf(_classList[i].id) != -1) {
-                  _EworksNumArray[i].works++;
-                  _courseIdArray.push(_user.courseid);
-                }
-              } else {
-                if (
-                  _user.classid.indexOf(_classList[i].id) != -1 &&
-                  _courseIdArray.indexOf(_user.courseid) == -1
-                ) {
-                  _EworksNumArray[i].works++;
-                }
+              if (_user.id.indexOf(_classList[i].id) != -1) {
+                  _EworksNumArray[i].works+=_user.count;
+                  // _courseIdArray.push(_user.courseid);
               }
+              // if (_courseIdArray.length == 0) {
+              //   if (_user.classid.indexOf(_classList[i].id) != -1) {
+              //     _EworksNumArray[i].works++;
+              //     _courseIdArray.push(_user.courseid);
+              //   }
+              // } else {
+              //   if (
+              //     _user.classid.indexOf(_classList[i].id) != -1 &&
+              //     _courseIdArray.indexOf(_user.courseid) == -1
+              //   ) {
+              //     _EworksNumArray[i].works++;
+              //   }
+              // }
             }
           }
 
@@ -930,7 +934,7 @@ export default {
             var _day = _date.getDay();
             let dayArray = ["sun", "mon", "tue", "wed", "thur", "fri", "sat"];
             for (var j = 0; j < loginCountYearArray2.length; j++) {
-              let time = (loginCountYear2[i].text / 3600).toFixed(0)
+              let time = (loginCountYear2[i].time / 3600).toFixed(0)
               time = parseInt(time) ? parseInt(time) : 0
               if (
                 _month == loginCountYearArray2[j].Month &&
@@ -954,8 +958,8 @@ export default {
             });
             for (let j = 0; j < _loginTimeArray2.length; j++) {
               const _user = _loginTimeArray2[j];
-              if (_user.classid.indexOf(_classList[i].id) != -1) {
-                _EloginTimeArray2[i].loginTime++;
+              if (_user.id.indexOf(_classList[i].id) != -1) {
+                _EloginTimeArray2[i].loginTime+=_user.count;
               }
             }
           }
@@ -1059,6 +1063,7 @@ export default {
       let _courseNumArray = this.courseNumArray; //参与课程数
       let _scourseNumArray = this.scourseNumArray; //参与项目数
       let _userArray = this.userArray; //参与项目数
+
       let _courseNum = 0;
       let _scourseNum = 0;
       let uArray = [];
@@ -1076,7 +1081,7 @@ export default {
       for (let i = 0; i < _courseNumArray.length; i++) {
         for (let j = 0; j < uArray.length; j++) {
           if (_courseNumArray[i].userid == uArray[j].userid) {
-            uArray[j].courseNum++;
+            uArray[j].courseNum+=_courseNumArray[i].count;
             _courseNum++;
             break;
           }
@@ -1086,7 +1091,7 @@ export default {
       for (let i = 0; i < _scourseNumArray.length; i++) {
         for (let j = 0; j < uArray.length; j++) {
           if (_scourseNumArray[i].userid == uArray[j].userid) {
-            uArray[j].scourseNum++;
+            uArray[j].scourseNum+=_scourseNumArray[i].count;
             _scourseNum++;
             break;
           }

+ 3 - 0
src/components/pages/dataBoardNew/student/toolUser/index.vue

@@ -88,6 +88,9 @@ export default {
           max: 10,
           calculable: true,
           orient: 'horizontal',
+          inRange: {
+            color: ['#fff', '#477cd7']
+          },
           right: '10',
           top: '0%'
         },

+ 3 - 0
src/components/pages/dataBoardNew/student/toolUser2/index.vue

@@ -88,6 +88,9 @@ export default {
           max: 10,
           calculable: true,
           orient: 'horizontal',
+          inRange: {
+            color: ['#fff', '#477cd7']
+          },
           right: '10',
           top: '0%'
         },

+ 3 - 0
src/components/pages/dataBoardNew/teacher/chartList/toolUse.vue

@@ -87,6 +87,9 @@ export default {
           max: 10,
           calculable: true,
           orient: 'horizontal',
+          inRange: {
+            color: ['#fff', '#477cd7']
+          },
           right: '10',
           top: '0%'
         },

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff