|
@@ -206,6 +206,7 @@
|
|
|
<ul class="fl">
|
|
<ul class="fl">
|
|
|
<li ng-class="{'active': tab=='base'}"><a ng-click="checkTab('base')">基本信息</a></li>
|
|
<li ng-class="{'active': tab=='base'}"><a ng-click="checkTab('base')">基本信息</a></li>
|
|
|
<li ng-class="{'active': tab=='safe'}"><a ng-click="checkTab('safe')">安全设置</a></li>
|
|
<li ng-class="{'active': tab=='safe'}"><a ng-click="checkTab('safe')">安全设置</a></li>
|
|
|
|
|
+ <li ng-class="{'active': tab=='auth'}"><a ng-click="checkTab('auth')">人员信息</a></li>
|
|
|
<!--<li ng-class="{'active': tab=='logistic'}"><a href="#" ng-click="checkTab('logistic')">收货地址</a></li>-->
|
|
<!--<li ng-class="{'active': tab=='logistic'}"><a href="#" ng-click="checkTab('logistic')">收货地址</a></li>-->
|
|
|
</ul>
|
|
</ul>
|
|
|
</div>
|
|
</div>
|
|
@@ -458,41 +459,84 @@
|
|
|
</div>
|
|
</div>
|
|
|
<!--权限管理-->
|
|
<!--权限管理-->
|
|
|
<div class="count01 clearfix" ng-if="tab=='auth'">
|
|
<div class="count01 clearfix" ng-if="tab=='auth'">
|
|
|
- <div class="power_title">员工账号及权限管理</div>
|
|
|
|
|
- <dl class="power_list">
|
|
|
|
|
- <dt>
|
|
|
|
|
- <span>序号</span>
|
|
|
|
|
- <span>账号</span>
|
|
|
|
|
- <span>姓名</span>
|
|
|
|
|
- <span>允许上架</span>
|
|
|
|
|
- <span>允许下架</span>
|
|
|
|
|
- <span>允许申请器件</span>
|
|
|
|
|
- <span>允许维护品牌</span>
|
|
|
|
|
- </dt>
|
|
|
|
|
- <p class="height16"> </p>
|
|
|
|
|
- <dd>
|
|
|
|
|
- <span>01</span>
|
|
|
|
|
- <span>ouxianqin</span>
|
|
|
|
|
- <span>张三</span>
|
|
|
|
|
- <span><input type="checkbox" name="checkbox" id="check01"/><label for="check01"></label></span>
|
|
|
|
|
- <span><input type="checkbox" name="checkbox" id="check02"/><label for="check02"></label></span>
|
|
|
|
|
- <span><input type="checkbox" name="checkbox" id="check03"/><label for="check03"></label></span>
|
|
|
|
|
- <span><input type="checkbox" name="checkbox" id="check04"/><label for="check04"></label></span>
|
|
|
|
|
- </dd>
|
|
|
|
|
- <dd>
|
|
|
|
|
- <span>01</span>
|
|
|
|
|
- <span>ouxianqin</span>
|
|
|
|
|
- <span>张三</span>
|
|
|
|
|
- <span><input type="checkbox" name="checkbox" id="check05"/><label for="check05"></label></span>
|
|
|
|
|
- <span><input type="checkbox" name="checkbox" id="check06"/><label for="check06"></label></span>
|
|
|
|
|
- <span><input type="checkbox" name="checkbox" id="check07"/><label for="check07"></label></span>
|
|
|
|
|
- <span><input type="checkbox" name="checkbox" id="check08"/><label for="check08"></label></span>
|
|
|
|
|
- </dd>
|
|
|
|
|
- <dd><span><a href="#">+添加账号</a></span></dd>
|
|
|
|
|
- <dd class="power_btn">
|
|
|
|
|
- <span><a href="#" class="p_off fl">取消</a><a href="#" class="p_save fr">提交更改</a></span>
|
|
|
|
|
- </dd>
|
|
|
|
|
- </dl>
|
|
|
|
|
|
|
+ <!--<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>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<!--收货地址-->
|
|
<!--收货地址-->
|