HZH 5 anni fa
parent
commit
e5bcefa062

+ 2 - 1
src/components/RestPage.vue

@@ -119,7 +119,8 @@ export default {
         clearInterval(this.interval);
         delete this.paper.breakTimeSec;
         localStorage.setItem('testPaper%' + this.$store.state.loginUser.id + '%' + this.paper.id, JSON.stringify(this.paper));
-        this.dialogVisible = true;
+        // this.dialogVisible = true;
+        this.handleClose();
     },
     jump() {
         this.$confirm('确认跳过休息?', '提示', {confirmButtonText: '确定',cancelButtonText: '取消',type: 'warning'}).then(() => {

+ 6 - 6
src/components/doTest/doTest.html

@@ -4,8 +4,8 @@
             <button class="quit-bt" @click="quitTest">放弃</button>
         </div>
         <div>
-            <!-- <label>模块{{paper.currentSection}}</label> -->
-            <label>{{tempModeName[paper.currentSection]}}</label>
+            <label>模块{{tempModeName2[paper.currentSection]}}</label>
+            <!-- <label>{{tempModeName[paper.currentSection]}}</label> -->
             <i class="split-line"></i>
             <label>{{paper.questions[paper.currentQuestion].correctNum > 1?'多选题':'单选题'}}</label>
         </div>
@@ -40,8 +40,8 @@
                 <p style="background: #F39B77;color: white;border: solid 1px black">标记</p>
             </div>
             <div class="answer-card">
-                <!-- <p>模块{{paper.currentSection}}</p> -->
-                <p>{{tempModeName[paper.currentSection]}}</p>
+                <p>模块{{tempModeName2[paper.currentSection]}}</p>
+                <!-- <p>{{tempModeName[paper.currentSection]}}</p> -->
                 <button v-for="(item,index) in paper.questions" v-show="paper.currentSection == item.section || paper.currentSection == item.section * -1" @click="changePage(index)"
                         :class="{'hasAns':(paper.questions[index].ans != null && paper.questions[index].ans != ''),'flagColor':paper.questions[index].flag}">
                     {{index - paper.indexRange[paper.currentSection - 1].min + 1}}
@@ -117,8 +117,8 @@
         :visible.sync="dialogVisible1"
         width="300px"
         :before-close="handleClose1">
-        <!-- <span>模块{{paper.currentSection}}结束!</span> -->
-        <span v-if="!dialog1Flag">{{tempModeName[paper.currentSection]}}结束!</span>
+        <span v-if="!dialog1Flag">模块{{tempModeName2[paper.currentSection]}}结束!</span>
+        <!-- <span v-if="!dialog1Flag">{{tempModeName[paper.currentSection]}}结束!</span> -->
         <span v-if="dialog1Flag">时间结束,停止作答!</span>
         <span slot="footer" class="dialog-footer">
             <el-button type="primary" @click="handleClose1">确 定</el-button>

+ 5 - 3
src/components/doTest/doTest.js

@@ -29,7 +29,8 @@ export default {
         dialogVisible2: false,
         dialog1Flag: false,
         loading:false,
-        tempModeName:{'1':"A卷",'2':"B卷",'3':"C卷"},
+        tempModeName:{'1':"A卷",'2':"B卷",'3':"C卷",'4':"D卷",'5':"E卷"},
+        tempModeName2:{'1':"一",'2':"二",'3':"三",'4':"四",'5':"五"},
       }
     },
     created() {
@@ -169,8 +170,9 @@ export default {
             clearInterval(this.interval);
             clearInterval(this.singleInterval);
             if(this.paper.currentSection < this.paper.indexRange.length){
-                this.dialogVisible1 = true;
-                this.dialog1Flag = flag == 'time';
+                // this.dialogVisible1 = true;
+                // this.dialog1Flag = flag == 'time';
+                this.handleClose1();
             }
             else {
                 localStorage.setItem('testPaper%' + this.$store.state.loginUser.id + '%' + this.paper.id, JSON.stringify(this.paper));

File diff suppressed because it is too large
+ 0 - 0
static/css/group-doTest.167ab6da.css


+ 1 - 1
static/index.html

@@ -31,4 +31,4 @@
           if(window.confirm("您的浏览器版本过低,推荐使用IE10及以上浏览器或者chrome浏览器,点击确定下载chrome安装浏览器。若是360等浏览器,开启兼容模式")){
               window.open("/download/44.0.2403.89_chrome_installer.exe", "_blank");
           }
-      }</script><link href=/css/group-app.000700aa.css rel=prefetch><link href=/css/group-controlApp.c846d1f3.css rel=prefetch><link href=/css/group-controlApp~group-doTest.40e89122.css rel=prefetch><link href=/css/group-doTest.c440bfd3.css rel=prefetch><link href=/css/group-mainPage.4239d005.css rel=prefetch><link href=/js/group-app.24429b9c.js rel=prefetch><link href=/js/group-controlApp.1602c604.js rel=prefetch><link href=/js/group-controlApp~group-doTest.68232a9c.js rel=prefetch><link href=/js/group-doTest.18d01b3c.js rel=prefetch><link href=/js/group-mainPage.0c0574a3.js rel=prefetch><link href=/css/app.e9f156cc.css rel=preload as=style><link href=/css/chunk-vendors.723a90c8.css rel=preload as=style><link href=/js/app.f30623f1.js rel=preload as=script><link href=/js/chunk-vendors.2493bbd2.js rel=preload as=script><link href=/css/chunk-vendors.723a90c8.css rel=stylesheet><link href=/css/app.e9f156cc.css rel=stylesheet></head><body><noscript><strong>We're sorry but my-project doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.2493bbd2.js></script><script src=/js/app.f30623f1.js></script></body></html>
+      }</script><link href=/css/group-app.000700aa.css rel=prefetch><link href=/css/group-controlApp.c846d1f3.css rel=prefetch><link href=/css/group-controlApp~group-doTest.40e89122.css rel=prefetch><link href=/css/group-doTest.167ab6da.css rel=prefetch><link href=/css/group-mainPage.4239d005.css rel=prefetch><link href=/js/group-app.24429b9c.js rel=prefetch><link href=/js/group-controlApp.1602c604.js rel=prefetch><link href=/js/group-controlApp~group-doTest.68232a9c.js rel=prefetch><link href=/js/group-doTest.1d348c2f.js rel=prefetch><link href=/js/group-mainPage.0c0574a3.js rel=prefetch><link href=/css/app.e9f156cc.css rel=preload as=style><link href=/css/chunk-vendors.723a90c8.css rel=preload as=style><link href=/js/app.e75bd37a.js rel=preload as=script><link href=/js/chunk-vendors.2493bbd2.js rel=preload as=script><link href=/css/chunk-vendors.723a90c8.css rel=stylesheet><link href=/css/app.e9f156cc.css rel=stylesheet></head><body><noscript><strong>We're sorry but my-project doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.2493bbd2.js></script><script src=/js/app.e75bd37a.js></script></body></html>

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


File diff suppressed because it is too large
+ 0 - 0
static/js/group-doTest.18d01b3c.js


File diff suppressed because it is too large
+ 0 - 0
static/js/group-doTest.1d348c2f.js


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