Browse Source

202508121 考试交接逻辑调整

贾小兵 2 weeks ago
parent
commit
1d10b19ffb
1 changed files with 4 additions and 4 deletions
  1. 4 4
      public/assets/js/backend/student/collection.js

+ 4 - 4
public/assets/js/backend/student/collection.js

@@ -291,13 +291,14 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                 //     Layer.close(index);
                 //     $("#update-form").submit();
                 // });
-                Layer.confirm("确定交卷?<br/>交卷后无法再修改维修报告和进行维修。", {
-                    type: 3,
-                    skin: '提示'
+                Layer.confirm(__('确定交卷?<br/>交卷后无法再修改维修报告和进行维修。'), {
+                    icon: 3,
+                    title: '提示'
                 }, function (index) {
                     if(Config.is_fault){
                         Fast.api.ajax({
                             url: Config.url_type+"/sim/real-exam/student/exam/submit/"+Config.exam_id+"?ip="+Config.server_ip,
+                            type: 'get',
                         }, function (data) {
                             console.log(data);
                             if(data.code==200 ){
@@ -310,7 +311,6 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                     }else{
                         $("#update-form").submit();
                     }
-
                 });
             });