|
@@ -58,11 +58,11 @@ class Practice extends Backend
|
|
|
//提示页面,没有开始的考试
|
|
|
return $this->view->fetch('tishi');
|
|
|
}else{
|
|
|
-//// $this->redirect('/ZQOtIMLKud.php/student/collection/examing/ids/'.$isset['exam_id'].'?ref=addtabs');
|
|
|
-// echo "<script>location.href='/ZQOtIMLKud.php/student/collection/examing/ids/".$isset['exam_id']."';</script>";
|
|
|
+//// $this->redirect('/admin/student/collection/examing/ids/'.$isset['exam_id'].'?ref=addtabs');
|
|
|
+// echo "<script>location.href='/admin/student/collection/examing/ids/".$isset['exam_id']."';</script>";
|
|
|
// //$this->redirect('/hotelmanage/room/displayindex/ids/1');
|
|
|
// exit();
|
|
|
- echo "<script>location.href='/ZQOtIMLKud.php/student/practice/into/ids/".$isset['exam_collection_id']."'</script>";
|
|
|
+ echo "<script>location.href='/admin/student/practice/into/ids/".$isset['exam_collection_id']."'</script>";
|
|
|
}
|
|
|
die();
|
|
|
|
|
@@ -118,7 +118,7 @@ class Practice extends Backend
|
|
|
}
|
|
|
if(!empty($info['starttime']))
|
|
|
{
|
|
|
- echo "<script>location.href='/ZQOtIMLKud.php/student/practice/examing/ids/".$info['exam_id']."'</script>";
|
|
|
+ echo "<script>location.href='/admin/student/practice/examing/ids/".$info['exam_id']."'</script>";
|
|
|
die();
|
|
|
}
|
|
|
// if ($this->request->isPost()) {
|
|
@@ -129,7 +129,7 @@ class Practice extends Backend
|
|
|
// }
|
|
|
// $info->exam_status = 4;
|
|
|
// $info->save();
|
|
|
-// $this->success('开始成功','/ZQOtIMLKud.php/student/practice/examing/ids/'.$info['exam_id']);
|
|
|
+// $this->success('开始成功','/admin/student/practice/examing/ids/'.$info['exam_id']);
|
|
|
// }
|
|
|
$this->assignConfig('exam_id', $info['exam_id']);
|
|
|
$this->assignConfig('url_type', config('site.url_type'));
|
|
@@ -402,7 +402,7 @@ class Practice extends Backend
|
|
|
$this->error(__('No rows were inserted'));
|
|
|
}
|
|
|
|
|
|
- $this->success('交卷成功','/ZQOtIMLKud.php/student/practice/analysis/ids/'.$row['exam_id']);
|
|
|
+ $this->success('交卷成功','/admin/student/practice/analysis/ids/'.$row['exam_id']);
|
|
|
}
|
|
|
|
|
|
|
|
@@ -452,7 +452,7 @@ class Practice extends Backend
|
|
|
if ($this->request->isPost()) {
|
|
|
$params = $this->request->post('row/a');
|
|
|
//计算总分到学员考试表
|
|
|
- $this->success('操作成功','/ZQOtIMLKud.php/student/practice/index');
|
|
|
+ $this->success('操作成功','/admin/student/practice/index');
|
|
|
}
|
|
|
$row = Db::name('real_exam_score')->where('exam_id', $ids)->find();
|
|
|
if (!$row) {
|