|
|
@@ -460,83 +460,11 @@
|
|
|
<!--权限管理-->
|
|
|
<div class="count01 clearfix" ng-if="tab=='auth'">
|
|
|
<!--<div class="power_title">员工账号及权限管理</div>-->
|
|
|
- <form name="newUserForm">
|
|
|
- <div class="search col-xs-6" style="float: right;">
|
|
|
- <div class="form-group form-group-sm has-feedback">
|
|
|
- <input type="search" class="form-control input-sm" ng-model="keyword"
|
|
|
- ng-search="onSearch(keyword)" placeholder="输入人员姓名、电话号码、邮箱或UU号进行搜索" style="width: 100%"/>
|
|
|
- <a class="btn input-group-addon" ng-click="onSearch(keyword)">搜索</a>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <table ng-table="tableParams" class="member-list public-tab table" style="margin-top: 10px;">
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th width="120">uu号</th>
|
|
|
- <th width="120">姓名</th>
|
|
|
- <th width="80">性别</th>
|
|
|
- <th width="120">电话</th>
|
|
|
- <th width="140">邮箱</th>
|
|
|
- <th width="100">角色</th>
|
|
|
- <th width="80"> </th>
|
|
|
- <!--<th width="50" ng-show="active=='chargeapply'">操作</th>-->
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody>
|
|
|
- <tr ng-show="adding">
|
|
|
- <td class="text-center">
|
|
|
- <div style="line-height: 30px;">系统生成</div>
|
|
|
- </td>
|
|
|
- <td class="text-center"><input ng-model="newUser.userName"
|
|
|
- class="form-control input-sm" required type="text"
|
|
|
- placeholder="用户名"></td>
|
|
|
- <td class="text-center"><select ng-model="newUser.userSex"
|
|
|
- class="form-control input-sm" ng-init="newUser.userSex='M'" style="width: 80px;">
|
|
|
- <option value="F">女</option>
|
|
|
- <option value="M">男</option>
|
|
|
- </select>
|
|
|
- </td>
|
|
|
- <td class="text-center"
|
|
|
- ng-class="{'has-error': userTelError, 'has-success': userTelSuccess}">
|
|
|
- <input ng-model="newUser.userTel"
|
|
|
- ng-blur="telValid(newUser.userTel)" required name="newUserTel"
|
|
|
- class="form-control input-sm" ng-pattern="/^1[3|4|5|7|8]\d{9}$/" type="text" placeholder="手机号">
|
|
|
- </td>
|
|
|
- <td class="text-center"
|
|
|
- ng-class="{'has-error': userEmailError, 'has-success': userEmailSuccess}">
|
|
|
- <input ng-model="newUser.userEmail" ng-pattern="/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/"
|
|
|
- ng-blur="emailValid(newUser.userEmail)" required
|
|
|
- name="newUserEmail" class="form-control input-sm" type="text"
|
|
|
- placeholder="邮箱">
|
|
|
- </td>
|
|
|
- <td colspan="2"></td>
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
- <tbody>
|
|
|
- <tr ng-repeat="user in users" class="text-center">
|
|
|
- <td class="text-center" ng-bind="user.userUU"></td>
|
|
|
- <td class="text-center" ng-bind="user.userName"></td>
|
|
|
- <td class="text-center" ng-bind="user.userSex == 'F' ? '女' : '男'"></td>
|
|
|
- <td class="text-center" ng-bind="user.userTel"></td>
|
|
|
- <td class="text-center" ng-bind="user.userEmail"></td>
|
|
|
- <td class="user-role">
|
|
|
- <div class="role-item" ng-repeat="role in user.roles"
|
|
|
- title="{{role.desc}}">
|
|
|
- <span class="icon"
|
|
|
- ng-class="{'info':role.issys == 1,'danger':role.isdefault == 0}"
|
|
|
- ng-bind="role.desc | firstchar"></span>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <!--<a class="operator-trigger" href="javascript:void(0);"><i class="fa fa-pencil fa-lg" ng-show="(userInfo.sys && enterprise.enAdminuu != user.userUU) || users.length == 1"></i></a>-->
|
|
|
- <ul class="list-unstyle list-inline operator-menu" ng-show="(userInfo.sys && enterprise.enAdminuu != user.userUU) || users.length == 1">
|
|
|
- <!--<li><a ng-click="editUserRole(u)"><i class="fa fa-fw fa-pencil-square-o" style="color: #fff"></i>编辑</a></li>-->
|
|
|
- <li><a ng-click="removeUser(user)" ng-if="user.userUU != userInfo.userUU" title="删除"><i class="fa fa-fw fa-trash-o" style="color: #fff"></i>删除</a></li>
|
|
|
- </ul>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </form>
|
|
|
+ <table class="role-info">
|
|
|
+ <thead>
|
|
|
+
|
|
|
+ </thead>
|
|
|
+ </table>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!--收货地址-->
|