作者 开飞机的舒克

学生管理优化

@@ -67,12 +67,12 @@ @@ -67,12 +67,12 @@
67 <input id="c-phone" class="form-control" name="row[phone]" type="text" value="{$row.phone|htmlentities}"> 67 <input id="c-phone" class="form-control" name="row[phone]" type="text" value="{$row.phone|htmlentities}">
68 </div> 68 </div>
69 </div> 69 </div>
70 - {/* <div class="form-group">*/}  
71 - {/* <label class="control-label col-xs-12 col-sm-2">{:__('Earn_score')&cc;:</label>*/}  
72 - {/* <div class="col-xs-12 col-sm-8">*/}  
73 - {/* <input id="c-earn_score" class="form-control" step="0.01" name="row[earn_score]" type="number" value="{$row.earn_score|htmlentities&cc;">*/}  
74 - {/* </div>*/}  
75 - {/* </div>*/} 70 + <div class="form-group">
  71 + <label class="control-label col-xs-12 col-sm-2">{:__('Earn_score')}:</label>
  72 + <div class="col-xs-12 col-sm-8">
  73 + <input id="c-earn_score" class="form-control" step="0.01" name="row[earn_score]" type="number" value="{$row.earn_score|htmlentities}">
  74 + </div>
  75 + </div>
76 {/* <div class="form-group">*/} 76 {/* <div class="form-group">*/}
77 {/* <label class="control-label col-xs-12 col-sm-2">{:__('Unique')&cc;:</label>*/} 77 {/* <label class="control-label col-xs-12 col-sm-2">{:__('Unique')&cc;:</label>*/}
78 {/* <div class="col-xs-12 col-sm-8">*/} 78 {/* <div class="col-xs-12 col-sm-8">*/}
@@ -82,13 +82,13 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin @@ -82,13 +82,13 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
82 columns: [ 82 columns: [
83 [ 83 [
84 {checkbox: true}, 84 {checkbox: true},
85 - {field: 'id', title: __('Id')}, 85 + {field: 'id', title: __('Id'),operate: false},
86 {field: 'name', title: __('Name'), operate: 'LIKE'}, 86 {field: 'name', title: __('Name'), operate: 'LIKE'},
87 {field: 'gender', title: __('Gender'), searchList: {"0":__('Gender 0'),"1":__('Gender 1')}, formatter: Table.api.formatter.normal}, 87 {field: 'gender', title: __('Gender'), searchList: {"0":__('Gender 0'),"1":__('Gender 1')}, formatter: Table.api.formatter.normal},
88 {field: 'avatar', title: __('Avatar'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.image}, 88 {field: 'avatar', title: __('Avatar'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.image},
89 {field: 'phone', title: __('Phone'), operate: 'LIKE'}, 89 {field: 'phone', title: __('Phone'), operate: 'LIKE'},
90 {field: 'team.title', title: __('Team.title'), operate: 'LIKE'}, 90 {field: 'team.title', title: __('Team.title'), operate: 'LIKE'},
91 - {field: 'team_rank', title: __('Team_rank')}, 91 + {field: 'team_rank', title: __('Team_rank'),operate: false},
92 {field: 'birthday', title: __('Birthday'),operate:false, addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime,datetimeFormat: "YYYY-MM-DD"}, 92 {field: 'birthday', title: __('Birthday'),operate:false, addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime,datetimeFormat: "YYYY-MM-DD"},
93 {field: 'grade.name', title: __('Grade.name'), operate: 'LIKE'}, 93 {field: 'grade.name', title: __('Grade.name'), operate: 'LIKE'},
94 {field: 'school.title', title: __('School.title'), operate: 'LIKE'}, 94 {field: 'school.title', title: __('School.title'), operate: 'LIKE'},