页面跳转
This commit is contained in:
1 parent
39fec02239
commit
c00f08a8e0
4 files changed
+5
-69
No files matched your search
@@ -472,10 +472,8 @@ class Index extends BaseController
|
||||
|
||||
if($data){
|
||||
$this->success($msg = '删除成功', $url = '/chengji/index/deletecjs/'.$src['kaoshi'], $data = '', $wait = 3, $header = []);
|
||||
$this->error('成绩删除失败');
|
||||
$this->success('成绩删除成功','/chengji/index/deletecjs/'.$src['kaoshi']);
|
||||
}else{
|
||||
$this->error('成绩删除失败');
|
||||
$this->error($msg = '删除失败', $url = '/chengji/index/deletecjs/'.$src['kaoshi'], $wait = 3);
|
||||
}
|
||||
|
||||
// 根据更新结果设置返回提示信息
|
||||
|
||||
+4
-4
@@ -7,8 +7,8 @@
|
||||
*/
|
||||
return[
|
||||
// 默认跳转页面对应的模板文件
|
||||
// 'dispatch_success_tmpl' => app()->getRootPath().'/vendor/liliuwei/thinkphp-jump/src/tpl/dispatch_jump.tpl',
|
||||
// 'dispatch_error_tmpl' => app()->getRootPath().'/vendor/liliuwei/thinkphp-jump/src/tpl/dispatch_jump.tpl',
|
||||
'dispatch_success_tmpl' => app()->getRootPath().'/public/error/success.tpl',
|
||||
'dispatch_error_tmpl' => app()->getRootPath().'/public/error/error.tpl',
|
||||
'dispatch_success_tmpl' => app()->getRootPath().'/vendor/liliuwei/thinkphp-jump/src/tpl/dispatch_jump.tpl',
|
||||
'dispatch_error_tmpl' => app()->getRootPath().'/vendor/liliuwei/thinkphp-jump/src/tpl/dispatch_jump.tpl',
|
||||
// 'dispatch_success_tmpl' => app()->getRootPath().'/public/error/success.tpl',
|
||||
// 'dispatch_error_tmpl' => app()->getRootPath().'/public/error/error.tpl',
|
||||
];
|
||||
@@ -1,27 +0,0 @@
|
||||
<!doctype html>
|
||||
<html class="x-admin-sm">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>后台登录-X-admin2.1</title>
|
||||
<meta name="renderer" content="webkit|ie-comp|ie-stand">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
|
||||
<meta http-equiv="Cache-Control" content="no-siteapp" />
|
||||
|
||||
<link rel="stylesheet" href="__STATIC__/xadmin/css/font.css">
|
||||
<link rel="stylesheet" href="__STATIC__/xadmin/css/xadmin.css">
|
||||
</head>
|
||||
<title>系统提示</title>
|
||||
<body>
|
||||
<body>
|
||||
<div class="layui-container">
|
||||
<div class="fly-panel">
|
||||
<div class="fly-none">
|
||||
<h2><i class="layui-icon layui-icon-404"></i></h2>
|
||||
<p><?php echo(strip_tags($msg));?>,啥都看不到了…</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id= "hrel"></div>
|
||||
</body>
|
||||
</html>
|
||||
Loaded 3 of 4 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user