| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <style>
- #user-lists{
- max-height: 600px;
- overflow-x: hidden;
- overflow-y: scroll;
- }
- @media screen and (max-width: 1366px){
- #user-lists{
- max-height: 368px;
- }
- }
- @media screen and (max-width: 1600px){
- #user-lists{
- max-height: 480px;
- }
- }
- </style>
- <div class="modal-header">
- <h3 class="modal-title">
- 客户分配
- </h3>
- </div>
- <div class="form-group" id="window-search" style="height: 36px; margin-bottom: 0; margin-top: 5px;">
- <div class="col-sm-12">
- <input type="text" class="form-control input-sm ng-pristine ng-invalid ng-invalid-required ng-touched" required="" placeholder="输入用户名关键词搜索" autofocus="" ng-model="keyword" ng-search="onSearch(keyword)" />
- <a class="btn input-group-addon" ng-click="onSearch()">搜索</a>
- </div>
- </div>
- <div class="modal-body" id="user-lists">
- <div>
- <table width="99%" class="block table table-bordered table-striped table-hover">
- <thead>
- <th width="80px;">用户UU</th>
- <th width="100px;">用户名称</th>
- <th width="40px;" style="text-align: center"><input type="checkbox" name="checkbox" ng-model="checkboxes.checked" ng-click="checkAll();"></th>
- </thead>
- <tbody>
- <div style="overflow-y:scroll; width:100%;max-height:500px">
- <tr ng-repeat="user in userinfos| filter: keyword" ng-if = "thisUser.userUU != user.userUU">
- <td width="80px;">{{user.userUU}}</td>
- <td width="100px;">{{user.userName}}</td>
- <td width="40px;" style="text-align: center"><input ng-model="user.distribute" name="checkbox" ng-click="checkOne()" type="checkbox"></td>
- </tr>
- </div>
- <tbody>
- </table>
- </div>
- </div>
- <div class="modal-footer">
- <button class="btn btn-primary" ng-click="close(true)" ng-disabled="!isChanged">确认</button>
- <button class="btn btn-default" ng-click="close(false)" type="button">取消</button>
- </div>
|