修改状态按钮为开关形式。
This commit is contained in:
1 parent
063a16d77d
commit
bdee319d30
5 files changed
+59
-29
No files matched your search
@@ -716,7 +716,7 @@ class Index extends Base
|
||||
->only([
|
||||
'page'=>'1',
|
||||
'limit'=>'10',
|
||||
'field'=>'banji',
|
||||
'field'=>'subject_id',
|
||||
'type'=>'desc',
|
||||
'kaohao'=>''
|
||||
],'POST');
|
||||
@@ -726,7 +726,7 @@ class Index extends Base
|
||||
$data = $chengji
|
||||
->where('kaohao_id',$src['kaohao'])
|
||||
->field('id,kaohao_id,subject_id,user_id,defen,update_time')
|
||||
->order('subject_id')
|
||||
->order([$src['field']=>$src['type']])
|
||||
->with([
|
||||
'subjectName'=>function($query){
|
||||
$query->field('id,title');
|
||||
|
||||
Reference in new issue
Block a user