SanHQin 2 months ago
parent
commit
b7a5eed25f

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.32efcddf2a2c98c6095a3994ca70aece.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.161e82026ac2ae03ab6f.js></script><script type=text/javascript src=./static/js/vendor.bb486323f0fa002ba2e7.js></script><script type=text/javascript src=./static/js/app.eb155223271de066a91c.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.137141548ac3110c35160d7a9057214e.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.161e82026ac2ae03ab6f.js></script><script type=text/javascript src=./static/js/vendor.bb486323f0fa002ba2e7.js></script><script type=text/javascript src=./static/js/app.25ad5c505a471db56fe8.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.137141548ac3110c35160d7a9057214e.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.137141548ac3110c35160d7a9057214e.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.25ad5c505a471db56fe8.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.25ad5c505a471db56fe8.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/manifest.161e82026ac2ae03ab6f.js.map


File diff suppressed because it is too large
+ 0 - 0
src/assets/icon/test/noDataSvg.svg


+ 5 - 0
src/components/pages/test/check/index.vue

@@ -5052,6 +5052,11 @@ ${JSON.stringify(item.array)}
   margin: 5px;
 }
 
+.table_file{
+  max-height: 250px;
+  overflow-y:scroll ;
+}
+
 .table_file > .file {
   min-width: 100px;
   width: 100px;

+ 4 - 3
src/components/pages/test/data/randar2.vue

@@ -5,7 +5,7 @@
         </div>
     </div>
 </template>
-  
+
 <script>
 export default {
     props: {
@@ -104,6 +104,7 @@ export default {
             });
         },
         setJson(array) {
+            // array = array.filter(i=>i.kcount>0);
             this.ooption = {
                 xdata: [],
                 sdata: [],
@@ -142,7 +143,7 @@ export default {
     },
 };
 </script>
-  
+
 <style scoped>
 .data_body {
     height: 100%;
@@ -156,4 +157,4 @@ export default {
     width: 100%;
     /* background: #fff; */
 }
-</style>
+</style>

+ 19 - 2
src/components/pages/test/index.vue

@@ -101,8 +101,11 @@
                             <span>{{ 12 }}%</span>
                         </div> -->
                     </div>
-                    <div class="right" style="height: calc(100% - 20px);">
-                        <randar-2 :typeJArray="typeJArray"></randar-2>
+                    <div class= "right" style="height: calc(100% - 20px);">
+                        <div class="emptyArea" v-if="typeJArray.length<=0">
+                          <img src="../../../assets/icon/test/noDataSvg.svg">
+                        </div>
+                        <randar-2 :typeJArray="typeJArray" v-else></randar-2>
                     </div>
                 </div>
             </div>
@@ -846,6 +849,7 @@ export default {
             }
         },
         getCourse() {
+            if(this.isLoading)return;
             var typeE = [];
             var typea, typeb, typec, typed, typef;
             if (this.isChoose == 1) {
@@ -920,6 +924,7 @@ export default {
                 });
         },
         getCourse2() {
+          if(this.isLoading)return;
             this.isLoading = true;
             let params = {
                 oid: this.oid,
@@ -2476,4 +2481,16 @@ export default {
     width: calc(100% - 20px);
     margin: 0 auto;
 }
+
+.emptyArea{
+  width: 100%;
+  height: 100%;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+}
+
+.emptyArea>img{
+  height: 50%;
+}
 </style>

+ 6 - 0
src/components/pages/testStudent/view/preview.vue

@@ -250,6 +250,8 @@ export default {
             let cJson = this.setJSON(JSON.parse(JSON.stringify(this.cJson)))
             let cJson2 = this.setJSON(this.setJson2(JSON.parse(JSON.stringify(this.cJson2))))
 
+
+
             if (JSON.stringify(cJson) != JSON.stringify(cJson2)) {
               cJson2.forEach(i=>{
                 let _findIndex = this.cJson.findIndex(i2=> i2.ttype == i.ttype && i2.type == i.type && i2.json.title==i.json.title);
@@ -258,7 +260,11 @@ export default {
                 }
               })
 
+              console.log("这里xxx2",cJson,cJson2)
+
               this.cJson = JSON.parse(JSON.stringify(cJson2));
+
+
               this.isReset = true;
             }
 

Some files were not shown because too many files changed in this diff