商丘12345 前端

seatGroup.html 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <script src="../Script/Common/huayi.load.js"></script>
  6. <script src="../Script/Common/huayi.http.js"></script>
  7. <script src="../Script/Common/huayi.config.js"></script>
  8. <link rel="stylesheet" href="../css/init.css" />
  9. <title>网店管理 添加、修改</title>
  10. <style>
  11. body{
  12. background: #f3f3f4;;
  13. }
  14. .bj-title {
  15. color: #ffffff;
  16. background-color: #00a1cb;
  17. padding: 8px 35px 8px 14px;
  18. text-shadow: 0 1px 0 rgba(179, 142, 142, 0.5);
  19. border: 1px solid #e5e5e5;
  20. }
  21. .bjCon table th {
  22. padding: 5px 8px 5px 0;
  23. text-align: right;
  24. width: 30%;
  25. }
  26. .bjCon table td {
  27. padding: 6px 0 5px 10px;
  28. text-align: left;
  29. color: #717171;
  30. line-height: 200%;
  31. position: relative;
  32. }
  33. .bjCon table td input[type=text],
  34. .bjCon table td input[type=email],
  35. .bjCon table td input[type=password] {
  36. border: 1px solid #e5e5e5;
  37. width: 240px;
  38. outline: 0;
  39. margin-right: 5px;
  40. padding-left: 10px;
  41. }
  42. .bjCon table td textarea {
  43. border: 1px solid #e5e5e5;
  44. resize: none;
  45. width: 80%;
  46. vertical-align: middle;
  47. outline: none;
  48. }
  49. .bjCon table td select {
  50. width: 240px;
  51. background-color: #ffffff;
  52. background-image: none !important;
  53. filter: none !important;
  54. border: 1px solid #e5e5e5;
  55. outline: none;
  56. height: 34px !important;
  57. line-height: 30px;
  58. margin-right: 5px;
  59. padding-left: 10px;
  60. }
  61. .bjCon {
  62. padding-top: 20px;
  63. }
  64. .bjleft {
  65. width: 60%;
  66. margin: 0 auto;
  67. }
  68. </style>
  69. </head>
  70. <body>
  71. <div class="container-fluid wrapper wrapper-content gray-bg">
  72. <div class="daoHang clearfix">
  73. <div class="dhLeft">
  74. <sapn>
  75. <i class="syIcon"></i>位置:
  76. <a href="javaScript:;" id="ReIndex">首页</a>&gt;
  77. <a href="javaScript:;">系统管理</a>&gt;
  78. <a href="" class="nowPosition">坐席组管理</a>
  79. </sapn>
  80. </div>
  81. <div class="dhRight">
  82. <a href="" title="刷新"><i class="fa fa-refresh"></i></a>
  83. </div>
  84. </div>
  85. <div class="row-fluid clearfix">
  86. <div class="bjleft">
  87. <div class="bjCon">
  88. <table style="width: 100%;">
  89. <tr>
  90. <th>区号:</th>
  91. <td><input type="text" class="tzTitle zipcode" /></td>
  92. </tr>
  93. <tr>
  94. <th>本地外呼前缀:</th>
  95. <td><input type="text" class="tzTitle bfix" /></td>
  96. </tr>
  97. <tr>
  98. <th>外地外呼前缀 :</th>
  99. <td><input type="text" class="tzTitle wfix" /></td>
  100. </tr>
  101. <tr>
  102. <th></th>
  103. <td>
  104. <button class="btns sureCun" type="button">确&nbsp;&nbsp;定</button>
  105. </td>
  106. </tr>
  107. </table>
  108. </div>
  109. </div>
  110. </div>
  111. </div>
  112. <script>
  113. $(document).ready(function(){
  114. $.ajax({
  115. type:"get",
  116. url:huayi.config.callcenter_url +"SysConfig/GetZXZValue",
  117. async:true,
  118. dataType:'json',
  119. data:{
  120. token: $.cookie("token")
  121. },
  122. success:function(res){
  123. if(res.state.toLowerCase()=='success'){
  124. $('.zipcode').val(res.data.zipcode)
  125. $('.bfix').val(res.data.bfix)
  126. $('.wfix').val(res.data.wfix)
  127. }
  128. }
  129. });
  130. $('.sureCun').click(function(){
  131. $.ajax({
  132. type:"get",
  133. url:huayi.config.callcenter_url +"SysConfig/UpdateZXZValue",
  134. async:true,
  135. dataType:'json',
  136. data:{
  137. token: $.cookie("token"),
  138. zipcode:$('.zipcode').val(),
  139. bfix:$('.bfix').val(),
  140. wfix:$('.wfix').val()
  141. },
  142. success:function(res){
  143. if(res.state.toLowerCase()=='success'){
  144. layer.msg(res.message);
  145. }
  146. }
  147. });
  148. })
  149. })
  150. </script>
  151. </body>
  152. </html>