| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- <style>
- #customer-tab .header th,#customer-tab tbody tr.header,#customer-tab tbody tr.header th{
- height: 38px;
- text-align: center;
- padding: 0;
- line-height: 38px;
- border-bottom-width: 0;
- /*background: #f5f5f5;*/
- border: none;
- font-size: 14px;
- }
- #customer-tab tbody tr.header:hover{
- border: none;
- }
- .pane .pane-header{
- border-radius: 0px 0 0px 0px;
- box-shadow: 0 0 3px #ccc;
- background: linear-gradient(to top, #e7e7e7 0%,#ffffff 100%);
- height: 40px;
- font-size: 14px;
- line-height: 40px;
- }
- .table>tbody+tbody{
- border-top: none;
- }
- #customer-tab tbody td{
- border: none;
- }
- #customer-tab .pane-body{
- padding: 0;
- }
- #customer-tab tbody tr{
- background: none;
- height: 80px;
- border-top: #e8e8e8 1px solid;
- }
- #customer-tab tbody tr td{
- text-align: center;
- line-height: 20px;
- vertical-align: inherit;
- font-size: 14px;
- }
- #customer-tab tbody tr:hover{
- /*border: #d32526 2px solid;*/
- }
- #customer-tab .form-horizontal .form-control{
- height: 36px;
- line-height: 36px;
- border: #327ebe 1px solid;
- border-radius: 0px;
- font-size: 14px;
- }
- #customer-tab .form-horizontal .form-group{
- margin: 0;
- padding: 10px 0;
- }
- #customer-tab .form-horizontal .form-group .input-group-addon{
- width: 85px;
- height: 36px;
- display: inline-block;
- background: #327ebe;
- font-size: 16px;
- text-align: center;
- line-height: 36px;
- color: #fff;
- padding: 0;
- border: none;
- border-radius: 0;
- position: absolute;
- top: 0;
- right: 15px;
- }
- #customer-tab table tr td a{
- color: #5078cb;
- }
- .form-horizontal #topSearch{
- font-size: 16px;
- line-height: 55px;
- }
- </style>
- <div style="margin-left: -240px; width: 1170px; background: #f5f5f5;" id="myquest-public">
- <div ng-include src="'static/tpl/index/baseInfo/vendorAndCustomer.html'"></div>
- <div class="loading in" ng-class="{'in': loading}">
- <i></i>
- </div>
- <div class="pane base-info" id="customer-tab">
- <form class="form-horizontal">
- <div class="myReuest form-group" style="background: #f5f5f5;">
- <div class="row">
- <div class="col-xs-5">
- <div class="search">
- <input type="search" class="form-control input-sm" ng-model="keyword" ng-search="onSearch()" placeholder="输入企业名称搜索" />
- <a class="btn input-group-addon" ng-click="onSearch()">搜索</a>
- </div>
- </div>
- <div class="col-xs-4">
- <p style="margin: 0;">搜索到<em>{{customerParams.total()}}</em>条</p>
- </div>
- </div>
- </div>
- </form>
- <div class="pane-body">
- <table class="customer-tab table table-bordered table-striped table-hover"
- ng-table="customerParams">
- <!--<thead>
- <tr class="header">
- <th width="80">UU</th>
- <th width="180">客户名称</th>
- <th width="180">地址</th>
- <th width="80">客户联系人</th>
- <th width="100">联系人电话</th>
- <th width="80">我方联系人</th>
- <th width="110">用户分配</th>
- </tr>
- </thead>-->
- <tbody ng-repeat="customer in $data">
- <tr class="customer-hd">
- <td colspan="4" class="text-left"><span ng-bind="::customer.myEnterprise.enName"></span></td>
- <td width="200" class="text-center" ng-if="customer.custswitch == 1 && customer.vendswitch == 1"><a ng-click="disableCust(customer.id)">禁用客户</a></td>
- <td width="200" class="text-center" ng-if="customer.custswitch == 0 && customer.vendswitch == 1"><a ng-click="activeCust(customer.id)">取消禁用</a></td>
- </tr>
- <tr class="customer-bd">
- <td class="first" colspan="4">
- <div>企业地址:<span ng-bind="::customer.myEnterprise.enAddress"></span></div>
- <div>联系人:<span ng-bind="::customer.myUser.userName"></span></div>
- <div>电话:<span ng-bind="::customer.myUser.userTel"></span></div>
- </td>
- <td width="200" class="text-center all-btn">
- <!-- <a ng-click="viewDetail(customer.id)" title="查看详情">查看详情</a><br/>
- <a ng-click="addUserInfo(customer)" class="btn02" title="分配">分配</a> -->
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
|