Jelajahi Sumber

20250208 优化调整

贾小兵 2 bulan lalu
induk
melakukan
971442be16

+ 6 - 6
application/admin/controller/student/Collection.php

@@ -74,11 +74,11 @@ class Collection 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/collection/into/ids/".$isset['exam_collection_id']."'</script>";
+              echo "<script>location.href='/admin/student/collection/into/ids/".$isset['exam_collection_id']."'</script>";
         }
         die();
         //设置过滤方法
@@ -144,7 +144,7 @@ class Collection extends Backend
         }
         if(!empty($info['starttime']))
         {
-            echo "<script>location.href='/ZQOtIMLKud.php/student/collection/examing/ids/".$info['exam_id']."'</script>";
+            echo "<script>location.href='/admin/student/collection/examing/ids/".$info['exam_id']."'</script>";
             die();
         }
         $this->view->assign('info', $info);
@@ -417,7 +417,7 @@ class Collection extends Backend
             if ($result === false) {
                 $this->error(__('No rows were inserted'));
             }
-            $this->success('交卷成功,待老师确认成绩','/ZQOtIMLKud.php/student/exam/index');
+            $this->success('交卷成功,待老师确认成绩','/admin/student/exam/index');
         }
         if(empty($row->starttime)){
             $row->start_time = date('Y-m-d H:i:s');
@@ -695,7 +695,7 @@ class Collection extends Backend
         if ($this->request->isPost()) {
             $params = $this->request->post('row/a');
             //计算总分到学员考试表
-            $this->success('操作成功','/ZQOtIMLKud.php/student/collection/index');
+            $this->success('操作成功','/admin/student/collection/index');
         }
         return $this->view->fetch();
     }

+ 3 - 3
application/admin/controller/student/Exercise.php

@@ -122,7 +122,7 @@ class Exercise extends Backend
                 $this->error($e->getMessage());
             }
             if ($count) {
-                $this->success('开始成功','/ZQOtIMLKud.php/student/exercise/examing/ids/'.$count);
+                $this->success('开始成功','/admin/student/exercise/examing/ids/'.$count);
             }
             $this->error(__('No rows were updated'));
         }
@@ -389,7 +389,7 @@ class Exercise extends Backend
                 $this->error(__('No rows were inserted'));
             }
 
-            $this->success('交卷成功','/ZQOtIMLKud.php/student/exercise/analysis/ids/'.$row['exam_id']);
+            $this->success('交卷成功','/admin/student/exercise/analysis/ids/'.$row['exam_id']);
         }
         $isloading =1;
         if(empty($row->other_replace)){
@@ -429,7 +429,7 @@ class Exercise extends Backend
         if ($this->request->isPost()) {
             $params = $this->request->post('row/a');
             //计算总分到学员考试表
-            $this->success('操作成功','/ZQOtIMLKud.php/student/exercise/index');
+            $this->success('操作成功','/admin/student/exercise/index');
         }
         $row = Db::name('real_exam_score')->where('exam_id', $ids)->find();
         if (!$row) {

+ 7 - 7
application/admin/controller/student/Practice.php

@@ -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) {