diff --git a/app/admin/view/index/read.html b/app/admin/view/index/read.html new file mode 100644 index 00000000..e864ddc3 --- /dev/null +++ b/app/admin/view/index/read.html @@ -0,0 +1,72 @@ + + + + + {php}echo session('webtitle'){/php} + + + + {load href="__XADMIN__/css/font.css" /} + {load href="__XADMIN__/css/xadmin.css" /} + {load href="__XADMIN__/js/jquery.min.js" /} + {load href="__XADMIN__/lib/layui/layui.js" /} + {load href="__XADMIN__/js/xadmin.js" /} + {load href="__XADMIN__/js/cookie.js" /} + {load href="__XADMIN__/js/md5.min.js" /} + {$list.webtitle} + + +
+ +
+ 个人信息 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
帐号{$list.username}
姓名{$list.xingming}
性别{$list.sex}
出生日期{$list.shengri}
所在单位{$list.ad_school.title}
拥有角色 + {$list.groupnames} +
联系电话{$list.phone}
登录次数{$list.denglucishu}
上次登录{$list.lastip}         + {$list.lasttime}
本次登录{$list.ip}         + {$list.thistime}
注册时间{$list.create_time}
更新时间{$list.update_time}
+
+
+ + diff --git a/app/chengji/controller/Bjtongji.php b/app/chengji/controller/Bjtongji.php index e2f95919..97ab5011 100755 --- a/app/chengji/controller/Bjtongji.php +++ b/app/chengji/controller/Bjtongji.php @@ -18,13 +18,9 @@ class Bjtongji extends AdminBase ->field('id, title') ->find(); // 获取参与学校 - $cy = new \app\kaohao\model\SearchCanYu; $src['kaoshi_id'] = $kaoshi_id; - $list['school_id'] = $cy->school($src); - // 获取年级与学科 $ksset = new \app\kaoshi\model\KaoshiSet; - $list['nianji'] = $ksset->srcGrade($kaoshi_id); $list['subject_id'] = $ksset->srcSubject($src); // 设置要给模板赋值的信息 $list['webtitle'] = '各年级的班级成绩列表'; @@ -112,13 +108,6 @@ class Bjtongji extends AdminBase ,'url' => '/chengji/bjtj/dwxlsx' ,'kaoshi_id' => $kaoshi_id ); - // 获取参与学校 - $cy = new \app\kaohao\model\SearchCanYu; - $src['kaoshi_id'] = $kaoshi_id; - $list['set']['school_id'] = $cy->school($src); - // 获取年级与学科 - $ksset = new \app\kaoshi\model\KaoshiSet; - $list['set']['nianji'] = $ksset->srcGrade($kaoshi_id); // 模板赋值 $this->view->assign('list', $list); @@ -148,7 +137,7 @@ class Bjtongji extends AdminBase ->find(); $ksset = new \app\kaoshi\model\KaoshiSet; $xk = $ksset->srcSubject($src); - $njlist = nianJiNameList('str', $ksinfo->getData('bfdate')); # 参考年级 + $njlist = \app\facade\Tools::nianJiNameList($ksinfo->getData('bfdate')); # 参考年级 $nianji = $njlist[$src['ruxuenian']]; $school = new \app\system\model\School; # 学校、年级信息 $schoolname = $school->where('id', 'in', $src['school_id'])->value('jiancheng'); diff --git a/app/chengji/controller/Index.php b/app/chengji/controller/Index.php index 60a34ee3..6916c344 100755 --- a/app/chengji/controller/Index.php +++ b/app/chengji/controller/Index.php @@ -263,7 +263,7 @@ class Index extends AdminBase ->find(); // 获取考试年级名称 - $njlist = nianJiNameList('str', $ks->getData('bfdate')); + $njlist = \app\facade\Tools::nianJiNameList($ks->getData('bfdate')); $nianji = $njlist[$src['ruxuenian']]; $tabletitle = $ks->title . ' ' . $schoolname . ' ' . $nianji . ' ' . '学生成绩详细列表'; $colname = excelColumnName(); @@ -526,7 +526,7 @@ class Index extends AdminBase ->find(); // 获取考试年级名称 - $njlist = nianJiNameList('str', $ks->getData('bfdate')); + $njlist = \app\facade\Tools::nianJiNameList($ks->getData('bfdate')); $nianji = $njlist[$src['ruxuenian']]; $tabletitle = $ks->title . ' ' . $schoolname . ' ' . $nianji . ' ' . '学生成绩条'; diff --git a/app/chengji/controller/Njtongji.php b/app/chengji/controller/Njtongji.php index 8fad5f4e..fb8bb45a 100755 --- a/app/chengji/controller/Njtongji.php +++ b/app/chengji/controller/Njtongji.php @@ -131,7 +131,7 @@ class Njtongji extends AdminBase ->find(); $ksset = new \app\kaoshi\model\KaoshiSet; $xk = $ksset->srcSubject($src); - $njlist = nianJiNameList('str', $ksinfo->getData('bfdate')); # 获取考试年级名称 + $njlist = \app\facade\Tools::nianJiNameList($ksinfo->getData('bfdate')); # 获取考试年级名称 $nianji = $njlist[$src['ruxuenian']]; $tabletitle = $ksinfo->title . ' ' . $nianji . '各学校成绩汇总'; # 获取要下载成绩的学校和年级信息 diff --git a/app/chengji/model/Chengji.php b/app/chengji/model/Chengji.php index 78df28f3..cea2d99e 100755 --- a/app/chengji/model/Chengji.php +++ b/app/chengji/model/Chengji.php @@ -110,7 +110,7 @@ class Chengji extends BaseModel // 列出已录成绩列表 public function searchLuru($srcfrom) { - $nianji = nianJiNameList(); + $nianji = \app\facade\Tools::nianJiNameList(); $cjList = $this->searchBase($srcfrom); // 重新整理成绩 diff --git a/app/chengji/validate/Cjdownload.php b/app/chengji/validate/Cjdownload.php index f365c98d..744a32d4 100755 --- a/app/chengji/validate/Cjdownload.php +++ b/app/chengji/validate/Cjdownload.php @@ -13,9 +13,9 @@ class Cjdownload extends Validate * @var array */ protected $rule = [ - 'banji_id|班级' => 'require|array', + 'banji_id|班级' => 'require', 'kaoshi_id|考试' => 'require|number', - 'subject_id|学科' => 'require|array' + 'subject_id|学科' => 'require' ]; /** diff --git a/app/chengji/view/bjtongji/biaoge.html b/app/chengji/view/bjtongji/biaoge.html index ea90f736..f72caf0b 100755 --- a/app/chengji/view/bjtongji/biaoge.html +++ b/app/chengji/view/bjtongji/biaoge.html @@ -1,8 +1,6 @@ {extend name=".././view/list.html" /} {block name="jsset"} -{load href="__STATIC__/echarts/echarts.js" /} -{load href="__STATIC__/echarts/infographic.js" /} {/block} {block name="nav"} @@ -15,29 +13,26 @@ {/block} {block name="search"}
- -
- - {volist name="$list.school_id" id="vo"} - - {/volist} -
-
-
- -
- {volist name="$list.nianji" id="vo"} - - {/volist} -
-
-
- -
-
-
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+
{/block} {block name="table"} @@ -71,7 +66,32 @@ {/block} diff --git a/app/chengji/view/bjtongji/dw_biaoge.html b/app/chengji/view/bjtongji/dw_biaoge.html index 9ad48a68..5356c901 100755 --- a/app/chengji/view/bjtongji/dw_biaoge.html +++ b/app/chengji/view/bjtongji/dw_biaoge.html @@ -4,29 +4,19 @@
- -
- -
-
-
- -
- -
-
+ +
+ +
+ +
+ +
+ +
+
- -
- - {volist name="$list.school_id" id="vo"} - - {/volist} -
-
-
- -
- {volist name="$list.nianji" id="vo"} - - {/volist} -
-
-
- -
-
-
+ +
+ +
+ +
+ +
+ +
+
+
+ +
+
+
{/block} {block name="table"} @@ -78,196 +73,48 @@ {/block} diff --git a/app/chengji/view/index/deletecjs.html b/app/chengji/view/index/deletecjs.html index d1bd088f..7f933296 100755 --- a/app/chengji/view/index/deletecjs.html +++ b/app/chengji/view/index/deletecjs.html @@ -1,4 +1,4 @@ -{extend name=".././view/createhref.html" /} +{extend name=".././view/create.html" /} {block name="form"} @@ -16,27 +16,25 @@ -
- -
- -
-
-
+
+ +
+
+
-
@@ -50,7 +48,6 @@ layui.use(['form','canyuKaoshi','createInput'], function(){ cInput = layui.createInput, canyu = layui.canyuKaoshi; - xmselect = cInput.searchStudent('student_id'); canyu.schoolSelect('school_id', "{$list.set.kaoshi_id|default=''}"); canyu.gradeSelect('ruxuenian', "{$list.set.kaoshi_id|default=''}"); @@ -58,9 +55,14 @@ layui.use(['form','canyuKaoshi','createInput'], function(){ form.on('select(src)',function(data){ data = form.val("myform"); if(data.school_id > 0 && data.ruxuenian > 0){ - canyu.banjiSelect('banji_id', data,); + canyu.banjiCheckbox('banji_id', data); + canyu.subjectSelect('subject_id', data); } }); + + form.on('checkbox(mycheackbox)', function(data) { + cInput.checkboxChecked(data); + }); }); {/block} diff --git a/app/chengji/view/index/dw_chengji.html b/app/chengji/view/index/dw_chengji.html index 2b6ca4fe..3e584964 100755 --- a/app/chengji/view/index/dw_chengji.html +++ b/app/chengji/view/index/dw_chengji.html @@ -3,41 +3,33 @@ {block name="form"}
- -
- -
+ +
+
-
- -
- -
+
+
+ +
+
-
- -
-
+
+
+ +
-
- -
-
+
+
+ +
+
{/block} {block name="table"} @@ -55,7 +52,22 @@ {/block} diff --git a/app/chengji/view/njtongji/dw_biaoge.html b/app/chengji/view/njtongji/dw_biaoge.html index ec0dfc7d..75c3603d 100755 --- a/app/chengji/view/njtongji/dw_biaoge.html +++ b/app/chengji/view/njtongji/dw_biaoge.html @@ -3,18 +3,12 @@ {block name="form"}
- -
- -
-
+ +
+ +
+
- <
+
- {volist name="list.data" id="vo"} - - {/volist} - -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
-
-
- -
-
-
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+
+
+ +
+
+
+{php} + $sbj = new \app\teach\model\Subject; + $src = [ + 'status' => 1, + 'kaoshi' => 1 + ]; + $subject = $sbj->search($src); + {/php}
- +
- - {foreach $list.subject_id as $key=>$vo} - - {/foreach} +
{/block} @@ -47,62 +57,71 @@ {/block} diff --git a/app/luru/view/index/yilu_cnt.html b/app/luru/view/index/yilu_cnt.html index 1bbe2888..aca79982 100644 --- a/app/luru/view/index/yilu_cnt.html +++ b/app/luru/view/index/yilu_cnt.html @@ -3,16 +3,12 @@ {block name="form"}
- -
- -
-
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+
{/block} {block name="table"} @@ -57,7 +56,35 @@ {/block} diff --git a/app/rongyu/view/js_rongyu_info/create_all.html b/app/rongyu/view/js_rongyu_info/create_all.html index 2ca53390..d95f4615 100755 --- a/app/rongyu/view/js_rongyu_info/create_all.html +++ b/app/rongyu/view/js_rongyu_info/create_all.html @@ -28,7 +28,6 @@ body {