作者 开飞机的舒克

学生添加时新增手环ID输入

... ... @@ -11,7 +11,7 @@ return [
'Grade_id' => '班级',
'School_id' => '学校',
'Sno' => '学号',
'Team' => '战队',
'Team_id' => '战队',
'Team_rank' => '战队内排名',
'Earn_score' => '总积分',
'Phone' => '手机号',
... ...
... ... @@ -55,6 +55,12 @@
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Unique')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-unique" class="form-control" name="row[unique]" type="number" value="">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Phone')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-phone" class="form-control" name="row[phone]" type="text">
... ...
... ... @@ -67,18 +67,13 @@
<input id="c-earn_score" class="form-control" step="0.01" name="row[earn_score]" type="number" value="{$row.earn_score|htmlentities}">
</div>
</div>
{/* <div class="form-group">*/}
{/* <label class="control-label col-xs-12 col-sm-2">{:__('Unique')&cc;:</label>*/}
{/* <div class="col-xs-12 col-sm-8">*/}
{/* <input id="c-unique" class="form-control" name="row[unique]" type="number" value="{$row.unique|htmlentities&cc;">*/}
{/* </div>*/}
{/* </div>*/}
{/* <div class="form-group">*/}
{/* <label class="control-label col-xs-12 col-sm-2">{:__('Barcode')&cc;:</label>*/}
{/* <div class="col-xs-12 col-sm-8">*/}
{/* <input id="c-barcode" class="form-control" name="row[barcode]" type="text" value="{$row.barcode|htmlentities&cc;">*/}
{/* </div>*/}
{/* </div>*/}
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Unique')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-unique" class="form-control" name="row[unique]" type="number" value="{$row.unique|htmlentities}">
</div>
</div>
<div class="form-group layer-footer">
<label class="control-label col-xs-12 col-sm-2"></label>
<div class="col-xs-12 col-sm-8">
... ...
... ... @@ -348,7 +348,7 @@ class Bind extends Api
->order('sum_score','desc')
->group('item_id')
->where(['campus_id' => $cid, 'study_id' => $sid])
->paginate(3)
->paginate(9)
->each(function ($item, $key) {
$item['title'] = \db('item i')
->join('radar r', 'i.radar_id = r.id')
... ...