|
|
@@ -9,28 +9,72 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="pane-body">
|
|
|
- <table class="block table table-default table-striped"
|
|
|
+ <table class="table table-bordered table-striped table-hover"
|
|
|
ng-table="customerParams">
|
|
|
<thead>
|
|
|
<tr class="header">
|
|
|
<th width="80">UU</th>
|
|
|
- <th width="200">客户名称</th>
|
|
|
- <th width="250">地址</th>
|
|
|
+ <th width="180">客户名称</th>
|
|
|
+ <th width="220">地址</th>
|
|
|
<th width="80">客户联系人</th>
|
|
|
- <th width="120">联系人电话</th>
|
|
|
+ <th width="100">联系人电话</th>
|
|
|
<th width="80">我方联系人</th>
|
|
|
+ <th width="50">用户分配</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
- <tr ng-repeat="customer in $data">
|
|
|
- <td class="text-center" ng-bind="::customer.myEnterprise.uu"></td>
|
|
|
- <td class="text-center" ng-bind="::customer.myEnterprise.enName"></td>
|
|
|
- <td class="text-center" ng-bind="::customer.myEnterprise.enAddress"></td>
|
|
|
- <td class="text-center" ng-bind="::customer.myUser.userName"></td>
|
|
|
- <td ng-bind="::customer.myUser.userTel"></td>
|
|
|
- <td class="text-center" ng-bind="::customer.vendorUser.userName"></td>
|
|
|
- </tr>
|
|
|
+ <tr ng-repeat="customer in $data" ng-mouseenter="showUserInfo(customer,true)" ng-mouseleave="showUserInfo(customer,false)">
|
|
|
+ <td class="text-center" ng-bind="::customer.myEnterprise.uu"></td>
|
|
|
+ <td class="text-center" ng-bind="::customer.myEnterprise.enName"></td>
|
|
|
+ <td class="text-center" ng-bind="::customer.myEnterprise.enAddress"></td>
|
|
|
+ <td class="text-center" ng-bind="::customer.myUser.userName"></td>
|
|
|
+ <td ng-bind="::customer.myUser.userTel"></td>
|
|
|
+ <td class="text-center" ng-bind="::customer.vendorUser.userName"></td>
|
|
|
+ <td class="text-center">
|
|
|
+ <a title="新增" style="color: green;" ng-click="addUserInfo(customer)"><i class="fa fa-plus-circle fa-lg"></i></a>
|
|
|
+ <a title="展开" class="text-muted" ng-click="open(customer,$index)"><i class="fa fa-toggle-down fa-lg"></i></a>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
+ <div ng-show="userInfoResult">
|
|
|
+ <div class="pane-header">
|
|
|
+ 客户分配用户资料 (共<span ng-bind="custInfos.length || 0"></span>个)<span class="f16" style="margin-left: 120px;"ng-bind="custInfo.myEnterprise.enName"></span>
|
|
|
+ </div>
|
|
|
+ <table class="table table-hover"
|
|
|
+ <thead>
|
|
|
+ <tr class="header">
|
|
|
+ <th class="text-center" width="90">用户UU</th>
|
|
|
+ <th class="text-center" width="180">用户名称</th>
|
|
|
+ <th class="text-center" width="200">邮箱</th>
|
|
|
+ <th class="text-center" width="100">联系人电话</th>
|
|
|
+ <th class="text-center" width="50">操作</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <tr ng-repeat="userinfo in userdata.content">
|
|
|
+ <td class="text-center" ng-bind="::userinfo.userUU"></td>
|
|
|
+ <td class="text-center" ng-bind="::userinfo.user.userName"></td>
|
|
|
+ <td class="text-center" ng-bind="::userinfo.user.userEmail"></td>
|
|
|
+ <td class="text-center" ng-bind="::userinfo.user.userTel"></td>
|
|
|
+ <td class="text-center"><a style="color: red;" title="删除"><i class="fa fa-user-times fa-lg"></i></a></td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ <div class="row mb-20" ng-show="userdata.content">
|
|
|
+ <div class="col-md-8 col-md-offset-1 col-sm-10 col-sm-offset-0 col-xs-12 col-xs-offset-0">
|
|
|
+ <a ng-disabled="userdata.first"
|
|
|
+ class="btn btn-default col-md-2 col-sm-3 col-xs-4"
|
|
|
+ ng-click="first()">上一页</a>
|
|
|
+ <div class="col-md-8 col-sm-6 col-xs-4 text-center f14"
|
|
|
+ style="line-height: 34px;">{{userdata.page}}/{{userdata.totalPage}}页</div>
|
|
|
+ <a ng-disabled="userdata.last"
|
|
|
+ class="btn btn-default col-md-2 col-sm-3 col-xs-4"
|
|
|
+ ng-click="last()">下一页</a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|