customersInfo.html 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <style>
  2. #customer-tab .header th,#customer-tab tbody tr.header,#customer-tab tbody tr.header th{
  3. height: 38px;
  4. text-align: center;
  5. padding: 0;
  6. line-height: 38px;
  7. border-bottom-width: 0;
  8. /*background: #f5f5f5;*/
  9. border: none;
  10. font-size: 14px;
  11. }
  12. #customer-tab tbody tr.header:hover{
  13. border: none;
  14. }
  15. .pane .pane-header{
  16. border-radius: 0px 0 0px 0px;
  17. box-shadow: 0 0 3px #ccc;
  18. background: linear-gradient(to top, #e7e7e7 0%,#ffffff 100%);
  19. height: 40px;
  20. font-size: 14px;
  21. line-height: 40px;
  22. }
  23. .table>tbody+tbody{
  24. border-top: none;
  25. }
  26. #customer-tab tbody td{
  27. border: none;
  28. }
  29. #customer-tab .pane-body{
  30. padding: 0;
  31. }
  32. #customer-tab tbody tr{
  33. background: none;
  34. height: 80px;
  35. border-top: #e8e8e8 1px solid;
  36. }
  37. #customer-tab tbody tr td{
  38. text-align: center;
  39. line-height: 20px;
  40. vertical-align: inherit;
  41. font-size: 14px;
  42. }
  43. #customer-tab tbody tr:hover{
  44. /*border: #d32526 2px solid;*/
  45. }
  46. #customer-tab .form-horizontal .form-control{
  47. height: 36px;
  48. line-height: 36px;
  49. border: #327ebe 1px solid;
  50. border-radius: 0px;
  51. font-size: 14px;
  52. }
  53. #customer-tab .form-horizontal .form-group{
  54. margin: 0;
  55. padding: 10px 0;
  56. }
  57. #customer-tab .form-horizontal .form-group .input-group-addon{
  58. width: 85px;
  59. height: 36px;
  60. display: inline-block;
  61. background: #327ebe;
  62. font-size: 16px;
  63. text-align: center;
  64. line-height: 36px;
  65. color: #fff;
  66. padding: 0;
  67. border: none;
  68. border-radius: 0;
  69. position: absolute;
  70. top: 0;
  71. right: 15px;
  72. }
  73. #customer-tab table tr td a{
  74. color: #5078cb;
  75. }
  76. .form-horizontal #topSearch{
  77. font-size: 16px;
  78. line-height: 55px;
  79. }
  80. </style>
  81. <div style="margin-left: -240px; width: 1170px; background: #f5f5f5;" id="myquest-public">
  82. <div ng-include src="'static/tpl/index/baseInfo/vendorAndCustomer.html'"></div>
  83. <div class="loading in" ng-class="{'in': loading}">
  84. <i></i>
  85. </div>
  86. <div class="pane base-info" id="customer-tab">
  87. <form class="form-horizontal">
  88. <div class="myReuest form-group" style="background: #f5f5f5;">
  89. <div class="row">
  90. <div class="col-xs-5">
  91. <div class="search">
  92. <input type="search" class="form-control input-sm" ng-model="keyword" ng-search="onSearch()" placeholder="输入企业名称搜索" />
  93. <a class="btn input-group-addon" ng-click="onSearch()">搜索</a>
  94. </div>
  95. </div>
  96. <div class="col-xs-4">
  97. <p style="margin: 0;">搜索到<em>{{customerParams.total()}}</em>条</p>
  98. </div>
  99. </div>
  100. </div>
  101. </form>
  102. <div class="pane-body">
  103. <table class="customer-tab table table-bordered table-striped table-hover"
  104. ng-table="customerParams">
  105. <!--<thead>
  106. <tr class="header">
  107. <th width="80">UU</th>
  108. <th width="180">客户名称</th>
  109. <th width="180">地址</th>
  110. <th width="80">客户联系人</th>
  111. <th width="100">联系人电话</th>
  112. <th width="80">我方联系人</th>
  113. <th width="110">用户分配</th>
  114. </tr>
  115. </thead>-->
  116. <tbody ng-repeat="customer in $data">
  117. <tr class="customer-hd">
  118. <td colspan="4" class="text-left"><span ng-bind="::customer.myEnterprise.enName"></span></td>
  119. <td width="200" class="text-center" ng-if="customer.custswitch == 1 && customer.vendswitch == 1"><a ng-click="disableCust(customer.id)">禁用客户</a></td>
  120. <td width="200" class="text-center" ng-if="customer.custswitch == 0 && customer.vendswitch == 1"><a ng-click="activeCust(customer.id)">取消禁用</a></td>
  121. </tr>
  122. <tr class="customer-bd">
  123. <td class="first" colspan="4">
  124. <div>企业地址:<span ng-bind="::customer.myEnterprise.enAddress"></span></div>
  125. <div>联系人:<span ng-bind="::customer.myUser.userName"></span></div>
  126. <div>电话:<span ng-bind="::customer.myUser.userTel"></span></div>
  127. </td>
  128. <td width="200" class="text-center all-btn">
  129. <!-- <a ng-click="viewDetail(customer.id)" title="查看详情">查看详情</a><br/>
  130. <a ng-click="addUserInfo(customer)" class="btn02" title="分配">分配</a> -->
  131. </td>
  132. </tr>
  133. </tbody>
  134. </table>
  135. </div>
  136. </div>
  137. </div>