Jelajahi Sumber

20250208 优化调整

贾小兵 2 bulan lalu
induk
melakukan
55ed9790ee

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

@@ -86,7 +86,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                         success: function (data) {
                             console.log(data);
                             if(data.code==200){
-                                window.location.href = '/ZQOtIMLKud.php/student/collection/examing/ids/'+Config.exam_id;
+                                window.location.href = '/admin/student/collection/examing/ids/'+Config.exam_id;
                             }else{
                                 Layer.alert(data.msg);
                                 return;
@@ -94,7 +94,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                         }
                     });
                 }else{
-                    window.location.href = '/ZQOtIMLKud.php/student/collection/examing/ids/'+Config.exam_id;
+                    window.location.href = '/admin/student/collection/examing/ids/'+Config.exam_id;
                 }
             });
         },

+ 2 - 2
public/assets/js/backend/student/practice.js

@@ -97,7 +97,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                     //     success: function (data) {
                     //         console.log(data);
                     //         if(data.code==200){
-                    //             window.location.href = '/ZQOtIMLKud.php/student/collection/examing/ids/'+Config.exam_id;
+                    //             window.location.href = '/admin/student/collection/examing/ids/'+Config.exam_id;
                     //         }else{
                     //             Layer.alert(data.msg);
                     //             return;
@@ -105,7 +105,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                     //     }
                     // });
                 }else{
-                    window.location.href = '/ZQOtIMLKud.php/student/practice/examing/ids/'+Config.exam_id;
+                    window.location.href = '/admin/student/practice/examing/ids/'+Config.exam_id;
                 }
             });
         },

+ 1 - 1
public/assets/js/backend/teacher/exams.js

@@ -346,7 +346,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','editable'], function
                     data:{ids:ids,params:'exam_collection_state=3'},  //重点必须为一个变量如:data
                     success:function(data){
                         if(data.code==1){
-                            Backend.api.closetabs('/ZQOtIMLKud.php/teacher/exams/persent/ids/'+Config.ids)
+                            Backend.api.closetabs('/admin/teacher/exams/persent/ids/'+Config.ids)
                             // Backend.api.addtabs('teacher/collection','考试列表');
                         }
                     },

+ 2 - 2
public/assets/js/backend/teacher/practice.js

@@ -254,7 +254,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
             //关闭考试 并且
             $(document).on('click', '.btn-closes', function () {
                 var ids  = Config.ids;
-                Backend.api.closetabs('/ZQOtIMLKud.php/teacher/practice/persent/ids/'+Config.ids)
+                Backend.api.closetabs('/admin/teacher/practice/persent/ids/'+Config.ids)
                 // Backend.api.addtabs('teacher/practice','练习列表');
                 // $.ajax({
                 //     type:'post',
@@ -262,7 +262,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                 //     data:{ids:ids,params:'exam_collection_state=3'},  //重点必须为一个变量如:data
                 //     success:function(data){
                 //         if(data.code==1){
-                //             Backend.api.closetabs('/ZQOtIMLKud.php/teacher/exams/persent/ids/'+Config.ids)
+                //             Backend.api.closetabs('/admin/teacher/exams/persent/ids/'+Config.ids)
                 //             Backend.api.addtabs('teacher/collection','考试列表');
                 //         }
                 //     },