lihai лет назад: 8
Родитель
Сommit
8aa20937eb

+ 100 - 0
CallCenterWeb.UI/SystemManager/SeatAuthorizationManage.html

@@ -0,0 +1,100 @@
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.config.js"></script>
7
+    <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
8
+    <link rel="stylesheet" href="../css/init.css" />
9
+    <link href="./css/buMenManger.css" rel="stylesheet" />
10
+    <title>系统管理-->坐席授权设置</title>
11
+    <style>
12
+        .btn{padding:3px 6px!important;}
13
+        .inps{padding:4px 6px!important; border:#ccc 1px solid; height:26px; border-radius:3px}
14
+    </style>
15
+</head>
16
+<body>
17
+    <div class="container-fluid">
18
+        <div class="daoHang clearfix">
19
+            <div class="dhLeft">
20
+                <sapn><i class="syIcon"></i>位置:<a id="ReIndex" href="javaScript:;">首页</a>&gt;<a href="javaScript:;">系统管理</a>&gt;<a href="javaScript:;">权限管理</a>&gt;<a href="" style="color: #000;">坐席授权</a></sapn>
21
+            </div>
22
+        </div>
23
+        <div class="toolBar">
24
+            坐席授权设置
25
+        </div>
26
+        <div>
27
+            <input type="text" id="txtmaxseat" class="inps"/>
28
+            <input type="hidden" id="hidSecurityKey" class="inps"/>
29
+            <button class="btn updatechange">保存</button> <span id="hidtxt" style="color:#f00;"></span>
30
+        </div>
31
+        <div class="tree">
32
+            <ul id="treeDemo" class="ztree">
33
+                <!--类名为ztree是必须的-->
34
+            </ul>
35
+        </div>
36
+
37
+    </div>
38
+
39
+    <script>
40
+        var token = $.cookie("token");
41
+        $(function () {
42
+            getinfo();
43
+            //按钮
44
+            $('.updatechange').click(function () {
45
+                updateInfo();
46
+            })
47
+        })
48
+        function getinfo() {
49
+            $.ajax({
50
+                type: "get",
51
+                url: huayi.config.callcenter_url + "SysConfig/GetSeatPermissionInfo",
52
+                dataType: 'json',
53
+                async: true,
54
+                data: { token: token },
55
+                success: function (res) {
56
+                    var data = res.data;
57
+                    if (data != "{}") {
58
+                        $("#txtmaxseat").val(data.F_MaxSeat);
59
+                        $("#hidSecurityKey").val(data.F_SecurityKey);
60
+                        $("#hidtxt").text("");
61
+                    }
62
+                }
63
+            });
64
+        };
65
+        //修改的保存按钮功能
66
+        function updateInfo() {
67
+            var maxseat = $("#txtmaxseat").val();
68
+            var SecurityKey = $("#hidSecurityKey").val();
69
+            if (isNaN(maxseat)) {
70
+                layer.msg("请填写正确的坐席数!");
71
+            }
72
+            $.ajax({
73
+                type: "post",
74
+                url: huayi.config.callcenter_url + "SysConfig/SaveSeatPermission",
75
+                async: true,
76
+                dataType: 'json',
77
+                data: {
78
+                    F_MaxSeat: maxseat == "" ? 0 : maxseat,
79
+                    F_SecurityKey: SecurityKey,
80
+                    token: token
81
+                },
82
+                success: function (data) {
83
+                    if (data.state == "success") {
84
+                        getinfo();
85
+                        $("#hidtxt").text("");
86
+                        layer.msg("修改成功!");
87
+                    } else {
88
+                        $("#hidtxt").text("请填写坐席数");
89
+                    }
90
+                }
91
+            });
92
+        };
93
+    </script>
94
+</body>
95
+
96
+</html>
97
+<script src="../js/jquery.min.js?v=2.1.4"></script>
98
+<script src="../js/bootstrap.min.js"></script>
99
+<script src="../js/zTree/jquery.ztree.core.js"></script>
100
+<script src="../js/jquery.cookie.js"></script>

+ 1 - 1
CallCenterWeb.UI/login.html

@@ -258,7 +258,7 @@
258 258
                 <a href="ExeWork/Microsoft.NET4.0.exe">下载安装环境</a> | 
259 259
                 <a href="ExeWork/vcredist_x86.exe">安装异常补充包</a> | 
260 260
                 技术服务热线:400-637-1311</div>
261
-			    <p class="Copy" style="margin-top: 13px;">Copyright©2010-2020  宝丰县数字化城市管理监督指挥中心 版权所有</p>
261
+			    <p class="Copy" style="margin-top: 13px;">Copyright©2010-2020  华谊科技 版权所有</p>
262 262
 			</div>
263 263
 			<span class="center"></span>
264 264
 		</div>