83 lines
2.7 KiB
HTML
83 lines
2.7 KiB
HTML
<style>
|
|
|
|
|
|
</style>
|
|
|
|
<div>
|
|
<div class="container">
|
|
<div class="row Top">
|
|
<i></i>
|
|
<h2>用户权限管理</h2>
|
|
<i style="float:right"></i>
|
|
</div>
|
|
|
|
<div class="row text-center SortTop">
|
|
<span>查询条件:</span>
|
|
<select ng-model="mysel" ng-options="a.name for a in Myjson">
|
|
<option value="">选择</option>
|
|
</select>
|
|
<span>搜索:</span>
|
|
<input type="text" ng-model="mytxt" class="form-control input-sm w-sm inline m-r search-box" />
|
|
|
|
|
|
<button class="btn btn-default" ng-click="Cha()">查询</button>
|
|
<span>
|
|
检测机构一共: <strong>{{myttt}}</strong> 家
|
|
|
|
</span>
|
|
<button class="btn btn-default" ng-click="open(0)">新增</button>
|
|
<button class="btn btn-default" ng-click="delete()">删除</button>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<table st-table="displayed" st-pipe="getService" class="table table-bordered table-hover text-center" id="myTable">
|
|
<thead class="text-center">
|
|
<tr>
|
|
<th>
|
|
全选
|
|
<st-checkbox-all select-list="selectList" current-ids="ids" check-init="checkinit"></st-checkbox-all>
|
|
</th>
|
|
<th st-ratio="10" st-sort="name">姓名</th>
|
|
<th st-ratio="10" st-sort="username">登录用户</th>
|
|
<th st-ratio="10" st-sort="type">权限</th>
|
|
<th>操作</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr ng-repeat="item in displayed">
|
|
<td>
|
|
<st-checkbox select-list="selectList" id="{{item.id}}" ng-click="dianji()"></st-checkbox>
|
|
<!--<span>{{item.id}}</span>-->
|
|
</td>
|
|
<td st-ratio="10">{{item.name}}</td>
|
|
<td st-ratio="10">{{item.username}}</td>
|
|
<td st-ratio="10">{{item.type==1?"一级权限":item.type==2?"二级权限":item.type==3?"三级权限":item.type==4?"检测机构":item.type==5?"检测机构管理员":"超级管理员"}}</td>
|
|
<td>
|
|
|
|
<a ng-click="open(item.id)">查看/修改</a>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
|
|
</tbody>
|
|
<st-loading is-show="isShow" tip-show="正在加载请稍后!!"></st-loading>
|
|
<tfoot>
|
|
<tr>
|
|
<td colspan="15" class="text-center">
|
|
<div st-items-by-page="curpageNumber" st-pagination="" st-template="app/pagination.custom.html"></div>
|
|
</td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
|
|
|
|
</div>
|