1234567891011121314151617181920212223242526272829303132333435363738 |
- <div class="form">
- <div class="btn">
- <button name="" ng-click="zcTeacherModuleInit()">初始化页面权限</button>
- </div>
- <div class="btn">
- <button name="" ng-click="zcTeacherModuleUpdate()">保存设置</button>
- </div>
- </div>
- <div class="table">
- <table>
- <thead>
- <tr>
- <th width="15%">仲裁老师</th>
- <th width="10%">全选</th>
- <th width="75%">评分模块</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td ng-show="zcTeachers.length == 0" colspan="2" align="center">无任何数据</td>
- </tr>
- <tr ng-show="zcTeachers.length > 0" ng-repeat="list in zcTeachers">
- <td>{{list.name}}</td>
- <td><input type="checkbox" ng-model="list.selecteAll" ng-change="selectAllModules(list)"></td>
- <td>
- <table style="width: 100%">
- <tr>
- <td ng-repeat="item in userModuleMap[list.id]" width="8%" style="padding: 2px; background-color: {{!item.selected ? '' :'lightgoldenrodyellow'}}" >
- <input type="checkbox" ng-model="item.selected" >{{item.module}}
- </td>
- </tr>
- </table>
- </td>
-
- </tr>
- </tbody>
- </table>
- </div>
|