| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- <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;
- }
- /*.ng-isolate-scope{
- display : none;
- }*/
- .pane{
- background: none;
- }
- .table{
- margin-bottom: 0;
- }
- #myquest-public .customer-tab .customer-hd .checkbox,#myquest-public .customer-tab .customer-hd .checkbox span{
- margin-left: 0 !important;
- }
- #myquest-public .customer-tab .customer-hd span{
- margin-left: 20px;
- }
- </style>
- <div style="margin-left: -240px; width: 1170px; background: #fff;" 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 style="margin-top: -55px;">
- <div class="col-xs-6" style="float: left;"></div>
- <div class="form-input col-xs-6 myRequest search-bg">
- <div class="row">
- <div class="col-xs-9">
- <div class="search">
- <div class="form-group form-group-sm has-feedback" dropdown auto-close="outsideClick" on-toggle="searchAdvance=open">
- <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>
- <div class="col-xs-3" style="padding-left: 0;">
- <p>搜索到<em>{{customerParams.total()}}</em>条</p>
- </div>
- </div>
- </div>
- </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">
- <tbody ng-repeat="customer in $data" ng-if="customerParams.total() > 0">
- <tr class="customer-hd">
- <td colspan="4" class="text-left"><span ng-bind="::customer.myEnterprise.enName"></span></td>
- <td>
- <span class="checkbox" style="width: 100%; margin: 0; height: 26px;">
- <span class="off" ng-if="customer.custswitch == 1 " ng-click="disableCust(customer.id)" title="已启用"></span>
- <span class="" ng-if="customer.custswitch == 0 " ng-click="activeCust(customer.id)" title="已禁用"></span>
- </span>
- </td>
- <!--<td width="200" class="text-center" ng-if="customer.custswitch == 1 "><a ng-click="disableCust(customer.id)">已启用</a></td>
- <td width="200" class="text-center" ng-if="customer.custswitch == 0 "><a ng-click="activeCust(customer.id)">已禁用</a></td>-->
- </tr>
- <tr class="customer-bd">
- <td class="first" colspan="4">
- <div><span class="text-muted">企业地址:</span><span ng-bind="::customer.myEnterprise.enAddress"></span></div>
- <div><span class="text-muted">联系人:</span><span ng-bind="::customer.myUser.userName"></span></div>
- <div><span class="text-muted">电话:</span><span ng-bind="::customer.myUser.userTel"></span></div>
- </td>
- <td width="100" class="text-center all-btn">
- </td>
- </tr>
- </tbody>
- <tbody ng-if="customerParams.total() == 0" class="no-record-tab">
- <tr>
- <td>
- <div class="text-muted"><h3><img src="static/img/icon/no-record.png" />暂无客户信息</h3></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
|