荣誉册中教师荣誉列表
This commit is contained in:
1 parent
9637b82ca9
commit
56162f1a82
5 files changed
+10
-3
No files matched your search
@@ -57,11 +57,13 @@ class JsRongyuInfo extends Base
|
||||
'hjschool'=>$getdt['hjschool'],
|
||||
'fzschool'=>$getdt['fzschool'],
|
||||
'category'=>$getdt['category'],
|
||||
'rongyuce'=>$getdt['rongyuce'],
|
||||
'search'=>$getdt['search']['value'],
|
||||
'order'=>$order,
|
||||
'order_field'=>$order_field
|
||||
];
|
||||
|
||||
|
||||
// 实例化
|
||||
$ryinfo = new ryinfo;
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ class JsRongyuInfo extends Base
|
||||
$hjschool = $search['hjschool'];
|
||||
$fzschool = $search['fzschool'];
|
||||
$category = $search['category'];
|
||||
$rongyuce = $search['rongyuce'];
|
||||
$order_field = $search['order_field'];
|
||||
$order = $search['order'];
|
||||
$category = $search['category'];
|
||||
@@ -35,8 +36,11 @@ class JsRongyuInfo extends Base
|
||||
$q->name('JsRongyu')->where('category','in',$category)->field('id');
|
||||
});
|
||||
})
|
||||
->when(!empty($search),function($query) use($search){
|
||||
$query->where('title','like',$search);
|
||||
->when(!empty($rongyuce),function($query) use($rongyuce){
|
||||
$query->where('rongyuce',$rongyuce);
|
||||
})
|
||||
->when(!empty($search),function($query) use($search){
|
||||
$query->where('title','like',$search);
|
||||
})
|
||||
->with(
|
||||
[
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
{/block}
|
||||
{block name="formaa"}
|
||||
<form action="/jsry" method="POST" class="form form-horizontal" id="form-member-add">
|
||||
<input type="hidden" value="{$list.id}" id="rongyuce" name="rongyuce">
|
||||
<div class="row cl">
|
||||
<label class="form-label col-xs-4 col-sm-3">荣誉册标题:</label>
|
||||
<div class="formControls col-xs-8 col-sm-9">
|
||||
|
||||
Loaded 3 of 5 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user