123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- <div class="card">
- <div class="header">用户管理</div>
- <div activate-input activate-select class="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="userName" class="form-control" type="text"
- ng-model="selectparams.userName"
- placeholder="" ng-keypress="($event.which === 13)?search():0" />
- </div>
- </div>
- </div>
- <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">
- <select boots-select class="form-control" name="RoleID"
- ng-model="selectparams.RoleID"
- data-live-search="true" option-datas="RoleList"
- ng-options="owner.RoleID as owner.RoleName for owner in RoleList"
- ng-change="search()">
- <option value="" selected>--请选择--</option>
- </select>
- </div>
- </div>
- </div>
- <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">
- <select class="form-control show-tick" name="recordStatus"
- ng-model="selectparams.recordStatus"
- ng-options="type.Value as type.Name for type in recordStatusList"
- ng-change="search()">
- <option value="" selected>--全部--</option>
- </select>
- </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="addUser()" function-code="990301">
- 新增
- </button>
- <button type="button"
- class="btn btn-default1" function-code="990303" ng-click="delUser()">
- 删除
- </button>
- <button class="btn btn-default1" function-code="990305" ng-click="export()">Excel导出</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>
- <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 class="text-center">{{it.Name}}</td>
- <td class="text-center">{{it.DepartmentName}}</td>
- <td class="text-center">{{it.LoginID}}</td>
- <td class="text-center">{{it.CmWorkLinkAccountPsid}}</td>
- <td class="text-center">{{it.RoleNames}}</td>
- <td class="text-center">{{it.RecordStatus == 1?'启用':'禁用'}}</td>
- <td class="text-center">
- <i class="glyphicon glyphicon-pencil" function-code="990302" ng-click="editUser(it.UserID)"></i>
- <i class="glyphicon glyphicon-lock" function-code="990304" ng-click="resetPwd(it.UserID)" 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>
|