| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <script src="../Script/Common/huayi.load.js"></script>
- <script src="../Script/Common/huayi.http.js"></script>
- <script src="../Script/Common/huayi.config.js"></script>
- <link rel="stylesheet" href="../css/init.css" />
- <title>网店管理 添加、修改</title>
- <style>
- body{
- background: #f3f3f4;;
- }
- .bj-title {
- color: #ffffff;
- background-color: #00a1cb;
- padding: 8px 35px 8px 14px;
- text-shadow: 0 1px 0 rgba(179, 142, 142, 0.5);
- border: 1px solid #e5e5e5;
- }
-
- .bjCon table th {
- padding: 5px 8px 5px 0;
- text-align: right;
- width: 30%;
- }
-
- .bjCon table td {
- padding: 6px 0 5px 10px;
- text-align: left;
- color: #717171;
- line-height: 200%;
- position: relative;
- }
-
- .bjCon table td input[type=text],
- .bjCon table td input[type=email],
- .bjCon table td input[type=password] {
- border: 1px solid #e5e5e5;
- width: 240px;
- outline: 0;
- margin-right: 5px;
- padding-left: 10px;
- }
-
- .bjCon table td textarea {
- border: 1px solid #e5e5e5;
- resize: none;
- width: 80%;
- vertical-align: middle;
- outline: none;
- }
-
- .bjCon table td select {
- width: 240px;
- background-color: #ffffff;
- background-image: none !important;
- filter: none !important;
- border: 1px solid #e5e5e5;
- outline: none;
- height: 34px !important;
- line-height: 30px;
- margin-right: 5px;
- padding-left: 10px;
- }
-
- .bjCon {
- padding-top: 20px;
- }
-
- .bjleft {
- width: 60%;
- margin: 0 auto;
- }
- </style>
- </head>
- <body>
- <div class="container-fluid wrapper wrapper-content gray-bg">
- <div class="daoHang clearfix">
- <div class="dhLeft">
- <sapn>
- <i class="syIcon"></i>位置:
- <a href="javaScript:;" id="ReIndex">首页</a>>
- <a href="javaScript:;">系统管理</a>>
- <a href="" class="nowPosition">坐席组管理</a>
- </sapn>
- </div>
- <div class="dhRight">
- <a href="" title="刷新"><i class="fa fa-refresh"></i></a>
- </div>
- </div>
- <div class="row-fluid clearfix">
- <div class="bjleft">
- <div class="bjCon">
- <table style="width: 100%;">
- <tr>
- <th>区号:</th>
- <td><input type="text" class="tzTitle zipcode" /></td>
- </tr>
- <tr>
- <th>本地外呼前缀:</th>
- <td><input type="text" class="tzTitle bfix" /></td>
- </tr>
- <tr>
- <th>外地外呼前缀 :</th>
- <td><input type="text" class="tzTitle wfix" /></td>
- </tr>
- <tr>
- <th></th>
- <td>
- <button class="btns sureCun" type="button">确 定</button>
- </td>
- </tr>
-
- </table>
-
- </div>
- </div>
- </div>
- </div>
- <script>
- $(document).ready(function(){
-
- $.ajax({
- type:"get",
- url:huayi.config.callcenter_url +"SysConfig/GetZXZValue",
- async:true,
- dataType:'json',
- data:{
- token: $.cookie("token")
- },
- success:function(res){
- if(res.state.toLowerCase()=='success'){
- $('.zipcode').val(res.data.zipcode)
- $('.bfix').val(res.data.bfix)
- $('.wfix').val(res.data.wfix)
- }
-
- }
- });
- $('.sureCun').click(function(){
- $.ajax({
- type:"get",
- url:huayi.config.callcenter_url +"SysConfig/UpdateZXZValue",
- async:true,
- dataType:'json',
- data:{
- token: $.cookie("token"),
- zipcode:$('.zipcode').val(),
- bfix:$('.bfix').val(),
- wfix:$('.wfix').val()
- },
- success:function(res){
- if(res.state.toLowerCase()=='success'){
- layer.msg(res.message);
- }
-
- }
- });
- })
-
-
- })
- </script>
- </body>
- </html>
|