123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <div class="card">
- <div class="header">角色管理</div>
- <div activate-input activate-select class="header search-header">
- <div class="search-param-panel">
- <div class="search-input">
- <form class="form-horizontal">
- <div class="row clearfix form-inline">
- <div class="col-lg-2 col-md-2 dj-label">
- <label>角色名称</label>
- </div>
- <div class="col-lg-2 col-md-2">
- <div class="form-group">
- <div class="form-line">
- <input name="roleName" class="form-control" type="text"
- ng-model="selectparams.roleName"
- placeholder="" ng-keypress="($event.which === 13)?search():0" />
- </div>
- </div>
- </div>
- </div>
- </form>
- </div>
- <div class="search-btn">
- <button class="btn btn-default1"
- ng-click="search()">
- 查询
- </button>
- </div>
- </div>
- <div class="search-tool">
- <div class="search-btn">
- <button class="btn btn-default1"
- ng-click="addRole()" function-code="990201">
- 新增
- </button>
- <button type="button"
- class="btn btn-default1" function-code="990203" ng-click="delRole()">
- 删除
- </button>
- </div>
- </div>
- </div>
- <div class="body">
- <div class="table-responsive list-table-panel">
- <table class="table table-bordered table-striped table-hover js-basic-example dataTable text-nowrap">
- <thead>
- <tr>
- <th class="th-select" th-select-all datalist="dataList"></th>
- <th class="th-rownum">序号</th>
- <th>角色名称</th>
- <th>备注</th>
- <th>是否系统角色</th>
- <th>创建时间</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="it in dataList">
- <td class="text-center">
- <input type="checkbox" ng-model="it.rowChecked" />
- </td>
- <td class="text-center" td-rownum index="$index" pageindex="selectparams.pageIndex" pagesize="selectparams.pageSize"></td>
- <td>{{it.RoleName}}</td>
- <td>{{it.Description}}</td>
- <td class="text-center">{{it.IsSystemRole?"是":"否"}}</td>
- <td class="text-center">{{it.CreateTime | date: 'yyyy-MM-dd'}}</td>
- <td class="text-center">
- <i class="glyphicon glyphicon-pencil" function-code="990202" ng-click="editRole(it.RoleID)"></i>
- <i class="glyphicon glyphicon-user" function-code="990202" ng-click="editRoleUsers(it)" title="人员管理"></i>
- </td>
- </tr>
- <tr ng-if="pageInfo.ptotal==0">
- <td colspan="7" style="text-align:center">暂无数据</td>
- </tr>
- </tbody>
- </table>
- </div>
- <pagination data-pageindex="selectparams.pageIndex" data-pagesize="selectparams.pageSize"
- data-ptotal="pageInfo.ptotal"></pagination>
- </div>
- </div>
|