|
@@ -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();
|
|
|
}
|
|
|
-
|
|
|
});
|
|
|
});
|
|
|
|