off-sidebar.html 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. <!-- start: OFF RIGHT SIDEBAR TABSET -->
  2. <!-- <tabset class="sidebar-wrapper" justified="true">
  3. <tab>
  4. <tab-heading>
  5. <i class="fa fa-phone"></i>
  6. </tab-heading>
  7. <div class="tab-pane" id="getup">
  8. <div class="users-list fontsizes-14">
  9. <botton href="#" ng-click="setbusy(1)" translate="offsidebar.login.SETBUSY" class="btn btn-setbusy setbusy" ng-if="statecall==1&&login&&statuscall!=3&&statuscall!=2">setbusy</botton>
  10. <botton href="#" ng-click="setidle()" translate="offsidebar.login.SETIDLE" class="btn btn-setidle setidle" ng-if="login&&statecall==2&&statuscall!=3&&statuscall!=2">setidle</botton>
  11. <botton href="#" style="float:right" ng-click="end()" translate="offsidebar.login.GETOUT" class="btn btn-getout getout" ng-if="login">getout</botton>
  12. <div class="row form-group fontcolor-two" style="margin-top:30px" id="updata" ng-if="!login">
  13. <div class="col-xs-12 fontsizes-14">
  14. <div class="col-xs-12">
  15. <div class="control-label" for="title">
  16. 绑定分机:
  17. </div>
  18. <select class="form-control" ng-model="phone" ng-change="phoneChange(phone)">
  19. <option ng-repeat="x in runNumber" value="{{x.name}}">{{x.name}}</option>
  20. </select>
  21. </div>
  22. <div class="col-xs-12">
  23. <button class="btn btn-addbutton addbutton pull-right" style="margin-top:20px" ng-click="start(phone)" translate="offsidebar.login.GETIN"></button>
  24. </div>
  25. </div>
  26. </div>
  27. <div class="row form-group fontcolor-two" style="margin-top:30px" id="dialout" ng-if="login&&statuscall!=3">
  28. <div class="col-xs-12 fontsizes-14">
  29. <div class="col-xs-12">
  30. <div>
  31. <div class="control-label" for="title">
  32. 目的号码:
  33. </div>
  34. <div class="">
  35. <input id="teleno" name="teleno" ng-model="teleno" class="form-control" placeholder="目的号码" />
  36. </div>
  37. </div>
  38. </div>
  39. <div class="col-xs-12">
  40. <button class="btn btn-primary col-md-offset-6" style="margin-top:20px" ng-click="dialout(gid,teleno)" translate="offsidebar.login.DIALOUT"></button>
  41. </div>
  42. </div>
  43. </div>
  44. <div class="row form-group fontcolor-two" style="margin-top:30px" ng-if="login&&statuscall==3">
  45. <div class="col-xs-12 fontsizes-14">
  46. <div class="col-xs-12">
  47. <div class="control-label" for="title" style="padding-right:0px">
  48. 转接号码:
  49. </div>
  50. <div class="">
  51. <select-input class="openaddinput" onChangeadd="onChangeadd()" model={{telephone}} requesdata="telephone" showkeys="phone"></select-input>
  52. </div>
  53. </div>
  54. <div class="col-xs-12">
  55. <button class="btn btn-primary" style="margin-top:20px" ng-click="inittrans(telephone)" translate="offsidebar.login.INITTRANS"></button>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. </tab>
  62. </tabset> -->
  63. <div class="jry_flex">
  64. <div class="phone_call">
  65. <div class="tit">请选择坐席号:</div>
  66. <ui-select class="col-xs-12 margin-top-8" ng-model="jry_extnNumberObj.jry_extnNumber"
  67. theme="bootstrap">
  68. <ui-select-match placeholder="">
  69. {{$select.selected.name}}
  70. </ui-select-match>
  71. <ui-select-choices repeat="item in jry_extnNumberSelect">
  72. <div ng-bind-html="item.name"></div>
  73. </ui-select-choices>
  74. </ui-select>
  75. <div>
  76. <input type="button" value="签入" ng-click="jry_qianru()" ng-if="jry_state=='weiqianru'" class="jry_btn">
  77. <input type="button" value="签出" ng-click="jry_qianchu()" ng-if="jry_state!='weiqianru'" class="jry_btn">
  78. </div>
  79. </div>
  80. </div>
  81. <style>
  82. .jry_btn{
  83. width: 60px;
  84. height: 28px;
  85. background-color: #00437A;
  86. color: white;
  87. font-size: 14px;
  88. border: 0;
  89. border-radius: 4px;
  90. margin-top: 8px;
  91. float: right;
  92. font-weight: bold
  93. }
  94. .jry_flex{
  95. display: flex;
  96. flex-direction:column;
  97. height: 100%;
  98. }
  99. .jry_phoneIpt{
  100. width: 100%;
  101. margin-top: 5px;
  102. }
  103. .jry_phoneBtn{
  104. margin-left: 3px
  105. }
  106. .phone_call{
  107. padding:16px;
  108. /* background-color: white */
  109. }
  110. .phone_call .tit{
  111. height: 26px;
  112. line-height: 26px;
  113. font-size: 14px
  114. }
  115. .phone_call .phone_ipt{
  116. height: 30px;
  117. border:1px rgb(209,209,203) solid;
  118. margin-top: 5px
  119. }
  120. .phone_call .phone_ipt .ipt{
  121. width: 190px;
  122. float: left;
  123. padding-left: 5px;
  124. height: 27px;
  125. border:0;
  126. font-size: 13px
  127. }
  128. .phone_call .phone_ipt .phone_ico{
  129. float: left;
  130. width: 35px;
  131. height: 29px;
  132. line-height: 29px;
  133. text-align: center;
  134. border-left: 1px rgb(209,209,203) solid;
  135. cursor: pointer;
  136. }
  137. .phone_call .phone_ipt .phone_ico i{
  138. color: blue;
  139. font-size: 18px;
  140. }
  141. .phone_call .phone_ipt .ipt:focus{
  142. outline: none
  143. }
  144. .unanswered_tit{
  145. height: 34px;
  146. background-color: rgb(243,243,243);
  147. line-height: 34px;
  148. font-size: 14px;
  149. padding-left: 16px
  150. }
  151. .unanswered_list{
  152. height: 100%;
  153. background-color: white;
  154. overflow-y: scroll
  155. }
  156. .unanswered_list .unanswered_phone{
  157. }
  158. .unanswered_list .unanswered_phone .unanswered_phone_msg{
  159. display: flex;
  160. padding: 16px;
  161. align-items:center
  162. }
  163. .unanswered_list .unanswered_phone .unanswered_phone_msg div:nth-child(1){
  164. width: 60%
  165. }
  166. .unanswered_list .unanswered_phone .unanswered_phone_msg div:nth-child(1) span{
  167. color:red
  168. }
  169. .unanswered_list .unanswered_phone .unanswered_phone_msg div:nth-child(2){
  170. font-size: 12px;
  171. color:rgb(164,164,164)
  172. }
  173. .unanswered_list .unanswered_phone .unanswered_fot_ipt{
  174. height: 34px;
  175. border-top:1px rgb(243,243,243) solid;
  176. border-bottom:1px rgb(243,243,243) solid;
  177. }
  178. .unanswered_list .unanswered_phone .unanswered_fot_ipt div:nth-child(1){
  179. height: 34px;
  180. line-height: 34px;
  181. background-color: #f9f9f9;
  182. color: #005395;
  183. font-size: 14px;
  184. width: 49%;
  185. float: left;
  186. text-align: center;
  187. cursor: pointer;
  188. }
  189. .unanswered_list .unanswered_phone .unanswered_fot_ipt div:nth-child(2){
  190. height: 34px;
  191. line-height: 34px;
  192. font-size: 14px;
  193. width: 49%;
  194. border-left: 1px rgb(243,243,243) solid;
  195. float: left;
  196. text-align: center;
  197. cursor: pointer;
  198. }
  199. .unanswered_list::-webkit-scrollbar{
  200. display: none
  201. }
  202. </style>